]> git.saurik.com Git - wxWidgets.git/blob - configure
continue even if the bitmaps can't be found; look for them in argv[0] directory too...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 54996 2008-08-06 17:50:06Z 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 target
665 target_cpu
666 target_vendor
667 target_os
668 wx_top_builddir
669 CC
670 CFLAGS
671 LDFLAGS
672 CPPFLAGS
673 ac_ct_CC
674 EXEEXT
675 OBJEXT
676 CPP
677 GREP
678 EGREP
679 CXX
680 CXXFLAGS
681 ac_ct_CXX
682 AR
683 subdirs
684 PKG_CONFIG
685 GTK_CFLAGS
686 GTK_LIBS
687 GTK_CONFIG
688 DIRECTFB_CFLAGS
689 DIRECTFB_LIBS
690 XMKMF
691 X_CFLAGS
692 X_PRE_LIBS
693 X_LIBS
694 X_EXTRA_LIBS
695 PANGOX_CFLAGS
696 PANGOX_LIBS
697 PANGOFT2_CFLAGS
698 PANGOFT2_LIBS
699 PANGOXFT_CFLAGS
700 PANGOXFT_LIBS
701 CFLAGS_VISIBILITY
702 CXXFLAGS_VISIBILITY
703 LIBICONV
704 SDL_CONFIG
705 SDL_CFLAGS
706 SDL_LIBS
707 GTKPRINT_CFLAGS
708 GTKPRINT_LIBS
709 LIBGNOMEPRINTUI_CFLAGS
710 LIBGNOMEPRINTUI_LIBS
711 GNOMEVFS_CFLAGS
712 GNOMEVFS_LIBS
713 HILDON_CFLAGS
714 HILDON_LIBS
715 CAIRO_CFLAGS
716 CAIRO_LIBS
717 GST_CFLAGS
718 GST_LIBS
719 ALL_WX_LIBS
720 BUILT_WX_LIBS
721 STD_BASE_LIBS
722 STD_GUI_LIBS
723 wxUSE_ZLIB
724 wxUSE_REGEX
725 wxUSE_EXPAT
726 wxUSE_LIBJPEG
727 wxUSE_LIBPNG
728 wxUSE_LIBTIFF
729 VENDOR
730 OFFICIAL_BUILD
731 WX_FLAVOUR
732 WX_LIB_FLAVOUR
733 WXUNIV
734 MONOLITHIC
735 USE_PLUGINS
736 CXXWARNINGS
737 EXTRALIBS
738 EXTRALIBS_XML
739 EXTRALIBS_HTML
740 EXTRALIBS_MEDIA
741 EXTRALIBS_GUI
742 EXTRALIBS_OPENGL
743 EXTRALIBS_SDL
744 EXTRALIBS_STC
745 WITH_PLUGIN_SDL
746 EXTRALIBS_GTKPRINT
747 EXTRALIBS_GNOMEPRINT
748 EXTRALIBS_GNOMEVFS
749 EXTRALIBS_HILDON
750 UNICODE
751 BUILD
752 DEBUG_INFO
753 DEBUG_FLAG
754 TOOLKIT_LOWERCASE
755 TOOLKIT_VERSION
756 SAMPLES_RPATH_FLAG
757 SAMPLES_RPATH_POSTLINK
758 HOST_SUFFIX
759 CPPUNIT_CFLAGS
760 CPPUNIT_LIBS
761 RANLIB
762 INSTALL_PROGRAM
763 INSTALL_SCRIPT
764 INSTALL_DATA
765 LN_S
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 STRIP
770 NM
771 INSTALL_DIR
772 LDFLAGS_GUI
773 IF_GNU_MAKE
774 PLATFORM_UNIX
775 PLATFORM_WIN32
776 PLATFORM_MSDOS
777 PLATFORM_MAC
778 PLATFORM_MACOS
779 PLATFORM_MACOSX
780 PLATFORM_OS2
781 PLATFORM_BEOS
782 SO_SUFFIX
783 SO_SUFFIX_MODULE
784 DLLIMP_SUFFIX
785 LIBPREFIX
786 LIBEXT
787 DLLPREFIX
788 DLLPREFIX_MODULE
789 dlldir
790 AIX_CXX_LD
791 SHARED_LD_CC
792 SHARED_LD_CXX
793 SHARED_LD_MODULE_CC
794 SHARED_LD_MODULE_CXX
795 PIC_FLAG
796 WINDOWS_IMPLIB
797 USE_SOVERSION
798 USE_SOVERLINUX
799 USE_SOVERSOLARIS
800 USE_SOVERCYGWIN
801 USE_MACVERSION
802 USE_SOSYMLINKS
803 SONAME_FLAG
804 DEPS_TRACKING
805 BK_DEPS
806 WINDRES
807 REZ
808 SETFILE
809 GCC_PCH
810 ICC_PCH
811 BK_MAKE_PCH
812 COND_BUILD_DEBUG
813 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
814 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
815 COND_BUILD_DEBUG_UNICODE_0
816 COND_BUILD_DEBUG_UNICODE_1
817 COND_BUILD_RELEASE
818 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
819 COND_BUILD_RELEASE_UNICODE_0
820 COND_BUILD_RELEASE_UNICODE_1
821 COND_DEBUG_FLAG_1
822 COND_DEBUG_INFO_0
823 COND_DEBUG_INFO_1
824 COND_DEPS_TRACKING_0
825 COND_DEPS_TRACKING_1
826 COND_GCC_PCH_1
827 COND_ICC_PCH_1
828 COND_MONOLITHIC_0
829 COND_MONOLITHIC_0_SHARED_0
830 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
831 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
833 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
834 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
835 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
836 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
837 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
838 COND_MONOLITHIC_0_SHARED_1
839 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
842 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
843 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
844 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
845 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
846 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
847 COND_MONOLITHIC_0_USE_AUI_1
848 COND_MONOLITHIC_0_USE_GUI_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_OPENGL_1
874 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
875 COND_PLATFORM_MACOS_1
876 COND_PLATFORM_MAC_0
877 COND_PLATFORM_MAC_1
878 COND_PLATFORM_MSDOS_0
879 COND_PLATFORM_MSDOS_1
880 COND_PLATFORM_OS2_1
881 COND_PLATFORM_UNIX_0
882 COND_PLATFORM_UNIX_1
883 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
884 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
885 COND_PLATFORM_UNIX_1_USE_GUI_1
886 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
887 COND_PLATFORM_WIN32_0
888 COND_PLATFORM_WIN32_1
889 COND_SHARED_0
890 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
891 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
892 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
893 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
895 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
896 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
897 COND_SHARED_0_USE_STC_1
898 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_TOOLKIT_
904 COND_TOOLKIT_COCOA
905 COND_TOOLKIT_COCOA_USE_GUI_1
906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
907 COND_TOOLKIT_DFB
908 COND_TOOLKIT_DFB_USE_GUI_1
909 COND_TOOLKIT_GTK
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL
922 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11
938 COND_TOOLKIT_X11_USE_GUI_1
939 COND_UNICODE_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_0
943 COND_USE_GUI_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
950 COND_USE_OPENGL_1
951 COND_USE_PCH_1
952 COND_USE_PLUGINS_0
953 COND_USE_RTTI_0
954 COND_USE_RTTI_1
955 COND_USE_SOSYMLINKS_1
956 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
957 COND_USE_SOVERLINUX_1
958 COND_USE_SOVERSION_0
959 COND_USE_SOVERSOLARIS_1
960 COND_USE_STC_1
961 COND_USE_THREADS_0
962 COND_USE_THREADS_1
963 COND_USE_XRC_1
964 COND_WINDOWS_IMPLIB_1
965 COND_WITH_PLUGIN_SDL_1
966 COND_WXUNIV_0
967 COND_WXUNIV_1
968 COND_WXUSE_EXPAT_BUILTIN
969 COND_WXUSE_LIBJPEG_BUILTIN
970 COND_WXUSE_LIBPNG_BUILTIN
971 COND_WXUSE_LIBTIFF_BUILTIN
972 COND_WXUSE_REGEX_BUILTIN
973 COND_WXUSE_ZLIB_BUILTIN
974 DEREZ
975 SHARED
976 WX_LIBRARY_BASENAME_NOGUI
977 WX_LIBRARY_BASENAME_GUI
978 USE_GUI
979 AFMINSTALL
980 WIN32INSTALL
981 TOOLKIT
982 TOOLKIT_DIR
983 TOOLCHAIN_NAME
984 TOOLCHAIN_FULLNAME
985 cross_compiling
986 WIDGET_SET
987 WX_RELEASE
988 WX_VERSION
989 WX_SUBVERSION
990 WX_CHARTYPE
991 WX_DEBUGTYPE
992 WXCONFIG_CPPFLAGS
993 WXCONFIG_CFLAGS
994 WXCONFIG_CXXFLAGS
995 WXCONFIG_LIBS
996 WXCONFIG_RPATH
997 WXCONFIG_LDFLAGS_GUI
998 WXCONFIG_RESFLAGS
999 GUIDIST
1000 DISTDIR
1001 SAMPLES_SUBDIRS
1002 LDFLAGS_GL
1003 OPENGL_LIBS
1004 DMALLOC_LIBS
1005 WX_VERSION_TAG
1006 RESCOMP
1007 RESFLAGS
1008 RESPROGRAMOBJ
1009 WX_RESOURCES_MACOSX_ASCII
1010 WX_RESOURCES_MACOSX_DATA
1011 LIBWXMACRES
1012 POSTLINK_COMMAND
1013 MACSETFILE
1014 GCC
1015 DLLTOOL
1016 CPPUNIT_CONFIG
1017 LIBOBJS
1018 LTLIBOBJS'
1019 ac_subst_files=''
1020 ac_precious_vars='build_alias
1021 host_alias
1022 target_alias
1023 CC
1024 CFLAGS
1025 LDFLAGS
1026 LIBS
1027 CPPFLAGS
1028 CPP
1029 CXX
1030 CXXFLAGS
1031 CCC
1032 PKG_CONFIG
1033 DIRECTFB_CFLAGS
1034 DIRECTFB_LIBS
1035 XMKMF
1036 PANGOX_CFLAGS
1037 PANGOX_LIBS
1038 PANGOFT2_CFLAGS
1039 PANGOFT2_LIBS
1040 PANGOXFT_CFLAGS
1041 PANGOXFT_LIBS
1042 GTKPRINT_CFLAGS
1043 GTKPRINT_LIBS
1044 LIBGNOMEPRINTUI_CFLAGS
1045 LIBGNOMEPRINTUI_LIBS
1046 GNOMEVFS_CFLAGS
1047 GNOMEVFS_LIBS
1048 HILDON_CFLAGS
1049 HILDON_LIBS
1050 CAIRO_CFLAGS
1051 CAIRO_LIBS
1052 GST_CFLAGS
1053 GST_LIBS'
1054 ac_subdirs_all='src/tiff
1055 src/expat'
1056
1057 # Initialize some variables set by options.
1058 ac_init_help=
1059 ac_init_version=false
1060 # The variables have the same names as the options, with
1061 # dashes changed to underlines.
1062 cache_file=/dev/null
1063 exec_prefix=NONE
1064 no_create=
1065 no_recursion=
1066 prefix=NONE
1067 program_prefix=NONE
1068 program_suffix=NONE
1069 program_transform_name=s,x,x,
1070 silent=
1071 site=
1072 srcdir=
1073 verbose=
1074 x_includes=NONE
1075 x_libraries=NONE
1076
1077 # Installation directory options.
1078 # These are left unexpanded so users can "make install exec_prefix=/foo"
1079 # and all the variables that are supposed to be based on exec_prefix
1080 # by default will actually change.
1081 # Use braces instead of parens because sh, perl, etc. also accept them.
1082 # (The list follows the same order as the GNU Coding Standards.)
1083 bindir='${exec_prefix}/bin'
1084 sbindir='${exec_prefix}/sbin'
1085 libexecdir='${exec_prefix}/libexec'
1086 datarootdir='${prefix}/share'
1087 datadir='${datarootdir}'
1088 sysconfdir='${prefix}/etc'
1089 sharedstatedir='${prefix}/com'
1090 localstatedir='${prefix}/var'
1091 includedir='${prefix}/include'
1092 oldincludedir='/usr/include'
1093 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1094 infodir='${datarootdir}/info'
1095 htmldir='${docdir}'
1096 dvidir='${docdir}'
1097 pdfdir='${docdir}'
1098 psdir='${docdir}'
1099 libdir='${exec_prefix}/lib'
1100 localedir='${datarootdir}/locale'
1101 mandir='${datarootdir}/man'
1102
1103 ac_prev=
1104 ac_dashdash=
1105 for ac_option
1106 do
1107 # If the previous option needs an argument, assign it.
1108 if test -n "$ac_prev"; then
1109 eval $ac_prev=\$ac_option
1110 ac_prev=
1111 continue
1112 fi
1113
1114 case $ac_option in
1115 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1116 *) ac_optarg=yes ;;
1117 esac
1118
1119 # Accept the important Cygnus configure options, so we can diagnose typos.
1120
1121 case $ac_dashdash$ac_option in
1122 --)
1123 ac_dashdash=yes ;;
1124
1125 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1126 ac_prev=bindir ;;
1127 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1128 bindir=$ac_optarg ;;
1129
1130 -build | --build | --buil | --bui | --bu)
1131 ac_prev=build_alias ;;
1132 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1133 build_alias=$ac_optarg ;;
1134
1135 -cache-file | --cache-file | --cache-fil | --cache-fi \
1136 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1137 ac_prev=cache_file ;;
1138 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1139 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1140 cache_file=$ac_optarg ;;
1141
1142 --config-cache | -C)
1143 cache_file=config.cache ;;
1144
1145 -datadir | --datadir | --datadi | --datad)
1146 ac_prev=datadir ;;
1147 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1148 datadir=$ac_optarg ;;
1149
1150 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1151 | --dataroo | --dataro | --datar)
1152 ac_prev=datarootdir ;;
1153 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1154 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1155 datarootdir=$ac_optarg ;;
1156
1157 -disable-* | --disable-*)
1158 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1159 # Reject names that are not valid shell variable names.
1160 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1161 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1162 { (exit 1); exit 1; }; }
1163 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1164 eval enable_$ac_feature=no ;;
1165
1166 -docdir | --docdir | --docdi | --doc | --do)
1167 ac_prev=docdir ;;
1168 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1169 docdir=$ac_optarg ;;
1170
1171 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1172 ac_prev=dvidir ;;
1173 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1174 dvidir=$ac_optarg ;;
1175
1176 -enable-* | --enable-*)
1177 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1178 # Reject names that are not valid shell variable names.
1179 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1180 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1181 { (exit 1); exit 1; }; }
1182 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1183 eval enable_$ac_feature=\$ac_optarg ;;
1184
1185 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1186 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1187 | --exec | --exe | --ex)
1188 ac_prev=exec_prefix ;;
1189 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1190 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1191 | --exec=* | --exe=* | --ex=*)
1192 exec_prefix=$ac_optarg ;;
1193
1194 -gas | --gas | --ga | --g)
1195 # Obsolete; use --with-gas.
1196 with_gas=yes ;;
1197
1198 -help | --help | --hel | --he | -h)
1199 ac_init_help=long ;;
1200 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1201 ac_init_help=recursive ;;
1202 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1203 ac_init_help=short ;;
1204
1205 -host | --host | --hos | --ho)
1206 ac_prev=host_alias ;;
1207 -host=* | --host=* | --hos=* | --ho=*)
1208 host_alias=$ac_optarg ;;
1209
1210 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1211 ac_prev=htmldir ;;
1212 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1213 | --ht=*)
1214 htmldir=$ac_optarg ;;
1215
1216 -includedir | --includedir | --includedi | --included | --include \
1217 | --includ | --inclu | --incl | --inc)
1218 ac_prev=includedir ;;
1219 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1220 | --includ=* | --inclu=* | --incl=* | --inc=*)
1221 includedir=$ac_optarg ;;
1222
1223 -infodir | --infodir | --infodi | --infod | --info | --inf)
1224 ac_prev=infodir ;;
1225 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1226 infodir=$ac_optarg ;;
1227
1228 -libdir | --libdir | --libdi | --libd)
1229 ac_prev=libdir ;;
1230 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1231 libdir=$ac_optarg ;;
1232
1233 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1234 | --libexe | --libex | --libe)
1235 ac_prev=libexecdir ;;
1236 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1237 | --libexe=* | --libex=* | --libe=*)
1238 libexecdir=$ac_optarg ;;
1239
1240 -localedir | --localedir | --localedi | --localed | --locale)
1241 ac_prev=localedir ;;
1242 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1243 localedir=$ac_optarg ;;
1244
1245 -localstatedir | --localstatedir | --localstatedi | --localstated \
1246 | --localstate | --localstat | --localsta | --localst | --locals)
1247 ac_prev=localstatedir ;;
1248 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1249 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1250 localstatedir=$ac_optarg ;;
1251
1252 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1253 ac_prev=mandir ;;
1254 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1255 mandir=$ac_optarg ;;
1256
1257 -nfp | --nfp | --nf)
1258 # Obsolete; use --without-fp.
1259 with_fp=no ;;
1260
1261 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1262 | --no-cr | --no-c | -n)
1263 no_create=yes ;;
1264
1265 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1266 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1267 no_recursion=yes ;;
1268
1269 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1270 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1271 | --oldin | --oldi | --old | --ol | --o)
1272 ac_prev=oldincludedir ;;
1273 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1274 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1275 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1276 oldincludedir=$ac_optarg ;;
1277
1278 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1279 ac_prev=prefix ;;
1280 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1281 prefix=$ac_optarg ;;
1282
1283 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1284 | --program-pre | --program-pr | --program-p)
1285 ac_prev=program_prefix ;;
1286 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1287 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1288 program_prefix=$ac_optarg ;;
1289
1290 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1291 | --program-suf | --program-su | --program-s)
1292 ac_prev=program_suffix ;;
1293 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1294 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1295 program_suffix=$ac_optarg ;;
1296
1297 -program-transform-name | --program-transform-name \
1298 | --program-transform-nam | --program-transform-na \
1299 | --program-transform-n | --program-transform- \
1300 | --program-transform | --program-transfor \
1301 | --program-transfo | --program-transf \
1302 | --program-trans | --program-tran \
1303 | --progr-tra | --program-tr | --program-t)
1304 ac_prev=program_transform_name ;;
1305 -program-transform-name=* | --program-transform-name=* \
1306 | --program-transform-nam=* | --program-transform-na=* \
1307 | --program-transform-n=* | --program-transform-=* \
1308 | --program-transform=* | --program-transfor=* \
1309 | --program-transfo=* | --program-transf=* \
1310 | --program-trans=* | --program-tran=* \
1311 | --progr-tra=* | --program-tr=* | --program-t=*)
1312 program_transform_name=$ac_optarg ;;
1313
1314 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1315 ac_prev=pdfdir ;;
1316 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1317 pdfdir=$ac_optarg ;;
1318
1319 -psdir | --psdir | --psdi | --psd | --ps)
1320 ac_prev=psdir ;;
1321 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1322 psdir=$ac_optarg ;;
1323
1324 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1325 | -silent | --silent | --silen | --sile | --sil)
1326 silent=yes ;;
1327
1328 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1329 ac_prev=sbindir ;;
1330 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1331 | --sbi=* | --sb=*)
1332 sbindir=$ac_optarg ;;
1333
1334 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1335 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1336 | --sharedst | --shareds | --shared | --share | --shar \
1337 | --sha | --sh)
1338 ac_prev=sharedstatedir ;;
1339 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1340 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1341 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1342 | --sha=* | --sh=*)
1343 sharedstatedir=$ac_optarg ;;
1344
1345 -site | --site | --sit)
1346 ac_prev=site ;;
1347 -site=* | --site=* | --sit=*)
1348 site=$ac_optarg ;;
1349
1350 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1351 ac_prev=srcdir ;;
1352 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1353 srcdir=$ac_optarg ;;
1354
1355 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1356 | --syscon | --sysco | --sysc | --sys | --sy)
1357 ac_prev=sysconfdir ;;
1358 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1359 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1360 sysconfdir=$ac_optarg ;;
1361
1362 -target | --target | --targe | --targ | --tar | --ta | --t)
1363 ac_prev=target_alias ;;
1364 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1365 target_alias=$ac_optarg ;;
1366
1367 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1368 verbose=yes ;;
1369
1370 -version | --version | --versio | --versi | --vers | -V)
1371 ac_init_version=: ;;
1372
1373 -with-* | --with-*)
1374 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1375 # Reject names that are not valid shell variable names.
1376 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1377 { echo "$as_me: error: invalid package name: $ac_package" >&2
1378 { (exit 1); exit 1; }; }
1379 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1380 eval with_$ac_package=\$ac_optarg ;;
1381
1382 -without-* | --without-*)
1383 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1384 # Reject names that are not valid shell variable names.
1385 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1386 { echo "$as_me: error: invalid package name: $ac_package" >&2
1387 { (exit 1); exit 1; }; }
1388 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1389 eval with_$ac_package=no ;;
1390
1391 --x)
1392 # Obsolete; use --with-x.
1393 with_x=yes ;;
1394
1395 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1396 | --x-incl | --x-inc | --x-in | --x-i)
1397 ac_prev=x_includes ;;
1398 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1399 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1400 x_includes=$ac_optarg ;;
1401
1402 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1403 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1404 ac_prev=x_libraries ;;
1405 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1406 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1407 x_libraries=$ac_optarg ;;
1408
1409 -*) { echo "$as_me: error: unrecognized option: $ac_option
1410 Try \`$0 --help' for more information." >&2
1411 { (exit 1); exit 1; }; }
1412 ;;
1413
1414 *=*)
1415 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1416 # Reject names that are not valid shell variable names.
1417 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1418 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1419 { (exit 1); exit 1; }; }
1420 eval $ac_envvar=\$ac_optarg
1421 export $ac_envvar ;;
1422
1423 *)
1424 # FIXME: should be removed in autoconf 3.0.
1425 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1426 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1427 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1428 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1429 ;;
1430
1431 esac
1432 done
1433
1434 if test -n "$ac_prev"; then
1435 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1436 { echo "$as_me: error: missing argument to $ac_option" >&2
1437 { (exit 1); exit 1; }; }
1438 fi
1439
1440 # Be sure to have absolute directory names.
1441 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1442 datadir sysconfdir sharedstatedir localstatedir includedir \
1443 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1444 libdir localedir mandir
1445 do
1446 eval ac_val=\$$ac_var
1447 case $ac_val in
1448 [\\/$]* | ?:[\\/]* ) continue;;
1449 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1450 esac
1451 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1452 { (exit 1); exit 1; }; }
1453 done
1454
1455 # There might be people who depend on the old broken behavior: `$host'
1456 # used to hold the argument of --host etc.
1457 # FIXME: To remove some day.
1458 build=$build_alias
1459 host=$host_alias
1460 target=$target_alias
1461
1462 # FIXME: To remove some day.
1463 if test "x$host_alias" != x; then
1464 if test "x$build_alias" = x; then
1465 cross_compiling=maybe
1466 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1467 If a cross compiler is detected then cross compile mode will be used." >&2
1468 elif test "x$build_alias" != "x$host_alias"; then
1469 cross_compiling=yes
1470 fi
1471 fi
1472
1473 ac_tool_prefix=
1474 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1475
1476 test "$silent" = yes && exec 6>/dev/null
1477
1478
1479 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1480 ac_ls_di=`ls -di .` &&
1481 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1482 { echo "$as_me: error: Working directory cannot be determined" >&2
1483 { (exit 1); exit 1; }; }
1484 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1485 { echo "$as_me: error: pwd does not report name of working directory" >&2
1486 { (exit 1); exit 1; }; }
1487
1488
1489 # Find the source files, if location was not specified.
1490 if test -z "$srcdir"; then
1491 ac_srcdir_defaulted=yes
1492 # Try the directory containing this script, then the parent directory.
1493 ac_confdir=`$as_dirname -- "$0" ||
1494 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1495 X"$0" : 'X\(//\)[^/]' \| \
1496 X"$0" : 'X\(//\)$' \| \
1497 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1498 echo X"$0" |
1499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1500 s//\1/
1501 q
1502 }
1503 /^X\(\/\/\)[^/].*/{
1504 s//\1/
1505 q
1506 }
1507 /^X\(\/\/\)$/{
1508 s//\1/
1509 q
1510 }
1511 /^X\(\/\).*/{
1512 s//\1/
1513 q
1514 }
1515 s/.*/./; q'`
1516 srcdir=$ac_confdir
1517 if test ! -r "$srcdir/$ac_unique_file"; then
1518 srcdir=..
1519 fi
1520 else
1521 ac_srcdir_defaulted=no
1522 fi
1523 if test ! -r "$srcdir/$ac_unique_file"; then
1524 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1525 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1526 { (exit 1); exit 1; }; }
1527 fi
1528 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1529 ac_abs_confdir=`(
1530 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1531 { (exit 1); exit 1; }; }
1532 pwd)`
1533 # When building in place, set srcdir=.
1534 if test "$ac_abs_confdir" = "$ac_pwd"; then
1535 srcdir=.
1536 fi
1537 # Remove unnecessary trailing slashes from srcdir.
1538 # Double slashes in file names in object file debugging info
1539 # mess up M-x gdb in Emacs.
1540 case $srcdir in
1541 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1542 esac
1543 for ac_var in $ac_precious_vars; do
1544 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_env_${ac_var}_value=\$${ac_var}
1546 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1547 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1548 done
1549
1550 #
1551 # Report the --help message.
1552 #
1553 if test "$ac_init_help" = "long"; then
1554 # Omit some internal or obsolete options to make the list less imposing.
1555 # This message is too long to be a string in the A/UX 3.1 sh.
1556 cat <<_ACEOF
1557 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1558
1559 Usage: $0 [OPTION]... [VAR=VALUE]...
1560
1561 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1562 VAR=VALUE. See below for descriptions of some of the useful variables.
1563
1564 Defaults for the options are specified in brackets.
1565
1566 Configuration:
1567 -h, --help display this help and exit
1568 --help=short display options specific to this package
1569 --help=recursive display the short help of all the included packages
1570 -V, --version display version information and exit
1571 -q, --quiet, --silent do not print \`checking...' messages
1572 --cache-file=FILE cache test results in FILE [disabled]
1573 -C, --config-cache alias for \`--cache-file=config.cache'
1574 -n, --no-create do not create output files
1575 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1576
1577 Installation directories:
1578 --prefix=PREFIX install architecture-independent files in PREFIX
1579 [$ac_default_prefix]
1580 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1581 [PREFIX]
1582
1583 By default, \`make install' will install all the files in
1584 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1585 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1586 for instance \`--prefix=\$HOME'.
1587
1588 For better control, use the options below.
1589
1590 Fine tuning of the installation directories:
1591 --bindir=DIR user executables [EPREFIX/bin]
1592 --sbindir=DIR system admin executables [EPREFIX/sbin]
1593 --libexecdir=DIR program executables [EPREFIX/libexec]
1594 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1595 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1596 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1597 --libdir=DIR object code libraries [EPREFIX/lib]
1598 --includedir=DIR C header files [PREFIX/include]
1599 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1600 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1601 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1602 --infodir=DIR info documentation [DATAROOTDIR/info]
1603 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1604 --mandir=DIR man documentation [DATAROOTDIR/man]
1605 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1606 --htmldir=DIR html documentation [DOCDIR]
1607 --dvidir=DIR dvi documentation [DOCDIR]
1608 --pdfdir=DIR pdf documentation [DOCDIR]
1609 --psdir=DIR ps documentation [DOCDIR]
1610 _ACEOF
1611
1612 cat <<\_ACEOF
1613
1614 X features:
1615 --x-includes=DIR X include files are in DIR
1616 --x-libraries=DIR X library files are in DIR
1617
1618 System types:
1619 --build=BUILD configure for building on BUILD [guessed]
1620 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1621 --target=TARGET configure for building compilers for TARGET [HOST]
1622 _ACEOF
1623 fi
1624
1625 if test -n "$ac_init_help"; then
1626 case $ac_init_help in
1627 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1628 esac
1629 cat <<\_ACEOF
1630
1631 Optional Features:
1632 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1633 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1634 --disable-gui don't build GUI parts of the library
1635 --enable-monolithic build wxWidgets as single library
1636 --enable-plugins build parts of wxWidgets as loadable components
1637 --enable-official_build official build of wxWidgets (win32 DLL only)
1638 --enable-vendor=VENDOR vendor name (win32 DLL only)
1639 --disable-all-features disable all optional features to build minimal library
1640 --enable-universal use wxWidgets GUI controls instead of native ones
1641 --enable-nanox use NanoX
1642 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1643 --enable-gpe use GNOME PDA Environment features if possible
1644 --disable-shared create static library instead of shared
1645 --enable-debug same as debug_flag and debug_info
1646 --enable-stl use STL for containers
1647 --enable-std_iostreams use standard C++ stream classes
1648 --enable-std_string use standard C++ string classes
1649 --disable-unicode compile without Unicode support
1650 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1651 --enable-utf8 use UTF-8 representation for strings (Unix only)
1652 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1653 --enable-extended_rtti use extended RTTI (XTI)
1654 --enable-omf use OMF object format
1655 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1656 --enable-debug_info create code with debugging information
1657 --disable-optimise compile without optimisations
1658 --enable-debug_gdb create code with extra GDB debugging information
1659 --enable-debug_cntxt use wxDebugContext
1660 --enable-mem_tracing create code with memory tracing
1661 --enable-profile create code with profiling information
1662 --enable-no_rtti create code without RTTI information
1663 --enable-no_exceptions create code without C++ exceptions handling
1664 --enable-permissive compile code disregarding strict ANSI
1665 --enable-no_deps create code without dependency information
1666 --disable-vararg_macros don't use vararg macros, even if they are supported
1667 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1668 --enable-compat26 enable wxWidgets 2.6 compatibility
1669 --disable-compat28 disable wxWidgets 2.8 compatibility
1670 --disable-rpath disable use of rpath for uninstalled builds
1671 --enable-objc_uniquifying enable Objective-C class name uniquifying
1672 --disable-visibility disable use of ELF symbols visibility even if supported
1673 --enable-intl use internationalization system
1674 --enable-xlocale use x-locale support (requires wxLocale)
1675 --enable-config use wxConfig (and derived) classes
1676 --enable-protocols use wxProtocol and derived classes
1677 --enable-ftp use wxFTP (requires wxProtocol
1678 --enable-http use wxHTTP (requires wxProtocol
1679 --enable-fileproto use wxFileProto class (requires wxProtocol
1680 --enable-sockets use socket/network classes
1681 --enable-ipv6 enable IPv6 support in wxSocket
1682 --enable-ole use OLE classes (Win32 only)
1683 --enable-dataobj use data object classes
1684 --enable-ipc use interprocess communication (wxSocket etc.)
1685 --enable-baseevtloop use event loop in console programs too
1686 --enable-epollloop use wxEpollDispatcher class (Linux only)
1687 --enable-selectloop use wxSelectDispatcher class
1688 --enable-apple_ieee use the Apple IEEE codec
1689 --enable-arcstream use wxArchive streams
1690 --enable-base64 use base64 encoding/decoding functions
1691 --enable-backtrace use wxStackWalker class for getting backtraces
1692 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1693 --enable-cmdline use wxCmdLineParser class
1694 --enable-datetime use wxDateTime class
1695 --enable-debugreport use wxDebugReport class
1696 --enable-dialupman use dialup network classes
1697 --enable-dynlib use wxLibrary class for DLL loading
1698 --enable-dynamicloader use (new) wxDynamicLibrary class
1699 --enable-exceptions build exception-safe library
1700 --enable-ffile use wxFFile class
1701 --enable-file use wxFile class
1702 --enable-filesystem use virtual file systems classes
1703 --enable-fontenum use wxFontEnumerator class
1704 --enable-fontmap use font encodings conversion classes
1705 --enable-fs_archive use virtual archive filesystems
1706 --enable-fs_inet use virtual HTTP/FTP filesystems
1707 --enable-fs_zip now replaced by fs_archive
1708 --enable-geometry use geometry class
1709 --enable-log use logging system
1710 --enable-longlong use wxLongLong class
1711 --enable-mimetype use wxMimeTypesManager
1712 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1713 --enable-snglinst use wxSingleInstanceChecker class
1714 --enable-sound use wxSound class
1715 --enable-stdpaths use wxStandardPaths class
1716 --enable-stopwatch use wxStopWatch class
1717 --enable-streams use wxStream etc classes
1718 --enable-sysoptions use wxSystemOptions
1719 --enable-tarstream use wxTar streams
1720 --enable-textbuf use wxTextBuffer class
1721 --enable-textfile use wxTextFile class
1722 --enable-timer use wxTimer class
1723 --enable-variant use wxVariant class
1724 --enable-zipstream use wxZip streams
1725 --enable-url use wxURL class
1726 --enable-protocol use wxProtocol class
1727 --enable-protocol-http HTTP support in wxProtocol
1728 --enable-protocol-ftp FTP support in wxProtocol
1729 --enable-protocol-file FILE support in wxProtocol
1730 --enable-threads use threads
1731 --enable-iniconf use wxIniConfig (Win32 only)
1732 --enable-regkey use wxRegKey class (Win32 only)
1733 --enable-docview use document view architecture
1734 --enable-help use help subsystem
1735 --enable-mshtmlhelp use MS HTML Help (win32)
1736 --enable-html use wxHTML sub-library
1737 --enable-htmlhelp use wxHTML-based help
1738 --enable-xrc use XRC resources sub-library
1739 --enable-aui use AUI docking library
1740 --enable-stc use wxStyledTextCtrl library
1741 --enable-constraints use layout-constraints system
1742 --enable-loggui use standard GUI logger
1743 --enable-logwin use wxLogWindow
1744 --enable-logdialog use wxLogDialog
1745 --enable-mdi use multiple document interface architecture
1746 --enable-mdidoc use docview architecture with MDI
1747 --enable-mediactrl use wxMediaCtrl class
1748 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1749 --enable-webkit use wxWebKitCtrl (Mac)
1750 --enable-richtext use wxRichTextCtrl
1751 --enable-graphics_ctx use graphics context 2D drawing API
1752 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1753 --enable-printarch use printing architecture
1754 --enable-svg use wxSVGFileDC device context
1755 --enable-clipboard use wxClipboard class
1756 --enable-dnd use Drag'n'Drop classes
1757 --enable-metafile use win32 metafiles
1758 --disable-controls disable compilation of all standard controls
1759 --enable-accel use accelerators
1760 --enable-animatectrl use wxAnimationCtrl class
1761 --enable-button use wxButton class
1762 --enable-bmpbutton use wxBitmapButton class
1763 --enable-bmpcombobox use wxBitmapComboBox class
1764 --enable-calendar use wxCalendarCtrl class
1765 --enable-caret use wxCaret class
1766 --enable-checkbox use wxCheckBox class
1767 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1768 --enable-choice use wxChoice class
1769 --enable-choicebook use wxChoicebook class
1770 --enable-collpane use wxCollapsiblePane class
1771 --enable-colourpicker use wxColourPickerCtrl class
1772 --enable-combobox use wxComboBox class
1773 --enable-comboctrl use wxComboCtrl class
1774 --enable-datepick use wxDatePickerCtrl class
1775 --enable-dirpicker use wxDirPickerCtrl class
1776 --enable-display use wxDisplay class
1777 --enable-detect_sm use code to detect X11 session manager
1778 --enable-editablebox use wxEditableListBox class
1779 --enable-filepicker use wxFilePickerCtrl class
1780 --enable-filectrl use wxFileCtrl class
1781 --enable-fontpicker use wxFontPickerCtrl class
1782 --enable-gauge use wxGauge class
1783 --enable-grid use wxGrid class
1784 --enable-dataviewctrl use wxDataViewCtrl class
1785 --enable-hyperlink use wxHyperlinkCtrl class
1786 --enable-imaglist use wxImageList class
1787 --enable-listbook use wxListbook class
1788 --enable-listbox use wxListBox class
1789 --enable-listctrl use wxListCtrl class
1790 --enable-notebook use wxNotebook class
1791 --enable-notifmsg use wxNotificationMessage class
1792 --enable-odcombobox use wxOwnerDrawnComboBox class
1793 --enable-radiobox use wxRadioBox class
1794 --enable-radiobtn use wxRadioButton class
1795 --enable-sash use wxSashWindow class
1796 --enable-scrollbar use wxScrollBar class and scrollable windows
1797 --enable-searchctrl use wxSearchCtrl class
1798 --enable-slider use wxSlider class
1799 --enable-spinbtn use wxSpinButton class
1800 --enable-spinctrl use wxSpinCtrl class
1801 --enable-splitter use wxSplitterWindow class
1802 --enable-statbmp use wxStaticBitmap class
1803 --enable-statbox use wxStaticBox class
1804 --enable-statline use wxStaticLine class
1805 --enable-stattext use wxStaticText class
1806 --enable-statusbar use wxStatusBar class
1807 --enable-tabdialog use wxTabControl class
1808 --enable-taskbaricon use wxTaskBarIcon class
1809 --enable-textctrl use wxTextCtrl class
1810 --enable-togglebtn use wxToggleButton class
1811 --enable-toolbar use wxToolBar class
1812 --enable-tbarnative use native wxToolBar class
1813 --enable-treebook use wxTreebook class
1814 --enable-toolbook use wxToolbook class
1815 --enable-treectrl use wxTreeCtrl class
1816 --enable-tipwindow use wxTipWindow class
1817 --enable-popupwin use wxPopUpWindow class
1818 --enable-commondlg use all common dialogs
1819 --enable-aboutdlg use wxAboutBox
1820 --enable-choicedlg use wxChoiceDialog
1821 --enable-coldlg use wxColourDialog
1822 --enable-filedlg use wxFileDialog
1823 --enable-finddlg use wxFindReplaceDialog
1824 --enable-fontdlg use wxFontDialog
1825 --enable-dirdlg use wxDirDialog
1826 --enable-msgdlg use wxMessageDialog
1827 --enable-numberdlg use wxNumberEntryDialog
1828 --enable-splash use wxSplashScreen
1829 --enable-textdlg use wxTextDialog
1830 --enable-tipdlg use startup tips
1831 --enable-progressdlg use wxProgressDialog
1832 --enable-wizarddlg use wxWizard
1833 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1834 --enable-miniframe use wxMiniFrame class
1835 --enable-tooltips use wxToolTip class
1836 --enable-splines use spline drawing code
1837 --enable-mousewheel use mousewheel
1838 --enable-validators use wxValidator and derived classes
1839 --enable-busyinfo use wxBusyInfo
1840 --enable-joystick use wxJoystick
1841 --enable-metafiles use wxMetaFile (Win32 only)
1842 --enable-dragimage use wxDragImage
1843 --enable-accessibility enable accessibility support
1844 --enable-palette use wxPalette class
1845 --enable-image use wxImage class
1846 --enable-gif use gif images (GIF file format)
1847 --enable-pcx use pcx images (PCX file format)
1848 --enable-tga use tga images (TGA file format)
1849 --enable-iff use iff images (IFF file format)
1850 --enable-pnm use pnm images (PNM file format)
1851 --enable-xpm use xpm images (XPM file format)
1852 --enable-ico_cur use Windows ICO and CUR formats
1853 --enable-dccache cache temporary wxDC objects (Win32 only)
1854 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1855 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1856 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1857 --enable-wxdib use wxDIB class (Win32 only)
1858 --enable-autoidman use automatic ids management
1859 --disable-largefile omit support for large files
1860 --disable-gtktest do not try to compile and run a test GTK+ program
1861 --disable-gtktest Do not try to compile and run a test GTK program
1862 --disable-sdltest Do not try to compile and run a test SDL program
1863 --enable-omf use OMF object format (OS/2)
1864 --disable-dependency-tracking
1865 don't use dependency tracking even if the compiler
1866 can
1867 --disable-precomp-headers
1868 don't use precompiled headers even if compiler can
1869
1870 Optional Packages:
1871 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1872 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1873 --without-subdirs don't generate makefiles for samples/demos/...
1874 --with-flavour=NAME specify a name to identify this build
1875 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1876 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1877 --with-motif use Motif/Lesstif
1878 --with-mac use Mac OS X
1879 --with-cocoa use Cocoa
1880 --with-wine use Wine
1881 --with-msw use MS-Windows
1882 --with-pm use OS/2 Presentation Manager
1883 --with-mgl use SciTech MGL
1884 --with-directfb use DirectFB
1885 --with-microwin use MicroWindows
1886 --with-x11 use X11
1887 --with-libpng use libpng (PNG image format)
1888 --with-libjpeg use libjpeg (JPEG file format)
1889 --with-libtiff use libtiff (TIFF file format)
1890 --with-libxpm use libxpm (XPM file format)
1891 --with-libiconv use libiconv (character conversion)
1892 --with-libmspack use libmspack (CHM help files loading)
1893 --without-gtkprint don't use GTK printing support
1894 --without-gnomeprint don't use GNOME printing libraries
1895 --with-gnomevfs use GNOME VFS for associating MIME types
1896 --with-hildon use Hildon framework for Nokia 770
1897 --with-opengl use OpenGL (or Mesa)
1898 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1899 --with-sdl use SDL for audio on Unix
1900 --with-regex enable support for wxRegEx class
1901 --with-zlib use zlib for LZW compression
1902 --with-expat enable XML support using expat parser
1903 --with-macosx-sdk=PATH use an OS X SDK at PATH
1904 --with-macosx-version-min=VER build binaries which require at least this OS X version
1905 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1906 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1907 --with-x use the X Window System
1908 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1909 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1910 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1911 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1912 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1913
1914 Some influential environment variables:
1915 CC C compiler command
1916 CFLAGS C compiler flags
1917 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1918 nonstandard directory <lib dir>
1919 LIBS libraries to pass to the linker, e.g. -l<library>
1920 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1921 you have headers in a nonstandard directory <include dir>
1922 CPP C preprocessor
1923 CXX C++ compiler command
1924 CXXFLAGS C++ compiler flags
1925 PKG_CONFIG path to pkg-config utility
1926 DIRECTFB_CFLAGS
1927 C compiler flags for DIRECTFB, overriding pkg-config
1928 DIRECTFB_LIBS
1929 linker flags for DIRECTFB, overriding pkg-config
1930 XMKMF Path to xmkmf, Makefile generator for X Window System
1931 PANGOX_CFLAGS
1932 C compiler flags for PANGOX, overriding pkg-config
1933 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1934 PANGOFT2_CFLAGS
1935 C compiler flags for PANGOFT2, overriding pkg-config
1936 PANGOFT2_LIBS
1937 linker flags for PANGOFT2, overriding pkg-config
1938 PANGOXFT_CFLAGS
1939 C compiler flags for PANGOXFT, overriding pkg-config
1940 PANGOXFT_LIBS
1941 linker flags for PANGOXFT, overriding pkg-config
1942 GTKPRINT_CFLAGS
1943 C compiler flags for GTKPRINT, overriding pkg-config
1944 GTKPRINT_LIBS
1945 linker flags for GTKPRINT, overriding pkg-config
1946 LIBGNOMEPRINTUI_CFLAGS
1947 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1948 LIBGNOMEPRINTUI_LIBS
1949 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1950 GNOMEVFS_CFLAGS
1951 C compiler flags for GNOMEVFS, overriding pkg-config
1952 GNOMEVFS_LIBS
1953 linker flags for GNOMEVFS, overriding pkg-config
1954 HILDON_CFLAGS
1955 C compiler flags for HILDON, overriding pkg-config
1956 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1957 CAIRO_CFLAGS
1958 C compiler flags for CAIRO, overriding pkg-config
1959 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1960 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1961 GST_LIBS linker flags for GST, overriding pkg-config
1962
1963 Use these variables to override the choices made by `configure' or to help
1964 it to find libraries and programs with nonstandard names/locations.
1965
1966 Report bugs to <wx-dev@lists.wxwidgets.org>.
1967 _ACEOF
1968 ac_status=$?
1969 fi
1970
1971 if test "$ac_init_help" = "recursive"; then
1972 # If there are subdirs, report their specific --help.
1973 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1974 test -d "$ac_dir" || continue
1975 ac_builddir=.
1976
1977 case "$ac_dir" in
1978 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1979 *)
1980 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1981 # A ".." for each directory in $ac_dir_suffix.
1982 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1983 case $ac_top_builddir_sub in
1984 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1985 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1986 esac ;;
1987 esac
1988 ac_abs_top_builddir=$ac_pwd
1989 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1990 # for backward compatibility:
1991 ac_top_builddir=$ac_top_build_prefix
1992
1993 case $srcdir in
1994 .) # We are building in place.
1995 ac_srcdir=.
1996 ac_top_srcdir=$ac_top_builddir_sub
1997 ac_abs_top_srcdir=$ac_pwd ;;
1998 [\\/]* | ?:[\\/]* ) # Absolute name.
1999 ac_srcdir=$srcdir$ac_dir_suffix;
2000 ac_top_srcdir=$srcdir
2001 ac_abs_top_srcdir=$srcdir ;;
2002 *) # Relative name.
2003 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2004 ac_top_srcdir=$ac_top_build_prefix$srcdir
2005 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2006 esac
2007 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2008
2009 cd "$ac_dir" || { ac_status=$?; continue; }
2010 # Check for guested configure.
2011 if test -f "$ac_srcdir/configure.gnu"; then
2012 echo &&
2013 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2014 elif test -f "$ac_srcdir/configure"; then
2015 echo &&
2016 $SHELL "$ac_srcdir/configure" --help=recursive
2017 else
2018 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2019 fi || ac_status=$?
2020 cd "$ac_pwd" || { ac_status=$?; break; }
2021 done
2022 fi
2023
2024 test -n "$ac_init_help" && exit $ac_status
2025 if $ac_init_version; then
2026 cat <<\_ACEOF
2027 wxWidgets configure 2.9.0
2028 generated by GNU Autoconf 2.61
2029
2030 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2031 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2032 This configure script is free software; the Free Software Foundation
2033 gives unlimited permission to copy, distribute and modify it.
2034 _ACEOF
2035 exit
2036 fi
2037 cat >config.log <<_ACEOF
2038 This file contains any messages produced by compilers while
2039 running configure, to aid debugging if configure makes a mistake.
2040
2041 It was created by wxWidgets $as_me 2.9.0, which was
2042 generated by GNU Autoconf 2.61. Invocation command line was
2043
2044 $ $0 $@
2045
2046 _ACEOF
2047 exec 5>>config.log
2048 {
2049 cat <<_ASUNAME
2050 ## --------- ##
2051 ## Platform. ##
2052 ## --------- ##
2053
2054 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2055 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2056 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2057 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2058 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2059
2060 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2061 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2062
2063 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2064 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2065 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2066 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2067 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2068 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2069 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2070
2071 _ASUNAME
2072
2073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2074 for as_dir in $PATH
2075 do
2076 IFS=$as_save_IFS
2077 test -z "$as_dir" && as_dir=.
2078 echo "PATH: $as_dir"
2079 done
2080 IFS=$as_save_IFS
2081
2082 } >&5
2083
2084 cat >&5 <<_ACEOF
2085
2086
2087 ## ----------- ##
2088 ## Core tests. ##
2089 ## ----------- ##
2090
2091 _ACEOF
2092
2093
2094 # Keep a trace of the command line.
2095 # Strip out --no-create and --no-recursion so they do not pile up.
2096 # Strip out --silent because we don't want to record it for future runs.
2097 # Also quote any args containing shell meta-characters.
2098 # Make two passes to allow for proper duplicate-argument suppression.
2099 ac_configure_args=
2100 ac_configure_args0=
2101 ac_configure_args1=
2102 ac_must_keep_next=false
2103 for ac_pass in 1 2
2104 do
2105 for ac_arg
2106 do
2107 case $ac_arg in
2108 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2109 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2110 | -silent | --silent | --silen | --sile | --sil)
2111 continue ;;
2112 *\'*)
2113 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2114 esac
2115 case $ac_pass in
2116 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2117 2)
2118 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2119 if test $ac_must_keep_next = true; then
2120 ac_must_keep_next=false # Got value, back to normal.
2121 else
2122 case $ac_arg in
2123 *=* | --config-cache | -C | -disable-* | --disable-* \
2124 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2125 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2126 | -with-* | --with-* | -without-* | --without-* | --x)
2127 case "$ac_configure_args0 " in
2128 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2129 esac
2130 ;;
2131 -* ) ac_must_keep_next=true ;;
2132 esac
2133 fi
2134 ac_configure_args="$ac_configure_args '$ac_arg'"
2135 ;;
2136 esac
2137 done
2138 done
2139 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2140 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2141
2142 # When interrupted or exit'd, cleanup temporary files, and complete
2143 # config.log. We remove comments because anyway the quotes in there
2144 # would cause problems or look ugly.
2145 # WARNING: Use '\'' to represent an apostrophe within the trap.
2146 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2147 trap 'exit_status=$?
2148 # Save into config.log some information that might help in debugging.
2149 {
2150 echo
2151
2152 cat <<\_ASBOX
2153 ## ---------------- ##
2154 ## Cache variables. ##
2155 ## ---------------- ##
2156 _ASBOX
2157 echo
2158 # The following way of writing the cache mishandles newlines in values,
2159 (
2160 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2161 eval ac_val=\$$ac_var
2162 case $ac_val in #(
2163 *${as_nl}*)
2164 case $ac_var in #(
2165 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2166 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2167 esac
2168 case $ac_var in #(
2169 _ | IFS | as_nl) ;; #(
2170 *) $as_unset $ac_var ;;
2171 esac ;;
2172 esac
2173 done
2174 (set) 2>&1 |
2175 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2176 *${as_nl}ac_space=\ *)
2177 sed -n \
2178 "s/'\''/'\''\\\\'\'''\''/g;
2179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2180 ;; #(
2181 *)
2182 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2183 ;;
2184 esac |
2185 sort
2186 )
2187 echo
2188
2189 cat <<\_ASBOX
2190 ## ----------------- ##
2191 ## Output variables. ##
2192 ## ----------------- ##
2193 _ASBOX
2194 echo
2195 for ac_var in $ac_subst_vars
2196 do
2197 eval ac_val=\$$ac_var
2198 case $ac_val in
2199 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2200 esac
2201 echo "$ac_var='\''$ac_val'\''"
2202 done | sort
2203 echo
2204
2205 if test -n "$ac_subst_files"; then
2206 cat <<\_ASBOX
2207 ## ------------------- ##
2208 ## File substitutions. ##
2209 ## ------------------- ##
2210 _ASBOX
2211 echo
2212 for ac_var in $ac_subst_files
2213 do
2214 eval ac_val=\$$ac_var
2215 case $ac_val in
2216 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2217 esac
2218 echo "$ac_var='\''$ac_val'\''"
2219 done | sort
2220 echo
2221 fi
2222
2223 if test -s confdefs.h; then
2224 cat <<\_ASBOX
2225 ## ----------- ##
2226 ## confdefs.h. ##
2227 ## ----------- ##
2228 _ASBOX
2229 echo
2230 cat confdefs.h
2231 echo
2232 fi
2233 test "$ac_signal" != 0 &&
2234 echo "$as_me: caught signal $ac_signal"
2235 echo "$as_me: exit $exit_status"
2236 } >&5
2237 rm -f core *.core core.conftest.* &&
2238 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2239 exit $exit_status
2240 ' 0
2241 for ac_signal in 1 2 13 15; do
2242 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2243 done
2244 ac_signal=0
2245
2246 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2247 rm -f -r conftest* confdefs.h
2248
2249 # Predefined preprocessor variables.
2250
2251 cat >>confdefs.h <<_ACEOF
2252 #define PACKAGE_NAME "$PACKAGE_NAME"
2253 _ACEOF
2254
2255
2256 cat >>confdefs.h <<_ACEOF
2257 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2258 _ACEOF
2259
2260
2261 cat >>confdefs.h <<_ACEOF
2262 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2263 _ACEOF
2264
2265
2266 cat >>confdefs.h <<_ACEOF
2267 #define PACKAGE_STRING "$PACKAGE_STRING"
2268 _ACEOF
2269
2270
2271 cat >>confdefs.h <<_ACEOF
2272 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2273 _ACEOF
2274
2275
2276 # Let the site file select an alternate cache file if it wants to.
2277 # Prefer explicitly selected file to automatically selected ones.
2278 if test -n "$CONFIG_SITE"; then
2279 set x "$CONFIG_SITE"
2280 elif test "x$prefix" != xNONE; then
2281 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2282 else
2283 set x "$ac_default_prefix/share/config.site" \
2284 "$ac_default_prefix/etc/config.site"
2285 fi
2286 shift
2287 for ac_site_file
2288 do
2289 if test -r "$ac_site_file"; then
2290 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2291 echo "$as_me: loading site script $ac_site_file" >&6;}
2292 sed 's/^/| /' "$ac_site_file" >&5
2293 . "$ac_site_file"
2294 fi
2295 done
2296
2297 if test -r "$cache_file"; then
2298 # Some versions of bash will fail to source /dev/null (special
2299 # files actually), so we avoid doing that.
2300 if test -f "$cache_file"; then
2301 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2302 echo "$as_me: loading cache $cache_file" >&6;}
2303 case $cache_file in
2304 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2305 *) . "./$cache_file";;
2306 esac
2307 fi
2308 else
2309 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2310 echo "$as_me: creating cache $cache_file" >&6;}
2311 >$cache_file
2312 fi
2313
2314 # Check that the precious variables saved in the cache have kept the same
2315 # value.
2316 ac_cache_corrupted=false
2317 for ac_var in $ac_precious_vars; do
2318 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2319 eval ac_new_set=\$ac_env_${ac_var}_set
2320 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2321 eval ac_new_val=\$ac_env_${ac_var}_value
2322 case $ac_old_set,$ac_new_set in
2323 set,)
2324 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2325 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2326 ac_cache_corrupted=: ;;
2327 ,set)
2328 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2329 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2330 ac_cache_corrupted=: ;;
2331 ,);;
2332 *)
2333 if test "x$ac_old_val" != "x$ac_new_val"; then
2334 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2335 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2336 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2337 echo "$as_me: former value: $ac_old_val" >&2;}
2338 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2339 echo "$as_me: current value: $ac_new_val" >&2;}
2340 ac_cache_corrupted=:
2341 fi;;
2342 esac
2343 # Pass precious variables to config.status.
2344 if test "$ac_new_set" = set; then
2345 case $ac_new_val in
2346 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2347 *) ac_arg=$ac_var=$ac_new_val ;;
2348 esac
2349 case " $ac_configure_args " in
2350 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2351 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2352 esac
2353 fi
2354 done
2355 if $ac_cache_corrupted; then
2356 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2357 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2358 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2359 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2360 { (exit 1); exit 1; }; }
2361 fi
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387 ac_ext=c
2388 ac_cpp='$CPP $CPPFLAGS'
2389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2392
2393
2394
2395
2396
2397 ac_aux_dir=
2398 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2399 if test -f "$ac_dir/install-sh"; then
2400 ac_aux_dir=$ac_dir
2401 ac_install_sh="$ac_aux_dir/install-sh -c"
2402 break
2403 elif test -f "$ac_dir/install.sh"; then
2404 ac_aux_dir=$ac_dir
2405 ac_install_sh="$ac_aux_dir/install.sh -c"
2406 break
2407 elif test -f "$ac_dir/shtool"; then
2408 ac_aux_dir=$ac_dir
2409 ac_install_sh="$ac_aux_dir/shtool install -c"
2410 break
2411 fi
2412 done
2413 if test -z "$ac_aux_dir"; then
2414 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2415 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2416 { (exit 1); exit 1; }; }
2417 fi
2418
2419 # These three variables are undocumented and unsupported,
2420 # and are intended to be withdrawn in a future Autoconf release.
2421 # They can cause serious problems if a builder's source tree is in a directory
2422 # whose full name contains unusual characters.
2423 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2424 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2425 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2426
2427
2428 # Make sure we can run config.sub.
2429 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2430 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2431 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2432 { (exit 1); exit 1; }; }
2433
2434 { echo "$as_me:$LINENO: checking build system type" >&5
2435 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2436 if test "${ac_cv_build+set}" = set; then
2437 echo $ECHO_N "(cached) $ECHO_C" >&6
2438 else
2439 ac_build_alias=$build_alias
2440 test "x$ac_build_alias" = x &&
2441 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2442 test "x$ac_build_alias" = x &&
2443 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2444 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2445 { (exit 1); exit 1; }; }
2446 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2447 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2448 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2449 { (exit 1); exit 1; }; }
2450
2451 fi
2452 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2453 echo "${ECHO_T}$ac_cv_build" >&6; }
2454 case $ac_cv_build in
2455 *-*-*) ;;
2456 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2457 echo "$as_me: error: invalid value of canonical build" >&2;}
2458 { (exit 1); exit 1; }; };;
2459 esac
2460 build=$ac_cv_build
2461 ac_save_IFS=$IFS; IFS='-'
2462 set x $ac_cv_build
2463 shift
2464 build_cpu=$1
2465 build_vendor=$2
2466 shift; shift
2467 # Remember, the first character of IFS is used to create $*,
2468 # except with old shells:
2469 build_os=$*
2470 IFS=$ac_save_IFS
2471 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2472
2473
2474 { echo "$as_me:$LINENO: checking host system type" >&5
2475 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2476 if test "${ac_cv_host+set}" = set; then
2477 echo $ECHO_N "(cached) $ECHO_C" >&6
2478 else
2479 if test "x$host_alias" = x; then
2480 ac_cv_host=$ac_cv_build
2481 else
2482 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2483 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2484 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2485 { (exit 1); exit 1; }; }
2486 fi
2487
2488 fi
2489 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2490 echo "${ECHO_T}$ac_cv_host" >&6; }
2491 case $ac_cv_host in
2492 *-*-*) ;;
2493 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2494 echo "$as_me: error: invalid value of canonical host" >&2;}
2495 { (exit 1); exit 1; }; };;
2496 esac
2497 host=$ac_cv_host
2498 ac_save_IFS=$IFS; IFS='-'
2499 set x $ac_cv_host
2500 shift
2501 host_cpu=$1
2502 host_vendor=$2
2503 shift; shift
2504 # Remember, the first character of IFS is used to create $*,
2505 # except with old shells:
2506 host_os=$*
2507 IFS=$ac_save_IFS
2508 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2509
2510
2511 { echo "$as_me:$LINENO: checking target system type" >&5
2512 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2513 if test "${ac_cv_target+set}" = set; then
2514 echo $ECHO_N "(cached) $ECHO_C" >&6
2515 else
2516 if test "x$target_alias" = x; then
2517 ac_cv_target=$ac_cv_host
2518 else
2519 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2520 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2521 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2522 { (exit 1); exit 1; }; }
2523 fi
2524
2525 fi
2526 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2527 echo "${ECHO_T}$ac_cv_target" >&6; }
2528 case $ac_cv_target in
2529 *-*-*) ;;
2530 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2531 echo "$as_me: error: invalid value of canonical target" >&2;}
2532 { (exit 1); exit 1; }; };;
2533 esac
2534 target=$ac_cv_target
2535 ac_save_IFS=$IFS; IFS='-'
2536 set x $ac_cv_target
2537 shift
2538 target_cpu=$1
2539 target_vendor=$2
2540 shift; shift
2541 # Remember, the first character of IFS is used to create $*,
2542 # except with old shells:
2543 target_os=$*
2544 IFS=$ac_save_IFS
2545 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2546
2547
2548 # The aliases save the names the user supplied, while $host etc.
2549 # will get canonicalized.
2550 test -n "$target_alias" &&
2551 test "$program_prefix$program_suffix$program_transform_name" = \
2552 NONENONEs,x,x, &&
2553 program_prefix=${target_alias}-
2554
2555
2556
2557 wx_major_version_number=2
2558 wx_minor_version_number=9
2559 wx_release_number=0
2560 wx_subrelease_number=0
2561
2562 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2563 WX_VERSION=$WX_RELEASE.$wx_release_number
2564 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2565
2566 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2567
2568
2569 wx_top_builddir="`pwd`"
2570
2571
2572
2573
2574 USE_UNIX=1
2575 USE_OS2=0
2576 USE_WIN32=0
2577 USE_DOS=0
2578 USE_BEOS=0
2579 USE_MAC=0
2580
2581 USE_AIX=
2582 USE_BSD= USE_DARWIN= USE_FREEBSD=
2583 USE_GNU= USE_HPUX=
2584 USE_LINUX=
2585 USE_NETBSD=
2586 USE_OPENBSD=
2587 USE_OSF= USE_SGI=
2588 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2589 USE_ULTRIX=
2590 USE_UNIXWARE=
2591
2592 USE_ALPHA=
2593
2594 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2595
2596 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2597
2598 DEFAULT_wxUSE_COCOA=0
2599 DEFAULT_wxUSE_GTK=0
2600 DEFAULT_wxUSE_MAC=0
2601 DEFAULT_wxUSE_MGL=0
2602 DEFAULT_wxUSE_MICROWIN=0
2603 DEFAULT_wxUSE_MOTIF=0
2604 DEFAULT_wxUSE_MSW=0
2605 DEFAULT_wxUSE_PM=0
2606 DEFAULT_wxUSE_X11=0
2607 DEFAULT_wxUSE_DFB=0
2608
2609 DEFAULT_DEFAULT_wxUSE_COCOA=0
2610 DEFAULT_DEFAULT_wxUSE_GTK=0
2611 DEFAULT_DEFAULT_wxUSE_MAC=0
2612 DEFAULT_DEFAULT_wxUSE_MGL=0
2613 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2614 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2615 DEFAULT_DEFAULT_wxUSE_MSW=0
2616 DEFAULT_DEFAULT_wxUSE_PM=0
2617 DEFAULT_DEFAULT_wxUSE_X11=0
2618 DEFAULT_DEFAULT_wxUSE_DFB=0
2619
2620 PROGRAM_EXT=
2621 SO_SUFFIX=so
2622 SAMPLES_RPATH_FLAG=
2623 SAMPLES_RPATH_POSTLINK=
2624
2625 DEFAULT_STD_FLAG=yes
2626
2627 case "${host}" in
2628 *-hp-hpux* )
2629 USE_HPUX=1
2630 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2631 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2632 SO_SUFFIX=sl
2633 cat >>confdefs.h <<\_ACEOF
2634 #define __HPUX__ 1
2635 _ACEOF
2636
2637
2638 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2639 ;;
2640 *-*-linux* )
2641 USE_LINUX=1
2642 cat >>confdefs.h <<\_ACEOF
2643 #define __LINUX__ 1
2644 _ACEOF
2645
2646 TMP=`uname -m`
2647 if test "x$TMP" = "xalpha"; then
2648 USE_ALPHA=1
2649 cat >>confdefs.h <<\_ACEOF
2650 #define __ALPHA__ 1
2651 _ACEOF
2652
2653 fi
2654 DEFAULT_DEFAULT_wxUSE_GTK=1
2655 ;;
2656 *-*-gnu* | *-*-k*bsd*-gnu )
2657 USE_GNU=1
2658 TMP=`uname -m`
2659 if test "x$TMP" = "xalpha"; then
2660 USE_ALPHA=1
2661 cat >>confdefs.h <<\_ACEOF
2662 #define __ALPHA__ 1
2663 _ACEOF
2664
2665 fi
2666 DEFAULT_DEFAULT_wxUSE_GTK=1
2667 ;;
2668 *-*-irix5* | *-*-irix6* )
2669 USE_SGI=1
2670 USE_SVR4=1
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SGI__ 1
2673 _ACEOF
2674
2675 cat >>confdefs.h <<\_ACEOF
2676 #define __SVR4__ 1
2677 _ACEOF
2678
2679 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2680 ;;
2681 *-*-solaris2* )
2682 USE_SUN=1
2683 USE_SOLARIS=1
2684 USE_SVR4=1
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __SUN__ 1
2687 _ACEOF
2688
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __SOLARIS__ 1
2691 _ACEOF
2692
2693 cat >>confdefs.h <<\_ACEOF
2694 #define __SVR4__ 1
2695 _ACEOF
2696
2697 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2698 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2699 ;;
2700 *-*-sunos4* )
2701 USE_SUN=1
2702 USE_SUNOS=1
2703 USE_BSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SUN__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __SUNOS__ 1
2710 _ACEOF
2711
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __BSD__ 1
2714 _ACEOF
2715
2716 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2717 ;;
2718 *-*-freebsd*)
2719 USE_BSD=1
2720 USE_FREEBSD=1
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __FREEBSD__ 1
2723 _ACEOF
2724
2725 cat >>confdefs.h <<\_ACEOF
2726 #define __BSD__ 1
2727 _ACEOF
2728
2729 DEFAULT_DEFAULT_wxUSE_GTK=1
2730 ;;
2731 *-*-openbsd*|*-*-mirbsd*)
2732 USE_BSD=1
2733 USE_OPENBSD=1
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __OPENBSD__ 1
2736 _ACEOF
2737
2738 cat >>confdefs.h <<\_ACEOF
2739 #define __BSD__ 1
2740 _ACEOF
2741
2742 DEFAULT_DEFAULT_wxUSE_GTK=1
2743 ;;
2744 *-*-netbsd*)
2745 USE_BSD=1
2746 USE_NETBSD=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __NETBSD__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __BSD__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_GTK=1
2756 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2757
2758 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2759 ;;
2760 *-*-osf* )
2761 USE_ALPHA=1
2762 USE_OSF=1
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __ALPHA__ 1
2765 _ACEOF
2766
2767 cat >>confdefs.h <<\_ACEOF
2768 #define __OSF__ 1
2769 _ACEOF
2770
2771 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2772 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2773 ;;
2774 *-*-dgux5* )
2775 USE_ALPHA=1
2776 USE_SVR4=1
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __ALPHA__ 1
2779 _ACEOF
2780
2781 cat >>confdefs.h <<\_ACEOF
2782 #define __SVR4__ 1
2783 _ACEOF
2784
2785 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2786 ;;
2787 *-*-sysv5* )
2788 USE_SYSV=1
2789 USE_SVR4=1
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SYSV__ 1
2792 _ACEOF
2793
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __SVR4__ 1
2796 _ACEOF
2797
2798 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2799 ;;
2800 *-*-aix* )
2801 USE_AIX=1
2802 USE_SYSV=1
2803 USE_SVR4=1
2804 SO_SUFFIX=a
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __AIX__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __SYSV__ 1
2811 _ACEOF
2812
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __SVR4__ 1
2815 _ACEOF
2816
2817 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2818 ;;
2819
2820 *-*-*UnixWare*)
2821 USE_SYSV=1
2822 USE_SVR4=1
2823 USE_UNIXWARE=1
2824 cat >>confdefs.h <<\_ACEOF
2825 #define __UNIXWARE__ 1
2826 _ACEOF
2827
2828 ;;
2829
2830 *-*-cygwin* | *-*-mingw32* )
2831 SO_SUFFIX=dll
2832 PROGRAM_EXT=".exe"
2833 DEFAULT_DEFAULT_wxUSE_MSW=1
2834 ;;
2835
2836 *-pc-msdosdjgpp )
2837 USE_UNIX=0
2838 USE_DOS=1
2839 cat >>confdefs.h <<\_ACEOF
2840 #define __DOS__ 1
2841 _ACEOF
2842
2843 PROGRAM_EXT=".exe"
2844 DEFAULT_DEFAULT_wxUSE_MGL=1
2845 ;;
2846
2847 *-pc-os2_emx | *-pc-os2-emx )
2848 cat >>confdefs.h <<\_ACEOF
2849 #define __EMX__ 1
2850 _ACEOF
2851
2852 USE_OS2=1
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __OS2__ 1
2855 _ACEOF
2856
2857 PROGRAM_EXT=".exe"
2858 DEFAULT_DEFAULT_wxUSE_PM=1
2859 CXX=gcc
2860 LDFLAGS="$LDFLAGS -Zcrtdll"
2861 ac_executable_extensions=".exe"
2862 export ac_executable_extensions
2863 ac_save_IFS="$IFS"
2864 IFS='\\'
2865 ac_TEMP_PATH=
2866 for ac_dir in $PATH; do
2867 IFS=$ac_save_IFS
2868 if test -z "$ac_TEMP_PATH"; then
2869 ac_TEMP_PATH="$ac_dir"
2870 else
2871 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2872 fi
2873 done
2874 export PATH="$ac_TEMP_PATH"
2875 unset ac_TEMP_PATH
2876 DEFAULT_STD_FLAG=no
2877 ;;
2878
2879 *-*-darwin* )
2880 USE_BSD=1
2881 USE_DARWIN=1
2882 SO_SUFFIX=dylib
2883 cat >>confdefs.h <<\_ACEOF
2884 #define __BSD__ 1
2885 _ACEOF
2886
2887 cat >>confdefs.h <<\_ACEOF
2888 #define __DARWIN__ 1
2889 _ACEOF
2890
2891 cat >>confdefs.h <<\_ACEOF
2892 #define TARGET_CARBON 1
2893 _ACEOF
2894
2895 DEFAULT_DEFAULT_wxUSE_MAC=1
2896 DEFAULT_STD_FLAG=no
2897 ;;
2898 powerpc-apple-macos* )
2899 USE_UNIX=0
2900 ac_cv_c_bigendian=yes
2901 SO_SUFFIX=shlib
2902 DEFAULT_DEFAULT_wxUSE_MAC=1
2903 DEFAULT_STD_FLAG=no
2904 ;;
2905
2906 *-*-beos* )
2907 USE_BEOS=1
2908 cat >>confdefs.h <<\_ACEOF
2909 #define __BEOS__ 1
2910 _ACEOF
2911
2912 ;;
2913
2914 *)
2915 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2916 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2917 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2918 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2919
2920 DEFAULT_DEFAULT_wxUSE_X11=1
2921 DEFAULT_wxUSE_SHARED=no
2922 esac
2923
2924
2925
2926 DEFAULT_wxUSE_ALL_FEATURES=yes
2927
2928 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2929 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2930
2931 DEFAULT_wxUSE_DMALLOC=no
2932 DEFAULT_wxUSE_LIBGNOMEVFS=no
2933 DEFAULT_wxUSE_LIBHILDON=no
2934 DEFAULT_wxUSE_LIBMSPACK=no
2935 DEFAULT_wxUSE_LIBSDL=no
2936 DEFAULT_wxUSE_OPENGL=no
2937
2938 DEFAULT_wxUSE_ACCESSIBILITY=no
2939 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2940 DEFAULT_wxUSE_IPV6=no
2941 DEFAULT_wxUSE_MEDIACTRL=no
2942 DEFAULT_wxUSE_TAB_DIALOG=no
2943 DEFAULT_wxUSE_GSTREAMER8=no
2944
2945 DEFAULT_wxUSE_UNICODE_UTF8=auto
2946 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2947
2948 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2949
2950 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2951
2952 DEFAULT_wxUSE_GTK2=yes
2953
2954 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2955
2956
2957
2958
2959
2960 enablestring=disable
2961 defaultval=
2962 if test -z "$defaultval"; then
2963 if test x"$enablestring" = xdisable; then
2964 defaultval=yes
2965 else
2966 defaultval=no
2967 fi
2968 fi
2969
2970 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2971 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2972 # Check whether --enable-gui was given.
2973 if test "${enable_gui+set}" = set; then
2974 enableval=$enable_gui;
2975 if test "$enableval" = yes; then
2976 wx_cv_use_gui='wxUSE_GUI=yes'
2977 else
2978 wx_cv_use_gui='wxUSE_GUI=no'
2979 fi
2980
2981 else
2982
2983 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2984
2985 fi
2986
2987
2988 eval "$wx_cv_use_gui"
2989
2990 if test x"$enablestring" = xdisable; then
2991 if test $wxUSE_GUI = yes; then
2992 result=no
2993 else
2994 result=yes
2995 fi
2996 else
2997 result=$wxUSE_GUI
2998 fi
2999
3000 { echo "$as_me:$LINENO: result: $result" >&5
3001 echo "${ECHO_T}$result" >&6; }
3002
3003
3004 enablestring=
3005 defaultval=
3006 if test -z "$defaultval"; then
3007 if test x"$enablestring" = xdisable; then
3008 defaultval=yes
3009 else
3010 defaultval=no
3011 fi
3012 fi
3013
3014 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3015 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3016 # Check whether --enable-monolithic was given.
3017 if test "${enable_monolithic+set}" = set; then
3018 enableval=$enable_monolithic;
3019 if test "$enableval" = yes; then
3020 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3021 else
3022 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3023 fi
3024
3025 else
3026
3027 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3028
3029 fi
3030
3031
3032 eval "$wx_cv_use_monolithic"
3033
3034 if test x"$enablestring" = xdisable; then
3035 if test $wxUSE_MONOLITHIC = yes; then
3036 result=no
3037 else
3038 result=yes
3039 fi
3040 else
3041 result=$wxUSE_MONOLITHIC
3042 fi
3043
3044 { echo "$as_me:$LINENO: result: $result" >&5
3045 echo "${ECHO_T}$result" >&6; }
3046
3047
3048 enablestring=
3049 defaultval=
3050 if test -z "$defaultval"; then
3051 if test x"$enablestring" = xdisable; then
3052 defaultval=yes
3053 else
3054 defaultval=no
3055 fi
3056 fi
3057
3058 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3059 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3060 # Check whether --enable-plugins was given.
3061 if test "${enable_plugins+set}" = set; then
3062 enableval=$enable_plugins;
3063 if test "$enableval" = yes; then
3064 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3065 else
3066 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3067 fi
3068
3069 else
3070
3071 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3072
3073 fi
3074
3075
3076 eval "$wx_cv_use_plugins"
3077
3078 if test x"$enablestring" = xdisable; then
3079 if test $wxUSE_PLUGINS = yes; then
3080 result=no
3081 else
3082 result=yes
3083 fi
3084 else
3085 result=$wxUSE_PLUGINS
3086 fi
3087
3088 { echo "$as_me:$LINENO: result: $result" >&5
3089 echo "${ECHO_T}$result" >&6; }
3090
3091
3092 withstring=without
3093 defaultval=$wxUSE_ALL_FEATURES
3094 if test -z "$defaultval"; then
3095 if test x"$withstring" = xwithout; then
3096 defaultval=yes
3097 else
3098 defaultval=no
3099 fi
3100 fi
3101 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3102 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3103
3104 # Check whether --with-subdirs was given.
3105 if test "${with_subdirs+set}" = set; then
3106 withval=$with_subdirs;
3107 if test "$withval" = yes; then
3108 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3109 else
3110 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3111 fi
3112
3113 else
3114
3115 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3116
3117 fi
3118
3119
3120 eval "$wx_cv_use_subdirs"
3121
3122 if test x"$withstring" = xwithout; then
3123 if test $wxWITH_SUBDIRS = yes; then
3124 result=no
3125 else
3126 result=yes
3127 fi
3128 else
3129 result=$wxWITH_SUBDIRS
3130 fi
3131
3132 { echo "$as_me:$LINENO: result: $result" >&5
3133 echo "${ECHO_T}$result" >&6; }
3134
3135
3136 # Check whether --with-flavour was given.
3137 if test "${with_flavour+set}" = set; then
3138 withval=$with_flavour; WX_FLAVOUR="$withval"
3139 fi
3140
3141
3142 enablestring=
3143 defaultval=
3144 if test -z "$defaultval"; then
3145 if test x"$enablestring" = xdisable; then
3146 defaultval=yes
3147 else
3148 defaultval=no
3149 fi
3150 fi
3151
3152 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3153 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3154 # Check whether --enable-official_build was given.
3155 if test "${enable_official_build+set}" = set; then
3156 enableval=$enable_official_build;
3157 if test "$enableval" = yes; then
3158 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3159 else
3160 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3161 fi
3162
3163 else
3164
3165 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3166
3167 fi
3168
3169
3170 eval "$wx_cv_use_official_build"
3171
3172 if test x"$enablestring" = xdisable; then
3173 if test $wxUSE_OFFICIAL_BUILD = yes; then
3174 result=no
3175 else
3176 result=yes
3177 fi
3178 else
3179 result=$wxUSE_OFFICIAL_BUILD
3180 fi
3181
3182 { echo "$as_me:$LINENO: result: $result" >&5
3183 echo "${ECHO_T}$result" >&6; }
3184
3185 # Check whether --enable-vendor was given.
3186 if test "${enable_vendor+set}" = set; then
3187 enableval=$enable_vendor; VENDOR="$enableval"
3188 fi
3189
3190 if test "x$VENDOR" = "x"; then
3191 VENDOR="custom"
3192 fi
3193
3194
3195 enablestring=disable
3196 defaultval=
3197 if test -z "$defaultval"; then
3198 if test x"$enablestring" = xdisable; then
3199 defaultval=yes
3200 else
3201 defaultval=no
3202 fi
3203 fi
3204
3205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3206 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3207 # Check whether --enable-all-features was given.
3208 if test "${enable_all_features+set}" = set; then
3209 enableval=$enable_all_features;
3210 if test "$enableval" = yes; then
3211 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3212 else
3213 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3214 fi
3215
3216 else
3217
3218 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3219
3220 fi
3221
3222
3223 eval "$wx_cv_use_all_features"
3224
3225 if test x"$enablestring" = xdisable; then
3226 if test $wxUSE_ALL_FEATURES = yes; then
3227 result=no
3228 else
3229 result=yes
3230 fi
3231 else
3232 result=$wxUSE_ALL_FEATURES
3233 fi
3234
3235 { echo "$as_me:$LINENO: result: $result" >&5
3236 echo "${ECHO_T}$result" >&6; }
3237
3238
3239
3240 if test "$wxUSE_GUI" = "yes"; then
3241
3242
3243 enablestring=
3244 defaultval=
3245 if test -z "$defaultval"; then
3246 if test x"$enablestring" = xdisable; then
3247 defaultval=yes
3248 else
3249 defaultval=no
3250 fi
3251 fi
3252
3253 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3254 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3255 # Check whether --enable-universal was given.
3256 if test "${enable_universal+set}" = set; then
3257 enableval=$enable_universal;
3258 if test "$enableval" = yes; then
3259 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3260 else
3261 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3262 fi
3263
3264 else
3265
3266 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3267
3268 fi
3269
3270
3271 eval "$wx_cv_use_universal"
3272
3273 if test x"$enablestring" = xdisable; then
3274 if test $wxUSE_UNIVERSAL = yes; then
3275 result=no
3276 else
3277 result=yes
3278 fi
3279 else
3280 result=$wxUSE_UNIVERSAL
3281 fi
3282
3283 { echo "$as_me:$LINENO: result: $result" >&5
3284 echo "${ECHO_T}$result" >&6; }
3285
3286 if test "$wxUSE_UNIVERSAL" = "yes"; then
3287
3288 # Check whether --with-themes was given.
3289 if test "${with_themes+set}" = set; then
3290 withval=$with_themes; wxUNIV_THEMES="$withval"
3291 fi
3292
3293 fi
3294
3295
3296 # Check whether --with-gtk was given.
3297 if test "${with_gtk+set}" = set; then
3298 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3299 fi
3300
3301
3302 # Check whether --with-motif was given.
3303 if test "${with_motif+set}" = set; then
3304 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3305 fi
3306
3307
3308 # Check whether --with-mac was given.
3309 if test "${with_mac+set}" = set; then
3310 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3311 fi
3312
3313
3314 # Check whether --with-cocoa was given.
3315 if test "${with_cocoa+set}" = set; then
3316 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3317 fi
3318
3319
3320 # Check whether --with-wine was given.
3321 if test "${with_wine+set}" = set; then
3322 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3323 fi
3324
3325
3326 # Check whether --with-msw was given.
3327 if test "${with_msw+set}" = set; then
3328 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3329 fi
3330
3331
3332 # Check whether --with-pm was given.
3333 if test "${with_pm+set}" = set; then
3334 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3335 fi
3336
3337
3338 # Check whether --with-mgl was given.
3339 if test "${with_mgl+set}" = set; then
3340 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3341 fi
3342
3343
3344 # Check whether --with-directfb was given.
3345 if test "${with_directfb+set}" = set; then
3346 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3347 fi
3348
3349
3350 # Check whether --with-microwin was given.
3351 if test "${with_microwin+set}" = set; then
3352 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3353 fi
3354
3355
3356 # Check whether --with-x11 was given.
3357 if test "${with_x11+set}" = set; then
3358 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3359 fi
3360
3361
3362 enablestring=
3363 defaultval=
3364 if test -z "$defaultval"; then
3365 if test x"$enablestring" = xdisable; then
3366 defaultval=yes
3367 else
3368 defaultval=no
3369 fi
3370 fi
3371
3372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3373 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3374 # Check whether --enable-nanox was given.
3375 if test "${enable_nanox+set}" = set; then
3376 enableval=$enable_nanox;
3377 if test "$enableval" = yes; then
3378 wx_cv_use_nanox='wxUSE_NANOX=yes'
3379 else
3380 wx_cv_use_nanox='wxUSE_NANOX=no'
3381 fi
3382
3383 else
3384
3385 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3386
3387 fi
3388
3389
3390 eval "$wx_cv_use_nanox"
3391
3392 if test x"$enablestring" = xdisable; then
3393 if test $wxUSE_NANOX = yes; then
3394 result=no
3395 else
3396 result=yes
3397 fi
3398 else
3399 result=$wxUSE_NANOX
3400 fi
3401
3402 { echo "$as_me:$LINENO: result: $result" >&5
3403 echo "${ECHO_T}$result" >&6; }
3404
3405
3406 # Check whether --enable-gtk2 was given.
3407 if test "${enable_gtk2+set}" = set; then
3408 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3409 fi
3410
3411
3412 enablestring=
3413 defaultval=
3414 if test -z "$defaultval"; then
3415 if test x"$enablestring" = xdisable; then
3416 defaultval=yes
3417 else
3418 defaultval=no
3419 fi
3420 fi
3421
3422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3423 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3424 # Check whether --enable-gpe was given.
3425 if test "${enable_gpe+set}" = set; then
3426 enableval=$enable_gpe;
3427 if test "$enableval" = yes; then
3428 wx_cv_use_gpe='wxUSE_GPE=yes'
3429 else
3430 wx_cv_use_gpe='wxUSE_GPE=no'
3431 fi
3432
3433 else
3434
3435 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3436
3437 fi
3438
3439
3440 eval "$wx_cv_use_gpe"
3441
3442 if test x"$enablestring" = xdisable; then
3443 if test $wxUSE_GPE = yes; then
3444 result=no
3445 else
3446 result=yes
3447 fi
3448 else
3449 result=$wxUSE_GPE
3450 fi
3451
3452 { echo "$as_me:$LINENO: result: $result" >&5
3453 echo "${ECHO_T}$result" >&6; }
3454
3455
3456
3457 { echo "$as_me:$LINENO: checking for toolkit" >&5
3458 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3459
3460 # In Wine, we need to default to MSW, not GTK or MOTIF
3461 if test "$wxUSE_WINE" = "yes"; then
3462 DEFAULT_DEFAULT_wxUSE_GTK=0
3463 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3464 DEFAULT_DEFAULT_wxUSE_MSW=1
3465 wxUSE_SHARED=no
3466 CC=${CC:-winegcc}
3467 CXX=${CXX:-wineg++}
3468 fi
3469
3470
3471 if test "$wxUSE_GUI" = "yes"; then
3472
3473 if test "$USE_BEOS" = 1; then
3474 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3475 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3476 { (exit 1); exit 1; }; }
3477 fi
3478
3479 if test "$TOOLKIT_GIVEN" = 1; then
3480 for toolkit in $ALL_TOOLKITS; do
3481 var=wxUSE_$toolkit
3482 eval "value=\$${var}"
3483 if test "x$value" = "xno"; then
3484 eval "$var=0"
3485 elif test "x$value" != "x"; then
3486 eval "$var=1"
3487 fi
3488
3489 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3490 eval "wx${toolkit}_VERSION=$value"
3491 fi
3492 done
3493 else
3494 for toolkit in $ALL_TOOLKITS; do
3495 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3496 eval "wxUSE_$toolkit=\$${var}"
3497 done
3498 fi
3499
3500 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3501 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3502 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3503
3504 case "${host}" in
3505 *-pc-os2_emx | *-pc-os2-emx )
3506 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3507 esac
3508
3509 case "$NUM_TOOLKITS" in
3510 1)
3511 ;;
3512 0)
3513 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3514 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3515 { (exit 1); exit 1; }; }
3516 ;;
3517 *)
3518 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3519 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3520 { (exit 1); exit 1; }; }
3521 esac
3522
3523 # to be removed when --disable-gtk2 isn't needed
3524 if test "x$wxUSE_GTK2" = "xyes"; then
3525 wxGTK_VERSION=2
3526 elif test "x$wxUSE_GTK2" = "xno"; then
3527 wxGTK_VERSION=1
3528 fi
3529
3530 for toolkit in $ALL_TOOLKITS; do
3531 var=wxUSE_$toolkit
3532 eval "value=\$${var}"
3533 if test "$value" = 1; then
3534 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3535 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3536 echo "${ECHO_T}$toolkit_echo" >&6; }
3537 fi
3538 done
3539 else
3540 if test "x$host_alias" != "x"; then
3541 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3542 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3543 else
3544 { echo "$as_me:$LINENO: result: base only" >&5
3545 echo "${ECHO_T}base only" >&6; }
3546 fi
3547 fi
3548
3549
3550
3551 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3552 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3553
3554 # Check whether --with-libpng was given.
3555 if test "${with_libpng+set}" = set; then
3556 withval=$with_libpng;
3557 if test "$withval" = yes; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3559 elif test "$withval" = no; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3561 elif test "$withval" = sys; then
3562 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3563 elif test "$withval" = builtin; then
3564 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3565 else
3566 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3567 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3568 { (exit 1); exit 1; }; }
3569 fi
3570
3571 else
3572
3573 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3574
3575 fi
3576
3577
3578 eval "$wx_cv_use_libpng"
3579
3580 if test "$wxUSE_LIBPNG" = yes; then
3581 { echo "$as_me:$LINENO: result: yes" >&5
3582 echo "${ECHO_T}yes" >&6; }
3583 elif test "$wxUSE_LIBPNG" = no; then
3584 { echo "$as_me:$LINENO: result: no" >&5
3585 echo "${ECHO_T}no" >&6; }
3586 elif test "$wxUSE_LIBPNG" = sys; then
3587 { echo "$as_me:$LINENO: result: system version" >&5
3588 echo "${ECHO_T}system version" >&6; }
3589 elif test "$wxUSE_LIBPNG" = builtin; then
3590 { echo "$as_me:$LINENO: result: builtin version" >&5
3591 echo "${ECHO_T}builtin version" >&6; }
3592 else
3593 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3594 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3595 { (exit 1); exit 1; }; }
3596 fi
3597
3598
3599 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3600 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3601
3602 # Check whether --with-libjpeg was given.
3603 if test "${with_libjpeg+set}" = set; then
3604 withval=$with_libjpeg;
3605 if test "$withval" = yes; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3607 elif test "$withval" = no; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3609 elif test "$withval" = sys; then
3610 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3611 elif test "$withval" = builtin; then
3612 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3613 else
3614 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3615 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3616 { (exit 1); exit 1; }; }
3617 fi
3618
3619 else
3620
3621 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3622
3623 fi
3624
3625
3626 eval "$wx_cv_use_libjpeg"
3627
3628 if test "$wxUSE_LIBJPEG" = yes; then
3629 { echo "$as_me:$LINENO: result: yes" >&5
3630 echo "${ECHO_T}yes" >&6; }
3631 elif test "$wxUSE_LIBJPEG" = no; then
3632 { echo "$as_me:$LINENO: result: no" >&5
3633 echo "${ECHO_T}no" >&6; }
3634 elif test "$wxUSE_LIBJPEG" = sys; then
3635 { echo "$as_me:$LINENO: result: system version" >&5
3636 echo "${ECHO_T}system version" >&6; }
3637 elif test "$wxUSE_LIBJPEG" = builtin; then
3638 { echo "$as_me:$LINENO: result: builtin version" >&5
3639 echo "${ECHO_T}builtin version" >&6; }
3640 else
3641 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3642 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3643 { (exit 1); exit 1; }; }
3644 fi
3645
3646
3647 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3648 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3649
3650 # Check whether --with-libtiff was given.
3651 if test "${with_libtiff+set}" = set; then
3652 withval=$with_libtiff;
3653 if test "$withval" = yes; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3655 elif test "$withval" = no; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3657 elif test "$withval" = sys; then
3658 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3659 elif test "$withval" = builtin; then
3660 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3661 else
3662 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3663 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3664 { (exit 1); exit 1; }; }
3665 fi
3666
3667 else
3668
3669 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3670
3671 fi
3672
3673
3674 eval "$wx_cv_use_libtiff"
3675
3676 if test "$wxUSE_LIBTIFF" = yes; then
3677 { echo "$as_me:$LINENO: result: yes" >&5
3678 echo "${ECHO_T}yes" >&6; }
3679 elif test "$wxUSE_LIBTIFF" = no; then
3680 { echo "$as_me:$LINENO: result: no" >&5
3681 echo "${ECHO_T}no" >&6; }
3682 elif test "$wxUSE_LIBTIFF" = sys; then
3683 { echo "$as_me:$LINENO: result: system version" >&5
3684 echo "${ECHO_T}system version" >&6; }
3685 elif test "$wxUSE_LIBTIFF" = builtin; then
3686 { echo "$as_me:$LINENO: result: builtin version" >&5
3687 echo "${ECHO_T}builtin version" >&6; }
3688 else
3689 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3690 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3691 { (exit 1); exit 1; }; }
3692 fi
3693
3694
3695 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3696 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3697
3698 # Check whether --with-libxpm was given.
3699 if test "${with_libxpm+set}" = set; then
3700 withval=$with_libxpm;
3701 if test "$withval" = yes; then
3702 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3703 elif test "$withval" = no; then
3704 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3705 elif test "$withval" = sys; then
3706 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3707 elif test "$withval" = builtin; then
3708 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3709 else
3710 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3711 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3712 { (exit 1); exit 1; }; }
3713 fi
3714
3715 else
3716
3717 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3718
3719 fi
3720
3721
3722 eval "$wx_cv_use_libxpm"
3723
3724 if test "$wxUSE_LIBXPM" = yes; then
3725 { echo "$as_me:$LINENO: result: yes" >&5
3726 echo "${ECHO_T}yes" >&6; }
3727 elif test "$wxUSE_LIBXPM" = no; then
3728 { echo "$as_me:$LINENO: result: no" >&5
3729 echo "${ECHO_T}no" >&6; }
3730 elif test "$wxUSE_LIBXPM" = sys; then
3731 { echo "$as_me:$LINENO: result: system version" >&5
3732 echo "${ECHO_T}system version" >&6; }
3733 elif test "$wxUSE_LIBXPM" = builtin; then
3734 { echo "$as_me:$LINENO: result: builtin version" >&5
3735 echo "${ECHO_T}builtin version" >&6; }
3736 else
3737 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3738 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3739 { (exit 1); exit 1; }; }
3740 fi
3741
3742
3743 withstring=
3744 defaultval=$wxUSE_ALL_FEATURES
3745 if test -z "$defaultval"; then
3746 if test x"$withstring" = xwithout; then
3747 defaultval=yes
3748 else
3749 defaultval=no
3750 fi
3751 fi
3752 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3753 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3754
3755 # Check whether --with-libiconv was given.
3756 if test "${with_libiconv+set}" = set; then
3757 withval=$with_libiconv;
3758 if test "$withval" = yes; then
3759 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3760 else
3761 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3762 fi
3763
3764 else
3765
3766 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3767
3768 fi
3769
3770
3771 eval "$wx_cv_use_libiconv"
3772
3773 if test x"$withstring" = xwithout; then
3774 if test $wxUSE_LIBICONV = yes; then
3775 result=no
3776 else
3777 result=yes
3778 fi
3779 else
3780 result=$wxUSE_LIBICONV
3781 fi
3782
3783 { echo "$as_me:$LINENO: result: $result" >&5
3784 echo "${ECHO_T}$result" >&6; }
3785
3786
3787 withstring=
3788 defaultval=$wxUSE_ALL_FEATURES
3789 if test -z "$defaultval"; then
3790 if test x"$withstring" = xwithout; then
3791 defaultval=yes
3792 else
3793 defaultval=no
3794 fi
3795 fi
3796 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3797 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3798
3799 # Check whether --with-libmspack was given.
3800 if test "${with_libmspack+set}" = set; then
3801 withval=$with_libmspack;
3802 if test "$withval" = yes; then
3803 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3804 else
3805 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3806 fi
3807
3808 else
3809
3810 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3811
3812 fi
3813
3814
3815 eval "$wx_cv_use_libmspack"
3816
3817 if test x"$withstring" = xwithout; then
3818 if test $wxUSE_LIBMSPACK = yes; then
3819 result=no
3820 else
3821 result=yes
3822 fi
3823 else
3824 result=$wxUSE_LIBMSPACK
3825 fi
3826
3827 { echo "$as_me:$LINENO: result: $result" >&5
3828 echo "${ECHO_T}$result" >&6; }
3829
3830
3831 withstring=without
3832 defaultval=$wxUSE_ALL_FEATURES
3833 if test -z "$defaultval"; then
3834 if test x"$withstring" = xwithout; then
3835 defaultval=yes
3836 else
3837 defaultval=no
3838 fi
3839 fi
3840 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3841 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3842
3843 # Check whether --with-gtkprint was given.
3844 if test "${with_gtkprint+set}" = set; then
3845 withval=$with_gtkprint;
3846 if test "$withval" = yes; then
3847 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3848 else
3849 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3850 fi
3851
3852 else
3853
3854 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3855
3856 fi
3857
3858
3859 eval "$wx_cv_use_gtkprint"
3860
3861 if test x"$withstring" = xwithout; then
3862 if test $wxUSE_GTKPRINT = yes; then
3863 result=no
3864 else
3865 result=yes
3866 fi
3867 else
3868 result=$wxUSE_GTKPRINT
3869 fi
3870
3871 { echo "$as_me:$LINENO: result: $result" >&5
3872 echo "${ECHO_T}$result" >&6; }
3873
3874
3875 withstring=without
3876 defaultval=$wxUSE_ALL_FEATURES
3877 if test -z "$defaultval"; then
3878 if test x"$withstring" = xwithout; then
3879 defaultval=yes
3880 else
3881 defaultval=no
3882 fi
3883 fi
3884 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3885 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3886
3887 # Check whether --with-gnomeprint was given.
3888 if test "${with_gnomeprint+set}" = set; then
3889 withval=$with_gnomeprint;
3890 if test "$withval" = yes; then
3891 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3892 else
3893 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3894 fi
3895
3896 else
3897
3898 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3899
3900 fi
3901
3902
3903 eval "$wx_cv_use_gnomeprint"
3904
3905 if test x"$withstring" = xwithout; then
3906 if test $wxUSE_LIBGNOMEPRINT = yes; then
3907 result=no
3908 else
3909 result=yes
3910 fi
3911 else
3912 result=$wxUSE_LIBGNOMEPRINT
3913 fi
3914
3915 { echo "$as_me:$LINENO: result: $result" >&5
3916 echo "${ECHO_T}$result" >&6; }
3917
3918
3919 withstring=
3920 defaultval=$wxUSE_ALL_FEATURES
3921 if test -z "$defaultval"; then
3922 if test x"$withstring" = xwithout; then
3923 defaultval=yes
3924 else
3925 defaultval=no
3926 fi
3927 fi
3928 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3929 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3930
3931 # Check whether --with-gnomevfs was given.
3932 if test "${with_gnomevfs+set}" = set; then
3933 withval=$with_gnomevfs;
3934 if test "$withval" = yes; then
3935 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3936 else
3937 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3938 fi
3939
3940 else
3941
3942 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3943
3944 fi
3945
3946
3947 eval "$wx_cv_use_gnomevfs"
3948
3949 if test x"$withstring" = xwithout; then
3950 if test $wxUSE_LIBGNOMEVFS = yes; then
3951 result=no
3952 else
3953 result=yes
3954 fi
3955 else
3956 result=$wxUSE_LIBGNOMEVFS
3957 fi
3958
3959 { echo "$as_me:$LINENO: result: $result" >&5
3960 echo "${ECHO_T}$result" >&6; }
3961
3962
3963 withstring=
3964 defaultval=$wxUSE_ALL_FEATURES
3965 if test -z "$defaultval"; then
3966 if test x"$withstring" = xwithout; then
3967 defaultval=yes
3968 else
3969 defaultval=no
3970 fi
3971 fi
3972 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3973 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3974
3975 # Check whether --with-hildon was given.
3976 if test "${with_hildon+set}" = set; then
3977 withval=$with_hildon;
3978 if test "$withval" = yes; then
3979 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3980 else
3981 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3982 fi
3983
3984 else
3985
3986 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3987
3988 fi
3989
3990
3991 eval "$wx_cv_use_hildon"
3992
3993 if test x"$withstring" = xwithout; then
3994 if test $wxUSE_LIBHILDON = yes; then
3995 result=no
3996 else
3997 result=yes
3998 fi
3999 else
4000 result=$wxUSE_LIBHILDON
4001 fi
4002
4003 { echo "$as_me:$LINENO: result: $result" >&5
4004 echo "${ECHO_T}$result" >&6; }
4005
4006
4007 withstring=
4008 defaultval=$wxUSE_ALL_FEATURES
4009 if test -z "$defaultval"; then
4010 if test x"$withstring" = xwithout; then
4011 defaultval=yes
4012 else
4013 defaultval=no
4014 fi
4015 fi
4016 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4017 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4018
4019 # Check whether --with-opengl was given.
4020 if test "${with_opengl+set}" = set; then
4021 withval=$with_opengl;
4022 if test "$withval" = yes; then
4023 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4024 else
4025 wx_cv_use_opengl='wxUSE_OPENGL=no'
4026 fi
4027
4028 else
4029
4030 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4031
4032 fi
4033
4034
4035 eval "$wx_cv_use_opengl"
4036
4037 if test x"$withstring" = xwithout; then
4038 if test $wxUSE_OPENGL = yes; then
4039 result=no
4040 else
4041 result=yes
4042 fi
4043 else
4044 result=$wxUSE_OPENGL
4045 fi
4046
4047 { echo "$as_me:$LINENO: result: $result" >&5
4048 echo "${ECHO_T}$result" >&6; }
4049
4050
4051 fi
4052
4053
4054 withstring=
4055 defaultval=$wxUSE_ALL_FEATURES
4056 if test -z "$defaultval"; then
4057 if test x"$withstring" = xwithout; then
4058 defaultval=yes
4059 else
4060 defaultval=no
4061 fi
4062 fi
4063 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4064 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4065
4066 # Check whether --with-dmalloc was given.
4067 if test "${with_dmalloc+set}" = set; then
4068 withval=$with_dmalloc;
4069 if test "$withval" = yes; then
4070 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4071 else
4072 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4073 fi
4074
4075 else
4076
4077 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4078
4079 fi
4080
4081
4082 eval "$wx_cv_use_dmalloc"
4083
4084 if test x"$withstring" = xwithout; then
4085 if test $wxUSE_DMALLOC = yes; then
4086 result=no
4087 else
4088 result=yes
4089 fi
4090 else
4091 result=$wxUSE_DMALLOC
4092 fi
4093
4094 { echo "$as_me:$LINENO: result: $result" >&5
4095 echo "${ECHO_T}$result" >&6; }
4096
4097
4098 withstring=
4099 defaultval=$wxUSE_ALL_FEATURES
4100 if test -z "$defaultval"; then
4101 if test x"$withstring" = xwithout; then
4102 defaultval=yes
4103 else
4104 defaultval=no
4105 fi
4106 fi
4107 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4108 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4109
4110 # Check whether --with-sdl was given.
4111 if test "${with_sdl+set}" = set; then
4112 withval=$with_sdl;
4113 if test "$withval" = yes; then
4114 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4115 else
4116 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4117 fi
4118
4119 else
4120
4121 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4122
4123 fi
4124
4125
4126 eval "$wx_cv_use_sdl"
4127
4128 if test x"$withstring" = xwithout; then
4129 if test $wxUSE_LIBSDL = yes; then
4130 result=no
4131 else
4132 result=yes
4133 fi
4134 else
4135 result=$wxUSE_LIBSDL
4136 fi
4137
4138 { echo "$as_me:$LINENO: result: $result" >&5
4139 echo "${ECHO_T}$result" >&6; }
4140
4141
4142 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4143 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4144
4145 # Check whether --with-regex was given.
4146 if test "${with_regex+set}" = set; then
4147 withval=$with_regex;
4148 if test "$withval" = yes; then
4149 wx_cv_use_regex='wxUSE_REGEX=yes'
4150 elif test "$withval" = no; then
4151 wx_cv_use_regex='wxUSE_REGEX=no'
4152 elif test "$withval" = sys; then
4153 wx_cv_use_regex='wxUSE_REGEX=sys'
4154 elif test "$withval" = builtin; then
4155 wx_cv_use_regex='wxUSE_REGEX=builtin'
4156 else
4157 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4158 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4159 { (exit 1); exit 1; }; }
4160 fi
4161
4162 else
4163
4164 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4165
4166 fi
4167
4168
4169 eval "$wx_cv_use_regex"
4170
4171 if test "$wxUSE_REGEX" = yes; then
4172 { echo "$as_me:$LINENO: result: yes" >&5
4173 echo "${ECHO_T}yes" >&6; }
4174 elif test "$wxUSE_REGEX" = no; then
4175 { echo "$as_me:$LINENO: result: no" >&5
4176 echo "${ECHO_T}no" >&6; }
4177 elif test "$wxUSE_REGEX" = sys; then
4178 { echo "$as_me:$LINENO: result: system version" >&5
4179 echo "${ECHO_T}system version" >&6; }
4180 elif test "$wxUSE_REGEX" = builtin; then
4181 { echo "$as_me:$LINENO: result: builtin version" >&5
4182 echo "${ECHO_T}builtin version" >&6; }
4183 else
4184 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4185 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4186 { (exit 1); exit 1; }; }
4187 fi
4188
4189
4190 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4191 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4192
4193 # Check whether --with-zlib was given.
4194 if test "${with_zlib+set}" = set; then
4195 withval=$with_zlib;
4196 if test "$withval" = yes; then
4197 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4198 elif test "$withval" = no; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=no'
4200 elif test "$withval" = sys; then
4201 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4202 elif test "$withval" = builtin; then
4203 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4204 else
4205 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4206 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4207 { (exit 1); exit 1; }; }
4208 fi
4209
4210 else
4211
4212 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4213
4214 fi
4215
4216
4217 eval "$wx_cv_use_zlib"
4218
4219 if test "$wxUSE_ZLIB" = yes; then
4220 { echo "$as_me:$LINENO: result: yes" >&5
4221 echo "${ECHO_T}yes" >&6; }
4222 elif test "$wxUSE_ZLIB" = no; then
4223 { echo "$as_me:$LINENO: result: no" >&5
4224 echo "${ECHO_T}no" >&6; }
4225 elif test "$wxUSE_ZLIB" = sys; then
4226 { echo "$as_me:$LINENO: result: system version" >&5
4227 echo "${ECHO_T}system version" >&6; }
4228 elif test "$wxUSE_ZLIB" = builtin; then
4229 { echo "$as_me:$LINENO: result: builtin version" >&5
4230 echo "${ECHO_T}builtin version" >&6; }
4231 else
4232 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4233 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4234 { (exit 1); exit 1; }; }
4235 fi
4236
4237
4238 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4239 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4240
4241 # Check whether --with-expat was given.
4242 if test "${with_expat+set}" = set; then
4243 withval=$with_expat;
4244 if test "$withval" = yes; then
4245 wx_cv_use_expat='wxUSE_EXPAT=yes'
4246 elif test "$withval" = no; then
4247 wx_cv_use_expat='wxUSE_EXPAT=no'
4248 elif test "$withval" = sys; then
4249 wx_cv_use_expat='wxUSE_EXPAT=sys'
4250 elif test "$withval" = builtin; then
4251 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4252 else
4253 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4254 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4255 { (exit 1); exit 1; }; }
4256 fi
4257
4258 else
4259
4260 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4261
4262 fi
4263
4264
4265 eval "$wx_cv_use_expat"
4266
4267 if test "$wxUSE_EXPAT" = yes; then
4268 { echo "$as_me:$LINENO: result: yes" >&5
4269 echo "${ECHO_T}yes" >&6; }
4270 elif test "$wxUSE_EXPAT" = no; then
4271 { echo "$as_me:$LINENO: result: no" >&5
4272 echo "${ECHO_T}no" >&6; }
4273 elif test "$wxUSE_EXPAT" = sys; then
4274 { echo "$as_me:$LINENO: result: system version" >&5
4275 echo "${ECHO_T}system version" >&6; }
4276 elif test "$wxUSE_EXPAT" = builtin; then
4277 { echo "$as_me:$LINENO: result: builtin version" >&5
4278 echo "${ECHO_T}builtin version" >&6; }
4279 else
4280 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4281 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4282 { (exit 1); exit 1; }; }
4283 fi
4284
4285
4286 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4287 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4288
4289 # Check whether --with-macosx-sdk was given.
4290 if test "${with_macosx_sdk+set}" = set; then
4291 withval=$with_macosx_sdk;
4292 wxUSE_MACOSX_SDK=$withval
4293 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4294
4295 fi
4296
4297 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4298 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4299
4300 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4301 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4302
4303 # Check whether --with-macosx-version-min was given.
4304 if test "${with_macosx_version_min+set}" = set; then
4305 withval=$with_macosx_version_min;
4306 wxUSE_MACOSX_VERSION_MIN=$withval
4307 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4308
4309 fi
4310
4311 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4312 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4313
4314
4315
4316 enablestring=disable
4317 defaultval=
4318 if test -z "$defaultval"; then
4319 if test x"$enablestring" = xdisable; then
4320 defaultval=yes
4321 else
4322 defaultval=no
4323 fi
4324 fi
4325
4326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4327 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4328 # Check whether --enable-shared was given.
4329 if test "${enable_shared+set}" = set; then
4330 enableval=$enable_shared;
4331 if test "$enableval" = yes; then
4332 wx_cv_use_shared='wxUSE_SHARED=yes'
4333 else
4334 wx_cv_use_shared='wxUSE_SHARED=no'
4335 fi
4336
4337 else
4338
4339 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4340
4341 fi
4342
4343
4344 eval "$wx_cv_use_shared"
4345
4346 if test x"$enablestring" = xdisable; then
4347 if test $wxUSE_SHARED = yes; then
4348 result=no
4349 else
4350 result=yes
4351 fi
4352 else
4353 result=$wxUSE_SHARED
4354 fi
4355
4356 { echo "$as_me:$LINENO: result: $result" >&5
4357 echo "${ECHO_T}$result" >&6; }
4358
4359
4360 enablestring=
4361 defaultval=
4362 if test -z "$defaultval"; then
4363 if test x"$enablestring" = xdisable; then
4364 defaultval=yes
4365 else
4366 defaultval=no
4367 fi
4368 fi
4369
4370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4371 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4372 # Check whether --enable-debug was given.
4373 if test "${enable_debug+set}" = set; then
4374 enableval=$enable_debug;
4375 if test "$enableval" = yes; then
4376 wx_cv_use_debug='wxUSE_DEBUG=yes'
4377 else
4378 wx_cv_use_debug='wxUSE_DEBUG=no'
4379 fi
4380
4381 else
4382
4383 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4384
4385 fi
4386
4387
4388 eval "$wx_cv_use_debug"
4389
4390 if test x"$enablestring" = xdisable; then
4391 if test $wxUSE_DEBUG = yes; then
4392 result=no
4393 else
4394 result=yes
4395 fi
4396 else
4397 result=$wxUSE_DEBUG
4398 fi
4399
4400 { echo "$as_me:$LINENO: result: $result" >&5
4401 echo "${ECHO_T}$result" >&6; }
4402
4403
4404 enablestring=
4405 defaultval=
4406 if test -z "$defaultval"; then
4407 if test x"$enablestring" = xdisable; then
4408 defaultval=yes
4409 else
4410 defaultval=no
4411 fi
4412 fi
4413
4414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4415 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4416 # Check whether --enable-stl was given.
4417 if test "${enable_stl+set}" = set; then
4418 enableval=$enable_stl;
4419 if test "$enableval" = yes; then
4420 wx_cv_use_stl='wxUSE_STL=yes'
4421 else
4422 wx_cv_use_stl='wxUSE_STL=no'
4423 fi
4424
4425 else
4426
4427 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4428
4429 fi
4430
4431
4432 eval "$wx_cv_use_stl"
4433
4434 if test x"$enablestring" = xdisable; then
4435 if test $wxUSE_STL = yes; then
4436 result=no
4437 else
4438 result=yes
4439 fi
4440 else
4441 result=$wxUSE_STL
4442 fi
4443
4444 { echo "$as_me:$LINENO: result: $result" >&5
4445 echo "${ECHO_T}$result" >&6; }
4446
4447
4448 enablestring=
4449 defaultval=
4450 if test -z "$defaultval"; then
4451 if test x"$enablestring" = xdisable; then
4452 defaultval=yes
4453 else
4454 defaultval=no
4455 fi
4456 fi
4457
4458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4459 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4460 # Check whether --enable-std_iostreams was given.
4461 if test "${enable_std_iostreams+set}" = set; then
4462 enableval=$enable_std_iostreams;
4463 if test "$enableval" = yes; then
4464 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4465 else
4466 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4467 fi
4468
4469 else
4470
4471 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4472
4473 fi
4474
4475
4476 eval "$wx_cv_use_std_iostreams"
4477
4478 if test x"$enablestring" = xdisable; then
4479 if test $wxUSE_STD_IOSTREAM = yes; then
4480 result=no
4481 else
4482 result=yes
4483 fi
4484 else
4485 result=$wxUSE_STD_IOSTREAM
4486 fi
4487
4488 { echo "$as_me:$LINENO: result: $result" >&5
4489 echo "${ECHO_T}$result" >&6; }
4490
4491
4492 enablestring=
4493 defaultval=
4494 if test -z "$defaultval"; then
4495 if test x"$enablestring" = xdisable; then
4496 defaultval=yes
4497 else
4498 defaultval=no
4499 fi
4500 fi
4501
4502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4503 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4504 # Check whether --enable-std_string was given.
4505 if test "${enable_std_string+set}" = set; then
4506 enableval=$enable_std_string;
4507 if test "$enableval" = yes; then
4508 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4509 else
4510 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4511 fi
4512
4513 else
4514
4515 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4516
4517 fi
4518
4519
4520 eval "$wx_cv_use_std_string"
4521
4522 if test x"$enablestring" = xdisable; then
4523 if test $wxUSE_STD_STRING = yes; then
4524 result=no
4525 else
4526 result=yes
4527 fi
4528 else
4529 result=$wxUSE_STD_STRING
4530 fi
4531
4532 { echo "$as_me:$LINENO: result: $result" >&5
4533 echo "${ECHO_T}$result" >&6; }
4534
4535
4536 enablestring=disable
4537 defaultval=
4538 if test -z "$defaultval"; then
4539 if test x"$enablestring" = xdisable; then
4540 defaultval=yes
4541 else
4542 defaultval=no
4543 fi
4544 fi
4545
4546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4547 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4548 # Check whether --enable-unicode was given.
4549 if test "${enable_unicode+set}" = set; then
4550 enableval=$enable_unicode;
4551 if test "$enableval" = yes; then
4552 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4553 else
4554 wx_cv_use_unicode='wxUSE_UNICODE=no'
4555 fi
4556
4557 else
4558
4559 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4560
4561 fi
4562
4563
4564 eval "$wx_cv_use_unicode"
4565
4566 if test x"$enablestring" = xdisable; then
4567 if test $wxUSE_UNICODE = yes; then
4568 result=no
4569 else
4570 result=yes
4571 fi
4572 else
4573 result=$wxUSE_UNICODE
4574 fi
4575
4576 { echo "$as_me:$LINENO: result: $result" >&5
4577 echo "${ECHO_T}$result" >&6; }
4578
4579
4580 enablestring=
4581 defaultval=
4582 if test -z "$defaultval"; then
4583 if test x"$enablestring" = xdisable; then
4584 defaultval=yes
4585 else
4586 defaultval=no
4587 fi
4588 fi
4589
4590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4591 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4592 # Check whether --enable-mslu was given.
4593 if test "${enable_mslu+set}" = set; then
4594 enableval=$enable_mslu;
4595 if test "$enableval" = yes; then
4596 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4597 else
4598 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4599 fi
4600
4601 else
4602
4603 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4604
4605 fi
4606
4607
4608 eval "$wx_cv_use_mslu"
4609
4610 if test x"$enablestring" = xdisable; then
4611 if test $wxUSE_UNICODE_MSLU = yes; then
4612 result=no
4613 else
4614 result=yes
4615 fi
4616 else
4617 result=$wxUSE_UNICODE_MSLU
4618 fi
4619
4620 { echo "$as_me:$LINENO: result: $result" >&5
4621 echo "${ECHO_T}$result" >&6; }
4622
4623
4624 enablestring=
4625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4626 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4627 # Check whether --enable-utf8 was given.
4628 if test "${enable_utf8+set}" = set; then
4629 enableval=$enable_utf8;
4630 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4631
4632 else
4633
4634 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4635
4636 fi
4637
4638
4639 eval "$wx_cv_use_utf8"
4640
4641 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4642 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4643
4644
4645 enablestring=
4646 defaultval=
4647 if test -z "$defaultval"; then
4648 if test x"$enablestring" = xdisable; then
4649 defaultval=yes
4650 else
4651 defaultval=no
4652 fi
4653 fi
4654
4655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4656 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4657 # Check whether --enable-utf8only was given.
4658 if test "${enable_utf8only+set}" = set; then
4659 enableval=$enable_utf8only;
4660 if test "$enableval" = yes; then
4661 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4662 else
4663 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4664 fi
4665
4666 else
4667
4668 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4669
4670 fi
4671
4672
4673 eval "$wx_cv_use_utf8only"
4674
4675 if test x"$enablestring" = xdisable; then
4676 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4677 result=no
4678 else
4679 result=yes
4680 fi
4681 else
4682 result=$wxUSE_UNICODE_UTF8_LOCALE
4683 fi
4684
4685 { echo "$as_me:$LINENO: result: $result" >&5
4686 echo "${ECHO_T}$result" >&6; }
4687
4688
4689 enablestring=
4690 defaultval=
4691 if test -z "$defaultval"; then
4692 if test x"$enablestring" = xdisable; then
4693 defaultval=yes
4694 else
4695 defaultval=no
4696 fi
4697 fi
4698
4699 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4700 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4701 # Check whether --enable-extended_rtti was given.
4702 if test "${enable_extended_rtti+set}" = set; then
4703 enableval=$enable_extended_rtti;
4704 if test "$enableval" = yes; then
4705 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4706 else
4707 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4708 fi
4709
4710 else
4711
4712 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4713
4714 fi
4715
4716
4717 eval "$wx_cv_use_extended_rtti"
4718
4719 if test x"$enablestring" = xdisable; then
4720 if test $wxUSE_EXTENDED_RTTI = yes; then
4721 result=no
4722 else
4723 result=yes
4724 fi
4725 else
4726 result=$wxUSE_EXTENDED_RTTI
4727 fi
4728
4729 { echo "$as_me:$LINENO: result: $result" >&5
4730 echo "${ECHO_T}$result" >&6; }
4731
4732 if test "$USE_OS2" = 1; then
4733 DEFAULT_wxUSE_OMF=no
4734
4735 enablestring=
4736 defaultval=
4737 if test -z "$defaultval"; then
4738 if test x"$enablestring" = xdisable; then
4739 defaultval=yes
4740 else
4741 defaultval=no
4742 fi
4743 fi
4744
4745 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4746 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4747 # Check whether --enable-omf was given.
4748 if test "${enable_omf+set}" = set; then
4749 enableval=$enable_omf;
4750 if test "$enableval" = yes; then
4751 wx_cv_use_omf='wxUSE_OMF=yes'
4752 else
4753 wx_cv_use_omf='wxUSE_OMF=no'
4754 fi
4755
4756 else
4757
4758 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4759
4760 fi
4761
4762
4763 eval "$wx_cv_use_omf"
4764
4765 if test x"$enablestring" = xdisable; then
4766 if test $wxUSE_OMF = yes; then
4767 result=no
4768 else
4769 result=yes
4770 fi
4771 else
4772 result=$wxUSE_OMF
4773 fi
4774
4775 { echo "$as_me:$LINENO: result: $result" >&5
4776 echo "${ECHO_T}$result" >&6; }
4777
4778 fi
4779
4780 if test "$wxUSE_DEBUG" = "yes"; then
4781 DEFAULT_wxUSE_DEBUG_FLAG=yes
4782 DEFAULT_wxUSE_DEBUG_INFO=yes
4783 BUILD=debug
4784 elif test "$wxUSE_DEBUG" = "no"; then
4785 DEFAULT_wxUSE_DEBUG_FLAG=no
4786 DEFAULT_wxUSE_DEBUG_INFO=no
4787 BUILD=release
4788 fi
4789
4790
4791 enablestring=
4792 defaultval=
4793 if test -z "$defaultval"; then
4794 if test x"$enablestring" = xdisable; then
4795 defaultval=yes
4796 else
4797 defaultval=no
4798 fi
4799 fi
4800
4801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4802 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4803 # Check whether --enable-debug_flag was given.
4804 if test "${enable_debug_flag+set}" = set; then
4805 enableval=$enable_debug_flag;
4806 if test "$enableval" = yes; then
4807 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4808 else
4809 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4810 fi
4811
4812 else
4813
4814 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4815
4816 fi
4817
4818
4819 eval "$wx_cv_use_debug_flag"
4820
4821 if test x"$enablestring" = xdisable; then
4822 if test $wxUSE_DEBUG_FLAG = yes; then
4823 result=no
4824 else
4825 result=yes
4826 fi
4827 else
4828 result=$wxUSE_DEBUG_FLAG
4829 fi
4830
4831 { echo "$as_me:$LINENO: result: $result" >&5
4832 echo "${ECHO_T}$result" >&6; }
4833
4834
4835 enablestring=
4836 defaultval=
4837 if test -z "$defaultval"; then
4838 if test x"$enablestring" = xdisable; then
4839 defaultval=yes
4840 else
4841 defaultval=no
4842 fi
4843 fi
4844
4845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4846 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4847 # Check whether --enable-debug_info was given.
4848 if test "${enable_debug_info+set}" = set; then
4849 enableval=$enable_debug_info;
4850 if test "$enableval" = yes; then
4851 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4852 else
4853 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4854 fi
4855
4856 else
4857
4858 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4859
4860 fi
4861
4862
4863 eval "$wx_cv_use_debug_info"
4864
4865 if test x"$enablestring" = xdisable; then
4866 if test $wxUSE_DEBUG_INFO = yes; then
4867 result=no
4868 else
4869 result=yes
4870 fi
4871 else
4872 result=$wxUSE_DEBUG_INFO
4873 fi
4874
4875 { echo "$as_me:$LINENO: result: $result" >&5
4876 echo "${ECHO_T}$result" >&6; }
4877
4878
4879 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4880 wxUSE_DEBUG=yes
4881 BUILD=debug
4882 fi
4883
4884 if test "$wxUSE_DEBUG" = "yes"; then
4885 DEFAULT_wxUSE_OPTIMISE=no
4886 fi
4887
4888
4889 enablestring=disable
4890 defaultval=
4891 if test -z "$defaultval"; then
4892 if test x"$enablestring" = xdisable; then
4893 defaultval=yes
4894 else
4895 defaultval=no
4896 fi
4897 fi
4898
4899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4901 # Check whether --enable-optimise was given.
4902 if test "${enable_optimise+set}" = set; then
4903 enableval=$enable_optimise;
4904 if test "$enableval" = yes; then
4905 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4906 else
4907 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4908 fi
4909
4910 else
4911
4912 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4913
4914 fi
4915
4916
4917 eval "$wx_cv_use_optimise"
4918
4919 if test x"$enablestring" = xdisable; then
4920 if test $wxUSE_OPTIMISE = yes; then
4921 result=no
4922 else
4923 result=yes
4924 fi
4925 else
4926 result=$wxUSE_OPTIMISE
4927 fi
4928
4929 { echo "$as_me:$LINENO: result: $result" >&5
4930 echo "${ECHO_T}$result" >&6; }
4931
4932
4933
4934 enablestring=
4935 defaultval=
4936 if test -z "$defaultval"; then
4937 if test x"$enablestring" = xdisable; then
4938 defaultval=yes
4939 else
4940 defaultval=no
4941 fi
4942 fi
4943
4944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4945 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4946 # Check whether --enable-debug_gdb was given.
4947 if test "${enable_debug_gdb+set}" = set; then
4948 enableval=$enable_debug_gdb;
4949 if test "$enableval" = yes; then
4950 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4951 else
4952 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4953 fi
4954
4955 else
4956
4957 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4958
4959 fi
4960
4961
4962 eval "$wx_cv_use_debug_gdb"
4963
4964 if test x"$enablestring" = xdisable; then
4965 if test $wxUSE_DEBUG_GDB = yes; then
4966 result=no
4967 else
4968 result=yes
4969 fi
4970 else
4971 result=$wxUSE_DEBUG_GDB
4972 fi
4973
4974 { echo "$as_me:$LINENO: result: $result" >&5
4975 echo "${ECHO_T}$result" >&6; }
4976
4977
4978 enablestring=
4979 defaultval=
4980 if test -z "$defaultval"; then
4981 if test x"$enablestring" = xdisable; then
4982 defaultval=yes
4983 else
4984 defaultval=no
4985 fi
4986 fi
4987
4988 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4989 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4990 # Check whether --enable-debug_cntxt was given.
4991 if test "${enable_debug_cntxt+set}" = set; then
4992 enableval=$enable_debug_cntxt;
4993 if test "$enableval" = yes; then
4994 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4995 else
4996 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4997 fi
4998
4999 else
5000
5001 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
5002
5003 fi
5004
5005
5006 eval "$wx_cv_use_debug_cntxt"
5007
5008 if test x"$enablestring" = xdisable; then
5009 if test $wxUSE_DEBUG_CONTEXT = yes; then
5010 result=no
5011 else
5012 result=yes
5013 fi
5014 else
5015 result=$wxUSE_DEBUG_CONTEXT
5016 fi
5017
5018 { echo "$as_me:$LINENO: result: $result" >&5
5019 echo "${ECHO_T}$result" >&6; }
5020
5021
5022 enablestring=
5023 defaultval=
5024 if test -z "$defaultval"; then
5025 if test x"$enablestring" = xdisable; then
5026 defaultval=yes
5027 else
5028 defaultval=no
5029 fi
5030 fi
5031
5032 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5033 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5034 # Check whether --enable-mem_tracing was given.
5035 if test "${enable_mem_tracing+set}" = set; then
5036 enableval=$enable_mem_tracing;
5037 if test "$enableval" = yes; then
5038 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5039 else
5040 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5041 fi
5042
5043 else
5044
5045 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5046
5047 fi
5048
5049
5050 eval "$wx_cv_use_mem_tracing"
5051
5052 if test x"$enablestring" = xdisable; then
5053 if test $wxUSE_MEM_TRACING = yes; then
5054 result=no
5055 else
5056 result=yes
5057 fi
5058 else
5059 result=$wxUSE_MEM_TRACING
5060 fi
5061
5062 { echo "$as_me:$LINENO: result: $result" >&5
5063 echo "${ECHO_T}$result" >&6; }
5064
5065
5066 enablestring=
5067 defaultval=
5068 if test -z "$defaultval"; then
5069 if test x"$enablestring" = xdisable; then
5070 defaultval=yes
5071 else
5072 defaultval=no
5073 fi
5074 fi
5075
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5078 # Check whether --enable-profile was given.
5079 if test "${enable_profile+set}" = set; then
5080 enableval=$enable_profile;
5081 if test "$enableval" = yes; then
5082 wx_cv_use_profile='wxUSE_PROFILE=yes'
5083 else
5084 wx_cv_use_profile='wxUSE_PROFILE=no'
5085 fi
5086
5087 else
5088
5089 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5090
5091 fi
5092
5093
5094 eval "$wx_cv_use_profile"
5095
5096 if test x"$enablestring" = xdisable; then
5097 if test $wxUSE_PROFILE = yes; then
5098 result=no
5099 else
5100 result=yes
5101 fi
5102 else
5103 result=$wxUSE_PROFILE
5104 fi
5105
5106 { echo "$as_me:$LINENO: result: $result" >&5
5107 echo "${ECHO_T}$result" >&6; }
5108
5109
5110 enablestring=
5111 defaultval=
5112 if test -z "$defaultval"; then
5113 if test x"$enablestring" = xdisable; then
5114 defaultval=yes
5115 else
5116 defaultval=no
5117 fi
5118 fi
5119
5120 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5121 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5122 # Check whether --enable-no_rtti was given.
5123 if test "${enable_no_rtti+set}" = set; then
5124 enableval=$enable_no_rtti;
5125 if test "$enableval" = yes; then
5126 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5127 else
5128 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5129 fi
5130
5131 else
5132
5133 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5134
5135 fi
5136
5137
5138 eval "$wx_cv_use_no_rtti"
5139
5140 if test x"$enablestring" = xdisable; then
5141 if test $wxUSE_NO_RTTI = yes; then
5142 result=no
5143 else
5144 result=yes
5145 fi
5146 else
5147 result=$wxUSE_NO_RTTI
5148 fi
5149
5150 { echo "$as_me:$LINENO: result: $result" >&5
5151 echo "${ECHO_T}$result" >&6; }
5152
5153
5154 enablestring=
5155 defaultval=
5156 if test -z "$defaultval"; then
5157 if test x"$enablestring" = xdisable; then
5158 defaultval=yes
5159 else
5160 defaultval=no
5161 fi
5162 fi
5163
5164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5165 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5166 # Check whether --enable-no_exceptions was given.
5167 if test "${enable_no_exceptions+set}" = set; then
5168 enableval=$enable_no_exceptions;
5169 if test "$enableval" = yes; then
5170 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5171 else
5172 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5173 fi
5174
5175 else
5176
5177 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5178
5179 fi
5180
5181
5182 eval "$wx_cv_use_no_exceptions"
5183
5184 if test x"$enablestring" = xdisable; then
5185 if test $wxUSE_NO_EXCEPTIONS = yes; then
5186 result=no
5187 else
5188 result=yes
5189 fi
5190 else
5191 result=$wxUSE_NO_EXCEPTIONS
5192 fi
5193
5194 { echo "$as_me:$LINENO: result: $result" >&5
5195 echo "${ECHO_T}$result" >&6; }
5196
5197
5198 enablestring=
5199 defaultval=
5200 if test -z "$defaultval"; then
5201 if test x"$enablestring" = xdisable; then
5202 defaultval=yes
5203 else
5204 defaultval=no
5205 fi
5206 fi
5207
5208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5209 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5210 # Check whether --enable-permissive was given.
5211 if test "${enable_permissive+set}" = set; then
5212 enableval=$enable_permissive;
5213 if test "$enableval" = yes; then
5214 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5215 else
5216 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5217 fi
5218
5219 else
5220
5221 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5222
5223 fi
5224
5225
5226 eval "$wx_cv_use_permissive"
5227
5228 if test x"$enablestring" = xdisable; then
5229 if test $wxUSE_PERMISSIVE = yes; then
5230 result=no
5231 else
5232 result=yes
5233 fi
5234 else
5235 result=$wxUSE_PERMISSIVE
5236 fi
5237
5238 { echo "$as_me:$LINENO: result: $result" >&5
5239 echo "${ECHO_T}$result" >&6; }
5240
5241
5242 enablestring=
5243 defaultval=
5244 if test -z "$defaultval"; then
5245 if test x"$enablestring" = xdisable; then
5246 defaultval=yes
5247 else
5248 defaultval=no
5249 fi
5250 fi
5251
5252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5253 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5254 # Check whether --enable-no_deps was given.
5255 if test "${enable_no_deps+set}" = set; then
5256 enableval=$enable_no_deps;
5257 if test "$enableval" = yes; then
5258 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5259 else
5260 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5261 fi
5262
5263 else
5264
5265 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5266
5267 fi
5268
5269
5270 eval "$wx_cv_use_no_deps"
5271
5272 if test x"$enablestring" = xdisable; then
5273 if test $wxUSE_NO_DEPS = yes; then
5274 result=no
5275 else
5276 result=yes
5277 fi
5278 else
5279 result=$wxUSE_NO_DEPS
5280 fi
5281
5282 { echo "$as_me:$LINENO: result: $result" >&5
5283 echo "${ECHO_T}$result" >&6; }
5284
5285
5286 enablestring=disable
5287 defaultval=
5288 if test -z "$defaultval"; then
5289 if test x"$enablestring" = xdisable; then
5290 defaultval=yes
5291 else
5292 defaultval=no
5293 fi
5294 fi
5295
5296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5297 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5298 # Check whether --enable-vararg_macros was given.
5299 if test "${enable_vararg_macros+set}" = set; then
5300 enableval=$enable_vararg_macros;
5301 if test "$enableval" = yes; then
5302 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5303 else
5304 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5305 fi
5306
5307 else
5308
5309 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5310
5311 fi
5312
5313
5314 eval "$wx_cv_use_vararg_macros"
5315
5316 if test x"$enablestring" = xdisable; then
5317 if test $wxUSE_VARARG_MACROS = yes; then
5318 result=no
5319 else
5320 result=yes
5321 fi
5322 else
5323 result=$wxUSE_VARARG_MACROS
5324 fi
5325
5326 { echo "$as_me:$LINENO: result: $result" >&5
5327 echo "${ECHO_T}$result" >&6; }
5328
5329
5330 enablestring=
5331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5332 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5333 # Check whether --enable-universal_binary was given.
5334 if test "${enable_universal_binary+set}" = set; then
5335 enableval=$enable_universal_binary;
5336 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5337
5338 else
5339
5340 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5341
5342 fi
5343
5344
5345 eval "$wx_cv_use_universal_binary"
5346
5347 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5348 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5349
5350
5351
5352 enablestring=
5353 defaultval=
5354 if test -z "$defaultval"; then
5355 if test x"$enablestring" = xdisable; then
5356 defaultval=yes
5357 else
5358 defaultval=no
5359 fi
5360 fi
5361
5362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5363 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5364 # Check whether --enable-compat26 was given.
5365 if test "${enable_compat26+set}" = set; then
5366 enableval=$enable_compat26;
5367 if test "$enableval" = yes; then
5368 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5369 else
5370 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5371 fi
5372
5373 else
5374
5375 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5376
5377 fi
5378
5379
5380 eval "$wx_cv_use_compat26"
5381
5382 if test x"$enablestring" = xdisable; then
5383 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5384 result=no
5385 else
5386 result=yes
5387 fi
5388 else
5389 result=$WXWIN_COMPATIBILITY_2_6
5390 fi
5391
5392 { echo "$as_me:$LINENO: result: $result" >&5
5393 echo "${ECHO_T}$result" >&6; }
5394
5395
5396 enablestring=disable
5397 defaultval=
5398 if test -z "$defaultval"; then
5399 if test x"$enablestring" = xdisable; then
5400 defaultval=yes
5401 else
5402 defaultval=no
5403 fi
5404 fi
5405
5406 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5407 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5408 # Check whether --enable-compat28 was given.
5409 if test "${enable_compat28+set}" = set; then
5410 enableval=$enable_compat28;
5411 if test "$enableval" = yes; then
5412 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5413 else
5414 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5415 fi
5416
5417 else
5418
5419 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5420
5421 fi
5422
5423
5424 eval "$wx_cv_use_compat28"
5425
5426 if test x"$enablestring" = xdisable; then
5427 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5428 result=no
5429 else
5430 result=yes
5431 fi
5432 else
5433 result=$WXWIN_COMPATIBILITY_2_8
5434 fi
5435
5436 { echo "$as_me:$LINENO: result: $result" >&5
5437 echo "${ECHO_T}$result" >&6; }
5438
5439
5440
5441 enablestring=disable
5442 defaultval=
5443 if test -z "$defaultval"; then
5444 if test x"$enablestring" = xdisable; then
5445 defaultval=yes
5446 else
5447 defaultval=no
5448 fi
5449 fi
5450
5451 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5452 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5453 # Check whether --enable-rpath was given.
5454 if test "${enable_rpath+set}" = set; then
5455 enableval=$enable_rpath;
5456 if test "$enableval" = yes; then
5457 wx_cv_use_rpath='wxUSE_RPATH=yes'
5458 else
5459 wx_cv_use_rpath='wxUSE_RPATH=no'
5460 fi
5461
5462 else
5463
5464 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5465
5466 fi
5467
5468
5469 eval "$wx_cv_use_rpath"
5470
5471 if test x"$enablestring" = xdisable; then
5472 if test $wxUSE_RPATH = yes; then
5473 result=no
5474 else
5475 result=yes
5476 fi
5477 else
5478 result=$wxUSE_RPATH
5479 fi
5480
5481 { echo "$as_me:$LINENO: result: $result" >&5
5482 echo "${ECHO_T}$result" >&6; }
5483
5484
5485
5486 enablestring=
5487 defaultval=
5488 if test -z "$defaultval"; then
5489 if test x"$enablestring" = xdisable; then
5490 defaultval=yes
5491 else
5492 defaultval=no
5493 fi
5494 fi
5495
5496 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5497 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5498 # Check whether --enable-objc_uniquifying was given.
5499 if test "${enable_objc_uniquifying+set}" = set; then
5500 enableval=$enable_objc_uniquifying;
5501 if test "$enableval" = yes; then
5502 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5503 else
5504 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5505 fi
5506
5507 else
5508
5509 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5510
5511 fi
5512
5513
5514 eval "$wx_cv_use_objc_uniquifying"
5515
5516 if test x"$enablestring" = xdisable; then
5517 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5518 result=no
5519 else
5520 result=yes
5521 fi
5522 else
5523 result=$wxUSE_OBJC_UNIQUIFYING
5524 fi
5525
5526 { echo "$as_me:$LINENO: result: $result" >&5
5527 echo "${ECHO_T}$result" >&6; }
5528
5529
5530
5531 enablestring=disable
5532 defaultval=
5533 if test -z "$defaultval"; then
5534 if test x"$enablestring" = xdisable; then
5535 defaultval=yes
5536 else
5537 defaultval=no
5538 fi
5539 fi
5540
5541 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5542 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5543 # Check whether --enable-visibility was given.
5544 if test "${enable_visibility+set}" = set; then
5545 enableval=$enable_visibility;
5546 if test "$enableval" = yes; then
5547 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5548 else
5549 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5550 fi
5551
5552 else
5553
5554 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5555
5556 fi
5557
5558
5559 eval "$wx_cv_use_visibility"
5560
5561 if test x"$enablestring" = xdisable; then
5562 if test $wxUSE_VISIBILITY = yes; then
5563 result=no
5564 else
5565 result=yes
5566 fi
5567 else
5568 result=$wxUSE_VISIBILITY
5569 fi
5570
5571 { echo "$as_me:$LINENO: result: $result" >&5
5572 echo "${ECHO_T}$result" >&6; }
5573
5574
5575
5576
5577 enablestring=
5578 defaultval=$wxUSE_ALL_FEATURES
5579 if test -z "$defaultval"; then
5580 if test x"$enablestring" = xdisable; then
5581 defaultval=yes
5582 else
5583 defaultval=no
5584 fi
5585 fi
5586
5587 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5588 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5589 # Check whether --enable-intl was given.
5590 if test "${enable_intl+set}" = set; then
5591 enableval=$enable_intl;
5592 if test "$enableval" = yes; then
5593 wx_cv_use_intl='wxUSE_INTL=yes'
5594 else
5595 wx_cv_use_intl='wxUSE_INTL=no'
5596 fi
5597
5598 else
5599
5600 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5601
5602 fi
5603
5604
5605 eval "$wx_cv_use_intl"
5606
5607 if test x"$enablestring" = xdisable; then
5608 if test $wxUSE_INTL = yes; then
5609 result=no
5610 else
5611 result=yes
5612 fi
5613 else
5614 result=$wxUSE_INTL
5615 fi
5616
5617 { echo "$as_me:$LINENO: result: $result" >&5
5618 echo "${ECHO_T}$result" >&6; }
5619
5620
5621 enablestring=
5622 defaultval=$wxUSE_ALL_FEATURES
5623 if test -z "$defaultval"; then
5624 if test x"$enablestring" = xdisable; then
5625 defaultval=yes
5626 else
5627 defaultval=no
5628 fi
5629 fi
5630
5631 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xlocale" >&5
5632 echo $ECHO_N "checking for --${enablestring:-enable}-xlocale... $ECHO_C" >&6; }
5633 # Check whether --enable-xlocale was given.
5634 if test "${enable_xlocale+set}" = set; then
5635 enableval=$enable_xlocale;
5636 if test "$enableval" = yes; then
5637 wx_cv_use_xlocale='wxUSE_XLOCALE=yes'
5638 else
5639 wx_cv_use_xlocale='wxUSE_XLOCALE=no'
5640 fi
5641
5642 else
5643
5644 wx_cv_use_xlocale='wxUSE_XLOCALE=${'DEFAULT_wxUSE_XLOCALE":-$defaultval}"
5645
5646 fi
5647
5648
5649 eval "$wx_cv_use_xlocale"
5650
5651 if test x"$enablestring" = xdisable; then
5652 if test $wxUSE_XLOCALE = yes; then
5653 result=no
5654 else
5655 result=yes
5656 fi
5657 else
5658 result=$wxUSE_XLOCALE
5659 fi
5660
5661 { echo "$as_me:$LINENO: result: $result" >&5
5662 echo "${ECHO_T}$result" >&6; }
5663
5664
5665 enablestring=
5666 defaultval=$wxUSE_ALL_FEATURES
5667 if test -z "$defaultval"; then
5668 if test x"$enablestring" = xdisable; then
5669 defaultval=yes
5670 else
5671 defaultval=no
5672 fi
5673 fi
5674
5675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5677 # Check whether --enable-config was given.
5678 if test "${enable_config+set}" = set; then
5679 enableval=$enable_config;
5680 if test "$enableval" = yes; then
5681 wx_cv_use_config='wxUSE_CONFIG=yes'
5682 else
5683 wx_cv_use_config='wxUSE_CONFIG=no'
5684 fi
5685
5686 else
5687
5688 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5689
5690 fi
5691
5692
5693 eval "$wx_cv_use_config"
5694
5695 if test x"$enablestring" = xdisable; then
5696 if test $wxUSE_CONFIG = yes; then
5697 result=no
5698 else
5699 result=yes
5700 fi
5701 else
5702 result=$wxUSE_CONFIG
5703 fi
5704
5705 { echo "$as_me:$LINENO: result: $result" >&5
5706 echo "${ECHO_T}$result" >&6; }
5707
5708
5709
5710 enablestring=
5711 defaultval=$wxUSE_ALL_FEATURES
5712 if test -z "$defaultval"; then
5713 if test x"$enablestring" = xdisable; then
5714 defaultval=yes
5715 else
5716 defaultval=no
5717 fi
5718 fi
5719
5720 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5721 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5722 # Check whether --enable-protocols was given.
5723 if test "${enable_protocols+set}" = set; then
5724 enableval=$enable_protocols;
5725 if test "$enableval" = yes; then
5726 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5727 else
5728 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5729 fi
5730
5731 else
5732
5733 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5734
5735 fi
5736
5737
5738 eval "$wx_cv_use_protocols"
5739
5740 if test x"$enablestring" = xdisable; then
5741 if test $wxUSE_PROTOCOL = yes; then
5742 result=no
5743 else
5744 result=yes
5745 fi
5746 else
5747 result=$wxUSE_PROTOCOL
5748 fi
5749
5750 { echo "$as_me:$LINENO: result: $result" >&5
5751 echo "${ECHO_T}$result" >&6; }
5752
5753
5754 enablestring=
5755 defaultval=$wxUSE_ALL_FEATURES
5756 if test -z "$defaultval"; then
5757 if test x"$enablestring" = xdisable; then
5758 defaultval=yes
5759 else
5760 defaultval=no
5761 fi
5762 fi
5763
5764 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5765 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5766 # Check whether --enable-ftp was given.
5767 if test "${enable_ftp+set}" = set; then
5768 enableval=$enable_ftp;
5769 if test "$enableval" = yes; then
5770 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5771 else
5772 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5773 fi
5774
5775 else
5776
5777 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5778
5779 fi
5780
5781
5782 eval "$wx_cv_use_ftp"
5783
5784 if test x"$enablestring" = xdisable; then
5785 if test $wxUSE_PROTOCOL_FTP = yes; then
5786 result=no
5787 else
5788 result=yes
5789 fi
5790 else
5791 result=$wxUSE_PROTOCOL_FTP
5792 fi
5793
5794 { echo "$as_me:$LINENO: result: $result" >&5
5795 echo "${ECHO_T}$result" >&6; }
5796
5797
5798 enablestring=
5799 defaultval=$wxUSE_ALL_FEATURES
5800 if test -z "$defaultval"; then
5801 if test x"$enablestring" = xdisable; then
5802 defaultval=yes
5803 else
5804 defaultval=no
5805 fi
5806 fi
5807
5808 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5809 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5810 # Check whether --enable-http was given.
5811 if test "${enable_http+set}" = set; then
5812 enableval=$enable_http;
5813 if test "$enableval" = yes; then
5814 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5815 else
5816 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5817 fi
5818
5819 else
5820
5821 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5822
5823 fi
5824
5825
5826 eval "$wx_cv_use_http"
5827
5828 if test x"$enablestring" = xdisable; then
5829 if test $wxUSE_PROTOCOL_HTTP = yes; then
5830 result=no
5831 else
5832 result=yes
5833 fi
5834 else
5835 result=$wxUSE_PROTOCOL_HTTP
5836 fi
5837
5838 { echo "$as_me:$LINENO: result: $result" >&5
5839 echo "${ECHO_T}$result" >&6; }
5840
5841
5842 enablestring=
5843 defaultval=$wxUSE_ALL_FEATURES
5844 if test -z "$defaultval"; then
5845 if test x"$enablestring" = xdisable; then
5846 defaultval=yes
5847 else
5848 defaultval=no
5849 fi
5850 fi
5851
5852 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5853 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5854 # Check whether --enable-fileproto was given.
5855 if test "${enable_fileproto+set}" = set; then
5856 enableval=$enable_fileproto;
5857 if test "$enableval" = yes; then
5858 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5859 else
5860 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5861 fi
5862
5863 else
5864
5865 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5866
5867 fi
5868
5869
5870 eval "$wx_cv_use_fileproto"
5871
5872 if test x"$enablestring" = xdisable; then
5873 if test $wxUSE_PROTOCOL_FILE = yes; then
5874 result=no
5875 else
5876 result=yes
5877 fi
5878 else
5879 result=$wxUSE_PROTOCOL_FILE
5880 fi
5881
5882 { echo "$as_me:$LINENO: result: $result" >&5
5883 echo "${ECHO_T}$result" >&6; }
5884
5885
5886 enablestring=
5887 defaultval=$wxUSE_ALL_FEATURES
5888 if test -z "$defaultval"; then
5889 if test x"$enablestring" = xdisable; then
5890 defaultval=yes
5891 else
5892 defaultval=no
5893 fi
5894 fi
5895
5896 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5897 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5898 # Check whether --enable-sockets was given.
5899 if test "${enable_sockets+set}" = set; then
5900 enableval=$enable_sockets;
5901 if test "$enableval" = yes; then
5902 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5903 else
5904 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5905 fi
5906
5907 else
5908
5909 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5910
5911 fi
5912
5913
5914 eval "$wx_cv_use_sockets"
5915
5916 if test x"$enablestring" = xdisable; then
5917 if test $wxUSE_SOCKETS = yes; then
5918 result=no
5919 else
5920 result=yes
5921 fi
5922 else
5923 result=$wxUSE_SOCKETS
5924 fi
5925
5926 { echo "$as_me:$LINENO: result: $result" >&5
5927 echo "${ECHO_T}$result" >&6; }
5928
5929
5930 enablestring=
5931 defaultval=$wxUSE_ALL_FEATURES
5932 if test -z "$defaultval"; then
5933 if test x"$enablestring" = xdisable; then
5934 defaultval=yes
5935 else
5936 defaultval=no
5937 fi
5938 fi
5939
5940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5941 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5942 # Check whether --enable-ipv6 was given.
5943 if test "${enable_ipv6+set}" = set; then
5944 enableval=$enable_ipv6;
5945 if test "$enableval" = yes; then
5946 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5947 else
5948 wx_cv_use_ipv6='wxUSE_IPV6=no'
5949 fi
5950
5951 else
5952
5953 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5954
5955 fi
5956
5957
5958 eval "$wx_cv_use_ipv6"
5959
5960 if test x"$enablestring" = xdisable; then
5961 if test $wxUSE_IPV6 = yes; then
5962 result=no
5963 else
5964 result=yes
5965 fi
5966 else
5967 result=$wxUSE_IPV6
5968 fi
5969
5970 { echo "$as_me:$LINENO: result: $result" >&5
5971 echo "${ECHO_T}$result" >&6; }
5972
5973
5974 enablestring=
5975 defaultval=$wxUSE_ALL_FEATURES
5976 if test -z "$defaultval"; then
5977 if test x"$enablestring" = xdisable; then
5978 defaultval=yes
5979 else
5980 defaultval=no
5981 fi
5982 fi
5983
5984 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5985 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5986 # Check whether --enable-ole was given.
5987 if test "${enable_ole+set}" = set; then
5988 enableval=$enable_ole;
5989 if test "$enableval" = yes; then
5990 wx_cv_use_ole='wxUSE_OLE=yes'
5991 else
5992 wx_cv_use_ole='wxUSE_OLE=no'
5993 fi
5994
5995 else
5996
5997 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5998
5999 fi
6000
6001
6002 eval "$wx_cv_use_ole"
6003
6004 if test x"$enablestring" = xdisable; then
6005 if test $wxUSE_OLE = yes; then
6006 result=no
6007 else
6008 result=yes
6009 fi
6010 else
6011 result=$wxUSE_OLE
6012 fi
6013
6014 { echo "$as_me:$LINENO: result: $result" >&5
6015 echo "${ECHO_T}$result" >&6; }
6016
6017
6018 enablestring=
6019 defaultval=$wxUSE_ALL_FEATURES
6020 if test -z "$defaultval"; then
6021 if test x"$enablestring" = xdisable; then
6022 defaultval=yes
6023 else
6024 defaultval=no
6025 fi
6026 fi
6027
6028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
6029 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
6030 # Check whether --enable-dataobj was given.
6031 if test "${enable_dataobj+set}" = set; then
6032 enableval=$enable_dataobj;
6033 if test "$enableval" = yes; then
6034 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
6035 else
6036 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
6037 fi
6038
6039 else
6040
6041 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
6042
6043 fi
6044
6045
6046 eval "$wx_cv_use_dataobj"
6047
6048 if test x"$enablestring" = xdisable; then
6049 if test $wxUSE_DATAOBJ = yes; then
6050 result=no
6051 else
6052 result=yes
6053 fi
6054 else
6055 result=$wxUSE_DATAOBJ
6056 fi
6057
6058 { echo "$as_me:$LINENO: result: $result" >&5
6059 echo "${ECHO_T}$result" >&6; }
6060
6061
6062
6063 enablestring=
6064 defaultval=$wxUSE_ALL_FEATURES
6065 if test -z "$defaultval"; then
6066 if test x"$enablestring" = xdisable; then
6067 defaultval=yes
6068 else
6069 defaultval=no
6070 fi
6071 fi
6072
6073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6074 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6075 # Check whether --enable-ipc was given.
6076 if test "${enable_ipc+set}" = set; then
6077 enableval=$enable_ipc;
6078 if test "$enableval" = yes; then
6079 wx_cv_use_ipc='wxUSE_IPC=yes'
6080 else
6081 wx_cv_use_ipc='wxUSE_IPC=no'
6082 fi
6083
6084 else
6085
6086 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6087
6088 fi
6089
6090
6091 eval "$wx_cv_use_ipc"
6092
6093 if test x"$enablestring" = xdisable; then
6094 if test $wxUSE_IPC = yes; then
6095 result=no
6096 else
6097 result=yes
6098 fi
6099 else
6100 result=$wxUSE_IPC
6101 fi
6102
6103 { echo "$as_me:$LINENO: result: $result" >&5
6104 echo "${ECHO_T}$result" >&6; }
6105
6106
6107
6108 enablestring=
6109 defaultval=$wxUSE_ALL_FEATURES
6110 if test -z "$defaultval"; then
6111 if test x"$enablestring" = xdisable; then
6112 defaultval=yes
6113 else
6114 defaultval=no
6115 fi
6116 fi
6117
6118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6119 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6120 # Check whether --enable-baseevtloop was given.
6121 if test "${enable_baseevtloop+set}" = set; then
6122 enableval=$enable_baseevtloop;
6123 if test "$enableval" = yes; then
6124 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6125 else
6126 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6127 fi
6128
6129 else
6130
6131 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6132
6133 fi
6134
6135
6136 eval "$wx_cv_use_baseevtloop"
6137
6138 if test x"$enablestring" = xdisable; then
6139 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6140 result=no
6141 else
6142 result=yes
6143 fi
6144 else
6145 result=$wxUSE_CONSOLE_EVENTLOOP
6146 fi
6147
6148 { echo "$as_me:$LINENO: result: $result" >&5
6149 echo "${ECHO_T}$result" >&6; }
6150
6151
6152 enablestring=
6153 defaultval=$wxUSE_ALL_FEATURES
6154 if test -z "$defaultval"; then
6155 if test x"$enablestring" = xdisable; then
6156 defaultval=yes
6157 else
6158 defaultval=no
6159 fi
6160 fi
6161
6162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6163 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6164 # Check whether --enable-epollloop was given.
6165 if test "${enable_epollloop+set}" = set; then
6166 enableval=$enable_epollloop;
6167 if test "$enableval" = yes; then
6168 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6169 else
6170 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6171 fi
6172
6173 else
6174
6175 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6176
6177 fi
6178
6179
6180 eval "$wx_cv_use_epollloop"
6181
6182 if test x"$enablestring" = xdisable; then
6183 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6184 result=no
6185 else
6186 result=yes
6187 fi
6188 else
6189 result=$wxUSE_EPOLL_DISPATCHER
6190 fi
6191
6192 { echo "$as_me:$LINENO: result: $result" >&5
6193 echo "${ECHO_T}$result" >&6; }
6194
6195
6196 enablestring=
6197 defaultval=$wxUSE_ALL_FEATURES
6198 if test -z "$defaultval"; then
6199 if test x"$enablestring" = xdisable; then
6200 defaultval=yes
6201 else
6202 defaultval=no
6203 fi
6204 fi
6205
6206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6207 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6208 # Check whether --enable-selectloop was given.
6209 if test "${enable_selectloop+set}" = set; then
6210 enableval=$enable_selectloop;
6211 if test "$enableval" = yes; then
6212 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6213 else
6214 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6215 fi
6216
6217 else
6218
6219 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6220
6221 fi
6222
6223
6224 eval "$wx_cv_use_selectloop"
6225
6226 if test x"$enablestring" = xdisable; then
6227 if test $wxUSE_SELECT_DISPATCHER = yes; then
6228 result=no
6229 else
6230 result=yes
6231 fi
6232 else
6233 result=$wxUSE_SELECT_DISPATCHER
6234 fi
6235
6236 { echo "$as_me:$LINENO: result: $result" >&5
6237 echo "${ECHO_T}$result" >&6; }
6238
6239
6240
6241 enablestring=
6242 defaultval=$wxUSE_ALL_FEATURES
6243 if test -z "$defaultval"; then
6244 if test x"$enablestring" = xdisable; then
6245 defaultval=yes
6246 else
6247 defaultval=no
6248 fi
6249 fi
6250
6251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6253 # Check whether --enable-apple_ieee was given.
6254 if test "${enable_apple_ieee+set}" = set; then
6255 enableval=$enable_apple_ieee;
6256 if test "$enableval" = yes; then
6257 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6258 else
6259 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6260 fi
6261
6262 else
6263
6264 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6265
6266 fi
6267
6268
6269 eval "$wx_cv_use_apple_ieee"
6270
6271 if test x"$enablestring" = xdisable; then
6272 if test $wxUSE_APPLE_IEEE = yes; then
6273 result=no
6274 else
6275 result=yes
6276 fi
6277 else
6278 result=$wxUSE_APPLE_IEEE
6279 fi
6280
6281 { echo "$as_me:$LINENO: result: $result" >&5
6282 echo "${ECHO_T}$result" >&6; }
6283
6284
6285 enablestring=
6286 defaultval=$wxUSE_ALL_FEATURES
6287 if test -z "$defaultval"; then
6288 if test x"$enablestring" = xdisable; then
6289 defaultval=yes
6290 else
6291 defaultval=no
6292 fi
6293 fi
6294
6295 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6296 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6297 # Check whether --enable-arcstream was given.
6298 if test "${enable_arcstream+set}" = set; then
6299 enableval=$enable_arcstream;
6300 if test "$enableval" = yes; then
6301 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6302 else
6303 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6304 fi
6305
6306 else
6307
6308 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6309
6310 fi
6311
6312
6313 eval "$wx_cv_use_arcstream"
6314
6315 if test x"$enablestring" = xdisable; then
6316 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6317 result=no
6318 else
6319 result=yes
6320 fi
6321 else
6322 result=$wxUSE_ARCHIVE_STREAMS
6323 fi
6324
6325 { echo "$as_me:$LINENO: result: $result" >&5
6326 echo "${ECHO_T}$result" >&6; }
6327
6328
6329 enablestring=
6330 defaultval=$wxUSE_ALL_FEATURES
6331 if test -z "$defaultval"; then
6332 if test x"$enablestring" = xdisable; then
6333 defaultval=yes
6334 else
6335 defaultval=no
6336 fi
6337 fi
6338
6339 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6340 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6341 # Check whether --enable-base64 was given.
6342 if test "${enable_base64+set}" = set; then
6343 enableval=$enable_base64;
6344 if test "$enableval" = yes; then
6345 wx_cv_use_base64='wxUSE_BASE64=yes'
6346 else
6347 wx_cv_use_base64='wxUSE_BASE64=no'
6348 fi
6349
6350 else
6351
6352 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6353
6354 fi
6355
6356
6357 eval "$wx_cv_use_base64"
6358
6359 if test x"$enablestring" = xdisable; then
6360 if test $wxUSE_BASE64 = yes; then
6361 result=no
6362 else
6363 result=yes
6364 fi
6365 else
6366 result=$wxUSE_BASE64
6367 fi
6368
6369 { echo "$as_me:$LINENO: result: $result" >&5
6370 echo "${ECHO_T}$result" >&6; }
6371
6372
6373 enablestring=
6374 defaultval=$wxUSE_ALL_FEATURES
6375 if test -z "$defaultval"; then
6376 if test x"$enablestring" = xdisable; then
6377 defaultval=yes
6378 else
6379 defaultval=no
6380 fi
6381 fi
6382
6383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6384 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6385 # Check whether --enable-backtrace was given.
6386 if test "${enable_backtrace+set}" = set; then
6387 enableval=$enable_backtrace;
6388 if test "$enableval" = yes; then
6389 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6390 else
6391 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6392 fi
6393
6394 else
6395
6396 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6397
6398 fi
6399
6400
6401 eval "$wx_cv_use_backtrace"
6402
6403 if test x"$enablestring" = xdisable; then
6404 if test $wxUSE_STACKWALKER = yes; then
6405 result=no
6406 else
6407 result=yes
6408 fi
6409 else
6410 result=$wxUSE_STACKWALKER
6411 fi
6412
6413 { echo "$as_me:$LINENO: result: $result" >&5
6414 echo "${ECHO_T}$result" >&6; }
6415
6416
6417 enablestring=
6418 defaultval=$wxUSE_ALL_FEATURES
6419 if test -z "$defaultval"; then
6420 if test x"$enablestring" = xdisable; then
6421 defaultval=yes
6422 else
6423 defaultval=no
6424 fi
6425 fi
6426
6427 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6428 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6429 # Check whether --enable-catch_segvs was given.
6430 if test "${enable_catch_segvs+set}" = set; then
6431 enableval=$enable_catch_segvs;
6432 if test "$enableval" = yes; then
6433 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6434 else
6435 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6436 fi
6437
6438 else
6439
6440 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6441
6442 fi
6443
6444
6445 eval "$wx_cv_use_catch_segvs"
6446
6447 if test x"$enablestring" = xdisable; then
6448 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6449 result=no
6450 else
6451 result=yes
6452 fi
6453 else
6454 result=$wxUSE_ON_FATAL_EXCEPTION
6455 fi
6456
6457 { echo "$as_me:$LINENO: result: $result" >&5
6458 echo "${ECHO_T}$result" >&6; }
6459
6460
6461 enablestring=
6462 defaultval=$wxUSE_ALL_FEATURES
6463 if test -z "$defaultval"; then
6464 if test x"$enablestring" = xdisable; then
6465 defaultval=yes
6466 else
6467 defaultval=no
6468 fi
6469 fi
6470
6471 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6472 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6473 # Check whether --enable-cmdline was given.
6474 if test "${enable_cmdline+set}" = set; then
6475 enableval=$enable_cmdline;
6476 if test "$enableval" = yes; then
6477 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6478 else
6479 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6480 fi
6481
6482 else
6483
6484 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6485
6486 fi
6487
6488
6489 eval "$wx_cv_use_cmdline"
6490
6491 if test x"$enablestring" = xdisable; then
6492 if test $wxUSE_CMDLINE_PARSER = yes; then
6493 result=no
6494 else
6495 result=yes
6496 fi
6497 else
6498 result=$wxUSE_CMDLINE_PARSER
6499 fi
6500
6501 { echo "$as_me:$LINENO: result: $result" >&5
6502 echo "${ECHO_T}$result" >&6; }
6503
6504
6505 enablestring=
6506 defaultval=$wxUSE_ALL_FEATURES
6507 if test -z "$defaultval"; then
6508 if test x"$enablestring" = xdisable; then
6509 defaultval=yes
6510 else
6511 defaultval=no
6512 fi
6513 fi
6514
6515 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6516 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6517 # Check whether --enable-datetime was given.
6518 if test "${enable_datetime+set}" = set; then
6519 enableval=$enable_datetime;
6520 if test "$enableval" = yes; then
6521 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6522 else
6523 wx_cv_use_datetime='wxUSE_DATETIME=no'
6524 fi
6525
6526 else
6527
6528 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6529
6530 fi
6531
6532
6533 eval "$wx_cv_use_datetime"
6534
6535 if test x"$enablestring" = xdisable; then
6536 if test $wxUSE_DATETIME = yes; then
6537 result=no
6538 else
6539 result=yes
6540 fi
6541 else
6542 result=$wxUSE_DATETIME
6543 fi
6544
6545 { echo "$as_me:$LINENO: result: $result" >&5
6546 echo "${ECHO_T}$result" >&6; }
6547
6548
6549 enablestring=
6550 defaultval=$wxUSE_ALL_FEATURES
6551 if test -z "$defaultval"; then
6552 if test x"$enablestring" = xdisable; then
6553 defaultval=yes
6554 else
6555 defaultval=no
6556 fi
6557 fi
6558
6559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6560 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6561 # Check whether --enable-debugreport was given.
6562 if test "${enable_debugreport+set}" = set; then
6563 enableval=$enable_debugreport;
6564 if test "$enableval" = yes; then
6565 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6566 else
6567 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6568 fi
6569
6570 else
6571
6572 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6573
6574 fi
6575
6576
6577 eval "$wx_cv_use_debugreport"
6578
6579 if test x"$enablestring" = xdisable; then
6580 if test $wxUSE_DEBUGREPORT = yes; then
6581 result=no
6582 else
6583 result=yes
6584 fi
6585 else
6586 result=$wxUSE_DEBUGREPORT
6587 fi
6588
6589 { echo "$as_me:$LINENO: result: $result" >&5
6590 echo "${ECHO_T}$result" >&6; }
6591
6592
6593 enablestring=
6594 defaultval=$wxUSE_ALL_FEATURES
6595 if test -z "$defaultval"; then
6596 if test x"$enablestring" = xdisable; then
6597 defaultval=yes
6598 else
6599 defaultval=no
6600 fi
6601 fi
6602
6603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6604 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6605 # Check whether --enable-dialupman was given.
6606 if test "${enable_dialupman+set}" = set; then
6607 enableval=$enable_dialupman;
6608 if test "$enableval" = yes; then
6609 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6610 else
6611 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6612 fi
6613
6614 else
6615
6616 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6617
6618 fi
6619
6620
6621 eval "$wx_cv_use_dialupman"
6622
6623 if test x"$enablestring" = xdisable; then
6624 if test $wxUSE_DIALUP_MANAGER = yes; then
6625 result=no
6626 else
6627 result=yes
6628 fi
6629 else
6630 result=$wxUSE_DIALUP_MANAGER
6631 fi
6632
6633 { echo "$as_me:$LINENO: result: $result" >&5
6634 echo "${ECHO_T}$result" >&6; }
6635
6636
6637 enablestring=
6638 defaultval=$wxUSE_ALL_FEATURES
6639 if test -z "$defaultval"; then
6640 if test x"$enablestring" = xdisable; then
6641 defaultval=yes
6642 else
6643 defaultval=no
6644 fi
6645 fi
6646
6647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6648 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6649 # Check whether --enable-dynlib was given.
6650 if test "${enable_dynlib+set}" = set; then
6651 enableval=$enable_dynlib;
6652 if test "$enableval" = yes; then
6653 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6654 else
6655 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6656 fi
6657
6658 else
6659
6660 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6661
6662 fi
6663
6664
6665 eval "$wx_cv_use_dynlib"
6666
6667 if test x"$enablestring" = xdisable; then
6668 if test $wxUSE_DYNLIB_CLASS = yes; then
6669 result=no
6670 else
6671 result=yes
6672 fi
6673 else
6674 result=$wxUSE_DYNLIB_CLASS
6675 fi
6676
6677 { echo "$as_me:$LINENO: result: $result" >&5
6678 echo "${ECHO_T}$result" >&6; }
6679
6680
6681 enablestring=
6682 defaultval=$wxUSE_ALL_FEATURES
6683 if test -z "$defaultval"; then
6684 if test x"$enablestring" = xdisable; then
6685 defaultval=yes
6686 else
6687 defaultval=no
6688 fi
6689 fi
6690
6691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6692 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6693 # Check whether --enable-dynamicloader was given.
6694 if test "${enable_dynamicloader+set}" = set; then
6695 enableval=$enable_dynamicloader;
6696 if test "$enableval" = yes; then
6697 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6698 else
6699 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6700 fi
6701
6702 else
6703
6704 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6705
6706 fi
6707
6708
6709 eval "$wx_cv_use_dynamicloader"
6710
6711 if test x"$enablestring" = xdisable; then
6712 if test $wxUSE_DYNAMIC_LOADER = yes; then
6713 result=no
6714 else
6715 result=yes
6716 fi
6717 else
6718 result=$wxUSE_DYNAMIC_LOADER
6719 fi
6720
6721 { echo "$as_me:$LINENO: result: $result" >&5
6722 echo "${ECHO_T}$result" >&6; }
6723
6724
6725 enablestring=
6726 defaultval=$wxUSE_ALL_FEATURES
6727 if test -z "$defaultval"; then
6728 if test x"$enablestring" = xdisable; then
6729 defaultval=yes
6730 else
6731 defaultval=no
6732 fi
6733 fi
6734
6735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6736 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6737 # Check whether --enable-exceptions was given.
6738 if test "${enable_exceptions+set}" = set; then
6739 enableval=$enable_exceptions;
6740 if test "$enableval" = yes; then
6741 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6742 else
6743 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6744 fi
6745
6746 else
6747
6748 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6749
6750 fi
6751
6752
6753 eval "$wx_cv_use_exceptions"
6754
6755 if test x"$enablestring" = xdisable; then
6756 if test $wxUSE_EXCEPTIONS = yes; then
6757 result=no
6758 else
6759 result=yes
6760 fi
6761 else
6762 result=$wxUSE_EXCEPTIONS
6763 fi
6764
6765 { echo "$as_me:$LINENO: result: $result" >&5
6766 echo "${ECHO_T}$result" >&6; }
6767
6768
6769 enablestring=
6770 defaultval=$wxUSE_ALL_FEATURES
6771 if test -z "$defaultval"; then
6772 if test x"$enablestring" = xdisable; then
6773 defaultval=yes
6774 else
6775 defaultval=no
6776 fi
6777 fi
6778
6779 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6780 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6781 # Check whether --enable-ffile was given.
6782 if test "${enable_ffile+set}" = set; then
6783 enableval=$enable_ffile;
6784 if test "$enableval" = yes; then
6785 wx_cv_use_ffile='wxUSE_FFILE=yes'
6786 else
6787 wx_cv_use_ffile='wxUSE_FFILE=no'
6788 fi
6789
6790 else
6791
6792 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6793
6794 fi
6795
6796
6797 eval "$wx_cv_use_ffile"
6798
6799 if test x"$enablestring" = xdisable; then
6800 if test $wxUSE_FFILE = yes; then
6801 result=no
6802 else
6803 result=yes
6804 fi
6805 else
6806 result=$wxUSE_FFILE
6807 fi
6808
6809 { echo "$as_me:$LINENO: result: $result" >&5
6810 echo "${ECHO_T}$result" >&6; }
6811
6812
6813 enablestring=
6814 defaultval=$wxUSE_ALL_FEATURES
6815 if test -z "$defaultval"; then
6816 if test x"$enablestring" = xdisable; then
6817 defaultval=yes
6818 else
6819 defaultval=no
6820 fi
6821 fi
6822
6823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6824 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6825 # Check whether --enable-file was given.
6826 if test "${enable_file+set}" = set; then
6827 enableval=$enable_file;
6828 if test "$enableval" = yes; then
6829 wx_cv_use_file='wxUSE_FILE=yes'
6830 else
6831 wx_cv_use_file='wxUSE_FILE=no'
6832 fi
6833
6834 else
6835
6836 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6837
6838 fi
6839
6840
6841 eval "$wx_cv_use_file"
6842
6843 if test x"$enablestring" = xdisable; then
6844 if test $wxUSE_FILE = yes; then
6845 result=no
6846 else
6847 result=yes
6848 fi
6849 else
6850 result=$wxUSE_FILE
6851 fi
6852
6853 { echo "$as_me:$LINENO: result: $result" >&5
6854 echo "${ECHO_T}$result" >&6; }
6855
6856
6857 enablestring=
6858 defaultval=$wxUSE_ALL_FEATURES
6859 if test -z "$defaultval"; then
6860 if test x"$enablestring" = xdisable; then
6861 defaultval=yes
6862 else
6863 defaultval=no
6864 fi
6865 fi
6866
6867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6868 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6869 # Check whether --enable-filesystem was given.
6870 if test "${enable_filesystem+set}" = set; then
6871 enableval=$enable_filesystem;
6872 if test "$enableval" = yes; then
6873 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6874 else
6875 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6876 fi
6877
6878 else
6879
6880 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6881
6882 fi
6883
6884
6885 eval "$wx_cv_use_filesystem"
6886
6887 if test x"$enablestring" = xdisable; then
6888 if test $wxUSE_FILESYSTEM = yes; then
6889 result=no
6890 else
6891 result=yes
6892 fi
6893 else
6894 result=$wxUSE_FILESYSTEM
6895 fi
6896
6897 { echo "$as_me:$LINENO: result: $result" >&5
6898 echo "${ECHO_T}$result" >&6; }
6899
6900
6901 enablestring=
6902 defaultval=$wxUSE_ALL_FEATURES
6903 if test -z "$defaultval"; then
6904 if test x"$enablestring" = xdisable; then
6905 defaultval=yes
6906 else
6907 defaultval=no
6908 fi
6909 fi
6910
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6913 # Check whether --enable-fontenum was given.
6914 if test "${enable_fontenum+set}" = set; then
6915 enableval=$enable_fontenum;
6916 if test "$enableval" = yes; then
6917 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6918 else
6919 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6920 fi
6921
6922 else
6923
6924 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6925
6926 fi
6927
6928
6929 eval "$wx_cv_use_fontenum"
6930
6931 if test x"$enablestring" = xdisable; then
6932 if test $wxUSE_FONTENUM = yes; then
6933 result=no
6934 else
6935 result=yes
6936 fi
6937 else
6938 result=$wxUSE_FONTENUM
6939 fi
6940
6941 { echo "$as_me:$LINENO: result: $result" >&5
6942 echo "${ECHO_T}$result" >&6; }
6943
6944
6945 enablestring=
6946 defaultval=$wxUSE_ALL_FEATURES
6947 if test -z "$defaultval"; then
6948 if test x"$enablestring" = xdisable; then
6949 defaultval=yes
6950 else
6951 defaultval=no
6952 fi
6953 fi
6954
6955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6956 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6957 # Check whether --enable-fontmap was given.
6958 if test "${enable_fontmap+set}" = set; then
6959 enableval=$enable_fontmap;
6960 if test "$enableval" = yes; then
6961 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6962 else
6963 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6964 fi
6965
6966 else
6967
6968 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6969
6970 fi
6971
6972
6973 eval "$wx_cv_use_fontmap"
6974
6975 if test x"$enablestring" = xdisable; then
6976 if test $wxUSE_FONTMAP = yes; then
6977 result=no
6978 else
6979 result=yes
6980 fi
6981 else
6982 result=$wxUSE_FONTMAP
6983 fi
6984
6985 { echo "$as_me:$LINENO: result: $result" >&5
6986 echo "${ECHO_T}$result" >&6; }
6987
6988
6989 enablestring=
6990 defaultval=$wxUSE_ALL_FEATURES
6991 if test -z "$defaultval"; then
6992 if test x"$enablestring" = xdisable; then
6993 defaultval=yes
6994 else
6995 defaultval=no
6996 fi
6997 fi
6998
6999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
7000 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
7001 # Check whether --enable-fs_archive was given.
7002 if test "${enable_fs_archive+set}" = set; then
7003 enableval=$enable_fs_archive;
7004 if test "$enableval" = yes; then
7005 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
7006 else
7007 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
7008 fi
7009
7010 else
7011
7012 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
7013
7014 fi
7015
7016
7017 eval "$wx_cv_use_fs_archive"
7018
7019 if test x"$enablestring" = xdisable; then
7020 if test $wxUSE_FS_ARCHIVE = yes; then
7021 result=no
7022 else
7023 result=yes
7024 fi
7025 else
7026 result=$wxUSE_FS_ARCHIVE
7027 fi
7028
7029 { echo "$as_me:$LINENO: result: $result" >&5
7030 echo "${ECHO_T}$result" >&6; }
7031
7032
7033 enablestring=
7034 defaultval=$wxUSE_ALL_FEATURES
7035 if test -z "$defaultval"; then
7036 if test x"$enablestring" = xdisable; then
7037 defaultval=yes
7038 else
7039 defaultval=no
7040 fi
7041 fi
7042
7043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
7044 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
7045 # Check whether --enable-fs_inet was given.
7046 if test "${enable_fs_inet+set}" = set; then
7047 enableval=$enable_fs_inet;
7048 if test "$enableval" = yes; then
7049 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
7050 else
7051 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
7052 fi
7053
7054 else
7055
7056 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7057
7058 fi
7059
7060
7061 eval "$wx_cv_use_fs_inet"
7062
7063 if test x"$enablestring" = xdisable; then
7064 if test $wxUSE_FS_INET = yes; then
7065 result=no
7066 else
7067 result=yes
7068 fi
7069 else
7070 result=$wxUSE_FS_INET
7071 fi
7072
7073 { echo "$as_me:$LINENO: result: $result" >&5
7074 echo "${ECHO_T}$result" >&6; }
7075
7076
7077 enablestring=
7078 defaultval=$wxUSE_ALL_FEATURES
7079 if test -z "$defaultval"; then
7080 if test x"$enablestring" = xdisable; then
7081 defaultval=yes
7082 else
7083 defaultval=no
7084 fi
7085 fi
7086
7087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7088 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7089 # Check whether --enable-fs_zip was given.
7090 if test "${enable_fs_zip+set}" = set; then
7091 enableval=$enable_fs_zip;
7092 if test "$enableval" = yes; then
7093 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7094 else
7095 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7096 fi
7097
7098 else
7099
7100 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7101
7102 fi
7103
7104
7105 eval "$wx_cv_use_fs_zip"
7106
7107 if test x"$enablestring" = xdisable; then
7108 if test $wxUSE_FS_ZIP = yes; then
7109 result=no
7110 else
7111 result=yes
7112 fi
7113 else
7114 result=$wxUSE_FS_ZIP
7115 fi
7116
7117 { echo "$as_me:$LINENO: result: $result" >&5
7118 echo "${ECHO_T}$result" >&6; }
7119
7120
7121 enablestring=
7122 defaultval=$wxUSE_ALL_FEATURES
7123 if test -z "$defaultval"; then
7124 if test x"$enablestring" = xdisable; then
7125 defaultval=yes
7126 else
7127 defaultval=no
7128 fi
7129 fi
7130
7131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7132 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7133 # Check whether --enable-geometry was given.
7134 if test "${enable_geometry+set}" = set; then
7135 enableval=$enable_geometry;
7136 if test "$enableval" = yes; then
7137 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7138 else
7139 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7140 fi
7141
7142 else
7143
7144 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7145
7146 fi
7147
7148
7149 eval "$wx_cv_use_geometry"
7150
7151 if test x"$enablestring" = xdisable; then
7152 if test $wxUSE_GEOMETRY = yes; then
7153 result=no
7154 else
7155 result=yes
7156 fi
7157 else
7158 result=$wxUSE_GEOMETRY
7159 fi
7160
7161 { echo "$as_me:$LINENO: result: $result" >&5
7162 echo "${ECHO_T}$result" >&6; }
7163
7164
7165 enablestring=
7166 defaultval=$wxUSE_ALL_FEATURES
7167 if test -z "$defaultval"; then
7168 if test x"$enablestring" = xdisable; then
7169 defaultval=yes
7170 else
7171 defaultval=no
7172 fi
7173 fi
7174
7175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7176 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7177 # Check whether --enable-log was given.
7178 if test "${enable_log+set}" = set; then
7179 enableval=$enable_log;
7180 if test "$enableval" = yes; then
7181 wx_cv_use_log='wxUSE_LOG=yes'
7182 else
7183 wx_cv_use_log='wxUSE_LOG=no'
7184 fi
7185
7186 else
7187
7188 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7189
7190 fi
7191
7192
7193 eval "$wx_cv_use_log"
7194
7195 if test x"$enablestring" = xdisable; then
7196 if test $wxUSE_LOG = yes; then
7197 result=no
7198 else
7199 result=yes
7200 fi
7201 else
7202 result=$wxUSE_LOG
7203 fi
7204
7205 { echo "$as_me:$LINENO: result: $result" >&5
7206 echo "${ECHO_T}$result" >&6; }
7207
7208
7209 enablestring=
7210 defaultval=$wxUSE_ALL_FEATURES
7211 if test -z "$defaultval"; then
7212 if test x"$enablestring" = xdisable; then
7213 defaultval=yes
7214 else
7215 defaultval=no
7216 fi
7217 fi
7218
7219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7220 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7221 # Check whether --enable-longlong was given.
7222 if test "${enable_longlong+set}" = set; then
7223 enableval=$enable_longlong;
7224 if test "$enableval" = yes; then
7225 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7226 else
7227 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7228 fi
7229
7230 else
7231
7232 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7233
7234 fi
7235
7236
7237 eval "$wx_cv_use_longlong"
7238
7239 if test x"$enablestring" = xdisable; then
7240 if test $wxUSE_LONGLONG = yes; then
7241 result=no
7242 else
7243 result=yes
7244 fi
7245 else
7246 result=$wxUSE_LONGLONG
7247 fi
7248
7249 { echo "$as_me:$LINENO: result: $result" >&5
7250 echo "${ECHO_T}$result" >&6; }
7251
7252
7253 enablestring=
7254 defaultval=$wxUSE_ALL_FEATURES
7255 if test -z "$defaultval"; then
7256 if test x"$enablestring" = xdisable; then
7257 defaultval=yes
7258 else
7259 defaultval=no
7260 fi
7261 fi
7262
7263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7264 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7265 # Check whether --enable-mimetype was given.
7266 if test "${enable_mimetype+set}" = set; then
7267 enableval=$enable_mimetype;
7268 if test "$enableval" = yes; then
7269 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7270 else
7271 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7272 fi
7273
7274 else
7275
7276 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7277
7278 fi
7279
7280
7281 eval "$wx_cv_use_mimetype"
7282
7283 if test x"$enablestring" = xdisable; then
7284 if test $wxUSE_MIMETYPE = yes; then
7285 result=no
7286 else
7287 result=yes
7288 fi
7289 else
7290 result=$wxUSE_MIMETYPE
7291 fi
7292
7293 { echo "$as_me:$LINENO: result: $result" >&5
7294 echo "${ECHO_T}$result" >&6; }
7295
7296
7297 enablestring=
7298 defaultval=$wxUSE_ALL_FEATURES
7299 if test -z "$defaultval"; then
7300 if test x"$enablestring" = xdisable; then
7301 defaultval=yes
7302 else
7303 defaultval=no
7304 fi
7305 fi
7306
7307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7308 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7309 # Check whether --enable-printfposparam was given.
7310 if test "${enable_printfposparam+set}" = set; then
7311 enableval=$enable_printfposparam;
7312 if test "$enableval" = yes; then
7313 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7314 else
7315 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7316 fi
7317
7318 else
7319
7320 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7321
7322 fi
7323
7324
7325 eval "$wx_cv_use_printfposparam"
7326
7327 if test x"$enablestring" = xdisable; then
7328 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7329 result=no
7330 else
7331 result=yes
7332 fi
7333 else
7334 result=$wxUSE_PRINTF_POS_PARAMS
7335 fi
7336
7337 { echo "$as_me:$LINENO: result: $result" >&5
7338 echo "${ECHO_T}$result" >&6; }
7339
7340
7341 enablestring=
7342 defaultval=$wxUSE_ALL_FEATURES
7343 if test -z "$defaultval"; then
7344 if test x"$enablestring" = xdisable; then
7345 defaultval=yes
7346 else
7347 defaultval=no
7348 fi
7349 fi
7350
7351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7352 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7353 # Check whether --enable-snglinst was given.
7354 if test "${enable_snglinst+set}" = set; then
7355 enableval=$enable_snglinst;
7356 if test "$enableval" = yes; then
7357 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7358 else
7359 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7360 fi
7361
7362 else
7363
7364 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7365
7366 fi
7367
7368
7369 eval "$wx_cv_use_snglinst"
7370
7371 if test x"$enablestring" = xdisable; then
7372 if test $wxUSE_SNGLINST_CHECKER = yes; then
7373 result=no
7374 else
7375 result=yes
7376 fi
7377 else
7378 result=$wxUSE_SNGLINST_CHECKER
7379 fi
7380
7381 { echo "$as_me:$LINENO: result: $result" >&5
7382 echo "${ECHO_T}$result" >&6; }
7383
7384
7385 enablestring=
7386 defaultval=$wxUSE_ALL_FEATURES
7387 if test -z "$defaultval"; then
7388 if test x"$enablestring" = xdisable; then
7389 defaultval=yes
7390 else
7391 defaultval=no
7392 fi
7393 fi
7394
7395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7396 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7397 # Check whether --enable-sound was given.
7398 if test "${enable_sound+set}" = set; then
7399 enableval=$enable_sound;
7400 if test "$enableval" = yes; then
7401 wx_cv_use_sound='wxUSE_SOUND=yes'
7402 else
7403 wx_cv_use_sound='wxUSE_SOUND=no'
7404 fi
7405
7406 else
7407
7408 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7409
7410 fi
7411
7412
7413 eval "$wx_cv_use_sound"
7414
7415 if test x"$enablestring" = xdisable; then
7416 if test $wxUSE_SOUND = yes; then
7417 result=no
7418 else
7419 result=yes
7420 fi
7421 else
7422 result=$wxUSE_SOUND
7423 fi
7424
7425 { echo "$as_me:$LINENO: result: $result" >&5
7426 echo "${ECHO_T}$result" >&6; }
7427
7428
7429 enablestring=
7430 defaultval=$wxUSE_ALL_FEATURES
7431 if test -z "$defaultval"; then
7432 if test x"$enablestring" = xdisable; then
7433 defaultval=yes
7434 else
7435 defaultval=no
7436 fi
7437 fi
7438
7439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7440 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7441 # Check whether --enable-stdpaths was given.
7442 if test "${enable_stdpaths+set}" = set; then
7443 enableval=$enable_stdpaths;
7444 if test "$enableval" = yes; then
7445 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7446 else
7447 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7448 fi
7449
7450 else
7451
7452 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7453
7454 fi
7455
7456
7457 eval "$wx_cv_use_stdpaths"
7458
7459 if test x"$enablestring" = xdisable; then
7460 if test $wxUSE_STDPATHS = yes; then
7461 result=no
7462 else
7463 result=yes
7464 fi
7465 else
7466 result=$wxUSE_STDPATHS
7467 fi
7468
7469 { echo "$as_me:$LINENO: result: $result" >&5
7470 echo "${ECHO_T}$result" >&6; }
7471
7472
7473 enablestring=
7474 defaultval=$wxUSE_ALL_FEATURES
7475 if test -z "$defaultval"; then
7476 if test x"$enablestring" = xdisable; then
7477 defaultval=yes
7478 else
7479 defaultval=no
7480 fi
7481 fi
7482
7483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7484 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7485 # Check whether --enable-stopwatch was given.
7486 if test "${enable_stopwatch+set}" = set; then
7487 enableval=$enable_stopwatch;
7488 if test "$enableval" = yes; then
7489 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7490 else
7491 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7492 fi
7493
7494 else
7495
7496 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7497
7498 fi
7499
7500
7501 eval "$wx_cv_use_stopwatch"
7502
7503 if test x"$enablestring" = xdisable; then
7504 if test $wxUSE_STOPWATCH = yes; then
7505 result=no
7506 else
7507 result=yes
7508 fi
7509 else
7510 result=$wxUSE_STOPWATCH
7511 fi
7512
7513 { echo "$as_me:$LINENO: result: $result" >&5
7514 echo "${ECHO_T}$result" >&6; }
7515
7516
7517 enablestring=
7518 defaultval=$wxUSE_ALL_FEATURES
7519 if test -z "$defaultval"; then
7520 if test x"$enablestring" = xdisable; then
7521 defaultval=yes
7522 else
7523 defaultval=no
7524 fi
7525 fi
7526
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7529 # Check whether --enable-streams was given.
7530 if test "${enable_streams+set}" = set; then
7531 enableval=$enable_streams;
7532 if test "$enableval" = yes; then
7533 wx_cv_use_streams='wxUSE_STREAMS=yes'
7534 else
7535 wx_cv_use_streams='wxUSE_STREAMS=no'
7536 fi
7537
7538 else
7539
7540 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7541
7542 fi
7543
7544
7545 eval "$wx_cv_use_streams"
7546
7547 if test x"$enablestring" = xdisable; then
7548 if test $wxUSE_STREAMS = yes; then
7549 result=no
7550 else
7551 result=yes
7552 fi
7553 else
7554 result=$wxUSE_STREAMS
7555 fi
7556
7557 { echo "$as_me:$LINENO: result: $result" >&5
7558 echo "${ECHO_T}$result" >&6; }
7559
7560
7561 enablestring=
7562 defaultval=$wxUSE_ALL_FEATURES
7563 if test -z "$defaultval"; then
7564 if test x"$enablestring" = xdisable; then
7565 defaultval=yes
7566 else
7567 defaultval=no
7568 fi
7569 fi
7570
7571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7572 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7573 # Check whether --enable-system_options was given.
7574 if test "${enable_system_options+set}" = set; then
7575 enableval=$enable_system_options;
7576 if test "$enableval" = yes; then
7577 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7578 else
7579 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7580 fi
7581
7582 else
7583
7584 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7585
7586 fi
7587
7588
7589 eval "$wx_cv_use_system_options"
7590
7591 if test x"$enablestring" = xdisable; then
7592 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7593 result=no
7594 else
7595 result=yes
7596 fi
7597 else
7598 result=$wxUSE_SYSTEM_OPTIONS
7599 fi
7600
7601 { echo "$as_me:$LINENO: result: $result" >&5
7602 echo "${ECHO_T}$result" >&6; }
7603
7604
7605 enablestring=
7606 defaultval=$wxUSE_ALL_FEATURES
7607 if test -z "$defaultval"; then
7608 if test x"$enablestring" = xdisable; then
7609 defaultval=yes
7610 else
7611 defaultval=no
7612 fi
7613 fi
7614
7615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7616 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7617 # Check whether --enable-tarstream was given.
7618 if test "${enable_tarstream+set}" = set; then
7619 enableval=$enable_tarstream;
7620 if test "$enableval" = yes; then
7621 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7622 else
7623 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7624 fi
7625
7626 else
7627
7628 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7629
7630 fi
7631
7632
7633 eval "$wx_cv_use_tarstream"
7634
7635 if test x"$enablestring" = xdisable; then
7636 if test $wxUSE_TARSTREAM = yes; then
7637 result=no
7638 else
7639 result=yes
7640 fi
7641 else
7642 result=$wxUSE_TARSTREAM
7643 fi
7644
7645 { echo "$as_me:$LINENO: result: $result" >&5
7646 echo "${ECHO_T}$result" >&6; }
7647
7648
7649 enablestring=
7650 defaultval=$wxUSE_ALL_FEATURES
7651 if test -z "$defaultval"; then
7652 if test x"$enablestring" = xdisable; then
7653 defaultval=yes
7654 else
7655 defaultval=no
7656 fi
7657 fi
7658
7659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7660 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7661 # Check whether --enable-textbuf was given.
7662 if test "${enable_textbuf+set}" = set; then
7663 enableval=$enable_textbuf;
7664 if test "$enableval" = yes; then
7665 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7666 else
7667 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7668 fi
7669
7670 else
7671
7672 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7673
7674 fi
7675
7676
7677 eval "$wx_cv_use_textbuf"
7678
7679 if test x"$enablestring" = xdisable; then
7680 if test $wxUSE_TEXTBUFFER = yes; then
7681 result=no
7682 else
7683 result=yes
7684 fi
7685 else
7686 result=$wxUSE_TEXTBUFFER
7687 fi
7688
7689 { echo "$as_me:$LINENO: result: $result" >&5
7690 echo "${ECHO_T}$result" >&6; }
7691
7692
7693 enablestring=
7694 defaultval=$wxUSE_ALL_FEATURES
7695 if test -z "$defaultval"; then
7696 if test x"$enablestring" = xdisable; then
7697 defaultval=yes
7698 else
7699 defaultval=no
7700 fi
7701 fi
7702
7703 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7704 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7705 # Check whether --enable-textfile was given.
7706 if test "${enable_textfile+set}" = set; then
7707 enableval=$enable_textfile;
7708 if test "$enableval" = yes; then
7709 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7710 else
7711 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7712 fi
7713
7714 else
7715
7716 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7717
7718 fi
7719
7720
7721 eval "$wx_cv_use_textfile"
7722
7723 if test x"$enablestring" = xdisable; then
7724 if test $wxUSE_TEXTFILE = yes; then
7725 result=no
7726 else
7727 result=yes
7728 fi
7729 else
7730 result=$wxUSE_TEXTFILE
7731 fi
7732
7733 { echo "$as_me:$LINENO: result: $result" >&5
7734 echo "${ECHO_T}$result" >&6; }
7735
7736
7737 enablestring=
7738 defaultval=$wxUSE_ALL_FEATURES
7739 if test -z "$defaultval"; then
7740 if test x"$enablestring" = xdisable; then
7741 defaultval=yes
7742 else
7743 defaultval=no
7744 fi
7745 fi
7746
7747 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7748 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7749 # Check whether --enable-timer was given.
7750 if test "${enable_timer+set}" = set; then
7751 enableval=$enable_timer;
7752 if test "$enableval" = yes; then
7753 wx_cv_use_timer='wxUSE_TIMER=yes'
7754 else
7755 wx_cv_use_timer='wxUSE_TIMER=no'
7756 fi
7757
7758 else
7759
7760 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7761
7762 fi
7763
7764
7765 eval "$wx_cv_use_timer"
7766
7767 if test x"$enablestring" = xdisable; then
7768 if test $wxUSE_TIMER = yes; then
7769 result=no
7770 else
7771 result=yes
7772 fi
7773 else
7774 result=$wxUSE_TIMER
7775 fi
7776
7777 { echo "$as_me:$LINENO: result: $result" >&5
7778 echo "${ECHO_T}$result" >&6; }
7779
7780
7781 enablestring=
7782 defaultval=$wxUSE_ALL_FEATURES
7783 if test -z "$defaultval"; then
7784 if test x"$enablestring" = xdisable; then
7785 defaultval=yes
7786 else
7787 defaultval=no
7788 fi
7789 fi
7790
7791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7792 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7793 # Check whether --enable-variant was given.
7794 if test "${enable_variant+set}" = set; then
7795 enableval=$enable_variant;
7796 if test "$enableval" = yes; then
7797 wx_cv_use_variant='wxUSE_VARIANT=yes'
7798 else
7799 wx_cv_use_variant='wxUSE_VARIANT=no'
7800 fi
7801
7802 else
7803
7804 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7805
7806 fi
7807
7808
7809 eval "$wx_cv_use_variant"
7810
7811 if test x"$enablestring" = xdisable; then
7812 if test $wxUSE_VARIANT = yes; then
7813 result=no
7814 else
7815 result=yes
7816 fi
7817 else
7818 result=$wxUSE_VARIANT
7819 fi
7820
7821 { echo "$as_me:$LINENO: result: $result" >&5
7822 echo "${ECHO_T}$result" >&6; }
7823
7824
7825 enablestring=
7826 defaultval=$wxUSE_ALL_FEATURES
7827 if test -z "$defaultval"; then
7828 if test x"$enablestring" = xdisable; then
7829 defaultval=yes
7830 else
7831 defaultval=no
7832 fi
7833 fi
7834
7835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7836 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7837 # Check whether --enable-zipstream was given.
7838 if test "${enable_zipstream+set}" = set; then
7839 enableval=$enable_zipstream;
7840 if test "$enableval" = yes; then
7841 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7842 else
7843 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7844 fi
7845
7846 else
7847
7848 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7849
7850 fi
7851
7852
7853 eval "$wx_cv_use_zipstream"
7854
7855 if test x"$enablestring" = xdisable; then
7856 if test $wxUSE_ZIPSTREAM = yes; then
7857 result=no
7858 else
7859 result=yes
7860 fi
7861 else
7862 result=$wxUSE_ZIPSTREAM
7863 fi
7864
7865 { echo "$as_me:$LINENO: result: $result" >&5
7866 echo "${ECHO_T}$result" >&6; }
7867
7868
7869
7870 enablestring=
7871 defaultval=$wxUSE_ALL_FEATURES
7872 if test -z "$defaultval"; then
7873 if test x"$enablestring" = xdisable; then
7874 defaultval=yes
7875 else
7876 defaultval=no
7877 fi
7878 fi
7879
7880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7881 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7882 # Check whether --enable-url was given.
7883 if test "${enable_url+set}" = set; then
7884 enableval=$enable_url;
7885 if test "$enableval" = yes; then
7886 wx_cv_use_url='wxUSE_URL=yes'
7887 else
7888 wx_cv_use_url='wxUSE_URL=no'
7889 fi
7890
7891 else
7892
7893 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7894
7895 fi
7896
7897
7898 eval "$wx_cv_use_url"
7899
7900 if test x"$enablestring" = xdisable; then
7901 if test $wxUSE_URL = yes; then
7902 result=no
7903 else
7904 result=yes
7905 fi
7906 else
7907 result=$wxUSE_URL
7908 fi
7909
7910 { echo "$as_me:$LINENO: result: $result" >&5
7911 echo "${ECHO_T}$result" >&6; }
7912
7913
7914 enablestring=
7915 defaultval=$wxUSE_ALL_FEATURES
7916 if test -z "$defaultval"; then
7917 if test x"$enablestring" = xdisable; then
7918 defaultval=yes
7919 else
7920 defaultval=no
7921 fi
7922 fi
7923
7924 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7925 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7926 # Check whether --enable-protocol was given.
7927 if test "${enable_protocol+set}" = set; then
7928 enableval=$enable_protocol;
7929 if test "$enableval" = yes; then
7930 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7931 else
7932 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7933 fi
7934
7935 else
7936
7937 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7938
7939 fi
7940
7941
7942 eval "$wx_cv_use_protocol"
7943
7944 if test x"$enablestring" = xdisable; then
7945 if test $wxUSE_PROTOCOL = yes; then
7946 result=no
7947 else
7948 result=yes
7949 fi
7950 else
7951 result=$wxUSE_PROTOCOL
7952 fi
7953
7954 { echo "$as_me:$LINENO: result: $result" >&5
7955 echo "${ECHO_T}$result" >&6; }
7956
7957
7958 enablestring=
7959 defaultval=$wxUSE_ALL_FEATURES
7960 if test -z "$defaultval"; then
7961 if test x"$enablestring" = xdisable; then
7962 defaultval=yes
7963 else
7964 defaultval=no
7965 fi
7966 fi
7967
7968 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7969 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7970 # Check whether --enable-protocol_http was given.
7971 if test "${enable_protocol_http+set}" = set; then
7972 enableval=$enable_protocol_http;
7973 if test "$enableval" = yes; then
7974 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7975 else
7976 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7977 fi
7978
7979 else
7980
7981 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
7982
7983 fi
7984
7985
7986 eval "$wx_cv_use_protocol_http"
7987
7988 if test x"$enablestring" = xdisable; then
7989 if test $wxUSE_PROTOCOL_HTTP = yes; then
7990 result=no
7991 else
7992 result=yes
7993 fi
7994 else
7995 result=$wxUSE_PROTOCOL_HTTP
7996 fi
7997
7998 { echo "$as_me:$LINENO: result: $result" >&5
7999 echo "${ECHO_T}$result" >&6; }
8000
8001
8002 enablestring=
8003 defaultval=$wxUSE_ALL_FEATURES
8004 if test -z "$defaultval"; then
8005 if test x"$enablestring" = xdisable; then
8006 defaultval=yes
8007 else
8008 defaultval=no
8009 fi
8010 fi
8011
8012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8013 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8014 # Check whether --enable-protocol_ftp was given.
8015 if test "${enable_protocol_ftp+set}" = set; then
8016 enableval=$enable_protocol_ftp;
8017 if test "$enableval" = yes; then
8018 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8019 else
8020 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8021 fi
8022
8023 else
8024
8025 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8026
8027 fi
8028
8029
8030 eval "$wx_cv_use_protocol_ftp"
8031
8032 if test x"$enablestring" = xdisable; then
8033 if test $wxUSE_PROTOCOL_FTP = yes; then
8034 result=no
8035 else
8036 result=yes
8037 fi
8038 else
8039 result=$wxUSE_PROTOCOL_FTP
8040 fi
8041
8042 { echo "$as_me:$LINENO: result: $result" >&5
8043 echo "${ECHO_T}$result" >&6; }
8044
8045
8046 enablestring=
8047 defaultval=$wxUSE_ALL_FEATURES
8048 if test -z "$defaultval"; then
8049 if test x"$enablestring" = xdisable; then
8050 defaultval=yes
8051 else
8052 defaultval=no
8053 fi
8054 fi
8055
8056 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8057 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8058 # Check whether --enable-protocol_file was given.
8059 if test "${enable_protocol_file+set}" = set; then
8060 enableval=$enable_protocol_file;
8061 if test "$enableval" = yes; then
8062 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8063 else
8064 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8065 fi
8066
8067 else
8068
8069 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8070
8071 fi
8072
8073
8074 eval "$wx_cv_use_protocol_file"
8075
8076 if test x"$enablestring" = xdisable; then
8077 if test $wxUSE_PROTOCOL_FILE = yes; then
8078 result=no
8079 else
8080 result=yes
8081 fi
8082 else
8083 result=$wxUSE_PROTOCOL_FILE
8084 fi
8085
8086 { echo "$as_me:$LINENO: result: $result" >&5
8087 echo "${ECHO_T}$result" >&6; }
8088
8089
8090
8091 enablestring=
8092 defaultval=$wxUSE_ALL_FEATURES
8093 if test -z "$defaultval"; then
8094 if test x"$enablestring" = xdisable; then
8095 defaultval=yes
8096 else
8097 defaultval=no
8098 fi
8099 fi
8100
8101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8102 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8103 # Check whether --enable-threads was given.
8104 if test "${enable_threads+set}" = set; then
8105 enableval=$enable_threads;
8106 if test "$enableval" = yes; then
8107 wx_cv_use_threads='wxUSE_THREADS=yes'
8108 else
8109 wx_cv_use_threads='wxUSE_THREADS=no'
8110 fi
8111
8112 else
8113
8114 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8115
8116 fi
8117
8118
8119 eval "$wx_cv_use_threads"
8120
8121 if test x"$enablestring" = xdisable; then
8122 if test $wxUSE_THREADS = yes; then
8123 result=no
8124 else
8125 result=yes
8126 fi
8127 else
8128 result=$wxUSE_THREADS
8129 fi
8130
8131 { echo "$as_me:$LINENO: result: $result" >&5
8132 echo "${ECHO_T}$result" >&6; }
8133
8134
8135
8136 enablestring=
8137 defaultval=
8138 if test -z "$defaultval"; then
8139 if test x"$enablestring" = xdisable; then
8140 defaultval=yes
8141 else
8142 defaultval=no
8143 fi
8144 fi
8145
8146 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8147 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8148 # Check whether --enable-iniconf was given.
8149 if test "${enable_iniconf+set}" = set; then
8150 enableval=$enable_iniconf;
8151 if test "$enableval" = yes; then
8152 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8153 else
8154 wx_cv_use_iniconf='wxUSE_INICONF=no'
8155 fi
8156
8157 else
8158
8159 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8160
8161 fi
8162
8163
8164 eval "$wx_cv_use_iniconf"
8165
8166 if test x"$enablestring" = xdisable; then
8167 if test $wxUSE_INICONF = yes; then
8168 result=no
8169 else
8170 result=yes
8171 fi
8172 else
8173 result=$wxUSE_INICONF
8174 fi
8175
8176 { echo "$as_me:$LINENO: result: $result" >&5
8177 echo "${ECHO_T}$result" >&6; }
8178
8179
8180 enablestring=
8181 defaultval=$wxUSE_ALL_FEATURES
8182 if test -z "$defaultval"; then
8183 if test x"$enablestring" = xdisable; then
8184 defaultval=yes
8185 else
8186 defaultval=no
8187 fi
8188 fi
8189
8190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8192 # Check whether --enable-regkey was given.
8193 if test "${enable_regkey+set}" = set; then
8194 enableval=$enable_regkey;
8195 if test "$enableval" = yes; then
8196 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8197 else
8198 wx_cv_use_regkey='wxUSE_REGKEY=no'
8199 fi
8200
8201 else
8202
8203 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8204
8205 fi
8206
8207
8208 eval "$wx_cv_use_regkey"
8209
8210 if test x"$enablestring" = xdisable; then
8211 if test $wxUSE_REGKEY = yes; then
8212 result=no
8213 else
8214 result=yes
8215 fi
8216 else
8217 result=$wxUSE_REGKEY
8218 fi
8219
8220 { echo "$as_me:$LINENO: result: $result" >&5
8221 echo "${ECHO_T}$result" >&6; }
8222
8223
8224 if test "$wxUSE_GUI" = "yes"; then
8225
8226
8227
8228 enablestring=
8229 defaultval=$wxUSE_ALL_FEATURES
8230 if test -z "$defaultval"; then
8231 if test x"$enablestring" = xdisable; then
8232 defaultval=yes
8233 else
8234 defaultval=no
8235 fi
8236 fi
8237
8238 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8239 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8240 # Check whether --enable-docview was given.
8241 if test "${enable_docview+set}" = set; then
8242 enableval=$enable_docview;
8243 if test "$enableval" = yes; then
8244 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8245 else
8246 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8247 fi
8248
8249 else
8250
8251 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8252
8253 fi
8254
8255
8256 eval "$wx_cv_use_docview"
8257
8258 if test x"$enablestring" = xdisable; then
8259 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8260 result=no
8261 else
8262 result=yes
8263 fi
8264 else
8265 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8266 fi
8267
8268 { echo "$as_me:$LINENO: result: $result" >&5
8269 echo "${ECHO_T}$result" >&6; }
8270
8271
8272 enablestring=
8273 defaultval=$wxUSE_ALL_FEATURES
8274 if test -z "$defaultval"; then
8275 if test x"$enablestring" = xdisable; then
8276 defaultval=yes
8277 else
8278 defaultval=no
8279 fi
8280 fi
8281
8282 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8283 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8284 # Check whether --enable-help was given.
8285 if test "${enable_help+set}" = set; then
8286 enableval=$enable_help;
8287 if test "$enableval" = yes; then
8288 wx_cv_use_help='wxUSE_HELP=yes'
8289 else
8290 wx_cv_use_help='wxUSE_HELP=no'
8291 fi
8292
8293 else
8294
8295 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8296
8297 fi
8298
8299
8300 eval "$wx_cv_use_help"
8301
8302 if test x"$enablestring" = xdisable; then
8303 if test $wxUSE_HELP = yes; then
8304 result=no
8305 else
8306 result=yes
8307 fi
8308 else
8309 result=$wxUSE_HELP
8310 fi
8311
8312 { echo "$as_me:$LINENO: result: $result" >&5
8313 echo "${ECHO_T}$result" >&6; }
8314
8315
8316 enablestring=
8317 defaultval=$wxUSE_ALL_FEATURES
8318 if test -z "$defaultval"; then
8319 if test x"$enablestring" = xdisable; then
8320 defaultval=yes
8321 else
8322 defaultval=no
8323 fi
8324 fi
8325
8326 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8327 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8328 # Check whether --enable-mshtmlhelp was given.
8329 if test "${enable_mshtmlhelp+set}" = set; then
8330 enableval=$enable_mshtmlhelp;
8331 if test "$enableval" = yes; then
8332 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8333 else
8334 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8335 fi
8336
8337 else
8338
8339 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8340
8341 fi
8342
8343
8344 eval "$wx_cv_use_mshtmlhelp"
8345
8346 if test x"$enablestring" = xdisable; then
8347 if test $wxUSE_MS_HTML_HELP = yes; then
8348 result=no
8349 else
8350 result=yes
8351 fi
8352 else
8353 result=$wxUSE_MS_HTML_HELP
8354 fi
8355
8356 { echo "$as_me:$LINENO: result: $result" >&5
8357 echo "${ECHO_T}$result" >&6; }
8358
8359
8360 enablestring=
8361 defaultval=$wxUSE_ALL_FEATURES
8362 if test -z "$defaultval"; then
8363 if test x"$enablestring" = xdisable; then
8364 defaultval=yes
8365 else
8366 defaultval=no
8367 fi
8368 fi
8369
8370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8371 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8372 # Check whether --enable-html was given.
8373 if test "${enable_html+set}" = set; then
8374 enableval=$enable_html;
8375 if test "$enableval" = yes; then
8376 wx_cv_use_html='wxUSE_HTML=yes'
8377 else
8378 wx_cv_use_html='wxUSE_HTML=no'
8379 fi
8380
8381 else
8382
8383 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8384
8385 fi
8386
8387
8388 eval "$wx_cv_use_html"
8389
8390 if test x"$enablestring" = xdisable; then
8391 if test $wxUSE_HTML = yes; then
8392 result=no
8393 else
8394 result=yes
8395 fi
8396 else
8397 result=$wxUSE_HTML
8398 fi
8399
8400 { echo "$as_me:$LINENO: result: $result" >&5
8401 echo "${ECHO_T}$result" >&6; }
8402
8403
8404 enablestring=
8405 defaultval=$wxUSE_ALL_FEATURES
8406 if test -z "$defaultval"; then
8407 if test x"$enablestring" = xdisable; then
8408 defaultval=yes
8409 else
8410 defaultval=no
8411 fi
8412 fi
8413
8414 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8415 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8416 # Check whether --enable-htmlhelp was given.
8417 if test "${enable_htmlhelp+set}" = set; then
8418 enableval=$enable_htmlhelp;
8419 if test "$enableval" = yes; then
8420 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8421 else
8422 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8423 fi
8424
8425 else
8426
8427 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8428
8429 fi
8430
8431
8432 eval "$wx_cv_use_htmlhelp"
8433
8434 if test x"$enablestring" = xdisable; then
8435 if test $wxUSE_WXHTML_HELP = yes; then
8436 result=no
8437 else
8438 result=yes
8439 fi
8440 else
8441 result=$wxUSE_WXHTML_HELP
8442 fi
8443
8444 { echo "$as_me:$LINENO: result: $result" >&5
8445 echo "${ECHO_T}$result" >&6; }
8446
8447
8448 enablestring=
8449 defaultval=$wxUSE_ALL_FEATURES
8450 if test -z "$defaultval"; then
8451 if test x"$enablestring" = xdisable; then
8452 defaultval=yes
8453 else
8454 defaultval=no
8455 fi
8456 fi
8457
8458 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8459 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8460 # Check whether --enable-xrc was given.
8461 if test "${enable_xrc+set}" = set; then
8462 enableval=$enable_xrc;
8463 if test "$enableval" = yes; then
8464 wx_cv_use_xrc='wxUSE_XRC=yes'
8465 else
8466 wx_cv_use_xrc='wxUSE_XRC=no'
8467 fi
8468
8469 else
8470
8471 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8472
8473 fi
8474
8475
8476 eval "$wx_cv_use_xrc"
8477
8478 if test x"$enablestring" = xdisable; then
8479 if test $wxUSE_XRC = yes; then
8480 result=no
8481 else
8482 result=yes
8483 fi
8484 else
8485 result=$wxUSE_XRC
8486 fi
8487
8488 { echo "$as_me:$LINENO: result: $result" >&5
8489 echo "${ECHO_T}$result" >&6; }
8490
8491
8492 enablestring=
8493 defaultval=$wxUSE_ALL_FEATURES
8494 if test -z "$defaultval"; then
8495 if test x"$enablestring" = xdisable; then
8496 defaultval=yes
8497 else
8498 defaultval=no
8499 fi
8500 fi
8501
8502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8503 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8504 # Check whether --enable-aui was given.
8505 if test "${enable_aui+set}" = set; then
8506 enableval=$enable_aui;
8507 if test "$enableval" = yes; then
8508 wx_cv_use_aui='wxUSE_AUI=yes'
8509 else
8510 wx_cv_use_aui='wxUSE_AUI=no'
8511 fi
8512
8513 else
8514
8515 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8516
8517 fi
8518
8519
8520 eval "$wx_cv_use_aui"
8521
8522 if test x"$enablestring" = xdisable; then
8523 if test $wxUSE_AUI = yes; then
8524 result=no
8525 else
8526 result=yes
8527 fi
8528 else
8529 result=$wxUSE_AUI
8530 fi
8531
8532 { echo "$as_me:$LINENO: result: $result" >&5
8533 echo "${ECHO_T}$result" >&6; }
8534
8535
8536 enablestring=
8537 defaultval=$wxUSE_ALL_FEATURES
8538 if test -z "$defaultval"; then
8539 if test x"$enablestring" = xdisable; then
8540 defaultval=yes
8541 else
8542 defaultval=no
8543 fi
8544 fi
8545
8546 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8547 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8548 # Check whether --enable-stc was given.
8549 if test "${enable_stc+set}" = set; then
8550 enableval=$enable_stc;
8551 if test "$enableval" = yes; then
8552 wx_cv_use_stc='wxUSE_STC=yes'
8553 else
8554 wx_cv_use_stc='wxUSE_STC=no'
8555 fi
8556
8557 else
8558
8559 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8560
8561 fi
8562
8563
8564 eval "$wx_cv_use_stc"
8565
8566 if test x"$enablestring" = xdisable; then
8567 if test $wxUSE_STC = yes; then
8568 result=no
8569 else
8570 result=yes
8571 fi
8572 else
8573 result=$wxUSE_STC
8574 fi
8575
8576 { echo "$as_me:$LINENO: result: $result" >&5
8577 echo "${ECHO_T}$result" >&6; }
8578
8579
8580 enablestring=
8581 defaultval=$wxUSE_ALL_FEATURES
8582 if test -z "$defaultval"; then
8583 if test x"$enablestring" = xdisable; then
8584 defaultval=yes
8585 else
8586 defaultval=no
8587 fi
8588 fi
8589
8590 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8591 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8592 # Check whether --enable-constraints was given.
8593 if test "${enable_constraints+set}" = set; then
8594 enableval=$enable_constraints;
8595 if test "$enableval" = yes; then
8596 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8597 else
8598 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8599 fi
8600
8601 else
8602
8603 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8604
8605 fi
8606
8607
8608 eval "$wx_cv_use_constraints"
8609
8610 if test x"$enablestring" = xdisable; then
8611 if test $wxUSE_CONSTRAINTS = yes; then
8612 result=no
8613 else
8614 result=yes
8615 fi
8616 else
8617 result=$wxUSE_CONSTRAINTS
8618 fi
8619
8620 { echo "$as_me:$LINENO: result: $result" >&5
8621 echo "${ECHO_T}$result" >&6; }
8622
8623
8624 enablestring=
8625 defaultval=$wxUSE_ALL_FEATURES
8626 if test -z "$defaultval"; then
8627 if test x"$enablestring" = xdisable; then
8628 defaultval=yes
8629 else
8630 defaultval=no
8631 fi
8632 fi
8633
8634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8635 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8636 # Check whether --enable-loggui was given.
8637 if test "${enable_loggui+set}" = set; then
8638 enableval=$enable_loggui;
8639 if test "$enableval" = yes; then
8640 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8641 else
8642 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8643 fi
8644
8645 else
8646
8647 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8648
8649 fi
8650
8651
8652 eval "$wx_cv_use_loggui"
8653
8654 if test x"$enablestring" = xdisable; then
8655 if test $wxUSE_LOGGUI = yes; then
8656 result=no
8657 else
8658 result=yes
8659 fi
8660 else
8661 result=$wxUSE_LOGGUI
8662 fi
8663
8664 { echo "$as_me:$LINENO: result: $result" >&5
8665 echo "${ECHO_T}$result" >&6; }
8666
8667
8668 enablestring=
8669 defaultval=$wxUSE_ALL_FEATURES
8670 if test -z "$defaultval"; then
8671 if test x"$enablestring" = xdisable; then
8672 defaultval=yes
8673 else
8674 defaultval=no
8675 fi
8676 fi
8677
8678 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8679 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8680 # Check whether --enable-logwin was given.
8681 if test "${enable_logwin+set}" = set; then
8682 enableval=$enable_logwin;
8683 if test "$enableval" = yes; then
8684 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8685 else
8686 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8687 fi
8688
8689 else
8690
8691 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8692
8693 fi
8694
8695
8696 eval "$wx_cv_use_logwin"
8697
8698 if test x"$enablestring" = xdisable; then
8699 if test $wxUSE_LOGWINDOW = yes; then
8700 result=no
8701 else
8702 result=yes
8703 fi
8704 else
8705 result=$wxUSE_LOGWINDOW
8706 fi
8707
8708 { echo "$as_me:$LINENO: result: $result" >&5
8709 echo "${ECHO_T}$result" >&6; }
8710
8711
8712 enablestring=
8713 defaultval=$wxUSE_ALL_FEATURES
8714 if test -z "$defaultval"; then
8715 if test x"$enablestring" = xdisable; then
8716 defaultval=yes
8717 else
8718 defaultval=no
8719 fi
8720 fi
8721
8722 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8723 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8724 # Check whether --enable-logdialog was given.
8725 if test "${enable_logdialog+set}" = set; then
8726 enableval=$enable_logdialog;
8727 if test "$enableval" = yes; then
8728 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8729 else
8730 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8731 fi
8732
8733 else
8734
8735 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8736
8737 fi
8738
8739
8740 eval "$wx_cv_use_logdialog"
8741
8742 if test x"$enablestring" = xdisable; then
8743 if test $wxUSE_LOGDIALOG = yes; then
8744 result=no
8745 else
8746 result=yes
8747 fi
8748 else
8749 result=$wxUSE_LOGDIALOG
8750 fi
8751
8752 { echo "$as_me:$LINENO: result: $result" >&5
8753 echo "${ECHO_T}$result" >&6; }
8754
8755
8756 enablestring=
8757 defaultval=$wxUSE_ALL_FEATURES
8758 if test -z "$defaultval"; then
8759 if test x"$enablestring" = xdisable; then
8760 defaultval=yes
8761 else
8762 defaultval=no
8763 fi
8764 fi
8765
8766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8767 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8768 # Check whether --enable-mdi was given.
8769 if test "${enable_mdi+set}" = set; then
8770 enableval=$enable_mdi;
8771 if test "$enableval" = yes; then
8772 wx_cv_use_mdi='wxUSE_MDI=yes'
8773 else
8774 wx_cv_use_mdi='wxUSE_MDI=no'
8775 fi
8776
8777 else
8778
8779 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8780
8781 fi
8782
8783
8784 eval "$wx_cv_use_mdi"
8785
8786 if test x"$enablestring" = xdisable; then
8787 if test $wxUSE_MDI = yes; then
8788 result=no
8789 else
8790 result=yes
8791 fi
8792 else
8793 result=$wxUSE_MDI
8794 fi
8795
8796 { echo "$as_me:$LINENO: result: $result" >&5
8797 echo "${ECHO_T}$result" >&6; }
8798
8799
8800 enablestring=
8801 defaultval=$wxUSE_ALL_FEATURES
8802 if test -z "$defaultval"; then
8803 if test x"$enablestring" = xdisable; then
8804 defaultval=yes
8805 else
8806 defaultval=no
8807 fi
8808 fi
8809
8810 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8811 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8812 # Check whether --enable-mdidoc was given.
8813 if test "${enable_mdidoc+set}" = set; then
8814 enableval=$enable_mdidoc;
8815 if test "$enableval" = yes; then
8816 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8817 else
8818 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8819 fi
8820
8821 else
8822
8823 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8824
8825 fi
8826
8827
8828 eval "$wx_cv_use_mdidoc"
8829
8830 if test x"$enablestring" = xdisable; then
8831 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8832 result=no
8833 else
8834 result=yes
8835 fi
8836 else
8837 result=$wxUSE_MDI_ARCHITECTURE
8838 fi
8839
8840 { echo "$as_me:$LINENO: result: $result" >&5
8841 echo "${ECHO_T}$result" >&6; }
8842
8843
8844 enablestring=
8845 defaultval=$wxUSE_ALL_FEATURES
8846 if test -z "$defaultval"; then
8847 if test x"$enablestring" = xdisable; then
8848 defaultval=yes
8849 else
8850 defaultval=no
8851 fi
8852 fi
8853
8854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
8855 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
8856 # Check whether --enable-mediactrl was given.
8857 if test "${enable_mediactrl+set}" = set; then
8858 enableval=$enable_mediactrl;
8859 if test "$enableval" = yes; then
8860 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
8861 else
8862 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
8863 fi
8864
8865 else
8866
8867 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
8868
8869 fi
8870
8871
8872 eval "$wx_cv_use_mediactrl"
8873
8874 if test x"$enablestring" = xdisable; then
8875 if test $wxUSE_MEDIACTRL = yes; then
8876 result=no
8877 else
8878 result=yes
8879 fi
8880 else
8881 result=$wxUSE_MEDIACTRL
8882 fi
8883
8884 { echo "$as_me:$LINENO: result: $result" >&5
8885 echo "${ECHO_T}$result" >&6; }
8886
8887
8888 enablestring=
8889 defaultval=$wxUSE_ALL_FEATURES
8890 if test -z "$defaultval"; then
8891 if test x"$enablestring" = xdisable; then
8892 defaultval=yes
8893 else
8894 defaultval=no
8895 fi
8896 fi
8897
8898 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
8899 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
8900 # Check whether --enable-gstreamer8 was given.
8901 if test "${enable_gstreamer8+set}" = set; then
8902 enableval=$enable_gstreamer8;
8903 if test "$enableval" = yes; then
8904 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
8905 else
8906 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
8907 fi
8908
8909 else
8910
8911 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
8912
8913 fi
8914
8915
8916 eval "$wx_cv_use_gstreamer8"
8917
8918 if test x"$enablestring" = xdisable; then
8919 if test $wxUSE_GSTREAMER8 = yes; then
8920 result=no
8921 else
8922 result=yes
8923 fi
8924 else
8925 result=$wxUSE_GSTREAMER8
8926 fi
8927
8928 { echo "$as_me:$LINENO: result: $result" >&5
8929 echo "${ECHO_T}$result" >&6; }
8930
8931
8932 enablestring=
8933 defaultval=$wxUSE_ALL_FEATURES
8934 if test -z "$defaultval"; then
8935 if test x"$enablestring" = xdisable; then
8936 defaultval=yes
8937 else
8938 defaultval=no
8939 fi
8940 fi
8941
8942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8943 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8944 # Check whether --enable-webkit was given.
8945 if test "${enable_webkit+set}" = set; then
8946 enableval=$enable_webkit;
8947 if test "$enableval" = yes; then
8948 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8949 else
8950 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8951 fi
8952
8953 else
8954
8955 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8956
8957 fi
8958
8959
8960 eval "$wx_cv_use_webkit"
8961
8962 if test x"$enablestring" = xdisable; then
8963 if test $wxUSE_WEBKIT = yes; then
8964 result=no
8965 else
8966 result=yes
8967 fi
8968 else
8969 result=$wxUSE_WEBKIT
8970 fi
8971
8972 { echo "$as_me:$LINENO: result: $result" >&5
8973 echo "${ECHO_T}$result" >&6; }
8974
8975
8976 enablestring=
8977 defaultval=$wxUSE_ALL_FEATURES
8978 if test -z "$defaultval"; then
8979 if test x"$enablestring" = xdisable; then
8980 defaultval=yes
8981 else
8982 defaultval=no
8983 fi
8984 fi
8985
8986 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8987 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8988 # Check whether --enable-richtext was given.
8989 if test "${enable_richtext+set}" = set; then
8990 enableval=$enable_richtext;
8991 if test "$enableval" = yes; then
8992 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8993 else
8994 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8995 fi
8996
8997 else
8998
8999 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
9000
9001 fi
9002
9003
9004 eval "$wx_cv_use_richtext"
9005
9006 if test x"$enablestring" = xdisable; then
9007 if test $wxUSE_RICHTEXT = yes; then
9008 result=no
9009 else
9010 result=yes
9011 fi
9012 else
9013 result=$wxUSE_RICHTEXT
9014 fi
9015
9016 { echo "$as_me:$LINENO: result: $result" >&5
9017 echo "${ECHO_T}$result" >&6; }
9018
9019
9020 enablestring=
9021 defaultval=$wxUSE_ALL_FEATURES
9022 if test -z "$defaultval"; then
9023 if test x"$enablestring" = xdisable; then
9024 defaultval=yes
9025 else
9026 defaultval=no
9027 fi
9028 fi
9029
9030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9031 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9032 # Check whether --enable-graphics_ctx was given.
9033 if test "${enable_graphics_ctx+set}" = set; then
9034 enableval=$enable_graphics_ctx;
9035 if test "$enableval" = yes; then
9036 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9037 else
9038 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9039 fi
9040
9041 else
9042
9043 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9044
9045 fi
9046
9047
9048 eval "$wx_cv_use_graphics_ctx"
9049
9050 if test x"$enablestring" = xdisable; then
9051 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9052 result=no
9053 else
9054 result=yes
9055 fi
9056 else
9057 result=$wxUSE_GRAPHICS_CONTEXT
9058 fi
9059
9060 { echo "$as_me:$LINENO: result: $result" >&5
9061 echo "${ECHO_T}$result" >&6; }
9062
9063
9064 enablestring=
9065 defaultval=$wxUSE_ALL_FEATURES
9066 if test -z "$defaultval"; then
9067 if test x"$enablestring" = xdisable; then
9068 defaultval=yes
9069 else
9070 defaultval=no
9071 fi
9072 fi
9073
9074 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9075 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9076 # Check whether --enable-postscript was given.
9077 if test "${enable_postscript+set}" = set; then
9078 enableval=$enable_postscript;
9079 if test "$enableval" = yes; then
9080 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9081 else
9082 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9083 fi
9084
9085 else
9086
9087 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9088
9089 fi
9090
9091
9092 eval "$wx_cv_use_postscript"
9093
9094 if test x"$enablestring" = xdisable; then
9095 if test $wxUSE_POSTSCRIPT = yes; then
9096 result=no
9097 else
9098 result=yes
9099 fi
9100 else
9101 result=$wxUSE_POSTSCRIPT
9102 fi
9103
9104 { echo "$as_me:$LINENO: result: $result" >&5
9105 echo "${ECHO_T}$result" >&6; }
9106
9107
9108 enablestring=
9109 defaultval=$wxUSE_ALL_FEATURES
9110 if test -z "$defaultval"; then
9111 if test x"$enablestring" = xdisable; then
9112 defaultval=yes
9113 else
9114 defaultval=no
9115 fi
9116 fi
9117
9118 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
9119 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
9120 # Check whether --enable-printarch was given.
9121 if test "${enable_printarch+set}" = set; then
9122 enableval=$enable_printarch;
9123 if test "$enableval" = yes; then
9124 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
9125 else
9126 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
9127 fi
9128
9129 else
9130
9131 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
9132
9133 fi
9134
9135
9136 eval "$wx_cv_use_printarch"
9137
9138 if test x"$enablestring" = xdisable; then
9139 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
9140 result=no
9141 else
9142 result=yes
9143 fi
9144 else
9145 result=$wxUSE_PRINTING_ARCHITECTURE
9146 fi
9147
9148 { echo "$as_me:$LINENO: result: $result" >&5
9149 echo "${ECHO_T}$result" >&6; }
9150
9151
9152 enablestring=
9153 defaultval=$wxUSE_ALL_FEATURES
9154 if test -z "$defaultval"; then
9155 if test x"$enablestring" = xdisable; then
9156 defaultval=yes
9157 else
9158 defaultval=no
9159 fi
9160 fi
9161
9162 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9163 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9164 # Check whether --enable-svg was given.
9165 if test "${enable_svg+set}" = set; then
9166 enableval=$enable_svg;
9167 if test "$enableval" = yes; then
9168 wx_cv_use_svg='wxUSE_SVG=yes'
9169 else
9170 wx_cv_use_svg='wxUSE_SVG=no'
9171 fi
9172
9173 else
9174
9175 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9176
9177 fi
9178
9179
9180 eval "$wx_cv_use_svg"
9181
9182 if test x"$enablestring" = xdisable; then
9183 if test $wxUSE_SVG = yes; then
9184 result=no
9185 else
9186 result=yes
9187 fi
9188 else
9189 result=$wxUSE_SVG
9190 fi
9191
9192 { echo "$as_me:$LINENO: result: $result" >&5
9193 echo "${ECHO_T}$result" >&6; }
9194
9195
9196
9197
9198 enablestring=
9199 defaultval=$wxUSE_ALL_FEATURES
9200 if test -z "$defaultval"; then
9201 if test x"$enablestring" = xdisable; then
9202 defaultval=yes
9203 else
9204 defaultval=no
9205 fi
9206 fi
9207
9208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9210 # Check whether --enable-clipboard was given.
9211 if test "${enable_clipboard+set}" = set; then
9212 enableval=$enable_clipboard;
9213 if test "$enableval" = yes; then
9214 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9215 else
9216 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9217 fi
9218
9219 else
9220
9221 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9222
9223 fi
9224
9225
9226 eval "$wx_cv_use_clipboard"
9227
9228 if test x"$enablestring" = xdisable; then
9229 if test $wxUSE_CLIPBOARD = yes; then
9230 result=no
9231 else
9232 result=yes
9233 fi
9234 else
9235 result=$wxUSE_CLIPBOARD
9236 fi
9237
9238 { echo "$as_me:$LINENO: result: $result" >&5
9239 echo "${ECHO_T}$result" >&6; }
9240
9241
9242 enablestring=
9243 defaultval=$wxUSE_ALL_FEATURES
9244 if test -z "$defaultval"; then
9245 if test x"$enablestring" = xdisable; then
9246 defaultval=yes
9247 else
9248 defaultval=no
9249 fi
9250 fi
9251
9252 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9253 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9254 # Check whether --enable-dnd was given.
9255 if test "${enable_dnd+set}" = set; then
9256 enableval=$enable_dnd;
9257 if test "$enableval" = yes; then
9258 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9259 else
9260 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9261 fi
9262
9263 else
9264
9265 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9266
9267 fi
9268
9269
9270 eval "$wx_cv_use_dnd"
9271
9272 if test x"$enablestring" = xdisable; then
9273 if test $wxUSE_DRAG_AND_DROP = yes; then
9274 result=no
9275 else
9276 result=yes
9277 fi
9278 else
9279 result=$wxUSE_DRAG_AND_DROP
9280 fi
9281
9282 { echo "$as_me:$LINENO: result: $result" >&5
9283 echo "${ECHO_T}$result" >&6; }
9284
9285
9286 enablestring=
9287 defaultval=$wxUSE_ALL_FEATURES
9288 if test -z "$defaultval"; then
9289 if test x"$enablestring" = xdisable; then
9290 defaultval=yes
9291 else
9292 defaultval=no
9293 fi
9294 fi
9295
9296 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9297 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9298 # Check whether --enable-metafile was given.
9299 if test "${enable_metafile+set}" = set; then
9300 enableval=$enable_metafile;
9301 if test "$enableval" = yes; then
9302 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9303 else
9304 wx_cv_use_metafile='wxUSE_METAFILE=no'
9305 fi
9306
9307 else
9308
9309 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9310
9311 fi
9312
9313
9314 eval "$wx_cv_use_metafile"
9315
9316 if test x"$enablestring" = xdisable; then
9317 if test $wxUSE_METAFILE = yes; then
9318 result=no
9319 else
9320 result=yes
9321 fi
9322 else
9323 result=$wxUSE_METAFILE
9324 fi
9325
9326 { echo "$as_me:$LINENO: result: $result" >&5
9327 echo "${ECHO_T}$result" >&6; }
9328
9329
9330
9331 DEFAULT_wxUSE_CONTROLS=none
9332
9333 enablestring=disable
9334 defaultval=
9335 if test -z "$defaultval"; then
9336 if test x"$enablestring" = xdisable; then
9337 defaultval=yes
9338 else
9339 defaultval=no
9340 fi
9341 fi
9342
9343 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9344 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9345 # Check whether --enable-controls was given.
9346 if test "${enable_controls+set}" = set; then
9347 enableval=$enable_controls;
9348 if test "$enableval" = yes; then
9349 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9350 else
9351 wx_cv_use_controls='wxUSE_CONTROLS=no'
9352 fi
9353
9354 else
9355
9356 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9357
9358 fi
9359
9360
9361 eval "$wx_cv_use_controls"
9362
9363 if test x"$enablestring" = xdisable; then
9364 if test $wxUSE_CONTROLS = yes; then
9365 result=no
9366 else
9367 result=yes
9368 fi
9369 else
9370 result=$wxUSE_CONTROLS
9371 fi
9372
9373 { echo "$as_me:$LINENO: result: $result" >&5
9374 echo "${ECHO_T}$result" >&6; }
9375
9376
9377 if test "$wxUSE_CONTROLS" = "yes"; then
9378 DEFAULT_wxUSE_ACCEL=yes
9379 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9380 DEFAULT_wxUSE_BMPBUTTON=yes
9381 DEFAULT_wxUSE_BUTTON=yes
9382 DEFAULT_wxUSE_CALCTRL=yes
9383 DEFAULT_wxUSE_CARET=yes
9384 DEFAULT_wxUSE_COMBOBOX=yes
9385 DEFAULT_wxUSE_CHECKBOX=yes
9386 DEFAULT_wxUSE_CHECKLISTBOX=yes
9387 DEFAULT_wxUSE_CHOICE=yes
9388 DEFAULT_wxUSE_CHOICEBOOK=yes
9389 DEFAULT_wxUSE_COLLPANE=yes
9390 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9391 DEFAULT_wxUSE_COMBOBOX=yes
9392 DEFAULT_wxUSE_DATEPICKCTRL=yes
9393 DEFAULT_wxUSE_DISPLAY=yes
9394 DEFAULT_wxUSE_DETECT_SM=yes
9395 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9396 DEFAULT_wxUSE_FILECTRL=yes
9397 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9398 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9399 DEFAULT_wxUSE_GAUGE=yes
9400 DEFAULT_wxUSE_GRID=yes
9401 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9402 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9403 DEFAULT_wxUSE_IMAGLIST=yes
9404 DEFAULT_wxUSE_LISTBOOK=yes
9405 DEFAULT_wxUSE_LISTBOX=yes
9406 DEFAULT_wxUSE_LISTCTRL=yes
9407 DEFAULT_wxUSE_NOTEBOOK=yes
9408 DEFAULT_wxUSE_RADIOBOX=yes
9409 DEFAULT_wxUSE_RADIOBTN=yes
9410 DEFAULT_wxUSE_SASH=yes
9411 DEFAULT_wxUSE_SCROLLBAR=yes
9412 DEFAULT_wxUSE_SEARCHCTRL=yes
9413 DEFAULT_wxUSE_SLIDER=yes
9414 DEFAULT_wxUSE_SPINBTN=yes
9415 DEFAULT_wxUSE_SPINCTRL=yes
9416 DEFAULT_wxUSE_SPLITTER=yes
9417 DEFAULT_wxUSE_STATBMP=yes
9418 DEFAULT_wxUSE_STATBOX=yes
9419 DEFAULT_wxUSE_STATLINE=yes
9420 DEFAULT_wxUSE_STATUSBAR=yes
9421 DEFAULT_wxUSE_TAB_DIALOG=yes
9422 DEFAULT_wxUSE_TOGGLEBTN=yes
9423 DEFAULT_wxUSE_TOOLBAR=yes
9424 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9425 DEFAULT_wxUSE_TOOLTIPS=yes
9426 DEFAULT_wxUSE_TREEBOOK=yes
9427 DEFAULT_wxUSE_TOOLBOOK=yes
9428 DEFAULT_wxUSE_TREECTRL=yes
9429 DEFAULT_wxUSE_POPUPWIN=yes
9430 DEFAULT_wxUSE_TIPWINDOW=yes
9431 elif test "$wxUSE_CONTROLS" = "no"; then
9432 DEFAULT_wxUSE_ACCEL=no
9433 DEFAULT_wxUSE_ANIMATIONCTRL=no
9434 DEFAULT_wxUSE_BMPBUTTON=no
9435 DEFAULT_wxUSE_BUTTON=no
9436 DEFAULT_wxUSE_CALCTRL=no
9437 DEFAULT_wxUSE_CARET=no
9438 DEFAULT_wxUSE_COLLPANE=no
9439 DEFAULT_wxUSE_COMBOBOX=no
9440 DEFAULT_wxUSE_CHECKBOX=no
9441 DEFAULT_wxUSE_CHECKLISTBOX=no
9442 DEFAULT_wxUSE_CHOICE=no
9443 DEFAULT_wxUSE_CHOICEBOOK=no
9444 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9445 DEFAULT_wxUSE_COMBOBOX=no
9446 DEFAULT_wxUSE_DATEPICKCTRL=no
9447 DEFAULT_wxUSE_DISPLAY=no
9448 DEFAULT_wxUSE_DETECT_SM=no
9449 DEFAULT_wxUSE_DIRPICKERCTRL=no
9450 DEFAULT_wxUSE_FILECTRL=no
9451 DEFAULT_wxUSE_FILEPICKERCTRL=no
9452 DEFAULT_wxUSE_FONTPICKERCTRL=no
9453 DEFAULT_wxUSE_GAUGE=no
9454 DEFAULT_wxUSE_GRID=no
9455 DEFAULT_wxUSE_HYPERLINKCTRL=no
9456 DEFAULT_wxUSE_DATAVIEWCTRL=no
9457 DEFAULT_wxUSE_IMAGLIST=no
9458 DEFAULT_wxUSE_LISTBOOK=no
9459 DEFAULT_wxUSE_LISTBOX=no
9460 DEFAULT_wxUSE_LISTCTRL=no
9461 DEFAULT_wxUSE_NOTEBOOK=no
9462 DEFAULT_wxUSE_RADIOBOX=no
9463 DEFAULT_wxUSE_RADIOBTN=no
9464 DEFAULT_wxUSE_SASH=no
9465 DEFAULT_wxUSE_SCROLLBAR=no
9466 DEFAULT_wxUSE_SEARCHCTRL=no
9467 DEFAULT_wxUSE_SLIDER=no
9468 DEFAULT_wxUSE_SPINBTN=no
9469 DEFAULT_wxUSE_SPINCTRL=no
9470 DEFAULT_wxUSE_SPLITTER=no
9471 DEFAULT_wxUSE_STATBMP=no
9472 DEFAULT_wxUSE_STATBOX=no
9473 DEFAULT_wxUSE_STATLINE=no
9474 DEFAULT_wxUSE_STATUSBAR=no
9475 DEFAULT_wxUSE_TAB_DIALOG=no
9476 DEFAULT_wxUSE_TOGGLEBTN=no
9477 DEFAULT_wxUSE_TOOLBAR=no
9478 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9479 DEFAULT_wxUSE_TOOLTIPS=no
9480 DEFAULT_wxUSE_TREEBOOK=no
9481 DEFAULT_wxUSE_TOOLBOOK=no
9482 DEFAULT_wxUSE_TREECTRL=no
9483 DEFAULT_wxUSE_POPUPWIN=no
9484 DEFAULT_wxUSE_TIPWINDOW=no
9485 fi
9486
9487
9488 enablestring=
9489 defaultval=$wxUSE_ALL_FEATURES
9490 if test -z "$defaultval"; then
9491 if test x"$enablestring" = xdisable; then
9492 defaultval=yes
9493 else
9494 defaultval=no
9495 fi
9496 fi
9497
9498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9499 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9500 # Check whether --enable-accel was given.
9501 if test "${enable_accel+set}" = set; then
9502 enableval=$enable_accel;
9503 if test "$enableval" = yes; then
9504 wx_cv_use_accel='wxUSE_ACCEL=yes'
9505 else
9506 wx_cv_use_accel='wxUSE_ACCEL=no'
9507 fi
9508
9509 else
9510
9511 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9512
9513 fi
9514
9515
9516 eval "$wx_cv_use_accel"
9517
9518 if test x"$enablestring" = xdisable; then
9519 if test $wxUSE_ACCEL = yes; then
9520 result=no
9521 else
9522 result=yes
9523 fi
9524 else
9525 result=$wxUSE_ACCEL
9526 fi
9527
9528 { echo "$as_me:$LINENO: result: $result" >&5
9529 echo "${ECHO_T}$result" >&6; }
9530
9531
9532 enablestring=
9533 defaultval=$wxUSE_ALL_FEATURES
9534 if test -z "$defaultval"; then
9535 if test x"$enablestring" = xdisable; then
9536 defaultval=yes
9537 else
9538 defaultval=no
9539 fi
9540 fi
9541
9542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9543 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9544 # Check whether --enable-animatectrl was given.
9545 if test "${enable_animatectrl+set}" = set; then
9546 enableval=$enable_animatectrl;
9547 if test "$enableval" = yes; then
9548 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9549 else
9550 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9551 fi
9552
9553 else
9554
9555 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9556
9557 fi
9558
9559
9560 eval "$wx_cv_use_animatectrl"
9561
9562 if test x"$enablestring" = xdisable; then
9563 if test $wxUSE_ANIMATIONCTRL = yes; then
9564 result=no
9565 else
9566 result=yes
9567 fi
9568 else
9569 result=$wxUSE_ANIMATIONCTRL
9570 fi
9571
9572 { echo "$as_me:$LINENO: result: $result" >&5
9573 echo "${ECHO_T}$result" >&6; }
9574
9575
9576 enablestring=
9577 defaultval=$wxUSE_ALL_FEATURES
9578 if test -z "$defaultval"; then
9579 if test x"$enablestring" = xdisable; then
9580 defaultval=yes
9581 else
9582 defaultval=no
9583 fi
9584 fi
9585
9586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9587 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9588 # Check whether --enable-button was given.
9589 if test "${enable_button+set}" = set; then
9590 enableval=$enable_button;
9591 if test "$enableval" = yes; then
9592 wx_cv_use_button='wxUSE_BUTTON=yes'
9593 else
9594 wx_cv_use_button='wxUSE_BUTTON=no'
9595 fi
9596
9597 else
9598
9599 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9600
9601 fi
9602
9603
9604 eval "$wx_cv_use_button"
9605
9606 if test x"$enablestring" = xdisable; then
9607 if test $wxUSE_BUTTON = yes; then
9608 result=no
9609 else
9610 result=yes
9611 fi
9612 else
9613 result=$wxUSE_BUTTON
9614 fi
9615
9616 { echo "$as_me:$LINENO: result: $result" >&5
9617 echo "${ECHO_T}$result" >&6; }
9618
9619
9620 enablestring=
9621 defaultval=$wxUSE_ALL_FEATURES
9622 if test -z "$defaultval"; then
9623 if test x"$enablestring" = xdisable; then
9624 defaultval=yes
9625 else
9626 defaultval=no
9627 fi
9628 fi
9629
9630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9631 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9632 # Check whether --enable-bmpbutton was given.
9633 if test "${enable_bmpbutton+set}" = set; then
9634 enableval=$enable_bmpbutton;
9635 if test "$enableval" = yes; then
9636 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9637 else
9638 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9639 fi
9640
9641 else
9642
9643 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9644
9645 fi
9646
9647
9648 eval "$wx_cv_use_bmpbutton"
9649
9650 if test x"$enablestring" = xdisable; then
9651 if test $wxUSE_BMPBUTTON = yes; then
9652 result=no
9653 else
9654 result=yes
9655 fi
9656 else
9657 result=$wxUSE_BMPBUTTON
9658 fi
9659
9660 { echo "$as_me:$LINENO: result: $result" >&5
9661 echo "${ECHO_T}$result" >&6; }
9662
9663
9664 enablestring=
9665 defaultval=$wxUSE_ALL_FEATURES
9666 if test -z "$defaultval"; then
9667 if test x"$enablestring" = xdisable; then
9668 defaultval=yes
9669 else
9670 defaultval=no
9671 fi
9672 fi
9673
9674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9675 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9676 # Check whether --enable-bmpcombobox was given.
9677 if test "${enable_bmpcombobox+set}" = set; then
9678 enableval=$enable_bmpcombobox;
9679 if test "$enableval" = yes; then
9680 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9681 else
9682 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9683 fi
9684
9685 else
9686
9687 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9688
9689 fi
9690
9691
9692 eval "$wx_cv_use_bmpcombobox"
9693
9694 if test x"$enablestring" = xdisable; then
9695 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9696 result=no
9697 else
9698 result=yes
9699 fi
9700 else
9701 result=$wxUSE_BITMAPCOMBOBOX
9702 fi
9703
9704 { echo "$as_me:$LINENO: result: $result" >&5
9705 echo "${ECHO_T}$result" >&6; }
9706
9707
9708 enablestring=
9709 defaultval=$wxUSE_ALL_FEATURES
9710 if test -z "$defaultval"; then
9711 if test x"$enablestring" = xdisable; then
9712 defaultval=yes
9713 else
9714 defaultval=no
9715 fi
9716 fi
9717
9718 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9719 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9720 # Check whether --enable-calendar was given.
9721 if test "${enable_calendar+set}" = set; then
9722 enableval=$enable_calendar;
9723 if test "$enableval" = yes; then
9724 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9725 else
9726 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9727 fi
9728
9729 else
9730
9731 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9732
9733 fi
9734
9735
9736 eval "$wx_cv_use_calendar"
9737
9738 if test x"$enablestring" = xdisable; then
9739 if test $wxUSE_CALCTRL = yes; then
9740 result=no
9741 else
9742 result=yes
9743 fi
9744 else
9745 result=$wxUSE_CALCTRL
9746 fi
9747
9748 { echo "$as_me:$LINENO: result: $result" >&5
9749 echo "${ECHO_T}$result" >&6; }
9750
9751
9752 enablestring=
9753 defaultval=$wxUSE_ALL_FEATURES
9754 if test -z "$defaultval"; then
9755 if test x"$enablestring" = xdisable; then
9756 defaultval=yes
9757 else
9758 defaultval=no
9759 fi
9760 fi
9761
9762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9763 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9764 # Check whether --enable-caret was given.
9765 if test "${enable_caret+set}" = set; then
9766 enableval=$enable_caret;
9767 if test "$enableval" = yes; then
9768 wx_cv_use_caret='wxUSE_CARET=yes'
9769 else
9770 wx_cv_use_caret='wxUSE_CARET=no'
9771 fi
9772
9773 else
9774
9775 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9776
9777 fi
9778
9779
9780 eval "$wx_cv_use_caret"
9781
9782 if test x"$enablestring" = xdisable; then
9783 if test $wxUSE_CARET = yes; then
9784 result=no
9785 else
9786 result=yes
9787 fi
9788 else
9789 result=$wxUSE_CARET
9790 fi
9791
9792 { echo "$as_me:$LINENO: result: $result" >&5
9793 echo "${ECHO_T}$result" >&6; }
9794
9795
9796 enablestring=
9797 defaultval=$wxUSE_ALL_FEATURES
9798 if test -z "$defaultval"; then
9799 if test x"$enablestring" = xdisable; then
9800 defaultval=yes
9801 else
9802 defaultval=no
9803 fi
9804 fi
9805
9806 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9807 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9808 # Check whether --enable-checkbox was given.
9809 if test "${enable_checkbox+set}" = set; then
9810 enableval=$enable_checkbox;
9811 if test "$enableval" = yes; then
9812 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9813 else
9814 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9815 fi
9816
9817 else
9818
9819 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9820
9821 fi
9822
9823
9824 eval "$wx_cv_use_checkbox"
9825
9826 if test x"$enablestring" = xdisable; then
9827 if test $wxUSE_CHECKBOX = yes; then
9828 result=no
9829 else
9830 result=yes
9831 fi
9832 else
9833 result=$wxUSE_CHECKBOX
9834 fi
9835
9836 { echo "$as_me:$LINENO: result: $result" >&5
9837 echo "${ECHO_T}$result" >&6; }
9838
9839
9840 enablestring=
9841 defaultval=$wxUSE_ALL_FEATURES
9842 if test -z "$defaultval"; then
9843 if test x"$enablestring" = xdisable; then
9844 defaultval=yes
9845 else
9846 defaultval=no
9847 fi
9848 fi
9849
9850 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9851 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9852 # Check whether --enable-checklst was given.
9853 if test "${enable_checklst+set}" = set; then
9854 enableval=$enable_checklst;
9855 if test "$enableval" = yes; then
9856 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9857 else
9858 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9859 fi
9860
9861 else
9862
9863 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9864
9865 fi
9866
9867
9868 eval "$wx_cv_use_checklst"
9869
9870 if test x"$enablestring" = xdisable; then
9871 if test $wxUSE_CHECKLST = yes; then
9872 result=no
9873 else
9874 result=yes
9875 fi
9876 else
9877 result=$wxUSE_CHECKLST
9878 fi
9879
9880 { echo "$as_me:$LINENO: result: $result" >&5
9881 echo "${ECHO_T}$result" >&6; }
9882
9883
9884 enablestring=
9885 defaultval=$wxUSE_ALL_FEATURES
9886 if test -z "$defaultval"; then
9887 if test x"$enablestring" = xdisable; then
9888 defaultval=yes
9889 else
9890 defaultval=no
9891 fi
9892 fi
9893
9894 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9895 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9896 # Check whether --enable-choice was given.
9897 if test "${enable_choice+set}" = set; then
9898 enableval=$enable_choice;
9899 if test "$enableval" = yes; then
9900 wx_cv_use_choice='wxUSE_CHOICE=yes'
9901 else
9902 wx_cv_use_choice='wxUSE_CHOICE=no'
9903 fi
9904
9905 else
9906
9907 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9908
9909 fi
9910
9911
9912 eval "$wx_cv_use_choice"
9913
9914 if test x"$enablestring" = xdisable; then
9915 if test $wxUSE_CHOICE = yes; then
9916 result=no
9917 else
9918 result=yes
9919 fi
9920 else
9921 result=$wxUSE_CHOICE
9922 fi
9923
9924 { echo "$as_me:$LINENO: result: $result" >&5
9925 echo "${ECHO_T}$result" >&6; }
9926
9927
9928 enablestring=
9929 defaultval=$wxUSE_ALL_FEATURES
9930 if test -z "$defaultval"; then
9931 if test x"$enablestring" = xdisable; then
9932 defaultval=yes
9933 else
9934 defaultval=no
9935 fi
9936 fi
9937
9938 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9939 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9940 # Check whether --enable-choicebook was given.
9941 if test "${enable_choicebook+set}" = set; then
9942 enableval=$enable_choicebook;
9943 if test "$enableval" = yes; then
9944 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9945 else
9946 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9947 fi
9948
9949 else
9950
9951 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9952
9953 fi
9954
9955
9956 eval "$wx_cv_use_choicebook"
9957
9958 if test x"$enablestring" = xdisable; then
9959 if test $wxUSE_CHOICEBOOK = yes; then
9960 result=no
9961 else
9962 result=yes
9963 fi
9964 else
9965 result=$wxUSE_CHOICEBOOK
9966 fi
9967
9968 { echo "$as_me:$LINENO: result: $result" >&5
9969 echo "${ECHO_T}$result" >&6; }
9970
9971
9972 enablestring=
9973 defaultval=$wxUSE_ALL_FEATURES
9974 if test -z "$defaultval"; then
9975 if test x"$enablestring" = xdisable; then
9976 defaultval=yes
9977 else
9978 defaultval=no
9979 fi
9980 fi
9981
9982 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9983 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9984 # Check whether --enable-collpane was given.
9985 if test "${enable_collpane+set}" = set; then
9986 enableval=$enable_collpane;
9987 if test "$enableval" = yes; then
9988 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9989 else
9990 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9991 fi
9992
9993 else
9994
9995 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9996
9997 fi
9998
9999
10000 eval "$wx_cv_use_collpane"
10001
10002 if test x"$enablestring" = xdisable; then
10003 if test $wxUSE_COLLPANE = yes; then
10004 result=no
10005 else
10006 result=yes
10007 fi
10008 else
10009 result=$wxUSE_COLLPANE
10010 fi
10011
10012 { echo "$as_me:$LINENO: result: $result" >&5
10013 echo "${ECHO_T}$result" >&6; }
10014
10015
10016 enablestring=
10017 defaultval=$wxUSE_ALL_FEATURES
10018 if test -z "$defaultval"; then
10019 if test x"$enablestring" = xdisable; then
10020 defaultval=yes
10021 else
10022 defaultval=no
10023 fi
10024 fi
10025
10026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
10027 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
10028 # Check whether --enable-colourpicker was given.
10029 if test "${enable_colourpicker+set}" = set; then
10030 enableval=$enable_colourpicker;
10031 if test "$enableval" = yes; then
10032 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
10033 else
10034 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
10035 fi
10036
10037 else
10038
10039 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
10040
10041 fi
10042
10043
10044 eval "$wx_cv_use_colourpicker"
10045
10046 if test x"$enablestring" = xdisable; then
10047 if test $wxUSE_COLOURPICKERCTRL = yes; then
10048 result=no
10049 else
10050 result=yes
10051 fi
10052 else
10053 result=$wxUSE_COLOURPICKERCTRL
10054 fi
10055
10056 { echo "$as_me:$LINENO: result: $result" >&5
10057 echo "${ECHO_T}$result" >&6; }
10058
10059
10060 enablestring=
10061 defaultval=$wxUSE_ALL_FEATURES
10062 if test -z "$defaultval"; then
10063 if test x"$enablestring" = xdisable; then
10064 defaultval=yes
10065 else
10066 defaultval=no
10067 fi
10068 fi
10069
10070 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10071 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10072 # Check whether --enable-combobox was given.
10073 if test "${enable_combobox+set}" = set; then
10074 enableval=$enable_combobox;
10075 if test "$enableval" = yes; then
10076 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10077 else
10078 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10079 fi
10080
10081 else
10082
10083 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10084
10085 fi
10086
10087
10088 eval "$wx_cv_use_combobox"
10089
10090 if test x"$enablestring" = xdisable; then
10091 if test $wxUSE_COMBOBOX = yes; then
10092 result=no
10093 else
10094 result=yes
10095 fi
10096 else
10097 result=$wxUSE_COMBOBOX
10098 fi
10099
10100 { echo "$as_me:$LINENO: result: $result" >&5
10101 echo "${ECHO_T}$result" >&6; }
10102
10103
10104 enablestring=
10105 defaultval=$wxUSE_ALL_FEATURES
10106 if test -z "$defaultval"; then
10107 if test x"$enablestring" = xdisable; then
10108 defaultval=yes
10109 else
10110 defaultval=no
10111 fi
10112 fi
10113
10114 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10115 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10116 # Check whether --enable-comboctrl was given.
10117 if test "${enable_comboctrl+set}" = set; then
10118 enableval=$enable_comboctrl;
10119 if test "$enableval" = yes; then
10120 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10121 else
10122 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10123 fi
10124
10125 else
10126
10127 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10128
10129 fi
10130
10131
10132 eval "$wx_cv_use_comboctrl"
10133
10134 if test x"$enablestring" = xdisable; then
10135 if test $wxUSE_COMBOCTRL = yes; then
10136 result=no
10137 else
10138 result=yes
10139 fi
10140 else
10141 result=$wxUSE_COMBOCTRL
10142 fi
10143
10144 { echo "$as_me:$LINENO: result: $result" >&5
10145 echo "${ECHO_T}$result" >&6; }
10146
10147
10148 enablestring=
10149 defaultval=$wxUSE_ALL_FEATURES
10150 if test -z "$defaultval"; then
10151 if test x"$enablestring" = xdisable; then
10152 defaultval=yes
10153 else
10154 defaultval=no
10155 fi
10156 fi
10157
10158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10159 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10160 # Check whether --enable-datepick was given.
10161 if test "${enable_datepick+set}" = set; then
10162 enableval=$enable_datepick;
10163 if test "$enableval" = yes; then
10164 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10165 else
10166 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10167 fi
10168
10169 else
10170
10171 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10172
10173 fi
10174
10175
10176 eval "$wx_cv_use_datepick"
10177
10178 if test x"$enablestring" = xdisable; then
10179 if test $wxUSE_DATEPICKCTRL = yes; then
10180 result=no
10181 else
10182 result=yes
10183 fi
10184 else
10185 result=$wxUSE_DATEPICKCTRL
10186 fi
10187
10188 { echo "$as_me:$LINENO: result: $result" >&5
10189 echo "${ECHO_T}$result" >&6; }
10190
10191
10192 enablestring=
10193 defaultval=$wxUSE_ALL_FEATURES
10194 if test -z "$defaultval"; then
10195 if test x"$enablestring" = xdisable; then
10196 defaultval=yes
10197 else
10198 defaultval=no
10199 fi
10200 fi
10201
10202 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10203 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10204 # Check whether --enable-dirpicker was given.
10205 if test "${enable_dirpicker+set}" = set; then
10206 enableval=$enable_dirpicker;
10207 if test "$enableval" = yes; then
10208 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10209 else
10210 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10211 fi
10212
10213 else
10214
10215 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10216
10217 fi
10218
10219
10220 eval "$wx_cv_use_dirpicker"
10221
10222 if test x"$enablestring" = xdisable; then
10223 if test $wxUSE_DIRPICKERCTRL = yes; then
10224 result=no
10225 else
10226 result=yes
10227 fi
10228 else
10229 result=$wxUSE_DIRPICKERCTRL
10230 fi
10231
10232 { echo "$as_me:$LINENO: result: $result" >&5
10233 echo "${ECHO_T}$result" >&6; }
10234
10235
10236 enablestring=
10237 defaultval=$wxUSE_ALL_FEATURES
10238 if test -z "$defaultval"; then
10239 if test x"$enablestring" = xdisable; then
10240 defaultval=yes
10241 else
10242 defaultval=no
10243 fi
10244 fi
10245
10246 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10247 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10248 # Check whether --enable-display was given.
10249 if test "${enable_display+set}" = set; then
10250 enableval=$enable_display;
10251 if test "$enableval" = yes; then
10252 wx_cv_use_display='wxUSE_DISPLAY=yes'
10253 else
10254 wx_cv_use_display='wxUSE_DISPLAY=no'
10255 fi
10256
10257 else
10258
10259 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10260
10261 fi
10262
10263
10264 eval "$wx_cv_use_display"
10265
10266 if test x"$enablestring" = xdisable; then
10267 if test $wxUSE_DISPLAY = yes; then
10268 result=no
10269 else
10270 result=yes
10271 fi
10272 else
10273 result=$wxUSE_DISPLAY
10274 fi
10275
10276 { echo "$as_me:$LINENO: result: $result" >&5
10277 echo "${ECHO_T}$result" >&6; }
10278
10279
10280 enablestring=
10281 defaultval=$wxUSE_ALL_FEATURES
10282 if test -z "$defaultval"; then
10283 if test x"$enablestring" = xdisable; then
10284 defaultval=yes
10285 else
10286 defaultval=no
10287 fi
10288 fi
10289
10290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10291 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10292 # Check whether --enable-detect_sm was given.
10293 if test "${enable_detect_sm+set}" = set; then
10294 enableval=$enable_detect_sm;
10295 if test "$enableval" = yes; then
10296 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10297 else
10298 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10299 fi
10300
10301 else
10302
10303 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10304
10305 fi
10306
10307
10308 eval "$wx_cv_use_detect_sm"
10309
10310 if test x"$enablestring" = xdisable; then
10311 if test $wxUSE_DETECT_SM = yes; then
10312 result=no
10313 else
10314 result=yes
10315 fi
10316 else
10317 result=$wxUSE_DETECT_SM
10318 fi
10319
10320 { echo "$as_me:$LINENO: result: $result" >&5
10321 echo "${ECHO_T}$result" >&6; }
10322
10323
10324 enablestring=
10325 defaultval=$wxUSE_ALL_FEATURES
10326 if test -z "$defaultval"; then
10327 if test x"$enablestring" = xdisable; then
10328 defaultval=yes
10329 else
10330 defaultval=no
10331 fi
10332 fi
10333
10334 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10335 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10336 # Check whether --enable-editablebox was given.
10337 if test "${enable_editablebox+set}" = set; then
10338 enableval=$enable_editablebox;
10339 if test "$enableval" = yes; then
10340 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10341 else
10342 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10343 fi
10344
10345 else
10346
10347 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10348
10349 fi
10350
10351
10352 eval "$wx_cv_use_editablebox"
10353
10354 if test x"$enablestring" = xdisable; then
10355 if test $wxUSE_EDITABLELISTBOX = yes; then
10356 result=no
10357 else
10358 result=yes
10359 fi
10360 else
10361 result=$wxUSE_EDITABLELISTBOX
10362 fi
10363
10364 { echo "$as_me:$LINENO: result: $result" >&5
10365 echo "${ECHO_T}$result" >&6; }
10366
10367
10368 enablestring=
10369 defaultval=$wxUSE_ALL_FEATURES
10370 if test -z "$defaultval"; then
10371 if test x"$enablestring" = xdisable; then
10372 defaultval=yes
10373 else
10374 defaultval=no
10375 fi
10376 fi
10377
10378 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10379 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10380 # Check whether --enable-filepicker was given.
10381 if test "${enable_filepicker+set}" = set; then
10382 enableval=$enable_filepicker;
10383 if test "$enableval" = yes; then
10384 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10385 else
10386 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10387 fi
10388
10389 else
10390
10391 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10392
10393 fi
10394
10395
10396 eval "$wx_cv_use_filepicker"
10397
10398 if test x"$enablestring" = xdisable; then
10399 if test $wxUSE_FILEPICKERCTRL = yes; then
10400 result=no
10401 else
10402 result=yes
10403 fi
10404 else
10405 result=$wxUSE_FILEPICKERCTRL
10406 fi
10407
10408 { echo "$as_me:$LINENO: result: $result" >&5
10409 echo "${ECHO_T}$result" >&6; }
10410
10411
10412 enablestring=
10413 defaultval=$wxUSE_ALL_FEATURES
10414 if test -z "$defaultval"; then
10415 if test x"$enablestring" = xdisable; then
10416 defaultval=yes
10417 else
10418 defaultval=no
10419 fi
10420 fi
10421
10422 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10423 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10424 # Check whether --enable-filectrl was given.
10425 if test "${enable_filectrl+set}" = set; then
10426 enableval=$enable_filectrl;
10427 if test "$enableval" = yes; then
10428 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10429 else
10430 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10431 fi
10432
10433 else
10434
10435 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10436
10437 fi
10438
10439
10440 eval "$wx_cv_use_filectrl"
10441
10442 if test x"$enablestring" = xdisable; then
10443 if test $wxUSE_FILECTRL = yes; then
10444 result=no
10445 else
10446 result=yes
10447 fi
10448 else
10449 result=$wxUSE_FILECTRL
10450 fi
10451
10452 { echo "$as_me:$LINENO: result: $result" >&5
10453 echo "${ECHO_T}$result" >&6; }
10454
10455
10456 enablestring=
10457 defaultval=$wxUSE_ALL_FEATURES
10458 if test -z "$defaultval"; then
10459 if test x"$enablestring" = xdisable; then
10460 defaultval=yes
10461 else
10462 defaultval=no
10463 fi
10464 fi
10465
10466 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10467 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10468 # Check whether --enable-fontpicker was given.
10469 if test "${enable_fontpicker+set}" = set; then
10470 enableval=$enable_fontpicker;
10471 if test "$enableval" = yes; then
10472 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10473 else
10474 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10475 fi
10476
10477 else
10478
10479 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10480
10481 fi
10482
10483
10484 eval "$wx_cv_use_fontpicker"
10485
10486 if test x"$enablestring" = xdisable; then
10487 if test $wxUSE_FONTPICKERCTRL = yes; then
10488 result=no
10489 else
10490 result=yes
10491 fi
10492 else
10493 result=$wxUSE_FONTPICKERCTRL
10494 fi
10495
10496 { echo "$as_me:$LINENO: result: $result" >&5
10497 echo "${ECHO_T}$result" >&6; }
10498
10499
10500 enablestring=
10501 defaultval=$wxUSE_ALL_FEATURES
10502 if test -z "$defaultval"; then
10503 if test x"$enablestring" = xdisable; then
10504 defaultval=yes
10505 else
10506 defaultval=no
10507 fi
10508 fi
10509
10510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10511 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10512 # Check whether --enable-gauge was given.
10513 if test "${enable_gauge+set}" = set; then
10514 enableval=$enable_gauge;
10515 if test "$enableval" = yes; then
10516 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10517 else
10518 wx_cv_use_gauge='wxUSE_GAUGE=no'
10519 fi
10520
10521 else
10522
10523 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10524
10525 fi
10526
10527
10528 eval "$wx_cv_use_gauge"
10529
10530 if test x"$enablestring" = xdisable; then
10531 if test $wxUSE_GAUGE = yes; then
10532 result=no
10533 else
10534 result=yes
10535 fi
10536 else
10537 result=$wxUSE_GAUGE
10538 fi
10539
10540 { echo "$as_me:$LINENO: result: $result" >&5
10541 echo "${ECHO_T}$result" >&6; }
10542
10543
10544 enablestring=
10545 defaultval=$wxUSE_ALL_FEATURES
10546 if test -z "$defaultval"; then
10547 if test x"$enablestring" = xdisable; then
10548 defaultval=yes
10549 else
10550 defaultval=no
10551 fi
10552 fi
10553
10554 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10555 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10556 # Check whether --enable-grid was given.
10557 if test "${enable_grid+set}" = set; then
10558 enableval=$enable_grid;
10559 if test "$enableval" = yes; then
10560 wx_cv_use_grid='wxUSE_GRID=yes'
10561 else
10562 wx_cv_use_grid='wxUSE_GRID=no'
10563 fi
10564
10565 else
10566
10567 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10568
10569 fi
10570
10571
10572 eval "$wx_cv_use_grid"
10573
10574 if test x"$enablestring" = xdisable; then
10575 if test $wxUSE_GRID = yes; then
10576 result=no
10577 else
10578 result=yes
10579 fi
10580 else
10581 result=$wxUSE_GRID
10582 fi
10583
10584 { echo "$as_me:$LINENO: result: $result" >&5
10585 echo "${ECHO_T}$result" >&6; }
10586
10587
10588 enablestring=
10589 defaultval=$wxUSE_ALL_FEATURES
10590 if test -z "$defaultval"; then
10591 if test x"$enablestring" = xdisable; then
10592 defaultval=yes
10593 else
10594 defaultval=no
10595 fi
10596 fi
10597
10598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10600 # Check whether --enable-dataviewctrl was given.
10601 if test "${enable_dataviewctrl+set}" = set; then
10602 enableval=$enable_dataviewctrl;
10603 if test "$enableval" = yes; then
10604 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10605 else
10606 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10607 fi
10608
10609 else
10610
10611 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10612
10613 fi
10614
10615
10616 eval "$wx_cv_use_dataviewctrl"
10617
10618 if test x"$enablestring" = xdisable; then
10619 if test $wxUSE_DATAVIEWCTRL = yes; then
10620 result=no
10621 else
10622 result=yes
10623 fi
10624 else
10625 result=$wxUSE_DATAVIEWCTRL
10626 fi
10627
10628 { echo "$as_me:$LINENO: result: $result" >&5
10629 echo "${ECHO_T}$result" >&6; }
10630
10631
10632 enablestring=
10633 defaultval=$wxUSE_ALL_FEATURES
10634 if test -z "$defaultval"; then
10635 if test x"$enablestring" = xdisable; then
10636 defaultval=yes
10637 else
10638 defaultval=no
10639 fi
10640 fi
10641
10642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10643 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10644 # Check whether --enable-hyperlink was given.
10645 if test "${enable_hyperlink+set}" = set; then
10646 enableval=$enable_hyperlink;
10647 if test "$enableval" = yes; then
10648 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10649 else
10650 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10651 fi
10652
10653 else
10654
10655 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10656
10657 fi
10658
10659
10660 eval "$wx_cv_use_hyperlink"
10661
10662 if test x"$enablestring" = xdisable; then
10663 if test $wxUSE_HYPERLINKCTRL = yes; then
10664 result=no
10665 else
10666 result=yes
10667 fi
10668 else
10669 result=$wxUSE_HYPERLINKCTRL
10670 fi
10671
10672 { echo "$as_me:$LINENO: result: $result" >&5
10673 echo "${ECHO_T}$result" >&6; }
10674
10675
10676 enablestring=
10677 defaultval=$wxUSE_ALL_FEATURES
10678 if test -z "$defaultval"; then
10679 if test x"$enablestring" = xdisable; then
10680 defaultval=yes
10681 else
10682 defaultval=no
10683 fi
10684 fi
10685
10686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10687 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10688 # Check whether --enable-imaglist was given.
10689 if test "${enable_imaglist+set}" = set; then
10690 enableval=$enable_imaglist;
10691 if test "$enableval" = yes; then
10692 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10693 else
10694 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10695 fi
10696
10697 else
10698
10699 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10700
10701 fi
10702
10703
10704 eval "$wx_cv_use_imaglist"
10705
10706 if test x"$enablestring" = xdisable; then
10707 if test $wxUSE_IMAGLIST = yes; then
10708 result=no
10709 else
10710 result=yes
10711 fi
10712 else
10713 result=$wxUSE_IMAGLIST
10714 fi
10715
10716 { echo "$as_me:$LINENO: result: $result" >&5
10717 echo "${ECHO_T}$result" >&6; }
10718
10719
10720 enablestring=
10721 defaultval=$wxUSE_ALL_FEATURES
10722 if test -z "$defaultval"; then
10723 if test x"$enablestring" = xdisable; then
10724 defaultval=yes
10725 else
10726 defaultval=no
10727 fi
10728 fi
10729
10730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10731 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10732 # Check whether --enable-listbook was given.
10733 if test "${enable_listbook+set}" = set; then
10734 enableval=$enable_listbook;
10735 if test "$enableval" = yes; then
10736 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10737 else
10738 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10739 fi
10740
10741 else
10742
10743 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10744
10745 fi
10746
10747
10748 eval "$wx_cv_use_listbook"
10749
10750 if test x"$enablestring" = xdisable; then
10751 if test $wxUSE_LISTBOOK = yes; then
10752 result=no
10753 else
10754 result=yes
10755 fi
10756 else
10757 result=$wxUSE_LISTBOOK
10758 fi
10759
10760 { echo "$as_me:$LINENO: result: $result" >&5
10761 echo "${ECHO_T}$result" >&6; }
10762
10763
10764 enablestring=
10765 defaultval=$wxUSE_ALL_FEATURES
10766 if test -z "$defaultval"; then
10767 if test x"$enablestring" = xdisable; then
10768 defaultval=yes
10769 else
10770 defaultval=no
10771 fi
10772 fi
10773
10774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10775 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10776 # Check whether --enable-listbox was given.
10777 if test "${enable_listbox+set}" = set; then
10778 enableval=$enable_listbox;
10779 if test "$enableval" = yes; then
10780 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10781 else
10782 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10783 fi
10784
10785 else
10786
10787 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10788
10789 fi
10790
10791
10792 eval "$wx_cv_use_listbox"
10793
10794 if test x"$enablestring" = xdisable; then
10795 if test $wxUSE_LISTBOX = yes; then
10796 result=no
10797 else
10798 result=yes
10799 fi
10800 else
10801 result=$wxUSE_LISTBOX
10802 fi
10803
10804 { echo "$as_me:$LINENO: result: $result" >&5
10805 echo "${ECHO_T}$result" >&6; }
10806
10807
10808 enablestring=
10809 defaultval=$wxUSE_ALL_FEATURES
10810 if test -z "$defaultval"; then
10811 if test x"$enablestring" = xdisable; then
10812 defaultval=yes
10813 else
10814 defaultval=no
10815 fi
10816 fi
10817
10818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10819 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10820 # Check whether --enable-listctrl was given.
10821 if test "${enable_listctrl+set}" = set; then
10822 enableval=$enable_listctrl;
10823 if test "$enableval" = yes; then
10824 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10825 else
10826 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10827 fi
10828
10829 else
10830
10831 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10832
10833 fi
10834
10835
10836 eval "$wx_cv_use_listctrl"
10837
10838 if test x"$enablestring" = xdisable; then
10839 if test $wxUSE_LISTCTRL = yes; then
10840 result=no
10841 else
10842 result=yes
10843 fi
10844 else
10845 result=$wxUSE_LISTCTRL
10846 fi
10847
10848 { echo "$as_me:$LINENO: result: $result" >&5
10849 echo "${ECHO_T}$result" >&6; }
10850
10851
10852 enablestring=
10853 defaultval=$wxUSE_ALL_FEATURES
10854 if test -z "$defaultval"; then
10855 if test x"$enablestring" = xdisable; then
10856 defaultval=yes
10857 else
10858 defaultval=no
10859 fi
10860 fi
10861
10862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10863 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10864 # Check whether --enable-notebook was given.
10865 if test "${enable_notebook+set}" = set; then
10866 enableval=$enable_notebook;
10867 if test "$enableval" = yes; then
10868 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10869 else
10870 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10871 fi
10872
10873 else
10874
10875 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10876
10877 fi
10878
10879
10880 eval "$wx_cv_use_notebook"
10881
10882 if test x"$enablestring" = xdisable; then
10883 if test $wxUSE_NOTEBOOK = yes; then
10884 result=no
10885 else
10886 result=yes
10887 fi
10888 else
10889 result=$wxUSE_NOTEBOOK
10890 fi
10891
10892 { echo "$as_me:$LINENO: result: $result" >&5
10893 echo "${ECHO_T}$result" >&6; }
10894
10895
10896 enablestring=
10897 defaultval=$wxUSE_ALL_FEATURES
10898 if test -z "$defaultval"; then
10899 if test x"$enablestring" = xdisable; then
10900 defaultval=yes
10901 else
10902 defaultval=no
10903 fi
10904 fi
10905
10906 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10907 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10908 # Check whether --enable-notifmsg was given.
10909 if test "${enable_notifmsg+set}" = set; then
10910 enableval=$enable_notifmsg;
10911 if test "$enableval" = yes; then
10912 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10913 else
10914 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10915 fi
10916
10917 else
10918
10919 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10920
10921 fi
10922
10923
10924 eval "$wx_cv_use_notifmsg"
10925
10926 if test x"$enablestring" = xdisable; then
10927 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10928 result=no
10929 else
10930 result=yes
10931 fi
10932 else
10933 result=$wxUSE_NOTIFICATION_MESSAGE
10934 fi
10935
10936 { echo "$as_me:$LINENO: result: $result" >&5
10937 echo "${ECHO_T}$result" >&6; }
10938
10939
10940 enablestring=
10941 defaultval=$wxUSE_ALL_FEATURES
10942 if test -z "$defaultval"; then
10943 if test x"$enablestring" = xdisable; then
10944 defaultval=yes
10945 else
10946 defaultval=no
10947 fi
10948 fi
10949
10950 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10951 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10952 # Check whether --enable-odcombobox was given.
10953 if test "${enable_odcombobox+set}" = set; then
10954 enableval=$enable_odcombobox;
10955 if test "$enableval" = yes; then
10956 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10957 else
10958 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10959 fi
10960
10961 else
10962
10963 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10964
10965 fi
10966
10967
10968 eval "$wx_cv_use_odcombobox"
10969
10970 if test x"$enablestring" = xdisable; then
10971 if test $wxUSE_ODCOMBOBOX = yes; then
10972 result=no
10973 else
10974 result=yes
10975 fi
10976 else
10977 result=$wxUSE_ODCOMBOBOX
10978 fi
10979
10980 { echo "$as_me:$LINENO: result: $result" >&5
10981 echo "${ECHO_T}$result" >&6; }
10982
10983
10984 enablestring=
10985 defaultval=$wxUSE_ALL_FEATURES
10986 if test -z "$defaultval"; then
10987 if test x"$enablestring" = xdisable; then
10988 defaultval=yes
10989 else
10990 defaultval=no
10991 fi
10992 fi
10993
10994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10995 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10996 # Check whether --enable-radiobox was given.
10997 if test "${enable_radiobox+set}" = set; then
10998 enableval=$enable_radiobox;
10999 if test "$enableval" = yes; then
11000 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
11001 else
11002 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
11003 fi
11004
11005 else
11006
11007 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
11008
11009 fi
11010
11011
11012 eval "$wx_cv_use_radiobox"
11013
11014 if test x"$enablestring" = xdisable; then
11015 if test $wxUSE_RADIOBOX = yes; then
11016 result=no
11017 else
11018 result=yes
11019 fi
11020 else
11021 result=$wxUSE_RADIOBOX
11022 fi
11023
11024 { echo "$as_me:$LINENO: result: $result" >&5
11025 echo "${ECHO_T}$result" >&6; }
11026
11027
11028 enablestring=
11029 defaultval=$wxUSE_ALL_FEATURES
11030 if test -z "$defaultval"; then
11031 if test x"$enablestring" = xdisable; then
11032 defaultval=yes
11033 else
11034 defaultval=no
11035 fi
11036 fi
11037
11038 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
11039 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
11040 # Check whether --enable-radiobtn was given.
11041 if test "${enable_radiobtn+set}" = set; then
11042 enableval=$enable_radiobtn;
11043 if test "$enableval" = yes; then
11044 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
11045 else
11046 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
11047 fi
11048
11049 else
11050
11051 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
11052
11053 fi
11054
11055
11056 eval "$wx_cv_use_radiobtn"
11057
11058 if test x"$enablestring" = xdisable; then
11059 if test $wxUSE_RADIOBTN = yes; then
11060 result=no
11061 else
11062 result=yes
11063 fi
11064 else
11065 result=$wxUSE_RADIOBTN
11066 fi
11067
11068 { echo "$as_me:$LINENO: result: $result" >&5
11069 echo "${ECHO_T}$result" >&6; }
11070
11071
11072 enablestring=
11073 defaultval=$wxUSE_ALL_FEATURES
11074 if test -z "$defaultval"; then
11075 if test x"$enablestring" = xdisable; then
11076 defaultval=yes
11077 else
11078 defaultval=no
11079 fi
11080 fi
11081
11082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11083 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11084 # Check whether --enable-sash was given.
11085 if test "${enable_sash+set}" = set; then
11086 enableval=$enable_sash;
11087 if test "$enableval" = yes; then
11088 wx_cv_use_sash='wxUSE_SASH=yes'
11089 else
11090 wx_cv_use_sash='wxUSE_SASH=no'
11091 fi
11092
11093 else
11094
11095 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11096
11097 fi
11098
11099
11100 eval "$wx_cv_use_sash"
11101
11102 if test x"$enablestring" = xdisable; then
11103 if test $wxUSE_SASH = yes; then
11104 result=no
11105 else
11106 result=yes
11107 fi
11108 else
11109 result=$wxUSE_SASH
11110 fi
11111
11112 { echo "$as_me:$LINENO: result: $result" >&5
11113 echo "${ECHO_T}$result" >&6; }
11114
11115
11116 enablestring=
11117 defaultval=$wxUSE_ALL_FEATURES
11118 if test -z "$defaultval"; then
11119 if test x"$enablestring" = xdisable; then
11120 defaultval=yes
11121 else
11122 defaultval=no
11123 fi
11124 fi
11125
11126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11127 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11128 # Check whether --enable-scrollbar was given.
11129 if test "${enable_scrollbar+set}" = set; then
11130 enableval=$enable_scrollbar;
11131 if test "$enableval" = yes; then
11132 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11133 else
11134 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11135 fi
11136
11137 else
11138
11139 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11140
11141 fi
11142
11143
11144 eval "$wx_cv_use_scrollbar"
11145
11146 if test x"$enablestring" = xdisable; then
11147 if test $wxUSE_SCROLLBAR = yes; then
11148 result=no
11149 else
11150 result=yes
11151 fi
11152 else
11153 result=$wxUSE_SCROLLBAR
11154 fi
11155
11156 { echo "$as_me:$LINENO: result: $result" >&5
11157 echo "${ECHO_T}$result" >&6; }
11158
11159
11160 enablestring=
11161 defaultval=$wxUSE_ALL_FEATURES
11162 if test -z "$defaultval"; then
11163 if test x"$enablestring" = xdisable; then
11164 defaultval=yes
11165 else
11166 defaultval=no
11167 fi
11168 fi
11169
11170 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11171 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11172 # Check whether --enable-searchctrl was given.
11173 if test "${enable_searchctrl+set}" = set; then
11174 enableval=$enable_searchctrl;
11175 if test "$enableval" = yes; then
11176 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11177 else
11178 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11179 fi
11180
11181 else
11182
11183 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11184
11185 fi
11186
11187
11188 eval "$wx_cv_use_searchctrl"
11189
11190 if test x"$enablestring" = xdisable; then
11191 if test $wxUSE_SEARCHCTRL = yes; then
11192 result=no
11193 else
11194 result=yes
11195 fi
11196 else
11197 result=$wxUSE_SEARCHCTRL
11198 fi
11199
11200 { echo "$as_me:$LINENO: result: $result" >&5
11201 echo "${ECHO_T}$result" >&6; }
11202
11203
11204 enablestring=
11205 defaultval=$wxUSE_ALL_FEATURES
11206 if test -z "$defaultval"; then
11207 if test x"$enablestring" = xdisable; then
11208 defaultval=yes
11209 else
11210 defaultval=no
11211 fi
11212 fi
11213
11214 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11215 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11216 # Check whether --enable-slider was given.
11217 if test "${enable_slider+set}" = set; then
11218 enableval=$enable_slider;
11219 if test "$enableval" = yes; then
11220 wx_cv_use_slider='wxUSE_SLIDER=yes'
11221 else
11222 wx_cv_use_slider='wxUSE_SLIDER=no'
11223 fi
11224
11225 else
11226
11227 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11228
11229 fi
11230
11231
11232 eval "$wx_cv_use_slider"
11233
11234 if test x"$enablestring" = xdisable; then
11235 if test $wxUSE_SLIDER = yes; then
11236 result=no
11237 else
11238 result=yes
11239 fi
11240 else
11241 result=$wxUSE_SLIDER
11242 fi
11243
11244 { echo "$as_me:$LINENO: result: $result" >&5
11245 echo "${ECHO_T}$result" >&6; }
11246
11247
11248 enablestring=
11249 defaultval=$wxUSE_ALL_FEATURES
11250 if test -z "$defaultval"; then
11251 if test x"$enablestring" = xdisable; then
11252 defaultval=yes
11253 else
11254 defaultval=no
11255 fi
11256 fi
11257
11258 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11259 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11260 # Check whether --enable-spinbtn was given.
11261 if test "${enable_spinbtn+set}" = set; then
11262 enableval=$enable_spinbtn;
11263 if test "$enableval" = yes; then
11264 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11265 else
11266 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11267 fi
11268
11269 else
11270
11271 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11272
11273 fi
11274
11275
11276 eval "$wx_cv_use_spinbtn"
11277
11278 if test x"$enablestring" = xdisable; then
11279 if test $wxUSE_SPINBTN = yes; then
11280 result=no
11281 else
11282 result=yes
11283 fi
11284 else
11285 result=$wxUSE_SPINBTN
11286 fi
11287
11288 { echo "$as_me:$LINENO: result: $result" >&5
11289 echo "${ECHO_T}$result" >&6; }
11290
11291
11292 enablestring=
11293 defaultval=$wxUSE_ALL_FEATURES
11294 if test -z "$defaultval"; then
11295 if test x"$enablestring" = xdisable; then
11296 defaultval=yes
11297 else
11298 defaultval=no
11299 fi
11300 fi
11301
11302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11303 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11304 # Check whether --enable-spinctrl was given.
11305 if test "${enable_spinctrl+set}" = set; then
11306 enableval=$enable_spinctrl;
11307 if test "$enableval" = yes; then
11308 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11309 else
11310 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11311 fi
11312
11313 else
11314
11315 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11316
11317 fi
11318
11319
11320 eval "$wx_cv_use_spinctrl"
11321
11322 if test x"$enablestring" = xdisable; then
11323 if test $wxUSE_SPINCTRL = yes; then
11324 result=no
11325 else
11326 result=yes
11327 fi
11328 else
11329 result=$wxUSE_SPINCTRL
11330 fi
11331
11332 { echo "$as_me:$LINENO: result: $result" >&5
11333 echo "${ECHO_T}$result" >&6; }
11334
11335
11336 enablestring=
11337 defaultval=$wxUSE_ALL_FEATURES
11338 if test -z "$defaultval"; then
11339 if test x"$enablestring" = xdisable; then
11340 defaultval=yes
11341 else
11342 defaultval=no
11343 fi
11344 fi
11345
11346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11347 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11348 # Check whether --enable-splitter was given.
11349 if test "${enable_splitter+set}" = set; then
11350 enableval=$enable_splitter;
11351 if test "$enableval" = yes; then
11352 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11353 else
11354 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11355 fi
11356
11357 else
11358
11359 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11360
11361 fi
11362
11363
11364 eval "$wx_cv_use_splitter"
11365
11366 if test x"$enablestring" = xdisable; then
11367 if test $wxUSE_SPLITTER = yes; then
11368 result=no
11369 else
11370 result=yes
11371 fi
11372 else
11373 result=$wxUSE_SPLITTER
11374 fi
11375
11376 { echo "$as_me:$LINENO: result: $result" >&5
11377 echo "${ECHO_T}$result" >&6; }
11378
11379
11380 enablestring=
11381 defaultval=$wxUSE_ALL_FEATURES
11382 if test -z "$defaultval"; then
11383 if test x"$enablestring" = xdisable; then
11384 defaultval=yes
11385 else
11386 defaultval=no
11387 fi
11388 fi
11389
11390 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11391 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11392 # Check whether --enable-statbmp was given.
11393 if test "${enable_statbmp+set}" = set; then
11394 enableval=$enable_statbmp;
11395 if test "$enableval" = yes; then
11396 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11397 else
11398 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11399 fi
11400
11401 else
11402
11403 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11404
11405 fi
11406
11407
11408 eval "$wx_cv_use_statbmp"
11409
11410 if test x"$enablestring" = xdisable; then
11411 if test $wxUSE_STATBMP = yes; then
11412 result=no
11413 else
11414 result=yes
11415 fi
11416 else
11417 result=$wxUSE_STATBMP
11418 fi
11419
11420 { echo "$as_me:$LINENO: result: $result" >&5
11421 echo "${ECHO_T}$result" >&6; }
11422
11423
11424 enablestring=
11425 defaultval=$wxUSE_ALL_FEATURES
11426 if test -z "$defaultval"; then
11427 if test x"$enablestring" = xdisable; then
11428 defaultval=yes
11429 else
11430 defaultval=no
11431 fi
11432 fi
11433
11434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11435 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11436 # Check whether --enable-statbox was given.
11437 if test "${enable_statbox+set}" = set; then
11438 enableval=$enable_statbox;
11439 if test "$enableval" = yes; then
11440 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11441 else
11442 wx_cv_use_statbox='wxUSE_STATBOX=no'
11443 fi
11444
11445 else
11446
11447 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11448
11449 fi
11450
11451
11452 eval "$wx_cv_use_statbox"
11453
11454 if test x"$enablestring" = xdisable; then
11455 if test $wxUSE_STATBOX = yes; then
11456 result=no
11457 else
11458 result=yes
11459 fi
11460 else
11461 result=$wxUSE_STATBOX
11462 fi
11463
11464 { echo "$as_me:$LINENO: result: $result" >&5
11465 echo "${ECHO_T}$result" >&6; }
11466
11467
11468 enablestring=
11469 defaultval=$wxUSE_ALL_FEATURES
11470 if test -z "$defaultval"; then
11471 if test x"$enablestring" = xdisable; then
11472 defaultval=yes
11473 else
11474 defaultval=no
11475 fi
11476 fi
11477
11478 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11479 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11480 # Check whether --enable-statline was given.
11481 if test "${enable_statline+set}" = set; then
11482 enableval=$enable_statline;
11483 if test "$enableval" = yes; then
11484 wx_cv_use_statline='wxUSE_STATLINE=yes'
11485 else
11486 wx_cv_use_statline='wxUSE_STATLINE=no'
11487 fi
11488
11489 else
11490
11491 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11492
11493 fi
11494
11495
11496 eval "$wx_cv_use_statline"
11497
11498 if test x"$enablestring" = xdisable; then
11499 if test $wxUSE_STATLINE = yes; then
11500 result=no
11501 else
11502 result=yes
11503 fi
11504 else
11505 result=$wxUSE_STATLINE
11506 fi
11507
11508 { echo "$as_me:$LINENO: result: $result" >&5
11509 echo "${ECHO_T}$result" >&6; }
11510
11511
11512 enablestring=
11513 defaultval=$wxUSE_ALL_FEATURES
11514 if test -z "$defaultval"; then
11515 if test x"$enablestring" = xdisable; then
11516 defaultval=yes
11517 else
11518 defaultval=no
11519 fi
11520 fi
11521
11522 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11523 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11524 # Check whether --enable-stattext was given.
11525 if test "${enable_stattext+set}" = set; then
11526 enableval=$enable_stattext;
11527 if test "$enableval" = yes; then
11528 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11529 else
11530 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11531 fi
11532
11533 else
11534
11535 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11536
11537 fi
11538
11539
11540 eval "$wx_cv_use_stattext"
11541
11542 if test x"$enablestring" = xdisable; then
11543 if test $wxUSE_STATTEXT = yes; then
11544 result=no
11545 else
11546 result=yes
11547 fi
11548 else
11549 result=$wxUSE_STATTEXT
11550 fi
11551
11552 { echo "$as_me:$LINENO: result: $result" >&5
11553 echo "${ECHO_T}$result" >&6; }
11554
11555
11556 enablestring=
11557 defaultval=$wxUSE_ALL_FEATURES
11558 if test -z "$defaultval"; then
11559 if test x"$enablestring" = xdisable; then
11560 defaultval=yes
11561 else
11562 defaultval=no
11563 fi
11564 fi
11565
11566 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11567 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11568 # Check whether --enable-statusbar was given.
11569 if test "${enable_statusbar+set}" = set; then
11570 enableval=$enable_statusbar;
11571 if test "$enableval" = yes; then
11572 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11573 else
11574 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11575 fi
11576
11577 else
11578
11579 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11580
11581 fi
11582
11583
11584 eval "$wx_cv_use_statusbar"
11585
11586 if test x"$enablestring" = xdisable; then
11587 if test $wxUSE_STATUSBAR = yes; then
11588 result=no
11589 else
11590 result=yes
11591 fi
11592 else
11593 result=$wxUSE_STATUSBAR
11594 fi
11595
11596 { echo "$as_me:$LINENO: result: $result" >&5
11597 echo "${ECHO_T}$result" >&6; }
11598
11599
11600 enablestring=
11601 defaultval=$wxUSE_ALL_FEATURES
11602 if test -z "$defaultval"; then
11603 if test x"$enablestring" = xdisable; then
11604 defaultval=yes
11605 else
11606 defaultval=no
11607 fi
11608 fi
11609
11610 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11611 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11612 # Check whether --enable-tabdialog was given.
11613 if test "${enable_tabdialog+set}" = set; then
11614 enableval=$enable_tabdialog;
11615 if test "$enableval" = yes; then
11616 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11617 else
11618 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11619 fi
11620
11621 else
11622
11623 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11624
11625 fi
11626
11627
11628 eval "$wx_cv_use_tabdialog"
11629
11630 if test x"$enablestring" = xdisable; then
11631 if test $wxUSE_TAB_DIALOG = yes; then
11632 result=no
11633 else
11634 result=yes
11635 fi
11636 else
11637 result=$wxUSE_TAB_DIALOG
11638 fi
11639
11640 { echo "$as_me:$LINENO: result: $result" >&5
11641 echo "${ECHO_T}$result" >&6; }
11642
11643
11644 enablestring=
11645 defaultval=$wxUSE_ALL_FEATURES
11646 if test -z "$defaultval"; then
11647 if test x"$enablestring" = xdisable; then
11648 defaultval=yes
11649 else
11650 defaultval=no
11651 fi
11652 fi
11653
11654 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11655 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11656 # Check whether --enable-taskbaricon was given.
11657 if test "${enable_taskbaricon+set}" = set; then
11658 enableval=$enable_taskbaricon;
11659 if test "$enableval" = yes; then
11660 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11661 else
11662 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11663 fi
11664
11665 else
11666
11667 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11668
11669 fi
11670
11671
11672 eval "$wx_cv_use_taskbaricon"
11673
11674 if test x"$enablestring" = xdisable; then
11675 if test $wxUSE_TASKBARICON = yes; then
11676 result=no
11677 else
11678 result=yes
11679 fi
11680 else
11681 result=$wxUSE_TASKBARICON
11682 fi
11683
11684 { echo "$as_me:$LINENO: result: $result" >&5
11685 echo "${ECHO_T}$result" >&6; }
11686
11687
11688 enablestring=
11689 defaultval=$wxUSE_ALL_FEATURES
11690 if test -z "$defaultval"; then
11691 if test x"$enablestring" = xdisable; then
11692 defaultval=yes
11693 else
11694 defaultval=no
11695 fi
11696 fi
11697
11698 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11699 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11700 # Check whether --enable-textctrl was given.
11701 if test "${enable_textctrl+set}" = set; then
11702 enableval=$enable_textctrl;
11703 if test "$enableval" = yes; then
11704 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11705 else
11706 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11707 fi
11708
11709 else
11710
11711 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11712
11713 fi
11714
11715
11716 eval "$wx_cv_use_textctrl"
11717
11718 if test x"$enablestring" = xdisable; then
11719 if test $wxUSE_TEXTCTRL = yes; then
11720 result=no
11721 else
11722 result=yes
11723 fi
11724 else
11725 result=$wxUSE_TEXTCTRL
11726 fi
11727
11728 { echo "$as_me:$LINENO: result: $result" >&5
11729 echo "${ECHO_T}$result" >&6; }
11730
11731
11732 enablestring=
11733 defaultval=$wxUSE_ALL_FEATURES
11734 if test -z "$defaultval"; then
11735 if test x"$enablestring" = xdisable; then
11736 defaultval=yes
11737 else
11738 defaultval=no
11739 fi
11740 fi
11741
11742 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11743 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11744 # Check whether --enable-togglebtn was given.
11745 if test "${enable_togglebtn+set}" = set; then
11746 enableval=$enable_togglebtn;
11747 if test "$enableval" = yes; then
11748 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11749 else
11750 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11751 fi
11752
11753 else
11754
11755 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11756
11757 fi
11758
11759
11760 eval "$wx_cv_use_togglebtn"
11761
11762 if test x"$enablestring" = xdisable; then
11763 if test $wxUSE_TOGGLEBTN = yes; then
11764 result=no
11765 else
11766 result=yes
11767 fi
11768 else
11769 result=$wxUSE_TOGGLEBTN
11770 fi
11771
11772 { echo "$as_me:$LINENO: result: $result" >&5
11773 echo "${ECHO_T}$result" >&6; }
11774
11775
11776 enablestring=
11777 defaultval=$wxUSE_ALL_FEATURES
11778 if test -z "$defaultval"; then
11779 if test x"$enablestring" = xdisable; then
11780 defaultval=yes
11781 else
11782 defaultval=no
11783 fi
11784 fi
11785
11786 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11787 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11788 # Check whether --enable-toolbar was given.
11789 if test "${enable_toolbar+set}" = set; then
11790 enableval=$enable_toolbar;
11791 if test "$enableval" = yes; then
11792 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11793 else
11794 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11795 fi
11796
11797 else
11798
11799 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11800
11801 fi
11802
11803
11804 eval "$wx_cv_use_toolbar"
11805
11806 if test x"$enablestring" = xdisable; then
11807 if test $wxUSE_TOOLBAR = yes; then
11808 result=no
11809 else
11810 result=yes
11811 fi
11812 else
11813 result=$wxUSE_TOOLBAR
11814 fi
11815
11816 { echo "$as_me:$LINENO: result: $result" >&5
11817 echo "${ECHO_T}$result" >&6; }
11818
11819
11820 enablestring=
11821 defaultval=$wxUSE_ALL_FEATURES
11822 if test -z "$defaultval"; then
11823 if test x"$enablestring" = xdisable; then
11824 defaultval=yes
11825 else
11826 defaultval=no
11827 fi
11828 fi
11829
11830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11831 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11832 # Check whether --enable-tbarnative was given.
11833 if test "${enable_tbarnative+set}" = set; then
11834 enableval=$enable_tbarnative;
11835 if test "$enableval" = yes; then
11836 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11837 else
11838 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11839 fi
11840
11841 else
11842
11843 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11844
11845 fi
11846
11847
11848 eval "$wx_cv_use_tbarnative"
11849
11850 if test x"$enablestring" = xdisable; then
11851 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11852 result=no
11853 else
11854 result=yes
11855 fi
11856 else
11857 result=$wxUSE_TOOLBAR_NATIVE
11858 fi
11859
11860 { echo "$as_me:$LINENO: result: $result" >&5
11861 echo "${ECHO_T}$result" >&6; }
11862
11863
11864 enablestring=
11865 defaultval=$wxUSE_ALL_FEATURES
11866 if test -z "$defaultval"; then
11867 if test x"$enablestring" = xdisable; then
11868 defaultval=yes
11869 else
11870 defaultval=no
11871 fi
11872 fi
11873
11874 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11875 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11876 # Check whether --enable-treebook was given.
11877 if test "${enable_treebook+set}" = set; then
11878 enableval=$enable_treebook;
11879 if test "$enableval" = yes; then
11880 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11881 else
11882 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11883 fi
11884
11885 else
11886
11887 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11888
11889 fi
11890
11891
11892 eval "$wx_cv_use_treebook"
11893
11894 if test x"$enablestring" = xdisable; then
11895 if test $wxUSE_TREEBOOK = yes; then
11896 result=no
11897 else
11898 result=yes
11899 fi
11900 else
11901 result=$wxUSE_TREEBOOK
11902 fi
11903
11904 { echo "$as_me:$LINENO: result: $result" >&5
11905 echo "${ECHO_T}$result" >&6; }
11906
11907
11908 enablestring=
11909 defaultval=$wxUSE_ALL_FEATURES
11910 if test -z "$defaultval"; then
11911 if test x"$enablestring" = xdisable; then
11912 defaultval=yes
11913 else
11914 defaultval=no
11915 fi
11916 fi
11917
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11920 # Check whether --enable-toolbook was given.
11921 if test "${enable_toolbook+set}" = set; then
11922 enableval=$enable_toolbook;
11923 if test "$enableval" = yes; then
11924 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11925 else
11926 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11927 fi
11928
11929 else
11930
11931 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11932
11933 fi
11934
11935
11936 eval "$wx_cv_use_toolbook"
11937
11938 if test x"$enablestring" = xdisable; then
11939 if test $wxUSE_TOOLBOOK = yes; then
11940 result=no
11941 else
11942 result=yes
11943 fi
11944 else
11945 result=$wxUSE_TOOLBOOK
11946 fi
11947
11948 { echo "$as_me:$LINENO: result: $result" >&5
11949 echo "${ECHO_T}$result" >&6; }
11950
11951
11952 enablestring=
11953 defaultval=$wxUSE_ALL_FEATURES
11954 if test -z "$defaultval"; then
11955 if test x"$enablestring" = xdisable; then
11956 defaultval=yes
11957 else
11958 defaultval=no
11959 fi
11960 fi
11961
11962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11963 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11964 # Check whether --enable-treectrl was given.
11965 if test "${enable_treectrl+set}" = set; then
11966 enableval=$enable_treectrl;
11967 if test "$enableval" = yes; then
11968 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11969 else
11970 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11971 fi
11972
11973 else
11974
11975 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11976
11977 fi
11978
11979
11980 eval "$wx_cv_use_treectrl"
11981
11982 if test x"$enablestring" = xdisable; then
11983 if test $wxUSE_TREECTRL = yes; then
11984 result=no
11985 else
11986 result=yes
11987 fi
11988 else
11989 result=$wxUSE_TREECTRL
11990 fi
11991
11992 { echo "$as_me:$LINENO: result: $result" >&5
11993 echo "${ECHO_T}$result" >&6; }
11994
11995
11996 enablestring=
11997 defaultval=$wxUSE_ALL_FEATURES
11998 if test -z "$defaultval"; then
11999 if test x"$enablestring" = xdisable; then
12000 defaultval=yes
12001 else
12002 defaultval=no
12003 fi
12004 fi
12005
12006 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
12007 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
12008 # Check whether --enable-tipwindow was given.
12009 if test "${enable_tipwindow+set}" = set; then
12010 enableval=$enable_tipwindow;
12011 if test "$enableval" = yes; then
12012 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
12013 else
12014 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
12015 fi
12016
12017 else
12018
12019 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
12020
12021 fi
12022
12023
12024 eval "$wx_cv_use_tipwindow"
12025
12026 if test x"$enablestring" = xdisable; then
12027 if test $wxUSE_TIPWINDOW = yes; then
12028 result=no
12029 else
12030 result=yes
12031 fi
12032 else
12033 result=$wxUSE_TIPWINDOW
12034 fi
12035
12036 { echo "$as_me:$LINENO: result: $result" >&5
12037 echo "${ECHO_T}$result" >&6; }
12038
12039
12040 enablestring=
12041 defaultval=$wxUSE_ALL_FEATURES
12042 if test -z "$defaultval"; then
12043 if test x"$enablestring" = xdisable; then
12044 defaultval=yes
12045 else
12046 defaultval=no
12047 fi
12048 fi
12049
12050 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
12051 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
12052 # Check whether --enable-popupwin was given.
12053 if test "${enable_popupwin+set}" = set; then
12054 enableval=$enable_popupwin;
12055 if test "$enableval" = yes; then
12056 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12057 else
12058 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12059 fi
12060
12061 else
12062
12063 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12064
12065 fi
12066
12067
12068 eval "$wx_cv_use_popupwin"
12069
12070 if test x"$enablestring" = xdisable; then
12071 if test $wxUSE_POPUPWIN = yes; then
12072 result=no
12073 else
12074 result=yes
12075 fi
12076 else
12077 result=$wxUSE_POPUPWIN
12078 fi
12079
12080 { echo "$as_me:$LINENO: result: $result" >&5
12081 echo "${ECHO_T}$result" >&6; }
12082
12083
12084
12085
12086 enablestring=
12087 defaultval=$wxUSE_ALL_FEATURES
12088 if test -z "$defaultval"; then
12089 if test x"$enablestring" = xdisable; then
12090 defaultval=yes
12091 else
12092 defaultval=no
12093 fi
12094 fi
12095
12096 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12097 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12098 # Check whether --enable-commondlg was given.
12099 if test "${enable_commondlg+set}" = set; then
12100 enableval=$enable_commondlg;
12101 if test "$enableval" = yes; then
12102 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12103 else
12104 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12105 fi
12106
12107 else
12108
12109 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12110
12111 fi
12112
12113
12114 eval "$wx_cv_use_commondlg"
12115
12116 if test x"$enablestring" = xdisable; then
12117 if test $wxUSE_COMMONDLGS = yes; then
12118 result=no
12119 else
12120 result=yes
12121 fi
12122 else
12123 result=$wxUSE_COMMONDLGS
12124 fi
12125
12126 { echo "$as_me:$LINENO: result: $result" >&5
12127 echo "${ECHO_T}$result" >&6; }
12128
12129
12130 enablestring=
12131 defaultval=$wxUSE_ALL_FEATURES
12132 if test -z "$defaultval"; then
12133 if test x"$enablestring" = xdisable; then
12134 defaultval=yes
12135 else
12136 defaultval=no
12137 fi
12138 fi
12139
12140 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12141 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12142 # Check whether --enable-aboutdlg was given.
12143 if test "${enable_aboutdlg+set}" = set; then
12144 enableval=$enable_aboutdlg;
12145 if test "$enableval" = yes; then
12146 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12147 else
12148 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12149 fi
12150
12151 else
12152
12153 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12154
12155 fi
12156
12157
12158 eval "$wx_cv_use_aboutdlg"
12159
12160 if test x"$enablestring" = xdisable; then
12161 if test $wxUSE_ABOUTDLG = yes; then
12162 result=no
12163 else
12164 result=yes
12165 fi
12166 else
12167 result=$wxUSE_ABOUTDLG
12168 fi
12169
12170 { echo "$as_me:$LINENO: result: $result" >&5
12171 echo "${ECHO_T}$result" >&6; }
12172
12173
12174 enablestring=
12175 defaultval=$wxUSE_ALL_FEATURES
12176 if test -z "$defaultval"; then
12177 if test x"$enablestring" = xdisable; then
12178 defaultval=yes
12179 else
12180 defaultval=no
12181 fi
12182 fi
12183
12184 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12185 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12186 # Check whether --enable-choicedlg was given.
12187 if test "${enable_choicedlg+set}" = set; then
12188 enableval=$enable_choicedlg;
12189 if test "$enableval" = yes; then
12190 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12191 else
12192 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12193 fi
12194
12195 else
12196
12197 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12198
12199 fi
12200
12201
12202 eval "$wx_cv_use_choicedlg"
12203
12204 if test x"$enablestring" = xdisable; then
12205 if test $wxUSE_CHOICEDLG = yes; then
12206 result=no
12207 else
12208 result=yes
12209 fi
12210 else
12211 result=$wxUSE_CHOICEDLG
12212 fi
12213
12214 { echo "$as_me:$LINENO: result: $result" >&5
12215 echo "${ECHO_T}$result" >&6; }
12216
12217
12218 enablestring=
12219 defaultval=$wxUSE_ALL_FEATURES
12220 if test -z "$defaultval"; then
12221 if test x"$enablestring" = xdisable; then
12222 defaultval=yes
12223 else
12224 defaultval=no
12225 fi
12226 fi
12227
12228 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12229 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12230 # Check whether --enable-coldlg was given.
12231 if test "${enable_coldlg+set}" = set; then
12232 enableval=$enable_coldlg;
12233 if test "$enableval" = yes; then
12234 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12235 else
12236 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12237 fi
12238
12239 else
12240
12241 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12242
12243 fi
12244
12245
12246 eval "$wx_cv_use_coldlg"
12247
12248 if test x"$enablestring" = xdisable; then
12249 if test $wxUSE_COLOURDLG = yes; then
12250 result=no
12251 else
12252 result=yes
12253 fi
12254 else
12255 result=$wxUSE_COLOURDLG
12256 fi
12257
12258 { echo "$as_me:$LINENO: result: $result" >&5
12259 echo "${ECHO_T}$result" >&6; }
12260
12261
12262 enablestring=
12263 defaultval=$wxUSE_ALL_FEATURES
12264 if test -z "$defaultval"; then
12265 if test x"$enablestring" = xdisable; then
12266 defaultval=yes
12267 else
12268 defaultval=no
12269 fi
12270 fi
12271
12272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12273 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12274 # Check whether --enable-filedlg was given.
12275 if test "${enable_filedlg+set}" = set; then
12276 enableval=$enable_filedlg;
12277 if test "$enableval" = yes; then
12278 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12279 else
12280 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12281 fi
12282
12283 else
12284
12285 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12286
12287 fi
12288
12289
12290 eval "$wx_cv_use_filedlg"
12291
12292 if test x"$enablestring" = xdisable; then
12293 if test $wxUSE_FILEDLG = yes; then
12294 result=no
12295 else
12296 result=yes
12297 fi
12298 else
12299 result=$wxUSE_FILEDLG
12300 fi
12301
12302 { echo "$as_me:$LINENO: result: $result" >&5
12303 echo "${ECHO_T}$result" >&6; }
12304
12305
12306 enablestring=
12307 defaultval=$wxUSE_ALL_FEATURES
12308 if test -z "$defaultval"; then
12309 if test x"$enablestring" = xdisable; then
12310 defaultval=yes
12311 else
12312 defaultval=no
12313 fi
12314 fi
12315
12316 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12317 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12318 # Check whether --enable-finddlg was given.
12319 if test "${enable_finddlg+set}" = set; then
12320 enableval=$enable_finddlg;
12321 if test "$enableval" = yes; then
12322 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12323 else
12324 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12325 fi
12326
12327 else
12328
12329 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12330
12331 fi
12332
12333
12334 eval "$wx_cv_use_finddlg"
12335
12336 if test x"$enablestring" = xdisable; then
12337 if test $wxUSE_FINDREPLDLG = yes; then
12338 result=no
12339 else
12340 result=yes
12341 fi
12342 else
12343 result=$wxUSE_FINDREPLDLG
12344 fi
12345
12346 { echo "$as_me:$LINENO: result: $result" >&5
12347 echo "${ECHO_T}$result" >&6; }
12348
12349
12350 enablestring=
12351 defaultval=$wxUSE_ALL_FEATURES
12352 if test -z "$defaultval"; then
12353 if test x"$enablestring" = xdisable; then
12354 defaultval=yes
12355 else
12356 defaultval=no
12357 fi
12358 fi
12359
12360 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12361 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12362 # Check whether --enable-fontdlg was given.
12363 if test "${enable_fontdlg+set}" = set; then
12364 enableval=$enable_fontdlg;
12365 if test "$enableval" = yes; then
12366 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12367 else
12368 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12369 fi
12370
12371 else
12372
12373 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12374
12375 fi
12376
12377
12378 eval "$wx_cv_use_fontdlg"
12379
12380 if test x"$enablestring" = xdisable; then
12381 if test $wxUSE_FONTDLG = yes; then
12382 result=no
12383 else
12384 result=yes
12385 fi
12386 else
12387 result=$wxUSE_FONTDLG
12388 fi
12389
12390 { echo "$as_me:$LINENO: result: $result" >&5
12391 echo "${ECHO_T}$result" >&6; }
12392
12393
12394 enablestring=
12395 defaultval=$wxUSE_ALL_FEATURES
12396 if test -z "$defaultval"; then
12397 if test x"$enablestring" = xdisable; then
12398 defaultval=yes
12399 else
12400 defaultval=no
12401 fi
12402 fi
12403
12404 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12405 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12406 # Check whether --enable-dirdlg was given.
12407 if test "${enable_dirdlg+set}" = set; then
12408 enableval=$enable_dirdlg;
12409 if test "$enableval" = yes; then
12410 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12411 else
12412 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12413 fi
12414
12415 else
12416
12417 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12418
12419 fi
12420
12421
12422 eval "$wx_cv_use_dirdlg"
12423
12424 if test x"$enablestring" = xdisable; then
12425 if test $wxUSE_DIRDLG = yes; then
12426 result=no
12427 else
12428 result=yes
12429 fi
12430 else
12431 result=$wxUSE_DIRDLG
12432 fi
12433
12434 { echo "$as_me:$LINENO: result: $result" >&5
12435 echo "${ECHO_T}$result" >&6; }
12436
12437
12438 enablestring=
12439 defaultval=$wxUSE_ALL_FEATURES
12440 if test -z "$defaultval"; then
12441 if test x"$enablestring" = xdisable; then
12442 defaultval=yes
12443 else
12444 defaultval=no
12445 fi
12446 fi
12447
12448 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12449 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12450 # Check whether --enable-msgdlg was given.
12451 if test "${enable_msgdlg+set}" = set; then
12452 enableval=$enable_msgdlg;
12453 if test "$enableval" = yes; then
12454 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12455 else
12456 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12457 fi
12458
12459 else
12460
12461 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12462
12463 fi
12464
12465
12466 eval "$wx_cv_use_msgdlg"
12467
12468 if test x"$enablestring" = xdisable; then
12469 if test $wxUSE_MSGDLG = yes; then
12470 result=no
12471 else
12472 result=yes
12473 fi
12474 else
12475 result=$wxUSE_MSGDLG
12476 fi
12477
12478 { echo "$as_me:$LINENO: result: $result" >&5
12479 echo "${ECHO_T}$result" >&6; }
12480
12481
12482 enablestring=
12483 defaultval=$wxUSE_ALL_FEATURES
12484 if test -z "$defaultval"; then
12485 if test x"$enablestring" = xdisable; then
12486 defaultval=yes
12487 else
12488 defaultval=no
12489 fi
12490 fi
12491
12492 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12493 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12494 # Check whether --enable-numberdlg was given.
12495 if test "${enable_numberdlg+set}" = set; then
12496 enableval=$enable_numberdlg;
12497 if test "$enableval" = yes; then
12498 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12499 else
12500 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12501 fi
12502
12503 else
12504
12505 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12506
12507 fi
12508
12509
12510 eval "$wx_cv_use_numberdlg"
12511
12512 if test x"$enablestring" = xdisable; then
12513 if test $wxUSE_NUMBERDLG = yes; then
12514 result=no
12515 else
12516 result=yes
12517 fi
12518 else
12519 result=$wxUSE_NUMBERDLG
12520 fi
12521
12522 { echo "$as_me:$LINENO: result: $result" >&5
12523 echo "${ECHO_T}$result" >&6; }
12524
12525
12526 enablestring=
12527 defaultval=$wxUSE_ALL_FEATURES
12528 if test -z "$defaultval"; then
12529 if test x"$enablestring" = xdisable; then
12530 defaultval=yes
12531 else
12532 defaultval=no
12533 fi
12534 fi
12535
12536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12537 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12538 # Check whether --enable-splash was given.
12539 if test "${enable_splash+set}" = set; then
12540 enableval=$enable_splash;
12541 if test "$enableval" = yes; then
12542 wx_cv_use_splash='wxUSE_SPLASH=yes'
12543 else
12544 wx_cv_use_splash='wxUSE_SPLASH=no'
12545 fi
12546
12547 else
12548
12549 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12550
12551 fi
12552
12553
12554 eval "$wx_cv_use_splash"
12555
12556 if test x"$enablestring" = xdisable; then
12557 if test $wxUSE_SPLASH = yes; then
12558 result=no
12559 else
12560 result=yes
12561 fi
12562 else
12563 result=$wxUSE_SPLASH
12564 fi
12565
12566 { echo "$as_me:$LINENO: result: $result" >&5
12567 echo "${ECHO_T}$result" >&6; }
12568
12569
12570 enablestring=
12571 defaultval=$wxUSE_ALL_FEATURES
12572 if test -z "$defaultval"; then
12573 if test x"$enablestring" = xdisable; then
12574 defaultval=yes
12575 else
12576 defaultval=no
12577 fi
12578 fi
12579
12580 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12581 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12582 # Check whether --enable-textdlg was given.
12583 if test "${enable_textdlg+set}" = set; then
12584 enableval=$enable_textdlg;
12585 if test "$enableval" = yes; then
12586 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12587 else
12588 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12589 fi
12590
12591 else
12592
12593 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12594
12595 fi
12596
12597
12598 eval "$wx_cv_use_textdlg"
12599
12600 if test x"$enablestring" = xdisable; then
12601 if test $wxUSE_TEXTDLG = yes; then
12602 result=no
12603 else
12604 result=yes
12605 fi
12606 else
12607 result=$wxUSE_TEXTDLG
12608 fi
12609
12610 { echo "$as_me:$LINENO: result: $result" >&5
12611 echo "${ECHO_T}$result" >&6; }
12612
12613
12614 enablestring=
12615 defaultval=$wxUSE_ALL_FEATURES
12616 if test -z "$defaultval"; then
12617 if test x"$enablestring" = xdisable; then
12618 defaultval=yes
12619 else
12620 defaultval=no
12621 fi
12622 fi
12623
12624 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12625 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12626 # Check whether --enable-tipdlg was given.
12627 if test "${enable_tipdlg+set}" = set; then
12628 enableval=$enable_tipdlg;
12629 if test "$enableval" = yes; then
12630 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12631 else
12632 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12633 fi
12634
12635 else
12636
12637 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12638
12639 fi
12640
12641
12642 eval "$wx_cv_use_tipdlg"
12643
12644 if test x"$enablestring" = xdisable; then
12645 if test $wxUSE_STARTUP_TIPS = yes; then
12646 result=no
12647 else
12648 result=yes
12649 fi
12650 else
12651 result=$wxUSE_STARTUP_TIPS
12652 fi
12653
12654 { echo "$as_me:$LINENO: result: $result" >&5
12655 echo "${ECHO_T}$result" >&6; }
12656
12657
12658 enablestring=
12659 defaultval=$wxUSE_ALL_FEATURES
12660 if test -z "$defaultval"; then
12661 if test x"$enablestring" = xdisable; then
12662 defaultval=yes
12663 else
12664 defaultval=no
12665 fi
12666 fi
12667
12668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12669 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12670 # Check whether --enable-progressdlg was given.
12671 if test "${enable_progressdlg+set}" = set; then
12672 enableval=$enable_progressdlg;
12673 if test "$enableval" = yes; then
12674 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12675 else
12676 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12677 fi
12678
12679 else
12680
12681 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12682
12683 fi
12684
12685
12686 eval "$wx_cv_use_progressdlg"
12687
12688 if test x"$enablestring" = xdisable; then
12689 if test $wxUSE_PROGRESSDLG = yes; then
12690 result=no
12691 else
12692 result=yes
12693 fi
12694 else
12695 result=$wxUSE_PROGRESSDLG
12696 fi
12697
12698 { echo "$as_me:$LINENO: result: $result" >&5
12699 echo "${ECHO_T}$result" >&6; }
12700
12701
12702 enablestring=
12703 defaultval=$wxUSE_ALL_FEATURES
12704 if test -z "$defaultval"; then
12705 if test x"$enablestring" = xdisable; then
12706 defaultval=yes
12707 else
12708 defaultval=no
12709 fi
12710 fi
12711
12712 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12713 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12714 # Check whether --enable-wizarddlg was given.
12715 if test "${enable_wizarddlg+set}" = set; then
12716 enableval=$enable_wizarddlg;
12717 if test "$enableval" = yes; then
12718 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12719 else
12720 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12721 fi
12722
12723 else
12724
12725 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12726
12727 fi
12728
12729
12730 eval "$wx_cv_use_wizarddlg"
12731
12732 if test x"$enablestring" = xdisable; then
12733 if test $wxUSE_WIZARDDLG = yes; then
12734 result=no
12735 else
12736 result=yes
12737 fi
12738 else
12739 result=$wxUSE_WIZARDDLG
12740 fi
12741
12742 { echo "$as_me:$LINENO: result: $result" >&5
12743 echo "${ECHO_T}$result" >&6; }
12744
12745
12746
12747
12748 enablestring=
12749 defaultval=$wxUSE_ALL_FEATURES
12750 if test -z "$defaultval"; then
12751 if test x"$enablestring" = xdisable; then
12752 defaultval=yes
12753 else
12754 defaultval=no
12755 fi
12756 fi
12757
12758 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12759 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12760 # Check whether --enable-menus was given.
12761 if test "${enable_menus+set}" = set; then
12762 enableval=$enable_menus;
12763 if test "$enableval" = yes; then
12764 wx_cv_use_menus='wxUSE_MENUS=yes'
12765 else
12766 wx_cv_use_menus='wxUSE_MENUS=no'
12767 fi
12768
12769 else
12770
12771 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12772
12773 fi
12774
12775
12776 eval "$wx_cv_use_menus"
12777
12778 if test x"$enablestring" = xdisable; then
12779 if test $wxUSE_MENUS = yes; then
12780 result=no
12781 else
12782 result=yes
12783 fi
12784 else
12785 result=$wxUSE_MENUS
12786 fi
12787
12788 { echo "$as_me:$LINENO: result: $result" >&5
12789 echo "${ECHO_T}$result" >&6; }
12790
12791
12792 enablestring=
12793 defaultval=$wxUSE_ALL_FEATURES
12794 if test -z "$defaultval"; then
12795 if test x"$enablestring" = xdisable; then
12796 defaultval=yes
12797 else
12798 defaultval=no
12799 fi
12800 fi
12801
12802 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12803 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12804 # Check whether --enable-miniframe was given.
12805 if test "${enable_miniframe+set}" = set; then
12806 enableval=$enable_miniframe;
12807 if test "$enableval" = yes; then
12808 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12809 else
12810 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12811 fi
12812
12813 else
12814
12815 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12816
12817 fi
12818
12819
12820 eval "$wx_cv_use_miniframe"
12821
12822 if test x"$enablestring" = xdisable; then
12823 if test $wxUSE_MINIFRAME = yes; then
12824 result=no
12825 else
12826 result=yes
12827 fi
12828 else
12829 result=$wxUSE_MINIFRAME
12830 fi
12831
12832 { echo "$as_me:$LINENO: result: $result" >&5
12833 echo "${ECHO_T}$result" >&6; }
12834
12835
12836 enablestring=
12837 defaultval=$wxUSE_ALL_FEATURES
12838 if test -z "$defaultval"; then
12839 if test x"$enablestring" = xdisable; then
12840 defaultval=yes
12841 else
12842 defaultval=no
12843 fi
12844 fi
12845
12846 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12847 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12848 # Check whether --enable-tooltips was given.
12849 if test "${enable_tooltips+set}" = set; then
12850 enableval=$enable_tooltips;
12851 if test "$enableval" = yes; then
12852 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12853 else
12854 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12855 fi
12856
12857 else
12858
12859 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12860
12861 fi
12862
12863
12864 eval "$wx_cv_use_tooltips"
12865
12866 if test x"$enablestring" = xdisable; then
12867 if test $wxUSE_TOOLTIPS = yes; then
12868 result=no
12869 else
12870 result=yes
12871 fi
12872 else
12873 result=$wxUSE_TOOLTIPS
12874 fi
12875
12876 { echo "$as_me:$LINENO: result: $result" >&5
12877 echo "${ECHO_T}$result" >&6; }
12878
12879
12880 enablestring=
12881 defaultval=$wxUSE_ALL_FEATURES
12882 if test -z "$defaultval"; then
12883 if test x"$enablestring" = xdisable; then
12884 defaultval=yes
12885 else
12886 defaultval=no
12887 fi
12888 fi
12889
12890 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12891 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12892 # Check whether --enable-splines was given.
12893 if test "${enable_splines+set}" = set; then
12894 enableval=$enable_splines;
12895 if test "$enableval" = yes; then
12896 wx_cv_use_splines='wxUSE_SPLINES=yes'
12897 else
12898 wx_cv_use_splines='wxUSE_SPLINES=no'
12899 fi
12900
12901 else
12902
12903 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12904
12905 fi
12906
12907
12908 eval "$wx_cv_use_splines"
12909
12910 if test x"$enablestring" = xdisable; then
12911 if test $wxUSE_SPLINES = yes; then
12912 result=no
12913 else
12914 result=yes
12915 fi
12916 else
12917 result=$wxUSE_SPLINES
12918 fi
12919
12920 { echo "$as_me:$LINENO: result: $result" >&5
12921 echo "${ECHO_T}$result" >&6; }
12922
12923
12924 enablestring=
12925 defaultval=$wxUSE_ALL_FEATURES
12926 if test -z "$defaultval"; then
12927 if test x"$enablestring" = xdisable; then
12928 defaultval=yes
12929 else
12930 defaultval=no
12931 fi
12932 fi
12933
12934 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12935 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12936 # Check whether --enable-mousewheel was given.
12937 if test "${enable_mousewheel+set}" = set; then
12938 enableval=$enable_mousewheel;
12939 if test "$enableval" = yes; then
12940 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12941 else
12942 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12943 fi
12944
12945 else
12946
12947 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12948
12949 fi
12950
12951
12952 eval "$wx_cv_use_mousewheel"
12953
12954 if test x"$enablestring" = xdisable; then
12955 if test $wxUSE_MOUSEWHEEL = yes; then
12956 result=no
12957 else
12958 result=yes
12959 fi
12960 else
12961 result=$wxUSE_MOUSEWHEEL
12962 fi
12963
12964 { echo "$as_me:$LINENO: result: $result" >&5
12965 echo "${ECHO_T}$result" >&6; }
12966
12967
12968 enablestring=
12969 defaultval=$wxUSE_ALL_FEATURES
12970 if test -z "$defaultval"; then
12971 if test x"$enablestring" = xdisable; then
12972 defaultval=yes
12973 else
12974 defaultval=no
12975 fi
12976 fi
12977
12978 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12979 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12980 # Check whether --enable-validators was given.
12981 if test "${enable_validators+set}" = set; then
12982 enableval=$enable_validators;
12983 if test "$enableval" = yes; then
12984 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12985 else
12986 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12987 fi
12988
12989 else
12990
12991 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12992
12993 fi
12994
12995
12996 eval "$wx_cv_use_validators"
12997
12998 if test x"$enablestring" = xdisable; then
12999 if test $wxUSE_VALIDATORS = yes; then
13000 result=no
13001 else
13002 result=yes
13003 fi
13004 else
13005 result=$wxUSE_VALIDATORS
13006 fi
13007
13008 { echo "$as_me:$LINENO: result: $result" >&5
13009 echo "${ECHO_T}$result" >&6; }
13010
13011
13012 enablestring=
13013 defaultval=$wxUSE_ALL_FEATURES
13014 if test -z "$defaultval"; then
13015 if test x"$enablestring" = xdisable; then
13016 defaultval=yes
13017 else
13018 defaultval=no
13019 fi
13020 fi
13021
13022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
13023 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
13024 # Check whether --enable-busyinfo was given.
13025 if test "${enable_busyinfo+set}" = set; then
13026 enableval=$enable_busyinfo;
13027 if test "$enableval" = yes; then
13028 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
13029 else
13030 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
13031 fi
13032
13033 else
13034
13035 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
13036
13037 fi
13038
13039
13040 eval "$wx_cv_use_busyinfo"
13041
13042 if test x"$enablestring" = xdisable; then
13043 if test $wxUSE_BUSYINFO = yes; then
13044 result=no
13045 else
13046 result=yes
13047 fi
13048 else
13049 result=$wxUSE_BUSYINFO
13050 fi
13051
13052 { echo "$as_me:$LINENO: result: $result" >&5
13053 echo "${ECHO_T}$result" >&6; }
13054
13055
13056 enablestring=
13057 defaultval=$wxUSE_ALL_FEATURES
13058 if test -z "$defaultval"; then
13059 if test x"$enablestring" = xdisable; then
13060 defaultval=yes
13061 else
13062 defaultval=no
13063 fi
13064 fi
13065
13066 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13067 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13068 # Check whether --enable-joystick was given.
13069 if test "${enable_joystick+set}" = set; then
13070 enableval=$enable_joystick;
13071 if test "$enableval" = yes; then
13072 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13073 else
13074 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13075 fi
13076
13077 else
13078
13079 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13080
13081 fi
13082
13083
13084 eval "$wx_cv_use_joystick"
13085
13086 if test x"$enablestring" = xdisable; then
13087 if test $wxUSE_JOYSTICK = yes; then
13088 result=no
13089 else
13090 result=yes
13091 fi
13092 else
13093 result=$wxUSE_JOYSTICK
13094 fi
13095
13096 { echo "$as_me:$LINENO: result: $result" >&5
13097 echo "${ECHO_T}$result" >&6; }
13098
13099
13100 enablestring=
13101 defaultval=$wxUSE_ALL_FEATURES
13102 if test -z "$defaultval"; then
13103 if test x"$enablestring" = xdisable; then
13104 defaultval=yes
13105 else
13106 defaultval=no
13107 fi
13108 fi
13109
13110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13111 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13112 # Check whether --enable-metafile was given.
13113 if test "${enable_metafile+set}" = set; then
13114 enableval=$enable_metafile;
13115 if test "$enableval" = yes; then
13116 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13117 else
13118 wx_cv_use_metafile='wxUSE_METAFILE=no'
13119 fi
13120
13121 else
13122
13123 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13124
13125 fi
13126
13127
13128 eval "$wx_cv_use_metafile"
13129
13130 if test x"$enablestring" = xdisable; then
13131 if test $wxUSE_METAFILE = yes; then
13132 result=no
13133 else
13134 result=yes
13135 fi
13136 else
13137 result=$wxUSE_METAFILE
13138 fi
13139
13140 { echo "$as_me:$LINENO: result: $result" >&5
13141 echo "${ECHO_T}$result" >&6; }
13142
13143
13144 enablestring=
13145 defaultval=$wxUSE_ALL_FEATURES
13146 if test -z "$defaultval"; then
13147 if test x"$enablestring" = xdisable; then
13148 defaultval=yes
13149 else
13150 defaultval=no
13151 fi
13152 fi
13153
13154 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13155 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13156 # Check whether --enable-dragimage was given.
13157 if test "${enable_dragimage+set}" = set; then
13158 enableval=$enable_dragimage;
13159 if test "$enableval" = yes; then
13160 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13161 else
13162 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13163 fi
13164
13165 else
13166
13167 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13168
13169 fi
13170
13171
13172 eval "$wx_cv_use_dragimage"
13173
13174 if test x"$enablestring" = xdisable; then
13175 if test $wxUSE_DRAGIMAGE = yes; then
13176 result=no
13177 else
13178 result=yes
13179 fi
13180 else
13181 result=$wxUSE_DRAGIMAGE
13182 fi
13183
13184 { echo "$as_me:$LINENO: result: $result" >&5
13185 echo "${ECHO_T}$result" >&6; }
13186
13187
13188 enablestring=
13189 defaultval=$wxUSE_ALL_FEATURES
13190 if test -z "$defaultval"; then
13191 if test x"$enablestring" = xdisable; then
13192 defaultval=yes
13193 else
13194 defaultval=no
13195 fi
13196 fi
13197
13198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13199 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13200 # Check whether --enable-accessibility was given.
13201 if test "${enable_accessibility+set}" = set; then
13202 enableval=$enable_accessibility;
13203 if test "$enableval" = yes; then
13204 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13205 else
13206 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13207 fi
13208
13209 else
13210
13211 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13212
13213 fi
13214
13215
13216 eval "$wx_cv_use_accessibility"
13217
13218 if test x"$enablestring" = xdisable; then
13219 if test $wxUSE_ACCESSIBILITY = yes; then
13220 result=no
13221 else
13222 result=yes
13223 fi
13224 else
13225 result=$wxUSE_ACCESSIBILITY
13226 fi
13227
13228 { echo "$as_me:$LINENO: result: $result" >&5
13229 echo "${ECHO_T}$result" >&6; }
13230
13231
13232
13233
13234 enablestring=
13235 defaultval=$wxUSE_ALL_FEATURES
13236 if test -z "$defaultval"; then
13237 if test x"$enablestring" = xdisable; then
13238 defaultval=yes
13239 else
13240 defaultval=no
13241 fi
13242 fi
13243
13244 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13245 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13246 # Check whether --enable-palette was given.
13247 if test "${enable_palette+set}" = set; then
13248 enableval=$enable_palette;
13249 if test "$enableval" = yes; then
13250 wx_cv_use_palette='wxUSE_PALETTE=yes'
13251 else
13252 wx_cv_use_palette='wxUSE_PALETTE=no'
13253 fi
13254
13255 else
13256
13257 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13258
13259 fi
13260
13261
13262 eval "$wx_cv_use_palette"
13263
13264 if test x"$enablestring" = xdisable; then
13265 if test $wxUSE_PALETTE = yes; then
13266 result=no
13267 else
13268 result=yes
13269 fi
13270 else
13271 result=$wxUSE_PALETTE
13272 fi
13273
13274 { echo "$as_me:$LINENO: result: $result" >&5
13275 echo "${ECHO_T}$result" >&6; }
13276
13277
13278 enablestring=
13279 defaultval=$wxUSE_ALL_FEATURES
13280 if test -z "$defaultval"; then
13281 if test x"$enablestring" = xdisable; then
13282 defaultval=yes
13283 else
13284 defaultval=no
13285 fi
13286 fi
13287
13288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13289 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13290 # Check whether --enable-image was given.
13291 if test "${enable_image+set}" = set; then
13292 enableval=$enable_image;
13293 if test "$enableval" = yes; then
13294 wx_cv_use_image='wxUSE_IMAGE=yes'
13295 else
13296 wx_cv_use_image='wxUSE_IMAGE=no'
13297 fi
13298
13299 else
13300
13301 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13302
13303 fi
13304
13305
13306 eval "$wx_cv_use_image"
13307
13308 if test x"$enablestring" = xdisable; then
13309 if test $wxUSE_IMAGE = yes; then
13310 result=no
13311 else
13312 result=yes
13313 fi
13314 else
13315 result=$wxUSE_IMAGE
13316 fi
13317
13318 { echo "$as_me:$LINENO: result: $result" >&5
13319 echo "${ECHO_T}$result" >&6; }
13320
13321
13322 enablestring=
13323 defaultval=$wxUSE_ALL_FEATURES
13324 if test -z "$defaultval"; then
13325 if test x"$enablestring" = xdisable; then
13326 defaultval=yes
13327 else
13328 defaultval=no
13329 fi
13330 fi
13331
13332 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13333 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13334 # Check whether --enable-gif was given.
13335 if test "${enable_gif+set}" = set; then
13336 enableval=$enable_gif;
13337 if test "$enableval" = yes; then
13338 wx_cv_use_gif='wxUSE_GIF=yes'
13339 else
13340 wx_cv_use_gif='wxUSE_GIF=no'
13341 fi
13342
13343 else
13344
13345 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13346
13347 fi
13348
13349
13350 eval "$wx_cv_use_gif"
13351
13352 if test x"$enablestring" = xdisable; then
13353 if test $wxUSE_GIF = yes; then
13354 result=no
13355 else
13356 result=yes
13357 fi
13358 else
13359 result=$wxUSE_GIF
13360 fi
13361
13362 { echo "$as_me:$LINENO: result: $result" >&5
13363 echo "${ECHO_T}$result" >&6; }
13364
13365
13366 enablestring=
13367 defaultval=$wxUSE_ALL_FEATURES
13368 if test -z "$defaultval"; then
13369 if test x"$enablestring" = xdisable; then
13370 defaultval=yes
13371 else
13372 defaultval=no
13373 fi
13374 fi
13375
13376 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13377 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13378 # Check whether --enable-pcx was given.
13379 if test "${enable_pcx+set}" = set; then
13380 enableval=$enable_pcx;
13381 if test "$enableval" = yes; then
13382 wx_cv_use_pcx='wxUSE_PCX=yes'
13383 else
13384 wx_cv_use_pcx='wxUSE_PCX=no'
13385 fi
13386
13387 else
13388
13389 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13390
13391 fi
13392
13393
13394 eval "$wx_cv_use_pcx"
13395
13396 if test x"$enablestring" = xdisable; then
13397 if test $wxUSE_PCX = yes; then
13398 result=no
13399 else
13400 result=yes
13401 fi
13402 else
13403 result=$wxUSE_PCX
13404 fi
13405
13406 { echo "$as_me:$LINENO: result: $result" >&5
13407 echo "${ECHO_T}$result" >&6; }
13408
13409
13410 enablestring=
13411 defaultval=$wxUSE_ALL_FEATURES
13412 if test -z "$defaultval"; then
13413 if test x"$enablestring" = xdisable; then
13414 defaultval=yes
13415 else
13416 defaultval=no
13417 fi
13418 fi
13419
13420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13421 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13422 # Check whether --enable-tga was given.
13423 if test "${enable_tga+set}" = set; then
13424 enableval=$enable_tga;
13425 if test "$enableval" = yes; then
13426 wx_cv_use_tga='wxUSE_TGA=yes'
13427 else
13428 wx_cv_use_tga='wxUSE_TGA=no'
13429 fi
13430
13431 else
13432
13433 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13434
13435 fi
13436
13437
13438 eval "$wx_cv_use_tga"
13439
13440 if test x"$enablestring" = xdisable; then
13441 if test $wxUSE_TGA = yes; then
13442 result=no
13443 else
13444 result=yes
13445 fi
13446 else
13447 result=$wxUSE_TGA
13448 fi
13449
13450 { echo "$as_me:$LINENO: result: $result" >&5
13451 echo "${ECHO_T}$result" >&6; }
13452
13453
13454 enablestring=
13455 defaultval=$wxUSE_ALL_FEATURES
13456 if test -z "$defaultval"; then
13457 if test x"$enablestring" = xdisable; then
13458 defaultval=yes
13459 else
13460 defaultval=no
13461 fi
13462 fi
13463
13464 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13465 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13466 # Check whether --enable-iff was given.
13467 if test "${enable_iff+set}" = set; then
13468 enableval=$enable_iff;
13469 if test "$enableval" = yes; then
13470 wx_cv_use_iff='wxUSE_IFF=yes'
13471 else
13472 wx_cv_use_iff='wxUSE_IFF=no'
13473 fi
13474
13475 else
13476
13477 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13478
13479 fi
13480
13481
13482 eval "$wx_cv_use_iff"
13483
13484 if test x"$enablestring" = xdisable; then
13485 if test $wxUSE_IFF = yes; then
13486 result=no
13487 else
13488 result=yes
13489 fi
13490 else
13491 result=$wxUSE_IFF
13492 fi
13493
13494 { echo "$as_me:$LINENO: result: $result" >&5
13495 echo "${ECHO_T}$result" >&6; }
13496
13497
13498 enablestring=
13499 defaultval=$wxUSE_ALL_FEATURES
13500 if test -z "$defaultval"; then
13501 if test x"$enablestring" = xdisable; then
13502 defaultval=yes
13503 else
13504 defaultval=no
13505 fi
13506 fi
13507
13508 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13509 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13510 # Check whether --enable-pnm was given.
13511 if test "${enable_pnm+set}" = set; then
13512 enableval=$enable_pnm;
13513 if test "$enableval" = yes; then
13514 wx_cv_use_pnm='wxUSE_PNM=yes'
13515 else
13516 wx_cv_use_pnm='wxUSE_PNM=no'
13517 fi
13518
13519 else
13520
13521 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13522
13523 fi
13524
13525
13526 eval "$wx_cv_use_pnm"
13527
13528 if test x"$enablestring" = xdisable; then
13529 if test $wxUSE_PNM = yes; then
13530 result=no
13531 else
13532 result=yes
13533 fi
13534 else
13535 result=$wxUSE_PNM
13536 fi
13537
13538 { echo "$as_me:$LINENO: result: $result" >&5
13539 echo "${ECHO_T}$result" >&6; }
13540
13541
13542 enablestring=
13543 defaultval=$wxUSE_ALL_FEATURES
13544 if test -z "$defaultval"; then
13545 if test x"$enablestring" = xdisable; then
13546 defaultval=yes
13547 else
13548 defaultval=no
13549 fi
13550 fi
13551
13552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13553 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13554 # Check whether --enable-xpm was given.
13555 if test "${enable_xpm+set}" = set; then
13556 enableval=$enable_xpm;
13557 if test "$enableval" = yes; then
13558 wx_cv_use_xpm='wxUSE_XPM=yes'
13559 else
13560 wx_cv_use_xpm='wxUSE_XPM=no'
13561 fi
13562
13563 else
13564
13565 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13566
13567 fi
13568
13569
13570 eval "$wx_cv_use_xpm"
13571
13572 if test x"$enablestring" = xdisable; then
13573 if test $wxUSE_XPM = yes; then
13574 result=no
13575 else
13576 result=yes
13577 fi
13578 else
13579 result=$wxUSE_XPM
13580 fi
13581
13582 { echo "$as_me:$LINENO: result: $result" >&5
13583 echo "${ECHO_T}$result" >&6; }
13584
13585
13586 enablestring=
13587 defaultval=$wxUSE_ALL_FEATURES
13588 if test -z "$defaultval"; then
13589 if test x"$enablestring" = xdisable; then
13590 defaultval=yes
13591 else
13592 defaultval=no
13593 fi
13594 fi
13595
13596 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13597 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13598 # Check whether --enable-ico_cur was given.
13599 if test "${enable_ico_cur+set}" = set; then
13600 enableval=$enable_ico_cur;
13601 if test "$enableval" = yes; then
13602 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13603 else
13604 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13605 fi
13606
13607 else
13608
13609 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13610
13611 fi
13612
13613
13614 eval "$wx_cv_use_ico_cur"
13615
13616 if test x"$enablestring" = xdisable; then
13617 if test $wxUSE_ICO_CUR = yes; then
13618 result=no
13619 else
13620 result=yes
13621 fi
13622 else
13623 result=$wxUSE_ICO_CUR
13624 fi
13625
13626 { echo "$as_me:$LINENO: result: $result" >&5
13627 echo "${ECHO_T}$result" >&6; }
13628
13629
13630
13631
13632 enablestring=
13633 defaultval=$wxUSE_ALL_FEATURES
13634 if test -z "$defaultval"; then
13635 if test x"$enablestring" = xdisable; then
13636 defaultval=yes
13637 else
13638 defaultval=no
13639 fi
13640 fi
13641
13642 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13643 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13644 # Check whether --enable-dccache was given.
13645 if test "${enable_dccache+set}" = set; then
13646 enableval=$enable_dccache;
13647 if test "$enableval" = yes; then
13648 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13649 else
13650 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13651 fi
13652
13653 else
13654
13655 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13656
13657 fi
13658
13659
13660 eval "$wx_cv_use_dccache"
13661
13662 if test x"$enablestring" = xdisable; then
13663 if test $wxUSE_DC_CACHEING = yes; then
13664 result=no
13665 else
13666 result=yes
13667 fi
13668 else
13669 result=$wxUSE_DC_CACHEING
13670 fi
13671
13672 { echo "$as_me:$LINENO: result: $result" >&5
13673 echo "${ECHO_T}$result" >&6; }
13674
13675
13676 enablestring=
13677 defaultval=$wxUSE_ALL_FEATURES
13678 if test -z "$defaultval"; then
13679 if test x"$enablestring" = xdisable; then
13680 defaultval=yes
13681 else
13682 defaultval=no
13683 fi
13684 fi
13685
13686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13687 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13688 # Check whether --enable-ps-in-msw was given.
13689 if test "${enable_ps_in_msw+set}" = set; then
13690 enableval=$enable_ps_in_msw;
13691 if test "$enableval" = yes; then
13692 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13693 else
13694 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13695 fi
13696
13697 else
13698
13699 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13700
13701 fi
13702
13703
13704 eval "$wx_cv_use_ps_in_msw"
13705
13706 if test x"$enablestring" = xdisable; then
13707 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13708 result=no
13709 else
13710 result=yes
13711 fi
13712 else
13713 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13714 fi
13715
13716 { echo "$as_me:$LINENO: result: $result" >&5
13717 echo "${ECHO_T}$result" >&6; }
13718
13719
13720 enablestring=
13721 defaultval=$wxUSE_ALL_FEATURES
13722 if test -z "$defaultval"; then
13723 if test x"$enablestring" = xdisable; then
13724 defaultval=yes
13725 else
13726 defaultval=no
13727 fi
13728 fi
13729
13730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13731 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13732 # Check whether --enable-ownerdrawn was given.
13733 if test "${enable_ownerdrawn+set}" = set; then
13734 enableval=$enable_ownerdrawn;
13735 if test "$enableval" = yes; then
13736 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13737 else
13738 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13739 fi
13740
13741 else
13742
13743 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13744
13745 fi
13746
13747
13748 eval "$wx_cv_use_ownerdrawn"
13749
13750 if test x"$enablestring" = xdisable; then
13751 if test $wxUSE_OWNER_DRAWN = yes; then
13752 result=no
13753 else
13754 result=yes
13755 fi
13756 else
13757 result=$wxUSE_OWNER_DRAWN
13758 fi
13759
13760 { echo "$as_me:$LINENO: result: $result" >&5
13761 echo "${ECHO_T}$result" >&6; }
13762
13763
13764 enablestring=
13765 defaultval=$wxUSE_ALL_FEATURES
13766 if test -z "$defaultval"; then
13767 if test x"$enablestring" = xdisable; then
13768 defaultval=yes
13769 else
13770 defaultval=no
13771 fi
13772 fi
13773
13774 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13775 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13776 # Check whether --enable-uxtheme was given.
13777 if test "${enable_uxtheme+set}" = set; then
13778 enableval=$enable_uxtheme;
13779 if test "$enableval" = yes; then
13780 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13781 else
13782 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13783 fi
13784
13785 else
13786
13787 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13788
13789 fi
13790
13791
13792 eval "$wx_cv_use_uxtheme"
13793
13794 if test x"$enablestring" = xdisable; then
13795 if test $wxUSE_UXTHEME = yes; then
13796 result=no
13797 else
13798 result=yes
13799 fi
13800 else
13801 result=$wxUSE_UXTHEME
13802 fi
13803
13804 { echo "$as_me:$LINENO: result: $result" >&5
13805 echo "${ECHO_T}$result" >&6; }
13806
13807
13808 enablestring=
13809 defaultval=$wxUSE_ALL_FEATURES
13810 if test -z "$defaultval"; then
13811 if test x"$enablestring" = xdisable; then
13812 defaultval=yes
13813 else
13814 defaultval=no
13815 fi
13816 fi
13817
13818 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13819 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13820 # Check whether --enable-wxdib was given.
13821 if test "${enable_wxdib+set}" = set; then
13822 enableval=$enable_wxdib;
13823 if test "$enableval" = yes; then
13824 wx_cv_use_wxdib='wxUSE_DIB=yes'
13825 else
13826 wx_cv_use_wxdib='wxUSE_DIB=no'
13827 fi
13828
13829 else
13830
13831 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13832
13833 fi
13834
13835
13836 eval "$wx_cv_use_wxdib"
13837
13838 if test x"$enablestring" = xdisable; then
13839 if test $wxUSE_DIB = yes; then
13840 result=no
13841 else
13842 result=yes
13843 fi
13844 else
13845 result=$wxUSE_DIB
13846 fi
13847
13848 { echo "$as_me:$LINENO: result: $result" >&5
13849 echo "${ECHO_T}$result" >&6; }
13850
13851
13852 if test "$wxUSE_MSW" != 1; then
13853 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13854 fi
13855
13856
13857 enablestring=
13858 defaultval=$wxUSE_ALL_FEATURES
13859 if test -z "$defaultval"; then
13860 if test x"$enablestring" = xdisable; then
13861 defaultval=yes
13862 else
13863 defaultval=no
13864 fi
13865 fi
13866
13867 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13868 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13869 # Check whether --enable-autoidman was given.
13870 if test "${enable_autoidman+set}" = set; then
13871 enableval=$enable_autoidman;
13872 if test "$enableval" = yes; then
13873 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13874 else
13875 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13876 fi
13877
13878 else
13879
13880 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13881
13882 fi
13883
13884
13885 eval "$wx_cv_use_autoidman"
13886
13887 if test x"$enablestring" = xdisable; then
13888 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13889 result=no
13890 else
13891 result=yes
13892 fi
13893 else
13894 result=$wxUSE_AUTOID_MANAGEMENT
13895 fi
13896
13897 { echo "$as_me:$LINENO: result: $result" >&5
13898 echo "${ECHO_T}$result" >&6; }
13899
13900
13901 fi
13902
13903
13904 cat >confcache <<\_ACEOF
13905 # This file is a shell script that caches the results of configure
13906 # tests run on this system so they can be shared between configure
13907 # scripts and configure runs, see configure's option --config-cache.
13908 # It is not useful on other systems. If it contains results you don't
13909 # want to keep, you may remove or edit it.
13910 #
13911 # config.status only pays attention to the cache file if you give it
13912 # the --recheck option to rerun configure.
13913 #
13914 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13915 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13916 # following values.
13917
13918 _ACEOF
13919
13920 # The following way of writing the cache mishandles newlines in values,
13921 # but we know of no workaround that is simple, portable, and efficient.
13922 # So, we kill variables containing newlines.
13923 # Ultrix sh set writes to stderr and can't be redirected directly,
13924 # and sets the high bit in the cache file unless we assign to the vars.
13925 (
13926 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13927 eval ac_val=\$$ac_var
13928 case $ac_val in #(
13929 *${as_nl}*)
13930 case $ac_var in #(
13931 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13932 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13933 esac
13934 case $ac_var in #(
13935 _ | IFS | as_nl) ;; #(
13936 *) $as_unset $ac_var ;;
13937 esac ;;
13938 esac
13939 done
13940
13941 (set) 2>&1 |
13942 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13943 *${as_nl}ac_space=\ *)
13944 # `set' does not quote correctly, so add quotes (double-quote
13945 # substitution turns \\\\ into \\, and sed turns \\ into \).
13946 sed -n \
13947 "s/'/'\\\\''/g;
13948 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13949 ;; #(
13950 *)
13951 # `set' quotes correctly as required by POSIX, so do not add quotes.
13952 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13953 ;;
13954 esac |
13955 sort
13956 ) |
13957 sed '
13958 /^ac_cv_env_/b end
13959 t clear
13960 :clear
13961 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13962 t end
13963 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13964 :end' >>confcache
13965 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13966 if test -w "$cache_file"; then
13967 test "x$cache_file" != "x/dev/null" &&
13968 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13969 echo "$as_me: updating cache $cache_file" >&6;}
13970 cat confcache >$cache_file
13971 else
13972 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13973 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13974 fi
13975 fi
13976 rm -f confcache
13977
13978 CFLAGS=${CFLAGS:=}
13979
13980
13981
13982 ac_ext=c
13983 ac_cpp='$CPP $CPPFLAGS'
13984 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13985 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13986 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13987 if test -n "$ac_tool_prefix"; then
13988 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13989 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13990 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13991 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13992 if test "${ac_cv_prog_CC+set}" = set; then
13993 echo $ECHO_N "(cached) $ECHO_C" >&6
13994 else
13995 if test -n "$CC"; then
13996 ac_cv_prog_CC="$CC" # Let the user override the test.
13997 else
13998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13999 for as_dir in $PATH
14000 do
14001 IFS=$as_save_IFS
14002 test -z "$as_dir" && as_dir=.
14003 for ac_exec_ext in '' $ac_executable_extensions; do
14004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14005 ac_cv_prog_CC="${ac_tool_prefix}gcc"
14006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14007 break 2
14008 fi
14009 done
14010 done
14011 IFS=$as_save_IFS
14012
14013 fi
14014 fi
14015 CC=$ac_cv_prog_CC
14016 if test -n "$CC"; then
14017 { echo "$as_me:$LINENO: result: $CC" >&5
14018 echo "${ECHO_T}$CC" >&6; }
14019 else
14020 { echo "$as_me:$LINENO: result: no" >&5
14021 echo "${ECHO_T}no" >&6; }
14022 fi
14023
14024
14025 fi
14026 if test -z "$ac_cv_prog_CC"; then
14027 ac_ct_CC=$CC
14028 # Extract the first word of "gcc", so it can be a program name with args.
14029 set dummy gcc; ac_word=$2
14030 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14031 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14032 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14033 echo $ECHO_N "(cached) $ECHO_C" >&6
14034 else
14035 if test -n "$ac_ct_CC"; then
14036 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14037 else
14038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14039 for as_dir in $PATH
14040 do
14041 IFS=$as_save_IFS
14042 test -z "$as_dir" && as_dir=.
14043 for ac_exec_ext in '' $ac_executable_extensions; do
14044 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14045 ac_cv_prog_ac_ct_CC="gcc"
14046 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14047 break 2
14048 fi
14049 done
14050 done
14051 IFS=$as_save_IFS
14052
14053 fi
14054 fi
14055 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14056 if test -n "$ac_ct_CC"; then
14057 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14058 echo "${ECHO_T}$ac_ct_CC" >&6; }
14059 else
14060 { echo "$as_me:$LINENO: result: no" >&5
14061 echo "${ECHO_T}no" >&6; }
14062 fi
14063
14064 if test "x$ac_ct_CC" = x; then
14065 CC=""
14066 else
14067 case $cross_compiling:$ac_tool_warned in
14068 yes:)
14069 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14070 whose name does not start with the host triplet. If you think this
14071 configuration is useful to you, please write to autoconf@gnu.org." >&5
14072 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14073 whose name does not start with the host triplet. If you think this
14074 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14075 ac_tool_warned=yes ;;
14076 esac
14077 CC=$ac_ct_CC
14078 fi
14079 else
14080 CC="$ac_cv_prog_CC"
14081 fi
14082
14083 if test -z "$CC"; then
14084 if test -n "$ac_tool_prefix"; then
14085 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14086 set dummy ${ac_tool_prefix}cc; ac_word=$2
14087 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14088 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14089 if test "${ac_cv_prog_CC+set}" = set; then
14090 echo $ECHO_N "(cached) $ECHO_C" >&6
14091 else
14092 if test -n "$CC"; then
14093 ac_cv_prog_CC="$CC" # Let the user override the test.
14094 else
14095 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14096 for as_dir in $PATH
14097 do
14098 IFS=$as_save_IFS
14099 test -z "$as_dir" && as_dir=.
14100 for ac_exec_ext in '' $ac_executable_extensions; do
14101 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14102 ac_cv_prog_CC="${ac_tool_prefix}cc"
14103 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14104 break 2
14105 fi
14106 done
14107 done
14108 IFS=$as_save_IFS
14109
14110 fi
14111 fi
14112 CC=$ac_cv_prog_CC
14113 if test -n "$CC"; then
14114 { echo "$as_me:$LINENO: result: $CC" >&5
14115 echo "${ECHO_T}$CC" >&6; }
14116 else
14117 { echo "$as_me:$LINENO: result: no" >&5
14118 echo "${ECHO_T}no" >&6; }
14119 fi
14120
14121
14122 fi
14123 fi
14124 if test -z "$CC"; then
14125 # Extract the first word of "cc", so it can be a program name with args.
14126 set dummy cc; ac_word=$2
14127 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14128 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14129 if test "${ac_cv_prog_CC+set}" = set; then
14130 echo $ECHO_N "(cached) $ECHO_C" >&6
14131 else
14132 if test -n "$CC"; then
14133 ac_cv_prog_CC="$CC" # Let the user override the test.
14134 else
14135 ac_prog_rejected=no
14136 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14137 for as_dir in $PATH
14138 do
14139 IFS=$as_save_IFS
14140 test -z "$as_dir" && as_dir=.
14141 for ac_exec_ext in '' $ac_executable_extensions; do
14142 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14143 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14144 ac_prog_rejected=yes
14145 continue
14146 fi
14147 ac_cv_prog_CC="cc"
14148 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14149 break 2
14150 fi
14151 done
14152 done
14153 IFS=$as_save_IFS
14154
14155 if test $ac_prog_rejected = yes; then
14156 # We found a bogon in the path, so make sure we never use it.
14157 set dummy $ac_cv_prog_CC
14158 shift
14159 if test $# != 0; then
14160 # We chose a different compiler from the bogus one.
14161 # However, it has the same basename, so the bogon will be chosen
14162 # first if we set CC to just the basename; use the full file name.
14163 shift
14164 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14165 fi
14166 fi
14167 fi
14168 fi
14169 CC=$ac_cv_prog_CC
14170 if test -n "$CC"; then
14171 { echo "$as_me:$LINENO: result: $CC" >&5
14172 echo "${ECHO_T}$CC" >&6; }
14173 else
14174 { echo "$as_me:$LINENO: result: no" >&5
14175 echo "${ECHO_T}no" >&6; }
14176 fi
14177
14178
14179 fi
14180 if test -z "$CC"; then
14181 if test -n "$ac_tool_prefix"; then
14182 for ac_prog in cl.exe
14183 do
14184 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14185 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14188 if test "${ac_cv_prog_CC+set}" = set; then
14189 echo $ECHO_N "(cached) $ECHO_C" >&6
14190 else
14191 if test -n "$CC"; then
14192 ac_cv_prog_CC="$CC" # Let the user override the test.
14193 else
14194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14195 for as_dir in $PATH
14196 do
14197 IFS=$as_save_IFS
14198 test -z "$as_dir" && as_dir=.
14199 for ac_exec_ext in '' $ac_executable_extensions; do
14200 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14201 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14202 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14203 break 2
14204 fi
14205 done
14206 done
14207 IFS=$as_save_IFS
14208
14209 fi
14210 fi
14211 CC=$ac_cv_prog_CC
14212 if test -n "$CC"; then
14213 { echo "$as_me:$LINENO: result: $CC" >&5
14214 echo "${ECHO_T}$CC" >&6; }
14215 else
14216 { echo "$as_me:$LINENO: result: no" >&5
14217 echo "${ECHO_T}no" >&6; }
14218 fi
14219
14220
14221 test -n "$CC" && break
14222 done
14223 fi
14224 if test -z "$CC"; then
14225 ac_ct_CC=$CC
14226 for ac_prog in cl.exe
14227 do
14228 # Extract the first word of "$ac_prog", so it can be a program name with args.
14229 set dummy $ac_prog; ac_word=$2
14230 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14231 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14232 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14233 echo $ECHO_N "(cached) $ECHO_C" >&6
14234 else
14235 if test -n "$ac_ct_CC"; then
14236 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14237 else
14238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14239 for as_dir in $PATH
14240 do
14241 IFS=$as_save_IFS
14242 test -z "$as_dir" && as_dir=.
14243 for ac_exec_ext in '' $ac_executable_extensions; do
14244 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14245 ac_cv_prog_ac_ct_CC="$ac_prog"
14246 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14247 break 2
14248 fi
14249 done
14250 done
14251 IFS=$as_save_IFS
14252
14253 fi
14254 fi
14255 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14256 if test -n "$ac_ct_CC"; then
14257 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14258 echo "${ECHO_T}$ac_ct_CC" >&6; }
14259 else
14260 { echo "$as_me:$LINENO: result: no" >&5
14261 echo "${ECHO_T}no" >&6; }
14262 fi
14263
14264
14265 test -n "$ac_ct_CC" && break
14266 done
14267
14268 if test "x$ac_ct_CC" = x; then
14269 CC=""
14270 else
14271 case $cross_compiling:$ac_tool_warned in
14272 yes:)
14273 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14274 whose name does not start with the host triplet. If you think this
14275 configuration is useful to you, please write to autoconf@gnu.org." >&5
14276 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14277 whose name does not start with the host triplet. If you think this
14278 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14279 ac_tool_warned=yes ;;
14280 esac
14281 CC=$ac_ct_CC
14282 fi
14283 fi
14284
14285 fi
14286
14287
14288 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14289 See \`config.log' for more details." >&5
14290 echo "$as_me: error: no acceptable C compiler found in \$PATH
14291 See \`config.log' for more details." >&2;}
14292 { (exit 1); exit 1; }; }
14293
14294 # Provide some information about the compiler.
14295 echo "$as_me:$LINENO: checking for C compiler version" >&5
14296 ac_compiler=`set X $ac_compile; echo $2`
14297 { (ac_try="$ac_compiler --version >&5"
14298 case "(($ac_try" in
14299 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14300 *) ac_try_echo=$ac_try;;
14301 esac
14302 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14303 (eval "$ac_compiler --version >&5") 2>&5
14304 ac_status=$?
14305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14306 (exit $ac_status); }
14307 { (ac_try="$ac_compiler -v >&5"
14308 case "(($ac_try" in
14309 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14310 *) ac_try_echo=$ac_try;;
14311 esac
14312 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14313 (eval "$ac_compiler -v >&5") 2>&5
14314 ac_status=$?
14315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14316 (exit $ac_status); }
14317 { (ac_try="$ac_compiler -V >&5"
14318 case "(($ac_try" in
14319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14320 *) ac_try_echo=$ac_try;;
14321 esac
14322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14323 (eval "$ac_compiler -V >&5") 2>&5
14324 ac_status=$?
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }
14327
14328 cat >conftest.$ac_ext <<_ACEOF
14329 /* confdefs.h. */
14330 _ACEOF
14331 cat confdefs.h >>conftest.$ac_ext
14332 cat >>conftest.$ac_ext <<_ACEOF
14333 /* end confdefs.h. */
14334
14335 int
14336 main ()
14337 {
14338
14339 ;
14340 return 0;
14341 }
14342 _ACEOF
14343 ac_clean_files_save=$ac_clean_files
14344 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14345 # Try to create an executable without -o first, disregard a.out.
14346 # It will help us diagnose broken compilers, and finding out an intuition
14347 # of exeext.
14348 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14349 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14350 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14351 #
14352 # List of possible output files, starting from the most likely.
14353 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14354 # only as a last resort. b.out is created by i960 compilers.
14355 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14356 #
14357 # The IRIX 6 linker writes into existing files which may not be
14358 # executable, retaining their permissions. Remove them first so a
14359 # subsequent execution test works.
14360 ac_rmfiles=
14361 for ac_file in $ac_files
14362 do
14363 case $ac_file in
14364 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14365 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14366 esac
14367 done
14368 rm -f $ac_rmfiles
14369
14370 if { (ac_try="$ac_link_default"
14371 case "(($ac_try" in
14372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14373 *) ac_try_echo=$ac_try;;
14374 esac
14375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14376 (eval "$ac_link_default") 2>&5
14377 ac_status=$?
14378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14379 (exit $ac_status); }; then
14380 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14381 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14382 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14383 # so that the user can short-circuit this test for compilers unknown to
14384 # Autoconf.
14385 for ac_file in $ac_files ''
14386 do
14387 test -f "$ac_file" || continue
14388 case $ac_file in
14389 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14390 ;;
14391 [ab].out )
14392 # We found the default executable, but exeext='' is most
14393 # certainly right.
14394 break;;
14395 *.* )
14396 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14397 then :; else
14398 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14399 fi
14400 # We set ac_cv_exeext here because the later test for it is not
14401 # safe: cross compilers may not add the suffix if given an `-o'
14402 # argument, so we may need to know it at that point already.
14403 # Even if this section looks crufty: it has the advantage of
14404 # actually working.
14405 break;;
14406 * )
14407 break;;
14408 esac
14409 done
14410 test "$ac_cv_exeext" = no && ac_cv_exeext=
14411
14412 else
14413 ac_file=''
14414 fi
14415
14416 { echo "$as_me:$LINENO: result: $ac_file" >&5
14417 echo "${ECHO_T}$ac_file" >&6; }
14418 if test -z "$ac_file"; then
14419 echo "$as_me: failed program was:" >&5
14420 sed 's/^/| /' conftest.$ac_ext >&5
14421
14422 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14423 See \`config.log' for more details." >&5
14424 echo "$as_me: error: C compiler cannot create executables
14425 See \`config.log' for more details." >&2;}
14426 { (exit 77); exit 77; }; }
14427 fi
14428
14429 ac_exeext=$ac_cv_exeext
14430
14431 # Check that the compiler produces executables we can run. If not, either
14432 # the compiler is broken, or we cross compile.
14433 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14434 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14435 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14436 # If not cross compiling, check that we can run a simple program.
14437 if test "$cross_compiling" != yes; then
14438 if { ac_try='./$ac_file'
14439 { (case "(($ac_try" in
14440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14441 *) ac_try_echo=$ac_try;;
14442 esac
14443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14444 (eval "$ac_try") 2>&5
14445 ac_status=$?
14446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14447 (exit $ac_status); }; }; then
14448 cross_compiling=no
14449 else
14450 if test "$cross_compiling" = maybe; then
14451 cross_compiling=yes
14452 else
14453 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14454 If you meant to cross compile, use \`--host'.
14455 See \`config.log' for more details." >&5
14456 echo "$as_me: error: cannot run C compiled programs.
14457 If you meant to cross compile, use \`--host'.
14458 See \`config.log' for more details." >&2;}
14459 { (exit 1); exit 1; }; }
14460 fi
14461 fi
14462 fi
14463 { echo "$as_me:$LINENO: result: yes" >&5
14464 echo "${ECHO_T}yes" >&6; }
14465
14466 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14467 ac_clean_files=$ac_clean_files_save
14468 # Check that the compiler produces executables we can run. If not, either
14469 # the compiler is broken, or we cross compile.
14470 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14471 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14472 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14473 echo "${ECHO_T}$cross_compiling" >&6; }
14474
14475 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14476 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14477 if { (ac_try="$ac_link"
14478 case "(($ac_try" in
14479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14480 *) ac_try_echo=$ac_try;;
14481 esac
14482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14483 (eval "$ac_link") 2>&5
14484 ac_status=$?
14485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14486 (exit $ac_status); }; then
14487 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14488 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14489 # work properly (i.e., refer to `conftest.exe'), while it won't with
14490 # `rm'.
14491 for ac_file in conftest.exe conftest conftest.*; do
14492 test -f "$ac_file" || continue
14493 case $ac_file in
14494 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14495 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14496 break;;
14497 * ) break;;
14498 esac
14499 done
14500 else
14501 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14502 See \`config.log' for more details." >&5
14503 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14504 See \`config.log' for more details." >&2;}
14505 { (exit 1); exit 1; }; }
14506 fi
14507
14508 rm -f conftest$ac_cv_exeext
14509 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14510 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14511
14512 rm -f conftest.$ac_ext
14513 EXEEXT=$ac_cv_exeext
14514 ac_exeext=$EXEEXT
14515 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14516 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14517 if test "${ac_cv_objext+set}" = set; then
14518 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 else
14520 cat >conftest.$ac_ext <<_ACEOF
14521 /* confdefs.h. */
14522 _ACEOF
14523 cat confdefs.h >>conftest.$ac_ext
14524 cat >>conftest.$ac_ext <<_ACEOF
14525 /* end confdefs.h. */
14526
14527 int
14528 main ()
14529 {
14530
14531 ;
14532 return 0;
14533 }
14534 _ACEOF
14535 rm -f conftest.o conftest.obj
14536 if { (ac_try="$ac_compile"
14537 case "(($ac_try" in
14538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14539 *) ac_try_echo=$ac_try;;
14540 esac
14541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14542 (eval "$ac_compile") 2>&5
14543 ac_status=$?
14544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14545 (exit $ac_status); }; then
14546 for ac_file in conftest.o conftest.obj conftest.*; do
14547 test -f "$ac_file" || continue;
14548 case $ac_file in
14549 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14550 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14551 break;;
14552 esac
14553 done
14554 else
14555 echo "$as_me: failed program was:" >&5
14556 sed 's/^/| /' conftest.$ac_ext >&5
14557
14558 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14559 See \`config.log' for more details." >&5
14560 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14561 See \`config.log' for more details." >&2;}
14562 { (exit 1); exit 1; }; }
14563 fi
14564
14565 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14566 fi
14567 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14568 echo "${ECHO_T}$ac_cv_objext" >&6; }
14569 OBJEXT=$ac_cv_objext
14570 ac_objext=$OBJEXT
14571 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14572 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14573 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14574 echo $ECHO_N "(cached) $ECHO_C" >&6
14575 else
14576 cat >conftest.$ac_ext <<_ACEOF
14577 /* confdefs.h. */
14578 _ACEOF
14579 cat confdefs.h >>conftest.$ac_ext
14580 cat >>conftest.$ac_ext <<_ACEOF
14581 /* end confdefs.h. */
14582
14583 int
14584 main ()
14585 {
14586 #ifndef __GNUC__
14587 choke me
14588 #endif
14589
14590 ;
14591 return 0;
14592 }
14593 _ACEOF
14594 rm -f conftest.$ac_objext
14595 if { (ac_try="$ac_compile"
14596 case "(($ac_try" in
14597 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14598 *) ac_try_echo=$ac_try;;
14599 esac
14600 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14601 (eval "$ac_compile") 2>conftest.er1
14602 ac_status=$?
14603 grep -v '^ *+' conftest.er1 >conftest.err
14604 rm -f conftest.er1
14605 cat conftest.err >&5
14606 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14607 (exit $ac_status); } && {
14608 test -z "$ac_c_werror_flag" ||
14609 test ! -s conftest.err
14610 } && test -s conftest.$ac_objext; then
14611 ac_compiler_gnu=yes
14612 else
14613 echo "$as_me: failed program was:" >&5
14614 sed 's/^/| /' conftest.$ac_ext >&5
14615
14616 ac_compiler_gnu=no
14617 fi
14618
14619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14620 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14621
14622 fi
14623 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14624 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14625 GCC=`test $ac_compiler_gnu = yes && echo yes`
14626 ac_test_CFLAGS=${CFLAGS+set}
14627 ac_save_CFLAGS=$CFLAGS
14628 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14629 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14630 if test "${ac_cv_prog_cc_g+set}" = set; then
14631 echo $ECHO_N "(cached) $ECHO_C" >&6
14632 else
14633 ac_save_c_werror_flag=$ac_c_werror_flag
14634 ac_c_werror_flag=yes
14635 ac_cv_prog_cc_g=no
14636 CFLAGS="-g"
14637 cat >conftest.$ac_ext <<_ACEOF
14638 /* confdefs.h. */
14639 _ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643
14644 int
14645 main ()
14646 {
14647
14648 ;
14649 return 0;
14650 }
14651 _ACEOF
14652 rm -f conftest.$ac_objext
14653 if { (ac_try="$ac_compile"
14654 case "(($ac_try" in
14655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14656 *) ac_try_echo=$ac_try;;
14657 esac
14658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14659 (eval "$ac_compile") 2>conftest.er1
14660 ac_status=$?
14661 grep -v '^ *+' conftest.er1 >conftest.err
14662 rm -f conftest.er1
14663 cat conftest.err >&5
14664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14665 (exit $ac_status); } && {
14666 test -z "$ac_c_werror_flag" ||
14667 test ! -s conftest.err
14668 } && test -s conftest.$ac_objext; then
14669 ac_cv_prog_cc_g=yes
14670 else
14671 echo "$as_me: failed program was:" >&5
14672 sed 's/^/| /' conftest.$ac_ext >&5
14673
14674 CFLAGS=""
14675 cat >conftest.$ac_ext <<_ACEOF
14676 /* confdefs.h. */
14677 _ACEOF
14678 cat confdefs.h >>conftest.$ac_ext
14679 cat >>conftest.$ac_ext <<_ACEOF
14680 /* end confdefs.h. */
14681
14682 int
14683 main ()
14684 {
14685
14686 ;
14687 return 0;
14688 }
14689 _ACEOF
14690 rm -f conftest.$ac_objext
14691 if { (ac_try="$ac_compile"
14692 case "(($ac_try" in
14693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14694 *) ac_try_echo=$ac_try;;
14695 esac
14696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14697 (eval "$ac_compile") 2>conftest.er1
14698 ac_status=$?
14699 grep -v '^ *+' conftest.er1 >conftest.err
14700 rm -f conftest.er1
14701 cat conftest.err >&5
14702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14703 (exit $ac_status); } && {
14704 test -z "$ac_c_werror_flag" ||
14705 test ! -s conftest.err
14706 } && test -s conftest.$ac_objext; then
14707 :
14708 else
14709 echo "$as_me: failed program was:" >&5
14710 sed 's/^/| /' conftest.$ac_ext >&5
14711
14712 ac_c_werror_flag=$ac_save_c_werror_flag
14713 CFLAGS="-g"
14714 cat >conftest.$ac_ext <<_ACEOF
14715 /* confdefs.h. */
14716 _ACEOF
14717 cat confdefs.h >>conftest.$ac_ext
14718 cat >>conftest.$ac_ext <<_ACEOF
14719 /* end confdefs.h. */
14720
14721 int
14722 main ()
14723 {
14724
14725 ;
14726 return 0;
14727 }
14728 _ACEOF
14729 rm -f conftest.$ac_objext
14730 if { (ac_try="$ac_compile"
14731 case "(($ac_try" in
14732 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14733 *) ac_try_echo=$ac_try;;
14734 esac
14735 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14736 (eval "$ac_compile") 2>conftest.er1
14737 ac_status=$?
14738 grep -v '^ *+' conftest.er1 >conftest.err
14739 rm -f conftest.er1
14740 cat conftest.err >&5
14741 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14742 (exit $ac_status); } && {
14743 test -z "$ac_c_werror_flag" ||
14744 test ! -s conftest.err
14745 } && test -s conftest.$ac_objext; then
14746 ac_cv_prog_cc_g=yes
14747 else
14748 echo "$as_me: failed program was:" >&5
14749 sed 's/^/| /' conftest.$ac_ext >&5
14750
14751
14752 fi
14753
14754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14755 fi
14756
14757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14758 fi
14759
14760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14761 ac_c_werror_flag=$ac_save_c_werror_flag
14762 fi
14763 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14764 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14765 if test "$ac_test_CFLAGS" = set; then
14766 CFLAGS=$ac_save_CFLAGS
14767 elif test $ac_cv_prog_cc_g = yes; then
14768 if test "$GCC" = yes; then
14769 CFLAGS="-g -O2"
14770 else
14771 CFLAGS="-g"
14772 fi
14773 else
14774 if test "$GCC" = yes; then
14775 CFLAGS="-O2"
14776 else
14777 CFLAGS=
14778 fi
14779 fi
14780 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14781 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14782 if test "${ac_cv_prog_cc_c89+set}" = set; then
14783 echo $ECHO_N "(cached) $ECHO_C" >&6
14784 else
14785 ac_cv_prog_cc_c89=no
14786 ac_save_CC=$CC
14787 cat >conftest.$ac_ext <<_ACEOF
14788 /* confdefs.h. */
14789 _ACEOF
14790 cat confdefs.h >>conftest.$ac_ext
14791 cat >>conftest.$ac_ext <<_ACEOF
14792 /* end confdefs.h. */
14793 #include <stdarg.h>
14794 #include <stdio.h>
14795 #include <sys/types.h>
14796 #include <sys/stat.h>
14797 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14798 struct buf { int x; };
14799 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14800 static char *e (p, i)
14801 char **p;
14802 int i;
14803 {
14804 return p[i];
14805 }
14806 static char *f (char * (*g) (char **, int), char **p, ...)
14807 {
14808 char *s;
14809 va_list v;
14810 va_start (v,p);
14811 s = g (p, va_arg (v,int));
14812 va_end (v);
14813 return s;
14814 }
14815
14816 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14817 function prototypes and stuff, but not '\xHH' hex character constants.
14818 These don't provoke an error unfortunately, instead are silently treated
14819 as 'x'. The following induces an error, until -std is added to get
14820 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14821 array size at least. It's necessary to write '\x00'==0 to get something
14822 that's true only with -std. */
14823 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14824
14825 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14826 inside strings and character constants. */
14827 #define FOO(x) 'x'
14828 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14829
14830 int test (int i, double x);
14831 struct s1 {int (*f) (int a);};
14832 struct s2 {int (*f) (double a);};
14833 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14834 int argc;
14835 char **argv;
14836 int
14837 main ()
14838 {
14839 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14840 ;
14841 return 0;
14842 }
14843 _ACEOF
14844 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14845 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14846 do
14847 CC="$ac_save_CC $ac_arg"
14848 rm -f conftest.$ac_objext
14849 if { (ac_try="$ac_compile"
14850 case "(($ac_try" in
14851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14852 *) ac_try_echo=$ac_try;;
14853 esac
14854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14855 (eval "$ac_compile") 2>conftest.er1
14856 ac_status=$?
14857 grep -v '^ *+' conftest.er1 >conftest.err
14858 rm -f conftest.er1
14859 cat conftest.err >&5
14860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14861 (exit $ac_status); } && {
14862 test -z "$ac_c_werror_flag" ||
14863 test ! -s conftest.err
14864 } && test -s conftest.$ac_objext; then
14865 ac_cv_prog_cc_c89=$ac_arg
14866 else
14867 echo "$as_me: failed program was:" >&5
14868 sed 's/^/| /' conftest.$ac_ext >&5
14869
14870
14871 fi
14872
14873 rm -f core conftest.err conftest.$ac_objext
14874 test "x$ac_cv_prog_cc_c89" != "xno" && break
14875 done
14876 rm -f conftest.$ac_ext
14877 CC=$ac_save_CC
14878
14879 fi
14880 # AC_CACHE_VAL
14881 case "x$ac_cv_prog_cc_c89" in
14882 x)
14883 { echo "$as_me:$LINENO: result: none needed" >&5
14884 echo "${ECHO_T}none needed" >&6; } ;;
14885 xno)
14886 { echo "$as_me:$LINENO: result: unsupported" >&5
14887 echo "${ECHO_T}unsupported" >&6; } ;;
14888 *)
14889 CC="$CC $ac_cv_prog_cc_c89"
14890 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14891 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14892 esac
14893
14894
14895 ac_ext=c
14896 ac_cpp='$CPP $CPPFLAGS'
14897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14900
14901
14902
14903
14904 ac_ext=c
14905 ac_cpp='$CPP $CPPFLAGS'
14906 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14907 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14908 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14909
14910 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14911 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14912 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 else
14915 cat >conftest.$ac_ext <<_ACEOF
14916 /* confdefs.h. */
14917 _ACEOF
14918 cat confdefs.h >>conftest.$ac_ext
14919 cat >>conftest.$ac_ext <<_ACEOF
14920 /* end confdefs.h. */
14921
14922 int
14923 main ()
14924 {
14925
14926 #ifndef __INTEL_COMPILER
14927 choke me
14928 #endif
14929
14930 ;
14931 return 0;
14932 }
14933 _ACEOF
14934 rm -f conftest.$ac_objext
14935 if { (ac_try="$ac_compile"
14936 case "(($ac_try" in
14937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14938 *) ac_try_echo=$ac_try;;
14939 esac
14940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14941 (eval "$ac_compile") 2>conftest.er1
14942 ac_status=$?
14943 grep -v '^ *+' conftest.er1 >conftest.err
14944 rm -f conftest.er1
14945 cat conftest.err >&5
14946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14947 (exit $ac_status); } && {
14948 test -z "$ac_c_werror_flag" ||
14949 test ! -s conftest.err
14950 } && test -s conftest.$ac_objext; then
14951 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14952 else
14953 echo "$as_me: failed program was:" >&5
14954 sed 's/^/| /' conftest.$ac_ext >&5
14955
14956 bakefile_cv_c_compiler___INTEL_COMPILER=no
14957
14958 fi
14959
14960 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14961
14962
14963 fi
14964 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14965 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14966 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14967 :; INTELCC=yes
14968 else
14969 :;
14970 fi
14971 ac_ext=c
14972 ac_cpp='$CPP $CPPFLAGS'
14973 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14974 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14975 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14976
14977
14978
14979
14980 if test "x$GCC" != "xyes"; then
14981 if test "xCC" = "xC"; then
14982 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14983 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14984 if test "${bakefile_cv_c_exto+set}" = set; then
14985 echo $ECHO_N "(cached) $ECHO_C" >&6
14986 else
14987 cat >conftest.$ac_ext <<_ACEOF
14988 /* confdefs.h. */
14989 _ACEOF
14990 cat confdefs.h >>conftest.$ac_ext
14991 cat >>conftest.$ac_ext <<_ACEOF
14992 /* end confdefs.h. */
14993
14994 int
14995 main ()
14996 {
14997
14998 ;
14999 return 0;
15000 }
15001 _ACEOF
15002 rm -f conftest.$ac_objext conftest.$ac_ext.o
15003 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15004 (eval $ac_compile) 2>&5
15005 ac_status=$?
15006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15007 (exit $ac_status); }; then
15008 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15009 case $ac_file in
15010 conftest.$ac_ext.o)
15011 bakefile_cv_c_exto="-ext o"
15012 ;;
15013 *)
15014 ;;
15015 esac
15016 done
15017 else
15018 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15019 See \`config.log' for more details." >&5
15020 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15021 See \`config.log' for more details." >&2;}
15022 { (exit 1); exit 1; }; }
15023
15024 fi
15025
15026 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15027
15028 fi
15029 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15030 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15031 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15032 if test "c" = "c"; then
15033 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15034 fi
15035 if test "c" = "cxx"; then
15036 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15037 fi
15038 fi
15039
15040 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15041 unset ac_cv_prog_cc_g
15042 ac_test_CFLAGS=${CFLAGS+set}
15043 ac_save_CFLAGS=$CFLAGS
15044 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15045 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15046 if test "${ac_cv_prog_cc_g+set}" = set; then
15047 echo $ECHO_N "(cached) $ECHO_C" >&6
15048 else
15049 ac_save_c_werror_flag=$ac_c_werror_flag
15050 ac_c_werror_flag=yes
15051 ac_cv_prog_cc_g=no
15052 CFLAGS="-g"
15053 cat >conftest.$ac_ext <<_ACEOF
15054 /* confdefs.h. */
15055 _ACEOF
15056 cat confdefs.h >>conftest.$ac_ext
15057 cat >>conftest.$ac_ext <<_ACEOF
15058 /* end confdefs.h. */
15059
15060 int
15061 main ()
15062 {
15063
15064 ;
15065 return 0;
15066 }
15067 _ACEOF
15068 rm -f conftest.$ac_objext
15069 if { (ac_try="$ac_compile"
15070 case "(($ac_try" in
15071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15072 *) ac_try_echo=$ac_try;;
15073 esac
15074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15075 (eval "$ac_compile") 2>conftest.er1
15076 ac_status=$?
15077 grep -v '^ *+' conftest.er1 >conftest.err
15078 rm -f conftest.er1
15079 cat conftest.err >&5
15080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15081 (exit $ac_status); } && {
15082 test -z "$ac_c_werror_flag" ||
15083 test ! -s conftest.err
15084 } && test -s conftest.$ac_objext; then
15085 ac_cv_prog_cc_g=yes
15086 else
15087 echo "$as_me: failed program was:" >&5
15088 sed 's/^/| /' conftest.$ac_ext >&5
15089
15090 CFLAGS=""
15091 cat >conftest.$ac_ext <<_ACEOF
15092 /* confdefs.h. */
15093 _ACEOF
15094 cat confdefs.h >>conftest.$ac_ext
15095 cat >>conftest.$ac_ext <<_ACEOF
15096 /* end confdefs.h. */
15097
15098 int
15099 main ()
15100 {
15101
15102 ;
15103 return 0;
15104 }
15105 _ACEOF
15106 rm -f conftest.$ac_objext
15107 if { (ac_try="$ac_compile"
15108 case "(($ac_try" in
15109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15110 *) ac_try_echo=$ac_try;;
15111 esac
15112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15113 (eval "$ac_compile") 2>conftest.er1
15114 ac_status=$?
15115 grep -v '^ *+' conftest.er1 >conftest.err
15116 rm -f conftest.er1
15117 cat conftest.err >&5
15118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15119 (exit $ac_status); } && {
15120 test -z "$ac_c_werror_flag" ||
15121 test ! -s conftest.err
15122 } && test -s conftest.$ac_objext; then
15123 :
15124 else
15125 echo "$as_me: failed program was:" >&5
15126 sed 's/^/| /' conftest.$ac_ext >&5
15127
15128 ac_c_werror_flag=$ac_save_c_werror_flag
15129 CFLAGS="-g"
15130 cat >conftest.$ac_ext <<_ACEOF
15131 /* confdefs.h. */
15132 _ACEOF
15133 cat confdefs.h >>conftest.$ac_ext
15134 cat >>conftest.$ac_ext <<_ACEOF
15135 /* end confdefs.h. */
15136
15137 int
15138 main ()
15139 {
15140
15141 ;
15142 return 0;
15143 }
15144 _ACEOF
15145 rm -f conftest.$ac_objext
15146 if { (ac_try="$ac_compile"
15147 case "(($ac_try" in
15148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15149 *) ac_try_echo=$ac_try;;
15150 esac
15151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15152 (eval "$ac_compile") 2>conftest.er1
15153 ac_status=$?
15154 grep -v '^ *+' conftest.er1 >conftest.err
15155 rm -f conftest.er1
15156 cat conftest.err >&5
15157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15158 (exit $ac_status); } && {
15159 test -z "$ac_c_werror_flag" ||
15160 test ! -s conftest.err
15161 } && test -s conftest.$ac_objext; then
15162 ac_cv_prog_cc_g=yes
15163 else
15164 echo "$as_me: failed program was:" >&5
15165 sed 's/^/| /' conftest.$ac_ext >&5
15166
15167
15168 fi
15169
15170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15171 fi
15172
15173 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15174 fi
15175
15176 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15177 ac_c_werror_flag=$ac_save_c_werror_flag
15178 fi
15179 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15180 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15181 if test "$ac_test_CFLAGS" = set; then
15182 CFLAGS=$ac_save_CFLAGS
15183 elif test $ac_cv_prog_cc_g = yes; then
15184 if test "$GCC" = yes; then
15185 CFLAGS="-g -O2"
15186 else
15187 CFLAGS="-g"
15188 fi
15189 else
15190 if test "$GCC" = yes; then
15191 CFLAGS="-O2"
15192 else
15193 CFLAGS=
15194 fi
15195 fi
15196 fi
15197 fi
15198
15199 case `uname -s` in
15200 AIX*)
15201
15202
15203 ac_ext=c
15204 ac_cpp='$CPP $CPPFLAGS'
15205 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15206 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15207 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15208
15209 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15210 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15211 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15212 echo $ECHO_N "(cached) $ECHO_C" >&6
15213 else
15214 cat >conftest.$ac_ext <<_ACEOF
15215 /* confdefs.h. */
15216 _ACEOF
15217 cat confdefs.h >>conftest.$ac_ext
15218 cat >>conftest.$ac_ext <<_ACEOF
15219 /* end confdefs.h. */
15220
15221 int
15222 main ()
15223 {
15224
15225 #ifndef __xlC__
15226 choke me
15227 #endif
15228
15229 ;
15230 return 0;
15231 }
15232 _ACEOF
15233 rm -f conftest.$ac_objext
15234 if { (ac_try="$ac_compile"
15235 case "(($ac_try" in
15236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15237 *) ac_try_echo=$ac_try;;
15238 esac
15239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15240 (eval "$ac_compile") 2>conftest.er1
15241 ac_status=$?
15242 grep -v '^ *+' conftest.er1 >conftest.err
15243 rm -f conftest.er1
15244 cat conftest.err >&5
15245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15246 (exit $ac_status); } && {
15247 test -z "$ac_c_werror_flag" ||
15248 test ! -s conftest.err
15249 } && test -s conftest.$ac_objext; then
15250 bakefile_cv_c_compiler___xlC__=yes
15251 else
15252 echo "$as_me: failed program was:" >&5
15253 sed 's/^/| /' conftest.$ac_ext >&5
15254
15255 bakefile_cv_c_compiler___xlC__=no
15256
15257 fi
15258
15259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15260
15261
15262 fi
15263 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15264 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15265 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15266 :; XLCC=yes
15267 else
15268 :;
15269 fi
15270 ac_ext=c
15271 ac_cpp='$CPP $CPPFLAGS'
15272 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15273 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15274 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15275
15276
15277
15278 ;;
15279
15280 Darwin)
15281
15282
15283 ac_ext=c
15284 ac_cpp='$CPP $CPPFLAGS'
15285 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15286 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15287 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15288
15289 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15290 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15291 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15292 echo $ECHO_N "(cached) $ECHO_C" >&6
15293 else
15294 cat >conftest.$ac_ext <<_ACEOF
15295 /* confdefs.h. */
15296 _ACEOF
15297 cat confdefs.h >>conftest.$ac_ext
15298 cat >>conftest.$ac_ext <<_ACEOF
15299 /* end confdefs.h. */
15300
15301 int
15302 main ()
15303 {
15304
15305 #ifndef __MWERKS__
15306 choke me
15307 #endif
15308
15309 ;
15310 return 0;
15311 }
15312 _ACEOF
15313 rm -f conftest.$ac_objext
15314 if { (ac_try="$ac_compile"
15315 case "(($ac_try" in
15316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15317 *) ac_try_echo=$ac_try;;
15318 esac
15319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15320 (eval "$ac_compile") 2>conftest.er1
15321 ac_status=$?
15322 grep -v '^ *+' conftest.er1 >conftest.err
15323 rm -f conftest.er1
15324 cat conftest.err >&5
15325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15326 (exit $ac_status); } && {
15327 test -z "$ac_c_werror_flag" ||
15328 test ! -s conftest.err
15329 } && test -s conftest.$ac_objext; then
15330 bakefile_cv_c_compiler___MWERKS__=yes
15331 else
15332 echo "$as_me: failed program was:" >&5
15333 sed 's/^/| /' conftest.$ac_ext >&5
15334
15335 bakefile_cv_c_compiler___MWERKS__=no
15336
15337 fi
15338
15339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15340
15341
15342 fi
15343 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15344 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15345 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15346 :; MWCC=yes
15347 else
15348 :;
15349 fi
15350 ac_ext=c
15351 ac_cpp='$CPP $CPPFLAGS'
15352 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15353 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15354 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15355
15356
15357
15358
15359
15360 ac_ext=c
15361 ac_cpp='$CPP $CPPFLAGS'
15362 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15363 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15364 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15365
15366 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15367 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15368 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15369 echo $ECHO_N "(cached) $ECHO_C" >&6
15370 else
15371 cat >conftest.$ac_ext <<_ACEOF
15372 /* confdefs.h. */
15373 _ACEOF
15374 cat confdefs.h >>conftest.$ac_ext
15375 cat >>conftest.$ac_ext <<_ACEOF
15376 /* end confdefs.h. */
15377
15378 int
15379 main ()
15380 {
15381
15382 #ifndef __xlC__
15383 choke me
15384 #endif
15385
15386 ;
15387 return 0;
15388 }
15389 _ACEOF
15390 rm -f conftest.$ac_objext
15391 if { (ac_try="$ac_compile"
15392 case "(($ac_try" in
15393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15394 *) ac_try_echo=$ac_try;;
15395 esac
15396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15397 (eval "$ac_compile") 2>conftest.er1
15398 ac_status=$?
15399 grep -v '^ *+' conftest.er1 >conftest.err
15400 rm -f conftest.er1
15401 cat conftest.err >&5
15402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15403 (exit $ac_status); } && {
15404 test -z "$ac_c_werror_flag" ||
15405 test ! -s conftest.err
15406 } && test -s conftest.$ac_objext; then
15407 bakefile_cv_c_compiler___xlC__=yes
15408 else
15409 echo "$as_me: failed program was:" >&5
15410 sed 's/^/| /' conftest.$ac_ext >&5
15411
15412 bakefile_cv_c_compiler___xlC__=no
15413
15414 fi
15415
15416 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15417
15418
15419 fi
15420 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15421 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15422 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15423 :; XLCC=yes
15424 else
15425 :;
15426 fi
15427 ac_ext=c
15428 ac_cpp='$CPP $CPPFLAGS'
15429 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15430 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15431 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15432
15433
15434
15435 ;;
15436
15437 IRIX*)
15438
15439
15440 ac_ext=c
15441 ac_cpp='$CPP $CPPFLAGS'
15442 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15443 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15444 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15445
15446 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15447 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15448 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15449 echo $ECHO_N "(cached) $ECHO_C" >&6
15450 else
15451 cat >conftest.$ac_ext <<_ACEOF
15452 /* confdefs.h. */
15453 _ACEOF
15454 cat confdefs.h >>conftest.$ac_ext
15455 cat >>conftest.$ac_ext <<_ACEOF
15456 /* end confdefs.h. */
15457
15458 int
15459 main ()
15460 {
15461
15462 #ifndef _SGI_COMPILER_VERSION
15463 choke me
15464 #endif
15465
15466 ;
15467 return 0;
15468 }
15469 _ACEOF
15470 rm -f conftest.$ac_objext
15471 if { (ac_try="$ac_compile"
15472 case "(($ac_try" in
15473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15474 *) ac_try_echo=$ac_try;;
15475 esac
15476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15477 (eval "$ac_compile") 2>conftest.er1
15478 ac_status=$?
15479 grep -v '^ *+' conftest.er1 >conftest.err
15480 rm -f conftest.er1
15481 cat conftest.err >&5
15482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15483 (exit $ac_status); } && {
15484 test -z "$ac_c_werror_flag" ||
15485 test ! -s conftest.err
15486 } && test -s conftest.$ac_objext; then
15487 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15488 else
15489 echo "$as_me: failed program was:" >&5
15490 sed 's/^/| /' conftest.$ac_ext >&5
15491
15492 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15493
15494 fi
15495
15496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15497
15498
15499 fi
15500 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15501 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15502 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15503 :; SGICC=yes
15504 else
15505 :;
15506 fi
15507 ac_ext=c
15508 ac_cpp='$CPP $CPPFLAGS'
15509 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15510 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15511 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15512
15513
15514
15515 ;;
15516
15517 Linux*)
15518
15519
15520 ac_ext=c
15521 ac_cpp='$CPP $CPPFLAGS'
15522 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15523 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15524 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15525
15526 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15527 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15528 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15529 echo $ECHO_N "(cached) $ECHO_C" >&6
15530 else
15531 cat >conftest.$ac_ext <<_ACEOF
15532 /* confdefs.h. */
15533 _ACEOF
15534 cat confdefs.h >>conftest.$ac_ext
15535 cat >>conftest.$ac_ext <<_ACEOF
15536 /* end confdefs.h. */
15537
15538 int
15539 main ()
15540 {
15541
15542 #ifndef __SUNPRO_C
15543 choke me
15544 #endif
15545
15546 ;
15547 return 0;
15548 }
15549 _ACEOF
15550 rm -f conftest.$ac_objext
15551 if { (ac_try="$ac_compile"
15552 case "(($ac_try" in
15553 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15554 *) ac_try_echo=$ac_try;;
15555 esac
15556 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15557 (eval "$ac_compile") 2>conftest.er1
15558 ac_status=$?
15559 grep -v '^ *+' conftest.er1 >conftest.err
15560 rm -f conftest.er1
15561 cat conftest.err >&5
15562 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15563 (exit $ac_status); } && {
15564 test -z "$ac_c_werror_flag" ||
15565 test ! -s conftest.err
15566 } && test -s conftest.$ac_objext; then
15567 bakefile_cv_c_compiler___SUNPRO_C=yes
15568 else
15569 echo "$as_me: failed program was:" >&5
15570 sed 's/^/| /' conftest.$ac_ext >&5
15571
15572 bakefile_cv_c_compiler___SUNPRO_C=no
15573
15574 fi
15575
15576 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15577
15578
15579 fi
15580 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15581 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15582 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15583 :; SUNCC=yes
15584 else
15585 :;
15586 fi
15587 ac_ext=c
15588 ac_cpp='$CPP $CPPFLAGS'
15589 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15590 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15591 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15592
15593
15594
15595 ;;
15596
15597 HP-UX*)
15598
15599
15600 ac_ext=c
15601 ac_cpp='$CPP $CPPFLAGS'
15602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15605
15606 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15607 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15608 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15609 echo $ECHO_N "(cached) $ECHO_C" >&6
15610 else
15611 cat >conftest.$ac_ext <<_ACEOF
15612 /* confdefs.h. */
15613 _ACEOF
15614 cat confdefs.h >>conftest.$ac_ext
15615 cat >>conftest.$ac_ext <<_ACEOF
15616 /* end confdefs.h. */
15617
15618 int
15619 main ()
15620 {
15621
15622 #ifndef __HP_cc
15623 choke me
15624 #endif
15625
15626 ;
15627 return 0;
15628 }
15629 _ACEOF
15630 rm -f conftest.$ac_objext
15631 if { (ac_try="$ac_compile"
15632 case "(($ac_try" in
15633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15634 *) ac_try_echo=$ac_try;;
15635 esac
15636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15637 (eval "$ac_compile") 2>conftest.er1
15638 ac_status=$?
15639 grep -v '^ *+' conftest.er1 >conftest.err
15640 rm -f conftest.er1
15641 cat conftest.err >&5
15642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15643 (exit $ac_status); } && {
15644 test -z "$ac_c_werror_flag" ||
15645 test ! -s conftest.err
15646 } && test -s conftest.$ac_objext; then
15647 bakefile_cv_c_compiler___HP_cc=yes
15648 else
15649 echo "$as_me: failed program was:" >&5
15650 sed 's/^/| /' conftest.$ac_ext >&5
15651
15652 bakefile_cv_c_compiler___HP_cc=no
15653
15654 fi
15655
15656 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15657
15658
15659 fi
15660 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15661 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15662 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15663 :; HPCC=yes
15664 else
15665 :;
15666 fi
15667 ac_ext=c
15668 ac_cpp='$CPP $CPPFLAGS'
15669 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15670 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15671 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15672
15673
15674
15675 ;;
15676
15677 OSF1)
15678
15679
15680 ac_ext=c
15681 ac_cpp='$CPP $CPPFLAGS'
15682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15685
15686 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15687 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15688 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15689 echo $ECHO_N "(cached) $ECHO_C" >&6
15690 else
15691 cat >conftest.$ac_ext <<_ACEOF
15692 /* confdefs.h. */
15693 _ACEOF
15694 cat confdefs.h >>conftest.$ac_ext
15695 cat >>conftest.$ac_ext <<_ACEOF
15696 /* end confdefs.h. */
15697
15698 int
15699 main ()
15700 {
15701
15702 #ifndef __DECC
15703 choke me
15704 #endif
15705
15706 ;
15707 return 0;
15708 }
15709 _ACEOF
15710 rm -f conftest.$ac_objext
15711 if { (ac_try="$ac_compile"
15712 case "(($ac_try" in
15713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15714 *) ac_try_echo=$ac_try;;
15715 esac
15716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15717 (eval "$ac_compile") 2>conftest.er1
15718 ac_status=$?
15719 grep -v '^ *+' conftest.er1 >conftest.err
15720 rm -f conftest.er1
15721 cat conftest.err >&5
15722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15723 (exit $ac_status); } && {
15724 test -z "$ac_c_werror_flag" ||
15725 test ! -s conftest.err
15726 } && test -s conftest.$ac_objext; then
15727 bakefile_cv_c_compiler___DECC=yes
15728 else
15729 echo "$as_me: failed program was:" >&5
15730 sed 's/^/| /' conftest.$ac_ext >&5
15731
15732 bakefile_cv_c_compiler___DECC=no
15733
15734 fi
15735
15736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15737
15738
15739 fi
15740 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15741 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15742 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15743 :; COMPAQCC=yes
15744 else
15745 :;
15746 fi
15747 ac_ext=c
15748 ac_cpp='$CPP $CPPFLAGS'
15749 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15750 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15751 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15752
15753
15754
15755 ;;
15756
15757 SunOS)
15758
15759
15760 ac_ext=c
15761 ac_cpp='$CPP $CPPFLAGS'
15762 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15763 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15764 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15765
15766 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15767 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15768 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15769 echo $ECHO_N "(cached) $ECHO_C" >&6
15770 else
15771 cat >conftest.$ac_ext <<_ACEOF
15772 /* confdefs.h. */
15773 _ACEOF
15774 cat confdefs.h >>conftest.$ac_ext
15775 cat >>conftest.$ac_ext <<_ACEOF
15776 /* end confdefs.h. */
15777
15778 int
15779 main ()
15780 {
15781
15782 #ifndef __SUNPRO_C
15783 choke me
15784 #endif
15785
15786 ;
15787 return 0;
15788 }
15789 _ACEOF
15790 rm -f conftest.$ac_objext
15791 if { (ac_try="$ac_compile"
15792 case "(($ac_try" in
15793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15794 *) ac_try_echo=$ac_try;;
15795 esac
15796 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15797 (eval "$ac_compile") 2>conftest.er1
15798 ac_status=$?
15799 grep -v '^ *+' conftest.er1 >conftest.err
15800 rm -f conftest.er1
15801 cat conftest.err >&5
15802 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15803 (exit $ac_status); } && {
15804 test -z "$ac_c_werror_flag" ||
15805 test ! -s conftest.err
15806 } && test -s conftest.$ac_objext; then
15807 bakefile_cv_c_compiler___SUNPRO_C=yes
15808 else
15809 echo "$as_me: failed program was:" >&5
15810 sed 's/^/| /' conftest.$ac_ext >&5
15811
15812 bakefile_cv_c_compiler___SUNPRO_C=no
15813
15814 fi
15815
15816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15817
15818
15819 fi
15820 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15821 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15822 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15823 :; SUNCC=yes
15824 else
15825 :;
15826 fi
15827 ac_ext=c
15828 ac_cpp='$CPP $CPPFLAGS'
15829 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15830 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15831 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15832
15833
15834
15835 ;;
15836 esac
15837 fi
15838
15839
15840
15841 ac_ext=c
15842 ac_cpp='$CPP $CPPFLAGS'
15843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15846 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15847 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15848 # On Suns, sometimes $CPP names a directory.
15849 if test -n "$CPP" && test -d "$CPP"; then
15850 CPP=
15851 fi
15852 if test -z "$CPP"; then
15853 if test "${ac_cv_prog_CPP+set}" = set; then
15854 echo $ECHO_N "(cached) $ECHO_C" >&6
15855 else
15856 # Double quotes because CPP needs to be expanded
15857 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15858 do
15859 ac_preproc_ok=false
15860 for ac_c_preproc_warn_flag in '' yes
15861 do
15862 # Use a header file that comes with gcc, so configuring glibc
15863 # with a fresh cross-compiler works.
15864 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15865 # <limits.h> exists even on freestanding compilers.
15866 # On the NeXT, cc -E runs the code through the compiler's parser,
15867 # not just through cpp. "Syntax error" is here to catch this case.
15868 cat >conftest.$ac_ext <<_ACEOF
15869 /* confdefs.h. */
15870 _ACEOF
15871 cat confdefs.h >>conftest.$ac_ext
15872 cat >>conftest.$ac_ext <<_ACEOF
15873 /* end confdefs.h. */
15874 #ifdef __STDC__
15875 # include <limits.h>
15876 #else
15877 # include <assert.h>
15878 #endif
15879 Syntax error
15880 _ACEOF
15881 if { (ac_try="$ac_cpp conftest.$ac_ext"
15882 case "(($ac_try" in
15883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15884 *) ac_try_echo=$ac_try;;
15885 esac
15886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15887 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15888 ac_status=$?
15889 grep -v '^ *+' conftest.er1 >conftest.err
15890 rm -f conftest.er1
15891 cat conftest.err >&5
15892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15893 (exit $ac_status); } >/dev/null && {
15894 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15895 test ! -s conftest.err
15896 }; then
15897 :
15898 else
15899 echo "$as_me: failed program was:" >&5
15900 sed 's/^/| /' conftest.$ac_ext >&5
15901
15902 # Broken: fails on valid input.
15903 continue
15904 fi
15905
15906 rm -f conftest.err conftest.$ac_ext
15907
15908 # OK, works on sane cases. Now check whether nonexistent headers
15909 # can be detected and how.
15910 cat >conftest.$ac_ext <<_ACEOF
15911 /* confdefs.h. */
15912 _ACEOF
15913 cat confdefs.h >>conftest.$ac_ext
15914 cat >>conftest.$ac_ext <<_ACEOF
15915 /* end confdefs.h. */
15916 #include <ac_nonexistent.h>
15917 _ACEOF
15918 if { (ac_try="$ac_cpp conftest.$ac_ext"
15919 case "(($ac_try" in
15920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15921 *) ac_try_echo=$ac_try;;
15922 esac
15923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15924 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15925 ac_status=$?
15926 grep -v '^ *+' conftest.er1 >conftest.err
15927 rm -f conftest.er1
15928 cat conftest.err >&5
15929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15930 (exit $ac_status); } >/dev/null && {
15931 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15932 test ! -s conftest.err
15933 }; then
15934 # Broken: success on invalid input.
15935 continue
15936 else
15937 echo "$as_me: failed program was:" >&5
15938 sed 's/^/| /' conftest.$ac_ext >&5
15939
15940 # Passes both tests.
15941 ac_preproc_ok=:
15942 break
15943 fi
15944
15945 rm -f conftest.err conftest.$ac_ext
15946
15947 done
15948 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15949 rm -f conftest.err conftest.$ac_ext
15950 if $ac_preproc_ok; then
15951 break
15952 fi
15953
15954 done
15955 ac_cv_prog_CPP=$CPP
15956
15957 fi
15958 CPP=$ac_cv_prog_CPP
15959 else
15960 ac_cv_prog_CPP=$CPP
15961 fi
15962 { echo "$as_me:$LINENO: result: $CPP" >&5
15963 echo "${ECHO_T}$CPP" >&6; }
15964 ac_preproc_ok=false
15965 for ac_c_preproc_warn_flag in '' yes
15966 do
15967 # Use a header file that comes with gcc, so configuring glibc
15968 # with a fresh cross-compiler works.
15969 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15970 # <limits.h> exists even on freestanding compilers.
15971 # On the NeXT, cc -E runs the code through the compiler's parser,
15972 # not just through cpp. "Syntax error" is here to catch this case.
15973 cat >conftest.$ac_ext <<_ACEOF
15974 /* confdefs.h. */
15975 _ACEOF
15976 cat confdefs.h >>conftest.$ac_ext
15977 cat >>conftest.$ac_ext <<_ACEOF
15978 /* end confdefs.h. */
15979 #ifdef __STDC__
15980 # include <limits.h>
15981 #else
15982 # include <assert.h>
15983 #endif
15984 Syntax error
15985 _ACEOF
15986 if { (ac_try="$ac_cpp conftest.$ac_ext"
15987 case "(($ac_try" in
15988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15989 *) ac_try_echo=$ac_try;;
15990 esac
15991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15992 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15993 ac_status=$?
15994 grep -v '^ *+' conftest.er1 >conftest.err
15995 rm -f conftest.er1
15996 cat conftest.err >&5
15997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15998 (exit $ac_status); } >/dev/null && {
15999 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16000 test ! -s conftest.err
16001 }; then
16002 :
16003 else
16004 echo "$as_me: failed program was:" >&5
16005 sed 's/^/| /' conftest.$ac_ext >&5
16006
16007 # Broken: fails on valid input.
16008 continue
16009 fi
16010
16011 rm -f conftest.err conftest.$ac_ext
16012
16013 # OK, works on sane cases. Now check whether nonexistent headers
16014 # can be detected and how.
16015 cat >conftest.$ac_ext <<_ACEOF
16016 /* confdefs.h. */
16017 _ACEOF
16018 cat confdefs.h >>conftest.$ac_ext
16019 cat >>conftest.$ac_ext <<_ACEOF
16020 /* end confdefs.h. */
16021 #include <ac_nonexistent.h>
16022 _ACEOF
16023 if { (ac_try="$ac_cpp conftest.$ac_ext"
16024 case "(($ac_try" in
16025 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16026 *) ac_try_echo=$ac_try;;
16027 esac
16028 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16029 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
16030 ac_status=$?
16031 grep -v '^ *+' conftest.er1 >conftest.err
16032 rm -f conftest.er1
16033 cat conftest.err >&5
16034 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16035 (exit $ac_status); } >/dev/null && {
16036 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
16037 test ! -s conftest.err
16038 }; then
16039 # Broken: success on invalid input.
16040 continue
16041 else
16042 echo "$as_me: failed program was:" >&5
16043 sed 's/^/| /' conftest.$ac_ext >&5
16044
16045 # Passes both tests.
16046 ac_preproc_ok=:
16047 break
16048 fi
16049
16050 rm -f conftest.err conftest.$ac_ext
16051
16052 done
16053 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16054 rm -f conftest.err conftest.$ac_ext
16055 if $ac_preproc_ok; then
16056 :
16057 else
16058 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16059 See \`config.log' for more details." >&5
16060 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16061 See \`config.log' for more details." >&2;}
16062 { (exit 1); exit 1; }; }
16063 fi
16064
16065 ac_ext=c
16066 ac_cpp='$CPP $CPPFLAGS'
16067 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16068 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16069 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16070
16071
16072 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16073 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16074 if test "${ac_cv_path_GREP+set}" = set; then
16075 echo $ECHO_N "(cached) $ECHO_C" >&6
16076 else
16077 # Extract the first word of "grep ggrep" to use in msg output
16078 if test -z "$GREP"; then
16079 set dummy grep ggrep; ac_prog_name=$2
16080 if test "${ac_cv_path_GREP+set}" = set; then
16081 echo $ECHO_N "(cached) $ECHO_C" >&6
16082 else
16083 ac_path_GREP_found=false
16084 # Loop through the user's path and test for each of PROGNAME-LIST
16085 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16086 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16087 do
16088 IFS=$as_save_IFS
16089 test -z "$as_dir" && as_dir=.
16090 for ac_prog in grep ggrep; do
16091 for ac_exec_ext in '' $ac_executable_extensions; do
16092 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16093 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16094 # Check for GNU ac_path_GREP and select it if it is found.
16095 # Check for GNU $ac_path_GREP
16096 case `"$ac_path_GREP" --version 2>&1` in
16097 *GNU*)
16098 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16099 *)
16100 ac_count=0
16101 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16102 while :
16103 do
16104 cat "conftest.in" "conftest.in" >"conftest.tmp"
16105 mv "conftest.tmp" "conftest.in"
16106 cp "conftest.in" "conftest.nl"
16107 echo 'GREP' >> "conftest.nl"
16108 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16109 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16110 ac_count=`expr $ac_count + 1`
16111 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16112 # Best one so far, save it but keep looking for a better one
16113 ac_cv_path_GREP="$ac_path_GREP"
16114 ac_path_GREP_max=$ac_count
16115 fi
16116 # 10*(2^10) chars as input seems more than enough
16117 test $ac_count -gt 10 && break
16118 done
16119 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16120 esac
16121
16122
16123 $ac_path_GREP_found && break 3
16124 done
16125 done
16126
16127 done
16128 IFS=$as_save_IFS
16129
16130
16131 fi
16132
16133 GREP="$ac_cv_path_GREP"
16134 if test -z "$GREP"; then
16135 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16136 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16137 { (exit 1); exit 1; }; }
16138 fi
16139
16140 else
16141 ac_cv_path_GREP=$GREP
16142 fi
16143
16144
16145 fi
16146 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16147 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16148 GREP="$ac_cv_path_GREP"
16149
16150
16151 { echo "$as_me:$LINENO: checking for egrep" >&5
16152 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16153 if test "${ac_cv_path_EGREP+set}" = set; then
16154 echo $ECHO_N "(cached) $ECHO_C" >&6
16155 else
16156 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16157 then ac_cv_path_EGREP="$GREP -E"
16158 else
16159 # Extract the first word of "egrep" to use in msg output
16160 if test -z "$EGREP"; then
16161 set dummy egrep; ac_prog_name=$2
16162 if test "${ac_cv_path_EGREP+set}" = set; then
16163 echo $ECHO_N "(cached) $ECHO_C" >&6
16164 else
16165 ac_path_EGREP_found=false
16166 # Loop through the user's path and test for each of PROGNAME-LIST
16167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16168 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16169 do
16170 IFS=$as_save_IFS
16171 test -z "$as_dir" && as_dir=.
16172 for ac_prog in egrep; do
16173 for ac_exec_ext in '' $ac_executable_extensions; do
16174 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16175 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16176 # Check for GNU ac_path_EGREP and select it if it is found.
16177 # Check for GNU $ac_path_EGREP
16178 case `"$ac_path_EGREP" --version 2>&1` in
16179 *GNU*)
16180 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16181 *)
16182 ac_count=0
16183 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16184 while :
16185 do
16186 cat "conftest.in" "conftest.in" >"conftest.tmp"
16187 mv "conftest.tmp" "conftest.in"
16188 cp "conftest.in" "conftest.nl"
16189 echo 'EGREP' >> "conftest.nl"
16190 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16191 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16192 ac_count=`expr $ac_count + 1`
16193 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16194 # Best one so far, save it but keep looking for a better one
16195 ac_cv_path_EGREP="$ac_path_EGREP"
16196 ac_path_EGREP_max=$ac_count
16197 fi
16198 # 10*(2^10) chars as input seems more than enough
16199 test $ac_count -gt 10 && break
16200 done
16201 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16202 esac
16203
16204
16205 $ac_path_EGREP_found && break 3
16206 done
16207 done
16208
16209 done
16210 IFS=$as_save_IFS
16211
16212
16213 fi
16214
16215 EGREP="$ac_cv_path_EGREP"
16216 if test -z "$EGREP"; then
16217 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16218 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16219 { (exit 1); exit 1; }; }
16220 fi
16221
16222 else
16223 ac_cv_path_EGREP=$EGREP
16224 fi
16225
16226
16227 fi
16228 fi
16229 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16230 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16231 EGREP="$ac_cv_path_EGREP"
16232
16233
16234 if test $ac_cv_c_compiler_gnu = yes; then
16235 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16236 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16237 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16238 echo $ECHO_N "(cached) $ECHO_C" >&6
16239 else
16240 ac_pattern="Autoconf.*'x'"
16241 cat >conftest.$ac_ext <<_ACEOF
16242 /* confdefs.h. */
16243 _ACEOF
16244 cat confdefs.h >>conftest.$ac_ext
16245 cat >>conftest.$ac_ext <<_ACEOF
16246 /* end confdefs.h. */
16247 #include <sgtty.h>
16248 Autoconf TIOCGETP
16249 _ACEOF
16250 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16251 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16252 ac_cv_prog_gcc_traditional=yes
16253 else
16254 ac_cv_prog_gcc_traditional=no
16255 fi
16256 rm -f conftest*
16257
16258
16259 if test $ac_cv_prog_gcc_traditional = no; then
16260 cat >conftest.$ac_ext <<_ACEOF
16261 /* confdefs.h. */
16262 _ACEOF
16263 cat confdefs.h >>conftest.$ac_ext
16264 cat >>conftest.$ac_ext <<_ACEOF
16265 /* end confdefs.h. */
16266 #include <termio.h>
16267 Autoconf TCGETA
16268 _ACEOF
16269 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16270 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16271 ac_cv_prog_gcc_traditional=yes
16272 fi
16273 rm -f conftest*
16274
16275 fi
16276 fi
16277 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16278 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16279 if test $ac_cv_prog_gcc_traditional = yes; then
16280 CC="$CC -traditional"
16281 fi
16282 fi
16283
16284
16285 CXXFLAGS=${CXXFLAGS:=}
16286
16287
16288
16289 ac_ext=cpp
16290 ac_cpp='$CXXCPP $CPPFLAGS'
16291 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16292 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16293 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16294 if test -z "$CXX"; then
16295 if test -n "$CCC"; then
16296 CXX=$CCC
16297 else
16298 if test -n "$ac_tool_prefix"; then
16299 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16300 do
16301 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16302 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16303 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16304 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16305 if test "${ac_cv_prog_CXX+set}" = set; then
16306 echo $ECHO_N "(cached) $ECHO_C" >&6
16307 else
16308 if test -n "$CXX"; then
16309 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16310 else
16311 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16312 for as_dir in $PATH
16313 do
16314 IFS=$as_save_IFS
16315 test -z "$as_dir" && as_dir=.
16316 for ac_exec_ext in '' $ac_executable_extensions; do
16317 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16318 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16319 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16320 break 2
16321 fi
16322 done
16323 done
16324 IFS=$as_save_IFS
16325
16326 fi
16327 fi
16328 CXX=$ac_cv_prog_CXX
16329 if test -n "$CXX"; then
16330 { echo "$as_me:$LINENO: result: $CXX" >&5
16331 echo "${ECHO_T}$CXX" >&6; }
16332 else
16333 { echo "$as_me:$LINENO: result: no" >&5
16334 echo "${ECHO_T}no" >&6; }
16335 fi
16336
16337
16338 test -n "$CXX" && break
16339 done
16340 fi
16341 if test -z "$CXX"; then
16342 ac_ct_CXX=$CXX
16343 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16344 do
16345 # Extract the first word of "$ac_prog", so it can be a program name with args.
16346 set dummy $ac_prog; ac_word=$2
16347 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16348 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16349 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16350 echo $ECHO_N "(cached) $ECHO_C" >&6
16351 else
16352 if test -n "$ac_ct_CXX"; then
16353 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16354 else
16355 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16356 for as_dir in $PATH
16357 do
16358 IFS=$as_save_IFS
16359 test -z "$as_dir" && as_dir=.
16360 for ac_exec_ext in '' $ac_executable_extensions; do
16361 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16362 ac_cv_prog_ac_ct_CXX="$ac_prog"
16363 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16364 break 2
16365 fi
16366 done
16367 done
16368 IFS=$as_save_IFS
16369
16370 fi
16371 fi
16372 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16373 if test -n "$ac_ct_CXX"; then
16374 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16375 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16376 else
16377 { echo "$as_me:$LINENO: result: no" >&5
16378 echo "${ECHO_T}no" >&6; }
16379 fi
16380
16381
16382 test -n "$ac_ct_CXX" && break
16383 done
16384
16385 if test "x$ac_ct_CXX" = x; then
16386 CXX="g++"
16387 else
16388 case $cross_compiling:$ac_tool_warned in
16389 yes:)
16390 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16391 whose name does not start with the host triplet. If you think this
16392 configuration is useful to you, please write to autoconf@gnu.org." >&5
16393 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16394 whose name does not start with the host triplet. If you think this
16395 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16396 ac_tool_warned=yes ;;
16397 esac
16398 CXX=$ac_ct_CXX
16399 fi
16400 fi
16401
16402 fi
16403 fi
16404 # Provide some information about the compiler.
16405 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16406 ac_compiler=`set X $ac_compile; echo $2`
16407 { (ac_try="$ac_compiler --version >&5"
16408 case "(($ac_try" in
16409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16410 *) ac_try_echo=$ac_try;;
16411 esac
16412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16413 (eval "$ac_compiler --version >&5") 2>&5
16414 ac_status=$?
16415 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16416 (exit $ac_status); }
16417 { (ac_try="$ac_compiler -v >&5"
16418 case "(($ac_try" in
16419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16420 *) ac_try_echo=$ac_try;;
16421 esac
16422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16423 (eval "$ac_compiler -v >&5") 2>&5
16424 ac_status=$?
16425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16426 (exit $ac_status); }
16427 { (ac_try="$ac_compiler -V >&5"
16428 case "(($ac_try" in
16429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16430 *) ac_try_echo=$ac_try;;
16431 esac
16432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16433 (eval "$ac_compiler -V >&5") 2>&5
16434 ac_status=$?
16435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16436 (exit $ac_status); }
16437
16438 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16439 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16440 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16441 echo $ECHO_N "(cached) $ECHO_C" >&6
16442 else
16443 cat >conftest.$ac_ext <<_ACEOF
16444 /* confdefs.h. */
16445 _ACEOF
16446 cat confdefs.h >>conftest.$ac_ext
16447 cat >>conftest.$ac_ext <<_ACEOF
16448 /* end confdefs.h. */
16449
16450 int
16451 main ()
16452 {
16453 #ifndef __GNUC__
16454 choke me
16455 #endif
16456
16457 ;
16458 return 0;
16459 }
16460 _ACEOF
16461 rm -f conftest.$ac_objext
16462 if { (ac_try="$ac_compile"
16463 case "(($ac_try" in
16464 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16465 *) ac_try_echo=$ac_try;;
16466 esac
16467 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16468 (eval "$ac_compile") 2>conftest.er1
16469 ac_status=$?
16470 grep -v '^ *+' conftest.er1 >conftest.err
16471 rm -f conftest.er1
16472 cat conftest.err >&5
16473 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16474 (exit $ac_status); } && {
16475 test -z "$ac_cxx_werror_flag" ||
16476 test ! -s conftest.err
16477 } && test -s conftest.$ac_objext; then
16478 ac_compiler_gnu=yes
16479 else
16480 echo "$as_me: failed program was:" >&5
16481 sed 's/^/| /' conftest.$ac_ext >&5
16482
16483 ac_compiler_gnu=no
16484 fi
16485
16486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16487 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16488
16489 fi
16490 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16491 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16492 GXX=`test $ac_compiler_gnu = yes && echo yes`
16493 ac_test_CXXFLAGS=${CXXFLAGS+set}
16494 ac_save_CXXFLAGS=$CXXFLAGS
16495 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16496 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16497 if test "${ac_cv_prog_cxx_g+set}" = set; then
16498 echo $ECHO_N "(cached) $ECHO_C" >&6
16499 else
16500 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16501 ac_cxx_werror_flag=yes
16502 ac_cv_prog_cxx_g=no
16503 CXXFLAGS="-g"
16504 cat >conftest.$ac_ext <<_ACEOF
16505 /* confdefs.h. */
16506 _ACEOF
16507 cat confdefs.h >>conftest.$ac_ext
16508 cat >>conftest.$ac_ext <<_ACEOF
16509 /* end confdefs.h. */
16510
16511 int
16512 main ()
16513 {
16514
16515 ;
16516 return 0;
16517 }
16518 _ACEOF
16519 rm -f conftest.$ac_objext
16520 if { (ac_try="$ac_compile"
16521 case "(($ac_try" in
16522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16523 *) ac_try_echo=$ac_try;;
16524 esac
16525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16526 (eval "$ac_compile") 2>conftest.er1
16527 ac_status=$?
16528 grep -v '^ *+' conftest.er1 >conftest.err
16529 rm -f conftest.er1
16530 cat conftest.err >&5
16531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16532 (exit $ac_status); } && {
16533 test -z "$ac_cxx_werror_flag" ||
16534 test ! -s conftest.err
16535 } && test -s conftest.$ac_objext; then
16536 ac_cv_prog_cxx_g=yes
16537 else
16538 echo "$as_me: failed program was:" >&5
16539 sed 's/^/| /' conftest.$ac_ext >&5
16540
16541 CXXFLAGS=""
16542 cat >conftest.$ac_ext <<_ACEOF
16543 /* confdefs.h. */
16544 _ACEOF
16545 cat confdefs.h >>conftest.$ac_ext
16546 cat >>conftest.$ac_ext <<_ACEOF
16547 /* end confdefs.h. */
16548
16549 int
16550 main ()
16551 {
16552
16553 ;
16554 return 0;
16555 }
16556 _ACEOF
16557 rm -f conftest.$ac_objext
16558 if { (ac_try="$ac_compile"
16559 case "(($ac_try" in
16560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16561 *) ac_try_echo=$ac_try;;
16562 esac
16563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16564 (eval "$ac_compile") 2>conftest.er1
16565 ac_status=$?
16566 grep -v '^ *+' conftest.er1 >conftest.err
16567 rm -f conftest.er1
16568 cat conftest.err >&5
16569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16570 (exit $ac_status); } && {
16571 test -z "$ac_cxx_werror_flag" ||
16572 test ! -s conftest.err
16573 } && test -s conftest.$ac_objext; then
16574 :
16575 else
16576 echo "$as_me: failed program was:" >&5
16577 sed 's/^/| /' conftest.$ac_ext >&5
16578
16579 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16580 CXXFLAGS="-g"
16581 cat >conftest.$ac_ext <<_ACEOF
16582 /* confdefs.h. */
16583 _ACEOF
16584 cat confdefs.h >>conftest.$ac_ext
16585 cat >>conftest.$ac_ext <<_ACEOF
16586 /* end confdefs.h. */
16587
16588 int
16589 main ()
16590 {
16591
16592 ;
16593 return 0;
16594 }
16595 _ACEOF
16596 rm -f conftest.$ac_objext
16597 if { (ac_try="$ac_compile"
16598 case "(($ac_try" in
16599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16600 *) ac_try_echo=$ac_try;;
16601 esac
16602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16603 (eval "$ac_compile") 2>conftest.er1
16604 ac_status=$?
16605 grep -v '^ *+' conftest.er1 >conftest.err
16606 rm -f conftest.er1
16607 cat conftest.err >&5
16608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16609 (exit $ac_status); } && {
16610 test -z "$ac_cxx_werror_flag" ||
16611 test ! -s conftest.err
16612 } && test -s conftest.$ac_objext; then
16613 ac_cv_prog_cxx_g=yes
16614 else
16615 echo "$as_me: failed program was:" >&5
16616 sed 's/^/| /' conftest.$ac_ext >&5
16617
16618
16619 fi
16620
16621 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16622 fi
16623
16624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16625 fi
16626
16627 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16628 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16629 fi
16630 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16631 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16632 if test "$ac_test_CXXFLAGS" = set; then
16633 CXXFLAGS=$ac_save_CXXFLAGS
16634 elif test $ac_cv_prog_cxx_g = yes; then
16635 if test "$GXX" = yes; then
16636 CXXFLAGS="-g -O2"
16637 else
16638 CXXFLAGS="-g"
16639 fi
16640 else
16641 if test "$GXX" = yes; then
16642 CXXFLAGS="-O2"
16643 else
16644 CXXFLAGS=
16645 fi
16646 fi
16647 ac_ext=c
16648 ac_cpp='$CPP $CPPFLAGS'
16649 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16650 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16651 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16652
16653
16654
16655
16656 ac_ext=cpp
16657 ac_cpp='$CXXCPP $CPPFLAGS'
16658 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16659 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16660 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16661
16662 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16663 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16664 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16665 echo $ECHO_N "(cached) $ECHO_C" >&6
16666 else
16667 cat >conftest.$ac_ext <<_ACEOF
16668 /* confdefs.h. */
16669 _ACEOF
16670 cat confdefs.h >>conftest.$ac_ext
16671 cat >>conftest.$ac_ext <<_ACEOF
16672 /* end confdefs.h. */
16673
16674 int
16675 main ()
16676 {
16677
16678 #ifndef __INTEL_COMPILER
16679 choke me
16680 #endif
16681
16682 ;
16683 return 0;
16684 }
16685 _ACEOF
16686 rm -f conftest.$ac_objext
16687 if { (ac_try="$ac_compile"
16688 case "(($ac_try" in
16689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16690 *) ac_try_echo=$ac_try;;
16691 esac
16692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16693 (eval "$ac_compile") 2>conftest.er1
16694 ac_status=$?
16695 grep -v '^ *+' conftest.er1 >conftest.err
16696 rm -f conftest.er1
16697 cat conftest.err >&5
16698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16699 (exit $ac_status); } && {
16700 test -z "$ac_cxx_werror_flag" ||
16701 test ! -s conftest.err
16702 } && test -s conftest.$ac_objext; then
16703 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16704 else
16705 echo "$as_me: failed program was:" >&5
16706 sed 's/^/| /' conftest.$ac_ext >&5
16707
16708 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16709
16710 fi
16711
16712 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16713
16714
16715 fi
16716 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16717 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16718 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16719 :; INTELCXX=yes
16720 else
16721 :;
16722 fi
16723 ac_ext=c
16724 ac_cpp='$CPP $CPPFLAGS'
16725 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16726 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16727 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16728
16729
16730
16731
16732 if test "x$GCXX" != "xyes"; then
16733 if test "xCXX" = "xC"; then
16734 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16735 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16736 if test "${bakefile_cv_c_exto+set}" = set; then
16737 echo $ECHO_N "(cached) $ECHO_C" >&6
16738 else
16739 cat >conftest.$ac_ext <<_ACEOF
16740 /* confdefs.h. */
16741 _ACEOF
16742 cat confdefs.h >>conftest.$ac_ext
16743 cat >>conftest.$ac_ext <<_ACEOF
16744 /* end confdefs.h. */
16745
16746 int
16747 main ()
16748 {
16749
16750 ;
16751 return 0;
16752 }
16753 _ACEOF
16754 rm -f conftest.$ac_objext conftest.$ac_ext.o
16755 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16756 (eval $ac_compile) 2>&5
16757 ac_status=$?
16758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16759 (exit $ac_status); }; then
16760 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16761 case $ac_file in
16762 conftest.$ac_ext.o)
16763 bakefile_cv_c_exto="-ext o"
16764 ;;
16765 *)
16766 ;;
16767 esac
16768 done
16769 else
16770 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16771 See \`config.log' for more details." >&5
16772 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16773 See \`config.log' for more details." >&2;}
16774 { (exit 1); exit 1; }; }
16775
16776 fi
16777
16778 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16779
16780 fi
16781 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16782 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16783 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16784 if test "c" = "c"; then
16785 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16786 fi
16787 if test "c" = "cxx"; then
16788 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16789 fi
16790 fi
16791
16792 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16793 unset ac_cv_prog_cc_g
16794 ac_test_CFLAGS=${CFLAGS+set}
16795 ac_save_CFLAGS=$CFLAGS
16796 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16797 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16798 if test "${ac_cv_prog_cc_g+set}" = set; then
16799 echo $ECHO_N "(cached) $ECHO_C" >&6
16800 else
16801 ac_save_c_werror_flag=$ac_c_werror_flag
16802 ac_c_werror_flag=yes
16803 ac_cv_prog_cc_g=no
16804 CFLAGS="-g"
16805 cat >conftest.$ac_ext <<_ACEOF
16806 /* confdefs.h. */
16807 _ACEOF
16808 cat confdefs.h >>conftest.$ac_ext
16809 cat >>conftest.$ac_ext <<_ACEOF
16810 /* end confdefs.h. */
16811
16812 int
16813 main ()
16814 {
16815
16816 ;
16817 return 0;
16818 }
16819 _ACEOF
16820 rm -f conftest.$ac_objext
16821 if { (ac_try="$ac_compile"
16822 case "(($ac_try" in
16823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16824 *) ac_try_echo=$ac_try;;
16825 esac
16826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16827 (eval "$ac_compile") 2>conftest.er1
16828 ac_status=$?
16829 grep -v '^ *+' conftest.er1 >conftest.err
16830 rm -f conftest.er1
16831 cat conftest.err >&5
16832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16833 (exit $ac_status); } && {
16834 test -z "$ac_c_werror_flag" ||
16835 test ! -s conftest.err
16836 } && test -s conftest.$ac_objext; then
16837 ac_cv_prog_cc_g=yes
16838 else
16839 echo "$as_me: failed program was:" >&5
16840 sed 's/^/| /' conftest.$ac_ext >&5
16841
16842 CFLAGS=""
16843 cat >conftest.$ac_ext <<_ACEOF
16844 /* confdefs.h. */
16845 _ACEOF
16846 cat confdefs.h >>conftest.$ac_ext
16847 cat >>conftest.$ac_ext <<_ACEOF
16848 /* end confdefs.h. */
16849
16850 int
16851 main ()
16852 {
16853
16854 ;
16855 return 0;
16856 }
16857 _ACEOF
16858 rm -f conftest.$ac_objext
16859 if { (ac_try="$ac_compile"
16860 case "(($ac_try" in
16861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16862 *) ac_try_echo=$ac_try;;
16863 esac
16864 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16865 (eval "$ac_compile") 2>conftest.er1
16866 ac_status=$?
16867 grep -v '^ *+' conftest.er1 >conftest.err
16868 rm -f conftest.er1
16869 cat conftest.err >&5
16870 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16871 (exit $ac_status); } && {
16872 test -z "$ac_c_werror_flag" ||
16873 test ! -s conftest.err
16874 } && test -s conftest.$ac_objext; then
16875 :
16876 else
16877 echo "$as_me: failed program was:" >&5
16878 sed 's/^/| /' conftest.$ac_ext >&5
16879
16880 ac_c_werror_flag=$ac_save_c_werror_flag
16881 CFLAGS="-g"
16882 cat >conftest.$ac_ext <<_ACEOF
16883 /* confdefs.h. */
16884 _ACEOF
16885 cat confdefs.h >>conftest.$ac_ext
16886 cat >>conftest.$ac_ext <<_ACEOF
16887 /* end confdefs.h. */
16888
16889 int
16890 main ()
16891 {
16892
16893 ;
16894 return 0;
16895 }
16896 _ACEOF
16897 rm -f conftest.$ac_objext
16898 if { (ac_try="$ac_compile"
16899 case "(($ac_try" in
16900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16901 *) ac_try_echo=$ac_try;;
16902 esac
16903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16904 (eval "$ac_compile") 2>conftest.er1
16905 ac_status=$?
16906 grep -v '^ *+' conftest.er1 >conftest.err
16907 rm -f conftest.er1
16908 cat conftest.err >&5
16909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16910 (exit $ac_status); } && {
16911 test -z "$ac_c_werror_flag" ||
16912 test ! -s conftest.err
16913 } && test -s conftest.$ac_objext; then
16914 ac_cv_prog_cc_g=yes
16915 else
16916 echo "$as_me: failed program was:" >&5
16917 sed 's/^/| /' conftest.$ac_ext >&5
16918
16919
16920 fi
16921
16922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16923 fi
16924
16925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16926 fi
16927
16928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16929 ac_c_werror_flag=$ac_save_c_werror_flag
16930 fi
16931 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16932 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16933 if test "$ac_test_CFLAGS" = set; then
16934 CFLAGS=$ac_save_CFLAGS
16935 elif test $ac_cv_prog_cc_g = yes; then
16936 if test "$GCC" = yes; then
16937 CFLAGS="-g -O2"
16938 else
16939 CFLAGS="-g"
16940 fi
16941 else
16942 if test "$GCC" = yes; then
16943 CFLAGS="-O2"
16944 else
16945 CFLAGS=
16946 fi
16947 fi
16948 fi
16949 fi
16950
16951 case `uname -s` in
16952 AIX*)
16953
16954
16955 ac_ext=cpp
16956 ac_cpp='$CXXCPP $CPPFLAGS'
16957 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16958 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16959 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16960
16961 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16962 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16963 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16964 echo $ECHO_N "(cached) $ECHO_C" >&6
16965 else
16966 cat >conftest.$ac_ext <<_ACEOF
16967 /* confdefs.h. */
16968 _ACEOF
16969 cat confdefs.h >>conftest.$ac_ext
16970 cat >>conftest.$ac_ext <<_ACEOF
16971 /* end confdefs.h. */
16972
16973 int
16974 main ()
16975 {
16976
16977 #ifndef __xlC__
16978 choke me
16979 #endif
16980
16981 ;
16982 return 0;
16983 }
16984 _ACEOF
16985 rm -f conftest.$ac_objext
16986 if { (ac_try="$ac_compile"
16987 case "(($ac_try" in
16988 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16989 *) ac_try_echo=$ac_try;;
16990 esac
16991 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16992 (eval "$ac_compile") 2>conftest.er1
16993 ac_status=$?
16994 grep -v '^ *+' conftest.er1 >conftest.err
16995 rm -f conftest.er1
16996 cat conftest.err >&5
16997 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16998 (exit $ac_status); } && {
16999 test -z "$ac_cxx_werror_flag" ||
17000 test ! -s conftest.err
17001 } && test -s conftest.$ac_objext; then
17002 bakefile_cv_cxx_compiler___xlC__=yes
17003 else
17004 echo "$as_me: failed program was:" >&5
17005 sed 's/^/| /' conftest.$ac_ext >&5
17006
17007 bakefile_cv_cxx_compiler___xlC__=no
17008
17009 fi
17010
17011 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17012
17013
17014 fi
17015 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17016 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17017 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17018 :; XLCXX=yes
17019 else
17020 :;
17021 fi
17022 ac_ext=c
17023 ac_cpp='$CPP $CPPFLAGS'
17024 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17025 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17026 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17027
17028
17029
17030 ;;
17031
17032 Darwin)
17033
17034
17035 ac_ext=cpp
17036 ac_cpp='$CXXCPP $CPPFLAGS'
17037 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17038 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17039 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17040
17041 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
17042 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
17043 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
17044 echo $ECHO_N "(cached) $ECHO_C" >&6
17045 else
17046 cat >conftest.$ac_ext <<_ACEOF
17047 /* confdefs.h. */
17048 _ACEOF
17049 cat confdefs.h >>conftest.$ac_ext
17050 cat >>conftest.$ac_ext <<_ACEOF
17051 /* end confdefs.h. */
17052
17053 int
17054 main ()
17055 {
17056
17057 #ifndef __MWERKS__
17058 choke me
17059 #endif
17060
17061 ;
17062 return 0;
17063 }
17064 _ACEOF
17065 rm -f conftest.$ac_objext
17066 if { (ac_try="$ac_compile"
17067 case "(($ac_try" in
17068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17069 *) ac_try_echo=$ac_try;;
17070 esac
17071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17072 (eval "$ac_compile") 2>conftest.er1
17073 ac_status=$?
17074 grep -v '^ *+' conftest.er1 >conftest.err
17075 rm -f conftest.er1
17076 cat conftest.err >&5
17077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17078 (exit $ac_status); } && {
17079 test -z "$ac_cxx_werror_flag" ||
17080 test ! -s conftest.err
17081 } && test -s conftest.$ac_objext; then
17082 bakefile_cv_cxx_compiler___MWERKS__=yes
17083 else
17084 echo "$as_me: failed program was:" >&5
17085 sed 's/^/| /' conftest.$ac_ext >&5
17086
17087 bakefile_cv_cxx_compiler___MWERKS__=no
17088
17089 fi
17090
17091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17092
17093
17094 fi
17095 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17096 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17097 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17098 :; MWCXX=yes
17099 else
17100 :;
17101 fi
17102 ac_ext=c
17103 ac_cpp='$CPP $CPPFLAGS'
17104 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17105 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17106 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17107
17108
17109
17110
17111
17112 ac_ext=cpp
17113 ac_cpp='$CXXCPP $CPPFLAGS'
17114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17117
17118 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17119 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17120 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17121 echo $ECHO_N "(cached) $ECHO_C" >&6
17122 else
17123 cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h. */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17129
17130 int
17131 main ()
17132 {
17133
17134 #ifndef __xlC__
17135 choke me
17136 #endif
17137
17138 ;
17139 return 0;
17140 }
17141 _ACEOF
17142 rm -f conftest.$ac_objext
17143 if { (ac_try="$ac_compile"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17147 esac
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_compile") 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_cxx_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest.$ac_objext; then
17159 bakefile_cv_cxx_compiler___xlC__=yes
17160 else
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17163
17164 bakefile_cv_cxx_compiler___xlC__=no
17165
17166 fi
17167
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169
17170
17171 fi
17172 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17173 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17174 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17175 :; XLCXX=yes
17176 else
17177 :;
17178 fi
17179 ac_ext=c
17180 ac_cpp='$CPP $CPPFLAGS'
17181 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17182 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17183 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17184
17185
17186
17187 ;;
17188
17189 IRIX*)
17190
17191
17192 ac_ext=cpp
17193 ac_cpp='$CXXCPP $CPPFLAGS'
17194 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17195 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17196 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17197
17198 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17199 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17200 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17201 echo $ECHO_N "(cached) $ECHO_C" >&6
17202 else
17203 cat >conftest.$ac_ext <<_ACEOF
17204 /* confdefs.h. */
17205 _ACEOF
17206 cat confdefs.h >>conftest.$ac_ext
17207 cat >>conftest.$ac_ext <<_ACEOF
17208 /* end confdefs.h. */
17209
17210 int
17211 main ()
17212 {
17213
17214 #ifndef _SGI_COMPILER_VERSION
17215 choke me
17216 #endif
17217
17218 ;
17219 return 0;
17220 }
17221 _ACEOF
17222 rm -f conftest.$ac_objext
17223 if { (ac_try="$ac_compile"
17224 case "(($ac_try" in
17225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17226 *) ac_try_echo=$ac_try;;
17227 esac
17228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17229 (eval "$ac_compile") 2>conftest.er1
17230 ac_status=$?
17231 grep -v '^ *+' conftest.er1 >conftest.err
17232 rm -f conftest.er1
17233 cat conftest.err >&5
17234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17235 (exit $ac_status); } && {
17236 test -z "$ac_cxx_werror_flag" ||
17237 test ! -s conftest.err
17238 } && test -s conftest.$ac_objext; then
17239 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17240 else
17241 echo "$as_me: failed program was:" >&5
17242 sed 's/^/| /' conftest.$ac_ext >&5
17243
17244 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17245
17246 fi
17247
17248 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17249
17250
17251 fi
17252 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17253 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17254 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17255 :; SGICXX=yes
17256 else
17257 :;
17258 fi
17259 ac_ext=c
17260 ac_cpp='$CPP $CPPFLAGS'
17261 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17262 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17263 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17264
17265
17266
17267 ;;
17268
17269 Linux*)
17270
17271
17272 ac_ext=cpp
17273 ac_cpp='$CXXCPP $CPPFLAGS'
17274 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17275 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17276 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17277
17278 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17279 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17280 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17281 echo $ECHO_N "(cached) $ECHO_C" >&6
17282 else
17283 cat >conftest.$ac_ext <<_ACEOF
17284 /* confdefs.h. */
17285 _ACEOF
17286 cat confdefs.h >>conftest.$ac_ext
17287 cat >>conftest.$ac_ext <<_ACEOF
17288 /* end confdefs.h. */
17289
17290 int
17291 main ()
17292 {
17293
17294 #ifndef __SUNPRO_CC
17295 choke me
17296 #endif
17297
17298 ;
17299 return 0;
17300 }
17301 _ACEOF
17302 rm -f conftest.$ac_objext
17303 if { (ac_try="$ac_compile"
17304 case "(($ac_try" in
17305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17306 *) ac_try_echo=$ac_try;;
17307 esac
17308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17309 (eval "$ac_compile") 2>conftest.er1
17310 ac_status=$?
17311 grep -v '^ *+' conftest.er1 >conftest.err
17312 rm -f conftest.er1
17313 cat conftest.err >&5
17314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17315 (exit $ac_status); } && {
17316 test -z "$ac_cxx_werror_flag" ||
17317 test ! -s conftest.err
17318 } && test -s conftest.$ac_objext; then
17319 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17320 else
17321 echo "$as_me: failed program was:" >&5
17322 sed 's/^/| /' conftest.$ac_ext >&5
17323
17324 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17325
17326 fi
17327
17328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17329
17330
17331 fi
17332 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17333 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17334 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17335 :; SUNCXX=yes
17336 else
17337 :;
17338 fi
17339 ac_ext=c
17340 ac_cpp='$CPP $CPPFLAGS'
17341 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17342 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17344
17345
17346
17347 ;;
17348
17349 HP-UX*)
17350
17351
17352 ac_ext=cpp
17353 ac_cpp='$CXXCPP $CPPFLAGS'
17354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17357
17358 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17359 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17360 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17361 echo $ECHO_N "(cached) $ECHO_C" >&6
17362 else
17363 cat >conftest.$ac_ext <<_ACEOF
17364 /* confdefs.h. */
17365 _ACEOF
17366 cat confdefs.h >>conftest.$ac_ext
17367 cat >>conftest.$ac_ext <<_ACEOF
17368 /* end confdefs.h. */
17369
17370 int
17371 main ()
17372 {
17373
17374 #ifndef __HP_aCC
17375 choke me
17376 #endif
17377
17378 ;
17379 return 0;
17380 }
17381 _ACEOF
17382 rm -f conftest.$ac_objext
17383 if { (ac_try="$ac_compile"
17384 case "(($ac_try" in
17385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17386 *) ac_try_echo=$ac_try;;
17387 esac
17388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17389 (eval "$ac_compile") 2>conftest.er1
17390 ac_status=$?
17391 grep -v '^ *+' conftest.er1 >conftest.err
17392 rm -f conftest.er1
17393 cat conftest.err >&5
17394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17395 (exit $ac_status); } && {
17396 test -z "$ac_cxx_werror_flag" ||
17397 test ! -s conftest.err
17398 } && test -s conftest.$ac_objext; then
17399 bakefile_cv_cxx_compiler___HP_aCC=yes
17400 else
17401 echo "$as_me: failed program was:" >&5
17402 sed 's/^/| /' conftest.$ac_ext >&5
17403
17404 bakefile_cv_cxx_compiler___HP_aCC=no
17405
17406 fi
17407
17408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17409
17410
17411 fi
17412 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17413 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17414 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17415 :; HPCXX=yes
17416 else
17417 :;
17418 fi
17419 ac_ext=c
17420 ac_cpp='$CPP $CPPFLAGS'
17421 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17422 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17423 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17424
17425
17426
17427 ;;
17428
17429 OSF1)
17430
17431
17432 ac_ext=cpp
17433 ac_cpp='$CXXCPP $CPPFLAGS'
17434 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17435 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17436 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17437
17438 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17439 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17440 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17441 echo $ECHO_N "(cached) $ECHO_C" >&6
17442 else
17443 cat >conftest.$ac_ext <<_ACEOF
17444 /* confdefs.h. */
17445 _ACEOF
17446 cat confdefs.h >>conftest.$ac_ext
17447 cat >>conftest.$ac_ext <<_ACEOF
17448 /* end confdefs.h. */
17449
17450 int
17451 main ()
17452 {
17453
17454 #ifndef __DECCXX
17455 choke me
17456 #endif
17457
17458 ;
17459 return 0;
17460 }
17461 _ACEOF
17462 rm -f conftest.$ac_objext
17463 if { (ac_try="$ac_compile"
17464 case "(($ac_try" in
17465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17466 *) ac_try_echo=$ac_try;;
17467 esac
17468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17469 (eval "$ac_compile") 2>conftest.er1
17470 ac_status=$?
17471 grep -v '^ *+' conftest.er1 >conftest.err
17472 rm -f conftest.er1
17473 cat conftest.err >&5
17474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17475 (exit $ac_status); } && {
17476 test -z "$ac_cxx_werror_flag" ||
17477 test ! -s conftest.err
17478 } && test -s conftest.$ac_objext; then
17479 bakefile_cv_cxx_compiler___DECCXX=yes
17480 else
17481 echo "$as_me: failed program was:" >&5
17482 sed 's/^/| /' conftest.$ac_ext >&5
17483
17484 bakefile_cv_cxx_compiler___DECCXX=no
17485
17486 fi
17487
17488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17489
17490
17491 fi
17492 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17493 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17494 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17495 :; COMPAQCXX=yes
17496 else
17497 :;
17498 fi
17499 ac_ext=c
17500 ac_cpp='$CPP $CPPFLAGS'
17501 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17502 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17503 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17504
17505
17506
17507 ;;
17508
17509 SunOS)
17510
17511
17512 ac_ext=cpp
17513 ac_cpp='$CXXCPP $CPPFLAGS'
17514 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17515 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17516 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17517
17518 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17519 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17520 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17521 echo $ECHO_N "(cached) $ECHO_C" >&6
17522 else
17523 cat >conftest.$ac_ext <<_ACEOF
17524 /* confdefs.h. */
17525 _ACEOF
17526 cat confdefs.h >>conftest.$ac_ext
17527 cat >>conftest.$ac_ext <<_ACEOF
17528 /* end confdefs.h. */
17529
17530 int
17531 main ()
17532 {
17533
17534 #ifndef __SUNPRO_CC
17535 choke me
17536 #endif
17537
17538 ;
17539 return 0;
17540 }
17541 _ACEOF
17542 rm -f conftest.$ac_objext
17543 if { (ac_try="$ac_compile"
17544 case "(($ac_try" in
17545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17546 *) ac_try_echo=$ac_try;;
17547 esac
17548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17549 (eval "$ac_compile") 2>conftest.er1
17550 ac_status=$?
17551 grep -v '^ *+' conftest.er1 >conftest.err
17552 rm -f conftest.er1
17553 cat conftest.err >&5
17554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17555 (exit $ac_status); } && {
17556 test -z "$ac_cxx_werror_flag" ||
17557 test ! -s conftest.err
17558 } && test -s conftest.$ac_objext; then
17559 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17560 else
17561 echo "$as_me: failed program was:" >&5
17562 sed 's/^/| /' conftest.$ac_ext >&5
17563
17564 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17565
17566 fi
17567
17568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17569
17570
17571 fi
17572 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17573 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17574 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17575 :; SUNCXX=yes
17576 else
17577 :;
17578 fi
17579 ac_ext=c
17580 ac_cpp='$CPP $CPPFLAGS'
17581 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17582 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17583 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17584
17585
17586
17587 ;;
17588 esac
17589 fi
17590
17591
17592
17593 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17594 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17595 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17596 { (exit 1); exit 1; }; }
17597 fi
17598
17599 if test "x$SUNCXX" != xyes; then
17600 if test -n "$ac_tool_prefix"; then
17601 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17602 set dummy ${ac_tool_prefix}ar; ac_word=$2
17603 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17604 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17605 if test "${ac_cv_prog_AR+set}" = set; then
17606 echo $ECHO_N "(cached) $ECHO_C" >&6
17607 else
17608 if test -n "$AR"; then
17609 ac_cv_prog_AR="$AR" # Let the user override the test.
17610 else
17611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17612 for as_dir in $PATH
17613 do
17614 IFS=$as_save_IFS
17615 test -z "$as_dir" && as_dir=.
17616 for ac_exec_ext in '' $ac_executable_extensions; do
17617 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17618 ac_cv_prog_AR="${ac_tool_prefix}ar"
17619 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17620 break 2
17621 fi
17622 done
17623 done
17624 IFS=$as_save_IFS
17625
17626 fi
17627 fi
17628 AR=$ac_cv_prog_AR
17629 if test -n "$AR"; then
17630 { echo "$as_me:$LINENO: result: $AR" >&5
17631 echo "${ECHO_T}$AR" >&6; }
17632 else
17633 { echo "$as_me:$LINENO: result: no" >&5
17634 echo "${ECHO_T}no" >&6; }
17635 fi
17636
17637
17638 fi
17639 if test -z "$ac_cv_prog_AR"; then
17640 ac_ct_AR=$AR
17641 # Extract the first word of "ar", so it can be a program name with args.
17642 set dummy ar; ac_word=$2
17643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17645 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17646 echo $ECHO_N "(cached) $ECHO_C" >&6
17647 else
17648 if test -n "$ac_ct_AR"; then
17649 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17650 else
17651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17652 for as_dir in $PATH
17653 do
17654 IFS=$as_save_IFS
17655 test -z "$as_dir" && as_dir=.
17656 for ac_exec_ext in '' $ac_executable_extensions; do
17657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17658 ac_cv_prog_ac_ct_AR="ar"
17659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17660 break 2
17661 fi
17662 done
17663 done
17664 IFS=$as_save_IFS
17665
17666 fi
17667 fi
17668 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17669 if test -n "$ac_ct_AR"; then
17670 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17671 echo "${ECHO_T}$ac_ct_AR" >&6; }
17672 else
17673 { echo "$as_me:$LINENO: result: no" >&5
17674 echo "${ECHO_T}no" >&6; }
17675 fi
17676
17677 if test "x$ac_ct_AR" = x; then
17678 AR=""
17679 else
17680 case $cross_compiling:$ac_tool_warned in
17681 yes:)
17682 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17683 whose name does not start with the host triplet. If you think this
17684 configuration is useful to you, please write to autoconf@gnu.org." >&5
17685 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17686 whose name does not start with the host triplet. If you think this
17687 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17688 ac_tool_warned=yes ;;
17689 esac
17690 AR=$ac_ct_AR
17691 fi
17692 else
17693 AR="$ac_cv_prog_AR"
17694 fi
17695
17696 if test "x$AR" = "x" ; then
17697 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17698 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17699 { (exit 1); exit 1; }; }
17700 fi
17701 fi
17702
17703 retest_macosx_linking=no
17704
17705 #if test "$wxUSE_MAC" = 1; then
17706 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17707 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17708 # Implicitly turn on the new --with-macosx-sdk using the default
17709 # SDK which provides the behavior this option has always had.
17710 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17711 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17712 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17713 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17714 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17715 wxUSE_MACOSX_SDK=yes
17716 fi
17717 else
17718 # Complain to user if he specified an argument to --enable-universal_binary
17719 # and also 1) specified --with-macosx-sdk using the default (yes) or
17720 # 2) specified --with-macosx-sdk using a path or 3) specified
17721 # --without-macosx-sdk (no).
17722 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17723 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17724 See \`config.log' for more details." >&5
17725 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17726 See \`config.log' for more details." >&2;}
17727 { (exit 1); exit 1; }; }
17728 else
17729 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17730 # special-case the empty string because the below test simply
17731 # converts "no" to the empty string anyway.
17732 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17733 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17734 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17735 fi
17736 fi
17737 OSX_UNIV_OPTS="-arch ppc -arch i386"
17738 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17739 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17740 OBJCXXFLAGS="$OSX_UNIV_OPTS $OBJCXXFLAGS"
17741 OBJCFLAGS="$OSX_UNIV_OPTS $OBJCFLAGS"
17742 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17743 retest_macosx_linking=yes
17744
17745 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17746 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17747 bk_use_pch=no
17748 fi
17749 #fi
17750
17751 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17752 wxUSE_MACOSX_SDK=
17753 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17754 # TODO: Search for most recent SDK and use it.
17755 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17756 fi
17757
17758
17759 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17760 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17761 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17762 if ! test -d "$wxUSE_MACOSX_SDK"; then
17763 { { echo "$as_me:$LINENO: error: not found
17764 See \`config.log' for more details." >&5
17765 echo "$as_me: error: not found
17766 See \`config.log' for more details." >&2;}
17767 { (exit 1); exit 1; }; }
17768 else
17769 { echo "$as_me:$LINENO: result: exists" >&5
17770 echo "${ECHO_T}exists" >&6; }
17771 fi
17772 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17773 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17774 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17775 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17776 retest_macosx_linking=yes
17777 fi
17778
17779 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17780 wxUSE_MACOSX_VERSION_MIN=
17781 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17782 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17783 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17784 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17785
17786 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/'`
17787
17788 # If that failed, try again with the new key
17789 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17790
17791 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/'`
17792
17793 fi
17794
17795 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17796 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17797 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17798 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17799 else
17800 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17801 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17802 wxUSE_MACOSX_VERSION_MIN=
17803 fi
17804 else
17805 wxUSE_MACOSX_VERSION_MIN=
17806 fi
17807 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17808 if test "$wxUSE_MAC" = 1; then
17809 # otherwise configure stops on leopard for universal_binary
17810 wxUSE_MACOSX_VERSION_MIN=10.4
17811 fi
17812 fi
17813
17814 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17815 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17816 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17817 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17818 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17819 retest_macosx_linking=yes
17820 fi
17821
17822 if test "x$retest_macosx_linking" = "xyes"; then
17823 ac_ext=c
17824 ac_cpp='$CPP $CPPFLAGS'
17825 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17826 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17827 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17828
17829 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17830 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17831 cat >conftest.$ac_ext <<_ACEOF
17832 /* confdefs.h. */
17833 _ACEOF
17834 cat confdefs.h >>conftest.$ac_ext
17835 cat >>conftest.$ac_ext <<_ACEOF
17836 /* end confdefs.h. */
17837
17838 int
17839 main ()
17840 {
17841
17842 ;
17843 return 0;
17844 }
17845 _ACEOF
17846 rm -f conftest.$ac_objext conftest$ac_exeext
17847 if { (ac_try="$ac_link"
17848 case "(($ac_try" in
17849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17850 *) ac_try_echo=$ac_try;;
17851 esac
17852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17853 (eval "$ac_link") 2>conftest.er1
17854 ac_status=$?
17855 grep -v '^ *+' conftest.er1 >conftest.err
17856 rm -f conftest.er1
17857 cat conftest.err >&5
17858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17859 (exit $ac_status); } && {
17860 test -z "$ac_c_werror_flag" ||
17861 test ! -s conftest.err
17862 } && test -s conftest$ac_exeext &&
17863 $as_test_x conftest$ac_exeext; then
17864 { echo "$as_me:$LINENO: result: yes" >&5
17865 echo "${ECHO_T}yes" >&6; }
17866 else
17867 echo "$as_me: failed program was:" >&5
17868 sed 's/^/| /' conftest.$ac_ext >&5
17869
17870 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17871 See \`config.log' for more details." >&5
17872 echo "$as_me: error: no. Try a different SDK
17873 See \`config.log' for more details." >&2;}
17874 { (exit 1); exit 1; }; }; exit 1
17875 fi
17876
17877 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17878 conftest$ac_exeext conftest.$ac_ext
17879 ac_ext=c
17880 ac_cpp='$CPP $CPPFLAGS'
17881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17884
17885
17886 ac_ext=cpp
17887 ac_cpp='$CXXCPP $CPPFLAGS'
17888 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17889 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17890 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17891
17892 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17893 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17894 cat >conftest.$ac_ext <<_ACEOF
17895 /* confdefs.h. */
17896 _ACEOF
17897 cat confdefs.h >>conftest.$ac_ext
17898 cat >>conftest.$ac_ext <<_ACEOF
17899 /* end confdefs.h. */
17900
17901 int
17902 main ()
17903 {
17904
17905 ;
17906 return 0;
17907 }
17908 _ACEOF
17909 rm -f conftest.$ac_objext conftest$ac_exeext
17910 if { (ac_try="$ac_link"
17911 case "(($ac_try" in
17912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17913 *) ac_try_echo=$ac_try;;
17914 esac
17915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17916 (eval "$ac_link") 2>conftest.er1
17917 ac_status=$?
17918 grep -v '^ *+' conftest.er1 >conftest.err
17919 rm -f conftest.er1
17920 cat conftest.err >&5
17921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17922 (exit $ac_status); } && {
17923 test -z "$ac_cxx_werror_flag" ||
17924 test ! -s conftest.err
17925 } && test -s conftest$ac_exeext &&
17926 $as_test_x conftest$ac_exeext; then
17927 { echo "$as_me:$LINENO: result: yes" >&5
17928 echo "${ECHO_T}yes" >&6; }
17929 else
17930 echo "$as_me: failed program was:" >&5
17931 sed 's/^/| /' conftest.$ac_ext >&5
17932
17933 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17934 See \`config.log' for more details." >&5
17935 echo "$as_me: error: no. Try a different SDK
17936 See \`config.log' for more details." >&2;}
17937 { (exit 1); exit 1; }; }; exit 1
17938 fi
17939
17940 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17941 conftest$ac_exeext conftest.$ac_ext
17942 ac_ext=c
17943 ac_cpp='$CPP $CPPFLAGS'
17944 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17945 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17946 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17947
17948 fi
17949
17950
17951 case "${host}" in
17952
17953 *-*-darwin* )
17954 INSTALL_PROGRAM="cp -fp"
17955 INSTALL_DATA="cp -fp"
17956 ;;
17957 *)
17958 ;;
17959 esac
17960
17961
17962 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17963 CXXFLAGS="-qunique $CXXFLAGS"
17964 fi
17965
17966 case "${host}" in
17967 powerpc-*-darwin* )
17968 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17969 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17970 cat >conftest.$ac_ext <<_ACEOF
17971 /* confdefs.h. */
17972 _ACEOF
17973 cat confdefs.h >>conftest.$ac_ext
17974 cat >>conftest.$ac_ext <<_ACEOF
17975 /* end confdefs.h. */
17976
17977 int
17978 main ()
17979 {
17980 #ifndef __POWERPC__
17981 choke me for lack of PowerPC
17982 #endif
17983
17984 ;
17985 return 0;
17986 }
17987 _ACEOF
17988 rm -f conftest.$ac_objext
17989 if { (ac_try="$ac_compile"
17990 case "(($ac_try" in
17991 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17992 *) ac_try_echo=$ac_try;;
17993 esac
17994 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17995 (eval "$ac_compile") 2>conftest.er1
17996 ac_status=$?
17997 grep -v '^ *+' conftest.er1 >conftest.err
17998 rm -f conftest.er1
17999 cat conftest.err >&5
18000 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18001 (exit $ac_status); } && {
18002 test -z "$ac_c_werror_flag" ||
18003 test ! -s conftest.err
18004 } && test -s conftest.$ac_objext; then
18005 { echo "$as_me:$LINENO: result: yes" >&5
18006 echo "${ECHO_T}yes" >&6; }
18007 else
18008 echo "$as_me: failed program was:" >&5
18009 sed 's/^/| /' conftest.$ac_ext >&5
18010
18011 { echo "$as_me:$LINENO: result: no" >&5
18012 echo "${ECHO_T}no" >&6; }
18013 cat >>confdefs.h <<\_ACEOF
18014 #define __POWERPC__ 1
18015 _ACEOF
18016
18017
18018 fi
18019
18020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18021 ;;
18022 esac
18023
18024 case "${host}" in
18025 *-*-darwin* )
18026 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
18027 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
18028 cat >conftest.$ac_ext <<_ACEOF
18029 /* confdefs.h. */
18030 _ACEOF
18031 cat confdefs.h >>conftest.$ac_ext
18032 cat >>conftest.$ac_ext <<_ACEOF
18033 /* end confdefs.h. */
18034 #include <CoreFoundation/CFBase.h>
18035
18036 int
18037 main ()
18038 {
18039
18040 ;
18041 return 0;
18042 }
18043 _ACEOF
18044 rm -f conftest.$ac_objext
18045 if { (ac_try="$ac_compile"
18046 case "(($ac_try" in
18047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18048 *) ac_try_echo=$ac_try;;
18049 esac
18050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18051 (eval "$ac_compile") 2>conftest.er1
18052 ac_status=$?
18053 grep -v '^ *+' conftest.er1 >conftest.err
18054 rm -f conftest.er1
18055 cat conftest.err >&5
18056 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18057 (exit $ac_status); } && {
18058 test -z "$ac_c_werror_flag" ||
18059 test ! -s conftest.err
18060 } && test -s conftest.$ac_objext; then
18061 { echo "$as_me:$LINENO: result: yes" >&5
18062 echo "${ECHO_T}yes" >&6; }
18063 else
18064 echo "$as_me: failed program was:" >&5
18065 sed 's/^/| /' conftest.$ac_ext >&5
18066
18067 { echo "$as_me:$LINENO: result: no" >&5
18068 echo "${ECHO_T}no" >&6; }
18069 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18070 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18071 cat >conftest.$ac_ext <<_ACEOF
18072 /* confdefs.h. */
18073 _ACEOF
18074 cat confdefs.h >>conftest.$ac_ext
18075 cat >>conftest.$ac_ext <<_ACEOF
18076 /* end confdefs.h. */
18077 #define __CF_USE_FRAMEWORK_INCLUDES__
18078 #include <CoreFoundation/CFBase.h>
18079
18080 int
18081 main ()
18082 {
18083
18084 ;
18085 return 0;
18086 }
18087 _ACEOF
18088 rm -f conftest.$ac_objext
18089 if { (ac_try="$ac_compile"
18090 case "(($ac_try" in
18091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18092 *) ac_try_echo=$ac_try;;
18093 esac
18094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18095 (eval "$ac_compile") 2>conftest.er1
18096 ac_status=$?
18097 grep -v '^ *+' conftest.er1 >conftest.err
18098 rm -f conftest.er1
18099 cat conftest.err >&5
18100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18101 (exit $ac_status); } && {
18102 test -z "$ac_c_werror_flag" ||
18103 test ! -s conftest.err
18104 } && test -s conftest.$ac_objext; then
18105 { echo "$as_me:$LINENO: result: yes" >&5
18106 echo "${ECHO_T}yes" >&6; }
18107 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18108 else
18109 echo "$as_me: failed program was:" >&5
18110 sed 's/^/| /' conftest.$ac_ext >&5
18111
18112 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18113 See \`config.log' for more details." >&5
18114 echo "$as_me: error: no. CoreFoundation not available.
18115 See \`config.log' for more details." >&2;}
18116 { (exit 1); exit 1; }; }
18117
18118 fi
18119
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18121
18122
18123 fi
18124
18125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18126 ;;
18127 esac
18128
18129 wants_win32=0
18130 doesnt_want_win32=0
18131 case "${host}" in
18132 *-*-cygwin*)
18133 if test "$wxUSE_MSW" = 1 ; then
18134 wants_win32=1
18135 else
18136 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18137 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18138 if test "${wx_cv_nocygwin+set}" = set; then
18139 echo $ECHO_N "(cached) $ECHO_C" >&6
18140 else
18141
18142 cat >conftest.$ac_ext <<_ACEOF
18143 /* confdefs.h. */
18144 _ACEOF
18145 cat confdefs.h >>conftest.$ac_ext
18146 cat >>conftest.$ac_ext <<_ACEOF
18147 /* end confdefs.h. */
18148
18149 int
18150 main ()
18151 {
18152
18153 #ifdef __MINGW32__
18154 choke me
18155 #endif
18156
18157 ;
18158 return 0;
18159 }
18160 _ACEOF
18161 rm -f conftest.$ac_objext
18162 if { (ac_try="$ac_compile"
18163 case "(($ac_try" in
18164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18165 *) ac_try_echo=$ac_try;;
18166 esac
18167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18168 (eval "$ac_compile") 2>conftest.er1
18169 ac_status=$?
18170 grep -v '^ *+' conftest.er1 >conftest.err
18171 rm -f conftest.er1
18172 cat conftest.err >&5
18173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18174 (exit $ac_status); } && {
18175 test -z "$ac_c_werror_flag" ||
18176 test ! -s conftest.err
18177 } && test -s conftest.$ac_objext; then
18178 wx_cv_nocygwin=no
18179 else
18180 echo "$as_me: failed program was:" >&5
18181 sed 's/^/| /' conftest.$ac_ext >&5
18182
18183 wx_cv_nocygwin=yes
18184
18185 fi
18186
18187 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18188
18189
18190 fi
18191 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18192 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18193
18194 if test "$wx_cv_nocygwin" = "yes"; then
18195 wants_win32=1
18196 else
18197 doesnt_want_win32=1
18198 fi
18199 fi
18200 if test "$wants_win32" = 1 ; then
18201 BAKEFILE_FORCE_PLATFORM=win32
18202 fi
18203 ;;
18204 *-*-mingw*)
18205 wants_win32=1
18206 ;;
18207 esac
18208
18209 if test "$wxUSE_WINE" = "yes"; then
18210 wants_win32=1
18211 LDFLAGS_GUI="-mwindows"
18212 fi
18213
18214 if test "$wants_win32" = 1 ; then
18215 USE_UNIX=0
18216 USE_WIN32=1
18217 cat >>confdefs.h <<\_ACEOF
18218 #define __WIN32__ 1
18219 _ACEOF
18220
18221 cat >>confdefs.h <<\_ACEOF
18222 #define __WIN95__ 1
18223 _ACEOF
18224
18225 cat >>confdefs.h <<\_ACEOF
18226 #define __WINDOWS__ 1
18227 _ACEOF
18228
18229 cat >>confdefs.h <<\_ACEOF
18230 #define __GNUWIN32__ 1
18231 _ACEOF
18232
18233 cat >>confdefs.h <<\_ACEOF
18234 #define STRICT 1
18235 _ACEOF
18236
18237 fi
18238 if test "$doesnt_want_win32" = 1 ; then
18239 USE_UNIX=1
18240 USE_WIN32=0
18241 fi
18242
18243 if test "$USE_UNIX" = 1 ; then
18244 wxUSE_UNIX=yes
18245 cat >>confdefs.h <<\_ACEOF
18246 #define __UNIX__ 1
18247 _ACEOF
18248
18249 fi
18250
18251 case "${host}" in
18252 *-pc-os2_emx | *-pc-os2-emx )
18253 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18254 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18255 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18256 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18257 echo $ECHO_N "(cached) $ECHO_C" >&6
18258 else
18259 ac_check_lib_save_LIBS=$LIBS
18260 LIBS="-lcExt $LIBS"
18261 cat >conftest.$ac_ext <<_ACEOF
18262 /* confdefs.h. */
18263 _ACEOF
18264 cat confdefs.h >>conftest.$ac_ext
18265 cat >>conftest.$ac_ext <<_ACEOF
18266 /* end confdefs.h. */
18267
18268 /* Override any GCC internal prototype to avoid an error.
18269 Use char because int might match the return type of a GCC
18270 builtin and then its argument prototype would still apply. */
18271 #ifdef __cplusplus
18272 extern "C"
18273 #endif
18274 char drand48 ();
18275 int
18276 main ()
18277 {
18278 return drand48 ();
18279 ;
18280 return 0;
18281 }
18282 _ACEOF
18283 rm -f conftest.$ac_objext conftest$ac_exeext
18284 if { (ac_try="$ac_link"
18285 case "(($ac_try" in
18286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18287 *) ac_try_echo=$ac_try;;
18288 esac
18289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18290 (eval "$ac_link") 2>conftest.er1
18291 ac_status=$?
18292 grep -v '^ *+' conftest.er1 >conftest.err
18293 rm -f conftest.er1
18294 cat conftest.err >&5
18295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18296 (exit $ac_status); } && {
18297 test -z "$ac_c_werror_flag" ||
18298 test ! -s conftest.err
18299 } && test -s conftest$ac_exeext &&
18300 $as_test_x conftest$ac_exeext; then
18301 ac_cv_lib_cExt_drand48=yes
18302 else
18303 echo "$as_me: failed program was:" >&5
18304 sed 's/^/| /' conftest.$ac_ext >&5
18305
18306 ac_cv_lib_cExt_drand48=no
18307 fi
18308
18309 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18310 conftest$ac_exeext conftest.$ac_ext
18311 LIBS=$ac_check_lib_save_LIBS
18312 fi
18313 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18314 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18315 if test $ac_cv_lib_cExt_drand48 = yes; then
18316 LIBS="$LIBS -lcExt"
18317 fi
18318
18319 else
18320 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18321 fi
18322 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18323 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18324 if test "${wx_cv_gccversion+set}" = set; then
18325 echo $ECHO_N "(cached) $ECHO_C" >&6
18326 else
18327
18328 if test "$cross_compiling" = yes; then
18329 wx_cv_gccversion="EMX2"
18330
18331 else
18332 cat >conftest.$ac_ext <<_ACEOF
18333 /* confdefs.h. */
18334 _ACEOF
18335 cat confdefs.h >>conftest.$ac_ext
18336 cat >>conftest.$ac_ext <<_ACEOF
18337 /* end confdefs.h. */
18338
18339 #include <stdio.h>
18340
18341 int main()
18342 {
18343 FILE *f=fopen("conftestval", "w");
18344 if (!f) exit(1);
18345 fprintf(f,
18346 #if (__GNUC__ < 3)
18347 "EMX2"
18348 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18349 "EMX3"
18350 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18351 "Innotek5"
18352 #else
18353 "Innotek6"
18354 #endif
18355 );
18356 exit(0);
18357 }
18358
18359 _ACEOF
18360 rm -f conftest$ac_exeext
18361 if { (ac_try="$ac_link"
18362 case "(($ac_try" in
18363 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18364 *) ac_try_echo=$ac_try;;
18365 esac
18366 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18367 (eval "$ac_link") 2>&5
18368 ac_status=$?
18369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18370 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18371 { (case "(($ac_try" in
18372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18373 *) ac_try_echo=$ac_try;;
18374 esac
18375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18376 (eval "$ac_try") 2>&5
18377 ac_status=$?
18378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18379 (exit $ac_status); }; }; then
18380 wx_cv_gccversion=`cat conftestval`
18381 else
18382 echo "$as_me: program exited with status $ac_status" >&5
18383 echo "$as_me: failed program was:" >&5
18384 sed 's/^/| /' conftest.$ac_ext >&5
18385
18386 ( exit $ac_status )
18387 wx_cv_gccversion="EMX2"
18388 fi
18389 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18390 fi
18391
18392
18393
18394 fi
18395 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18396 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18397 if test "$wx_cv_gccversion" = "EMX2"; then
18398 LIBS="$LIBS -lstdcpp"
18399 LDFLAGS="$LDFLAGS -Zsysv-signals"
18400 else
18401 if test "$wx_cv_gccversion" = "EMX3"; then
18402 LIBS="$LIBS -lstdcxx -lgcc"
18403 LDFLAGS="$LDFLAGS -Zsysv-signals"
18404 else
18405 LIBS="$LIBS -lstdc++"
18406 fi
18407 fi
18408 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18409 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18410 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18411 wxUSE_OMF=yes
18412 enable_omf=yes
18413 fi
18414 ;;
18415 *)
18416
18417 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18418 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18419 if test "${ac_cv_string_strcasecmp+set}" = set; then
18420 echo $ECHO_N "(cached) $ECHO_C" >&6
18421 else
18422
18423 cat >conftest.$ac_ext <<_ACEOF
18424 /* confdefs.h. */
18425 _ACEOF
18426 cat confdefs.h >>conftest.$ac_ext
18427 cat >>conftest.$ac_ext <<_ACEOF
18428 /* end confdefs.h. */
18429
18430 #include <string.h>
18431
18432 int
18433 main ()
18434 {
18435
18436 strcasecmp("foo", "bar");
18437
18438 ;
18439 return 0;
18440 }
18441 _ACEOF
18442 rm -f conftest.$ac_objext conftest$ac_exeext
18443 if { (ac_try="$ac_link"
18444 case "(($ac_try" in
18445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18446 *) ac_try_echo=$ac_try;;
18447 esac
18448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18449 (eval "$ac_link") 2>conftest.er1
18450 ac_status=$?
18451 grep -v '^ *+' conftest.er1 >conftest.err
18452 rm -f conftest.er1
18453 cat conftest.err >&5
18454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18455 (exit $ac_status); } && {
18456 test -z "$ac_c_werror_flag" ||
18457 test ! -s conftest.err
18458 } && test -s conftest$ac_exeext &&
18459 $as_test_x conftest$ac_exeext; then
18460 ac_cv_string_strcasecmp=yes
18461 else
18462 echo "$as_me: failed program was:" >&5
18463 sed 's/^/| /' conftest.$ac_ext >&5
18464
18465 ac_cv_string_strcasecmp=no
18466
18467 fi
18468
18469 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18470 conftest$ac_exeext conftest.$ac_ext
18471
18472 fi
18473 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18474 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18475
18476 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18477 cat >>confdefs.h <<\_ACEOF
18478 #define HAVE_STRCASECMP_IN_STRING_H 1
18479 _ACEOF
18480
18481 else
18482 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18483 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18484 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18485 echo $ECHO_N "(cached) $ECHO_C" >&6
18486 else
18487
18488 cat >conftest.$ac_ext <<_ACEOF
18489 /* confdefs.h. */
18490 _ACEOF
18491 cat confdefs.h >>conftest.$ac_ext
18492 cat >>conftest.$ac_ext <<_ACEOF
18493 /* end confdefs.h. */
18494
18495 #include <strings.h>
18496
18497 int
18498 main ()
18499 {
18500
18501 strcasecmp("foo", "bar");
18502
18503 ;
18504 return 0;
18505 }
18506 _ACEOF
18507 rm -f conftest.$ac_objext conftest$ac_exeext
18508 if { (ac_try="$ac_link"
18509 case "(($ac_try" in
18510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18511 *) ac_try_echo=$ac_try;;
18512 esac
18513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18514 (eval "$ac_link") 2>conftest.er1
18515 ac_status=$?
18516 grep -v '^ *+' conftest.er1 >conftest.err
18517 rm -f conftest.er1
18518 cat conftest.err >&5
18519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18520 (exit $ac_status); } && {
18521 test -z "$ac_c_werror_flag" ||
18522 test ! -s conftest.err
18523 } && test -s conftest$ac_exeext &&
18524 $as_test_x conftest$ac_exeext; then
18525 ac_cv_strings_strcasecmp=yes
18526 else
18527 echo "$as_me: failed program was:" >&5
18528 sed 's/^/| /' conftest.$ac_ext >&5
18529
18530 ac_cv_strings_strcasecmp=no
18531
18532 fi
18533
18534 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18535 conftest$ac_exeext conftest.$ac_ext
18536
18537 fi
18538 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18539 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18540
18541 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18542 cat >>confdefs.h <<\_ACEOF
18543 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18544 _ACEOF
18545
18546 else
18547 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18548 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18549 { (exit 1); exit 1; }; }
18550 fi
18551 fi
18552
18553 ;;
18554 esac
18555
18556
18557 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18558 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18559 if test "${ac_cv_header_stdc+set}" = set; then
18560 echo $ECHO_N "(cached) $ECHO_C" >&6
18561 else
18562 cat >conftest.$ac_ext <<_ACEOF
18563 /* confdefs.h. */
18564 _ACEOF
18565 cat confdefs.h >>conftest.$ac_ext
18566 cat >>conftest.$ac_ext <<_ACEOF
18567 /* end confdefs.h. */
18568 #include <stdlib.h>
18569 #include <stdarg.h>
18570 #include <string.h>
18571 #include <float.h>
18572
18573 int
18574 main ()
18575 {
18576
18577 ;
18578 return 0;
18579 }
18580 _ACEOF
18581 rm -f conftest.$ac_objext
18582 if { (ac_try="$ac_compile"
18583 case "(($ac_try" in
18584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18585 *) ac_try_echo=$ac_try;;
18586 esac
18587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18588 (eval "$ac_compile") 2>conftest.er1
18589 ac_status=$?
18590 grep -v '^ *+' conftest.er1 >conftest.err
18591 rm -f conftest.er1
18592 cat conftest.err >&5
18593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18594 (exit $ac_status); } && {
18595 test -z "$ac_c_werror_flag" ||
18596 test ! -s conftest.err
18597 } && test -s conftest.$ac_objext; then
18598 ac_cv_header_stdc=yes
18599 else
18600 echo "$as_me: failed program was:" >&5
18601 sed 's/^/| /' conftest.$ac_ext >&5
18602
18603 ac_cv_header_stdc=no
18604 fi
18605
18606 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18607
18608 if test $ac_cv_header_stdc = yes; then
18609 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18610 cat >conftest.$ac_ext <<_ACEOF
18611 /* confdefs.h. */
18612 _ACEOF
18613 cat confdefs.h >>conftest.$ac_ext
18614 cat >>conftest.$ac_ext <<_ACEOF
18615 /* end confdefs.h. */
18616 #include <string.h>
18617
18618 _ACEOF
18619 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18620 $EGREP "memchr" >/dev/null 2>&1; then
18621 :
18622 else
18623 ac_cv_header_stdc=no
18624 fi
18625 rm -f conftest*
18626
18627 fi
18628
18629 if test $ac_cv_header_stdc = yes; then
18630 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18631 cat >conftest.$ac_ext <<_ACEOF
18632 /* confdefs.h. */
18633 _ACEOF
18634 cat confdefs.h >>conftest.$ac_ext
18635 cat >>conftest.$ac_ext <<_ACEOF
18636 /* end confdefs.h. */
18637 #include <stdlib.h>
18638
18639 _ACEOF
18640 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18641 $EGREP "free" >/dev/null 2>&1; then
18642 :
18643 else
18644 ac_cv_header_stdc=no
18645 fi
18646 rm -f conftest*
18647
18648 fi
18649
18650 if test $ac_cv_header_stdc = yes; then
18651 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18652 if test "$cross_compiling" = yes; then
18653 :
18654 else
18655 cat >conftest.$ac_ext <<_ACEOF
18656 /* confdefs.h. */
18657 _ACEOF
18658 cat confdefs.h >>conftest.$ac_ext
18659 cat >>conftest.$ac_ext <<_ACEOF
18660 /* end confdefs.h. */
18661 #include <ctype.h>
18662 #include <stdlib.h>
18663 #if ((' ' & 0x0FF) == 0x020)
18664 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18665 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18666 #else
18667 # define ISLOWER(c) \
18668 (('a' <= (c) && (c) <= 'i') \
18669 || ('j' <= (c) && (c) <= 'r') \
18670 || ('s' <= (c) && (c) <= 'z'))
18671 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18672 #endif
18673
18674 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18675 int
18676 main ()
18677 {
18678 int i;
18679 for (i = 0; i < 256; i++)
18680 if (XOR (islower (i), ISLOWER (i))
18681 || toupper (i) != TOUPPER (i))
18682 return 2;
18683 return 0;
18684 }
18685 _ACEOF
18686 rm -f conftest$ac_exeext
18687 if { (ac_try="$ac_link"
18688 case "(($ac_try" in
18689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18690 *) ac_try_echo=$ac_try;;
18691 esac
18692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18693 (eval "$ac_link") 2>&5
18694 ac_status=$?
18695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18696 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18697 { (case "(($ac_try" in
18698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18699 *) ac_try_echo=$ac_try;;
18700 esac
18701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18702 (eval "$ac_try") 2>&5
18703 ac_status=$?
18704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18705 (exit $ac_status); }; }; then
18706 :
18707 else
18708 echo "$as_me: program exited with status $ac_status" >&5
18709 echo "$as_me: failed program was:" >&5
18710 sed 's/^/| /' conftest.$ac_ext >&5
18711
18712 ( exit $ac_status )
18713 ac_cv_header_stdc=no
18714 fi
18715 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18716 fi
18717
18718
18719 fi
18720 fi
18721 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18722 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18723 if test $ac_cv_header_stdc = yes; then
18724
18725 cat >>confdefs.h <<\_ACEOF
18726 #define STDC_HEADERS 1
18727 _ACEOF
18728
18729 fi
18730
18731 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18732
18733
18734
18735
18736
18737
18738
18739
18740
18741 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18742 inttypes.h stdint.h unistd.h
18743 do
18744 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18745 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18746 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18747 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18748 echo $ECHO_N "(cached) $ECHO_C" >&6
18749 else
18750 cat >conftest.$ac_ext <<_ACEOF
18751 /* confdefs.h. */
18752 _ACEOF
18753 cat confdefs.h >>conftest.$ac_ext
18754 cat >>conftest.$ac_ext <<_ACEOF
18755 /* end confdefs.h. */
18756 $ac_includes_default
18757
18758 #include <$ac_header>
18759 _ACEOF
18760 rm -f conftest.$ac_objext
18761 if { (ac_try="$ac_compile"
18762 case "(($ac_try" in
18763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18764 *) ac_try_echo=$ac_try;;
18765 esac
18766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18767 (eval "$ac_compile") 2>conftest.er1
18768 ac_status=$?
18769 grep -v '^ *+' conftest.er1 >conftest.err
18770 rm -f conftest.er1
18771 cat conftest.err >&5
18772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18773 (exit $ac_status); } && {
18774 test -z "$ac_c_werror_flag" ||
18775 test ! -s conftest.err
18776 } && test -s conftest.$ac_objext; then
18777 eval "$as_ac_Header=yes"
18778 else
18779 echo "$as_me: failed program was:" >&5
18780 sed 's/^/| /' conftest.$ac_ext >&5
18781
18782 eval "$as_ac_Header=no"
18783 fi
18784
18785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18786 fi
18787 ac_res=`eval echo '${'$as_ac_Header'}'`
18788 { echo "$as_me:$LINENO: result: $ac_res" >&5
18789 echo "${ECHO_T}$ac_res" >&6; }
18790 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18791 cat >>confdefs.h <<_ACEOF
18792 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18793 _ACEOF
18794
18795 fi
18796
18797 done
18798
18799
18800
18801
18802 for ac_header in langinfo.h wchar.h
18803 do
18804 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18805 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18806 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18807 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18808 echo $ECHO_N "(cached) $ECHO_C" >&6
18809 else
18810 cat >conftest.$ac_ext <<_ACEOF
18811 /* confdefs.h. */
18812 _ACEOF
18813 cat confdefs.h >>conftest.$ac_ext
18814 cat >>conftest.$ac_ext <<_ACEOF
18815 /* end confdefs.h. */
18816 $ac_includes_default
18817
18818 #include <$ac_header>
18819 _ACEOF
18820 rm -f conftest.$ac_objext
18821 if { (ac_try="$ac_compile"
18822 case "(($ac_try" in
18823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18824 *) ac_try_echo=$ac_try;;
18825 esac
18826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18827 (eval "$ac_compile") 2>conftest.er1
18828 ac_status=$?
18829 grep -v '^ *+' conftest.er1 >conftest.err
18830 rm -f conftest.er1
18831 cat conftest.err >&5
18832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18833 (exit $ac_status); } && {
18834 test -z "$ac_c_werror_flag" ||
18835 test ! -s conftest.err
18836 } && test -s conftest.$ac_objext; then
18837 eval "$as_ac_Header=yes"
18838 else
18839 echo "$as_me: failed program was:" >&5
18840 sed 's/^/| /' conftest.$ac_ext >&5
18841
18842 eval "$as_ac_Header=no"
18843 fi
18844
18845 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18846 fi
18847 ac_res=`eval echo '${'$as_ac_Header'}'`
18848 { echo "$as_me:$LINENO: result: $ac_res" >&5
18849 echo "${ECHO_T}$ac_res" >&6; }
18850 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18851 cat >>confdefs.h <<_ACEOF
18852 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18853 _ACEOF
18854
18855 fi
18856
18857 done
18858
18859
18860 if test "$ac_cv_header_wchar_h" != "yes"; then
18861
18862 for ac_header in wcstr.h
18863 do
18864 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18865 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18866 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18867 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18868 echo $ECHO_N "(cached) $ECHO_C" >&6
18869 else
18870 cat >conftest.$ac_ext <<_ACEOF
18871 /* confdefs.h. */
18872 _ACEOF
18873 cat confdefs.h >>conftest.$ac_ext
18874 cat >>conftest.$ac_ext <<_ACEOF
18875 /* end confdefs.h. */
18876 $ac_includes_default
18877
18878 #include <$ac_header>
18879 _ACEOF
18880 rm -f conftest.$ac_objext
18881 if { (ac_try="$ac_compile"
18882 case "(($ac_try" in
18883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18884 *) ac_try_echo=$ac_try;;
18885 esac
18886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_compile") 2>conftest.er1
18888 ac_status=$?
18889 grep -v '^ *+' conftest.er1 >conftest.err
18890 rm -f conftest.er1
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } && {
18894 test -z "$ac_c_werror_flag" ||
18895 test ! -s conftest.err
18896 } && test -s conftest.$ac_objext; then
18897 eval "$as_ac_Header=yes"
18898 else
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18901
18902 eval "$as_ac_Header=no"
18903 fi
18904
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18906 fi
18907 ac_res=`eval echo '${'$as_ac_Header'}'`
18908 { echo "$as_me:$LINENO: result: $ac_res" >&5
18909 echo "${ECHO_T}$ac_res" >&6; }
18910 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18911 cat >>confdefs.h <<_ACEOF
18912 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18913 _ACEOF
18914
18915 fi
18916
18917 done
18918
18919 fi
18920
18921 case "${host}" in
18922 *-pc-os2_emx | *-pc-os2-emx )
18923 if test $ac_cv_header_langinfo_h = "yes" \
18924 -a \( "$wx_cv_gccversion" = "EMX2" \
18925 -o "$wx_cv_gccversion" = "EMX3" \
18926 -o "$wx_cv_gccversion" = "Innotek5" \); then
18927 LIBS="$LIBS -lintl"
18928 fi
18929 ;;
18930 esac
18931
18932 if test "$USE_UNIX" = 1 ; then
18933
18934 for ac_header in sys/select.h
18935 do
18936 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18937 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18938 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18939 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18940 echo $ECHO_N "(cached) $ECHO_C" >&6
18941 else
18942 cat >conftest.$ac_ext <<_ACEOF
18943 /* confdefs.h. */
18944 _ACEOF
18945 cat confdefs.h >>conftest.$ac_ext
18946 cat >>conftest.$ac_ext <<_ACEOF
18947 /* end confdefs.h. */
18948 $ac_includes_default
18949
18950 #include <$ac_header>
18951 _ACEOF
18952 rm -f conftest.$ac_objext
18953 if { (ac_try="$ac_compile"
18954 case "(($ac_try" in
18955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18956 *) ac_try_echo=$ac_try;;
18957 esac
18958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18959 (eval "$ac_compile") 2>conftest.er1
18960 ac_status=$?
18961 grep -v '^ *+' conftest.er1 >conftest.err
18962 rm -f conftest.er1
18963 cat conftest.err >&5
18964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18965 (exit $ac_status); } && {
18966 test -z "$ac_c_werror_flag" ||
18967 test ! -s conftest.err
18968 } && test -s conftest.$ac_objext; then
18969 eval "$as_ac_Header=yes"
18970 else
18971 echo "$as_me: failed program was:" >&5
18972 sed 's/^/| /' conftest.$ac_ext >&5
18973
18974 eval "$as_ac_Header=no"
18975 fi
18976
18977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18978 fi
18979 ac_res=`eval echo '${'$as_ac_Header'}'`
18980 { echo "$as_me:$LINENO: result: $ac_res" >&5
18981 echo "${ECHO_T}$ac_res" >&6; }
18982 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18983 cat >>confdefs.h <<_ACEOF
18984 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18985 _ACEOF
18986
18987 fi
18988
18989 done
18990
18991 fi
18992
18993
18994 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18995 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18996 if test "${ac_cv_c_const+set}" = set; then
18997 echo $ECHO_N "(cached) $ECHO_C" >&6
18998 else
18999 cat >conftest.$ac_ext <<_ACEOF
19000 /* confdefs.h. */
19001 _ACEOF
19002 cat confdefs.h >>conftest.$ac_ext
19003 cat >>conftest.$ac_ext <<_ACEOF
19004 /* end confdefs.h. */
19005
19006 int
19007 main ()
19008 {
19009 /* FIXME: Include the comments suggested by Paul. */
19010 #ifndef __cplusplus
19011 /* Ultrix mips cc rejects this. */
19012 typedef int charset[2];
19013 const charset cs;
19014 /* SunOS 4.1.1 cc rejects this. */
19015 char const *const *pcpcc;
19016 char **ppc;
19017 /* NEC SVR4.0.2 mips cc rejects this. */
19018 struct point {int x, y;};
19019 static struct point const zero = {0,0};
19020 /* AIX XL C 1.02.0.0 rejects this.
19021 It does not let you subtract one const X* pointer from another in
19022 an arm of an if-expression whose if-part is not a constant
19023 expression */
19024 const char *g = "string";
19025 pcpcc = &g + (g ? g-g : 0);
19026 /* HPUX 7.0 cc rejects these. */
19027 ++pcpcc;
19028 ppc = (char**) pcpcc;
19029 pcpcc = (char const *const *) ppc;
19030 { /* SCO 3.2v4 cc rejects this. */
19031 char *t;
19032 char const *s = 0 ? (char *) 0 : (char const *) 0;
19033
19034 *t++ = 0;
19035 if (s) return 0;
19036 }
19037 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
19038 int x[] = {25, 17};
19039 const int *foo = &x[0];
19040 ++foo;
19041 }
19042 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
19043 typedef const int *iptr;
19044 iptr p = 0;
19045 ++p;
19046 }
19047 { /* AIX XL C 1.02.0.0 rejects this saying
19048 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
19049 struct s { int j; const int *ap[3]; };
19050 struct s *b; b->j = 5;
19051 }
19052 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
19053 const int foo = 10;
19054 if (!foo) return 0;
19055 }
19056 return !cs[0] && !zero.x;
19057 #endif
19058
19059 ;
19060 return 0;
19061 }
19062 _ACEOF
19063 rm -f conftest.$ac_objext
19064 if { (ac_try="$ac_compile"
19065 case "(($ac_try" in
19066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19067 *) ac_try_echo=$ac_try;;
19068 esac
19069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19070 (eval "$ac_compile") 2>conftest.er1
19071 ac_status=$?
19072 grep -v '^ *+' conftest.er1 >conftest.err
19073 rm -f conftest.er1
19074 cat conftest.err >&5
19075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19076 (exit $ac_status); } && {
19077 test -z "$ac_c_werror_flag" ||
19078 test ! -s conftest.err
19079 } && test -s conftest.$ac_objext; then
19080 ac_cv_c_const=yes
19081 else
19082 echo "$as_me: failed program was:" >&5
19083 sed 's/^/| /' conftest.$ac_ext >&5
19084
19085 ac_cv_c_const=no
19086 fi
19087
19088 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19089 fi
19090 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19091 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19092 if test $ac_cv_c_const = no; then
19093
19094 cat >>confdefs.h <<\_ACEOF
19095 #define const
19096 _ACEOF
19097
19098 fi
19099
19100 { echo "$as_me:$LINENO: checking for inline" >&5
19101 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19102 if test "${ac_cv_c_inline+set}" = set; then
19103 echo $ECHO_N "(cached) $ECHO_C" >&6
19104 else
19105 ac_cv_c_inline=no
19106 for ac_kw in inline __inline__ __inline; do
19107 cat >conftest.$ac_ext <<_ACEOF
19108 /* confdefs.h. */
19109 _ACEOF
19110 cat confdefs.h >>conftest.$ac_ext
19111 cat >>conftest.$ac_ext <<_ACEOF
19112 /* end confdefs.h. */
19113 #ifndef __cplusplus
19114 typedef int foo_t;
19115 static $ac_kw foo_t static_foo () {return 0; }
19116 $ac_kw foo_t foo () {return 0; }
19117 #endif
19118
19119 _ACEOF
19120 rm -f conftest.$ac_objext
19121 if { (ac_try="$ac_compile"
19122 case "(($ac_try" in
19123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19124 *) ac_try_echo=$ac_try;;
19125 esac
19126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19127 (eval "$ac_compile") 2>conftest.er1
19128 ac_status=$?
19129 grep -v '^ *+' conftest.er1 >conftest.err
19130 rm -f conftest.er1
19131 cat conftest.err >&5
19132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19133 (exit $ac_status); } && {
19134 test -z "$ac_c_werror_flag" ||
19135 test ! -s conftest.err
19136 } && test -s conftest.$ac_objext; then
19137 ac_cv_c_inline=$ac_kw
19138 else
19139 echo "$as_me: failed program was:" >&5
19140 sed 's/^/| /' conftest.$ac_ext >&5
19141
19142
19143 fi
19144
19145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19146 test "$ac_cv_c_inline" != no && break
19147 done
19148
19149 fi
19150 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19151 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19152
19153
19154 case $ac_cv_c_inline in
19155 inline | yes) ;;
19156 *)
19157 case $ac_cv_c_inline in
19158 no) ac_val=;;
19159 *) ac_val=$ac_cv_c_inline;;
19160 esac
19161 cat >>confdefs.h <<_ACEOF
19162 #ifndef __cplusplus
19163 #define inline $ac_val
19164 #endif
19165 _ACEOF
19166 ;;
19167 esac
19168
19169
19170 { echo "$as_me:$LINENO: checking for short" >&5
19171 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19172 if test "${ac_cv_type_short+set}" = set; then
19173 echo $ECHO_N "(cached) $ECHO_C" >&6
19174 else
19175 cat >conftest.$ac_ext <<_ACEOF
19176 /* confdefs.h. */
19177 _ACEOF
19178 cat confdefs.h >>conftest.$ac_ext
19179 cat >>conftest.$ac_ext <<_ACEOF
19180 /* end confdefs.h. */
19181 $ac_includes_default
19182 typedef short ac__type_new_;
19183 int
19184 main ()
19185 {
19186 if ((ac__type_new_ *) 0)
19187 return 0;
19188 if (sizeof (ac__type_new_))
19189 return 0;
19190 ;
19191 return 0;
19192 }
19193 _ACEOF
19194 rm -f conftest.$ac_objext
19195 if { (ac_try="$ac_compile"
19196 case "(($ac_try" in
19197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19198 *) ac_try_echo=$ac_try;;
19199 esac
19200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19201 (eval "$ac_compile") 2>conftest.er1
19202 ac_status=$?
19203 grep -v '^ *+' conftest.er1 >conftest.err
19204 rm -f conftest.er1
19205 cat conftest.err >&5
19206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19207 (exit $ac_status); } && {
19208 test -z "$ac_c_werror_flag" ||
19209 test ! -s conftest.err
19210 } && test -s conftest.$ac_objext; then
19211 ac_cv_type_short=yes
19212 else
19213 echo "$as_me: failed program was:" >&5
19214 sed 's/^/| /' conftest.$ac_ext >&5
19215
19216 ac_cv_type_short=no
19217 fi
19218
19219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19220 fi
19221 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19222 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19223
19224 # The cast to long int works around a bug in the HP C Compiler
19225 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19226 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19227 # This bug is HP SR number 8606223364.
19228 { echo "$as_me:$LINENO: checking size of short" >&5
19229 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19230 if test "${ac_cv_sizeof_short+set}" = set; then
19231 echo $ECHO_N "(cached) $ECHO_C" >&6
19232 else
19233 if test "$cross_compiling" = yes; then
19234 # Depending upon the size, compute the lo and hi bounds.
19235 cat >conftest.$ac_ext <<_ACEOF
19236 /* confdefs.h. */
19237 _ACEOF
19238 cat confdefs.h >>conftest.$ac_ext
19239 cat >>conftest.$ac_ext <<_ACEOF
19240 /* end confdefs.h. */
19241 $ac_includes_default
19242 typedef short ac__type_sizeof_;
19243 int
19244 main ()
19245 {
19246 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19247 test_array [0] = 0
19248
19249 ;
19250 return 0;
19251 }
19252 _ACEOF
19253 rm -f conftest.$ac_objext
19254 if { (ac_try="$ac_compile"
19255 case "(($ac_try" in
19256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19257 *) ac_try_echo=$ac_try;;
19258 esac
19259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19260 (eval "$ac_compile") 2>conftest.er1
19261 ac_status=$?
19262 grep -v '^ *+' conftest.er1 >conftest.err
19263 rm -f conftest.er1
19264 cat conftest.err >&5
19265 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19266 (exit $ac_status); } && {
19267 test -z "$ac_c_werror_flag" ||
19268 test ! -s conftest.err
19269 } && test -s conftest.$ac_objext; then
19270 ac_lo=0 ac_mid=0
19271 while :; do
19272 cat >conftest.$ac_ext <<_ACEOF
19273 /* confdefs.h. */
19274 _ACEOF
19275 cat confdefs.h >>conftest.$ac_ext
19276 cat >>conftest.$ac_ext <<_ACEOF
19277 /* end confdefs.h. */
19278 $ac_includes_default
19279 typedef short ac__type_sizeof_;
19280 int
19281 main ()
19282 {
19283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19284 test_array [0] = 0
19285
19286 ;
19287 return 0;
19288 }
19289 _ACEOF
19290 rm -f conftest.$ac_objext
19291 if { (ac_try="$ac_compile"
19292 case "(($ac_try" in
19293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19294 *) ac_try_echo=$ac_try;;
19295 esac
19296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19297 (eval "$ac_compile") 2>conftest.er1
19298 ac_status=$?
19299 grep -v '^ *+' conftest.er1 >conftest.err
19300 rm -f conftest.er1
19301 cat conftest.err >&5
19302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19303 (exit $ac_status); } && {
19304 test -z "$ac_c_werror_flag" ||
19305 test ! -s conftest.err
19306 } && test -s conftest.$ac_objext; then
19307 ac_hi=$ac_mid; break
19308 else
19309 echo "$as_me: failed program was:" >&5
19310 sed 's/^/| /' conftest.$ac_ext >&5
19311
19312 ac_lo=`expr $ac_mid + 1`
19313 if test $ac_lo -le $ac_mid; then
19314 ac_lo= ac_hi=
19315 break
19316 fi
19317 ac_mid=`expr 2 '*' $ac_mid + 1`
19318 fi
19319
19320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19321 done
19322 else
19323 echo "$as_me: failed program was:" >&5
19324 sed 's/^/| /' conftest.$ac_ext >&5
19325
19326 cat >conftest.$ac_ext <<_ACEOF
19327 /* confdefs.h. */
19328 _ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19333 typedef short ac__type_sizeof_;
19334 int
19335 main ()
19336 {
19337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19338 test_array [0] = 0
19339
19340 ;
19341 return 0;
19342 }
19343 _ACEOF
19344 rm -f conftest.$ac_objext
19345 if { (ac_try="$ac_compile"
19346 case "(($ac_try" in
19347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19349 esac
19350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_compile") 2>conftest.er1
19352 ac_status=$?
19353 grep -v '^ *+' conftest.er1 >conftest.err
19354 rm -f conftest.er1
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } && {
19358 test -z "$ac_c_werror_flag" ||
19359 test ! -s conftest.err
19360 } && test -s conftest.$ac_objext; then
19361 ac_hi=-1 ac_mid=-1
19362 while :; do
19363 cat >conftest.$ac_ext <<_ACEOF
19364 /* confdefs.h. */
19365 _ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19370 typedef short ac__type_sizeof_;
19371 int
19372 main ()
19373 {
19374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19375 test_array [0] = 0
19376
19377 ;
19378 return 0;
19379 }
19380 _ACEOF
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19386 esac
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19389 ac_status=$?
19390 grep -v '^ *+' conftest.er1 >conftest.err
19391 rm -f conftest.er1
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_lo=$ac_mid; break
19399 else
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19402
19403 ac_hi=`expr '(' $ac_mid ')' - 1`
19404 if test $ac_mid -le $ac_hi; then
19405 ac_lo= ac_hi=
19406 break
19407 fi
19408 ac_mid=`expr 2 '*' $ac_mid`
19409 fi
19410
19411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19412 done
19413 else
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19416
19417 ac_lo= ac_hi=
19418 fi
19419
19420 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19421 fi
19422
19423 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19424 # Binary search between lo and hi bounds.
19425 while test "x$ac_lo" != "x$ac_hi"; do
19426 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19427 cat >conftest.$ac_ext <<_ACEOF
19428 /* confdefs.h. */
19429 _ACEOF
19430 cat confdefs.h >>conftest.$ac_ext
19431 cat >>conftest.$ac_ext <<_ACEOF
19432 /* end confdefs.h. */
19433 $ac_includes_default
19434 typedef short ac__type_sizeof_;
19435 int
19436 main ()
19437 {
19438 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19439 test_array [0] = 0
19440
19441 ;
19442 return 0;
19443 }
19444 _ACEOF
19445 rm -f conftest.$ac_objext
19446 if { (ac_try="$ac_compile"
19447 case "(($ac_try" in
19448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19449 *) ac_try_echo=$ac_try;;
19450 esac
19451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19452 (eval "$ac_compile") 2>conftest.er1
19453 ac_status=$?
19454 grep -v '^ *+' conftest.er1 >conftest.err
19455 rm -f conftest.er1
19456 cat conftest.err >&5
19457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19458 (exit $ac_status); } && {
19459 test -z "$ac_c_werror_flag" ||
19460 test ! -s conftest.err
19461 } && test -s conftest.$ac_objext; then
19462 ac_hi=$ac_mid
19463 else
19464 echo "$as_me: failed program was:" >&5
19465 sed 's/^/| /' conftest.$ac_ext >&5
19466
19467 ac_lo=`expr '(' $ac_mid ')' + 1`
19468 fi
19469
19470 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19471 done
19472 case $ac_lo in
19473 ?*) ac_cv_sizeof_short=$ac_lo;;
19474 '') if test "$ac_cv_type_short" = yes; then
19475 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19476 See \`config.log' for more details." >&5
19477 echo "$as_me: error: cannot compute sizeof (short)
19478 See \`config.log' for more details." >&2;}
19479 { (exit 77); exit 77; }; }
19480 else
19481 ac_cv_sizeof_short=0
19482 fi ;;
19483 esac
19484 else
19485 cat >conftest.$ac_ext <<_ACEOF
19486 /* confdefs.h. */
19487 _ACEOF
19488 cat confdefs.h >>conftest.$ac_ext
19489 cat >>conftest.$ac_ext <<_ACEOF
19490 /* end confdefs.h. */
19491 $ac_includes_default
19492 typedef short ac__type_sizeof_;
19493 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19494 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19495 #include <stdio.h>
19496 #include <stdlib.h>
19497 int
19498 main ()
19499 {
19500
19501 FILE *f = fopen ("conftest.val", "w");
19502 if (! f)
19503 return 1;
19504 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19505 {
19506 long int i = longval ();
19507 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19508 return 1;
19509 fprintf (f, "%ld\n", i);
19510 }
19511 else
19512 {
19513 unsigned long int i = ulongval ();
19514 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19515 return 1;
19516 fprintf (f, "%lu\n", i);
19517 }
19518 return ferror (f) || fclose (f) != 0;
19519
19520 ;
19521 return 0;
19522 }
19523 _ACEOF
19524 rm -f conftest$ac_exeext
19525 if { (ac_try="$ac_link"
19526 case "(($ac_try" in
19527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19528 *) ac_try_echo=$ac_try;;
19529 esac
19530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19531 (eval "$ac_link") 2>&5
19532 ac_status=$?
19533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19534 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19535 { (case "(($ac_try" in
19536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19537 *) ac_try_echo=$ac_try;;
19538 esac
19539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19540 (eval "$ac_try") 2>&5
19541 ac_status=$?
19542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19543 (exit $ac_status); }; }; then
19544 ac_cv_sizeof_short=`cat conftest.val`
19545 else
19546 echo "$as_me: program exited with status $ac_status" >&5
19547 echo "$as_me: failed program was:" >&5
19548 sed 's/^/| /' conftest.$ac_ext >&5
19549
19550 ( exit $ac_status )
19551 if test "$ac_cv_type_short" = yes; then
19552 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19553 See \`config.log' for more details." >&5
19554 echo "$as_me: error: cannot compute sizeof (short)
19555 See \`config.log' for more details." >&2;}
19556 { (exit 77); exit 77; }; }
19557 else
19558 ac_cv_sizeof_short=0
19559 fi
19560 fi
19561 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19562 fi
19563 rm -f conftest.val
19564 fi
19565 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19566 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19567
19568
19569
19570 cat >>confdefs.h <<_ACEOF
19571 #define SIZEOF_SHORT $ac_cv_sizeof_short
19572 _ACEOF
19573
19574
19575 { echo "$as_me:$LINENO: checking for void *" >&5
19576 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19577 if test "${ac_cv_type_void_p+set}" = set; then
19578 echo $ECHO_N "(cached) $ECHO_C" >&6
19579 else
19580 cat >conftest.$ac_ext <<_ACEOF
19581 /* confdefs.h. */
19582 _ACEOF
19583 cat confdefs.h >>conftest.$ac_ext
19584 cat >>conftest.$ac_ext <<_ACEOF
19585 /* end confdefs.h. */
19586 $ac_includes_default
19587 typedef void * ac__type_new_;
19588 int
19589 main ()
19590 {
19591 if ((ac__type_new_ *) 0)
19592 return 0;
19593 if (sizeof (ac__type_new_))
19594 return 0;
19595 ;
19596 return 0;
19597 }
19598 _ACEOF
19599 rm -f conftest.$ac_objext
19600 if { (ac_try="$ac_compile"
19601 case "(($ac_try" in
19602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19603 *) ac_try_echo=$ac_try;;
19604 esac
19605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19606 (eval "$ac_compile") 2>conftest.er1
19607 ac_status=$?
19608 grep -v '^ *+' conftest.er1 >conftest.err
19609 rm -f conftest.er1
19610 cat conftest.err >&5
19611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19612 (exit $ac_status); } && {
19613 test -z "$ac_c_werror_flag" ||
19614 test ! -s conftest.err
19615 } && test -s conftest.$ac_objext; then
19616 ac_cv_type_void_p=yes
19617 else
19618 echo "$as_me: failed program was:" >&5
19619 sed 's/^/| /' conftest.$ac_ext >&5
19620
19621 ac_cv_type_void_p=no
19622 fi
19623
19624 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19625 fi
19626 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19627 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19628
19629 # The cast to long int works around a bug in the HP C Compiler
19630 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19631 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19632 # This bug is HP SR number 8606223364.
19633 { echo "$as_me:$LINENO: checking size of void *" >&5
19634 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19635 if test "${ac_cv_sizeof_void_p+set}" = set; then
19636 echo $ECHO_N "(cached) $ECHO_C" >&6
19637 else
19638 if test "$cross_compiling" = yes; then
19639 # Depending upon the size, compute the lo and hi bounds.
19640 cat >conftest.$ac_ext <<_ACEOF
19641 /* confdefs.h. */
19642 _ACEOF
19643 cat confdefs.h >>conftest.$ac_ext
19644 cat >>conftest.$ac_ext <<_ACEOF
19645 /* end confdefs.h. */
19646 $ac_includes_default
19647 typedef void * ac__type_sizeof_;
19648 int
19649 main ()
19650 {
19651 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19652 test_array [0] = 0
19653
19654 ;
19655 return 0;
19656 }
19657 _ACEOF
19658 rm -f conftest.$ac_objext
19659 if { (ac_try="$ac_compile"
19660 case "(($ac_try" in
19661 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19662 *) ac_try_echo=$ac_try;;
19663 esac
19664 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19665 (eval "$ac_compile") 2>conftest.er1
19666 ac_status=$?
19667 grep -v '^ *+' conftest.er1 >conftest.err
19668 rm -f conftest.er1
19669 cat conftest.err >&5
19670 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19671 (exit $ac_status); } && {
19672 test -z "$ac_c_werror_flag" ||
19673 test ! -s conftest.err
19674 } && test -s conftest.$ac_objext; then
19675 ac_lo=0 ac_mid=0
19676 while :; do
19677 cat >conftest.$ac_ext <<_ACEOF
19678 /* confdefs.h. */
19679 _ACEOF
19680 cat confdefs.h >>conftest.$ac_ext
19681 cat >>conftest.$ac_ext <<_ACEOF
19682 /* end confdefs.h. */
19683 $ac_includes_default
19684 typedef void * ac__type_sizeof_;
19685 int
19686 main ()
19687 {
19688 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19689 test_array [0] = 0
19690
19691 ;
19692 return 0;
19693 }
19694 _ACEOF
19695 rm -f conftest.$ac_objext
19696 if { (ac_try="$ac_compile"
19697 case "(($ac_try" in
19698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19699 *) ac_try_echo=$ac_try;;
19700 esac
19701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19702 (eval "$ac_compile") 2>conftest.er1
19703 ac_status=$?
19704 grep -v '^ *+' conftest.er1 >conftest.err
19705 rm -f conftest.er1
19706 cat conftest.err >&5
19707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19708 (exit $ac_status); } && {
19709 test -z "$ac_c_werror_flag" ||
19710 test ! -s conftest.err
19711 } && test -s conftest.$ac_objext; then
19712 ac_hi=$ac_mid; break
19713 else
19714 echo "$as_me: failed program was:" >&5
19715 sed 's/^/| /' conftest.$ac_ext >&5
19716
19717 ac_lo=`expr $ac_mid + 1`
19718 if test $ac_lo -le $ac_mid; then
19719 ac_lo= ac_hi=
19720 break
19721 fi
19722 ac_mid=`expr 2 '*' $ac_mid + 1`
19723 fi
19724
19725 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19726 done
19727 else
19728 echo "$as_me: failed program was:" >&5
19729 sed 's/^/| /' conftest.$ac_ext >&5
19730
19731 cat >conftest.$ac_ext <<_ACEOF
19732 /* confdefs.h. */
19733 _ACEOF
19734 cat confdefs.h >>conftest.$ac_ext
19735 cat >>conftest.$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef void * ac__type_sizeof_;
19739 int
19740 main ()
19741 {
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19743 test_array [0] = 0
19744
19745 ;
19746 return 0;
19747 }
19748 _ACEOF
19749 rm -f conftest.$ac_objext
19750 if { (ac_try="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19754 esac
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19757 ac_status=$?
19758 grep -v '^ *+' conftest.er1 >conftest.err
19759 rm -f conftest.er1
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19766 ac_hi=-1 ac_mid=-1
19767 while :; do
19768 cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h. */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 typedef void * ac__type_sizeof_;
19776 int
19777 main ()
19778 {
19779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19780 test_array [0] = 0
19781
19782 ;
19783 return 0;
19784 }
19785 _ACEOF
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19790 *) ac_try_echo=$ac_try;;
19791 esac
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19794 ac_status=$?
19795 grep -v '^ *+' conftest.er1 >conftest.err
19796 rm -f conftest.er1
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.$ac_objext; then
19803 ac_lo=$ac_mid; break
19804 else
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.$ac_ext >&5
19807
19808 ac_hi=`expr '(' $ac_mid ')' - 1`
19809 if test $ac_mid -le $ac_hi; then
19810 ac_lo= ac_hi=
19811 break
19812 fi
19813 ac_mid=`expr 2 '*' $ac_mid`
19814 fi
19815
19816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 done
19818 else
19819 echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.$ac_ext >&5
19821
19822 ac_lo= ac_hi=
19823 fi
19824
19825 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19826 fi
19827
19828 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19829 # Binary search between lo and hi bounds.
19830 while test "x$ac_lo" != "x$ac_hi"; do
19831 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19832 cat >conftest.$ac_ext <<_ACEOF
19833 /* confdefs.h. */
19834 _ACEOF
19835 cat confdefs.h >>conftest.$ac_ext
19836 cat >>conftest.$ac_ext <<_ACEOF
19837 /* end confdefs.h. */
19838 $ac_includes_default
19839 typedef void * ac__type_sizeof_;
19840 int
19841 main ()
19842 {
19843 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19844 test_array [0] = 0
19845
19846 ;
19847 return 0;
19848 }
19849 _ACEOF
19850 rm -f conftest.$ac_objext
19851 if { (ac_try="$ac_compile"
19852 case "(($ac_try" in
19853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19854 *) ac_try_echo=$ac_try;;
19855 esac
19856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19857 (eval "$ac_compile") 2>conftest.er1
19858 ac_status=$?
19859 grep -v '^ *+' conftest.er1 >conftest.err
19860 rm -f conftest.er1
19861 cat conftest.err >&5
19862 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19863 (exit $ac_status); } && {
19864 test -z "$ac_c_werror_flag" ||
19865 test ! -s conftest.err
19866 } && test -s conftest.$ac_objext; then
19867 ac_hi=$ac_mid
19868 else
19869 echo "$as_me: failed program was:" >&5
19870 sed 's/^/| /' conftest.$ac_ext >&5
19871
19872 ac_lo=`expr '(' $ac_mid ')' + 1`
19873 fi
19874
19875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19876 done
19877 case $ac_lo in
19878 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19879 '') if test "$ac_cv_type_void_p" = yes; then
19880 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19881 See \`config.log' for more details." >&5
19882 echo "$as_me: error: cannot compute sizeof (void *)
19883 See \`config.log' for more details." >&2;}
19884 { (exit 77); exit 77; }; }
19885 else
19886 ac_cv_sizeof_void_p=0
19887 fi ;;
19888 esac
19889 else
19890 cat >conftest.$ac_ext <<_ACEOF
19891 /* confdefs.h. */
19892 _ACEOF
19893 cat confdefs.h >>conftest.$ac_ext
19894 cat >>conftest.$ac_ext <<_ACEOF
19895 /* end confdefs.h. */
19896 $ac_includes_default
19897 typedef void * ac__type_sizeof_;
19898 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19899 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19900 #include <stdio.h>
19901 #include <stdlib.h>
19902 int
19903 main ()
19904 {
19905
19906 FILE *f = fopen ("conftest.val", "w");
19907 if (! f)
19908 return 1;
19909 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19910 {
19911 long int i = longval ();
19912 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19913 return 1;
19914 fprintf (f, "%ld\n", i);
19915 }
19916 else
19917 {
19918 unsigned long int i = ulongval ();
19919 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19920 return 1;
19921 fprintf (f, "%lu\n", i);
19922 }
19923 return ferror (f) || fclose (f) != 0;
19924
19925 ;
19926 return 0;
19927 }
19928 _ACEOF
19929 rm -f conftest$ac_exeext
19930 if { (ac_try="$ac_link"
19931 case "(($ac_try" in
19932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19933 *) ac_try_echo=$ac_try;;
19934 esac
19935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19936 (eval "$ac_link") 2>&5
19937 ac_status=$?
19938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19939 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19940 { (case "(($ac_try" in
19941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19942 *) ac_try_echo=$ac_try;;
19943 esac
19944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19945 (eval "$ac_try") 2>&5
19946 ac_status=$?
19947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19948 (exit $ac_status); }; }; then
19949 ac_cv_sizeof_void_p=`cat conftest.val`
19950 else
19951 echo "$as_me: program exited with status $ac_status" >&5
19952 echo "$as_me: failed program was:" >&5
19953 sed 's/^/| /' conftest.$ac_ext >&5
19954
19955 ( exit $ac_status )
19956 if test "$ac_cv_type_void_p" = yes; then
19957 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19958 See \`config.log' for more details." >&5
19959 echo "$as_me: error: cannot compute sizeof (void *)
19960 See \`config.log' for more details." >&2;}
19961 { (exit 77); exit 77; }; }
19962 else
19963 ac_cv_sizeof_void_p=0
19964 fi
19965 fi
19966 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19967 fi
19968 rm -f conftest.val
19969 fi
19970 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19971 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19972
19973
19974
19975 cat >>confdefs.h <<_ACEOF
19976 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19977 _ACEOF
19978
19979
19980 { echo "$as_me:$LINENO: checking for int" >&5
19981 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19982 if test "${ac_cv_type_int+set}" = set; then
19983 echo $ECHO_N "(cached) $ECHO_C" >&6
19984 else
19985 cat >conftest.$ac_ext <<_ACEOF
19986 /* confdefs.h. */
19987 _ACEOF
19988 cat confdefs.h >>conftest.$ac_ext
19989 cat >>conftest.$ac_ext <<_ACEOF
19990 /* end confdefs.h. */
19991 $ac_includes_default
19992 typedef int ac__type_new_;
19993 int
19994 main ()
19995 {
19996 if ((ac__type_new_ *) 0)
19997 return 0;
19998 if (sizeof (ac__type_new_))
19999 return 0;
20000 ;
20001 return 0;
20002 }
20003 _ACEOF
20004 rm -f conftest.$ac_objext
20005 if { (ac_try="$ac_compile"
20006 case "(($ac_try" in
20007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20008 *) ac_try_echo=$ac_try;;
20009 esac
20010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20011 (eval "$ac_compile") 2>conftest.er1
20012 ac_status=$?
20013 grep -v '^ *+' conftest.er1 >conftest.err
20014 rm -f conftest.er1
20015 cat conftest.err >&5
20016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20017 (exit $ac_status); } && {
20018 test -z "$ac_c_werror_flag" ||
20019 test ! -s conftest.err
20020 } && test -s conftest.$ac_objext; then
20021 ac_cv_type_int=yes
20022 else
20023 echo "$as_me: failed program was:" >&5
20024 sed 's/^/| /' conftest.$ac_ext >&5
20025
20026 ac_cv_type_int=no
20027 fi
20028
20029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20030 fi
20031 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
20032 echo "${ECHO_T}$ac_cv_type_int" >&6; }
20033
20034 # The cast to long int works around a bug in the HP C Compiler
20035 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20036 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20037 # This bug is HP SR number 8606223364.
20038 { echo "$as_me:$LINENO: checking size of int" >&5
20039 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
20040 if test "${ac_cv_sizeof_int+set}" = set; then
20041 echo $ECHO_N "(cached) $ECHO_C" >&6
20042 else
20043 if test "$cross_compiling" = yes; then
20044 # Depending upon the size, compute the lo and hi bounds.
20045 cat >conftest.$ac_ext <<_ACEOF
20046 /* confdefs.h. */
20047 _ACEOF
20048 cat confdefs.h >>conftest.$ac_ext
20049 cat >>conftest.$ac_ext <<_ACEOF
20050 /* end confdefs.h. */
20051 $ac_includes_default
20052 typedef int ac__type_sizeof_;
20053 int
20054 main ()
20055 {
20056 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20057 test_array [0] = 0
20058
20059 ;
20060 return 0;
20061 }
20062 _ACEOF
20063 rm -f conftest.$ac_objext
20064 if { (ac_try="$ac_compile"
20065 case "(($ac_try" in
20066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20067 *) ac_try_echo=$ac_try;;
20068 esac
20069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20070 (eval "$ac_compile") 2>conftest.er1
20071 ac_status=$?
20072 grep -v '^ *+' conftest.er1 >conftest.err
20073 rm -f conftest.er1
20074 cat conftest.err >&5
20075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20076 (exit $ac_status); } && {
20077 test -z "$ac_c_werror_flag" ||
20078 test ! -s conftest.err
20079 } && test -s conftest.$ac_objext; then
20080 ac_lo=0 ac_mid=0
20081 while :; do
20082 cat >conftest.$ac_ext <<_ACEOF
20083 /* confdefs.h. */
20084 _ACEOF
20085 cat confdefs.h >>conftest.$ac_ext
20086 cat >>conftest.$ac_ext <<_ACEOF
20087 /* end confdefs.h. */
20088 $ac_includes_default
20089 typedef int ac__type_sizeof_;
20090 int
20091 main ()
20092 {
20093 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20094 test_array [0] = 0
20095
20096 ;
20097 return 0;
20098 }
20099 _ACEOF
20100 rm -f conftest.$ac_objext
20101 if { (ac_try="$ac_compile"
20102 case "(($ac_try" in
20103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20104 *) ac_try_echo=$ac_try;;
20105 esac
20106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20107 (eval "$ac_compile") 2>conftest.er1
20108 ac_status=$?
20109 grep -v '^ *+' conftest.er1 >conftest.err
20110 rm -f conftest.er1
20111 cat conftest.err >&5
20112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20113 (exit $ac_status); } && {
20114 test -z "$ac_c_werror_flag" ||
20115 test ! -s conftest.err
20116 } && test -s conftest.$ac_objext; then
20117 ac_hi=$ac_mid; break
20118 else
20119 echo "$as_me: failed program was:" >&5
20120 sed 's/^/| /' conftest.$ac_ext >&5
20121
20122 ac_lo=`expr $ac_mid + 1`
20123 if test $ac_lo -le $ac_mid; then
20124 ac_lo= ac_hi=
20125 break
20126 fi
20127 ac_mid=`expr 2 '*' $ac_mid + 1`
20128 fi
20129
20130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20131 done
20132 else
20133 echo "$as_me: failed program was:" >&5
20134 sed 's/^/| /' conftest.$ac_ext >&5
20135
20136 cat >conftest.$ac_ext <<_ACEOF
20137 /* confdefs.h. */
20138 _ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef int ac__type_sizeof_;
20144 int
20145 main ()
20146 {
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20148 test_array [0] = 0
20149
20150 ;
20151 return 0;
20152 }
20153 _ACEOF
20154 rm -f conftest.$ac_objext
20155 if { (ac_try="$ac_compile"
20156 case "(($ac_try" in
20157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20159 esac
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_compile") 2>conftest.er1
20162 ac_status=$?
20163 grep -v '^ *+' conftest.er1 >conftest.err
20164 rm -f conftest.er1
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.$ac_objext; then
20171 ac_hi=-1 ac_mid=-1
20172 while :; do
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef int ac__type_sizeof_;
20181 int
20182 main ()
20183 {
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20185 test_array [0] = 0
20186
20187 ;
20188 return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20196 esac
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20199 ac_status=$?
20200 grep -v '^ *+' conftest.er1 >conftest.err
20201 rm -f conftest.er1
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.$ac_objext; then
20208 ac_lo=$ac_mid; break
20209 else
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.$ac_ext >&5
20212
20213 ac_hi=`expr '(' $ac_mid ')' - 1`
20214 if test $ac_mid -le $ac_hi; then
20215 ac_lo= ac_hi=
20216 break
20217 fi
20218 ac_mid=`expr 2 '*' $ac_mid`
20219 fi
20220
20221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20222 done
20223 else
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.$ac_ext >&5
20226
20227 ac_lo= ac_hi=
20228 fi
20229
20230 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20231 fi
20232
20233 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20234 # Binary search between lo and hi bounds.
20235 while test "x$ac_lo" != "x$ac_hi"; do
20236 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20237 cat >conftest.$ac_ext <<_ACEOF
20238 /* confdefs.h. */
20239 _ACEOF
20240 cat confdefs.h >>conftest.$ac_ext
20241 cat >>conftest.$ac_ext <<_ACEOF
20242 /* end confdefs.h. */
20243 $ac_includes_default
20244 typedef int ac__type_sizeof_;
20245 int
20246 main ()
20247 {
20248 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20249 test_array [0] = 0
20250
20251 ;
20252 return 0;
20253 }
20254 _ACEOF
20255 rm -f conftest.$ac_objext
20256 if { (ac_try="$ac_compile"
20257 case "(($ac_try" in
20258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20259 *) ac_try_echo=$ac_try;;
20260 esac
20261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20262 (eval "$ac_compile") 2>conftest.er1
20263 ac_status=$?
20264 grep -v '^ *+' conftest.er1 >conftest.err
20265 rm -f conftest.er1
20266 cat conftest.err >&5
20267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20268 (exit $ac_status); } && {
20269 test -z "$ac_c_werror_flag" ||
20270 test ! -s conftest.err
20271 } && test -s conftest.$ac_objext; then
20272 ac_hi=$ac_mid
20273 else
20274 echo "$as_me: failed program was:" >&5
20275 sed 's/^/| /' conftest.$ac_ext >&5
20276
20277 ac_lo=`expr '(' $ac_mid ')' + 1`
20278 fi
20279
20280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20281 done
20282 case $ac_lo in
20283 ?*) ac_cv_sizeof_int=$ac_lo;;
20284 '') if test "$ac_cv_type_int" = yes; then
20285 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20286 See \`config.log' for more details." >&5
20287 echo "$as_me: error: cannot compute sizeof (int)
20288 See \`config.log' for more details." >&2;}
20289 { (exit 77); exit 77; }; }
20290 else
20291 ac_cv_sizeof_int=0
20292 fi ;;
20293 esac
20294 else
20295 cat >conftest.$ac_ext <<_ACEOF
20296 /* confdefs.h. */
20297 _ACEOF
20298 cat confdefs.h >>conftest.$ac_ext
20299 cat >>conftest.$ac_ext <<_ACEOF
20300 /* end confdefs.h. */
20301 $ac_includes_default
20302 typedef int ac__type_sizeof_;
20303 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20304 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20305 #include <stdio.h>
20306 #include <stdlib.h>
20307 int
20308 main ()
20309 {
20310
20311 FILE *f = fopen ("conftest.val", "w");
20312 if (! f)
20313 return 1;
20314 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20315 {
20316 long int i = longval ();
20317 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20318 return 1;
20319 fprintf (f, "%ld\n", i);
20320 }
20321 else
20322 {
20323 unsigned long int i = ulongval ();
20324 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20325 return 1;
20326 fprintf (f, "%lu\n", i);
20327 }
20328 return ferror (f) || fclose (f) != 0;
20329
20330 ;
20331 return 0;
20332 }
20333 _ACEOF
20334 rm -f conftest$ac_exeext
20335 if { (ac_try="$ac_link"
20336 case "(($ac_try" in
20337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20338 *) ac_try_echo=$ac_try;;
20339 esac
20340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20341 (eval "$ac_link") 2>&5
20342 ac_status=$?
20343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20344 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20345 { (case "(($ac_try" in
20346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20347 *) ac_try_echo=$ac_try;;
20348 esac
20349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20350 (eval "$ac_try") 2>&5
20351 ac_status=$?
20352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20353 (exit $ac_status); }; }; then
20354 ac_cv_sizeof_int=`cat conftest.val`
20355 else
20356 echo "$as_me: program exited with status $ac_status" >&5
20357 echo "$as_me: failed program was:" >&5
20358 sed 's/^/| /' conftest.$ac_ext >&5
20359
20360 ( exit $ac_status )
20361 if test "$ac_cv_type_int" = yes; then
20362 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20363 See \`config.log' for more details." >&5
20364 echo "$as_me: error: cannot compute sizeof (int)
20365 See \`config.log' for more details." >&2;}
20366 { (exit 77); exit 77; }; }
20367 else
20368 ac_cv_sizeof_int=0
20369 fi
20370 fi
20371 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20372 fi
20373 rm -f conftest.val
20374 fi
20375 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20376 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20377
20378
20379
20380 cat >>confdefs.h <<_ACEOF
20381 #define SIZEOF_INT $ac_cv_sizeof_int
20382 _ACEOF
20383
20384
20385 { echo "$as_me:$LINENO: checking for long" >&5
20386 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20387 if test "${ac_cv_type_long+set}" = set; then
20388 echo $ECHO_N "(cached) $ECHO_C" >&6
20389 else
20390 cat >conftest.$ac_ext <<_ACEOF
20391 /* confdefs.h. */
20392 _ACEOF
20393 cat confdefs.h >>conftest.$ac_ext
20394 cat >>conftest.$ac_ext <<_ACEOF
20395 /* end confdefs.h. */
20396 $ac_includes_default
20397 typedef long ac__type_new_;
20398 int
20399 main ()
20400 {
20401 if ((ac__type_new_ *) 0)
20402 return 0;
20403 if (sizeof (ac__type_new_))
20404 return 0;
20405 ;
20406 return 0;
20407 }
20408 _ACEOF
20409 rm -f conftest.$ac_objext
20410 if { (ac_try="$ac_compile"
20411 case "(($ac_try" in
20412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20413 *) ac_try_echo=$ac_try;;
20414 esac
20415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20416 (eval "$ac_compile") 2>conftest.er1
20417 ac_status=$?
20418 grep -v '^ *+' conftest.er1 >conftest.err
20419 rm -f conftest.er1
20420 cat conftest.err >&5
20421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20422 (exit $ac_status); } && {
20423 test -z "$ac_c_werror_flag" ||
20424 test ! -s conftest.err
20425 } && test -s conftest.$ac_objext; then
20426 ac_cv_type_long=yes
20427 else
20428 echo "$as_me: failed program was:" >&5
20429 sed 's/^/| /' conftest.$ac_ext >&5
20430
20431 ac_cv_type_long=no
20432 fi
20433
20434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20435 fi
20436 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20437 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20438
20439 # The cast to long int works around a bug in the HP C Compiler
20440 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20441 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20442 # This bug is HP SR number 8606223364.
20443 { echo "$as_me:$LINENO: checking size of long" >&5
20444 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20445 if test "${ac_cv_sizeof_long+set}" = set; then
20446 echo $ECHO_N "(cached) $ECHO_C" >&6
20447 else
20448 if test "$cross_compiling" = yes; then
20449 # Depending upon the size, compute the lo and hi bounds.
20450 cat >conftest.$ac_ext <<_ACEOF
20451 /* confdefs.h. */
20452 _ACEOF
20453 cat confdefs.h >>conftest.$ac_ext
20454 cat >>conftest.$ac_ext <<_ACEOF
20455 /* end confdefs.h. */
20456 $ac_includes_default
20457 typedef long ac__type_sizeof_;
20458 int
20459 main ()
20460 {
20461 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20462 test_array [0] = 0
20463
20464 ;
20465 return 0;
20466 }
20467 _ACEOF
20468 rm -f conftest.$ac_objext
20469 if { (ac_try="$ac_compile"
20470 case "(($ac_try" in
20471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20472 *) ac_try_echo=$ac_try;;
20473 esac
20474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20475 (eval "$ac_compile") 2>conftest.er1
20476 ac_status=$?
20477 grep -v '^ *+' conftest.er1 >conftest.err
20478 rm -f conftest.er1
20479 cat conftest.err >&5
20480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20481 (exit $ac_status); } && {
20482 test -z "$ac_c_werror_flag" ||
20483 test ! -s conftest.err
20484 } && test -s conftest.$ac_objext; then
20485 ac_lo=0 ac_mid=0
20486 while :; do
20487 cat >conftest.$ac_ext <<_ACEOF
20488 /* confdefs.h. */
20489 _ACEOF
20490 cat confdefs.h >>conftest.$ac_ext
20491 cat >>conftest.$ac_ext <<_ACEOF
20492 /* end confdefs.h. */
20493 $ac_includes_default
20494 typedef long ac__type_sizeof_;
20495 int
20496 main ()
20497 {
20498 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20499 test_array [0] = 0
20500
20501 ;
20502 return 0;
20503 }
20504 _ACEOF
20505 rm -f conftest.$ac_objext
20506 if { (ac_try="$ac_compile"
20507 case "(($ac_try" in
20508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20509 *) ac_try_echo=$ac_try;;
20510 esac
20511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20512 (eval "$ac_compile") 2>conftest.er1
20513 ac_status=$?
20514 grep -v '^ *+' conftest.er1 >conftest.err
20515 rm -f conftest.er1
20516 cat conftest.err >&5
20517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20518 (exit $ac_status); } && {
20519 test -z "$ac_c_werror_flag" ||
20520 test ! -s conftest.err
20521 } && test -s conftest.$ac_objext; then
20522 ac_hi=$ac_mid; break
20523 else
20524 echo "$as_me: failed program was:" >&5
20525 sed 's/^/| /' conftest.$ac_ext >&5
20526
20527 ac_lo=`expr $ac_mid + 1`
20528 if test $ac_lo -le $ac_mid; then
20529 ac_lo= ac_hi=
20530 break
20531 fi
20532 ac_mid=`expr 2 '*' $ac_mid + 1`
20533 fi
20534
20535 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20536 done
20537 else
20538 echo "$as_me: failed program was:" >&5
20539 sed 's/^/| /' conftest.$ac_ext >&5
20540
20541 cat >conftest.$ac_ext <<_ACEOF
20542 /* confdefs.h. */
20543 _ACEOF
20544 cat confdefs.h >>conftest.$ac_ext
20545 cat >>conftest.$ac_ext <<_ACEOF
20546 /* end confdefs.h. */
20547 $ac_includes_default
20548 typedef long ac__type_sizeof_;
20549 int
20550 main ()
20551 {
20552 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20553 test_array [0] = 0
20554
20555 ;
20556 return 0;
20557 }
20558 _ACEOF
20559 rm -f conftest.$ac_objext
20560 if { (ac_try="$ac_compile"
20561 case "(($ac_try" in
20562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20563 *) ac_try_echo=$ac_try;;
20564 esac
20565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20566 (eval "$ac_compile") 2>conftest.er1
20567 ac_status=$?
20568 grep -v '^ *+' conftest.er1 >conftest.err
20569 rm -f conftest.er1
20570 cat conftest.err >&5
20571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20572 (exit $ac_status); } && {
20573 test -z "$ac_c_werror_flag" ||
20574 test ! -s conftest.err
20575 } && test -s conftest.$ac_objext; then
20576 ac_hi=-1 ac_mid=-1
20577 while :; do
20578 cat >conftest.$ac_ext <<_ACEOF
20579 /* confdefs.h. */
20580 _ACEOF
20581 cat confdefs.h >>conftest.$ac_ext
20582 cat >>conftest.$ac_ext <<_ACEOF
20583 /* end confdefs.h. */
20584 $ac_includes_default
20585 typedef long ac__type_sizeof_;
20586 int
20587 main ()
20588 {
20589 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20590 test_array [0] = 0
20591
20592 ;
20593 return 0;
20594 }
20595 _ACEOF
20596 rm -f conftest.$ac_objext
20597 if { (ac_try="$ac_compile"
20598 case "(($ac_try" in
20599 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20600 *) ac_try_echo=$ac_try;;
20601 esac
20602 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20603 (eval "$ac_compile") 2>conftest.er1
20604 ac_status=$?
20605 grep -v '^ *+' conftest.er1 >conftest.err
20606 rm -f conftest.er1
20607 cat conftest.err >&5
20608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20609 (exit $ac_status); } && {
20610 test -z "$ac_c_werror_flag" ||
20611 test ! -s conftest.err
20612 } && test -s conftest.$ac_objext; then
20613 ac_lo=$ac_mid; break
20614 else
20615 echo "$as_me: failed program was:" >&5
20616 sed 's/^/| /' conftest.$ac_ext >&5
20617
20618 ac_hi=`expr '(' $ac_mid ')' - 1`
20619 if test $ac_mid -le $ac_hi; then
20620 ac_lo= ac_hi=
20621 break
20622 fi
20623 ac_mid=`expr 2 '*' $ac_mid`
20624 fi
20625
20626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20627 done
20628 else
20629 echo "$as_me: failed program was:" >&5
20630 sed 's/^/| /' conftest.$ac_ext >&5
20631
20632 ac_lo= ac_hi=
20633 fi
20634
20635 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20636 fi
20637
20638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20639 # Binary search between lo and hi bounds.
20640 while test "x$ac_lo" != "x$ac_hi"; do
20641 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20642 cat >conftest.$ac_ext <<_ACEOF
20643 /* confdefs.h. */
20644 _ACEOF
20645 cat confdefs.h >>conftest.$ac_ext
20646 cat >>conftest.$ac_ext <<_ACEOF
20647 /* end confdefs.h. */
20648 $ac_includes_default
20649 typedef long ac__type_sizeof_;
20650 int
20651 main ()
20652 {
20653 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20654 test_array [0] = 0
20655
20656 ;
20657 return 0;
20658 }
20659 _ACEOF
20660 rm -f conftest.$ac_objext
20661 if { (ac_try="$ac_compile"
20662 case "(($ac_try" in
20663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20664 *) ac_try_echo=$ac_try;;
20665 esac
20666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20667 (eval "$ac_compile") 2>conftest.er1
20668 ac_status=$?
20669 grep -v '^ *+' conftest.er1 >conftest.err
20670 rm -f conftest.er1
20671 cat conftest.err >&5
20672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20673 (exit $ac_status); } && {
20674 test -z "$ac_c_werror_flag" ||
20675 test ! -s conftest.err
20676 } && test -s conftest.$ac_objext; then
20677 ac_hi=$ac_mid
20678 else
20679 echo "$as_me: failed program was:" >&5
20680 sed 's/^/| /' conftest.$ac_ext >&5
20681
20682 ac_lo=`expr '(' $ac_mid ')' + 1`
20683 fi
20684
20685 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20686 done
20687 case $ac_lo in
20688 ?*) ac_cv_sizeof_long=$ac_lo;;
20689 '') if test "$ac_cv_type_long" = yes; then
20690 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20691 See \`config.log' for more details." >&5
20692 echo "$as_me: error: cannot compute sizeof (long)
20693 See \`config.log' for more details." >&2;}
20694 { (exit 77); exit 77; }; }
20695 else
20696 ac_cv_sizeof_long=0
20697 fi ;;
20698 esac
20699 else
20700 cat >conftest.$ac_ext <<_ACEOF
20701 /* confdefs.h. */
20702 _ACEOF
20703 cat confdefs.h >>conftest.$ac_ext
20704 cat >>conftest.$ac_ext <<_ACEOF
20705 /* end confdefs.h. */
20706 $ac_includes_default
20707 typedef long ac__type_sizeof_;
20708 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20709 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20710 #include <stdio.h>
20711 #include <stdlib.h>
20712 int
20713 main ()
20714 {
20715
20716 FILE *f = fopen ("conftest.val", "w");
20717 if (! f)
20718 return 1;
20719 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20720 {
20721 long int i = longval ();
20722 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20723 return 1;
20724 fprintf (f, "%ld\n", i);
20725 }
20726 else
20727 {
20728 unsigned long int i = ulongval ();
20729 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20730 return 1;
20731 fprintf (f, "%lu\n", i);
20732 }
20733 return ferror (f) || fclose (f) != 0;
20734
20735 ;
20736 return 0;
20737 }
20738 _ACEOF
20739 rm -f conftest$ac_exeext
20740 if { (ac_try="$ac_link"
20741 case "(($ac_try" in
20742 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20743 *) ac_try_echo=$ac_try;;
20744 esac
20745 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20746 (eval "$ac_link") 2>&5
20747 ac_status=$?
20748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20749 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20750 { (case "(($ac_try" in
20751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20752 *) ac_try_echo=$ac_try;;
20753 esac
20754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20755 (eval "$ac_try") 2>&5
20756 ac_status=$?
20757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20758 (exit $ac_status); }; }; then
20759 ac_cv_sizeof_long=`cat conftest.val`
20760 else
20761 echo "$as_me: program exited with status $ac_status" >&5
20762 echo "$as_me: failed program was:" >&5
20763 sed 's/^/| /' conftest.$ac_ext >&5
20764
20765 ( exit $ac_status )
20766 if test "$ac_cv_type_long" = yes; then
20767 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20768 See \`config.log' for more details." >&5
20769 echo "$as_me: error: cannot compute sizeof (long)
20770 See \`config.log' for more details." >&2;}
20771 { (exit 77); exit 77; }; }
20772 else
20773 ac_cv_sizeof_long=0
20774 fi
20775 fi
20776 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20777 fi
20778 rm -f conftest.val
20779 fi
20780 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20781 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20782
20783
20784
20785 cat >>confdefs.h <<_ACEOF
20786 #define SIZEOF_LONG $ac_cv_sizeof_long
20787 _ACEOF
20788
20789
20790 { echo "$as_me:$LINENO: checking for size_t" >&5
20791 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20792 if test "${ac_cv_type_size_t+set}" = set; then
20793 echo $ECHO_N "(cached) $ECHO_C" >&6
20794 else
20795 cat >conftest.$ac_ext <<_ACEOF
20796 /* confdefs.h. */
20797 _ACEOF
20798 cat confdefs.h >>conftest.$ac_ext
20799 cat >>conftest.$ac_ext <<_ACEOF
20800 /* end confdefs.h. */
20801 $ac_includes_default
20802 typedef size_t ac__type_new_;
20803 int
20804 main ()
20805 {
20806 if ((ac__type_new_ *) 0)
20807 return 0;
20808 if (sizeof (ac__type_new_))
20809 return 0;
20810 ;
20811 return 0;
20812 }
20813 _ACEOF
20814 rm -f conftest.$ac_objext
20815 if { (ac_try="$ac_compile"
20816 case "(($ac_try" in
20817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20818 *) ac_try_echo=$ac_try;;
20819 esac
20820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20821 (eval "$ac_compile") 2>conftest.er1
20822 ac_status=$?
20823 grep -v '^ *+' conftest.er1 >conftest.err
20824 rm -f conftest.er1
20825 cat conftest.err >&5
20826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20827 (exit $ac_status); } && {
20828 test -z "$ac_c_werror_flag" ||
20829 test ! -s conftest.err
20830 } && test -s conftest.$ac_objext; then
20831 ac_cv_type_size_t=yes
20832 else
20833 echo "$as_me: failed program was:" >&5
20834 sed 's/^/| /' conftest.$ac_ext >&5
20835
20836 ac_cv_type_size_t=no
20837 fi
20838
20839 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20840 fi
20841 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20842 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20843
20844 # The cast to long int works around a bug in the HP C Compiler
20845 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20846 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20847 # This bug is HP SR number 8606223364.
20848 { echo "$as_me:$LINENO: checking size of size_t" >&5
20849 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20850 if test "${ac_cv_sizeof_size_t+set}" = set; then
20851 echo $ECHO_N "(cached) $ECHO_C" >&6
20852 else
20853 if test "$cross_compiling" = yes; then
20854 # Depending upon the size, compute the lo and hi bounds.
20855 cat >conftest.$ac_ext <<_ACEOF
20856 /* confdefs.h. */
20857 _ACEOF
20858 cat confdefs.h >>conftest.$ac_ext
20859 cat >>conftest.$ac_ext <<_ACEOF
20860 /* end confdefs.h. */
20861 $ac_includes_default
20862 typedef size_t ac__type_sizeof_;
20863 int
20864 main ()
20865 {
20866 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20867 test_array [0] = 0
20868
20869 ;
20870 return 0;
20871 }
20872 _ACEOF
20873 rm -f conftest.$ac_objext
20874 if { (ac_try="$ac_compile"
20875 case "(($ac_try" in
20876 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20877 *) ac_try_echo=$ac_try;;
20878 esac
20879 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20880 (eval "$ac_compile") 2>conftest.er1
20881 ac_status=$?
20882 grep -v '^ *+' conftest.er1 >conftest.err
20883 rm -f conftest.er1
20884 cat conftest.err >&5
20885 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20886 (exit $ac_status); } && {
20887 test -z "$ac_c_werror_flag" ||
20888 test ! -s conftest.err
20889 } && test -s conftest.$ac_objext; then
20890 ac_lo=0 ac_mid=0
20891 while :; do
20892 cat >conftest.$ac_ext <<_ACEOF
20893 /* confdefs.h. */
20894 _ACEOF
20895 cat confdefs.h >>conftest.$ac_ext
20896 cat >>conftest.$ac_ext <<_ACEOF
20897 /* end confdefs.h. */
20898 $ac_includes_default
20899 typedef size_t ac__type_sizeof_;
20900 int
20901 main ()
20902 {
20903 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20904 test_array [0] = 0
20905
20906 ;
20907 return 0;
20908 }
20909 _ACEOF
20910 rm -f conftest.$ac_objext
20911 if { (ac_try="$ac_compile"
20912 case "(($ac_try" in
20913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20914 *) ac_try_echo=$ac_try;;
20915 esac
20916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20917 (eval "$ac_compile") 2>conftest.er1
20918 ac_status=$?
20919 grep -v '^ *+' conftest.er1 >conftest.err
20920 rm -f conftest.er1
20921 cat conftest.err >&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } && {
20924 test -z "$ac_c_werror_flag" ||
20925 test ! -s conftest.err
20926 } && test -s conftest.$ac_objext; then
20927 ac_hi=$ac_mid; break
20928 else
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20931
20932 ac_lo=`expr $ac_mid + 1`
20933 if test $ac_lo -le $ac_mid; then
20934 ac_lo= ac_hi=
20935 break
20936 fi
20937 ac_mid=`expr 2 '*' $ac_mid + 1`
20938 fi
20939
20940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20941 done
20942 else
20943 echo "$as_me: failed program was:" >&5
20944 sed 's/^/| /' conftest.$ac_ext >&5
20945
20946 cat >conftest.$ac_ext <<_ACEOF
20947 /* confdefs.h. */
20948 _ACEOF
20949 cat confdefs.h >>conftest.$ac_ext
20950 cat >>conftest.$ac_ext <<_ACEOF
20951 /* end confdefs.h. */
20952 $ac_includes_default
20953 typedef size_t ac__type_sizeof_;
20954 int
20955 main ()
20956 {
20957 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20958 test_array [0] = 0
20959
20960 ;
20961 return 0;
20962 }
20963 _ACEOF
20964 rm -f conftest.$ac_objext
20965 if { (ac_try="$ac_compile"
20966 case "(($ac_try" in
20967 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20968 *) ac_try_echo=$ac_try;;
20969 esac
20970 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20971 (eval "$ac_compile") 2>conftest.er1
20972 ac_status=$?
20973 grep -v '^ *+' conftest.er1 >conftest.err
20974 rm -f conftest.er1
20975 cat conftest.err >&5
20976 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20977 (exit $ac_status); } && {
20978 test -z "$ac_c_werror_flag" ||
20979 test ! -s conftest.err
20980 } && test -s conftest.$ac_objext; then
20981 ac_hi=-1 ac_mid=-1
20982 while :; do
20983 cat >conftest.$ac_ext <<_ACEOF
20984 /* confdefs.h. */
20985 _ACEOF
20986 cat confdefs.h >>conftest.$ac_ext
20987 cat >>conftest.$ac_ext <<_ACEOF
20988 /* end confdefs.h. */
20989 $ac_includes_default
20990 typedef size_t ac__type_sizeof_;
20991 int
20992 main ()
20993 {
20994 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20995 test_array [0] = 0
20996
20997 ;
20998 return 0;
20999 }
21000 _ACEOF
21001 rm -f conftest.$ac_objext
21002 if { (ac_try="$ac_compile"
21003 case "(($ac_try" in
21004 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21005 *) ac_try_echo=$ac_try;;
21006 esac
21007 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21008 (eval "$ac_compile") 2>conftest.er1
21009 ac_status=$?
21010 grep -v '^ *+' conftest.er1 >conftest.err
21011 rm -f conftest.er1
21012 cat conftest.err >&5
21013 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21014 (exit $ac_status); } && {
21015 test -z "$ac_c_werror_flag" ||
21016 test ! -s conftest.err
21017 } && test -s conftest.$ac_objext; then
21018 ac_lo=$ac_mid; break
21019 else
21020 echo "$as_me: failed program was:" >&5
21021 sed 's/^/| /' conftest.$ac_ext >&5
21022
21023 ac_hi=`expr '(' $ac_mid ')' - 1`
21024 if test $ac_mid -le $ac_hi; then
21025 ac_lo= ac_hi=
21026 break
21027 fi
21028 ac_mid=`expr 2 '*' $ac_mid`
21029 fi
21030
21031 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21032 done
21033 else
21034 echo "$as_me: failed program was:" >&5
21035 sed 's/^/| /' conftest.$ac_ext >&5
21036
21037 ac_lo= ac_hi=
21038 fi
21039
21040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21041 fi
21042
21043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21044 # Binary search between lo and hi bounds.
21045 while test "x$ac_lo" != "x$ac_hi"; do
21046 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21047 cat >conftest.$ac_ext <<_ACEOF
21048 /* confdefs.h. */
21049 _ACEOF
21050 cat confdefs.h >>conftest.$ac_ext
21051 cat >>conftest.$ac_ext <<_ACEOF
21052 /* end confdefs.h. */
21053 $ac_includes_default
21054 typedef size_t ac__type_sizeof_;
21055 int
21056 main ()
21057 {
21058 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21059 test_array [0] = 0
21060
21061 ;
21062 return 0;
21063 }
21064 _ACEOF
21065 rm -f conftest.$ac_objext
21066 if { (ac_try="$ac_compile"
21067 case "(($ac_try" in
21068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21069 *) ac_try_echo=$ac_try;;
21070 esac
21071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21072 (eval "$ac_compile") 2>conftest.er1
21073 ac_status=$?
21074 grep -v '^ *+' conftest.er1 >conftest.err
21075 rm -f conftest.er1
21076 cat conftest.err >&5
21077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21078 (exit $ac_status); } && {
21079 test -z "$ac_c_werror_flag" ||
21080 test ! -s conftest.err
21081 } && test -s conftest.$ac_objext; then
21082 ac_hi=$ac_mid
21083 else
21084 echo "$as_me: failed program was:" >&5
21085 sed 's/^/| /' conftest.$ac_ext >&5
21086
21087 ac_lo=`expr '(' $ac_mid ')' + 1`
21088 fi
21089
21090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21091 done
21092 case $ac_lo in
21093 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21094 '') if test "$ac_cv_type_size_t" = yes; then
21095 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21096 See \`config.log' for more details." >&5
21097 echo "$as_me: error: cannot compute sizeof (size_t)
21098 See \`config.log' for more details." >&2;}
21099 { (exit 77); exit 77; }; }
21100 else
21101 ac_cv_sizeof_size_t=0
21102 fi ;;
21103 esac
21104 else
21105 cat >conftest.$ac_ext <<_ACEOF
21106 /* confdefs.h. */
21107 _ACEOF
21108 cat confdefs.h >>conftest.$ac_ext
21109 cat >>conftest.$ac_ext <<_ACEOF
21110 /* end confdefs.h. */
21111 $ac_includes_default
21112 typedef size_t ac__type_sizeof_;
21113 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21114 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21115 #include <stdio.h>
21116 #include <stdlib.h>
21117 int
21118 main ()
21119 {
21120
21121 FILE *f = fopen ("conftest.val", "w");
21122 if (! f)
21123 return 1;
21124 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21125 {
21126 long int i = longval ();
21127 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21128 return 1;
21129 fprintf (f, "%ld\n", i);
21130 }
21131 else
21132 {
21133 unsigned long int i = ulongval ();
21134 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21135 return 1;
21136 fprintf (f, "%lu\n", i);
21137 }
21138 return ferror (f) || fclose (f) != 0;
21139
21140 ;
21141 return 0;
21142 }
21143 _ACEOF
21144 rm -f conftest$ac_exeext
21145 if { (ac_try="$ac_link"
21146 case "(($ac_try" in
21147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21148 *) ac_try_echo=$ac_try;;
21149 esac
21150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21151 (eval "$ac_link") 2>&5
21152 ac_status=$?
21153 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21154 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21155 { (case "(($ac_try" in
21156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21157 *) ac_try_echo=$ac_try;;
21158 esac
21159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21160 (eval "$ac_try") 2>&5
21161 ac_status=$?
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); }; }; then
21164 ac_cv_sizeof_size_t=`cat conftest.val`
21165 else
21166 echo "$as_me: program exited with status $ac_status" >&5
21167 echo "$as_me: failed program was:" >&5
21168 sed 's/^/| /' conftest.$ac_ext >&5
21169
21170 ( exit $ac_status )
21171 if test "$ac_cv_type_size_t" = yes; then
21172 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21173 See \`config.log' for more details." >&5
21174 echo "$as_me: error: cannot compute sizeof (size_t)
21175 See \`config.log' for more details." >&2;}
21176 { (exit 77); exit 77; }; }
21177 else
21178 ac_cv_sizeof_size_t=0
21179 fi
21180 fi
21181 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21182 fi
21183 rm -f conftest.val
21184 fi
21185 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21186 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21187
21188
21189
21190 cat >>confdefs.h <<_ACEOF
21191 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21192 _ACEOF
21193
21194
21195
21196 case "${host}" in
21197 arm-*-linux* )
21198 { echo "$as_me:$LINENO: checking for long long" >&5
21199 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21200 if test "${ac_cv_type_long_long+set}" = set; then
21201 echo $ECHO_N "(cached) $ECHO_C" >&6
21202 else
21203 cat >conftest.$ac_ext <<_ACEOF
21204 /* confdefs.h. */
21205 _ACEOF
21206 cat confdefs.h >>conftest.$ac_ext
21207 cat >>conftest.$ac_ext <<_ACEOF
21208 /* end confdefs.h. */
21209 $ac_includes_default
21210 typedef long long ac__type_new_;
21211 int
21212 main ()
21213 {
21214 if ((ac__type_new_ *) 0)
21215 return 0;
21216 if (sizeof (ac__type_new_))
21217 return 0;
21218 ;
21219 return 0;
21220 }
21221 _ACEOF
21222 rm -f conftest.$ac_objext
21223 if { (ac_try="$ac_compile"
21224 case "(($ac_try" in
21225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21226 *) ac_try_echo=$ac_try;;
21227 esac
21228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21229 (eval "$ac_compile") 2>conftest.er1
21230 ac_status=$?
21231 grep -v '^ *+' conftest.er1 >conftest.err
21232 rm -f conftest.er1
21233 cat conftest.err >&5
21234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21235 (exit $ac_status); } && {
21236 test -z "$ac_c_werror_flag" ||
21237 test ! -s conftest.err
21238 } && test -s conftest.$ac_objext; then
21239 ac_cv_type_long_long=yes
21240 else
21241 echo "$as_me: failed program was:" >&5
21242 sed 's/^/| /' conftest.$ac_ext >&5
21243
21244 ac_cv_type_long_long=no
21245 fi
21246
21247 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21248 fi
21249 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21250 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21251
21252 # The cast to long int works around a bug in the HP C Compiler
21253 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21254 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21255 # This bug is HP SR number 8606223364.
21256 { echo "$as_me:$LINENO: checking size of long long" >&5
21257 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21258 if test "${ac_cv_sizeof_long_long+set}" = set; then
21259 echo $ECHO_N "(cached) $ECHO_C" >&6
21260 else
21261 if test "$cross_compiling" = yes; then
21262 # Depending upon the size, compute the lo and hi bounds.
21263 cat >conftest.$ac_ext <<_ACEOF
21264 /* confdefs.h. */
21265 _ACEOF
21266 cat confdefs.h >>conftest.$ac_ext
21267 cat >>conftest.$ac_ext <<_ACEOF
21268 /* end confdefs.h. */
21269 $ac_includes_default
21270 typedef long long ac__type_sizeof_;
21271 int
21272 main ()
21273 {
21274 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21275 test_array [0] = 0
21276
21277 ;
21278 return 0;
21279 }
21280 _ACEOF
21281 rm -f conftest.$ac_objext
21282 if { (ac_try="$ac_compile"
21283 case "(($ac_try" in
21284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21285 *) ac_try_echo=$ac_try;;
21286 esac
21287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21288 (eval "$ac_compile") 2>conftest.er1
21289 ac_status=$?
21290 grep -v '^ *+' conftest.er1 >conftest.err
21291 rm -f conftest.er1
21292 cat conftest.err >&5
21293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21294 (exit $ac_status); } && {
21295 test -z "$ac_c_werror_flag" ||
21296 test ! -s conftest.err
21297 } && test -s conftest.$ac_objext; then
21298 ac_lo=0 ac_mid=0
21299 while :; do
21300 cat >conftest.$ac_ext <<_ACEOF
21301 /* confdefs.h. */
21302 _ACEOF
21303 cat confdefs.h >>conftest.$ac_ext
21304 cat >>conftest.$ac_ext <<_ACEOF
21305 /* end confdefs.h. */
21306 $ac_includes_default
21307 typedef long long ac__type_sizeof_;
21308 int
21309 main ()
21310 {
21311 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21312 test_array [0] = 0
21313
21314 ;
21315 return 0;
21316 }
21317 _ACEOF
21318 rm -f conftest.$ac_objext
21319 if { (ac_try="$ac_compile"
21320 case "(($ac_try" in
21321 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21322 *) ac_try_echo=$ac_try;;
21323 esac
21324 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21325 (eval "$ac_compile") 2>conftest.er1
21326 ac_status=$?
21327 grep -v '^ *+' conftest.er1 >conftest.err
21328 rm -f conftest.er1
21329 cat conftest.err >&5
21330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21331 (exit $ac_status); } && {
21332 test -z "$ac_c_werror_flag" ||
21333 test ! -s conftest.err
21334 } && test -s conftest.$ac_objext; then
21335 ac_hi=$ac_mid; break
21336 else
21337 echo "$as_me: failed program was:" >&5
21338 sed 's/^/| /' conftest.$ac_ext >&5
21339
21340 ac_lo=`expr $ac_mid + 1`
21341 if test $ac_lo -le $ac_mid; then
21342 ac_lo= ac_hi=
21343 break
21344 fi
21345 ac_mid=`expr 2 '*' $ac_mid + 1`
21346 fi
21347
21348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21349 done
21350 else
21351 echo "$as_me: failed program was:" >&5
21352 sed 's/^/| /' conftest.$ac_ext >&5
21353
21354 cat >conftest.$ac_ext <<_ACEOF
21355 /* confdefs.h. */
21356 _ACEOF
21357 cat confdefs.h >>conftest.$ac_ext
21358 cat >>conftest.$ac_ext <<_ACEOF
21359 /* end confdefs.h. */
21360 $ac_includes_default
21361 typedef long long ac__type_sizeof_;
21362 int
21363 main ()
21364 {
21365 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21366 test_array [0] = 0
21367
21368 ;
21369 return 0;
21370 }
21371 _ACEOF
21372 rm -f conftest.$ac_objext
21373 if { (ac_try="$ac_compile"
21374 case "(($ac_try" in
21375 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21376 *) ac_try_echo=$ac_try;;
21377 esac
21378 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21379 (eval "$ac_compile") 2>conftest.er1
21380 ac_status=$?
21381 grep -v '^ *+' conftest.er1 >conftest.err
21382 rm -f conftest.er1
21383 cat conftest.err >&5
21384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21385 (exit $ac_status); } && {
21386 test -z "$ac_c_werror_flag" ||
21387 test ! -s conftest.err
21388 } && test -s conftest.$ac_objext; then
21389 ac_hi=-1 ac_mid=-1
21390 while :; do
21391 cat >conftest.$ac_ext <<_ACEOF
21392 /* confdefs.h. */
21393 _ACEOF
21394 cat confdefs.h >>conftest.$ac_ext
21395 cat >>conftest.$ac_ext <<_ACEOF
21396 /* end confdefs.h. */
21397 $ac_includes_default
21398 typedef long long ac__type_sizeof_;
21399 int
21400 main ()
21401 {
21402 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21403 test_array [0] = 0
21404
21405 ;
21406 return 0;
21407 }
21408 _ACEOF
21409 rm -f conftest.$ac_objext
21410 if { (ac_try="$ac_compile"
21411 case "(($ac_try" in
21412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21413 *) ac_try_echo=$ac_try;;
21414 esac
21415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21416 (eval "$ac_compile") 2>conftest.er1
21417 ac_status=$?
21418 grep -v '^ *+' conftest.er1 >conftest.err
21419 rm -f conftest.er1
21420 cat conftest.err >&5
21421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21422 (exit $ac_status); } && {
21423 test -z "$ac_c_werror_flag" ||
21424 test ! -s conftest.err
21425 } && test -s conftest.$ac_objext; then
21426 ac_lo=$ac_mid; break
21427 else
21428 echo "$as_me: failed program was:" >&5
21429 sed 's/^/| /' conftest.$ac_ext >&5
21430
21431 ac_hi=`expr '(' $ac_mid ')' - 1`
21432 if test $ac_mid -le $ac_hi; then
21433 ac_lo= ac_hi=
21434 break
21435 fi
21436 ac_mid=`expr 2 '*' $ac_mid`
21437 fi
21438
21439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21440 done
21441 else
21442 echo "$as_me: failed program was:" >&5
21443 sed 's/^/| /' conftest.$ac_ext >&5
21444
21445 ac_lo= ac_hi=
21446 fi
21447
21448 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21449 fi
21450
21451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21452 # Binary search between lo and hi bounds.
21453 while test "x$ac_lo" != "x$ac_hi"; do
21454 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21455 cat >conftest.$ac_ext <<_ACEOF
21456 /* confdefs.h. */
21457 _ACEOF
21458 cat confdefs.h >>conftest.$ac_ext
21459 cat >>conftest.$ac_ext <<_ACEOF
21460 /* end confdefs.h. */
21461 $ac_includes_default
21462 typedef long long ac__type_sizeof_;
21463 int
21464 main ()
21465 {
21466 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21467 test_array [0] = 0
21468
21469 ;
21470 return 0;
21471 }
21472 _ACEOF
21473 rm -f conftest.$ac_objext
21474 if { (ac_try="$ac_compile"
21475 case "(($ac_try" in
21476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21477 *) ac_try_echo=$ac_try;;
21478 esac
21479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21480 (eval "$ac_compile") 2>conftest.er1
21481 ac_status=$?
21482 grep -v '^ *+' conftest.er1 >conftest.err
21483 rm -f conftest.er1
21484 cat conftest.err >&5
21485 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21486 (exit $ac_status); } && {
21487 test -z "$ac_c_werror_flag" ||
21488 test ! -s conftest.err
21489 } && test -s conftest.$ac_objext; then
21490 ac_hi=$ac_mid
21491 else
21492 echo "$as_me: failed program was:" >&5
21493 sed 's/^/| /' conftest.$ac_ext >&5
21494
21495 ac_lo=`expr '(' $ac_mid ')' + 1`
21496 fi
21497
21498 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21499 done
21500 case $ac_lo in
21501 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21502 '') if test "$ac_cv_type_long_long" = yes; then
21503 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21504 See \`config.log' for more details." >&5
21505 echo "$as_me: error: cannot compute sizeof (long long)
21506 See \`config.log' for more details." >&2;}
21507 { (exit 77); exit 77; }; }
21508 else
21509 ac_cv_sizeof_long_long=0
21510 fi ;;
21511 esac
21512 else
21513 cat >conftest.$ac_ext <<_ACEOF
21514 /* confdefs.h. */
21515 _ACEOF
21516 cat confdefs.h >>conftest.$ac_ext
21517 cat >>conftest.$ac_ext <<_ACEOF
21518 /* end confdefs.h. */
21519 $ac_includes_default
21520 typedef long long ac__type_sizeof_;
21521 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21522 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21523 #include <stdio.h>
21524 #include <stdlib.h>
21525 int
21526 main ()
21527 {
21528
21529 FILE *f = fopen ("conftest.val", "w");
21530 if (! f)
21531 return 1;
21532 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21533 {
21534 long int i = longval ();
21535 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21536 return 1;
21537 fprintf (f, "%ld\n", i);
21538 }
21539 else
21540 {
21541 unsigned long int i = ulongval ();
21542 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21543 return 1;
21544 fprintf (f, "%lu\n", i);
21545 }
21546 return ferror (f) || fclose (f) != 0;
21547
21548 ;
21549 return 0;
21550 }
21551 _ACEOF
21552 rm -f conftest$ac_exeext
21553 if { (ac_try="$ac_link"
21554 case "(($ac_try" in
21555 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21556 *) ac_try_echo=$ac_try;;
21557 esac
21558 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21559 (eval "$ac_link") 2>&5
21560 ac_status=$?
21561 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21562 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21563 { (case "(($ac_try" in
21564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21565 *) ac_try_echo=$ac_try;;
21566 esac
21567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21568 (eval "$ac_try") 2>&5
21569 ac_status=$?
21570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21571 (exit $ac_status); }; }; then
21572 ac_cv_sizeof_long_long=`cat conftest.val`
21573 else
21574 echo "$as_me: program exited with status $ac_status" >&5
21575 echo "$as_me: failed program was:" >&5
21576 sed 's/^/| /' conftest.$ac_ext >&5
21577
21578 ( exit $ac_status )
21579 if test "$ac_cv_type_long_long" = yes; then
21580 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21581 See \`config.log' for more details." >&5
21582 echo "$as_me: error: cannot compute sizeof (long long)
21583 See \`config.log' for more details." >&2;}
21584 { (exit 77); exit 77; }; }
21585 else
21586 ac_cv_sizeof_long_long=0
21587 fi
21588 fi
21589 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21590 fi
21591 rm -f conftest.val
21592 fi
21593 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21594 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21595
21596
21597
21598 cat >>confdefs.h <<_ACEOF
21599 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21600 _ACEOF
21601
21602
21603 ;;
21604 *-hp-hpux* )
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 if test "$ac_cv_sizeof_long_long" != 0; then
22011 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
22012 fi
22013 ;;
22014 * )
22015 { echo "$as_me:$LINENO: checking for long long" >&5
22016 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
22017 if test "${ac_cv_type_long_long+set}" = set; then
22018 echo $ECHO_N "(cached) $ECHO_C" >&6
22019 else
22020 cat >conftest.$ac_ext <<_ACEOF
22021 /* confdefs.h. */
22022 _ACEOF
22023 cat confdefs.h >>conftest.$ac_ext
22024 cat >>conftest.$ac_ext <<_ACEOF
22025 /* end confdefs.h. */
22026 $ac_includes_default
22027 typedef long long ac__type_new_;
22028 int
22029 main ()
22030 {
22031 if ((ac__type_new_ *) 0)
22032 return 0;
22033 if (sizeof (ac__type_new_))
22034 return 0;
22035 ;
22036 return 0;
22037 }
22038 _ACEOF
22039 rm -f conftest.$ac_objext
22040 if { (ac_try="$ac_compile"
22041 case "(($ac_try" in
22042 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22043 *) ac_try_echo=$ac_try;;
22044 esac
22045 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22046 (eval "$ac_compile") 2>conftest.er1
22047 ac_status=$?
22048 grep -v '^ *+' conftest.er1 >conftest.err
22049 rm -f conftest.er1
22050 cat conftest.err >&5
22051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22052 (exit $ac_status); } && {
22053 test -z "$ac_c_werror_flag" ||
22054 test ! -s conftest.err
22055 } && test -s conftest.$ac_objext; then
22056 ac_cv_type_long_long=yes
22057 else
22058 echo "$as_me: failed program was:" >&5
22059 sed 's/^/| /' conftest.$ac_ext >&5
22060
22061 ac_cv_type_long_long=no
22062 fi
22063
22064 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22065 fi
22066 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22067 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22068
22069 # The cast to long int works around a bug in the HP C Compiler
22070 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22071 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22072 # This bug is HP SR number 8606223364.
22073 { echo "$as_me:$LINENO: checking size of long long" >&5
22074 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22075 if test "${ac_cv_sizeof_long_long+set}" = set; then
22076 echo $ECHO_N "(cached) $ECHO_C" >&6
22077 else
22078 if test "$cross_compiling" = yes; then
22079 # Depending upon the size, compute the lo and hi bounds.
22080 cat >conftest.$ac_ext <<_ACEOF
22081 /* confdefs.h. */
22082 _ACEOF
22083 cat confdefs.h >>conftest.$ac_ext
22084 cat >>conftest.$ac_ext <<_ACEOF
22085 /* end confdefs.h. */
22086 $ac_includes_default
22087 typedef long long ac__type_sizeof_;
22088 int
22089 main ()
22090 {
22091 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22092 test_array [0] = 0
22093
22094 ;
22095 return 0;
22096 }
22097 _ACEOF
22098 rm -f conftest.$ac_objext
22099 if { (ac_try="$ac_compile"
22100 case "(($ac_try" in
22101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22102 *) ac_try_echo=$ac_try;;
22103 esac
22104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22105 (eval "$ac_compile") 2>conftest.er1
22106 ac_status=$?
22107 grep -v '^ *+' conftest.er1 >conftest.err
22108 rm -f conftest.er1
22109 cat conftest.err >&5
22110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22111 (exit $ac_status); } && {
22112 test -z "$ac_c_werror_flag" ||
22113 test ! -s conftest.err
22114 } && test -s conftest.$ac_objext; then
22115 ac_lo=0 ac_mid=0
22116 while :; do
22117 cat >conftest.$ac_ext <<_ACEOF
22118 /* confdefs.h. */
22119 _ACEOF
22120 cat confdefs.h >>conftest.$ac_ext
22121 cat >>conftest.$ac_ext <<_ACEOF
22122 /* end confdefs.h. */
22123 $ac_includes_default
22124 typedef long long ac__type_sizeof_;
22125 int
22126 main ()
22127 {
22128 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22129 test_array [0] = 0
22130
22131 ;
22132 return 0;
22133 }
22134 _ACEOF
22135 rm -f conftest.$ac_objext
22136 if { (ac_try="$ac_compile"
22137 case "(($ac_try" in
22138 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22139 *) ac_try_echo=$ac_try;;
22140 esac
22141 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22142 (eval "$ac_compile") 2>conftest.er1
22143 ac_status=$?
22144 grep -v '^ *+' conftest.er1 >conftest.err
22145 rm -f conftest.er1
22146 cat conftest.err >&5
22147 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22148 (exit $ac_status); } && {
22149 test -z "$ac_c_werror_flag" ||
22150 test ! -s conftest.err
22151 } && test -s conftest.$ac_objext; then
22152 ac_hi=$ac_mid; break
22153 else
22154 echo "$as_me: failed program was:" >&5
22155 sed 's/^/| /' conftest.$ac_ext >&5
22156
22157 ac_lo=`expr $ac_mid + 1`
22158 if test $ac_lo -le $ac_mid; then
22159 ac_lo= ac_hi=
22160 break
22161 fi
22162 ac_mid=`expr 2 '*' $ac_mid + 1`
22163 fi
22164
22165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22166 done
22167 else
22168 echo "$as_me: failed program was:" >&5
22169 sed 's/^/| /' conftest.$ac_ext >&5
22170
22171 cat >conftest.$ac_ext <<_ACEOF
22172 /* confdefs.h. */
22173 _ACEOF
22174 cat confdefs.h >>conftest.$ac_ext
22175 cat >>conftest.$ac_ext <<_ACEOF
22176 /* end confdefs.h. */
22177 $ac_includes_default
22178 typedef long long ac__type_sizeof_;
22179 int
22180 main ()
22181 {
22182 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22183 test_array [0] = 0
22184
22185 ;
22186 return 0;
22187 }
22188 _ACEOF
22189 rm -f conftest.$ac_objext
22190 if { (ac_try="$ac_compile"
22191 case "(($ac_try" in
22192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22193 *) ac_try_echo=$ac_try;;
22194 esac
22195 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22196 (eval "$ac_compile") 2>conftest.er1
22197 ac_status=$?
22198 grep -v '^ *+' conftest.er1 >conftest.err
22199 rm -f conftest.er1
22200 cat conftest.err >&5
22201 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22202 (exit $ac_status); } && {
22203 test -z "$ac_c_werror_flag" ||
22204 test ! -s conftest.err
22205 } && test -s conftest.$ac_objext; then
22206 ac_hi=-1 ac_mid=-1
22207 while :; do
22208 cat >conftest.$ac_ext <<_ACEOF
22209 /* confdefs.h. */
22210 _ACEOF
22211 cat confdefs.h >>conftest.$ac_ext
22212 cat >>conftest.$ac_ext <<_ACEOF
22213 /* end confdefs.h. */
22214 $ac_includes_default
22215 typedef long long ac__type_sizeof_;
22216 int
22217 main ()
22218 {
22219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22220 test_array [0] = 0
22221
22222 ;
22223 return 0;
22224 }
22225 _ACEOF
22226 rm -f conftest.$ac_objext
22227 if { (ac_try="$ac_compile"
22228 case "(($ac_try" in
22229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22230 *) ac_try_echo=$ac_try;;
22231 esac
22232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22233 (eval "$ac_compile") 2>conftest.er1
22234 ac_status=$?
22235 grep -v '^ *+' conftest.er1 >conftest.err
22236 rm -f conftest.er1
22237 cat conftest.err >&5
22238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22239 (exit $ac_status); } && {
22240 test -z "$ac_c_werror_flag" ||
22241 test ! -s conftest.err
22242 } && test -s conftest.$ac_objext; then
22243 ac_lo=$ac_mid; break
22244 else
22245 echo "$as_me: failed program was:" >&5
22246 sed 's/^/| /' conftest.$ac_ext >&5
22247
22248 ac_hi=`expr '(' $ac_mid ')' - 1`
22249 if test $ac_mid -le $ac_hi; then
22250 ac_lo= ac_hi=
22251 break
22252 fi
22253 ac_mid=`expr 2 '*' $ac_mid`
22254 fi
22255
22256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22257 done
22258 else
22259 echo "$as_me: failed program was:" >&5
22260 sed 's/^/| /' conftest.$ac_ext >&5
22261
22262 ac_lo= ac_hi=
22263 fi
22264
22265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22266 fi
22267
22268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22269 # Binary search between lo and hi bounds.
22270 while test "x$ac_lo" != "x$ac_hi"; do
22271 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22272 cat >conftest.$ac_ext <<_ACEOF
22273 /* confdefs.h. */
22274 _ACEOF
22275 cat confdefs.h >>conftest.$ac_ext
22276 cat >>conftest.$ac_ext <<_ACEOF
22277 /* end confdefs.h. */
22278 $ac_includes_default
22279 typedef long long ac__type_sizeof_;
22280 int
22281 main ()
22282 {
22283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22284 test_array [0] = 0
22285
22286 ;
22287 return 0;
22288 }
22289 _ACEOF
22290 rm -f conftest.$ac_objext
22291 if { (ac_try="$ac_compile"
22292 case "(($ac_try" in
22293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22294 *) ac_try_echo=$ac_try;;
22295 esac
22296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22297 (eval "$ac_compile") 2>conftest.er1
22298 ac_status=$?
22299 grep -v '^ *+' conftest.er1 >conftest.err
22300 rm -f conftest.er1
22301 cat conftest.err >&5
22302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22303 (exit $ac_status); } && {
22304 test -z "$ac_c_werror_flag" ||
22305 test ! -s conftest.err
22306 } && test -s conftest.$ac_objext; then
22307 ac_hi=$ac_mid
22308 else
22309 echo "$as_me: failed program was:" >&5
22310 sed 's/^/| /' conftest.$ac_ext >&5
22311
22312 ac_lo=`expr '(' $ac_mid ')' + 1`
22313 fi
22314
22315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22316 done
22317 case $ac_lo in
22318 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22319 '') if test "$ac_cv_type_long_long" = yes; then
22320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22321 See \`config.log' for more details." >&5
22322 echo "$as_me: error: cannot compute sizeof (long long)
22323 See \`config.log' for more details." >&2;}
22324 { (exit 77); exit 77; }; }
22325 else
22326 ac_cv_sizeof_long_long=0
22327 fi ;;
22328 esac
22329 else
22330 cat >conftest.$ac_ext <<_ACEOF
22331 /* confdefs.h. */
22332 _ACEOF
22333 cat confdefs.h >>conftest.$ac_ext
22334 cat >>conftest.$ac_ext <<_ACEOF
22335 /* end confdefs.h. */
22336 $ac_includes_default
22337 typedef long long ac__type_sizeof_;
22338 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22339 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22340 #include <stdio.h>
22341 #include <stdlib.h>
22342 int
22343 main ()
22344 {
22345
22346 FILE *f = fopen ("conftest.val", "w");
22347 if (! f)
22348 return 1;
22349 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22350 {
22351 long int i = longval ();
22352 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22353 return 1;
22354 fprintf (f, "%ld\n", i);
22355 }
22356 else
22357 {
22358 unsigned long int i = ulongval ();
22359 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22360 return 1;
22361 fprintf (f, "%lu\n", i);
22362 }
22363 return ferror (f) || fclose (f) != 0;
22364
22365 ;
22366 return 0;
22367 }
22368 _ACEOF
22369 rm -f conftest$ac_exeext
22370 if { (ac_try="$ac_link"
22371 case "(($ac_try" in
22372 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22373 *) ac_try_echo=$ac_try;;
22374 esac
22375 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22376 (eval "$ac_link") 2>&5
22377 ac_status=$?
22378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22379 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22380 { (case "(($ac_try" in
22381 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22382 *) ac_try_echo=$ac_try;;
22383 esac
22384 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22385 (eval "$ac_try") 2>&5
22386 ac_status=$?
22387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22388 (exit $ac_status); }; }; then
22389 ac_cv_sizeof_long_long=`cat conftest.val`
22390 else
22391 echo "$as_me: program exited with status $ac_status" >&5
22392 echo "$as_me: failed program was:" >&5
22393 sed 's/^/| /' conftest.$ac_ext >&5
22394
22395 ( exit $ac_status )
22396 if test "$ac_cv_type_long_long" = yes; then
22397 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22398 See \`config.log' for more details." >&5
22399 echo "$as_me: error: cannot compute sizeof (long long)
22400 See \`config.log' for more details." >&2;}
22401 { (exit 77); exit 77; }; }
22402 else
22403 ac_cv_sizeof_long_long=0
22404 fi
22405 fi
22406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22407 fi
22408 rm -f conftest.val
22409 fi
22410 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22411 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22412
22413
22414
22415 cat >>confdefs.h <<_ACEOF
22416 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22417 _ACEOF
22418
22419
22420 esac
22421
22422 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22423 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22424 if test "${ac_cv_type_wchar_t+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
22434 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22435 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22436 # error "fake wchar_t"
22437 #endif
22438 #ifdef HAVE_WCHAR_H
22439 # ifdef __CYGWIN__
22440 # include <stddef.h>
22441 # endif
22442 # include <wchar.h>
22443 #endif
22444 #ifdef HAVE_STDLIB_H
22445 # include <stdlib.h>
22446 #endif
22447 #include <stdio.h>
22448
22449
22450
22451 typedef wchar_t ac__type_new_;
22452 int
22453 main ()
22454 {
22455 if ((ac__type_new_ *) 0)
22456 return 0;
22457 if (sizeof (ac__type_new_))
22458 return 0;
22459 ;
22460 return 0;
22461 }
22462 _ACEOF
22463 rm -f conftest.$ac_objext
22464 if { (ac_try="$ac_compile"
22465 case "(($ac_try" in
22466 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22467 *) ac_try_echo=$ac_try;;
22468 esac
22469 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22470 (eval "$ac_compile") 2>conftest.er1
22471 ac_status=$?
22472 grep -v '^ *+' conftest.er1 >conftest.err
22473 rm -f conftest.er1
22474 cat conftest.err >&5
22475 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22476 (exit $ac_status); } && {
22477 test -z "$ac_c_werror_flag" ||
22478 test ! -s conftest.err
22479 } && test -s conftest.$ac_objext; then
22480 ac_cv_type_wchar_t=yes
22481 else
22482 echo "$as_me: failed program was:" >&5
22483 sed 's/^/| /' conftest.$ac_ext >&5
22484
22485 ac_cv_type_wchar_t=no
22486 fi
22487
22488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22489 fi
22490 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22491 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22492
22493 # The cast to long int works around a bug in the HP C Compiler
22494 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22495 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22496 # This bug is HP SR number 8606223364.
22497 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22498 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22499 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22500 echo $ECHO_N "(cached) $ECHO_C" >&6
22501 else
22502 if test "$cross_compiling" = yes; then
22503 # Depending upon the size, compute the lo and hi bounds.
22504 cat >conftest.$ac_ext <<_ACEOF
22505 /* confdefs.h. */
22506 _ACEOF
22507 cat confdefs.h >>conftest.$ac_ext
22508 cat >>conftest.$ac_ext <<_ACEOF
22509 /* end confdefs.h. */
22510
22511 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22512 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22513 # error "fake wchar_t"
22514 #endif
22515 #ifdef HAVE_WCHAR_H
22516 # ifdef __CYGWIN__
22517 # include <stddef.h>
22518 # endif
22519 # include <wchar.h>
22520 #endif
22521 #ifdef HAVE_STDLIB_H
22522 # include <stdlib.h>
22523 #endif
22524 #include <stdio.h>
22525
22526
22527
22528 typedef wchar_t ac__type_sizeof_;
22529 int
22530 main ()
22531 {
22532 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22533 test_array [0] = 0
22534
22535 ;
22536 return 0;
22537 }
22538 _ACEOF
22539 rm -f conftest.$ac_objext
22540 if { (ac_try="$ac_compile"
22541 case "(($ac_try" in
22542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22543 *) ac_try_echo=$ac_try;;
22544 esac
22545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22546 (eval "$ac_compile") 2>conftest.er1
22547 ac_status=$?
22548 grep -v '^ *+' conftest.er1 >conftest.err
22549 rm -f conftest.er1
22550 cat conftest.err >&5
22551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22552 (exit $ac_status); } && {
22553 test -z "$ac_c_werror_flag" ||
22554 test ! -s conftest.err
22555 } && test -s conftest.$ac_objext; then
22556 ac_lo=0 ac_mid=0
22557 while :; do
22558 cat >conftest.$ac_ext <<_ACEOF
22559 /* confdefs.h. */
22560 _ACEOF
22561 cat confdefs.h >>conftest.$ac_ext
22562 cat >>conftest.$ac_ext <<_ACEOF
22563 /* end confdefs.h. */
22564
22565 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22566 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22567 # error "fake wchar_t"
22568 #endif
22569 #ifdef HAVE_WCHAR_H
22570 # ifdef __CYGWIN__
22571 # include <stddef.h>
22572 # endif
22573 # include <wchar.h>
22574 #endif
22575 #ifdef HAVE_STDLIB_H
22576 # include <stdlib.h>
22577 #endif
22578 #include <stdio.h>
22579
22580
22581
22582 typedef wchar_t ac__type_sizeof_;
22583 int
22584 main ()
22585 {
22586 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22587 test_array [0] = 0
22588
22589 ;
22590 return 0;
22591 }
22592 _ACEOF
22593 rm -f conftest.$ac_objext
22594 if { (ac_try="$ac_compile"
22595 case "(($ac_try" in
22596 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22597 *) ac_try_echo=$ac_try;;
22598 esac
22599 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22600 (eval "$ac_compile") 2>conftest.er1
22601 ac_status=$?
22602 grep -v '^ *+' conftest.er1 >conftest.err
22603 rm -f conftest.er1
22604 cat conftest.err >&5
22605 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22606 (exit $ac_status); } && {
22607 test -z "$ac_c_werror_flag" ||
22608 test ! -s conftest.err
22609 } && test -s conftest.$ac_objext; then
22610 ac_hi=$ac_mid; break
22611 else
22612 echo "$as_me: failed program was:" >&5
22613 sed 's/^/| /' conftest.$ac_ext >&5
22614
22615 ac_lo=`expr $ac_mid + 1`
22616 if test $ac_lo -le $ac_mid; then
22617 ac_lo= ac_hi=
22618 break
22619 fi
22620 ac_mid=`expr 2 '*' $ac_mid + 1`
22621 fi
22622
22623 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22624 done
22625 else
22626 echo "$as_me: failed program was:" >&5
22627 sed 's/^/| /' conftest.$ac_ext >&5
22628
22629 cat >conftest.$ac_ext <<_ACEOF
22630 /* confdefs.h. */
22631 _ACEOF
22632 cat confdefs.h >>conftest.$ac_ext
22633 cat >>conftest.$ac_ext <<_ACEOF
22634 /* end confdefs.h. */
22635
22636 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22637 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22638 # error "fake wchar_t"
22639 #endif
22640 #ifdef HAVE_WCHAR_H
22641 # ifdef __CYGWIN__
22642 # include <stddef.h>
22643 # endif
22644 # include <wchar.h>
22645 #endif
22646 #ifdef HAVE_STDLIB_H
22647 # include <stdlib.h>
22648 #endif
22649 #include <stdio.h>
22650
22651
22652
22653 typedef wchar_t ac__type_sizeof_;
22654 int
22655 main ()
22656 {
22657 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22658 test_array [0] = 0
22659
22660 ;
22661 return 0;
22662 }
22663 _ACEOF
22664 rm -f conftest.$ac_objext
22665 if { (ac_try="$ac_compile"
22666 case "(($ac_try" in
22667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22668 *) ac_try_echo=$ac_try;;
22669 esac
22670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22671 (eval "$ac_compile") 2>conftest.er1
22672 ac_status=$?
22673 grep -v '^ *+' conftest.er1 >conftest.err
22674 rm -f conftest.er1
22675 cat conftest.err >&5
22676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22677 (exit $ac_status); } && {
22678 test -z "$ac_c_werror_flag" ||
22679 test ! -s conftest.err
22680 } && test -s conftest.$ac_objext; then
22681 ac_hi=-1 ac_mid=-1
22682 while :; do
22683 cat >conftest.$ac_ext <<_ACEOF
22684 /* confdefs.h. */
22685 _ACEOF
22686 cat confdefs.h >>conftest.$ac_ext
22687 cat >>conftest.$ac_ext <<_ACEOF
22688 /* end confdefs.h. */
22689
22690 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22691 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22692 # error "fake wchar_t"
22693 #endif
22694 #ifdef HAVE_WCHAR_H
22695 # ifdef __CYGWIN__
22696 # include <stddef.h>
22697 # endif
22698 # include <wchar.h>
22699 #endif
22700 #ifdef HAVE_STDLIB_H
22701 # include <stdlib.h>
22702 #endif
22703 #include <stdio.h>
22704
22705
22706
22707 typedef wchar_t ac__type_sizeof_;
22708 int
22709 main ()
22710 {
22711 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22712 test_array [0] = 0
22713
22714 ;
22715 return 0;
22716 }
22717 _ACEOF
22718 rm -f conftest.$ac_objext
22719 if { (ac_try="$ac_compile"
22720 case "(($ac_try" in
22721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22722 *) ac_try_echo=$ac_try;;
22723 esac
22724 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22725 (eval "$ac_compile") 2>conftest.er1
22726 ac_status=$?
22727 grep -v '^ *+' conftest.er1 >conftest.err
22728 rm -f conftest.er1
22729 cat conftest.err >&5
22730 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22731 (exit $ac_status); } && {
22732 test -z "$ac_c_werror_flag" ||
22733 test ! -s conftest.err
22734 } && test -s conftest.$ac_objext; then
22735 ac_lo=$ac_mid; break
22736 else
22737 echo "$as_me: failed program was:" >&5
22738 sed 's/^/| /' conftest.$ac_ext >&5
22739
22740 ac_hi=`expr '(' $ac_mid ')' - 1`
22741 if test $ac_mid -le $ac_hi; then
22742 ac_lo= ac_hi=
22743 break
22744 fi
22745 ac_mid=`expr 2 '*' $ac_mid`
22746 fi
22747
22748 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22749 done
22750 else
22751 echo "$as_me: failed program was:" >&5
22752 sed 's/^/| /' conftest.$ac_ext >&5
22753
22754 ac_lo= ac_hi=
22755 fi
22756
22757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22758 fi
22759
22760 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22761 # Binary search between lo and hi bounds.
22762 while test "x$ac_lo" != "x$ac_hi"; do
22763 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22764 cat >conftest.$ac_ext <<_ACEOF
22765 /* confdefs.h. */
22766 _ACEOF
22767 cat confdefs.h >>conftest.$ac_ext
22768 cat >>conftest.$ac_ext <<_ACEOF
22769 /* end confdefs.h. */
22770
22771 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22772 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22773 # error "fake wchar_t"
22774 #endif
22775 #ifdef HAVE_WCHAR_H
22776 # ifdef __CYGWIN__
22777 # include <stddef.h>
22778 # endif
22779 # include <wchar.h>
22780 #endif
22781 #ifdef HAVE_STDLIB_H
22782 # include <stdlib.h>
22783 #endif
22784 #include <stdio.h>
22785
22786
22787
22788 typedef wchar_t ac__type_sizeof_;
22789 int
22790 main ()
22791 {
22792 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22793 test_array [0] = 0
22794
22795 ;
22796 return 0;
22797 }
22798 _ACEOF
22799 rm -f conftest.$ac_objext
22800 if { (ac_try="$ac_compile"
22801 case "(($ac_try" in
22802 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22803 *) ac_try_echo=$ac_try;;
22804 esac
22805 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22806 (eval "$ac_compile") 2>conftest.er1
22807 ac_status=$?
22808 grep -v '^ *+' conftest.er1 >conftest.err
22809 rm -f conftest.er1
22810 cat conftest.err >&5
22811 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22812 (exit $ac_status); } && {
22813 test -z "$ac_c_werror_flag" ||
22814 test ! -s conftest.err
22815 } && test -s conftest.$ac_objext; then
22816 ac_hi=$ac_mid
22817 else
22818 echo "$as_me: failed program was:" >&5
22819 sed 's/^/| /' conftest.$ac_ext >&5
22820
22821 ac_lo=`expr '(' $ac_mid ')' + 1`
22822 fi
22823
22824 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22825 done
22826 case $ac_lo in
22827 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22828 '') if test "$ac_cv_type_wchar_t" = yes; then
22829 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22830 See \`config.log' for more details." >&5
22831 echo "$as_me: error: cannot compute sizeof (wchar_t)
22832 See \`config.log' for more details." >&2;}
22833 { (exit 77); exit 77; }; }
22834 else
22835 ac_cv_sizeof_wchar_t=0
22836 fi ;;
22837 esac
22838 else
22839 cat >conftest.$ac_ext <<_ACEOF
22840 /* confdefs.h. */
22841 _ACEOF
22842 cat confdefs.h >>conftest.$ac_ext
22843 cat >>conftest.$ac_ext <<_ACEOF
22844 /* end confdefs.h. */
22845
22846 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22847 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22848 # error "fake wchar_t"
22849 #endif
22850 #ifdef HAVE_WCHAR_H
22851 # ifdef __CYGWIN__
22852 # include <stddef.h>
22853 # endif
22854 # include <wchar.h>
22855 #endif
22856 #ifdef HAVE_STDLIB_H
22857 # include <stdlib.h>
22858 #endif
22859 #include <stdio.h>
22860
22861
22862
22863 typedef wchar_t ac__type_sizeof_;
22864 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22865 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22866 #include <stdio.h>
22867 #include <stdlib.h>
22868 int
22869 main ()
22870 {
22871
22872 FILE *f = fopen ("conftest.val", "w");
22873 if (! f)
22874 return 1;
22875 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22876 {
22877 long int i = longval ();
22878 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22879 return 1;
22880 fprintf (f, "%ld\n", i);
22881 }
22882 else
22883 {
22884 unsigned long int i = ulongval ();
22885 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22886 return 1;
22887 fprintf (f, "%lu\n", i);
22888 }
22889 return ferror (f) || fclose (f) != 0;
22890
22891 ;
22892 return 0;
22893 }
22894 _ACEOF
22895 rm -f conftest$ac_exeext
22896 if { (ac_try="$ac_link"
22897 case "(($ac_try" in
22898 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22899 *) ac_try_echo=$ac_try;;
22900 esac
22901 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22902 (eval "$ac_link") 2>&5
22903 ac_status=$?
22904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22905 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22906 { (case "(($ac_try" in
22907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22908 *) ac_try_echo=$ac_try;;
22909 esac
22910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22911 (eval "$ac_try") 2>&5
22912 ac_status=$?
22913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22914 (exit $ac_status); }; }; then
22915 ac_cv_sizeof_wchar_t=`cat conftest.val`
22916 else
22917 echo "$as_me: program exited with status $ac_status" >&5
22918 echo "$as_me: failed program was:" >&5
22919 sed 's/^/| /' conftest.$ac_ext >&5
22920
22921 ( exit $ac_status )
22922 if test "$ac_cv_type_wchar_t" = yes; then
22923 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22924 See \`config.log' for more details." >&5
22925 echo "$as_me: error: cannot compute sizeof (wchar_t)
22926 See \`config.log' for more details." >&2;}
22927 { (exit 77); exit 77; }; }
22928 else
22929 ac_cv_sizeof_wchar_t=0
22930 fi
22931 fi
22932 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22933 fi
22934 rm -f conftest.val
22935 fi
22936 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22937 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22938
22939
22940
22941 cat >>confdefs.h <<_ACEOF
22942 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22943 _ACEOF
22944
22945
22946 if test "$ac_cv_sizeof_wchar_t" != 0; then
22947 wxUSE_WCHAR_T=yes
22948 else
22949 wxUSE_WCHAR_T=no
22950 fi
22951
22952 { echo "$as_me:$LINENO: checking for va_copy" >&5
22953 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22954 if test "${wx_cv_func_va_copy+set}" = set; then
22955 echo $ECHO_N "(cached) $ECHO_C" >&6
22956 else
22957
22958 ac_ext=cpp
22959 ac_cpp='$CXXCPP $CPPFLAGS'
22960 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22961 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22962 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22963
22964 cat >conftest.$ac_ext <<_ACEOF
22965
22966 #include <stdarg.h>
22967 void foo(char *f, ...)
22968 {
22969 va_list ap1, ap2;
22970 va_start(ap1, f);
22971 va_copy(ap2, ap1);
22972 va_end(ap2);
22973 va_end(ap1);
22974 }
22975 int main()
22976 {
22977 foo("hi", 17);
22978 return 0;
22979 }
22980 _ACEOF
22981 rm -f conftest.$ac_objext conftest$ac_exeext
22982 if { (ac_try="$ac_link"
22983 case "(($ac_try" in
22984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22985 *) ac_try_echo=$ac_try;;
22986 esac
22987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22988 (eval "$ac_link") 2>conftest.er1
22989 ac_status=$?
22990 grep -v '^ *+' conftest.er1 >conftest.err
22991 rm -f conftest.er1
22992 cat conftest.err >&5
22993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22994 (exit $ac_status); } && {
22995 test -z "$ac_cxx_werror_flag" ||
22996 test ! -s conftest.err
22997 } && test -s conftest$ac_exeext &&
22998 $as_test_x conftest$ac_exeext; then
22999 wx_cv_func_va_copy=yes
23000 else
23001 echo "$as_me: failed program was:" >&5
23002 sed 's/^/| /' conftest.$ac_ext >&5
23003
23004 wx_cv_func_va_copy=no
23005
23006 fi
23007
23008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23009 conftest$ac_exeext conftest.$ac_ext
23010 ac_ext=c
23011 ac_cpp='$CPP $CPPFLAGS'
23012 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23013 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23014 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23015
23016
23017
23018 fi
23019 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
23020 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
23021
23022 if test $wx_cv_func_va_copy = "yes"; then
23023 cat >>confdefs.h <<\_ACEOF
23024 #define HAVE_VA_COPY 1
23025 _ACEOF
23026
23027 else
23028 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
23029 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
23030 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
23031 echo $ECHO_N "(cached) $ECHO_C" >&6
23032 else
23033
23034 if test "$cross_compiling" = yes; then
23035 wx_cv_type_va_list_lvalue=yes
23036
23037 else
23038 cat >conftest.$ac_ext <<_ACEOF
23039
23040 #include <stdarg.h>
23041 int foo(char *f, ...)
23042 {
23043 va_list ap1, ap2;
23044 va_start(ap1, f);
23045 ap2 = ap1;
23046 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
23047 return 1;
23048 va_end(ap2);
23049 va_end(ap1);
23050 return 0;
23051 }
23052 int main()
23053 {
23054 return foo("hi", 17);
23055 }
23056 _ACEOF
23057 rm -f conftest$ac_exeext
23058 if { (ac_try="$ac_link"
23059 case "(($ac_try" in
23060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23061 *) ac_try_echo=$ac_try;;
23062 esac
23063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23064 (eval "$ac_link") 2>&5
23065 ac_status=$?
23066 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23067 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23068 { (case "(($ac_try" in
23069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23070 *) ac_try_echo=$ac_try;;
23071 esac
23072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23073 (eval "$ac_try") 2>&5
23074 ac_status=$?
23075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23076 (exit $ac_status); }; }; then
23077 wx_cv_type_va_list_lvalue=yes
23078 else
23079 echo "$as_me: program exited with status $ac_status" >&5
23080 echo "$as_me: failed program was:" >&5
23081 sed 's/^/| /' conftest.$ac_ext >&5
23082
23083 ( exit $ac_status )
23084 wx_cv_type_va_list_lvalue=no
23085 fi
23086 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23087 fi
23088
23089
23090
23091
23092 fi
23093 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23094 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23095
23096 if test $wx_cv_type_va_list_lvalue != "yes"; then
23097 cat >>confdefs.h <<\_ACEOF
23098 #define VA_LIST_IS_ARRAY 1
23099 _ACEOF
23100
23101 fi
23102 fi
23103
23104 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23105
23106 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23107 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23108 if test "${wx_cv_have_variadic_macros+set}" = set; then
23109 echo $ECHO_N "(cached) $ECHO_C" >&6
23110 else
23111
23112 ac_ext=cpp
23113 ac_cpp='$CXXCPP $CPPFLAGS'
23114 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23115 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23116 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23117
23118 cat >conftest.$ac_ext <<_ACEOF
23119 /* confdefs.h. */
23120 _ACEOF
23121 cat confdefs.h >>conftest.$ac_ext
23122 cat >>conftest.$ac_ext <<_ACEOF
23123 /* end confdefs.h. */
23124
23125 #include <stdio.h>
23126 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23127
23128 int
23129 main ()
23130 {
23131
23132 test("%s %d %p", "test", 1, 0);
23133
23134
23135 ;
23136 return 0;
23137 }
23138 _ACEOF
23139 rm -f conftest.$ac_objext
23140 if { (ac_try="$ac_compile"
23141 case "(($ac_try" in
23142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23143 *) ac_try_echo=$ac_try;;
23144 esac
23145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23146 (eval "$ac_compile") 2>conftest.er1
23147 ac_status=$?
23148 grep -v '^ *+' conftest.er1 >conftest.err
23149 rm -f conftest.er1
23150 cat conftest.err >&5
23151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23152 (exit $ac_status); } && {
23153 test -z "$ac_cxx_werror_flag" ||
23154 test ! -s conftest.err
23155 } && test -s conftest.$ac_objext; then
23156 wx_cv_have_variadic_macros=yes
23157 else
23158 echo "$as_me: failed program was:" >&5
23159 sed 's/^/| /' conftest.$ac_ext >&5
23160
23161 wx_cv_have_variadic_macros=no
23162
23163 fi
23164
23165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23166 ac_ext=c
23167 ac_cpp='$CPP $CPPFLAGS'
23168 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23169 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23170 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23171
23172
23173
23174 fi
23175 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23176 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23177
23178 if test $wx_cv_have_variadic_macros = "yes"; then
23179 cat >>confdefs.h <<\_ACEOF
23180 #define HAVE_VARIADIC_MACROS 1
23181 _ACEOF
23182
23183 fi
23184
23185 fi
23186 # Check whether --enable-largefile was given.
23187 if test "${enable_largefile+set}" = set; then
23188 enableval=$enable_largefile;
23189 fi
23190
23191 if test "$enable_largefile" != no; then
23192 wx_largefile=no
23193
23194 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23195 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23196 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23197 echo $ECHO_N "(cached) $ECHO_C" >&6
23198 else
23199
23200 cat >conftest.$ac_ext <<_ACEOF
23201 /* confdefs.h. */
23202 _ACEOF
23203 cat confdefs.h >>conftest.$ac_ext
23204 cat >>conftest.$ac_ext <<_ACEOF
23205 /* end confdefs.h. */
23206 #define _FILE_OFFSET_BITS 64
23207 #include <sys/types.h>
23208 int
23209 main ()
23210 {
23211 typedef struct {
23212 unsigned int field: sizeof(off_t) == 8;
23213 } wxlf;
23214
23215 ;
23216 return 0;
23217 }
23218 _ACEOF
23219 rm -f conftest.$ac_objext
23220 if { (ac_try="$ac_compile"
23221 case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223 *) ac_try_echo=$ac_try;;
23224 esac
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_compile") 2>conftest.er1
23227 ac_status=$?
23228 grep -v '^ *+' conftest.er1 >conftest.err
23229 rm -f conftest.er1
23230 cat conftest.err >&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } && {
23233 test -z "$ac_c_werror_flag" ||
23234 test ! -s conftest.err
23235 } && test -s conftest.$ac_objext; then
23236 ac_cv_sys_file_offset_bits=64
23237 else
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23240
23241 ac_cv_sys_file_offset_bits=no
23242 fi
23243
23244 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23245
23246
23247 fi
23248 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23249 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23250
23251 if test "$ac_cv_sys_file_offset_bits" != no; then
23252 wx_largefile=yes
23253 cat >>confdefs.h <<_ACEOF
23254 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23255 _ACEOF
23256
23257 fi
23258
23259 if test "x$wx_largefile" != "xyes"; then
23260
23261 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23262 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23263 if test "${ac_cv_sys_large_files+set}" = set; then
23264 echo $ECHO_N "(cached) $ECHO_C" >&6
23265 else
23266
23267 cat >conftest.$ac_ext <<_ACEOF
23268 /* confdefs.h. */
23269 _ACEOF
23270 cat confdefs.h >>conftest.$ac_ext
23271 cat >>conftest.$ac_ext <<_ACEOF
23272 /* end confdefs.h. */
23273 #define _LARGE_FILES 1
23274 #include <sys/types.h>
23275 int
23276 main ()
23277 {
23278 typedef struct {
23279 unsigned int field: sizeof(off_t) == 8;
23280 } wxlf;
23281
23282 ;
23283 return 0;
23284 }
23285 _ACEOF
23286 rm -f conftest.$ac_objext
23287 if { (ac_try="$ac_compile"
23288 case "(($ac_try" in
23289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23290 *) ac_try_echo=$ac_try;;
23291 esac
23292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23293 (eval "$ac_compile") 2>conftest.er1
23294 ac_status=$?
23295 grep -v '^ *+' conftest.er1 >conftest.err
23296 rm -f conftest.er1
23297 cat conftest.err >&5
23298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23299 (exit $ac_status); } && {
23300 test -z "$ac_c_werror_flag" ||
23301 test ! -s conftest.err
23302 } && test -s conftest.$ac_objext; then
23303 ac_cv_sys_large_files=1
23304 else
23305 echo "$as_me: failed program was:" >&5
23306 sed 's/^/| /' conftest.$ac_ext >&5
23307
23308 ac_cv_sys_large_files=no
23309 fi
23310
23311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23312
23313
23314 fi
23315 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23316 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23317
23318 if test "$ac_cv_sys_large_files" != no; then
23319 wx_largefile=yes
23320 cat >>confdefs.h <<_ACEOF
23321 #define _LARGE_FILES $ac_cv_sys_large_files
23322 _ACEOF
23323
23324 fi
23325
23326 fi
23327
23328 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23329 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23330 if test "x$wx_largefile" = "xyes"; then
23331 cat >>confdefs.h <<\_ACEOF
23332 #define HAVE_LARGEFILE_SUPPORT 1
23333 _ACEOF
23334
23335 fi
23336 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23337 echo "${ECHO_T}$wx_largefile" >&6; }
23338 fi
23339
23340
23341 if test "x$wx_largefile" = "xyes"; then
23342 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23343 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23344
23345 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23346 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23347 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23348 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23349 echo $ECHO_N "(cached) $ECHO_C" >&6
23350 else
23351
23352 ac_ext=cpp
23353 ac_cpp='$CXXCPP $CPPFLAGS'
23354 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23355 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23356 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23357
23358 cat >conftest.$ac_ext <<_ACEOF
23359 /* confdefs.h. */
23360 _ACEOF
23361 cat confdefs.h >>conftest.$ac_ext
23362 cat >>conftest.$ac_ext <<_ACEOF
23363 /* end confdefs.h. */
23364
23365 int
23366 main ()
23367 {
23368
23369 #ifndef __STDC_EXT__
23370 choke me
23371 #endif
23372
23373 ;
23374 return 0;
23375 }
23376 _ACEOF
23377 rm -f conftest.$ac_objext
23378 if { (ac_try="$ac_compile"
23379 case "(($ac_try" in
23380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23381 *) ac_try_echo=$ac_try;;
23382 esac
23383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23384 (eval "$ac_compile") 2>conftest.er1
23385 ac_status=$?
23386 grep -v '^ *+' conftest.er1 >conftest.err
23387 rm -f conftest.er1
23388 cat conftest.err >&5
23389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23390 (exit $ac_status); } && {
23391 test -z "$ac_cxx_werror_flag" ||
23392 test ! -s conftest.err
23393 } && test -s conftest.$ac_objext; then
23394 wx_cv_STDC_EXT_required=no
23395 else
23396 echo "$as_me: failed program was:" >&5
23397 sed 's/^/| /' conftest.$ac_ext >&5
23398
23399 wx_cv_STDC_EXT_required=yes
23400
23401 fi
23402
23403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23404 ac_ext=c
23405 ac_cpp='$CPP $CPPFLAGS'
23406 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23407 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23408 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23409
23410
23411
23412 fi
23413 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23414 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23415 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23416 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23417 fi
23418 fi
23419 else
23420 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23421 fi
23422 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23423 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23424 if test "${ac_cv_sys_largefile_source+set}" = set; then
23425 echo $ECHO_N "(cached) $ECHO_C" >&6
23426 else
23427 while :; do
23428 cat >conftest.$ac_ext <<_ACEOF
23429 /* confdefs.h. */
23430 _ACEOF
23431 cat confdefs.h >>conftest.$ac_ext
23432 cat >>conftest.$ac_ext <<_ACEOF
23433 /* end confdefs.h. */
23434 #include <sys/types.h> /* for off_t */
23435 #include <stdio.h>
23436 int
23437 main ()
23438 {
23439 int (*fp) (FILE *, off_t, int) = fseeko;
23440 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23441 ;
23442 return 0;
23443 }
23444 _ACEOF
23445 rm -f conftest.$ac_objext conftest$ac_exeext
23446 if { (ac_try="$ac_link"
23447 case "(($ac_try" in
23448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23449 *) ac_try_echo=$ac_try;;
23450 esac
23451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23452 (eval "$ac_link") 2>conftest.er1
23453 ac_status=$?
23454 grep -v '^ *+' conftest.er1 >conftest.err
23455 rm -f conftest.er1
23456 cat conftest.err >&5
23457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23458 (exit $ac_status); } && {
23459 test -z "$ac_c_werror_flag" ||
23460 test ! -s conftest.err
23461 } && test -s conftest$ac_exeext &&
23462 $as_test_x conftest$ac_exeext; then
23463 ac_cv_sys_largefile_source=no; break
23464 else
23465 echo "$as_me: failed program was:" >&5
23466 sed 's/^/| /' conftest.$ac_ext >&5
23467
23468
23469 fi
23470
23471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23472 conftest$ac_exeext conftest.$ac_ext
23473 cat >conftest.$ac_ext <<_ACEOF
23474 /* confdefs.h. */
23475 _ACEOF
23476 cat confdefs.h >>conftest.$ac_ext
23477 cat >>conftest.$ac_ext <<_ACEOF
23478 /* end confdefs.h. */
23479 #define _LARGEFILE_SOURCE 1
23480 #include <sys/types.h> /* for off_t */
23481 #include <stdio.h>
23482 int
23483 main ()
23484 {
23485 int (*fp) (FILE *, off_t, int) = fseeko;
23486 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23487 ;
23488 return 0;
23489 }
23490 _ACEOF
23491 rm -f conftest.$ac_objext conftest$ac_exeext
23492 if { (ac_try="$ac_link"
23493 case "(($ac_try" in
23494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23495 *) ac_try_echo=$ac_try;;
23496 esac
23497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23498 (eval "$ac_link") 2>conftest.er1
23499 ac_status=$?
23500 grep -v '^ *+' conftest.er1 >conftest.err
23501 rm -f conftest.er1
23502 cat conftest.err >&5
23503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23504 (exit $ac_status); } && {
23505 test -z "$ac_c_werror_flag" ||
23506 test ! -s conftest.err
23507 } && test -s conftest$ac_exeext &&
23508 $as_test_x conftest$ac_exeext; then
23509 ac_cv_sys_largefile_source=1; break
23510 else
23511 echo "$as_me: failed program was:" >&5
23512 sed 's/^/| /' conftest.$ac_ext >&5
23513
23514
23515 fi
23516
23517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23518 conftest$ac_exeext conftest.$ac_ext
23519 ac_cv_sys_largefile_source=unknown
23520 break
23521 done
23522 fi
23523 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23524 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23525 case $ac_cv_sys_largefile_source in #(
23526 no | unknown) ;;
23527 *)
23528 cat >>confdefs.h <<_ACEOF
23529 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23530 _ACEOF
23531 ;;
23532 esac
23533 rm -f conftest*
23534
23535 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23536 # in glibc 2.1.3, but that breaks too many other things.
23537 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23538 if test $ac_cv_sys_largefile_source != unknown; then
23539
23540 cat >>confdefs.h <<\_ACEOF
23541 #define HAVE_FSEEKO 1
23542 _ACEOF
23543
23544 fi
23545
23546 if test "$ac_cv_sys_largefile_source" != no; then
23547 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23548 fi
23549 fi
23550
23551 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23552 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23553 if test "${ac_cv_c_bigendian+set}" = set; then
23554 echo $ECHO_N "(cached) $ECHO_C" >&6
23555 else
23556 ac_cv_c_bigendian=unknown
23557 # See if sys/param.h defines the BYTE_ORDER macro.
23558 cat >conftest.$ac_ext <<_ACEOF
23559 /* confdefs.h. */
23560 _ACEOF
23561 cat confdefs.h >>conftest.$ac_ext
23562 cat >>conftest.$ac_ext <<_ACEOF
23563 /* end confdefs.h. */
23564 #include <sys/types.h>
23565 #include <sys/param.h>
23566 int
23567 main ()
23568 {
23569
23570 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23571 bogus endian macros
23572 #endif
23573 ;
23574 return 0;
23575 }
23576 _ACEOF
23577 rm -f conftest.$ac_objext
23578 if { (ac_try="$ac_compile"
23579 case "(($ac_try" in
23580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23581 *) ac_try_echo=$ac_try;;
23582 esac
23583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23584 (eval "$ac_compile") 2>conftest.er1
23585 ac_status=$?
23586 grep -v '^ *+' conftest.er1 >conftest.err
23587 rm -f conftest.er1
23588 cat conftest.err >&5
23589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23590 (exit $ac_status); } && {
23591 test -z "$ac_c_werror_flag" ||
23592 test ! -s conftest.err
23593 } && test -s conftest.$ac_objext; then
23594 # It does; now see whether it defined to BIG_ENDIAN or not.
23595 cat >conftest.$ac_ext <<_ACEOF
23596 /* confdefs.h. */
23597 _ACEOF
23598 cat confdefs.h >>conftest.$ac_ext
23599 cat >>conftest.$ac_ext <<_ACEOF
23600 /* end confdefs.h. */
23601 #include <sys/types.h>
23602 #include <sys/param.h>
23603 int
23604 main ()
23605 {
23606
23607 #if BYTE_ORDER != BIG_ENDIAN
23608 not big endian
23609 #endif
23610 ;
23611 return 0;
23612 }
23613 _ACEOF
23614 rm -f conftest.$ac_objext
23615 if { (ac_try="$ac_compile"
23616 case "(($ac_try" in
23617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23618 *) ac_try_echo=$ac_try;;
23619 esac
23620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23621 (eval "$ac_compile") 2>conftest.er1
23622 ac_status=$?
23623 grep -v '^ *+' conftest.er1 >conftest.err
23624 rm -f conftest.er1
23625 cat conftest.err >&5
23626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23627 (exit $ac_status); } && {
23628 test -z "$ac_c_werror_flag" ||
23629 test ! -s conftest.err
23630 } && test -s conftest.$ac_objext; then
23631 ac_cv_c_bigendian=yes
23632 else
23633 echo "$as_me: failed program was:" >&5
23634 sed 's/^/| /' conftest.$ac_ext >&5
23635
23636 ac_cv_c_bigendian=no
23637 fi
23638
23639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23640 else
23641 echo "$as_me: failed program was:" >&5
23642 sed 's/^/| /' conftest.$ac_ext >&5
23643
23644
23645 fi
23646
23647 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23648 if test $ac_cv_c_bigendian = unknown; then
23649 if test "$cross_compiling" = yes; then
23650 ac_cv_c_bigendian=unknown
23651 else
23652 cat >conftest.$ac_ext <<_ACEOF
23653 /* confdefs.h. */
23654 _ACEOF
23655 cat confdefs.h >>conftest.$ac_ext
23656 cat >>conftest.$ac_ext <<_ACEOF
23657 /* end confdefs.h. */
23658 main () {
23659 /* Are we little or big endian? From Harbison&Steele. */
23660 union
23661 {
23662 long l;
23663 char c[sizeof (long)];
23664 } u;
23665 u.l = 1;
23666 exit (u.c[sizeof (long) - 1] == 1);
23667 }
23668 _ACEOF
23669 rm -f conftest$ac_exeext
23670 if { (ac_try="$ac_link"
23671 case "(($ac_try" in
23672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23673 *) ac_try_echo=$ac_try;;
23674 esac
23675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23676 (eval "$ac_link") 2>&5
23677 ac_status=$?
23678 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23679 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23680 { (case "(($ac_try" in
23681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23682 *) ac_try_echo=$ac_try;;
23683 esac
23684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23685 (eval "$ac_try") 2>&5
23686 ac_status=$?
23687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23688 (exit $ac_status); }; }; then
23689 ac_cv_c_bigendian=no
23690 else
23691 echo "$as_me: program exited with status $ac_status" >&5
23692 echo "$as_me: failed program was:" >&5
23693 sed 's/^/| /' conftest.$ac_ext >&5
23694
23695 ( exit $ac_status )
23696 ac_cv_c_bigendian=yes
23697 fi
23698 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23699 fi
23700
23701
23702 fi
23703 fi
23704 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23705 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23706 if test $ac_cv_c_bigendian = unknown; then
23707 { 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
23708 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;}
23709 fi
23710 if test $ac_cv_c_bigendian = yes; then
23711 cat >>confdefs.h <<\_ACEOF
23712 #define WORDS_BIGENDIAN 1
23713 _ACEOF
23714
23715 fi
23716
23717
23718
23719
23720 ac_ext=cpp
23721 ac_cpp='$CXXCPP $CPPFLAGS'
23722 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23723 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23724 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23725
23726
23727
23728 for ac_header in iostream
23729 do
23730 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23731 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23732 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23733 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23734 echo $ECHO_N "(cached) $ECHO_C" >&6
23735 else
23736 cat >conftest.$ac_ext <<_ACEOF
23737 /* confdefs.h. */
23738 _ACEOF
23739 cat confdefs.h >>conftest.$ac_ext
23740 cat >>conftest.$ac_ext <<_ACEOF
23741 /* end confdefs.h. */
23742
23743
23744 #include <$ac_header>
23745 _ACEOF
23746 rm -f conftest.$ac_objext
23747 if { (ac_try="$ac_compile"
23748 case "(($ac_try" in
23749 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23750 *) ac_try_echo=$ac_try;;
23751 esac
23752 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23753 (eval "$ac_compile") 2>conftest.er1
23754 ac_status=$?
23755 grep -v '^ *+' conftest.er1 >conftest.err
23756 rm -f conftest.er1
23757 cat conftest.err >&5
23758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23759 (exit $ac_status); } && {
23760 test -z "$ac_cxx_werror_flag" ||
23761 test ! -s conftest.err
23762 } && test -s conftest.$ac_objext; then
23763 eval "$as_ac_Header=yes"
23764 else
23765 echo "$as_me: failed program was:" >&5
23766 sed 's/^/| /' conftest.$ac_ext >&5
23767
23768 eval "$as_ac_Header=no"
23769 fi
23770
23771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23772 fi
23773 ac_res=`eval echo '${'$as_ac_Header'}'`
23774 { echo "$as_me:$LINENO: result: $ac_res" >&5
23775 echo "${ECHO_T}$ac_res" >&6; }
23776 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23777 cat >>confdefs.h <<_ACEOF
23778 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23779 _ACEOF
23780
23781 fi
23782
23783 done
23784
23785
23786 if test "$ac_cv_header_iostream" = "yes" ; then
23787 :
23788 else
23789 cat >>confdefs.h <<\_ACEOF
23790 #define wxUSE_IOSTREAMH 1
23791 _ACEOF
23792
23793 fi
23794
23795 ac_ext=c
23796 ac_cpp='$CPP $CPPFLAGS'
23797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23800
23801
23802
23803
23804 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23805 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23806 if test "${wx_cv_cpp_bool+set}" = set; then
23807 echo $ECHO_N "(cached) $ECHO_C" >&6
23808 else
23809
23810
23811 ac_ext=cpp
23812 ac_cpp='$CXXCPP $CPPFLAGS'
23813 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23814 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23815 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23816
23817
23818 cat >conftest.$ac_ext <<_ACEOF
23819 /* confdefs.h. */
23820 _ACEOF
23821 cat confdefs.h >>conftest.$ac_ext
23822 cat >>conftest.$ac_ext <<_ACEOF
23823 /* end confdefs.h. */
23824
23825
23826 int
23827 main ()
23828 {
23829
23830 bool b = true;
23831
23832 return 0;
23833
23834 ;
23835 return 0;
23836 }
23837 _ACEOF
23838 rm -f conftest.$ac_objext
23839 if { (ac_try="$ac_compile"
23840 case "(($ac_try" in
23841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23842 *) ac_try_echo=$ac_try;;
23843 esac
23844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23845 (eval "$ac_compile") 2>conftest.er1
23846 ac_status=$?
23847 grep -v '^ *+' conftest.er1 >conftest.err
23848 rm -f conftest.er1
23849 cat conftest.err >&5
23850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23851 (exit $ac_status); } && {
23852 test -z "$ac_cxx_werror_flag" ||
23853 test ! -s conftest.err
23854 } && test -s conftest.$ac_objext; then
23855
23856 wx_cv_cpp_bool=yes
23857
23858 else
23859 echo "$as_me: failed program was:" >&5
23860 sed 's/^/| /' conftest.$ac_ext >&5
23861
23862
23863 wx_cv_cpp_bool=no
23864
23865
23866 fi
23867
23868 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23869
23870 ac_ext=c
23871 ac_cpp='$CPP $CPPFLAGS'
23872 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23873 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23874 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23875
23876
23877 fi
23878 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23879 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23880
23881 if test "$wx_cv_cpp_bool" = "yes"; then
23882 cat >>confdefs.h <<\_ACEOF
23883 #define HAVE_BOOL 1
23884 _ACEOF
23885
23886 fi
23887
23888
23889
23890 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23891 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23892 if test "${wx_cv_explicit+set}" = set; then
23893 echo $ECHO_N "(cached) $ECHO_C" >&6
23894 else
23895
23896
23897 ac_ext=cpp
23898 ac_cpp='$CXXCPP $CPPFLAGS'
23899 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23900 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23901 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23902
23903
23904 cat >conftest.$ac_ext <<_ACEOF
23905 /* confdefs.h. */
23906 _ACEOF
23907 cat confdefs.h >>conftest.$ac_ext
23908 cat >>conftest.$ac_ext <<_ACEOF
23909 /* end confdefs.h. */
23910
23911 class Foo { public: explicit Foo(int) {} };
23912
23913 int
23914 main ()
23915 {
23916
23917 return 0;
23918
23919 ;
23920 return 0;
23921 }
23922 _ACEOF
23923 rm -f conftest.$ac_objext
23924 if { (ac_try="$ac_compile"
23925 case "(($ac_try" in
23926 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23927 *) ac_try_echo=$ac_try;;
23928 esac
23929 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23930 (eval "$ac_compile") 2>conftest.er1
23931 ac_status=$?
23932 grep -v '^ *+' conftest.er1 >conftest.err
23933 rm -f conftest.er1
23934 cat conftest.err >&5
23935 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23936 (exit $ac_status); } && {
23937 test -z "$ac_cxx_werror_flag" ||
23938 test ! -s conftest.err
23939 } && test -s conftest.$ac_objext; then
23940
23941 cat >conftest.$ac_ext <<_ACEOF
23942 /* confdefs.h. */
23943 _ACEOF
23944 cat confdefs.h >>conftest.$ac_ext
23945 cat >>conftest.$ac_ext <<_ACEOF
23946 /* end confdefs.h. */
23947
23948 class Foo { public: explicit Foo(int) {} };
23949 static void TakeFoo(const Foo& foo) { }
23950
23951 int
23952 main ()
23953 {
23954
23955 TakeFoo(17);
23956 return 0;
23957
23958 ;
23959 return 0;
23960 }
23961 _ACEOF
23962 rm -f conftest.$ac_objext
23963 if { (ac_try="$ac_compile"
23964 case "(($ac_try" in
23965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23966 *) ac_try_echo=$ac_try;;
23967 esac
23968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23969 (eval "$ac_compile") 2>conftest.er1
23970 ac_status=$?
23971 grep -v '^ *+' conftest.er1 >conftest.err
23972 rm -f conftest.er1
23973 cat conftest.err >&5
23974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23975 (exit $ac_status); } && {
23976 test -z "$ac_cxx_werror_flag" ||
23977 test ! -s conftest.err
23978 } && test -s conftest.$ac_objext; then
23979 wx_cv_explicit=no
23980 else
23981 echo "$as_me: failed program was:" >&5
23982 sed 's/^/| /' conftest.$ac_ext >&5
23983
23984 wx_cv_explicit=yes
23985
23986 fi
23987
23988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23989
23990 else
23991 echo "$as_me: failed program was:" >&5
23992 sed 's/^/| /' conftest.$ac_ext >&5
23993
23994 wx_cv_explicit=no
23995
23996 fi
23997
23998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23999
24000 ac_ext=c
24001 ac_cpp='$CPP $CPPFLAGS'
24002 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24003 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24004 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24005
24006
24007 fi
24008 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
24009 echo "${ECHO_T}$wx_cv_explicit" >&6; }
24010
24011 if test "$wx_cv_explicit" = "yes"; then
24012 cat >>confdefs.h <<\_ACEOF
24013 #define HAVE_EXPLICIT 1
24014 _ACEOF
24015
24016 fi
24017
24018
24019 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
24020 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
24021 if test "${ac_cv_cxx_const_cast+set}" = set; then
24022 echo $ECHO_N "(cached) $ECHO_C" >&6
24023 else
24024
24025 ac_ext=cpp
24026 ac_cpp='$CXXCPP $CPPFLAGS'
24027 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24028 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24029 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24030
24031 cat >conftest.$ac_ext <<_ACEOF
24032 /* confdefs.h. */
24033 _ACEOF
24034 cat confdefs.h >>conftest.$ac_ext
24035 cat >>conftest.$ac_ext <<_ACEOF
24036 /* end confdefs.h. */
24037
24038 int
24039 main ()
24040 {
24041 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
24042 ;
24043 return 0;
24044 }
24045 _ACEOF
24046 rm -f conftest.$ac_objext
24047 if { (ac_try="$ac_compile"
24048 case "(($ac_try" in
24049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24050 *) ac_try_echo=$ac_try;;
24051 esac
24052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24053 (eval "$ac_compile") 2>conftest.er1
24054 ac_status=$?
24055 grep -v '^ *+' conftest.er1 >conftest.err
24056 rm -f conftest.er1
24057 cat conftest.err >&5
24058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24059 (exit $ac_status); } && {
24060 test -z "$ac_cxx_werror_flag" ||
24061 test ! -s conftest.err
24062 } && test -s conftest.$ac_objext; then
24063 ac_cv_cxx_const_cast=yes
24064 else
24065 echo "$as_me: failed program was:" >&5
24066 sed 's/^/| /' conftest.$ac_ext >&5
24067
24068 ac_cv_cxx_const_cast=no
24069 fi
24070
24071 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24072 ac_ext=c
24073 ac_cpp='$CPP $CPPFLAGS'
24074 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24075 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24076 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24077
24078
24079 fi
24080 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24081 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24082 if test "$ac_cv_cxx_const_cast" = yes; then
24083
24084 cat >>confdefs.h <<\_ACEOF
24085 #define HAVE_CONST_CAST
24086 _ACEOF
24087
24088 fi
24089
24090 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24091 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24092 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24093 echo $ECHO_N "(cached) $ECHO_C" >&6
24094 else
24095
24096 ac_ext=cpp
24097 ac_cpp='$CXXCPP $CPPFLAGS'
24098 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24099 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24100 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24101
24102 cat >conftest.$ac_ext <<_ACEOF
24103 /* confdefs.h. */
24104 _ACEOF
24105 cat confdefs.h >>conftest.$ac_ext
24106 cat >>conftest.$ac_ext <<_ACEOF
24107 /* end confdefs.h. */
24108 #include <typeinfo>
24109 class Base { public : Base () {} virtual void f () = 0;};
24110 class Derived : public Base { public : Derived () {} virtual void f () {} };
24111 class Unrelated { public : Unrelated () {} };
24112 int g (Unrelated&) { return 0; }
24113 int
24114 main ()
24115 {
24116
24117 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24118 ;
24119 return 0;
24120 }
24121 _ACEOF
24122 rm -f conftest.$ac_objext
24123 if { (ac_try="$ac_compile"
24124 case "(($ac_try" in
24125 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24126 *) ac_try_echo=$ac_try;;
24127 esac
24128 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24129 (eval "$ac_compile") 2>conftest.er1
24130 ac_status=$?
24131 grep -v '^ *+' conftest.er1 >conftest.err
24132 rm -f conftest.er1
24133 cat conftest.err >&5
24134 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24135 (exit $ac_status); } && {
24136 test -z "$ac_cxx_werror_flag" ||
24137 test ! -s conftest.err
24138 } && test -s conftest.$ac_objext; then
24139 ac_cv_cxx_reinterpret_cast=yes
24140 else
24141 echo "$as_me: failed program was:" >&5
24142 sed 's/^/| /' conftest.$ac_ext >&5
24143
24144 ac_cv_cxx_reinterpret_cast=no
24145 fi
24146
24147 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24148 ac_ext=c
24149 ac_cpp='$CPP $CPPFLAGS'
24150 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24151 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24152 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24153
24154
24155 fi
24156 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24157 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24158 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24159
24160 cat >>confdefs.h <<\_ACEOF
24161 #define HAVE_REINTERPRET_CAST
24162 _ACEOF
24163
24164 fi
24165
24166 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24167 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24168 if test "${ac_cv_cxx_static_cast+set}" = set; then
24169 echo $ECHO_N "(cached) $ECHO_C" >&6
24170 else
24171
24172 ac_ext=cpp
24173 ac_cpp='$CXXCPP $CPPFLAGS'
24174 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24175 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24176 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24177
24178 cat >conftest.$ac_ext <<_ACEOF
24179 /* confdefs.h. */
24180 _ACEOF
24181 cat confdefs.h >>conftest.$ac_ext
24182 cat >>conftest.$ac_ext <<_ACEOF
24183 /* end confdefs.h. */
24184 #include <typeinfo>
24185 class Base { public : Base () {} virtual void f () = 0; };
24186 class Derived : public Base { public : Derived () {} virtual void f () {} };
24187 int g (Derived&) { return 0; }
24188 int
24189 main ()
24190 {
24191
24192 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24193 ;
24194 return 0;
24195 }
24196 _ACEOF
24197 rm -f conftest.$ac_objext
24198 if { (ac_try="$ac_compile"
24199 case "(($ac_try" in
24200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24201 *) ac_try_echo=$ac_try;;
24202 esac
24203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24204 (eval "$ac_compile") 2>conftest.er1
24205 ac_status=$?
24206 grep -v '^ *+' conftest.er1 >conftest.err
24207 rm -f conftest.er1
24208 cat conftest.err >&5
24209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24210 (exit $ac_status); } && {
24211 test -z "$ac_cxx_werror_flag" ||
24212 test ! -s conftest.err
24213 } && test -s conftest.$ac_objext; then
24214 ac_cv_cxx_static_cast=yes
24215 else
24216 echo "$as_me: failed program was:" >&5
24217 sed 's/^/| /' conftest.$ac_ext >&5
24218
24219 ac_cv_cxx_static_cast=no
24220 fi
24221
24222 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24223 ac_ext=c
24224 ac_cpp='$CPP $CPPFLAGS'
24225 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24226 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24227 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24228
24229
24230 fi
24231 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24232 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24233 if test "$ac_cv_cxx_static_cast" = yes; then
24234
24235 cat >>confdefs.h <<\_ACEOF
24236 #define HAVE_STATIC_CAST
24237 _ACEOF
24238
24239 fi
24240
24241
24242 if test "x$SUNCXX" = xyes; then
24243 CXXFLAGS="-features=tmplife $CXXFLAGS"
24244 fi
24245
24246 if test "x$SUNCC" = xyes; then
24247 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24248 fi
24249
24250 if test "x$SGICC" = "xyes"; then
24251 CFLAGS="-woff 3970 $CFLAGS"
24252 fi
24253 if test "x$SGICXX" = "xyes"; then
24254 CXXFLAGS="-woff 3970 $CXXFLAGS"
24255 fi
24256
24257 if test "x$HPCC" = "xyes"; then
24258 CFLAGS="+W 2011,2450 $CFLAGS"
24259 fi
24260 if test "x$HPCXX" = "xyes"; then
24261 CXXFLAGS="+W 2340 $CXXFLAGS"
24262 fi
24263
24264 if test "x$COMPAQCXX" = "xyes"; then
24265 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24266 fi
24267
24268 ac_ext=cpp
24269 ac_cpp='$CXXCPP $CPPFLAGS'
24270 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24271 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24272 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24273
24274
24275 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24276 if test "$wxUSE_UNICODE" = "yes"; then
24277 std_string="std::wstring"
24278 char_type="wchar_t"
24279 else
24280 std_string="std::string"
24281 char_type="char"
24282 fi
24283
24284 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24285 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24286 if test "${wx_cv_class_stdstring+set}" = set; then
24287 echo $ECHO_N "(cached) $ECHO_C" >&6
24288 else
24289
24290 cat >conftest.$ac_ext <<_ACEOF
24291 /* confdefs.h. */
24292 _ACEOF
24293 cat confdefs.h >>conftest.$ac_ext
24294 cat >>conftest.$ac_ext <<_ACEOF
24295 /* end confdefs.h. */
24296 #include <string>
24297 int
24298 main ()
24299 {
24300 $std_string foo;
24301 ;
24302 return 0;
24303 }
24304 _ACEOF
24305 rm -f conftest.$ac_objext
24306 if { (ac_try="$ac_compile"
24307 case "(($ac_try" in
24308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24309 *) ac_try_echo=$ac_try;;
24310 esac
24311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24312 (eval "$ac_compile") 2>conftest.er1
24313 ac_status=$?
24314 grep -v '^ *+' conftest.er1 >conftest.err
24315 rm -f conftest.er1
24316 cat conftest.err >&5
24317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24318 (exit $ac_status); } && {
24319 test -z "$ac_cxx_werror_flag" ||
24320 test ! -s conftest.err
24321 } && test -s conftest.$ac_objext; then
24322 wx_cv_class_stdstring=yes
24323 else
24324 echo "$as_me: failed program was:" >&5
24325 sed 's/^/| /' conftest.$ac_ext >&5
24326
24327 wx_cv_class_stdstring=no
24328
24329 fi
24330
24331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24332
24333
24334 fi
24335 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24336 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24337
24338 if test "$wx_cv_class_stdstring" = yes; then
24339 if test "$wxUSE_UNICODE" = "yes"; then
24340 cat >>confdefs.h <<\_ACEOF
24341 #define HAVE_STD_WSTRING 1
24342 _ACEOF
24343
24344 fi
24345 else
24346 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24347 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24348 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24349 echo $ECHO_N "(cached) $ECHO_C" >&6
24350 else
24351
24352 cat >conftest.$ac_ext <<_ACEOF
24353 /* confdefs.h. */
24354 _ACEOF
24355 cat confdefs.h >>conftest.$ac_ext
24356 cat >>conftest.$ac_ext <<_ACEOF
24357 /* end confdefs.h. */
24358
24359 #ifdef HAVE_WCHAR_H
24360 # ifdef __CYGWIN__
24361 # include <stddef.h>
24362 # endif
24363 # include <wchar.h>
24364 #endif
24365 #ifdef HAVE_STDLIB_H
24366 # include <stdlib.h>
24367 #endif
24368 #include <stdio.h>
24369 #include <string>
24370
24371 int
24372 main ()
24373 {
24374 std::basic_string<$char_type> foo;
24375 const $char_type* dummy = foo.c_str();
24376 ;
24377 return 0;
24378 }
24379 _ACEOF
24380 rm -f conftest.$ac_objext
24381 if { (ac_try="$ac_compile"
24382 case "(($ac_try" in
24383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24384 *) ac_try_echo=$ac_try;;
24385 esac
24386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24387 (eval "$ac_compile") 2>conftest.er1
24388 ac_status=$?
24389 grep -v '^ *+' conftest.er1 >conftest.err
24390 rm -f conftest.er1
24391 cat conftest.err >&5
24392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24393 (exit $ac_status); } && {
24394 test -z "$ac_cxx_werror_flag" ||
24395 test ! -s conftest.err
24396 } && test -s conftest.$ac_objext; then
24397 wx_cv_class_stdbasicstring=yes
24398 else
24399 echo "$as_me: failed program was:" >&5
24400 sed 's/^/| /' conftest.$ac_ext >&5
24401
24402 wx_cv_class_stdbasicstring=no
24403
24404 fi
24405
24406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24407
24408
24409 fi
24410 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24411 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24412
24413 if test "$wx_cv_class_stdbasicstring" != yes; then
24414 if test "$wxUSE_STL" = "yes"; then
24415 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24416 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24417 { (exit 1); exit 1; }; }
24418 elif test "$wxUSE_STD_STRING" = "yes"; then
24419 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24420 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24421 { (exit 1); exit 1; }; }
24422 else
24423 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24424 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24425 wxUSE_STD_STRING=no
24426 fi
24427 fi
24428 fi
24429 fi
24430
24431 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24432 { echo "$as_me:$LINENO: checking for std::istream" >&5
24433 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24434 if test "${ac_cv_type_std__istream+set}" = set; then
24435 echo $ECHO_N "(cached) $ECHO_C" >&6
24436 else
24437 cat >conftest.$ac_ext <<_ACEOF
24438 /* confdefs.h. */
24439 _ACEOF
24440 cat confdefs.h >>conftest.$ac_ext
24441 cat >>conftest.$ac_ext <<_ACEOF
24442 /* end confdefs.h. */
24443 #include <iostream>
24444
24445 typedef std::istream ac__type_new_;
24446 int
24447 main ()
24448 {
24449 if ((ac__type_new_ *) 0)
24450 return 0;
24451 if (sizeof (ac__type_new_))
24452 return 0;
24453 ;
24454 return 0;
24455 }
24456 _ACEOF
24457 rm -f conftest.$ac_objext
24458 if { (ac_try="$ac_compile"
24459 case "(($ac_try" in
24460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24461 *) ac_try_echo=$ac_try;;
24462 esac
24463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24464 (eval "$ac_compile") 2>conftest.er1
24465 ac_status=$?
24466 grep -v '^ *+' conftest.er1 >conftest.err
24467 rm -f conftest.er1
24468 cat conftest.err >&5
24469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24470 (exit $ac_status); } && {
24471 test -z "$ac_cxx_werror_flag" ||
24472 test ! -s conftest.err
24473 } && test -s conftest.$ac_objext; then
24474 ac_cv_type_std__istream=yes
24475 else
24476 echo "$as_me: failed program was:" >&5
24477 sed 's/^/| /' conftest.$ac_ext >&5
24478
24479 ac_cv_type_std__istream=no
24480 fi
24481
24482 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24483 fi
24484 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24485 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24486 if test $ac_cv_type_std__istream = yes; then
24487
24488 cat >>confdefs.h <<_ACEOF
24489 #define HAVE_STD__ISTREAM 1
24490 _ACEOF
24491
24492
24493 else
24494 wxUSE_STD_IOSTREAM=no
24495 fi
24496 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24497 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24498 if test "${ac_cv_type_std__ostream+set}" = set; then
24499 echo $ECHO_N "(cached) $ECHO_C" >&6
24500 else
24501 cat >conftest.$ac_ext <<_ACEOF
24502 /* confdefs.h. */
24503 _ACEOF
24504 cat confdefs.h >>conftest.$ac_ext
24505 cat >>conftest.$ac_ext <<_ACEOF
24506 /* end confdefs.h. */
24507 #include <iostream>
24508
24509 typedef std::ostream ac__type_new_;
24510 int
24511 main ()
24512 {
24513 if ((ac__type_new_ *) 0)
24514 return 0;
24515 if (sizeof (ac__type_new_))
24516 return 0;
24517 ;
24518 return 0;
24519 }
24520 _ACEOF
24521 rm -f conftest.$ac_objext
24522 if { (ac_try="$ac_compile"
24523 case "(($ac_try" in
24524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24525 *) ac_try_echo=$ac_try;;
24526 esac
24527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24528 (eval "$ac_compile") 2>conftest.er1
24529 ac_status=$?
24530 grep -v '^ *+' conftest.er1 >conftest.err
24531 rm -f conftest.er1
24532 cat conftest.err >&5
24533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24534 (exit $ac_status); } && {
24535 test -z "$ac_cxx_werror_flag" ||
24536 test ! -s conftest.err
24537 } && test -s conftest.$ac_objext; then
24538 ac_cv_type_std__ostream=yes
24539 else
24540 echo "$as_me: failed program was:" >&5
24541 sed 's/^/| /' conftest.$ac_ext >&5
24542
24543 ac_cv_type_std__ostream=no
24544 fi
24545
24546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24547 fi
24548 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24549 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24550 if test $ac_cv_type_std__ostream = yes; then
24551
24552 cat >>confdefs.h <<_ACEOF
24553 #define HAVE_STD__OSTREAM 1
24554 _ACEOF
24555
24556
24557 else
24558 wxUSE_STD_IOSTREAM=no
24559 fi
24560
24561
24562 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24563 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24564 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24565 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24566 { (exit 1); exit 1; }; }
24567 else
24568 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24569 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24570 fi
24571 fi
24572 fi
24573
24574 if test "$wxUSE_STL" = "yes"; then
24575 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24576 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24577 if test "${wx_cv_lib_stl+set}" = set; then
24578 echo $ECHO_N "(cached) $ECHO_C" >&6
24579 else
24580 cat >conftest.$ac_ext <<_ACEOF
24581 /* confdefs.h. */
24582 _ACEOF
24583 cat confdefs.h >>conftest.$ac_ext
24584 cat >>conftest.$ac_ext <<_ACEOF
24585 /* end confdefs.h. */
24586 #include <string>
24587 #include <functional>
24588 #include <algorithm>
24589 #include <vector>
24590 #include <list>
24591 int
24592 main ()
24593 {
24594 std::vector<int> moo;
24595 std::list<int> foo;
24596 std::vector<int>::iterator it =
24597 std::find_if(moo.begin(), moo.end(),
24598 std::bind2nd(std::less<int>(), 3));
24599 ;
24600 return 0;
24601 }
24602 _ACEOF
24603 rm -f conftest.$ac_objext
24604 if { (ac_try="$ac_compile"
24605 case "(($ac_try" in
24606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24607 *) ac_try_echo=$ac_try;;
24608 esac
24609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24610 (eval "$ac_compile") 2>conftest.er1
24611 ac_status=$?
24612 grep -v '^ *+' conftest.er1 >conftest.err
24613 rm -f conftest.er1
24614 cat conftest.err >&5
24615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24616 (exit $ac_status); } && {
24617 test -z "$ac_cxx_werror_flag" ||
24618 test ! -s conftest.err
24619 } && test -s conftest.$ac_objext; then
24620 wx_cv_lib_stl=yes
24621 else
24622 echo "$as_me: failed program was:" >&5
24623 sed 's/^/| /' conftest.$ac_ext >&5
24624
24625 wx_cv_lib_stl=no
24626
24627 fi
24628
24629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24630
24631 fi
24632 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24633 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24634
24635 if test "$wx_cv_lib_stl" != yes; then
24636 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24637 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24638 { (exit 1); exit 1; }; }
24639 fi
24640
24641 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24642 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24643 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24644 echo $ECHO_N "(cached) $ECHO_C" >&6
24645 else
24646 cat >conftest.$ac_ext <<_ACEOF
24647 /* confdefs.h. */
24648 _ACEOF
24649 cat confdefs.h >>conftest.$ac_ext
24650 cat >>conftest.$ac_ext <<_ACEOF
24651 /* end confdefs.h. */
24652 #include <string>
24653 int
24654 main ()
24655 {
24656 std::string foo, bar;
24657 foo.compare(bar);
24658 foo.compare(1, 1, bar);
24659 foo.compare(1, 1, bar, 1, 1);
24660 foo.compare("");
24661 foo.compare(1, 1, "");
24662 foo.compare(1, 1, "", 2);
24663 ;
24664 return 0;
24665 }
24666 _ACEOF
24667 rm -f conftest.$ac_objext
24668 if { (ac_try="$ac_compile"
24669 case "(($ac_try" in
24670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24671 *) ac_try_echo=$ac_try;;
24672 esac
24673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24674 (eval "$ac_compile") 2>conftest.er1
24675 ac_status=$?
24676 grep -v '^ *+' conftest.er1 >conftest.err
24677 rm -f conftest.er1
24678 cat conftest.err >&5
24679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24680 (exit $ac_status); } && {
24681 test -z "$ac_cxx_werror_flag" ||
24682 test ! -s conftest.err
24683 } && test -s conftest.$ac_objext; then
24684 wx_cv_func_stdstring_compare=yes
24685 else
24686 echo "$as_me: failed program was:" >&5
24687 sed 's/^/| /' conftest.$ac_ext >&5
24688
24689 wx_cv_func_stdstring_compare=no
24690
24691 fi
24692
24693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24694
24695 fi
24696 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24697 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24698
24699 if test "$wx_cv_func_stdstring_compare" = yes; then
24700 cat >>confdefs.h <<\_ACEOF
24701 #define HAVE_STD_STRING_COMPARE 1
24702 _ACEOF
24703
24704 fi
24705
24706 if test "$wx_cv_class_gnuhashmapset" = yes; then
24707 cat >>confdefs.h <<\_ACEOF
24708 #define HAVE_EXT_HASH_MAP 1
24709 _ACEOF
24710
24711 cat >>confdefs.h <<\_ACEOF
24712 #define HAVE_GNU_CXX_HASH_MAP 1
24713 _ACEOF
24714
24715 fi
24716
24717 { echo "$as_me:$LINENO: checking for unordered_map" >&5
24718 echo $ECHO_N "checking for unordered_map... $ECHO_C" >&6; }
24719 if test "${ac_cv_header_unordered_map+set}" = set; then
24720 echo $ECHO_N "(cached) $ECHO_C" >&6
24721 else
24722 cat >conftest.$ac_ext <<_ACEOF
24723 /* confdefs.h. */
24724 _ACEOF
24725 cat confdefs.h >>conftest.$ac_ext
24726 cat >>conftest.$ac_ext <<_ACEOF
24727 /* end confdefs.h. */
24728
24729
24730
24731 #include <unordered_map>
24732 _ACEOF
24733 rm -f conftest.$ac_objext
24734 if { (ac_try="$ac_compile"
24735 case "(($ac_try" in
24736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24737 *) ac_try_echo=$ac_try;;
24738 esac
24739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24740 (eval "$ac_compile") 2>conftest.er1
24741 ac_status=$?
24742 grep -v '^ *+' conftest.er1 >conftest.err
24743 rm -f conftest.er1
24744 cat conftest.err >&5
24745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24746 (exit $ac_status); } && {
24747 test -z "$ac_cxx_werror_flag" ||
24748 test ! -s conftest.err
24749 } && test -s conftest.$ac_objext; then
24750 ac_cv_header_unordered_map=yes
24751 else
24752 echo "$as_me: failed program was:" >&5
24753 sed 's/^/| /' conftest.$ac_ext >&5
24754
24755 ac_cv_header_unordered_map=no
24756 fi
24757
24758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24759 fi
24760 { echo "$as_me:$LINENO: result: $ac_cv_header_unordered_map" >&5
24761 echo "${ECHO_T}$ac_cv_header_unordered_map" >&6; }
24762 if test $ac_cv_header_unordered_map = yes; then
24763 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std" >&5
24764 echo $ECHO_N "checking for unordered_map and unordered_set in std... $ECHO_C" >&6; }
24765 if test "${wx_cv_class_stdunorderedmapset+set}" = set; then
24766 echo $ECHO_N "(cached) $ECHO_C" >&6
24767 else
24768 cat >conftest.$ac_ext <<_ACEOF
24769 /* confdefs.h. */
24770 _ACEOF
24771 cat confdefs.h >>conftest.$ac_ext
24772 cat >>conftest.$ac_ext <<_ACEOF
24773 /* end confdefs.h. */
24774 #include <unordered_map>
24775 #include <unordered_set>
24776 int
24777 main ()
24778 {
24779 std::unordered_map<double*, char*> test1;
24780 std::unordered_set<char*> test2;
24781 ;
24782 return 0;
24783 }
24784 _ACEOF
24785 rm -f conftest.$ac_objext
24786 if { (ac_try="$ac_compile"
24787 case "(($ac_try" in
24788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24789 *) ac_try_echo=$ac_try;;
24790 esac
24791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24792 (eval "$ac_compile") 2>conftest.er1
24793 ac_status=$?
24794 grep -v '^ *+' conftest.er1 >conftest.err
24795 rm -f conftest.er1
24796 cat conftest.err >&5
24797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24798 (exit $ac_status); } && {
24799 test -z "$ac_cxx_werror_flag" ||
24800 test ! -s conftest.err
24801 } && test -s conftest.$ac_objext; then
24802 wx_cv_class_stdunorderedmapset=yes
24803 else
24804 echo "$as_me: failed program was:" >&5
24805 sed 's/^/| /' conftest.$ac_ext >&5
24806
24807 wx_cv_class_stdunorderedmapset=no
24808 fi
24809
24810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24811
24812
24813 fi
24814 { echo "$as_me:$LINENO: result: $wx_cv_class_stdunorderedmapset" >&5
24815 echo "${ECHO_T}$wx_cv_class_stdunorderedmapset" >&6; }
24816 fi
24817
24818
24819
24820 if test "$wx_cv_class_stdunorderedmapset" = yes; then
24821 cat >>confdefs.h <<\_ACEOF
24822 #define HAVE_STD_UNORDERED_MAP 1
24823 _ACEOF
24824
24825 cat >>confdefs.h <<\_ACEOF
24826 #define HAVE_STD_UNORDERED_SET 1
24827 _ACEOF
24828
24829 else
24830 { echo "$as_me:$LINENO: checking for tr1/unordered_map" >&5
24831 echo $ECHO_N "checking for tr1/unordered_map... $ECHO_C" >&6; }
24832 if test "${ac_cv_header_tr1_unordered_map+set}" = set; then
24833 echo $ECHO_N "(cached) $ECHO_C" >&6
24834 else
24835 cat >conftest.$ac_ext <<_ACEOF
24836 /* confdefs.h. */
24837 _ACEOF
24838 cat confdefs.h >>conftest.$ac_ext
24839 cat >>conftest.$ac_ext <<_ACEOF
24840 /* end confdefs.h. */
24841
24842
24843
24844 #include <tr1/unordered_map>
24845 _ACEOF
24846 rm -f conftest.$ac_objext
24847 if { (ac_try="$ac_compile"
24848 case "(($ac_try" in
24849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24850 *) ac_try_echo=$ac_try;;
24851 esac
24852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24853 (eval "$ac_compile") 2>conftest.er1
24854 ac_status=$?
24855 grep -v '^ *+' conftest.er1 >conftest.err
24856 rm -f conftest.er1
24857 cat conftest.err >&5
24858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24859 (exit $ac_status); } && {
24860 test -z "$ac_cxx_werror_flag" ||
24861 test ! -s conftest.err
24862 } && test -s conftest.$ac_objext; then
24863 ac_cv_header_tr1_unordered_map=yes
24864 else
24865 echo "$as_me: failed program was:" >&5
24866 sed 's/^/| /' conftest.$ac_ext >&5
24867
24868 ac_cv_header_tr1_unordered_map=no
24869 fi
24870
24871 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24872 fi
24873 { echo "$as_me:$LINENO: result: $ac_cv_header_tr1_unordered_map" >&5
24874 echo "${ECHO_T}$ac_cv_header_tr1_unordered_map" >&6; }
24875 if test $ac_cv_header_tr1_unordered_map = yes; then
24876 { echo "$as_me:$LINENO: checking for unordered_map and unordered_set in std::tr1" >&5
24877 echo $ECHO_N "checking for unordered_map and unordered_set in std::tr1... $ECHO_C" >&6; }
24878 if test "${wx_cv_class_tr1unorderedmapset+set}" = set; then
24879 echo $ECHO_N "(cached) $ECHO_C" >&6
24880 else
24881 cat >conftest.$ac_ext <<_ACEOF
24882 /* confdefs.h. */
24883 _ACEOF
24884 cat confdefs.h >>conftest.$ac_ext
24885 cat >>conftest.$ac_ext <<_ACEOF
24886 /* end confdefs.h. */
24887 #include <tr1/unordered_map>
24888 #include <tr1/unordered_set>
24889 int
24890 main ()
24891 {
24892 std::tr1::unordered_map<double*, char*> test1;
24893 std::tr1::unordered_set<char*> test2;
24894 #if defined(__GNUC__) && (__GNUC__==4) && (__GNUC_MINOR__<2)
24895 #error can't use unordered_{map,set} with gcc-4.[01]: http://gcc.gnu.org/PR24389
24896 #endif
24897 ;
24898 return 0;
24899 }
24900 _ACEOF
24901 rm -f conftest.$ac_objext
24902 if { (ac_try="$ac_compile"
24903 case "(($ac_try" in
24904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24905 *) ac_try_echo=$ac_try;;
24906 esac
24907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24908 (eval "$ac_compile") 2>conftest.er1
24909 ac_status=$?
24910 grep -v '^ *+' conftest.er1 >conftest.err
24911 rm -f conftest.er1
24912 cat conftest.err >&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); } && {
24915 test -z "$ac_cxx_werror_flag" ||
24916 test ! -s conftest.err
24917 } && test -s conftest.$ac_objext; then
24918 wx_cv_class_tr1unorderedmapset=yes
24919 else
24920 echo "$as_me: failed program was:" >&5
24921 sed 's/^/| /' conftest.$ac_ext >&5
24922
24923 wx_cv_class_tr1unorderedmapset=no
24924 fi
24925
24926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24927
24928
24929 fi
24930 { echo "$as_me:$LINENO: result: $wx_cv_class_tr1unorderedmapset" >&5
24931 echo "${ECHO_T}$wx_cv_class_tr1unorderedmapset" >&6; }
24932 fi
24933
24934
24935
24936 if test "$wx_cv_class_tr1unorderedmapset" = yes; then
24937 cat >>confdefs.h <<\_ACEOF
24938 #define HAVE_TR1_UNORDERED_MAP 1
24939 _ACEOF
24940
24941 cat >>confdefs.h <<\_ACEOF
24942 #define HAVE_TR1_UNORDERED_SET 1
24943 _ACEOF
24944
24945 else
24946 { echo "$as_me:$LINENO: checking for hash_map" >&5
24947 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24948 if test "${ac_cv_header_hash_map+set}" = set; then
24949 echo $ECHO_N "(cached) $ECHO_C" >&6
24950 else
24951 cat >conftest.$ac_ext <<_ACEOF
24952 /* confdefs.h. */
24953 _ACEOF
24954 cat confdefs.h >>conftest.$ac_ext
24955 cat >>conftest.$ac_ext <<_ACEOF
24956 /* end confdefs.h. */
24957
24958
24959
24960 #include <hash_map>
24961 _ACEOF
24962 rm -f conftest.$ac_objext
24963 if { (ac_try="$ac_compile"
24964 case "(($ac_try" in
24965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24966 *) ac_try_echo=$ac_try;;
24967 esac
24968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24969 (eval "$ac_compile") 2>conftest.er1
24970 ac_status=$?
24971 grep -v '^ *+' conftest.er1 >conftest.err
24972 rm -f conftest.er1
24973 cat conftest.err >&5
24974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24975 (exit $ac_status); } && {
24976 test -z "$ac_cxx_werror_flag" ||
24977 test ! -s conftest.err
24978 } && test -s conftest.$ac_objext; then
24979 ac_cv_header_hash_map=yes
24980 else
24981 echo "$as_me: failed program was:" >&5
24982 sed 's/^/| /' conftest.$ac_ext >&5
24983
24984 ac_cv_header_hash_map=no
24985 fi
24986
24987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24988 fi
24989 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24990 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24991 if test $ac_cv_header_hash_map = yes; then
24992 { echo "$as_me:$LINENO: checking for std::hash_map and hash_set" >&5
24993 echo $ECHO_N "checking for std::hash_map and hash_set... $ECHO_C" >&6; }
24994 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24995 echo $ECHO_N "(cached) $ECHO_C" >&6
24996 else
24997 cat >conftest.$ac_ext <<_ACEOF
24998 /* confdefs.h. */
24999 _ACEOF
25000 cat confdefs.h >>conftest.$ac_ext
25001 cat >>conftest.$ac_ext <<_ACEOF
25002 /* end confdefs.h. */
25003 #include <hash_map>
25004 #include <hash_set>
25005 int
25006 main ()
25007 {
25008 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
25009 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
25010 ;
25011 return 0;
25012 }
25013 _ACEOF
25014 rm -f conftest.$ac_objext
25015 if { (ac_try="$ac_compile"
25016 case "(($ac_try" in
25017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25018 *) ac_try_echo=$ac_try;;
25019 esac
25020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25021 (eval "$ac_compile") 2>conftest.er1
25022 ac_status=$?
25023 grep -v '^ *+' conftest.er1 >conftest.err
25024 rm -f conftest.er1
25025 cat conftest.err >&5
25026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25027 (exit $ac_status); } && {
25028 test -z "$ac_cxx_werror_flag" ||
25029 test ! -s conftest.err
25030 } && test -s conftest.$ac_objext; then
25031 wx_cv_class_stdhashmapset=yes
25032 else
25033 echo "$as_me: failed program was:" >&5
25034 sed 's/^/| /' conftest.$ac_ext >&5
25035
25036 wx_cv_class_stdhashmapset=no
25037 fi
25038
25039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25040
25041
25042 fi
25043 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
25044 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
25045 fi
25046
25047
25048
25049 if test "$wx_cv_class_stdhashmapset" = yes; then
25050 cat >>confdefs.h <<\_ACEOF
25051 #define HAVE_HASH_MAP 1
25052 _ACEOF
25053
25054 cat >>confdefs.h <<\_ACEOF
25055 #define HAVE_STD_HASH_MAP 1
25056 _ACEOF
25057
25058 fi
25059
25060 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
25061 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
25062 if test "${ac_cv_header_ext_hash_map+set}" = set; then
25063 echo $ECHO_N "(cached) $ECHO_C" >&6
25064 else
25065 cat >conftest.$ac_ext <<_ACEOF
25066 /* confdefs.h. */
25067 _ACEOF
25068 cat confdefs.h >>conftest.$ac_ext
25069 cat >>conftest.$ac_ext <<_ACEOF
25070 /* end confdefs.h. */
25071
25072
25073
25074 #include <ext/hash_map>
25075 _ACEOF
25076 rm -f conftest.$ac_objext
25077 if { (ac_try="$ac_compile"
25078 case "(($ac_try" in
25079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25080 *) ac_try_echo=$ac_try;;
25081 esac
25082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25083 (eval "$ac_compile") 2>conftest.er1
25084 ac_status=$?
25085 grep -v '^ *+' conftest.er1 >conftest.err
25086 rm -f conftest.er1
25087 cat conftest.err >&5
25088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25089 (exit $ac_status); } && {
25090 test -z "$ac_cxx_werror_flag" ||
25091 test ! -s conftest.err
25092 } && test -s conftest.$ac_objext; then
25093 ac_cv_header_ext_hash_map=yes
25094 else
25095 echo "$as_me: failed program was:" >&5
25096 sed 's/^/| /' conftest.$ac_ext >&5
25097
25098 ac_cv_header_ext_hash_map=no
25099 fi
25100
25101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25102 fi
25103 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
25104 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
25105 if test $ac_cv_header_ext_hash_map = yes; then
25106 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
25107 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
25108 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
25109 echo $ECHO_N "(cached) $ECHO_C" >&6
25110 else
25111 cat >conftest.$ac_ext <<_ACEOF
25112 /* confdefs.h. */
25113 _ACEOF
25114 cat confdefs.h >>conftest.$ac_ext
25115 cat >>conftest.$ac_ext <<_ACEOF
25116 /* end confdefs.h. */
25117 #include <ext/hash_map>
25118 #include <ext/hash_set>
25119 int
25120 main ()
25121 {
25122 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
25123 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
25124 ;
25125 return 0;
25126 }
25127 _ACEOF
25128 rm -f conftest.$ac_objext
25129 if { (ac_try="$ac_compile"
25130 case "(($ac_try" in
25131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25132 *) ac_try_echo=$ac_try;;
25133 esac
25134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25135 (eval "$ac_compile") 2>conftest.er1
25136 ac_status=$?
25137 grep -v '^ *+' conftest.er1 >conftest.err
25138 rm -f conftest.er1
25139 cat conftest.err >&5
25140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25141 (exit $ac_status); } && {
25142 test -z "$ac_cxx_werror_flag" ||
25143 test ! -s conftest.err
25144 } && test -s conftest.$ac_objext; then
25145 wx_cv_class_gnuhashmapset=yes
25146 else
25147 echo "$as_me: failed program was:" >&5
25148 sed 's/^/| /' conftest.$ac_ext >&5
25149
25150 wx_cv_class_gnuhashmapset=no
25151 fi
25152
25153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25154
25155
25156 fi
25157 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
25158 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
25159 fi
25160
25161
25162
25163 fi
25164 fi
25165 fi
25166
25167
25168
25169 if test -n "$GCC"; then
25170 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
25171 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
25172 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
25173 echo $ECHO_N "(cached) $ECHO_C" >&6
25174 else
25175
25176 cat >conftest.$ac_ext <<_ACEOF
25177 /* confdefs.h. */
25178 _ACEOF
25179 cat confdefs.h >>conftest.$ac_ext
25180 cat >>conftest.$ac_ext <<_ACEOF
25181 /* end confdefs.h. */
25182
25183 int
25184 main ()
25185 {
25186
25187 unsigned int value=0;
25188 /* wxAtomicInc doesn't use return value here */
25189 __sync_fetch_and_add(&value, 2);
25190 __sync_sub_and_fetch(&value, 1);
25191 /* but wxAtomicDec does, so mimic that: */
25192 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
25193
25194 ;
25195 return 0;
25196 }
25197 _ACEOF
25198 rm -f conftest.$ac_objext conftest$ac_exeext
25199 if { (ac_try="$ac_link"
25200 case "(($ac_try" in
25201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25202 *) ac_try_echo=$ac_try;;
25203 esac
25204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25205 (eval "$ac_link") 2>conftest.er1
25206 ac_status=$?
25207 grep -v '^ *+' conftest.er1 >conftest.err
25208 rm -f conftest.er1
25209 cat conftest.err >&5
25210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25211 (exit $ac_status); } && {
25212 test -z "$ac_cxx_werror_flag" ||
25213 test ! -s conftest.err
25214 } && test -s conftest$ac_exeext &&
25215 $as_test_x conftest$ac_exeext; then
25216 wx_cv_cc_gcc_atomic_builtins=yes
25217 else
25218 echo "$as_me: failed program was:" >&5
25219 sed 's/^/| /' conftest.$ac_ext >&5
25220
25221 wx_cv_cc_gcc_atomic_builtins=no
25222 fi
25223
25224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25225 conftest$ac_exeext conftest.$ac_ext
25226
25227 fi
25228
25229 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
25230 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
25231 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
25232 cat >>confdefs.h <<\_ACEOF
25233 #define HAVE_GCC_ATOMIC_BUILTINS 1
25234 _ACEOF
25235
25236 fi
25237 fi
25238
25239
25240 ac_ext=c
25241 ac_cpp='$CPP $CPPFLAGS'
25242 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25243 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25244 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25245
25246
25247
25248 SEARCH_INCLUDE="\
25249 /usr/local/include \
25250 /usr/local/X11/include \
25251 /usr/local/include/X11 \
25252 /usr/local/X11R6/include \
25253 /usr/local/include/X11R6 \
25254 \
25255 /usr/Motif-2.1/include \
25256 /usr/Motif-1.2/include \
25257 /usr/include/Motif1.2 \
25258 \
25259 /usr/dt/include \
25260 /usr/openwin/include \
25261 \
25262 /usr/include/Xm \
25263 \
25264 /usr/X11R6/include \
25265 /usr/X11R6.4/include \
25266 \
25267 /usr/include/X11R6 \
25268 \
25269 /usr/X11/include \
25270 /usr/include/X11 \
25271 \
25272 /usr/XFree86/include/X11 \
25273 /usr/pkg/include \
25274 \
25275 /usr/local/X1R5/include \
25276 /usr/local/include/X11R5 \
25277 /usr/X11R5/include \
25278 /usr/include/X11R5 \
25279 \
25280 /usr/local/X11R4/include \
25281 /usr/local/include/X11R4 \
25282 /usr/X11R4/include \
25283 /usr/include/X11R4 \
25284 \
25285 /usr/openwin/share/include"
25286
25287 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25288 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25289
25290 case "${host}" in
25291 *-*-irix6* )
25292 if test "${wx_cv_std_libpath+set}" = set; then
25293 echo $ECHO_N "(cached) $ECHO_C" >&6
25294 else
25295
25296 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25297 for e in a so sl dylib dll.a; do
25298 libc="$d/libc.$e"
25299 if test -f $libc; then
25300 save_LIBS="$LIBS"
25301 LIBS="$libc"
25302 cat >conftest.$ac_ext <<_ACEOF
25303 int main() { return 0; }
25304 _ACEOF
25305 rm -f conftest.$ac_objext conftest$ac_exeext
25306 if { (ac_try="$ac_link"
25307 case "(($ac_try" in
25308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25309 *) ac_try_echo=$ac_try;;
25310 esac
25311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25312 (eval "$ac_link") 2>conftest.er1
25313 ac_status=$?
25314 grep -v '^ *+' conftest.er1 >conftest.err
25315 rm -f conftest.er1
25316 cat conftest.err >&5
25317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25318 (exit $ac_status); } && {
25319 test -z "$ac_c_werror_flag" ||
25320 test ! -s conftest.err
25321 } && test -s conftest$ac_exeext &&
25322 $as_test_x conftest$ac_exeext; then
25323 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25324 else
25325 echo "$as_me: failed program was:" >&5
25326 sed 's/^/| /' conftest.$ac_ext >&5
25327
25328
25329 fi
25330
25331 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25332 conftest$ac_exeext conftest.$ac_ext
25333 LIBS="$save_LIBS"
25334 if test "x$wx_cv_std_libpath" != "x"; then
25335 break 2
25336 fi
25337 fi
25338 done
25339 done
25340 if test "x$wx_cv_std_libpath" = "x"; then
25341 wx_cv_std_libpath="lib"
25342 fi
25343
25344
25345 fi
25346
25347 ;;
25348
25349 *-*-solaris2* )
25350 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25351 wx_cv_std_libpath="lib/64"
25352 else
25353 wx_cv_std_libpath="lib"
25354 fi
25355 ;;
25356
25357 *-*-linux* )
25358 if test "$ac_cv_sizeof_void_p" = 8 -a \
25359 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25360 wx_cv_std_libpath="lib64"
25361 else
25362 wx_cv_std_libpath="lib"
25363 fi
25364 ;;
25365
25366 *)
25367 wx_cv_std_libpath="lib";
25368 ;;
25369 esac
25370
25371 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25372 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25373
25374 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25375
25376 if test "$build" != "$host" -a "$GCC" = yes; then
25377 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25378 cross_root=`dirname $cross_root`
25379 cross_root=`dirname $cross_root`
25380
25381 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25382 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25383 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25384
25385 if test -z "$PKG_CONFIG_PATH"; then
25386 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25387 export PKG_CONFIG_PATH
25388 fi
25389
25390 if test -z "$x_includes" -o "$x_includes" = NONE; then
25391
25392 ac_find_includes=
25393 for ac_dir in $SEARCH_INCLUDE /usr/include;
25394 do
25395 if test -f "$ac_dir/X11/Intrinsic.h"; then
25396 ac_find_includes=$ac_dir
25397 break
25398 fi
25399 done
25400
25401 x_includes=$ac_find_includes
25402 fi
25403 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25404
25405 ac_find_libraries=
25406 for ac_dir in $SEARCH_LIB;
25407 do
25408 for ac_extension in a so sl dylib dll.a; do
25409 if test -f "$ac_dir/libXt.$ac_extension"; then
25410 ac_find_libraries=$ac_dir
25411 break 2
25412 fi
25413 done
25414 done
25415
25416 x_libraries=$ac_find_libraries
25417 fi
25418 fi
25419 fi
25420
25421
25422 cat >confcache <<\_ACEOF
25423 # This file is a shell script that caches the results of configure
25424 # tests run on this system so they can be shared between configure
25425 # scripts and configure runs, see configure's option --config-cache.
25426 # It is not useful on other systems. If it contains results you don't
25427 # want to keep, you may remove or edit it.
25428 #
25429 # config.status only pays attention to the cache file if you give it
25430 # the --recheck option to rerun configure.
25431 #
25432 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25433 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25434 # following values.
25435
25436 _ACEOF
25437
25438 # The following way of writing the cache mishandles newlines in values,
25439 # but we know of no workaround that is simple, portable, and efficient.
25440 # So, we kill variables containing newlines.
25441 # Ultrix sh set writes to stderr and can't be redirected directly,
25442 # and sets the high bit in the cache file unless we assign to the vars.
25443 (
25444 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25445 eval ac_val=\$$ac_var
25446 case $ac_val in #(
25447 *${as_nl}*)
25448 case $ac_var in #(
25449 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25450 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25451 esac
25452 case $ac_var in #(
25453 _ | IFS | as_nl) ;; #(
25454 *) $as_unset $ac_var ;;
25455 esac ;;
25456 esac
25457 done
25458
25459 (set) 2>&1 |
25460 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25461 *${as_nl}ac_space=\ *)
25462 # `set' does not quote correctly, so add quotes (double-quote
25463 # substitution turns \\\\ into \\, and sed turns \\ into \).
25464 sed -n \
25465 "s/'/'\\\\''/g;
25466 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25467 ;; #(
25468 *)
25469 # `set' quotes correctly as required by POSIX, so do not add quotes.
25470 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25471 ;;
25472 esac |
25473 sort
25474 ) |
25475 sed '
25476 /^ac_cv_env_/b end
25477 t clear
25478 :clear
25479 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25480 t end
25481 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25482 :end' >>confcache
25483 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25484 if test -w "$cache_file"; then
25485 test "x$cache_file" != "x/dev/null" &&
25486 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25487 echo "$as_me: updating cache $cache_file" >&6;}
25488 cat confcache >$cache_file
25489 else
25490 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25491 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25492 fi
25493 fi
25494 rm -f confcache
25495
25496 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25497 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25498 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25499 if test "${wx_cv_lib_glibc21+set}" = set; then
25500 echo $ECHO_N "(cached) $ECHO_C" >&6
25501 else
25502
25503 cat >conftest.$ac_ext <<_ACEOF
25504 /* confdefs.h. */
25505 _ACEOF
25506 cat confdefs.h >>conftest.$ac_ext
25507 cat >>conftest.$ac_ext <<_ACEOF
25508 /* end confdefs.h. */
25509 #include <features.h>
25510 int
25511 main ()
25512 {
25513
25514 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25515 not glibc 2.1
25516 #endif
25517
25518 ;
25519 return 0;
25520 }
25521 _ACEOF
25522 rm -f conftest.$ac_objext
25523 if { (ac_try="$ac_compile"
25524 case "(($ac_try" in
25525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25526 *) ac_try_echo=$ac_try;;
25527 esac
25528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25529 (eval "$ac_compile") 2>conftest.er1
25530 ac_status=$?
25531 grep -v '^ *+' conftest.er1 >conftest.err
25532 rm -f conftest.er1
25533 cat conftest.err >&5
25534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25535 (exit $ac_status); } && {
25536 test -z "$ac_c_werror_flag" ||
25537 test ! -s conftest.err
25538 } && test -s conftest.$ac_objext; then
25539
25540 wx_cv_lib_glibc21=yes
25541
25542 else
25543 echo "$as_me: failed program was:" >&5
25544 sed 's/^/| /' conftest.$ac_ext >&5
25545
25546
25547 wx_cv_lib_glibc21=no
25548
25549
25550 fi
25551
25552 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25553
25554 fi
25555 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25556 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25557 if test "$wx_cv_lib_glibc21" = "yes"; then
25558 cat >>confdefs.h <<\_ACEOF
25559 #define wxHAVE_GLIBC2 1
25560 _ACEOF
25561
25562 fi
25563 fi
25564
25565 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25566 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25567 cat >>confdefs.h <<\_ACEOF
25568 #define _GNU_SOURCE 1
25569 _ACEOF
25570
25571 fi
25572 fi
25573
25574 have_cos=0
25575 have_floor=0
25576
25577 for ac_func in cos
25578 do
25579 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25580 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25581 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25582 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25583 echo $ECHO_N "(cached) $ECHO_C" >&6
25584 else
25585 cat >conftest.$ac_ext <<_ACEOF
25586 /* confdefs.h. */
25587 _ACEOF
25588 cat confdefs.h >>conftest.$ac_ext
25589 cat >>conftest.$ac_ext <<_ACEOF
25590 /* end confdefs.h. */
25591 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25592 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25593 #define $ac_func innocuous_$ac_func
25594
25595 /* System header to define __stub macros and hopefully few prototypes,
25596 which can conflict with char $ac_func (); below.
25597 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25598 <limits.h> exists even on freestanding compilers. */
25599
25600 #ifdef __STDC__
25601 # include <limits.h>
25602 #else
25603 # include <assert.h>
25604 #endif
25605
25606 #undef $ac_func
25607
25608 /* Override any GCC internal prototype to avoid an error.
25609 Use char because int might match the return type of a GCC
25610 builtin and then its argument prototype would still apply. */
25611 #ifdef __cplusplus
25612 extern "C"
25613 #endif
25614 char $ac_func ();
25615 /* The GNU C library defines this for functions which it implements
25616 to always fail with ENOSYS. Some functions are actually named
25617 something starting with __ and the normal name is an alias. */
25618 #if defined __stub_$ac_func || defined __stub___$ac_func
25619 choke me
25620 #endif
25621
25622 int
25623 main ()
25624 {
25625 return $ac_func ();
25626 ;
25627 return 0;
25628 }
25629 _ACEOF
25630 rm -f conftest.$ac_objext conftest$ac_exeext
25631 if { (ac_try="$ac_link"
25632 case "(($ac_try" in
25633 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25634 *) ac_try_echo=$ac_try;;
25635 esac
25636 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25637 (eval "$ac_link") 2>conftest.er1
25638 ac_status=$?
25639 grep -v '^ *+' conftest.er1 >conftest.err
25640 rm -f conftest.er1
25641 cat conftest.err >&5
25642 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25643 (exit $ac_status); } && {
25644 test -z "$ac_c_werror_flag" ||
25645 test ! -s conftest.err
25646 } && test -s conftest$ac_exeext &&
25647 $as_test_x conftest$ac_exeext; then
25648 eval "$as_ac_var=yes"
25649 else
25650 echo "$as_me: failed program was:" >&5
25651 sed 's/^/| /' conftest.$ac_ext >&5
25652
25653 eval "$as_ac_var=no"
25654 fi
25655
25656 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25657 conftest$ac_exeext conftest.$ac_ext
25658 fi
25659 ac_res=`eval echo '${'$as_ac_var'}'`
25660 { echo "$as_me:$LINENO: result: $ac_res" >&5
25661 echo "${ECHO_T}$ac_res" >&6; }
25662 if test `eval echo '${'$as_ac_var'}'` = yes; then
25663 cat >>confdefs.h <<_ACEOF
25664 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25665 _ACEOF
25666 have_cos=1
25667 fi
25668 done
25669
25670
25671 for ac_func in floor
25672 do
25673 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25674 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25675 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25676 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25677 echo $ECHO_N "(cached) $ECHO_C" >&6
25678 else
25679 cat >conftest.$ac_ext <<_ACEOF
25680 /* confdefs.h. */
25681 _ACEOF
25682 cat confdefs.h >>conftest.$ac_ext
25683 cat >>conftest.$ac_ext <<_ACEOF
25684 /* end confdefs.h. */
25685 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25686 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25687 #define $ac_func innocuous_$ac_func
25688
25689 /* System header to define __stub macros and hopefully few prototypes,
25690 which can conflict with char $ac_func (); below.
25691 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25692 <limits.h> exists even on freestanding compilers. */
25693
25694 #ifdef __STDC__
25695 # include <limits.h>
25696 #else
25697 # include <assert.h>
25698 #endif
25699
25700 #undef $ac_func
25701
25702 /* Override any GCC internal prototype to avoid an error.
25703 Use char because int might match the return type of a GCC
25704 builtin and then its argument prototype would still apply. */
25705 #ifdef __cplusplus
25706 extern "C"
25707 #endif
25708 char $ac_func ();
25709 /* The GNU C library defines this for functions which it implements
25710 to always fail with ENOSYS. Some functions are actually named
25711 something starting with __ and the normal name is an alias. */
25712 #if defined __stub_$ac_func || defined __stub___$ac_func
25713 choke me
25714 #endif
25715
25716 int
25717 main ()
25718 {
25719 return $ac_func ();
25720 ;
25721 return 0;
25722 }
25723 _ACEOF
25724 rm -f conftest.$ac_objext conftest$ac_exeext
25725 if { (ac_try="$ac_link"
25726 case "(($ac_try" in
25727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25728 *) ac_try_echo=$ac_try;;
25729 esac
25730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25731 (eval "$ac_link") 2>conftest.er1
25732 ac_status=$?
25733 grep -v '^ *+' conftest.er1 >conftest.err
25734 rm -f conftest.er1
25735 cat conftest.err >&5
25736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25737 (exit $ac_status); } && {
25738 test -z "$ac_c_werror_flag" ||
25739 test ! -s conftest.err
25740 } && test -s conftest$ac_exeext &&
25741 $as_test_x conftest$ac_exeext; then
25742 eval "$as_ac_var=yes"
25743 else
25744 echo "$as_me: failed program was:" >&5
25745 sed 's/^/| /' conftest.$ac_ext >&5
25746
25747 eval "$as_ac_var=no"
25748 fi
25749
25750 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25751 conftest$ac_exeext conftest.$ac_ext
25752 fi
25753 ac_res=`eval echo '${'$as_ac_var'}'`
25754 { echo "$as_me:$LINENO: result: $ac_res" >&5
25755 echo "${ECHO_T}$ac_res" >&6; }
25756 if test `eval echo '${'$as_ac_var'}'` = yes; then
25757 cat >>confdefs.h <<_ACEOF
25758 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25759 _ACEOF
25760 have_floor=1
25761 fi
25762 done
25763
25764 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25765 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25766 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25767 { echo "$as_me:$LINENO: result: yes" >&5
25768 echo "${ECHO_T}yes" >&6; }
25769 else
25770 { echo "$as_me:$LINENO: result: no" >&5
25771 echo "${ECHO_T}no" >&6; }
25772 LIBS="$LIBS -lm"
25773 # use different functions to avoid configure caching
25774 have_sin=0
25775 have_ceil=0
25776
25777 for ac_func in sin
25778 do
25779 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25780 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25781 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25782 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25783 echo $ECHO_N "(cached) $ECHO_C" >&6
25784 else
25785 cat >conftest.$ac_ext <<_ACEOF
25786 /* confdefs.h. */
25787 _ACEOF
25788 cat confdefs.h >>conftest.$ac_ext
25789 cat >>conftest.$ac_ext <<_ACEOF
25790 /* end confdefs.h. */
25791 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25792 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25793 #define $ac_func innocuous_$ac_func
25794
25795 /* System header to define __stub macros and hopefully few prototypes,
25796 which can conflict with char $ac_func (); below.
25797 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25798 <limits.h> exists even on freestanding compilers. */
25799
25800 #ifdef __STDC__
25801 # include <limits.h>
25802 #else
25803 # include <assert.h>
25804 #endif
25805
25806 #undef $ac_func
25807
25808 /* Override any GCC internal prototype to avoid an error.
25809 Use char because int might match the return type of a GCC
25810 builtin and then its argument prototype would still apply. */
25811 #ifdef __cplusplus
25812 extern "C"
25813 #endif
25814 char $ac_func ();
25815 /* The GNU C library defines this for functions which it implements
25816 to always fail with ENOSYS. Some functions are actually named
25817 something starting with __ and the normal name is an alias. */
25818 #if defined __stub_$ac_func || defined __stub___$ac_func
25819 choke me
25820 #endif
25821
25822 int
25823 main ()
25824 {
25825 return $ac_func ();
25826 ;
25827 return 0;
25828 }
25829 _ACEOF
25830 rm -f conftest.$ac_objext conftest$ac_exeext
25831 if { (ac_try="$ac_link"
25832 case "(($ac_try" in
25833 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25834 *) ac_try_echo=$ac_try;;
25835 esac
25836 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25837 (eval "$ac_link") 2>conftest.er1
25838 ac_status=$?
25839 grep -v '^ *+' conftest.er1 >conftest.err
25840 rm -f conftest.er1
25841 cat conftest.err >&5
25842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25843 (exit $ac_status); } && {
25844 test -z "$ac_c_werror_flag" ||
25845 test ! -s conftest.err
25846 } && test -s conftest$ac_exeext &&
25847 $as_test_x conftest$ac_exeext; then
25848 eval "$as_ac_var=yes"
25849 else
25850 echo "$as_me: failed program was:" >&5
25851 sed 's/^/| /' conftest.$ac_ext >&5
25852
25853 eval "$as_ac_var=no"
25854 fi
25855
25856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25857 conftest$ac_exeext conftest.$ac_ext
25858 fi
25859 ac_res=`eval echo '${'$as_ac_var'}'`
25860 { echo "$as_me:$LINENO: result: $ac_res" >&5
25861 echo "${ECHO_T}$ac_res" >&6; }
25862 if test `eval echo '${'$as_ac_var'}'` = yes; then
25863 cat >>confdefs.h <<_ACEOF
25864 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25865 _ACEOF
25866 have_sin=1
25867 fi
25868 done
25869
25870
25871 for ac_func in ceil
25872 do
25873 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25874 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25875 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25876 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25877 echo $ECHO_N "(cached) $ECHO_C" >&6
25878 else
25879 cat >conftest.$ac_ext <<_ACEOF
25880 /* confdefs.h. */
25881 _ACEOF
25882 cat confdefs.h >>conftest.$ac_ext
25883 cat >>conftest.$ac_ext <<_ACEOF
25884 /* end confdefs.h. */
25885 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25886 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25887 #define $ac_func innocuous_$ac_func
25888
25889 /* System header to define __stub macros and hopefully few prototypes,
25890 which can conflict with char $ac_func (); below.
25891 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25892 <limits.h> exists even on freestanding compilers. */
25893
25894 #ifdef __STDC__
25895 # include <limits.h>
25896 #else
25897 # include <assert.h>
25898 #endif
25899
25900 #undef $ac_func
25901
25902 /* Override any GCC internal prototype to avoid an error.
25903 Use char because int might match the return type of a GCC
25904 builtin and then its argument prototype would still apply. */
25905 #ifdef __cplusplus
25906 extern "C"
25907 #endif
25908 char $ac_func ();
25909 /* The GNU C library defines this for functions which it implements
25910 to always fail with ENOSYS. Some functions are actually named
25911 something starting with __ and the normal name is an alias. */
25912 #if defined __stub_$ac_func || defined __stub___$ac_func
25913 choke me
25914 #endif
25915
25916 int
25917 main ()
25918 {
25919 return $ac_func ();
25920 ;
25921 return 0;
25922 }
25923 _ACEOF
25924 rm -f conftest.$ac_objext conftest$ac_exeext
25925 if { (ac_try="$ac_link"
25926 case "(($ac_try" in
25927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25928 *) ac_try_echo=$ac_try;;
25929 esac
25930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25931 (eval "$ac_link") 2>conftest.er1
25932 ac_status=$?
25933 grep -v '^ *+' conftest.er1 >conftest.err
25934 rm -f conftest.er1
25935 cat conftest.err >&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } && {
25938 test -z "$ac_c_werror_flag" ||
25939 test ! -s conftest.err
25940 } && test -s conftest$ac_exeext &&
25941 $as_test_x conftest$ac_exeext; then
25942 eval "$as_ac_var=yes"
25943 else
25944 echo "$as_me: failed program was:" >&5
25945 sed 's/^/| /' conftest.$ac_ext >&5
25946
25947 eval "$as_ac_var=no"
25948 fi
25949
25950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25951 conftest$ac_exeext conftest.$ac_ext
25952 fi
25953 ac_res=`eval echo '${'$as_ac_var'}'`
25954 { echo "$as_me:$LINENO: result: $ac_res" >&5
25955 echo "${ECHO_T}$ac_res" >&6; }
25956 if test `eval echo '${'$as_ac_var'}'` = yes; then
25957 cat >>confdefs.h <<_ACEOF
25958 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25959 _ACEOF
25960 have_ceil=1
25961 fi
25962 done
25963
25964 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25965 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25966 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25967 { echo "$as_me:$LINENO: result: yes" >&5
25968 echo "${ECHO_T}yes" >&6; }
25969 else
25970 { echo "$as_me:$LINENO: result: no" >&5
25971 echo "${ECHO_T}no" >&6; }
25972 # not sure we should warn the user, crash, etc.
25973 fi
25974 fi
25975
25976 ac_ext=cpp
25977 ac_cpp='$CXXCPP $CPPFLAGS'
25978 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25979 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25980 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25981
25982 if test "wxUSE_UNICODE" = "yes"; then
25983
25984 for wx_func in wcstoull
25985 do
25986 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25987 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25988 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25989 echo $ECHO_N "(cached) $ECHO_C" >&6
25990 else
25991
25992 cat >conftest.$ac_ext <<_ACEOF
25993
25994 /* confdefs.h. */
25995 _ACEOF
25996 cat confdefs.h >>conftest.$ac_ext
25997 cat >>conftest.$ac_ext <<_ACEOF
25998 /* end confdefs.h. */
25999
26000
26001 $ac_includes_default
26002
26003 int
26004 main ()
26005 {
26006
26007 #ifndef $wx_func
26008 &$wx_func;
26009 #endif
26010
26011
26012 ;
26013 return 0;
26014 }
26015
26016 _ACEOF
26017 rm -f conftest.$ac_objext conftest$ac_exeext
26018 if { (ac_try="$ac_link"
26019 case "(($ac_try" in
26020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26021 *) ac_try_echo=$ac_try;;
26022 esac
26023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26024 (eval "$ac_link") 2>conftest.er1
26025 ac_status=$?
26026 grep -v '^ *+' conftest.er1 >conftest.err
26027 rm -f conftest.er1
26028 cat conftest.err >&5
26029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26030 (exit $ac_status); } && {
26031 test -z "$ac_cxx_werror_flag" ||
26032 test ! -s conftest.err
26033 } && test -s conftest$ac_exeext &&
26034 $as_test_x conftest$ac_exeext; then
26035 eval wx_cv_func_$wx_func=yes
26036 else
26037 echo "$as_me: failed program was:" >&5
26038 sed 's/^/| /' conftest.$ac_ext >&5
26039
26040 eval wx_cv_func_$wx_func=no
26041 fi
26042
26043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26044 conftest$ac_exeext conftest.$ac_ext
26045
26046 fi
26047 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26048 { echo "$as_me:$LINENO: result: $ac_res" >&5
26049 echo "${ECHO_T}$ac_res" >&6; }
26050
26051 if eval test \$wx_cv_func_$wx_func = yes
26052 then
26053 cat >>confdefs.h <<_ACEOF
26054 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26055 _ACEOF
26056
26057
26058 else
26059 :
26060
26061 fi
26062 done
26063
26064 else
26065
26066 for wx_func in strtoull
26067 do
26068 { echo "$as_me:$LINENO: checking for $wx_func" >&5
26069 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
26070 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
26071 echo $ECHO_N "(cached) $ECHO_C" >&6
26072 else
26073
26074 cat >conftest.$ac_ext <<_ACEOF
26075
26076 /* confdefs.h. */
26077 _ACEOF
26078 cat confdefs.h >>conftest.$ac_ext
26079 cat >>conftest.$ac_ext <<_ACEOF
26080 /* end confdefs.h. */
26081
26082
26083 $ac_includes_default
26084
26085 int
26086 main ()
26087 {
26088
26089 #ifndef $wx_func
26090 &$wx_func;
26091 #endif
26092
26093
26094 ;
26095 return 0;
26096 }
26097
26098 _ACEOF
26099 rm -f conftest.$ac_objext conftest$ac_exeext
26100 if { (ac_try="$ac_link"
26101 case "(($ac_try" in
26102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26103 *) ac_try_echo=$ac_try;;
26104 esac
26105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26106 (eval "$ac_link") 2>conftest.er1
26107 ac_status=$?
26108 grep -v '^ *+' conftest.er1 >conftest.err
26109 rm -f conftest.er1
26110 cat conftest.err >&5
26111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26112 (exit $ac_status); } && {
26113 test -z "$ac_cxx_werror_flag" ||
26114 test ! -s conftest.err
26115 } && test -s conftest$ac_exeext &&
26116 $as_test_x conftest$ac_exeext; then
26117 eval wx_cv_func_$wx_func=yes
26118 else
26119 echo "$as_me: failed program was:" >&5
26120 sed 's/^/| /' conftest.$ac_ext >&5
26121
26122 eval wx_cv_func_$wx_func=no
26123 fi
26124
26125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26126 conftest$ac_exeext conftest.$ac_ext
26127
26128 fi
26129 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
26130 { echo "$as_me:$LINENO: result: $ac_res" >&5
26131 echo "${ECHO_T}$ac_res" >&6; }
26132
26133 if eval test \$wx_cv_func_$wx_func = yes
26134 then
26135 cat >>confdefs.h <<_ACEOF
26136 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
26137 _ACEOF
26138
26139
26140 else
26141 :
26142
26143 fi
26144 done
26145
26146 fi
26147 ac_ext=c
26148 ac_cpp='$CPP $CPPFLAGS'
26149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26152
26153
26154
26155
26156 if test "$wxUSE_REGEX" != "no"; then
26157 cat >>confdefs.h <<\_ACEOF
26158 #define wxUSE_REGEX 1
26159 _ACEOF
26160
26161
26162 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
26163 { echo "$as_me:$LINENO: WARNING: Defaulting to the builtin regex library for Unicode build." >&5
26164 echo "$as_me: WARNING: Defaulting to the builtin regex library for Unicode build." >&2;}
26165 wxUSE_REGEX=builtin
26166 fi
26167
26168 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
26169 { echo "$as_me:$LINENO: checking for regex.h" >&5
26170 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
26171 if test "${ac_cv_header_regex_h+set}" = set; then
26172 echo $ECHO_N "(cached) $ECHO_C" >&6
26173 else
26174 cat >conftest.$ac_ext <<_ACEOF
26175 /* confdefs.h. */
26176 _ACEOF
26177 cat confdefs.h >>conftest.$ac_ext
26178 cat >>conftest.$ac_ext <<_ACEOF
26179 /* end confdefs.h. */
26180
26181
26182 #include <regex.h>
26183 _ACEOF
26184 rm -f conftest.$ac_objext
26185 if { (ac_try="$ac_compile"
26186 case "(($ac_try" in
26187 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26188 *) ac_try_echo=$ac_try;;
26189 esac
26190 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26191 (eval "$ac_compile") 2>conftest.er1
26192 ac_status=$?
26193 grep -v '^ *+' conftest.er1 >conftest.err
26194 rm -f conftest.er1
26195 cat conftest.err >&5
26196 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26197 (exit $ac_status); } && {
26198 test -z "$ac_c_werror_flag" ||
26199 test ! -s conftest.err
26200 } && test -s conftest.$ac_objext; then
26201 ac_cv_header_regex_h=yes
26202 else
26203 echo "$as_me: failed program was:" >&5
26204 sed 's/^/| /' conftest.$ac_ext >&5
26205
26206 ac_cv_header_regex_h=no
26207 fi
26208
26209 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26210 fi
26211 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
26212 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
26213 if test $ac_cv_header_regex_h = yes; then
26214
26215
26216 for ac_func in regcomp re_search
26217 do
26218 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
26219 { echo "$as_me:$LINENO: checking for $ac_func" >&5
26220 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
26221 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
26222 echo $ECHO_N "(cached) $ECHO_C" >&6
26223 else
26224 cat >conftest.$ac_ext <<_ACEOF
26225 /* confdefs.h. */
26226 _ACEOF
26227 cat confdefs.h >>conftest.$ac_ext
26228 cat >>conftest.$ac_ext <<_ACEOF
26229 /* end confdefs.h. */
26230 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
26231 For example, HP-UX 11i <limits.h> declares gettimeofday. */
26232 #define $ac_func innocuous_$ac_func
26233
26234 /* System header to define __stub macros and hopefully few prototypes,
26235 which can conflict with char $ac_func (); below.
26236 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
26237 <limits.h> exists even on freestanding compilers. */
26238
26239 #ifdef __STDC__
26240 # include <limits.h>
26241 #else
26242 # include <assert.h>
26243 #endif
26244
26245 #undef $ac_func
26246
26247 /* Override any GCC internal prototype to avoid an error.
26248 Use char because int might match the return type of a GCC
26249 builtin and then its argument prototype would still apply. */
26250 #ifdef __cplusplus
26251 extern "C"
26252 #endif
26253 char $ac_func ();
26254 /* The GNU C library defines this for functions which it implements
26255 to always fail with ENOSYS. Some functions are actually named
26256 something starting with __ and the normal name is an alias. */
26257 #if defined __stub_$ac_func || defined __stub___$ac_func
26258 choke me
26259 #endif
26260
26261 int
26262 main ()
26263 {
26264 return $ac_func ();
26265 ;
26266 return 0;
26267 }
26268 _ACEOF
26269 rm -f conftest.$ac_objext conftest$ac_exeext
26270 if { (ac_try="$ac_link"
26271 case "(($ac_try" in
26272 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26273 *) ac_try_echo=$ac_try;;
26274 esac
26275 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26276 (eval "$ac_link") 2>conftest.er1
26277 ac_status=$?
26278 grep -v '^ *+' conftest.er1 >conftest.err
26279 rm -f conftest.er1
26280 cat conftest.err >&5
26281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26282 (exit $ac_status); } && {
26283 test -z "$ac_c_werror_flag" ||
26284 test ! -s conftest.err
26285 } && test -s conftest$ac_exeext &&
26286 $as_test_x conftest$ac_exeext; then
26287 eval "$as_ac_var=yes"
26288 else
26289 echo "$as_me: failed program was:" >&5
26290 sed 's/^/| /' conftest.$ac_ext >&5
26291
26292 eval "$as_ac_var=no"
26293 fi
26294
26295 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26296 conftest$ac_exeext conftest.$ac_ext
26297 fi
26298 ac_res=`eval echo '${'$as_ac_var'}'`
26299 { echo "$as_me:$LINENO: result: $ac_res" >&5
26300 echo "${ECHO_T}$ac_res" >&6; }
26301 if test `eval echo '${'$as_ac_var'}'` = yes; then
26302 cat >>confdefs.h <<_ACEOF
26303 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26304 _ACEOF
26305
26306 fi
26307 done
26308
26309 fi
26310
26311
26312
26313 if test "x$ac_cv_func_regcomp" != "xyes"; then
26314 if test "$wxUSE_REGEX" = "sys" ; then
26315 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26316 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26317 { (exit 1); exit 1; }; }
26318 else
26319 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26320 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26321 wxUSE_REGEX=builtin
26322 fi
26323 else
26324 wxUSE_REGEX=sys
26325 cat >>confdefs.h <<\_ACEOF
26326 #define WX_NO_REGEX_ADVANCED 1
26327 _ACEOF
26328
26329 fi
26330 fi
26331 fi
26332
26333
26334 ZLIB_LINK=
26335 if test "$wxUSE_ZLIB" != "no" ; then
26336 cat >>confdefs.h <<\_ACEOF
26337 #define wxUSE_ZLIB 1
26338 _ACEOF
26339
26340
26341 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26342 if test "$USE_DARWIN" = 1; then
26343 system_zlib_h_ok="yes"
26344 else
26345 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26346 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26347 if test "${ac_cv_header_zlib_h+set}" = set; then
26348 echo $ECHO_N "(cached) $ECHO_C" >&6
26349 else
26350 if test "$cross_compiling" = yes; then
26351 unset ac_cv_header_zlib_h
26352
26353 else
26354 cat >conftest.$ac_ext <<_ACEOF
26355 /* confdefs.h. */
26356 _ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26360
26361 #include <zlib.h>
26362 #include <stdio.h>
26363
26364 int main()
26365 {
26366 FILE *f=fopen("conftestval", "w");
26367 if (!f) exit(1);
26368 fprintf(f, "%s",
26369 ZLIB_VERSION[0] == '1' &&
26370 (ZLIB_VERSION[2] > '1' ||
26371 (ZLIB_VERSION[2] == '1' &&
26372 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26373 exit(0);
26374 }
26375
26376 _ACEOF
26377 rm -f conftest$ac_exeext
26378 if { (ac_try="$ac_link"
26379 case "(($ac_try" in
26380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26381 *) ac_try_echo=$ac_try;;
26382 esac
26383 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26384 (eval "$ac_link") 2>&5
26385 ac_status=$?
26386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26387 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
26394 ac_status=$?
26395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26396 (exit $ac_status); }; }; then
26397 ac_cv_header_zlib_h=`cat conftestval`
26398 else
26399 echo "$as_me: program exited with status $ac_status" >&5
26400 echo "$as_me: failed program was:" >&5
26401 sed 's/^/| /' conftest.$ac_ext >&5
26402
26403 ( exit $ac_status )
26404 ac_cv_header_zlib_h=no
26405 fi
26406 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26407 fi
26408
26409
26410
26411 fi
26412 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26413 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26414 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26415 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26416 if test "${ac_cv_header_zlib_h+set}" = set; then
26417 echo $ECHO_N "(cached) $ECHO_C" >&6
26418 else
26419 cat >conftest.$ac_ext <<_ACEOF
26420 /* confdefs.h. */
26421 _ACEOF
26422 cat confdefs.h >>conftest.$ac_ext
26423 cat >>conftest.$ac_ext <<_ACEOF
26424 /* end confdefs.h. */
26425
26426
26427 #include <zlib.h>
26428 _ACEOF
26429 rm -f conftest.$ac_objext
26430 if { (ac_try="$ac_compile"
26431 case "(($ac_try" in
26432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26433 *) ac_try_echo=$ac_try;;
26434 esac
26435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26436 (eval "$ac_compile") 2>conftest.er1
26437 ac_status=$?
26438 grep -v '^ *+' conftest.er1 >conftest.err
26439 rm -f conftest.er1
26440 cat conftest.err >&5
26441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26442 (exit $ac_status); } && {
26443 test -z "$ac_c_werror_flag" ||
26444 test ! -s conftest.err
26445 } && test -s conftest.$ac_objext; then
26446 ac_cv_header_zlib_h=yes
26447 else
26448 echo "$as_me: failed program was:" >&5
26449 sed 's/^/| /' conftest.$ac_ext >&5
26450
26451 ac_cv_header_zlib_h=no
26452 fi
26453
26454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26455 fi
26456 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26457 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26458
26459
26460
26461 system_zlib_h_ok=$ac_cv_header_zlib_h
26462 fi
26463
26464 if test "$system_zlib_h_ok" = "yes"; then
26465 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26466 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26467 if test "${ac_cv_lib_z_deflate+set}" = set; then
26468 echo $ECHO_N "(cached) $ECHO_C" >&6
26469 else
26470 ac_check_lib_save_LIBS=$LIBS
26471 LIBS="-lz $LIBS"
26472 cat >conftest.$ac_ext <<_ACEOF
26473 /* confdefs.h. */
26474 _ACEOF
26475 cat confdefs.h >>conftest.$ac_ext
26476 cat >>conftest.$ac_ext <<_ACEOF
26477 /* end confdefs.h. */
26478
26479 /* Override any GCC internal prototype to avoid an error.
26480 Use char because int might match the return type of a GCC
26481 builtin and then its argument prototype would still apply. */
26482 #ifdef __cplusplus
26483 extern "C"
26484 #endif
26485 char deflate ();
26486 int
26487 main ()
26488 {
26489 return deflate ();
26490 ;
26491 return 0;
26492 }
26493 _ACEOF
26494 rm -f conftest.$ac_objext 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>conftest.er1
26502 ac_status=$?
26503 grep -v '^ *+' conftest.er1 >conftest.err
26504 rm -f conftest.er1
26505 cat conftest.err >&5
26506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26507 (exit $ac_status); } && {
26508 test -z "$ac_c_werror_flag" ||
26509 test ! -s conftest.err
26510 } && test -s conftest$ac_exeext &&
26511 $as_test_x conftest$ac_exeext; then
26512 ac_cv_lib_z_deflate=yes
26513 else
26514 echo "$as_me: failed program was:" >&5
26515 sed 's/^/| /' conftest.$ac_ext >&5
26516
26517 ac_cv_lib_z_deflate=no
26518 fi
26519
26520 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26521 conftest$ac_exeext conftest.$ac_ext
26522 LIBS=$ac_check_lib_save_LIBS
26523 fi
26524 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26525 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26526 if test $ac_cv_lib_z_deflate = yes; then
26527 ZLIB_LINK=" -lz"
26528 fi
26529
26530 fi
26531
26532 if test "x$ZLIB_LINK" = "x" ; then
26533 if test "$wxUSE_ZLIB" = "sys" ; then
26534 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26535 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26536 { (exit 1); exit 1; }; }
26537 else
26538 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26539 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26540 wxUSE_ZLIB=builtin
26541 fi
26542 else
26543 wxUSE_ZLIB=sys
26544 fi
26545 fi
26546 fi
26547
26548
26549 PNG_LINK=
26550 if test "$wxUSE_LIBPNG" != "no" ; then
26551 cat >>confdefs.h <<\_ACEOF
26552 #define wxUSE_LIBPNG 1
26553 _ACEOF
26554
26555
26556 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26557 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26558 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26559 wxUSE_LIBPNG=sys
26560 fi
26561
26562 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26563 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26564 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26565 wxUSE_LIBPNG=builtin
26566 fi
26567
26568 if test "$wxUSE_MGL" != 1 ; then
26569 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26570 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26571 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26572 if test "${ac_cv_header_png_h+set}" = set; then
26573 echo $ECHO_N "(cached) $ECHO_C" >&6
26574 else
26575 if test "$cross_compiling" = yes; then
26576 unset ac_cv_header_png_h
26577
26578 else
26579 cat >conftest.$ac_ext <<_ACEOF
26580 /* confdefs.h. */
26581 _ACEOF
26582 cat confdefs.h >>conftest.$ac_ext
26583 cat >>conftest.$ac_ext <<_ACEOF
26584 /* end confdefs.h. */
26585
26586 #include <png.h>
26587 #include <stdio.h>
26588
26589 int main()
26590 {
26591 FILE *f=fopen("conftestval", "w");
26592 if (!f) exit(1);
26593 fprintf(f, "%s",
26594 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26595 exit(0);
26596 }
26597
26598 _ACEOF
26599 rm -f conftest$ac_exeext
26600 if { (ac_try="$ac_link"
26601 case "(($ac_try" in
26602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26603 *) ac_try_echo=$ac_try;;
26604 esac
26605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26606 (eval "$ac_link") 2>&5
26607 ac_status=$?
26608 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26609 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26610 { (case "(($ac_try" in
26611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26612 *) ac_try_echo=$ac_try;;
26613 esac
26614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26615 (eval "$ac_try") 2>&5
26616 ac_status=$?
26617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26618 (exit $ac_status); }; }; then
26619 ac_cv_header_png_h=`cat conftestval`
26620 else
26621 echo "$as_me: program exited with status $ac_status" >&5
26622 echo "$as_me: failed program was:" >&5
26623 sed 's/^/| /' conftest.$ac_ext >&5
26624
26625 ( exit $ac_status )
26626 ac_cv_header_png_h=no
26627 fi
26628 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26629 fi
26630
26631
26632
26633 fi
26634 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26635 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26636 { echo "$as_me:$LINENO: checking for png.h" >&5
26637 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26638 if test "${ac_cv_header_png_h+set}" = set; then
26639 echo $ECHO_N "(cached) $ECHO_C" >&6
26640 else
26641 cat >conftest.$ac_ext <<_ACEOF
26642 /* confdefs.h. */
26643 _ACEOF
26644 cat confdefs.h >>conftest.$ac_ext
26645 cat >>conftest.$ac_ext <<_ACEOF
26646 /* end confdefs.h. */
26647
26648
26649 #include <png.h>
26650 _ACEOF
26651 rm -f conftest.$ac_objext
26652 if { (ac_try="$ac_compile"
26653 case "(($ac_try" in
26654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26655 *) ac_try_echo=$ac_try;;
26656 esac
26657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26658 (eval "$ac_compile") 2>conftest.er1
26659 ac_status=$?
26660 grep -v '^ *+' conftest.er1 >conftest.err
26661 rm -f conftest.er1
26662 cat conftest.err >&5
26663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26664 (exit $ac_status); } && {
26665 test -z "$ac_c_werror_flag" ||
26666 test ! -s conftest.err
26667 } && test -s conftest.$ac_objext; then
26668 ac_cv_header_png_h=yes
26669 else
26670 echo "$as_me: failed program was:" >&5
26671 sed 's/^/| /' conftest.$ac_ext >&5
26672
26673 ac_cv_header_png_h=no
26674 fi
26675
26676 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26677 fi
26678 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26679 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26680
26681
26682
26683 if test "$ac_cv_header_png_h" = "yes"; then
26684 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26685 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26686 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26687 echo $ECHO_N "(cached) $ECHO_C" >&6
26688 else
26689 ac_check_lib_save_LIBS=$LIBS
26690 LIBS="-lpng -lz -lm $LIBS"
26691 cat >conftest.$ac_ext <<_ACEOF
26692 /* confdefs.h. */
26693 _ACEOF
26694 cat confdefs.h >>conftest.$ac_ext
26695 cat >>conftest.$ac_ext <<_ACEOF
26696 /* end confdefs.h. */
26697
26698 /* Override any GCC internal prototype to avoid an error.
26699 Use char because int might match the return type of a GCC
26700 builtin and then its argument prototype would still apply. */
26701 #ifdef __cplusplus
26702 extern "C"
26703 #endif
26704 char png_check_sig ();
26705 int
26706 main ()
26707 {
26708 return png_check_sig ();
26709 ;
26710 return 0;
26711 }
26712 _ACEOF
26713 rm -f conftest.$ac_objext conftest$ac_exeext
26714 if { (ac_try="$ac_link"
26715 case "(($ac_try" in
26716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26717 *) ac_try_echo=$ac_try;;
26718 esac
26719 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26720 (eval "$ac_link") 2>conftest.er1
26721 ac_status=$?
26722 grep -v '^ *+' conftest.er1 >conftest.err
26723 rm -f conftest.er1
26724 cat conftest.err >&5
26725 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26726 (exit $ac_status); } && {
26727 test -z "$ac_c_werror_flag" ||
26728 test ! -s conftest.err
26729 } && test -s conftest$ac_exeext &&
26730 $as_test_x conftest$ac_exeext; then
26731 ac_cv_lib_png_png_check_sig=yes
26732 else
26733 echo "$as_me: failed program was:" >&5
26734 sed 's/^/| /' conftest.$ac_ext >&5
26735
26736 ac_cv_lib_png_png_check_sig=no
26737 fi
26738
26739 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26740 conftest$ac_exeext conftest.$ac_ext
26741 LIBS=$ac_check_lib_save_LIBS
26742 fi
26743 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26744 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26745 if test $ac_cv_lib_png_png_check_sig = yes; then
26746 PNG_LINK=" -lpng -lz"
26747 fi
26748
26749 fi
26750
26751 if test "x$PNG_LINK" = "x" ; then
26752 if test "$wxUSE_LIBPNG" = "sys" ; then
26753 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26754 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26755 { (exit 1); exit 1; }; }
26756 else
26757 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26758 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26759 wxUSE_LIBPNG=builtin
26760 fi
26761 else
26762 wxUSE_LIBPNG=sys
26763 fi
26764 fi
26765 fi
26766 fi
26767
26768
26769 JPEG_LINK=
26770 if test "$wxUSE_LIBJPEG" != "no" ; then
26771 cat >>confdefs.h <<\_ACEOF
26772 #define wxUSE_LIBJPEG 1
26773 _ACEOF
26774
26775
26776 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26777 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26778 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26779 wxUSE_LIBJPEG=sys
26780 fi
26781
26782 if test "$wxUSE_MGL" != 1 ; then
26783 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26784 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26785 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26786 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26787 echo $ECHO_N "(cached) $ECHO_C" >&6
26788 else
26789 cat >conftest.$ac_ext <<_ACEOF
26790 /* confdefs.h. */
26791 _ACEOF
26792 cat confdefs.h >>conftest.$ac_ext
26793 cat >>conftest.$ac_ext <<_ACEOF
26794 /* end confdefs.h. */
26795
26796 #undef HAVE_STDLIB_H
26797 #include <stdio.h>
26798 #include <jpeglib.h>
26799
26800 int
26801 main ()
26802 {
26803
26804
26805 ;
26806 return 0;
26807 }
26808 _ACEOF
26809 rm -f conftest.$ac_objext
26810 if { (ac_try="$ac_compile"
26811 case "(($ac_try" in
26812 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26813 *) ac_try_echo=$ac_try;;
26814 esac
26815 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26816 (eval "$ac_compile") 2>conftest.er1
26817 ac_status=$?
26818 grep -v '^ *+' conftest.er1 >conftest.err
26819 rm -f conftest.er1
26820 cat conftest.err >&5
26821 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26822 (exit $ac_status); } && {
26823 test -z "$ac_c_werror_flag" ||
26824 test ! -s conftest.err
26825 } && test -s conftest.$ac_objext; then
26826 ac_cv_header_jpeglib_h=yes
26827 else
26828 echo "$as_me: failed program was:" >&5
26829 sed 's/^/| /' conftest.$ac_ext >&5
26830
26831 ac_cv_header_jpeglib_h=no
26832
26833 fi
26834
26835 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26836
26837 fi
26838
26839 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26840 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26841
26842 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26843 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26844 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26845 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26846 echo $ECHO_N "(cached) $ECHO_C" >&6
26847 else
26848 ac_check_lib_save_LIBS=$LIBS
26849 LIBS="-ljpeg $LIBS"
26850 cat >conftest.$ac_ext <<_ACEOF
26851 /* confdefs.h. */
26852 _ACEOF
26853 cat confdefs.h >>conftest.$ac_ext
26854 cat >>conftest.$ac_ext <<_ACEOF
26855 /* end confdefs.h. */
26856
26857 /* Override any GCC internal prototype to avoid an error.
26858 Use char because int might match the return type of a GCC
26859 builtin and then its argument prototype would still apply. */
26860 #ifdef __cplusplus
26861 extern "C"
26862 #endif
26863 char jpeg_read_header ();
26864 int
26865 main ()
26866 {
26867 return jpeg_read_header ();
26868 ;
26869 return 0;
26870 }
26871 _ACEOF
26872 rm -f conftest.$ac_objext conftest$ac_exeext
26873 if { (ac_try="$ac_link"
26874 case "(($ac_try" in
26875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26876 *) ac_try_echo=$ac_try;;
26877 esac
26878 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26879 (eval "$ac_link") 2>conftest.er1
26880 ac_status=$?
26881 grep -v '^ *+' conftest.er1 >conftest.err
26882 rm -f conftest.er1
26883 cat conftest.err >&5
26884 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26885 (exit $ac_status); } && {
26886 test -z "$ac_c_werror_flag" ||
26887 test ! -s conftest.err
26888 } && test -s conftest$ac_exeext &&
26889 $as_test_x conftest$ac_exeext; then
26890 ac_cv_lib_jpeg_jpeg_read_header=yes
26891 else
26892 echo "$as_me: failed program was:" >&5
26893 sed 's/^/| /' conftest.$ac_ext >&5
26894
26895 ac_cv_lib_jpeg_jpeg_read_header=no
26896 fi
26897
26898 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26899 conftest$ac_exeext conftest.$ac_ext
26900 LIBS=$ac_check_lib_save_LIBS
26901 fi
26902 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26903 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26904 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26905 JPEG_LINK=" -ljpeg"
26906 fi
26907
26908 fi
26909
26910 if test "x$JPEG_LINK" = "x" ; then
26911 if test "$wxUSE_LIBJPEG" = "sys" ; then
26912 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26913 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26914 { (exit 1); exit 1; }; }
26915 else
26916 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26917 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26918 wxUSE_LIBJPEG=builtin
26919 fi
26920 else
26921 wxUSE_LIBJPEG=sys
26922
26923 if test "$wxUSE_MSW" = 1; then
26924 { echo "$as_me:$LINENO: checking for boolean" >&5
26925 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26926 if test "${ac_cv_type_boolean+set}" = set; then
26927 echo $ECHO_N "(cached) $ECHO_C" >&6
26928 else
26929 cat >conftest.$ac_ext <<_ACEOF
26930 /* confdefs.h. */
26931 _ACEOF
26932 cat confdefs.h >>conftest.$ac_ext
26933 cat >>conftest.$ac_ext <<_ACEOF
26934 /* end confdefs.h. */
26935 #include <windows.h>
26936
26937 typedef boolean ac__type_new_;
26938 int
26939 main ()
26940 {
26941 if ((ac__type_new_ *) 0)
26942 return 0;
26943 if (sizeof (ac__type_new_))
26944 return 0;
26945 ;
26946 return 0;
26947 }
26948 _ACEOF
26949 rm -f conftest.$ac_objext
26950 if { (ac_try="$ac_compile"
26951 case "(($ac_try" in
26952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26953 *) ac_try_echo=$ac_try;;
26954 esac
26955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26956 (eval "$ac_compile") 2>conftest.er1
26957 ac_status=$?
26958 grep -v '^ *+' conftest.er1 >conftest.err
26959 rm -f conftest.er1
26960 cat conftest.err >&5
26961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26962 (exit $ac_status); } && {
26963 test -z "$ac_c_werror_flag" ||
26964 test ! -s conftest.err
26965 } && test -s conftest.$ac_objext; then
26966 ac_cv_type_boolean=yes
26967 else
26968 echo "$as_me: failed program was:" >&5
26969 sed 's/^/| /' conftest.$ac_ext >&5
26970
26971 ac_cv_type_boolean=no
26972 fi
26973
26974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26975 fi
26976 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26977 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26978 if test $ac_cv_type_boolean = yes; then
26979
26980 cat >>confdefs.h <<_ACEOF
26981 #define HAVE_BOOLEAN 1
26982 _ACEOF
26983
26984
26985 { echo "$as_me:$LINENO: checking for boolean" >&5
26986 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26987 if test "${ac_cv_type_boolean+set}" = set; then
26988 echo $ECHO_N "(cached) $ECHO_C" >&6
26989 else
26990 cat >conftest.$ac_ext <<_ACEOF
26991 /* confdefs.h. */
26992 _ACEOF
26993 cat confdefs.h >>conftest.$ac_ext
26994 cat >>conftest.$ac_ext <<_ACEOF
26995 /* end confdefs.h. */
26996
26997 #undef HAVE_BOOLEAN
26998 #include <stdio.h>
26999 #include <jpeglib.h>
27000
27001
27002 typedef boolean ac__type_new_;
27003 int
27004 main ()
27005 {
27006 if ((ac__type_new_ *) 0)
27007 return 0;
27008 if (sizeof (ac__type_new_))
27009 return 0;
27010 ;
27011 return 0;
27012 }
27013 _ACEOF
27014 rm -f conftest.$ac_objext
27015 if { (ac_try="$ac_compile"
27016 case "(($ac_try" in
27017 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27018 *) ac_try_echo=$ac_try;;
27019 esac
27020 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27021 (eval "$ac_compile") 2>conftest.er1
27022 ac_status=$?
27023 grep -v '^ *+' conftest.er1 >conftest.err
27024 rm -f conftest.er1
27025 cat conftest.err >&5
27026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27027 (exit $ac_status); } && {
27028 test -z "$ac_c_werror_flag" ||
27029 test ! -s conftest.err
27030 } && test -s conftest.$ac_objext; then
27031 ac_cv_type_boolean=yes
27032 else
27033 echo "$as_me: failed program was:" >&5
27034 sed 's/^/| /' conftest.$ac_ext >&5
27035
27036 ac_cv_type_boolean=no
27037 fi
27038
27039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27040 fi
27041 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
27042 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
27043
27044 # The cast to long int works around a bug in the HP C Compiler
27045 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
27046 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
27047 # This bug is HP SR number 8606223364.
27048 { echo "$as_me:$LINENO: checking size of boolean" >&5
27049 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
27050 if test "${ac_cv_sizeof_boolean+set}" = set; then
27051 echo $ECHO_N "(cached) $ECHO_C" >&6
27052 else
27053 if test "$cross_compiling" = yes; then
27054 # Depending upon the size, compute the lo and hi bounds.
27055 cat >conftest.$ac_ext <<_ACEOF
27056 /* confdefs.h. */
27057 _ACEOF
27058 cat confdefs.h >>conftest.$ac_ext
27059 cat >>conftest.$ac_ext <<_ACEOF
27060 /* end confdefs.h. */
27061
27062 #undef HAVE_BOOLEAN
27063 #include <stdio.h>
27064 #include <jpeglib.h>
27065
27066
27067 typedef boolean ac__type_sizeof_;
27068 int
27069 main ()
27070 {
27071 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
27072 test_array [0] = 0
27073
27074 ;
27075 return 0;
27076 }
27077 _ACEOF
27078 rm -f conftest.$ac_objext
27079 if { (ac_try="$ac_compile"
27080 case "(($ac_try" in
27081 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27082 *) ac_try_echo=$ac_try;;
27083 esac
27084 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27085 (eval "$ac_compile") 2>conftest.er1
27086 ac_status=$?
27087 grep -v '^ *+' conftest.er1 >conftest.err
27088 rm -f conftest.er1
27089 cat conftest.err >&5
27090 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27091 (exit $ac_status); } && {
27092 test -z "$ac_c_werror_flag" ||
27093 test ! -s conftest.err
27094 } && test -s conftest.$ac_objext; then
27095 ac_lo=0 ac_mid=0
27096 while :; do
27097 cat >conftest.$ac_ext <<_ACEOF
27098 /* confdefs.h. */
27099 _ACEOF
27100 cat confdefs.h >>conftest.$ac_ext
27101 cat >>conftest.$ac_ext <<_ACEOF
27102 /* end confdefs.h. */
27103
27104 #undef HAVE_BOOLEAN
27105 #include <stdio.h>
27106 #include <jpeglib.h>
27107
27108
27109 typedef boolean ac__type_sizeof_;
27110 int
27111 main ()
27112 {
27113 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27114 test_array [0] = 0
27115
27116 ;
27117 return 0;
27118 }
27119 _ACEOF
27120 rm -f conftest.$ac_objext
27121 if { (ac_try="$ac_compile"
27122 case "(($ac_try" in
27123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27124 *) ac_try_echo=$ac_try;;
27125 esac
27126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27127 (eval "$ac_compile") 2>conftest.er1
27128 ac_status=$?
27129 grep -v '^ *+' conftest.er1 >conftest.err
27130 rm -f conftest.er1
27131 cat conftest.err >&5
27132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27133 (exit $ac_status); } && {
27134 test -z "$ac_c_werror_flag" ||
27135 test ! -s conftest.err
27136 } && test -s conftest.$ac_objext; then
27137 ac_hi=$ac_mid; break
27138 else
27139 echo "$as_me: failed program was:" >&5
27140 sed 's/^/| /' conftest.$ac_ext >&5
27141
27142 ac_lo=`expr $ac_mid + 1`
27143 if test $ac_lo -le $ac_mid; then
27144 ac_lo= ac_hi=
27145 break
27146 fi
27147 ac_mid=`expr 2 '*' $ac_mid + 1`
27148 fi
27149
27150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27151 done
27152 else
27153 echo "$as_me: failed program was:" >&5
27154 sed 's/^/| /' conftest.$ac_ext >&5
27155
27156 cat >conftest.$ac_ext <<_ACEOF
27157 /* confdefs.h. */
27158 _ACEOF
27159 cat confdefs.h >>conftest.$ac_ext
27160 cat >>conftest.$ac_ext <<_ACEOF
27161 /* end confdefs.h. */
27162
27163 #undef HAVE_BOOLEAN
27164 #include <stdio.h>
27165 #include <jpeglib.h>
27166
27167
27168 typedef boolean ac__type_sizeof_;
27169 int
27170 main ()
27171 {
27172 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
27173 test_array [0] = 0
27174
27175 ;
27176 return 0;
27177 }
27178 _ACEOF
27179 rm -f conftest.$ac_objext
27180 if { (ac_try="$ac_compile"
27181 case "(($ac_try" in
27182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27183 *) ac_try_echo=$ac_try;;
27184 esac
27185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27186 (eval "$ac_compile") 2>conftest.er1
27187 ac_status=$?
27188 grep -v '^ *+' conftest.er1 >conftest.err
27189 rm -f conftest.er1
27190 cat conftest.err >&5
27191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27192 (exit $ac_status); } && {
27193 test -z "$ac_c_werror_flag" ||
27194 test ! -s conftest.err
27195 } && test -s conftest.$ac_objext; then
27196 ac_hi=-1 ac_mid=-1
27197 while :; do
27198 cat >conftest.$ac_ext <<_ACEOF
27199 /* confdefs.h. */
27200 _ACEOF
27201 cat confdefs.h >>conftest.$ac_ext
27202 cat >>conftest.$ac_ext <<_ACEOF
27203 /* end confdefs.h. */
27204
27205 #undef HAVE_BOOLEAN
27206 #include <stdio.h>
27207 #include <jpeglib.h>
27208
27209
27210 typedef boolean ac__type_sizeof_;
27211 int
27212 main ()
27213 {
27214 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
27215 test_array [0] = 0
27216
27217 ;
27218 return 0;
27219 }
27220 _ACEOF
27221 rm -f conftest.$ac_objext
27222 if { (ac_try="$ac_compile"
27223 case "(($ac_try" in
27224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27225 *) ac_try_echo=$ac_try;;
27226 esac
27227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27228 (eval "$ac_compile") 2>conftest.er1
27229 ac_status=$?
27230 grep -v '^ *+' conftest.er1 >conftest.err
27231 rm -f conftest.er1
27232 cat conftest.err >&5
27233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27234 (exit $ac_status); } && {
27235 test -z "$ac_c_werror_flag" ||
27236 test ! -s conftest.err
27237 } && test -s conftest.$ac_objext; then
27238 ac_lo=$ac_mid; break
27239 else
27240 echo "$as_me: failed program was:" >&5
27241 sed 's/^/| /' conftest.$ac_ext >&5
27242
27243 ac_hi=`expr '(' $ac_mid ')' - 1`
27244 if test $ac_mid -le $ac_hi; then
27245 ac_lo= ac_hi=
27246 break
27247 fi
27248 ac_mid=`expr 2 '*' $ac_mid`
27249 fi
27250
27251 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27252 done
27253 else
27254 echo "$as_me: failed program was:" >&5
27255 sed 's/^/| /' conftest.$ac_ext >&5
27256
27257 ac_lo= ac_hi=
27258 fi
27259
27260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27261 fi
27262
27263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27264 # Binary search between lo and hi bounds.
27265 while test "x$ac_lo" != "x$ac_hi"; do
27266 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
27267 cat >conftest.$ac_ext <<_ACEOF
27268 /* confdefs.h. */
27269 _ACEOF
27270 cat confdefs.h >>conftest.$ac_ext
27271 cat >>conftest.$ac_ext <<_ACEOF
27272 /* end confdefs.h. */
27273
27274 #undef HAVE_BOOLEAN
27275 #include <stdio.h>
27276 #include <jpeglib.h>
27277
27278
27279 typedef boolean ac__type_sizeof_;
27280 int
27281 main ()
27282 {
27283 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
27284 test_array [0] = 0
27285
27286 ;
27287 return 0;
27288 }
27289 _ACEOF
27290 rm -f conftest.$ac_objext
27291 if { (ac_try="$ac_compile"
27292 case "(($ac_try" in
27293 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27294 *) ac_try_echo=$ac_try;;
27295 esac
27296 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27297 (eval "$ac_compile") 2>conftest.er1
27298 ac_status=$?
27299 grep -v '^ *+' conftest.er1 >conftest.err
27300 rm -f conftest.er1
27301 cat conftest.err >&5
27302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27303 (exit $ac_status); } && {
27304 test -z "$ac_c_werror_flag" ||
27305 test ! -s conftest.err
27306 } && test -s conftest.$ac_objext; then
27307 ac_hi=$ac_mid
27308 else
27309 echo "$as_me: failed program was:" >&5
27310 sed 's/^/| /' conftest.$ac_ext >&5
27311
27312 ac_lo=`expr '(' $ac_mid ')' + 1`
27313 fi
27314
27315 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27316 done
27317 case $ac_lo in
27318 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27319 '') if test "$ac_cv_type_boolean" = yes; then
27320 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27321 See \`config.log' for more details." >&5
27322 echo "$as_me: error: cannot compute sizeof (boolean)
27323 See \`config.log' for more details." >&2;}
27324 { (exit 77); exit 77; }; }
27325 else
27326 ac_cv_sizeof_boolean=0
27327 fi ;;
27328 esac
27329 else
27330 cat >conftest.$ac_ext <<_ACEOF
27331 /* confdefs.h. */
27332 _ACEOF
27333 cat confdefs.h >>conftest.$ac_ext
27334 cat >>conftest.$ac_ext <<_ACEOF
27335 /* end confdefs.h. */
27336
27337 #undef HAVE_BOOLEAN
27338 #include <stdio.h>
27339 #include <jpeglib.h>
27340
27341
27342 typedef boolean ac__type_sizeof_;
27343 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27344 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27345 #include <stdio.h>
27346 #include <stdlib.h>
27347 int
27348 main ()
27349 {
27350
27351 FILE *f = fopen ("conftest.val", "w");
27352 if (! f)
27353 return 1;
27354 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27355 {
27356 long int i = longval ();
27357 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27358 return 1;
27359 fprintf (f, "%ld\n", i);
27360 }
27361 else
27362 {
27363 unsigned long int i = ulongval ();
27364 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27365 return 1;
27366 fprintf (f, "%lu\n", i);
27367 }
27368 return ferror (f) || fclose (f) != 0;
27369
27370 ;
27371 return 0;
27372 }
27373 _ACEOF
27374 rm -f conftest$ac_exeext
27375 if { (ac_try="$ac_link"
27376 case "(($ac_try" in
27377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27378 *) ac_try_echo=$ac_try;;
27379 esac
27380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27381 (eval "$ac_link") 2>&5
27382 ac_status=$?
27383 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27384 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27385 { (case "(($ac_try" in
27386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27387 *) ac_try_echo=$ac_try;;
27388 esac
27389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27390 (eval "$ac_try") 2>&5
27391 ac_status=$?
27392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27393 (exit $ac_status); }; }; then
27394 ac_cv_sizeof_boolean=`cat conftest.val`
27395 else
27396 echo "$as_me: program exited with status $ac_status" >&5
27397 echo "$as_me: failed program was:" >&5
27398 sed 's/^/| /' conftest.$ac_ext >&5
27399
27400 ( exit $ac_status )
27401 if test "$ac_cv_type_boolean" = yes; then
27402 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27403 See \`config.log' for more details." >&5
27404 echo "$as_me: error: cannot compute sizeof (boolean)
27405 See \`config.log' for more details." >&2;}
27406 { (exit 77); exit 77; }; }
27407 else
27408 ac_cv_sizeof_boolean=0
27409 fi
27410 fi
27411 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27412 fi
27413 rm -f conftest.val
27414 fi
27415 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27416 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27417
27418
27419
27420 cat >>confdefs.h <<_ACEOF
27421 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27422 _ACEOF
27423
27424
27425 cat >>confdefs.h <<_ACEOF
27426 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27427 _ACEOF
27428
27429
27430 fi
27431
27432 fi
27433 fi
27434 fi
27435 fi
27436 fi
27437
27438
27439 TIFF_LINK=
27440 TIFF_PREREQ_LINKS=-lm
27441 if test "$wxUSE_LIBTIFF" != "no" ; then
27442 cat >>confdefs.h <<\_ACEOF
27443 #define wxUSE_LIBTIFF 1
27444 _ACEOF
27445
27446
27447 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27448 if test "$wxUSE_LIBJPEG" = "sys"; then
27449 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27450 fi
27451 if test "$wxUSE_ZLIB" = "sys"; then
27452 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27453 fi
27454 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27455 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27456 if test "${ac_cv_header_tiffio_h+set}" = set; then
27457 echo $ECHO_N "(cached) $ECHO_C" >&6
27458 else
27459 cat >conftest.$ac_ext <<_ACEOF
27460 /* confdefs.h. */
27461 _ACEOF
27462 cat confdefs.h >>conftest.$ac_ext
27463 cat >>conftest.$ac_ext <<_ACEOF
27464 /* end confdefs.h. */
27465
27466
27467
27468 #include <tiffio.h>
27469 _ACEOF
27470 rm -f conftest.$ac_objext
27471 if { (ac_try="$ac_compile"
27472 case "(($ac_try" in
27473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27474 *) ac_try_echo=$ac_try;;
27475 esac
27476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27477 (eval "$ac_compile") 2>conftest.er1
27478 ac_status=$?
27479 grep -v '^ *+' conftest.er1 >conftest.err
27480 rm -f conftest.er1
27481 cat conftest.err >&5
27482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27483 (exit $ac_status); } && {
27484 test -z "$ac_c_werror_flag" ||
27485 test ! -s conftest.err
27486 } && test -s conftest.$ac_objext; then
27487 ac_cv_header_tiffio_h=yes
27488 else
27489 echo "$as_me: failed program was:" >&5
27490 sed 's/^/| /' conftest.$ac_ext >&5
27491
27492 ac_cv_header_tiffio_h=no
27493 fi
27494
27495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27496 fi
27497 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27498 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27499 if test $ac_cv_header_tiffio_h = yes; then
27500
27501 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27502 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27503 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27504 echo $ECHO_N "(cached) $ECHO_C" >&6
27505 else
27506 ac_check_lib_save_LIBS=$LIBS
27507 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27508 cat >conftest.$ac_ext <<_ACEOF
27509 /* confdefs.h. */
27510 _ACEOF
27511 cat confdefs.h >>conftest.$ac_ext
27512 cat >>conftest.$ac_ext <<_ACEOF
27513 /* end confdefs.h. */
27514
27515 /* Override any GCC internal prototype to avoid an error.
27516 Use char because int might match the return type of a GCC
27517 builtin and then its argument prototype would still apply. */
27518 #ifdef __cplusplus
27519 extern "C"
27520 #endif
27521 char TIFFError ();
27522 int
27523 main ()
27524 {
27525 return TIFFError ();
27526 ;
27527 return 0;
27528 }
27529 _ACEOF
27530 rm -f conftest.$ac_objext conftest$ac_exeext
27531 if { (ac_try="$ac_link"
27532 case "(($ac_try" in
27533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27534 *) ac_try_echo=$ac_try;;
27535 esac
27536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27537 (eval "$ac_link") 2>conftest.er1
27538 ac_status=$?
27539 grep -v '^ *+' conftest.er1 >conftest.err
27540 rm -f conftest.er1
27541 cat conftest.err >&5
27542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27543 (exit $ac_status); } && {
27544 test -z "$ac_c_werror_flag" ||
27545 test ! -s conftest.err
27546 } && test -s conftest$ac_exeext &&
27547 $as_test_x conftest$ac_exeext; then
27548 ac_cv_lib_tiff_TIFFError=yes
27549 else
27550 echo "$as_me: failed program was:" >&5
27551 sed 's/^/| /' conftest.$ac_ext >&5
27552
27553 ac_cv_lib_tiff_TIFFError=no
27554 fi
27555
27556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27557 conftest$ac_exeext conftest.$ac_ext
27558 LIBS=$ac_check_lib_save_LIBS
27559 fi
27560 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27561 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27562 if test $ac_cv_lib_tiff_TIFFError = yes; then
27563 TIFF_LINK=" -ltiff"
27564 fi
27565
27566
27567 fi
27568
27569
27570
27571 if test "x$TIFF_LINK" = "x" ; then
27572 if test "$wxUSE_LIBTIFF" = "sys" ; then
27573 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27574 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27575 { (exit 1); exit 1; }; }
27576 else
27577 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27578 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27579 wxUSE_LIBTIFF=builtin
27580 fi
27581 else
27582 wxUSE_LIBTIFF=sys
27583 fi
27584 fi
27585 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27586 if test "$wxUSE_LIBJPEG" = "no"; then
27587 ac_configure_args="$ac_configure_args --disable-jpeg"
27588 fi
27589 subdirs="$subdirs src/tiff"
27590
27591 fi
27592 fi
27593
27594
27595 if test "$wxUSE_WCHAR_T" != "yes"; then
27596 if test "$wxUSE_EXPAT" != "no"; then
27597 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27598 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27599 wxUSE_EXPAT=no
27600 fi
27601 if test "$wxUSE_XML" != "no"; then
27602 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27603 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27604 wxUSE_XML=no
27605 fi
27606 fi
27607
27608 if test "$wxUSE_EXPAT" != "no"; then
27609 wxUSE_XML=yes
27610 cat >>confdefs.h <<\_ACEOF
27611 #define wxUSE_EXPAT 1
27612 _ACEOF
27613
27614 cat >>confdefs.h <<\_ACEOF
27615 #define wxUSE_XML 1
27616 _ACEOF
27617
27618
27619 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27620 { echo "$as_me:$LINENO: checking for expat.h" >&5
27621 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27622 if test "${ac_cv_header_expat_h+set}" = set; then
27623 echo $ECHO_N "(cached) $ECHO_C" >&6
27624 else
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
27633 #include <expat.h>
27634 _ACEOF
27635 rm -f conftest.$ac_objext
27636 if { (ac_try="$ac_compile"
27637 case "(($ac_try" in
27638 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27639 *) ac_try_echo=$ac_try;;
27640 esac
27641 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27642 (eval "$ac_compile") 2>conftest.er1
27643 ac_status=$?
27644 grep -v '^ *+' conftest.er1 >conftest.err
27645 rm -f conftest.er1
27646 cat conftest.err >&5
27647 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27648 (exit $ac_status); } && {
27649 test -z "$ac_c_werror_flag" ||
27650 test ! -s conftest.err
27651 } && test -s conftest.$ac_objext; then
27652 ac_cv_header_expat_h=yes
27653 else
27654 echo "$as_me: failed program was:" >&5
27655 sed 's/^/| /' conftest.$ac_ext >&5
27656
27657 ac_cv_header_expat_h=no
27658 fi
27659
27660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27661 fi
27662 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27663 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27664 if test $ac_cv_header_expat_h = yes; then
27665 found_expat_h=1
27666 fi
27667
27668
27669 if test "x$found_expat_h" = "x1"; then
27670 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27671 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27672 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27673 echo $ECHO_N "(cached) $ECHO_C" >&6
27674 else
27675
27676 ac_ext=cpp
27677 ac_cpp='$CXXCPP $CPPFLAGS'
27678 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27679 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27680 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27681
27682 cat >conftest.$ac_ext <<_ACEOF
27683 /* confdefs.h. */
27684 _ACEOF
27685 cat confdefs.h >>conftest.$ac_ext
27686 cat >>conftest.$ac_ext <<_ACEOF
27687 /* end confdefs.h. */
27688 #include <expat.h>
27689 int
27690 main ()
27691 {
27692
27693 ;
27694 return 0;
27695 }
27696 _ACEOF
27697 rm -f conftest.$ac_objext
27698 if { (ac_try="$ac_compile"
27699 case "(($ac_try" in
27700 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27701 *) ac_try_echo=$ac_try;;
27702 esac
27703 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27704 (eval "$ac_compile") 2>conftest.er1
27705 ac_status=$?
27706 grep -v '^ *+' conftest.er1 >conftest.err
27707 rm -f conftest.er1
27708 cat conftest.err >&5
27709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27710 (exit $ac_status); } && {
27711 test -z "$ac_cxx_werror_flag" ||
27712 test ! -s conftest.err
27713 } && test -s conftest.$ac_objext; then
27714 wx_cv_expat_is_not_broken=yes
27715 else
27716 echo "$as_me: failed program was:" >&5
27717 sed 's/^/| /' conftest.$ac_ext >&5
27718
27719 wx_cv_expat_is_not_broken=no
27720
27721 fi
27722
27723 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27724 ac_ext=c
27725 ac_cpp='$CPP $CPPFLAGS'
27726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27729
27730
27731
27732 fi
27733 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27734 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27735 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27736 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27737 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27738 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27739 echo $ECHO_N "(cached) $ECHO_C" >&6
27740 else
27741 ac_check_lib_save_LIBS=$LIBS
27742 LIBS="-lexpat $LIBS"
27743 cat >conftest.$ac_ext <<_ACEOF
27744 /* confdefs.h. */
27745 _ACEOF
27746 cat confdefs.h >>conftest.$ac_ext
27747 cat >>conftest.$ac_ext <<_ACEOF
27748 /* end confdefs.h. */
27749
27750 /* Override any GCC internal prototype to avoid an error.
27751 Use char because int might match the return type of a GCC
27752 builtin and then its argument prototype would still apply. */
27753 #ifdef __cplusplus
27754 extern "C"
27755 #endif
27756 char XML_ParserCreate ();
27757 int
27758 main ()
27759 {
27760 return XML_ParserCreate ();
27761 ;
27762 return 0;
27763 }
27764 _ACEOF
27765 rm -f conftest.$ac_objext conftest$ac_exeext
27766 if { (ac_try="$ac_link"
27767 case "(($ac_try" in
27768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27769 *) ac_try_echo=$ac_try;;
27770 esac
27771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27772 (eval "$ac_link") 2>conftest.er1
27773 ac_status=$?
27774 grep -v '^ *+' conftest.er1 >conftest.err
27775 rm -f conftest.er1
27776 cat conftest.err >&5
27777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27778 (exit $ac_status); } && {
27779 test -z "$ac_c_werror_flag" ||
27780 test ! -s conftest.err
27781 } && test -s conftest$ac_exeext &&
27782 $as_test_x conftest$ac_exeext; then
27783 ac_cv_lib_expat_XML_ParserCreate=yes
27784 else
27785 echo "$as_me: failed program was:" >&5
27786 sed 's/^/| /' conftest.$ac_ext >&5
27787
27788 ac_cv_lib_expat_XML_ParserCreate=no
27789 fi
27790
27791 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27792 conftest$ac_exeext conftest.$ac_ext
27793 LIBS=$ac_check_lib_save_LIBS
27794 fi
27795 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27796 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27797 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27798 EXPAT_LINK=" -lexpat"
27799 fi
27800
27801 fi
27802 fi
27803 if test "x$EXPAT_LINK" = "x" ; then
27804 if test "$wxUSE_EXPAT" = "sys" ; then
27805 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27806 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27807 { (exit 1); exit 1; }; }
27808 else
27809 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27810 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27811 wxUSE_EXPAT=builtin
27812 fi
27813 else
27814 wxUSE_EXPAT=sys
27815 fi
27816 fi
27817 if test "$wxUSE_EXPAT" = "builtin" ; then
27818 subdirs="$subdirs src/expat"
27819
27820 fi
27821 fi
27822
27823
27824
27825 if test "$wxUSE_LIBMSPACK" != "no"; then
27826 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27827 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27828 if test "${ac_cv_header_mspack_h+set}" = set; then
27829 echo $ECHO_N "(cached) $ECHO_C" >&6
27830 else
27831 cat >conftest.$ac_ext <<_ACEOF
27832 /* confdefs.h. */
27833 _ACEOF
27834 cat confdefs.h >>conftest.$ac_ext
27835 cat >>conftest.$ac_ext <<_ACEOF
27836 /* end confdefs.h. */
27837
27838
27839 #include <mspack.h>
27840 _ACEOF
27841 rm -f conftest.$ac_objext
27842 if { (ac_try="$ac_compile"
27843 case "(($ac_try" in
27844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27845 *) ac_try_echo=$ac_try;;
27846 esac
27847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27848 (eval "$ac_compile") 2>conftest.er1
27849 ac_status=$?
27850 grep -v '^ *+' conftest.er1 >conftest.err
27851 rm -f conftest.er1
27852 cat conftest.err >&5
27853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27854 (exit $ac_status); } && {
27855 test -z "$ac_c_werror_flag" ||
27856 test ! -s conftest.err
27857 } && test -s conftest.$ac_objext; then
27858 ac_cv_header_mspack_h=yes
27859 else
27860 echo "$as_me: failed program was:" >&5
27861 sed 's/^/| /' conftest.$ac_ext >&5
27862
27863 ac_cv_header_mspack_h=no
27864 fi
27865
27866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27867 fi
27868 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27869 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27870 if test $ac_cv_header_mspack_h = yes; then
27871 found_mspack_h=1
27872 fi
27873
27874
27875 if test "x$found_mspack_h" = "x1"; then
27876 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27877 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27878 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27879 echo $ECHO_N "(cached) $ECHO_C" >&6
27880 else
27881 ac_check_lib_save_LIBS=$LIBS
27882 LIBS="-lmspack $LIBS"
27883 cat >conftest.$ac_ext <<_ACEOF
27884 /* confdefs.h. */
27885 _ACEOF
27886 cat confdefs.h >>conftest.$ac_ext
27887 cat >>conftest.$ac_ext <<_ACEOF
27888 /* end confdefs.h. */
27889
27890 /* Override any GCC internal prototype to avoid an error.
27891 Use char because int might match the return type of a GCC
27892 builtin and then its argument prototype would still apply. */
27893 #ifdef __cplusplus
27894 extern "C"
27895 #endif
27896 char mspack_create_chm_decompressor ();
27897 int
27898 main ()
27899 {
27900 return mspack_create_chm_decompressor ();
27901 ;
27902 return 0;
27903 }
27904 _ACEOF
27905 rm -f conftest.$ac_objext conftest$ac_exeext
27906 if { (ac_try="$ac_link"
27907 case "(($ac_try" in
27908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27909 *) ac_try_echo=$ac_try;;
27910 esac
27911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27912 (eval "$ac_link") 2>conftest.er1
27913 ac_status=$?
27914 grep -v '^ *+' conftest.er1 >conftest.err
27915 rm -f conftest.er1
27916 cat conftest.err >&5
27917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27918 (exit $ac_status); } && {
27919 test -z "$ac_c_werror_flag" ||
27920 test ! -s conftest.err
27921 } && test -s conftest$ac_exeext &&
27922 $as_test_x conftest$ac_exeext; then
27923 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27924 else
27925 echo "$as_me: failed program was:" >&5
27926 sed 's/^/| /' conftest.$ac_ext >&5
27927
27928 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27929 fi
27930
27931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27932 conftest$ac_exeext conftest.$ac_ext
27933 LIBS=$ac_check_lib_save_LIBS
27934 fi
27935 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27936 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27937 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27938 MSPACK_LINK=" -lmspack"
27939 fi
27940
27941 fi
27942 if test "x$MSPACK_LINK" = "x" ; then
27943 wxUSE_LIBMSPACK=no
27944 fi
27945 fi
27946
27947 if test "$wxUSE_LIBMSPACK" != "no"; then
27948 cat >>confdefs.h <<\_ACEOF
27949 #define wxUSE_LIBMSPACK 1
27950 _ACEOF
27951
27952 fi
27953
27954
27955
27956 AFMINSTALL=
27957 WIN32INSTALL=
27958
27959 TOOLKIT=
27960 TOOLKIT_INCLUDE=
27961 WIDGET_SET=
27962
27963 if test "$USE_WIN32" = 1 ; then
27964
27965 for ac_header in w32api.h
27966 do
27967 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27968 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27969 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27970 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27971 echo $ECHO_N "(cached) $ECHO_C" >&6
27972 else
27973 cat >conftest.$ac_ext <<_ACEOF
27974 /* confdefs.h. */
27975 _ACEOF
27976 cat confdefs.h >>conftest.$ac_ext
27977 cat >>conftest.$ac_ext <<_ACEOF
27978 /* end confdefs.h. */
27979
27980
27981 #include <$ac_header>
27982 _ACEOF
27983 rm -f conftest.$ac_objext
27984 if { (ac_try="$ac_compile"
27985 case "(($ac_try" in
27986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27987 *) ac_try_echo=$ac_try;;
27988 esac
27989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27990 (eval "$ac_compile") 2>conftest.er1
27991 ac_status=$?
27992 grep -v '^ *+' conftest.er1 >conftest.err
27993 rm -f conftest.er1
27994 cat conftest.err >&5
27995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27996 (exit $ac_status); } && {
27997 test -z "$ac_c_werror_flag" ||
27998 test ! -s conftest.err
27999 } && test -s conftest.$ac_objext; then
28000 eval "$as_ac_Header=yes"
28001 else
28002 echo "$as_me: failed program was:" >&5
28003 sed 's/^/| /' conftest.$ac_ext >&5
28004
28005 eval "$as_ac_Header=no"
28006 fi
28007
28008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28009 fi
28010 ac_res=`eval echo '${'$as_ac_Header'}'`
28011 { echo "$as_me:$LINENO: result: $ac_res" >&5
28012 echo "${ECHO_T}$ac_res" >&6; }
28013 if test `eval echo '${'$as_ac_Header'}'` = yes; then
28014 cat >>confdefs.h <<_ACEOF
28015 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
28016 _ACEOF
28017
28018 fi
28019
28020 done
28021
28022 { echo "$as_me:$LINENO: checking for windows.h" >&5
28023 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
28024 if test "${ac_cv_header_windows_h+set}" = set; then
28025 echo $ECHO_N "(cached) $ECHO_C" >&6
28026 else
28027 cat >conftest.$ac_ext <<_ACEOF
28028 /* confdefs.h. */
28029 _ACEOF
28030 cat confdefs.h >>conftest.$ac_ext
28031 cat >>conftest.$ac_ext <<_ACEOF
28032 /* end confdefs.h. */
28033
28034
28035 #include <windows.h>
28036 _ACEOF
28037 rm -f conftest.$ac_objext
28038 if { (ac_try="$ac_compile"
28039 case "(($ac_try" in
28040 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28041 *) ac_try_echo=$ac_try;;
28042 esac
28043 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28044 (eval "$ac_compile") 2>conftest.er1
28045 ac_status=$?
28046 grep -v '^ *+' conftest.er1 >conftest.err
28047 rm -f conftest.er1
28048 cat conftest.err >&5
28049 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28050 (exit $ac_status); } && {
28051 test -z "$ac_c_werror_flag" ||
28052 test ! -s conftest.err
28053 } && test -s conftest.$ac_objext; then
28054 ac_cv_header_windows_h=yes
28055 else
28056 echo "$as_me: failed program was:" >&5
28057 sed 's/^/| /' conftest.$ac_ext >&5
28058
28059 ac_cv_header_windows_h=no
28060 fi
28061
28062 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28063 fi
28064 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
28065 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
28066 if test $ac_cv_header_windows_h = yes; then
28067 :
28068 else
28069
28070 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
28071 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
28072 { (exit 1); exit 1; }; }
28073
28074 fi
28075
28076
28077
28078 case "${host}" in
28079 x86_64-*-mingw32* )
28080 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lwctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28081 ;;
28082 * )
28083 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
28084 ;;
28085 esac
28086 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
28087 LIBS="$LIBS -loleacc"
28088 fi
28089
28090 case "${host}" in
28091 *-*-cygwin* )
28092 LIBS="$LIBS -lkernel32 -luser32"
28093 esac
28094
28095 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28096 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
28097
28098 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
28099
28100 WIN32INSTALL=win32install
28101
28102 { echo "$as_me:$LINENO: checking for pbt.h" >&5
28103 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
28104 if test "${ac_cv_header_pbt_h+set}" = set; then
28105 echo $ECHO_N "(cached) $ECHO_C" >&6
28106 else
28107 cat >conftest.$ac_ext <<_ACEOF
28108 /* confdefs.h. */
28109 _ACEOF
28110 cat confdefs.h >>conftest.$ac_ext
28111 cat >>conftest.$ac_ext <<_ACEOF
28112 /* end confdefs.h. */
28113
28114
28115 #include <pbt.h>
28116 _ACEOF
28117 rm -f conftest.$ac_objext
28118 if { (ac_try="$ac_compile"
28119 case "(($ac_try" in
28120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28121 *) ac_try_echo=$ac_try;;
28122 esac
28123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28124 (eval "$ac_compile") 2>conftest.er1
28125 ac_status=$?
28126 grep -v '^ *+' conftest.er1 >conftest.err
28127 rm -f conftest.er1
28128 cat conftest.err >&5
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); } && {
28131 test -z "$ac_c_werror_flag" ||
28132 test ! -s conftest.err
28133 } && test -s conftest.$ac_objext; then
28134 ac_cv_header_pbt_h=yes
28135 else
28136 echo "$as_me: failed program was:" >&5
28137 sed 's/^/| /' conftest.$ac_ext >&5
28138
28139 ac_cv_header_pbt_h=no
28140 fi
28141
28142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28143 fi
28144 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
28145 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
28146 if test $ac_cv_header_pbt_h = yes; then
28147 :
28148 else
28149 cat >>confdefs.h <<\_ACEOF
28150 #define NEED_PBT_H 1
28151 _ACEOF
28152
28153 fi
28154
28155
28156 fi
28157
28158 if test "$wxUSE_GUI" = "yes"; then
28159 USE_GUI=1
28160
28161 GUI_TK_LIBRARY=
28162
28163 WXGTK12=
28164 WXGTK127=
28165 WXGTK2=
28166 WXGPE=
28167
28168 if test "$wxUSE_COCOA" = 1 ; then
28169 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
28170 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
28171 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
28172 wxUSE_PRINTING_ARCHITECTURE=no
28173 fi
28174 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
28175 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
28176 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
28177 wxUSE_DRAG_AND_DROP=no
28178 fi
28179 if test "$wxUSE_DRAGIMAGE" = "yes"; then
28180 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
28181 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
28182 wxUSE_DRAGIMAGE=no
28183 fi
28184 fi
28185
28186 if test "$wxUSE_MSW" = 1 ; then
28187 TOOLKIT=MSW
28188 GUIDIST=MSW_DIST
28189
28190 case "${host}" in
28191 *-*-mingw32* )
28192 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
28193 esac
28194 fi
28195
28196 if test "$wxUSE_GTK" = 1; then
28197 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
28198 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
28199
28200 gtk_version_cached=1
28201 if test "${wx_cv_lib_gtk+set}" = set; then
28202 echo $ECHO_N "(cached) $ECHO_C" >&6
28203 else
28204
28205 gtk_version_cached=0
28206 { echo "$as_me:$LINENO: result: " >&5
28207 echo "${ECHO_T}" >&6; }
28208
28209 GTK_MODULES=
28210 if test "$wxUSE_THREADS" = "yes"; then
28211 GTK_MODULES=gthread
28212 fi
28213
28214 wx_cv_lib_gtk=
28215 if test "x$wxGTK_VERSION" != "x1"
28216 then
28217 case "${host}" in
28218 *-*-solaris2* )
28219 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
28220 enable_gtktest=no
28221 fi
28222 esac
28223
28224 # Check whether --enable-gtktest was given.
28225 if test "${enable_gtktest+set}" = set; then
28226 enableval=$enable_gtktest;
28227 else
28228 enable_gtktest=yes
28229 fi
28230
28231
28232 pkg_config_args=gtk+-2.0
28233 for module in . $GTK_MODULES
28234 do
28235 case "$module" in
28236 gthread)
28237 pkg_config_args="$pkg_config_args gthread-2.0"
28238 ;;
28239 esac
28240 done
28241
28242 no_gtk=""
28243
28244 # Extract the first word of "pkg-config", so it can be a program name with args.
28245 set dummy pkg-config; ac_word=$2
28246 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28247 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28248 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28249 echo $ECHO_N "(cached) $ECHO_C" >&6
28250 else
28251 case $PKG_CONFIG in
28252 [\\/]* | ?:[\\/]*)
28253 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28254 ;;
28255 *)
28256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28257 for as_dir in $PATH
28258 do
28259 IFS=$as_save_IFS
28260 test -z "$as_dir" && as_dir=.
28261 for ac_exec_ext in '' $ac_executable_extensions; do
28262 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28263 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28264 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28265 break 2
28266 fi
28267 done
28268 done
28269 IFS=$as_save_IFS
28270
28271 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
28272 ;;
28273 esac
28274 fi
28275 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28276 if test -n "$PKG_CONFIG"; then
28277 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28278 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28279 else
28280 { echo "$as_me:$LINENO: result: no" >&5
28281 echo "${ECHO_T}no" >&6; }
28282 fi
28283
28284
28285
28286 if test x$PKG_CONFIG != xno ; then
28287 if pkg-config --atleast-pkgconfig-version 0.7 ; then
28288 :
28289 else
28290 echo "*** pkg-config too old; version 0.7 or better required."
28291 no_gtk=yes
28292 PKG_CONFIG=no
28293 fi
28294 else
28295 no_gtk=yes
28296 fi
28297
28298 min_gtk_version=2.4.0
28299 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28300 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28301
28302 if test x$PKG_CONFIG != xno ; then
28303 ## don't try to run the test against uninstalled libtool libs
28304 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28305 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28306 enable_gtktest=no
28307 fi
28308
28309 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28310 :
28311 else
28312 no_gtk=yes
28313 fi
28314 fi
28315
28316 if test x"$no_gtk" = x ; then
28317 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28318 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28319 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28320 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28321 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28322 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28323 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28324 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28325 if test "x$enable_gtktest" = "xyes" ; then
28326 ac_save_CFLAGS="$CFLAGS"
28327 ac_save_LIBS="$LIBS"
28328 CFLAGS="$CFLAGS $GTK_CFLAGS"
28329 LIBS="$GTK_LIBS $LIBS"
28330 rm -f conf.gtktest
28331 if test "$cross_compiling" = yes; then
28332 echo $ac_n "cross compiling; assumed OK... $ac_c"
28333 else
28334 cat >conftest.$ac_ext <<_ACEOF
28335 /* confdefs.h. */
28336 _ACEOF
28337 cat confdefs.h >>conftest.$ac_ext
28338 cat >>conftest.$ac_ext <<_ACEOF
28339 /* end confdefs.h. */
28340
28341 #include <gtk/gtk.h>
28342 #include <stdio.h>
28343 #include <stdlib.h>
28344
28345 int
28346 main ()
28347 {
28348 int major, minor, micro;
28349 char *tmp_version;
28350
28351 system ("touch conf.gtktest");
28352
28353 /* HP/UX 9 (%@#!) writes to sscanf strings */
28354 tmp_version = g_strdup("$min_gtk_version");
28355 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28356 printf("%s, bad version string\n", "$min_gtk_version");
28357 exit(1);
28358 }
28359
28360 if ((gtk_major_version != $gtk_config_major_version) ||
28361 (gtk_minor_version != $gtk_config_minor_version) ||
28362 (gtk_micro_version != $gtk_config_micro_version))
28363 {
28364 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28365 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28366 gtk_major_version, gtk_minor_version, gtk_micro_version);
28367 printf ("*** was found! If pkg-config was correct, then it is best\n");
28368 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28369 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28370 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28371 printf("*** required on your system.\n");
28372 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28373 printf("*** to point to the correct configuration files\n");
28374 }
28375 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28376 (gtk_minor_version != GTK_MINOR_VERSION) ||
28377 (gtk_micro_version != GTK_MICRO_VERSION))
28378 {
28379 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28380 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28381 printf("*** library (version %d.%d.%d)\n",
28382 gtk_major_version, gtk_minor_version, gtk_micro_version);
28383 }
28384 else
28385 {
28386 if ((gtk_major_version > major) ||
28387 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28388 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28389 {
28390 return 0;
28391 }
28392 else
28393 {
28394 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28395 gtk_major_version, gtk_minor_version, gtk_micro_version);
28396 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28397 major, minor, micro);
28398 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28399 printf("***\n");
28400 printf("*** If you have already installed a sufficiently new version, this error\n");
28401 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28402 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28403 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28404 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28405 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28406 printf("*** so that the correct libraries are found at run-time))\n");
28407 }
28408 }
28409 return 1;
28410 }
28411
28412 _ACEOF
28413 rm -f conftest$ac_exeext
28414 if { (ac_try="$ac_link"
28415 case "(($ac_try" in
28416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28417 *) ac_try_echo=$ac_try;;
28418 esac
28419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28420 (eval "$ac_link") 2>&5
28421 ac_status=$?
28422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28423 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28424 { (case "(($ac_try" in
28425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28426 *) ac_try_echo=$ac_try;;
28427 esac
28428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28429 (eval "$ac_try") 2>&5
28430 ac_status=$?
28431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28432 (exit $ac_status); }; }; then
28433 :
28434 else
28435 echo "$as_me: program exited with status $ac_status" >&5
28436 echo "$as_me: failed program was:" >&5
28437 sed 's/^/| /' conftest.$ac_ext >&5
28438
28439 ( exit $ac_status )
28440 no_gtk=yes
28441 fi
28442 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28443 fi
28444
28445
28446 CFLAGS="$ac_save_CFLAGS"
28447 LIBS="$ac_save_LIBS"
28448 fi
28449 fi
28450 if test "x$no_gtk" = x ; then
28451 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28452 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28453 wx_cv_lib_gtk=2.0
28454 else
28455 { echo "$as_me:$LINENO: result: no" >&5
28456 echo "${ECHO_T}no" >&6; }
28457 if test "$PKG_CONFIG" = "no" ; then
28458 echo "*** A new enough version of pkg-config was not found."
28459 echo "*** See http://pkgconfig.sourceforge.net"
28460 else
28461 if test -f conf.gtktest ; then
28462 :
28463 else
28464 echo "*** Could not run GTK+ test program, checking why..."
28465 ac_save_CFLAGS="$CFLAGS"
28466 ac_save_LIBS="$LIBS"
28467 CFLAGS="$CFLAGS $GTK_CFLAGS"
28468 LIBS="$LIBS $GTK_LIBS"
28469 cat >conftest.$ac_ext <<_ACEOF
28470 /* confdefs.h. */
28471 _ACEOF
28472 cat confdefs.h >>conftest.$ac_ext
28473 cat >>conftest.$ac_ext <<_ACEOF
28474 /* end confdefs.h. */
28475
28476 #include <gtk/gtk.h>
28477 #include <stdio.h>
28478
28479 int
28480 main ()
28481 {
28482 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28483 ;
28484 return 0;
28485 }
28486 _ACEOF
28487 rm -f conftest.$ac_objext conftest$ac_exeext
28488 if { (ac_try="$ac_link"
28489 case "(($ac_try" in
28490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28491 *) ac_try_echo=$ac_try;;
28492 esac
28493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28494 (eval "$ac_link") 2>conftest.er1
28495 ac_status=$?
28496 grep -v '^ *+' conftest.er1 >conftest.err
28497 rm -f conftest.er1
28498 cat conftest.err >&5
28499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28500 (exit $ac_status); } && {
28501 test -z "$ac_c_werror_flag" ||
28502 test ! -s conftest.err
28503 } && test -s conftest$ac_exeext &&
28504 $as_test_x conftest$ac_exeext; then
28505 echo "*** The test program compiled, but did not run. This usually means"
28506 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28507 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28508 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28509 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28510 echo "*** is required on your system"
28511 echo "***"
28512 echo "*** If you have an old version installed, it is best to remove it, although"
28513 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28514 else
28515 echo "$as_me: failed program was:" >&5
28516 sed 's/^/| /' conftest.$ac_ext >&5
28517
28518 echo "*** The test program failed to compile or link. See the file config.log for the"
28519 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28520 fi
28521
28522 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28523 conftest$ac_exeext conftest.$ac_ext
28524 CFLAGS="$ac_save_CFLAGS"
28525 LIBS="$ac_save_LIBS"
28526 fi
28527 fi
28528 GTK_CFLAGS=""
28529 GTK_LIBS=""
28530 :
28531 fi
28532
28533
28534 rm -f conf.gtktest
28535
28536
28537 case "${host}" in
28538 *-*-solaris2* )
28539 if test "$wxUSE_SHARED" != "yes"; then
28540 GTK_LIBS="$GTK_LIBS -lX11"
28541 fi
28542 esac
28543 fi
28544
28545 if test -z "$wx_cv_lib_gtk"; then
28546 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28547
28548 # Check whether --with-gtk-prefix was given.
28549 if test "${with_gtk_prefix+set}" = set; then
28550 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28551 else
28552 gtk_config_prefix=""
28553 fi
28554
28555
28556 # Check whether --with-gtk-exec-prefix was given.
28557 if test "${with_gtk_exec_prefix+set}" = set; then
28558 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28559 else
28560 gtk_config_exec_prefix=""
28561 fi
28562
28563 # Check whether --enable-gtktest was given.
28564 if test "${enable_gtktest+set}" = set; then
28565 enableval=$enable_gtktest;
28566 else
28567 enable_gtktest=yes
28568 fi
28569
28570
28571 for module in . $GTK_MODULES
28572 do
28573 case "$module" in
28574 gthread)
28575 gtk_config_args="$gtk_config_args gthread"
28576 ;;
28577 esac
28578 done
28579
28580 if test x$gtk_config_exec_prefix != x ; then
28581 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28582 if test x${GTK_CONFIG+set} != xset ; then
28583 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28584 fi
28585 fi
28586 if test x$gtk_config_prefix != x ; then
28587 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28588 if test x${GTK_CONFIG+set} != xset ; then
28589 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28590 fi
28591 fi
28592
28593 # Extract the first word of "gtk-config", so it can be a program name with args.
28594 set dummy gtk-config; ac_word=$2
28595 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28596 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28597 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28598 echo $ECHO_N "(cached) $ECHO_C" >&6
28599 else
28600 case $GTK_CONFIG in
28601 [\\/]* | ?:[\\/]*)
28602 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28603 ;;
28604 *)
28605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28606 for as_dir in $PATH
28607 do
28608 IFS=$as_save_IFS
28609 test -z "$as_dir" && as_dir=.
28610 for ac_exec_ext in '' $ac_executable_extensions; do
28611 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28612 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28613 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28614 break 2
28615 fi
28616 done
28617 done
28618 IFS=$as_save_IFS
28619
28620 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28621 ;;
28622 esac
28623 fi
28624 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28625 if test -n "$GTK_CONFIG"; then
28626 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28627 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28628 else
28629 { echo "$as_me:$LINENO: result: no" >&5
28630 echo "${ECHO_T}no" >&6; }
28631 fi
28632
28633
28634 min_gtk_version=1.2.7
28635 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28636 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28637 no_gtk=""
28638 if test "$GTK_CONFIG" = "no" ; then
28639 no_gtk=yes
28640 else
28641 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28642 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28643 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28644 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28645 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28646 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28647 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28648 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28649 if test "x$enable_gtktest" = "xyes" ; then
28650 ac_save_CFLAGS="$CFLAGS"
28651 ac_save_LIBS="$LIBS"
28652 CFLAGS="$CFLAGS $GTK_CFLAGS"
28653 LIBS="$GTK_LIBS $LIBS"
28654 rm -f conf.gtktest
28655 if test "$cross_compiling" = yes; then
28656 echo $ac_n "cross compiling; assumed OK... $ac_c"
28657 else
28658 cat >conftest.$ac_ext <<_ACEOF
28659 /* confdefs.h. */
28660 _ACEOF
28661 cat confdefs.h >>conftest.$ac_ext
28662 cat >>conftest.$ac_ext <<_ACEOF
28663 /* end confdefs.h. */
28664
28665 #include <gtk/gtk.h>
28666 #include <stdio.h>
28667 #include <stdlib.h>
28668
28669 int
28670 main ()
28671 {
28672 int major, minor, micro;
28673 char *tmp_version;
28674
28675 system ("touch conf.gtktest");
28676
28677 /* HP/UX 9 (%@#!) writes to sscanf strings */
28678 tmp_version = g_strdup("$min_gtk_version");
28679 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28680 printf("%s, bad version string\n", "$min_gtk_version");
28681 exit(1);
28682 }
28683
28684 if ((gtk_major_version != $gtk_config_major_version) ||
28685 (gtk_minor_version != $gtk_config_minor_version) ||
28686 (gtk_micro_version != $gtk_config_micro_version))
28687 {
28688 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28689 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28690 gtk_major_version, gtk_minor_version, gtk_micro_version);
28691 printf ("*** was found! If gtk-config was correct, then it is best\n");
28692 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28693 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28694 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28695 printf("*** required on your system.\n");
28696 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28697 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28698 printf("*** before re-running configure\n");
28699 }
28700 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28701 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28702 (gtk_minor_version != GTK_MINOR_VERSION) ||
28703 (gtk_micro_version != GTK_MICRO_VERSION))
28704 {
28705 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28706 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28707 printf("*** library (version %d.%d.%d)\n",
28708 gtk_major_version, gtk_minor_version, gtk_micro_version);
28709 }
28710 #endif /* defined (GTK_MAJOR_VERSION) ... */
28711 else
28712 {
28713 if ((gtk_major_version > major) ||
28714 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28715 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28716 {
28717 return 0;
28718 }
28719 else
28720 {
28721 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28722 gtk_major_version, gtk_minor_version, gtk_micro_version);
28723 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28724 major, minor, micro);
28725 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28726 printf("***\n");
28727 printf("*** If you have already installed a sufficiently new version, this error\n");
28728 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28729 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28730 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28731 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28732 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28733 printf("*** so that the correct libraries are found at run-time))\n");
28734 }
28735 }
28736 return 1;
28737 }
28738
28739 _ACEOF
28740 rm -f conftest$ac_exeext
28741 if { (ac_try="$ac_link"
28742 case "(($ac_try" in
28743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28744 *) ac_try_echo=$ac_try;;
28745 esac
28746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28747 (eval "$ac_link") 2>&5
28748 ac_status=$?
28749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28751 { (case "(($ac_try" in
28752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28753 *) ac_try_echo=$ac_try;;
28754 esac
28755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28756 (eval "$ac_try") 2>&5
28757 ac_status=$?
28758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28759 (exit $ac_status); }; }; then
28760 :
28761 else
28762 echo "$as_me: program exited with status $ac_status" >&5
28763 echo "$as_me: failed program was:" >&5
28764 sed 's/^/| /' conftest.$ac_ext >&5
28765
28766 ( exit $ac_status )
28767 no_gtk=yes
28768 fi
28769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28770 fi
28771
28772
28773 CFLAGS="$ac_save_CFLAGS"
28774 LIBS="$ac_save_LIBS"
28775 fi
28776 fi
28777 if test "x$no_gtk" = x ; then
28778 { echo "$as_me:$LINENO: result: yes" >&5
28779 echo "${ECHO_T}yes" >&6; }
28780 wx_cv_lib_gtk=1.2.7
28781 else
28782 { echo "$as_me:$LINENO: result: no" >&5
28783 echo "${ECHO_T}no" >&6; }
28784 if test "$GTK_CONFIG" = "no" ; then
28785 echo "*** The gtk-config script installed by GTK could not be found"
28786 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28787 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28788 echo "*** full path to gtk-config."
28789 else
28790 if test -f conf.gtktest ; then
28791 :
28792 else
28793 echo "*** Could not run GTK test program, checking why..."
28794 CFLAGS="$CFLAGS $GTK_CFLAGS"
28795 LIBS="$LIBS $GTK_LIBS"
28796 cat >conftest.$ac_ext <<_ACEOF
28797 /* confdefs.h. */
28798 _ACEOF
28799 cat confdefs.h >>conftest.$ac_ext
28800 cat >>conftest.$ac_ext <<_ACEOF
28801 /* end confdefs.h. */
28802
28803 #include <gtk/gtk.h>
28804 #include <stdio.h>
28805
28806 int
28807 main ()
28808 {
28809 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28810 ;
28811 return 0;
28812 }
28813 _ACEOF
28814 rm -f conftest.$ac_objext conftest$ac_exeext
28815 if { (ac_try="$ac_link"
28816 case "(($ac_try" in
28817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28818 *) ac_try_echo=$ac_try;;
28819 esac
28820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28821 (eval "$ac_link") 2>conftest.er1
28822 ac_status=$?
28823 grep -v '^ *+' conftest.er1 >conftest.err
28824 rm -f conftest.er1
28825 cat conftest.err >&5
28826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28827 (exit $ac_status); } && {
28828 test -z "$ac_c_werror_flag" ||
28829 test ! -s conftest.err
28830 } && test -s conftest$ac_exeext &&
28831 $as_test_x conftest$ac_exeext; then
28832 echo "*** The test program compiled, but did not run. This usually means"
28833 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28834 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28835 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28836 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28837 echo "*** is required on your system"
28838 echo "***"
28839 echo "*** If you have an old version installed, it is best to remove it, although"
28840 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28841 echo "***"
28842 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28843 echo "*** came with the system with the command"
28844 echo "***"
28845 echo "*** rpm --erase --nodeps gtk gtk-devel"
28846 else
28847 echo "$as_me: failed program was:" >&5
28848 sed 's/^/| /' conftest.$ac_ext >&5
28849
28850 echo "*** The test program failed to compile or link. See the file config.log for the"
28851 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28852 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28853 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28854 fi
28855
28856 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28857 conftest$ac_exeext conftest.$ac_ext
28858 CFLAGS="$ac_save_CFLAGS"
28859 LIBS="$ac_save_LIBS"
28860 fi
28861 fi
28862 GTK_CFLAGS=""
28863 GTK_LIBS=""
28864 :
28865 fi
28866
28867
28868 rm -f conf.gtktest
28869
28870
28871 if test -z "$wx_cv_lib_gtk"; then
28872
28873 # Check whether --with-gtk-prefix was given.
28874 if test "${with_gtk_prefix+set}" = set; then
28875 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28876 else
28877 gtk_config_prefix=""
28878 fi
28879
28880
28881 # Check whether --with-gtk-exec-prefix was given.
28882 if test "${with_gtk_exec_prefix+set}" = set; then
28883 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28884 else
28885 gtk_config_exec_prefix=""
28886 fi
28887
28888 # Check whether --enable-gtktest was given.
28889 if test "${enable_gtktest+set}" = set; then
28890 enableval=$enable_gtktest;
28891 else
28892 enable_gtktest=yes
28893 fi
28894
28895
28896 for module in . $GTK_MODULES
28897 do
28898 case "$module" in
28899 gthread)
28900 gtk_config_args="$gtk_config_args gthread"
28901 ;;
28902 esac
28903 done
28904
28905 if test x$gtk_config_exec_prefix != x ; then
28906 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28907 if test x${GTK_CONFIG+set} != xset ; then
28908 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28909 fi
28910 fi
28911 if test x$gtk_config_prefix != x ; then
28912 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28913 if test x${GTK_CONFIG+set} != xset ; then
28914 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28915 fi
28916 fi
28917
28918 # Extract the first word of "gtk-config", so it can be a program name with args.
28919 set dummy gtk-config; ac_word=$2
28920 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28921 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28922 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28923 echo $ECHO_N "(cached) $ECHO_C" >&6
28924 else
28925 case $GTK_CONFIG in
28926 [\\/]* | ?:[\\/]*)
28927 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28928 ;;
28929 *)
28930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28931 for as_dir in $PATH
28932 do
28933 IFS=$as_save_IFS
28934 test -z "$as_dir" && as_dir=.
28935 for ac_exec_ext in '' $ac_executable_extensions; do
28936 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28937 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28938 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28939 break 2
28940 fi
28941 done
28942 done
28943 IFS=$as_save_IFS
28944
28945 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28946 ;;
28947 esac
28948 fi
28949 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28950 if test -n "$GTK_CONFIG"; then
28951 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28952 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28953 else
28954 { echo "$as_me:$LINENO: result: no" >&5
28955 echo "${ECHO_T}no" >&6; }
28956 fi
28957
28958
28959 min_gtk_version=1.2.3
28960 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28961 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28962 no_gtk=""
28963 if test "$GTK_CONFIG" = "no" ; then
28964 no_gtk=yes
28965 else
28966 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28967 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28968 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28969 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28970 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28971 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28972 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28973 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28974 if test "x$enable_gtktest" = "xyes" ; then
28975 ac_save_CFLAGS="$CFLAGS"
28976 ac_save_LIBS="$LIBS"
28977 CFLAGS="$CFLAGS $GTK_CFLAGS"
28978 LIBS="$GTK_LIBS $LIBS"
28979 rm -f conf.gtktest
28980 if test "$cross_compiling" = yes; then
28981 echo $ac_n "cross compiling; assumed OK... $ac_c"
28982 else
28983 cat >conftest.$ac_ext <<_ACEOF
28984 /* confdefs.h. */
28985 _ACEOF
28986 cat confdefs.h >>conftest.$ac_ext
28987 cat >>conftest.$ac_ext <<_ACEOF
28988 /* end confdefs.h. */
28989
28990 #include <gtk/gtk.h>
28991 #include <stdio.h>
28992 #include <stdlib.h>
28993
28994 int
28995 main ()
28996 {
28997 int major, minor, micro;
28998 char *tmp_version;
28999
29000 system ("touch conf.gtktest");
29001
29002 /* HP/UX 9 (%@#!) writes to sscanf strings */
29003 tmp_version = g_strdup("$min_gtk_version");
29004 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
29005 printf("%s, bad version string\n", "$min_gtk_version");
29006 exit(1);
29007 }
29008
29009 if ((gtk_major_version != $gtk_config_major_version) ||
29010 (gtk_minor_version != $gtk_config_minor_version) ||
29011 (gtk_micro_version != $gtk_config_micro_version))
29012 {
29013 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
29014 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
29015 gtk_major_version, gtk_minor_version, gtk_micro_version);
29016 printf ("*** was found! If gtk-config was correct, then it is best\n");
29017 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
29018 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
29019 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
29020 printf("*** required on your system.\n");
29021 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
29022 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
29023 printf("*** before re-running configure\n");
29024 }
29025 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
29026 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
29027 (gtk_minor_version != GTK_MINOR_VERSION) ||
29028 (gtk_micro_version != GTK_MICRO_VERSION))
29029 {
29030 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
29031 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
29032 printf("*** library (version %d.%d.%d)\n",
29033 gtk_major_version, gtk_minor_version, gtk_micro_version);
29034 }
29035 #endif /* defined (GTK_MAJOR_VERSION) ... */
29036 else
29037 {
29038 if ((gtk_major_version > major) ||
29039 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
29040 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
29041 {
29042 return 0;
29043 }
29044 else
29045 {
29046 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
29047 gtk_major_version, gtk_minor_version, gtk_micro_version);
29048 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
29049 major, minor, micro);
29050 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
29051 printf("***\n");
29052 printf("*** If you have already installed a sufficiently new version, this error\n");
29053 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
29054 printf("*** being found. The easiest way to fix this is to remove the old version\n");
29055 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
29056 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
29057 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
29058 printf("*** so that the correct libraries are found at run-time))\n");
29059 }
29060 }
29061 return 1;
29062 }
29063
29064 _ACEOF
29065 rm -f conftest$ac_exeext
29066 if { (ac_try="$ac_link"
29067 case "(($ac_try" in
29068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29069 *) ac_try_echo=$ac_try;;
29070 esac
29071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29072 (eval "$ac_link") 2>&5
29073 ac_status=$?
29074 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29075 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
29076 { (case "(($ac_try" in
29077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29078 *) ac_try_echo=$ac_try;;
29079 esac
29080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29081 (eval "$ac_try") 2>&5
29082 ac_status=$?
29083 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29084 (exit $ac_status); }; }; then
29085 :
29086 else
29087 echo "$as_me: program exited with status $ac_status" >&5
29088 echo "$as_me: failed program was:" >&5
29089 sed 's/^/| /' conftest.$ac_ext >&5
29090
29091 ( exit $ac_status )
29092 no_gtk=yes
29093 fi
29094 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
29095 fi
29096
29097
29098 CFLAGS="$ac_save_CFLAGS"
29099 LIBS="$ac_save_LIBS"
29100 fi
29101 fi
29102 if test "x$no_gtk" = x ; then
29103 { echo "$as_me:$LINENO: result: yes" >&5
29104 echo "${ECHO_T}yes" >&6; }
29105 wx_cv_lib_gtk=1.2.3
29106 else
29107 { echo "$as_me:$LINENO: result: no" >&5
29108 echo "${ECHO_T}no" >&6; }
29109 if test "$GTK_CONFIG" = "no" ; then
29110 echo "*** The gtk-config script installed by GTK could not be found"
29111 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
29112 echo "*** your path, or set the GTK_CONFIG environment variable to the"
29113 echo "*** full path to gtk-config."
29114 else
29115 if test -f conf.gtktest ; then
29116 :
29117 else
29118 echo "*** Could not run GTK test program, checking why..."
29119 CFLAGS="$CFLAGS $GTK_CFLAGS"
29120 LIBS="$LIBS $GTK_LIBS"
29121 cat >conftest.$ac_ext <<_ACEOF
29122 /* confdefs.h. */
29123 _ACEOF
29124 cat confdefs.h >>conftest.$ac_ext
29125 cat >>conftest.$ac_ext <<_ACEOF
29126 /* end confdefs.h. */
29127
29128 #include <gtk/gtk.h>
29129 #include <stdio.h>
29130
29131 int
29132 main ()
29133 {
29134 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
29135 ;
29136 return 0;
29137 }
29138 _ACEOF
29139 rm -f conftest.$ac_objext conftest$ac_exeext
29140 if { (ac_try="$ac_link"
29141 case "(($ac_try" in
29142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29143 *) ac_try_echo=$ac_try;;
29144 esac
29145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29146 (eval "$ac_link") 2>conftest.er1
29147 ac_status=$?
29148 grep -v '^ *+' conftest.er1 >conftest.err
29149 rm -f conftest.er1
29150 cat conftest.err >&5
29151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29152 (exit $ac_status); } && {
29153 test -z "$ac_c_werror_flag" ||
29154 test ! -s conftest.err
29155 } && test -s conftest$ac_exeext &&
29156 $as_test_x conftest$ac_exeext; then
29157 echo "*** The test program compiled, but did not run. This usually means"
29158 echo "*** that the run-time linker is not finding GTK or finding the wrong"
29159 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
29160 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
29161 echo "*** to the installed location Also, make sure you have run ldconfig if that"
29162 echo "*** is required on your system"
29163 echo "***"
29164 echo "*** If you have an old version installed, it is best to remove it, although"
29165 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
29166 echo "***"
29167 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
29168 echo "*** came with the system with the command"
29169 echo "***"
29170 echo "*** rpm --erase --nodeps gtk gtk-devel"
29171 else
29172 echo "$as_me: failed program was:" >&5
29173 sed 's/^/| /' conftest.$ac_ext >&5
29174
29175 echo "*** The test program failed to compile or link. See the file config.log for the"
29176 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
29177 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
29178 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
29179 fi
29180
29181 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29182 conftest$ac_exeext conftest.$ac_ext
29183 CFLAGS="$ac_save_CFLAGS"
29184 LIBS="$ac_save_LIBS"
29185 fi
29186 fi
29187 GTK_CFLAGS=""
29188 GTK_LIBS=""
29189 :
29190 fi
29191
29192
29193 rm -f conf.gtktest
29194
29195 fi
29196 fi
29197 fi
29198
29199 if test -z "$wx_cv_lib_gtk"; then
29200 wx_cv_lib_gtk=none
29201 else
29202 wx_cv_cflags_gtk=$GTK_CFLAGS
29203 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
29204 fi
29205
29206
29207 fi
29208
29209
29210 if test "$gtk_version_cached" = 1; then
29211 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
29212 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
29213 fi
29214
29215 case "$wx_cv_lib_gtk" in
29216 2.0) WXGTK2=1
29217 TOOLKIT_VERSION=2
29218 ;;
29219 1.2.7) WXGTK127=1
29220 WXGTK12=1
29221 ;;
29222 1.2.3) WXGTK12=1
29223 ;;
29224 *) { { echo "$as_me:$LINENO: error:
29225 The development files for GTK+ were not found. For GTK+ 2, please
29226 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29227 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29228 and that the version is 1.2.3 or above. Also check that the
29229 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29230 --libs' are in the LD_LIBRARY_PATH or equivalent.
29231 " >&5
29232 echo "$as_me: error:
29233 The development files for GTK+ were not found. For GTK+ 2, please
29234 ensure that pkg-config is in the path and that gtk+-2.0.pc is
29235 installed. For GTK+ 1.2 please check that gtk-config is in the path,
29236 and that the version is 1.2.3 or above. Also check that the
29237 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
29238 --libs' are in the LD_LIBRARY_PATH or equivalent.
29239 " >&2;}
29240 { (exit 1); exit 1; }; }
29241 ;;
29242 esac
29243
29244 if test "$WXGTK2" = 1; then
29245 save_CFLAGS="$CFLAGS"
29246 save_LIBS="$LIBS"
29247 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
29248 LIBS="$LIBS $wx_cv_libs_gtk"
29249
29250 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
29251 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
29252 cat >conftest.$ac_ext <<_ACEOF
29253 /* confdefs.h. */
29254 _ACEOF
29255 cat confdefs.h >>conftest.$ac_ext
29256 cat >>conftest.$ac_ext <<_ACEOF
29257 /* end confdefs.h. */
29258
29259 #include <gtk/gtk.h>
29260
29261 int
29262 main ()
29263 {
29264
29265 #if !GTK_CHECK_VERSION(2,10,0)
29266 Not GTK+ 2.10
29267 #endif
29268
29269 ;
29270 return 0;
29271 }
29272 _ACEOF
29273 rm -f conftest.$ac_objext
29274 if { (ac_try="$ac_compile"
29275 case "(($ac_try" in
29276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29277 *) ac_try_echo=$ac_try;;
29278 esac
29279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29280 (eval "$ac_compile") 2>conftest.er1
29281 ac_status=$?
29282 grep -v '^ *+' conftest.er1 >conftest.err
29283 rm -f conftest.er1
29284 cat conftest.err >&5
29285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29286 (exit $ac_status); } && {
29287 test -z "$ac_c_werror_flag" ||
29288 test ! -s conftest.err
29289 } && test -s conftest.$ac_objext; then
29290
29291 cat >>confdefs.h <<\_ACEOF
29292 #define __WXGTK210__ 1
29293 _ACEOF
29294
29295 cat >>confdefs.h <<\_ACEOF
29296 #define __WXGTK26__ 1
29297 _ACEOF
29298
29299 { echo "$as_me:$LINENO: result: yes" >&5
29300 echo "${ECHO_T}yes" >&6; }
29301 ac_wxgtk210=1
29302
29303 else
29304 echo "$as_me: failed program was:" >&5
29305 sed 's/^/| /' conftest.$ac_ext >&5
29306
29307
29308 { echo "$as_me:$LINENO: result: no" >&5
29309 echo "${ECHO_T}no" >&6; }
29310 ac_wxgtk210=0
29311
29312 fi
29313
29314 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29315
29316 if test "$ac_wxgtk210" = 0; then
29317 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29318 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29319 cat >conftest.$ac_ext <<_ACEOF
29320 /* confdefs.h. */
29321 _ACEOF
29322 cat confdefs.h >>conftest.$ac_ext
29323 cat >>conftest.$ac_ext <<_ACEOF
29324 /* end confdefs.h. */
29325
29326 #include <gtk/gtk.h>
29327
29328 int
29329 main ()
29330 {
29331
29332 #if !GTK_CHECK_VERSION(2,6,0)
29333 Not GTK+ 2.6
29334 #endif
29335
29336 ;
29337 return 0;
29338 }
29339 _ACEOF
29340 rm -f conftest.$ac_objext
29341 if { (ac_try="$ac_compile"
29342 case "(($ac_try" in
29343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29344 *) ac_try_echo=$ac_try;;
29345 esac
29346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29347 (eval "$ac_compile") 2>conftest.er1
29348 ac_status=$?
29349 grep -v '^ *+' conftest.er1 >conftest.err
29350 rm -f conftest.er1
29351 cat conftest.err >&5
29352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29353 (exit $ac_status); } && {
29354 test -z "$ac_c_werror_flag" ||
29355 test ! -s conftest.err
29356 } && test -s conftest.$ac_objext; then
29357
29358 cat >>confdefs.h <<\_ACEOF
29359 #define __WXGTK26__ 1
29360 _ACEOF
29361
29362 { echo "$as_me:$LINENO: result: yes" >&5
29363 echo "${ECHO_T}yes" >&6; }
29364 ac_wxgtk26=1
29365
29366 else
29367 echo "$as_me: failed program was:" >&5
29368 sed 's/^/| /' conftest.$ac_ext >&5
29369
29370
29371 { echo "$as_me:$LINENO: result: no" >&5
29372 echo "${ECHO_T}no" >&6; }
29373 ac_wxgtk26=0
29374
29375 fi
29376
29377 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29378 fi
29379
29380 CFLAGS="$save_CFLAGS"
29381 LIBS="$save_LIBS"
29382 else
29383 if test "$wxUSE_UNICODE" = "yes"; then
29384 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29385 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29386 wxUSE_UNICODE=no
29387 fi
29388
29389 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29390 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29391 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29392 echo $ECHO_N "(cached) $ECHO_C" >&6
29393 else
29394 ac_check_lib_save_LIBS=$LIBS
29395 LIBS="-lgdk $LIBS"
29396 cat >conftest.$ac_ext <<_ACEOF
29397 /* confdefs.h. */
29398 _ACEOF
29399 cat confdefs.h >>conftest.$ac_ext
29400 cat >>conftest.$ac_ext <<_ACEOF
29401 /* end confdefs.h. */
29402
29403 /* Override any GCC internal prototype to avoid an error.
29404 Use char because int might match the return type of a GCC
29405 builtin and then its argument prototype would still apply. */
29406 #ifdef __cplusplus
29407 extern "C"
29408 #endif
29409 char gdk_im_open ();
29410 int
29411 main ()
29412 {
29413 return gdk_im_open ();
29414 ;
29415 return 0;
29416 }
29417 _ACEOF
29418 rm -f conftest.$ac_objext conftest$ac_exeext
29419 if { (ac_try="$ac_link"
29420 case "(($ac_try" in
29421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29422 *) ac_try_echo=$ac_try;;
29423 esac
29424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29425 (eval "$ac_link") 2>conftest.er1
29426 ac_status=$?
29427 grep -v '^ *+' conftest.er1 >conftest.err
29428 rm -f conftest.er1
29429 cat conftest.err >&5
29430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29431 (exit $ac_status); } && {
29432 test -z "$ac_c_werror_flag" ||
29433 test ! -s conftest.err
29434 } && test -s conftest$ac_exeext &&
29435 $as_test_x conftest$ac_exeext; then
29436 ac_cv_lib_gdk_gdk_im_open=yes
29437 else
29438 echo "$as_me: failed program was:" >&5
29439 sed 's/^/| /' conftest.$ac_ext >&5
29440
29441 ac_cv_lib_gdk_gdk_im_open=no
29442 fi
29443
29444 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29445 conftest$ac_exeext conftest.$ac_ext
29446 LIBS=$ac_check_lib_save_LIBS
29447 fi
29448 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29449 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29450 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29451 cat >>confdefs.h <<\_ACEOF
29452 #define HAVE_XIM 1
29453 _ACEOF
29454
29455 fi
29456
29457
29458 if test "$USE_DARWIN" != 1; then
29459
29460 for ac_func in poll
29461 do
29462 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29463 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29464 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29465 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29466 echo $ECHO_N "(cached) $ECHO_C" >&6
29467 else
29468 cat >conftest.$ac_ext <<_ACEOF
29469 /* confdefs.h. */
29470 _ACEOF
29471 cat confdefs.h >>conftest.$ac_ext
29472 cat >>conftest.$ac_ext <<_ACEOF
29473 /* end confdefs.h. */
29474 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29475 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29476 #define $ac_func innocuous_$ac_func
29477
29478 /* System header to define __stub macros and hopefully few prototypes,
29479 which can conflict with char $ac_func (); below.
29480 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29481 <limits.h> exists even on freestanding compilers. */
29482
29483 #ifdef __STDC__
29484 # include <limits.h>
29485 #else
29486 # include <assert.h>
29487 #endif
29488
29489 #undef $ac_func
29490
29491 /* Override any GCC internal prototype to avoid an error.
29492 Use char because int might match the return type of a GCC
29493 builtin and then its argument prototype would still apply. */
29494 #ifdef __cplusplus
29495 extern "C"
29496 #endif
29497 char $ac_func ();
29498 /* The GNU C library defines this for functions which it implements
29499 to always fail with ENOSYS. Some functions are actually named
29500 something starting with __ and the normal name is an alias. */
29501 #if defined __stub_$ac_func || defined __stub___$ac_func
29502 choke me
29503 #endif
29504
29505 int
29506 main ()
29507 {
29508 return $ac_func ();
29509 ;
29510 return 0;
29511 }
29512 _ACEOF
29513 rm -f conftest.$ac_objext conftest$ac_exeext
29514 if { (ac_try="$ac_link"
29515 case "(($ac_try" in
29516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29517 *) ac_try_echo=$ac_try;;
29518 esac
29519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29520 (eval "$ac_link") 2>conftest.er1
29521 ac_status=$?
29522 grep -v '^ *+' conftest.er1 >conftest.err
29523 rm -f conftest.er1
29524 cat conftest.err >&5
29525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29526 (exit $ac_status); } && {
29527 test -z "$ac_c_werror_flag" ||
29528 test ! -s conftest.err
29529 } && test -s conftest$ac_exeext &&
29530 $as_test_x conftest$ac_exeext; then
29531 eval "$as_ac_var=yes"
29532 else
29533 echo "$as_me: failed program was:" >&5
29534 sed 's/^/| /' conftest.$ac_ext >&5
29535
29536 eval "$as_ac_var=no"
29537 fi
29538
29539 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29540 conftest$ac_exeext conftest.$ac_ext
29541 fi
29542 ac_res=`eval echo '${'$as_ac_var'}'`
29543 { echo "$as_me:$LINENO: result: $ac_res" >&5
29544 echo "${ECHO_T}$ac_res" >&6; }
29545 if test `eval echo '${'$as_ac_var'}'` = yes; then
29546 cat >>confdefs.h <<_ACEOF
29547 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29548 _ACEOF
29549
29550 fi
29551 done
29552
29553 fi
29554 fi
29555
29556 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29557 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29558
29559 AFMINSTALL=afminstall
29560 TOOLKIT=GTK
29561 GUIDIST=GTK_DIST
29562
29563 if test "$wxUSE_GPE" = "yes"; then
29564 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29565 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29566
29567 ac_find_libraries=
29568 for ac_dir in $SEARCH_LIB;
29569 do
29570 for ac_extension in a so sl dylib dll.a; do
29571 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29572 ac_find_libraries=$ac_dir
29573 break 2
29574 fi
29575 done
29576 done
29577
29578 if test "$ac_find_libraries" != "" ; then
29579
29580 if test "$ac_find_libraries" = "default location"; then
29581 ac_path_to_link=""
29582 else
29583 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29584 result=$?
29585 if test $result = 0; then
29586 ac_path_to_link=""
29587 else
29588 ac_path_to_link=" -L$ac_find_libraries"
29589 fi
29590 fi
29591
29592 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29593 WXGPE=1
29594 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29595 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29596 else
29597 { echo "$as_me:$LINENO: result: not found" >&5
29598 echo "${ECHO_T}not found" >&6; }
29599 fi
29600
29601 fi
29602 fi
29603
29604 if test "$wxUSE_MGL" = 1; then
29605 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29606 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29607 if test "x$MGL_ROOT" = x ; then
29608 { echo "$as_me:$LINENO: result: not found" >&5
29609 echo "${ECHO_T}not found" >&6; }
29610 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29611 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29612 { (exit 1); exit 1; }; }
29613 else
29614 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29615 echo "${ECHO_T}$MGL_ROOT" >&6; }
29616 fi
29617
29618 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29619 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29620 case "${host}" in
29621 *-*-linux* )
29622 if test "x$wxUSE_SHARED" = xyes ; then
29623 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29624 else
29625 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29626 fi
29627 ;;
29628 *-pc-msdosdjgpp )
29629 mgl_os_candidates="dos32/dj2"
29630 ;;
29631 *)
29632 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29633 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29634 { (exit 1); exit 1; }; }
29635 esac
29636
29637 mgl_lib_type=""
29638 mgl_os=""
29639
29640 for mgl_os_i in $mgl_os_candidates ; do
29641 if test "x$mgl_os" = x ; then
29642 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29643 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29644 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29645 mgl_lib_type=debug
29646 mgl_os=$mgl_os_i
29647 fi
29648 fi
29649 if test "x$mgl_lib_type" = x ; then
29650 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29651 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29652 mgl_lib_type=release
29653 mgl_os=$mgl_os_i
29654 fi
29655 fi
29656 fi
29657 done
29658
29659 if test "x$mgl_os" = x ; then
29660 { echo "$as_me:$LINENO: result: not found" >&5
29661 echo "${ECHO_T}not found" >&6; }
29662 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29663 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29664 { (exit 1); exit 1; }; }
29665 fi
29666 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29667 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29668
29669 wxUSE_UNIVERSAL="yes"
29670
29671 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29672 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29673
29674 AFMINSTALL=afminstall
29675 TOOLKIT=MGL
29676 GUIDIST=MGL_DIST
29677 fi
29678
29679 if test "$wxUSE_DFB" = 1; then
29680
29681
29682 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29683 if test -n "$ac_tool_prefix"; then
29684 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29685 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29686 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29687 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29688 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29689 echo $ECHO_N "(cached) $ECHO_C" >&6
29690 else
29691 case $PKG_CONFIG in
29692 [\\/]* | ?:[\\/]*)
29693 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29694 ;;
29695 *)
29696 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29697 for as_dir in $PATH
29698 do
29699 IFS=$as_save_IFS
29700 test -z "$as_dir" && as_dir=.
29701 for ac_exec_ext in '' $ac_executable_extensions; do
29702 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29703 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29704 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29705 break 2
29706 fi
29707 done
29708 done
29709 IFS=$as_save_IFS
29710
29711 ;;
29712 esac
29713 fi
29714 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29715 if test -n "$PKG_CONFIG"; then
29716 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29717 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29718 else
29719 { echo "$as_me:$LINENO: result: no" >&5
29720 echo "${ECHO_T}no" >&6; }
29721 fi
29722
29723
29724 fi
29725 if test -z "$ac_cv_path_PKG_CONFIG"; then
29726 ac_pt_PKG_CONFIG=$PKG_CONFIG
29727 # Extract the first word of "pkg-config", so it can be a program name with args.
29728 set dummy pkg-config; ac_word=$2
29729 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29730 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29731 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29732 echo $ECHO_N "(cached) $ECHO_C" >&6
29733 else
29734 case $ac_pt_PKG_CONFIG in
29735 [\\/]* | ?:[\\/]*)
29736 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29737 ;;
29738 *)
29739 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29740 for as_dir in $PATH
29741 do
29742 IFS=$as_save_IFS
29743 test -z "$as_dir" && as_dir=.
29744 for ac_exec_ext in '' $ac_executable_extensions; do
29745 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29746 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29747 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29748 break 2
29749 fi
29750 done
29751 done
29752 IFS=$as_save_IFS
29753
29754 ;;
29755 esac
29756 fi
29757 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29758 if test -n "$ac_pt_PKG_CONFIG"; then
29759 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29760 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29761 else
29762 { echo "$as_me:$LINENO: result: no" >&5
29763 echo "${ECHO_T}no" >&6; }
29764 fi
29765
29766 if test "x$ac_pt_PKG_CONFIG" = x; then
29767 PKG_CONFIG=""
29768 else
29769 case $cross_compiling:$ac_tool_warned in
29770 yes:)
29771 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29772 whose name does not start with the host triplet. If you think this
29773 configuration is useful to you, please write to autoconf@gnu.org." >&5
29774 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29775 whose name does not start with the host triplet. If you think this
29776 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29777 ac_tool_warned=yes ;;
29778 esac
29779 PKG_CONFIG=$ac_pt_PKG_CONFIG
29780 fi
29781 else
29782 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29783 fi
29784
29785 fi
29786 if test -n "$PKG_CONFIG"; then
29787 _pkg_min_version=0.9.0
29788 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29789 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29790 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29791 { echo "$as_me:$LINENO: result: yes" >&5
29792 echo "${ECHO_T}yes" >&6; }
29793 else
29794 { echo "$as_me:$LINENO: result: no" >&5
29795 echo "${ECHO_T}no" >&6; }
29796 PKG_CONFIG=""
29797 fi
29798
29799 fi
29800
29801
29802 pkg_failed=no
29803 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29804 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29805
29806 if test -n "$PKG_CONFIG"; then
29807 if test -n "$DIRECTFB_CFLAGS"; then
29808 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29809 else
29810 if test -n "$PKG_CONFIG" && \
29811 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29812 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29813 ac_status=$?
29814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29815 (exit $ac_status); }; then
29816 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29817 else
29818 pkg_failed=yes
29819 fi
29820 fi
29821 else
29822 pkg_failed=untried
29823 fi
29824 if test -n "$PKG_CONFIG"; then
29825 if test -n "$DIRECTFB_LIBS"; then
29826 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29827 else
29828 if test -n "$PKG_CONFIG" && \
29829 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29830 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29831 ac_status=$?
29832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29833 (exit $ac_status); }; then
29834 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29835 else
29836 pkg_failed=yes
29837 fi
29838 fi
29839 else
29840 pkg_failed=untried
29841 fi
29842
29843
29844
29845 if test $pkg_failed = yes; then
29846
29847 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29848 _pkg_short_errors_supported=yes
29849 else
29850 _pkg_short_errors_supported=no
29851 fi
29852 if test $_pkg_short_errors_supported = yes; then
29853 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29854 else
29855 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29856 fi
29857 # Put the nasty error message in config.log where it belongs
29858 echo "$DIRECTFB_PKG_ERRORS" >&5
29859
29860
29861 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29862 echo "$as_me: error: DirectFB not found." >&2;}
29863 { (exit 1); exit 1; }; }
29864
29865
29866 elif test $pkg_failed = untried; then
29867
29868 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29869 echo "$as_me: error: DirectFB not found." >&2;}
29870 { (exit 1); exit 1; }; }
29871
29872
29873 else
29874 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29875 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29876 { echo "$as_me:$LINENO: result: yes" >&5
29877 echo "${ECHO_T}yes" >&6; }
29878
29879 wxUSE_UNIVERSAL="yes"
29880 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29881 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29882 TOOLKIT=DFB
29883 GUIDIST=DFB_DIST
29884
29885 fi
29886 fi
29887
29888 if test "$wxUSE_MICROWIN" = 1; then
29889 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29890 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29891 if test "x$MICROWINDOWS" = x ; then
29892 { echo "$as_me:$LINENO: result: not found" >&5
29893 echo "${ECHO_T}not found" >&6; }
29894 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29895 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29896 { (exit 1); exit 1; }; }
29897 else
29898 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29899 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29900 fi
29901
29902 if test -f $MICROWINDOWS/lib/libmwin.a; then
29903 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29904 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29905 else
29906 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29907 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29908 { (exit 1); exit 1; }; }
29909 fi
29910
29911 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29912 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29913
29914 wxUSE_UNIVERSAL="yes"
29915
29916 AFMINSTALL=afminstall
29917 TOOLKIT=MICROWIN
29918 GUIDIST=MICROWIN_DIST
29919
29920 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29921 fi
29922
29923 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29924 { echo "$as_me:$LINENO: checking for X" >&5
29925 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29926
29927
29928 # Check whether --with-x was given.
29929 if test "${with_x+set}" = set; then
29930 withval=$with_x;
29931 fi
29932
29933 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29934 if test "x$with_x" = xno; then
29935 # The user explicitly disabled X.
29936 have_x=disabled
29937 else
29938 case $x_includes,$x_libraries in #(
29939 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29940 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29941 { (exit 1); exit 1; }; };; #(
29942 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29943 echo $ECHO_N "(cached) $ECHO_C" >&6
29944 else
29945 # One or both of the vars are not set, and there is no cached value.
29946 ac_x_includes=no ac_x_libraries=no
29947 rm -f -r conftest.dir
29948 if mkdir conftest.dir; then
29949 cd conftest.dir
29950 cat >Imakefile <<'_ACEOF'
29951 incroot:
29952 @echo incroot='${INCROOT}'
29953 usrlibdir:
29954 @echo usrlibdir='${USRLIBDIR}'
29955 libdir:
29956 @echo libdir='${LIBDIR}'
29957 _ACEOF
29958 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29959 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29960 for ac_var in incroot usrlibdir libdir; do
29961 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29962 done
29963 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29964 for ac_extension in a so sl; do
29965 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29966 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29967 ac_im_usrlibdir=$ac_im_libdir; break
29968 fi
29969 done
29970 # Screen out bogus values from the imake configuration. They are
29971 # bogus both because they are the default anyway, and because
29972 # using them would break gcc on systems where it needs fixed includes.
29973 case $ac_im_incroot in
29974 /usr/include) ac_x_includes= ;;
29975 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29976 esac
29977 case $ac_im_usrlibdir in
29978 /usr/lib | /lib) ;;
29979 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29980 esac
29981 fi
29982 cd ..
29983 rm -f -r conftest.dir
29984 fi
29985
29986 # Standard set of common directories for X headers.
29987 # Check X11 before X11Rn because it is often a symlink to the current release.
29988 ac_x_header_dirs='
29989 /usr/X11/include
29990 /usr/X11R6/include
29991 /usr/X11R5/include
29992 /usr/X11R4/include
29993
29994 /usr/include/X11
29995 /usr/include/X11R6
29996 /usr/include/X11R5
29997 /usr/include/X11R4
29998
29999 /usr/local/X11/include
30000 /usr/local/X11R6/include
30001 /usr/local/X11R5/include
30002 /usr/local/X11R4/include
30003
30004 /usr/local/include/X11
30005 /usr/local/include/X11R6
30006 /usr/local/include/X11R5
30007 /usr/local/include/X11R4
30008
30009 /usr/X386/include
30010 /usr/x386/include
30011 /usr/XFree86/include/X11
30012
30013 /usr/include
30014 /usr/local/include
30015 /usr/unsupported/include
30016 /usr/athena/include
30017 /usr/local/x11r5/include
30018 /usr/lpp/Xamples/include
30019
30020 /usr/openwin/include
30021 /usr/openwin/share/include'
30022
30023 if test "$ac_x_includes" = no; then
30024 # Guess where to find include files, by looking for Xlib.h.
30025 # First, try using that file with no special directory specified.
30026 cat >conftest.$ac_ext <<_ACEOF
30027 /* confdefs.h. */
30028 _ACEOF
30029 cat confdefs.h >>conftest.$ac_ext
30030 cat >>conftest.$ac_ext <<_ACEOF
30031 /* end confdefs.h. */
30032 #include <X11/Xlib.h>
30033 _ACEOF
30034 if { (ac_try="$ac_cpp conftest.$ac_ext"
30035 case "(($ac_try" in
30036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30037 *) ac_try_echo=$ac_try;;
30038 esac
30039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30040 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
30041 ac_status=$?
30042 grep -v '^ *+' conftest.er1 >conftest.err
30043 rm -f conftest.er1
30044 cat conftest.err >&5
30045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30046 (exit $ac_status); } >/dev/null && {
30047 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
30048 test ! -s conftest.err
30049 }; then
30050 # We can compile using X headers with no special include directory.
30051 ac_x_includes=
30052 else
30053 echo "$as_me: failed program was:" >&5
30054 sed 's/^/| /' conftest.$ac_ext >&5
30055
30056 for ac_dir in $ac_x_header_dirs; do
30057 if test -r "$ac_dir/X11/Xlib.h"; then
30058 ac_x_includes=$ac_dir
30059 break
30060 fi
30061 done
30062 fi
30063
30064 rm -f conftest.err conftest.$ac_ext
30065 fi # $ac_x_includes = no
30066
30067 if test "$ac_x_libraries" = no; then
30068 # Check for the libraries.
30069 # See if we find them without any special options.
30070 # Don't add to $LIBS permanently.
30071 ac_save_LIBS=$LIBS
30072 LIBS="-lX11 $LIBS"
30073 cat >conftest.$ac_ext <<_ACEOF
30074 /* confdefs.h. */
30075 _ACEOF
30076 cat confdefs.h >>conftest.$ac_ext
30077 cat >>conftest.$ac_ext <<_ACEOF
30078 /* end confdefs.h. */
30079 #include <X11/Xlib.h>
30080 int
30081 main ()
30082 {
30083 XrmInitialize ()
30084 ;
30085 return 0;
30086 }
30087 _ACEOF
30088 rm -f conftest.$ac_objext conftest$ac_exeext
30089 if { (ac_try="$ac_link"
30090 case "(($ac_try" in
30091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30092 *) ac_try_echo=$ac_try;;
30093 esac
30094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30095 (eval "$ac_link") 2>conftest.er1
30096 ac_status=$?
30097 grep -v '^ *+' conftest.er1 >conftest.err
30098 rm -f conftest.er1
30099 cat conftest.err >&5
30100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30101 (exit $ac_status); } && {
30102 test -z "$ac_c_werror_flag" ||
30103 test ! -s conftest.err
30104 } && test -s conftest$ac_exeext &&
30105 $as_test_x conftest$ac_exeext; then
30106 LIBS=$ac_save_LIBS
30107 # We can link X programs with no special library path.
30108 ac_x_libraries=
30109 else
30110 echo "$as_me: failed program was:" >&5
30111 sed 's/^/| /' conftest.$ac_ext >&5
30112
30113 LIBS=$ac_save_LIBS
30114 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
30115 do
30116 # Don't even attempt the hair of trying to link an X program!
30117 for ac_extension in a so sl; do
30118 if test -r "$ac_dir/libX11.$ac_extension"; then
30119 ac_x_libraries=$ac_dir
30120 break 2
30121 fi
30122 done
30123 done
30124 fi
30125
30126 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30127 conftest$ac_exeext conftest.$ac_ext
30128 fi # $ac_x_libraries = no
30129
30130 case $ac_x_includes,$ac_x_libraries in #(
30131 no,* | *,no | *\'*)
30132 # Didn't find X, or a directory has "'" in its name.
30133 ac_cv_have_x="have_x=no";; #(
30134 *)
30135 # Record where we found X for the cache.
30136 ac_cv_have_x="have_x=yes\
30137 ac_x_includes='$ac_x_includes'\
30138 ac_x_libraries='$ac_x_libraries'"
30139 esac
30140 fi
30141 ;; #(
30142 *) have_x=yes;;
30143 esac
30144 eval "$ac_cv_have_x"
30145 fi # $with_x != no
30146
30147 if test "$have_x" != yes; then
30148 { echo "$as_me:$LINENO: result: $have_x" >&5
30149 echo "${ECHO_T}$have_x" >&6; }
30150 no_x=yes
30151 else
30152 # If each of the values was on the command line, it overrides each guess.
30153 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
30154 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
30155 # Update the cache value to reflect the command line values.
30156 ac_cv_have_x="have_x=yes\
30157 ac_x_includes='$x_includes'\
30158 ac_x_libraries='$x_libraries'"
30159 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
30160 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
30161 fi
30162
30163 if test "$no_x" = yes; then
30164 # Not all programs may use this symbol, but it does not hurt to define it.
30165
30166 cat >>confdefs.h <<\_ACEOF
30167 #define X_DISPLAY_MISSING 1
30168 _ACEOF
30169
30170 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
30171 else
30172 if test -n "$x_includes"; then
30173 X_CFLAGS="$X_CFLAGS -I$x_includes"
30174 fi
30175
30176 # It would also be nice to do this for all -L options, not just this one.
30177 if test -n "$x_libraries"; then
30178 X_LIBS="$X_LIBS -L$x_libraries"
30179 # For Solaris; some versions of Sun CC require a space after -R and
30180 # others require no space. Words are not sufficient . . . .
30181 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
30182 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
30183 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
30184 ac_xsave_c_werror_flag=$ac_c_werror_flag
30185 ac_c_werror_flag=yes
30186 cat >conftest.$ac_ext <<_ACEOF
30187 /* confdefs.h. */
30188 _ACEOF
30189 cat confdefs.h >>conftest.$ac_ext
30190 cat >>conftest.$ac_ext <<_ACEOF
30191 /* end confdefs.h. */
30192
30193 int
30194 main ()
30195 {
30196
30197 ;
30198 return 0;
30199 }
30200 _ACEOF
30201 rm -f conftest.$ac_objext conftest$ac_exeext
30202 if { (ac_try="$ac_link"
30203 case "(($ac_try" in
30204 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30205 *) ac_try_echo=$ac_try;;
30206 esac
30207 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30208 (eval "$ac_link") 2>conftest.er1
30209 ac_status=$?
30210 grep -v '^ *+' conftest.er1 >conftest.err
30211 rm -f conftest.er1
30212 cat conftest.err >&5
30213 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30214 (exit $ac_status); } && {
30215 test -z "$ac_c_werror_flag" ||
30216 test ! -s conftest.err
30217 } && test -s conftest$ac_exeext &&
30218 $as_test_x conftest$ac_exeext; then
30219 { echo "$as_me:$LINENO: result: no" >&5
30220 echo "${ECHO_T}no" >&6; }
30221 X_LIBS="$X_LIBS -R$x_libraries"
30222 else
30223 echo "$as_me: failed program was:" >&5
30224 sed 's/^/| /' conftest.$ac_ext >&5
30225
30226 LIBS="$ac_xsave_LIBS -R $x_libraries"
30227 cat >conftest.$ac_ext <<_ACEOF
30228 /* confdefs.h. */
30229 _ACEOF
30230 cat confdefs.h >>conftest.$ac_ext
30231 cat >>conftest.$ac_ext <<_ACEOF
30232 /* end confdefs.h. */
30233
30234 int
30235 main ()
30236 {
30237
30238 ;
30239 return 0;
30240 }
30241 _ACEOF
30242 rm -f conftest.$ac_objext conftest$ac_exeext
30243 if { (ac_try="$ac_link"
30244 case "(($ac_try" in
30245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30246 *) ac_try_echo=$ac_try;;
30247 esac
30248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30249 (eval "$ac_link") 2>conftest.er1
30250 ac_status=$?
30251 grep -v '^ *+' conftest.er1 >conftest.err
30252 rm -f conftest.er1
30253 cat conftest.err >&5
30254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30255 (exit $ac_status); } && {
30256 test -z "$ac_c_werror_flag" ||
30257 test ! -s conftest.err
30258 } && test -s conftest$ac_exeext &&
30259 $as_test_x conftest$ac_exeext; then
30260 { echo "$as_me:$LINENO: result: yes" >&5
30261 echo "${ECHO_T}yes" >&6; }
30262 X_LIBS="$X_LIBS -R $x_libraries"
30263 else
30264 echo "$as_me: failed program was:" >&5
30265 sed 's/^/| /' conftest.$ac_ext >&5
30266
30267 { echo "$as_me:$LINENO: result: neither works" >&5
30268 echo "${ECHO_T}neither works" >&6; }
30269 fi
30270
30271 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30272 conftest$ac_exeext conftest.$ac_ext
30273 fi
30274
30275 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30276 conftest$ac_exeext conftest.$ac_ext
30277 ac_c_werror_flag=$ac_xsave_c_werror_flag
30278 LIBS=$ac_xsave_LIBS
30279 fi
30280
30281 # Check for system-dependent libraries X programs must link with.
30282 # Do this before checking for the system-independent R6 libraries
30283 # (-lICE), since we may need -lsocket or whatever for X linking.
30284
30285 if test "$ISC" = yes; then
30286 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
30287 else
30288 # Martyn Johnson says this is needed for Ultrix, if the X
30289 # libraries were built with DECnet support. And Karl Berry says
30290 # the Alpha needs dnet_stub (dnet does not exist).
30291 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
30292 cat >conftest.$ac_ext <<_ACEOF
30293 /* confdefs.h. */
30294 _ACEOF
30295 cat confdefs.h >>conftest.$ac_ext
30296 cat >>conftest.$ac_ext <<_ACEOF
30297 /* end confdefs.h. */
30298
30299 /* Override any GCC internal prototype to avoid an error.
30300 Use char because int might match the return type of a GCC
30301 builtin and then its argument prototype would still apply. */
30302 #ifdef __cplusplus
30303 extern "C"
30304 #endif
30305 char XOpenDisplay ();
30306 int
30307 main ()
30308 {
30309 return XOpenDisplay ();
30310 ;
30311 return 0;
30312 }
30313 _ACEOF
30314 rm -f conftest.$ac_objext conftest$ac_exeext
30315 if { (ac_try="$ac_link"
30316 case "(($ac_try" in
30317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30318 *) ac_try_echo=$ac_try;;
30319 esac
30320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30321 (eval "$ac_link") 2>conftest.er1
30322 ac_status=$?
30323 grep -v '^ *+' conftest.er1 >conftest.err
30324 rm -f conftest.er1
30325 cat conftest.err >&5
30326 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30327 (exit $ac_status); } && {
30328 test -z "$ac_c_werror_flag" ||
30329 test ! -s conftest.err
30330 } && test -s conftest$ac_exeext &&
30331 $as_test_x conftest$ac_exeext; then
30332 :
30333 else
30334 echo "$as_me: failed program was:" >&5
30335 sed 's/^/| /' conftest.$ac_ext >&5
30336
30337 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30338 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30339 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30340 echo $ECHO_N "(cached) $ECHO_C" >&6
30341 else
30342 ac_check_lib_save_LIBS=$LIBS
30343 LIBS="-ldnet $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
30352 Use char because int might match the return type of a GCC
30353 builtin and then its argument prototype would still apply. */
30354 #ifdef __cplusplus
30355 extern "C"
30356 #endif
30357 char dnet_ntoa ();
30358 int
30359 main ()
30360 {
30361 return dnet_ntoa ();
30362 ;
30363 return 0;
30364 }
30365 _ACEOF
30366 rm -f conftest.$ac_objext conftest$ac_exeext
30367 if { (ac_try="$ac_link"
30368 case "(($ac_try" in
30369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30370 *) ac_try_echo=$ac_try;;
30371 esac
30372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30373 (eval "$ac_link") 2>conftest.er1
30374 ac_status=$?
30375 grep -v '^ *+' conftest.er1 >conftest.err
30376 rm -f conftest.er1
30377 cat conftest.err >&5
30378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30379 (exit $ac_status); } && {
30380 test -z "$ac_c_werror_flag" ||
30381 test ! -s conftest.err
30382 } && test -s conftest$ac_exeext &&
30383 $as_test_x conftest$ac_exeext; then
30384 ac_cv_lib_dnet_dnet_ntoa=yes
30385 else
30386 echo "$as_me: failed program was:" >&5
30387 sed 's/^/| /' conftest.$ac_ext >&5
30388
30389 ac_cv_lib_dnet_dnet_ntoa=no
30390 fi
30391
30392 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30393 conftest$ac_exeext conftest.$ac_ext
30394 LIBS=$ac_check_lib_save_LIBS
30395 fi
30396 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30397 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30398 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30399 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30400 fi
30401
30402 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30403 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30404 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30405 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30406 echo $ECHO_N "(cached) $ECHO_C" >&6
30407 else
30408 ac_check_lib_save_LIBS=$LIBS
30409 LIBS="-ldnet_stub $LIBS"
30410 cat >conftest.$ac_ext <<_ACEOF
30411 /* confdefs.h. */
30412 _ACEOF
30413 cat confdefs.h >>conftest.$ac_ext
30414 cat >>conftest.$ac_ext <<_ACEOF
30415 /* end confdefs.h. */
30416
30417 /* Override any GCC internal prototype to avoid an error.
30418 Use char because int might match the return type of a GCC
30419 builtin and then its argument prototype would still apply. */
30420 #ifdef __cplusplus
30421 extern "C"
30422 #endif
30423 char dnet_ntoa ();
30424 int
30425 main ()
30426 {
30427 return dnet_ntoa ();
30428 ;
30429 return 0;
30430 }
30431 _ACEOF
30432 rm -f conftest.$ac_objext conftest$ac_exeext
30433 if { (ac_try="$ac_link"
30434 case "(($ac_try" in
30435 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30436 *) ac_try_echo=$ac_try;;
30437 esac
30438 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30439 (eval "$ac_link") 2>conftest.er1
30440 ac_status=$?
30441 grep -v '^ *+' conftest.er1 >conftest.err
30442 rm -f conftest.er1
30443 cat conftest.err >&5
30444 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30445 (exit $ac_status); } && {
30446 test -z "$ac_c_werror_flag" ||
30447 test ! -s conftest.err
30448 } && test -s conftest$ac_exeext &&
30449 $as_test_x conftest$ac_exeext; then
30450 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30451 else
30452 echo "$as_me: failed program was:" >&5
30453 sed 's/^/| /' conftest.$ac_ext >&5
30454
30455 ac_cv_lib_dnet_stub_dnet_ntoa=no
30456 fi
30457
30458 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30459 conftest$ac_exeext conftest.$ac_ext
30460 LIBS=$ac_check_lib_save_LIBS
30461 fi
30462 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30463 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30464 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30465 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30466 fi
30467
30468 fi
30469 fi
30470
30471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30472 conftest$ac_exeext conftest.$ac_ext
30473 LIBS="$ac_xsave_LIBS"
30474
30475 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30476 # to get the SysV transport functions.
30477 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30478 # needs -lnsl.
30479 # The nsl library prevents programs from opening the X display
30480 # on Irix 5.2, according to T.E. Dickey.
30481 # The functions gethostbyname, getservbyname, and inet_addr are
30482 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30483 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30484 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30485 if test "${ac_cv_func_gethostbyname+set}" = set; then
30486 echo $ECHO_N "(cached) $ECHO_C" >&6
30487 else
30488 cat >conftest.$ac_ext <<_ACEOF
30489 /* confdefs.h. */
30490 _ACEOF
30491 cat confdefs.h >>conftest.$ac_ext
30492 cat >>conftest.$ac_ext <<_ACEOF
30493 /* end confdefs.h. */
30494 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30495 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30496 #define gethostbyname innocuous_gethostbyname
30497
30498 /* System header to define __stub macros and hopefully few prototypes,
30499 which can conflict with char gethostbyname (); below.
30500 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30501 <limits.h> exists even on freestanding compilers. */
30502
30503 #ifdef __STDC__
30504 # include <limits.h>
30505 #else
30506 # include <assert.h>
30507 #endif
30508
30509 #undef gethostbyname
30510
30511 /* Override any GCC internal prototype to avoid an error.
30512 Use char because int might match the return type of a GCC
30513 builtin and then its argument prototype would still apply. */
30514 #ifdef __cplusplus
30515 extern "C"
30516 #endif
30517 char gethostbyname ();
30518 /* The GNU C library defines this for functions which it implements
30519 to always fail with ENOSYS. Some functions are actually named
30520 something starting with __ and the normal name is an alias. */
30521 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30522 choke me
30523 #endif
30524
30525 int
30526 main ()
30527 {
30528 return gethostbyname ();
30529 ;
30530 return 0;
30531 }
30532 _ACEOF
30533 rm -f conftest.$ac_objext conftest$ac_exeext
30534 if { (ac_try="$ac_link"
30535 case "(($ac_try" in
30536 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30537 *) ac_try_echo=$ac_try;;
30538 esac
30539 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30540 (eval "$ac_link") 2>conftest.er1
30541 ac_status=$?
30542 grep -v '^ *+' conftest.er1 >conftest.err
30543 rm -f conftest.er1
30544 cat conftest.err >&5
30545 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30546 (exit $ac_status); } && {
30547 test -z "$ac_c_werror_flag" ||
30548 test ! -s conftest.err
30549 } && test -s conftest$ac_exeext &&
30550 $as_test_x conftest$ac_exeext; then
30551 ac_cv_func_gethostbyname=yes
30552 else
30553 echo "$as_me: failed program was:" >&5
30554 sed 's/^/| /' conftest.$ac_ext >&5
30555
30556 ac_cv_func_gethostbyname=no
30557 fi
30558
30559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30560 conftest$ac_exeext conftest.$ac_ext
30561 fi
30562 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30563 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30564
30565 if test $ac_cv_func_gethostbyname = no; then
30566 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30567 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30568 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30569 echo $ECHO_N "(cached) $ECHO_C" >&6
30570 else
30571 ac_check_lib_save_LIBS=$LIBS
30572 LIBS="-lnsl $LIBS"
30573 cat >conftest.$ac_ext <<_ACEOF
30574 /* confdefs.h. */
30575 _ACEOF
30576 cat confdefs.h >>conftest.$ac_ext
30577 cat >>conftest.$ac_ext <<_ACEOF
30578 /* end confdefs.h. */
30579
30580 /* Override any GCC internal prototype to avoid an error.
30581 Use char because int might match the return type of a GCC
30582 builtin and then its argument prototype would still apply. */
30583 #ifdef __cplusplus
30584 extern "C"
30585 #endif
30586 char gethostbyname ();
30587 int
30588 main ()
30589 {
30590 return gethostbyname ();
30591 ;
30592 return 0;
30593 }
30594 _ACEOF
30595 rm -f conftest.$ac_objext conftest$ac_exeext
30596 if { (ac_try="$ac_link"
30597 case "(($ac_try" in
30598 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30599 *) ac_try_echo=$ac_try;;
30600 esac
30601 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30602 (eval "$ac_link") 2>conftest.er1
30603 ac_status=$?
30604 grep -v '^ *+' conftest.er1 >conftest.err
30605 rm -f conftest.er1
30606 cat conftest.err >&5
30607 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30608 (exit $ac_status); } && {
30609 test -z "$ac_c_werror_flag" ||
30610 test ! -s conftest.err
30611 } && test -s conftest$ac_exeext &&
30612 $as_test_x conftest$ac_exeext; then
30613 ac_cv_lib_nsl_gethostbyname=yes
30614 else
30615 echo "$as_me: failed program was:" >&5
30616 sed 's/^/| /' conftest.$ac_ext >&5
30617
30618 ac_cv_lib_nsl_gethostbyname=no
30619 fi
30620
30621 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30622 conftest$ac_exeext conftest.$ac_ext
30623 LIBS=$ac_check_lib_save_LIBS
30624 fi
30625 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30626 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30627 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30628 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30629 fi
30630
30631 if test $ac_cv_lib_nsl_gethostbyname = no; then
30632 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30633 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30634 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30635 echo $ECHO_N "(cached) $ECHO_C" >&6
30636 else
30637 ac_check_lib_save_LIBS=$LIBS
30638 LIBS="-lbsd $LIBS"
30639 cat >conftest.$ac_ext <<_ACEOF
30640 /* confdefs.h. */
30641 _ACEOF
30642 cat confdefs.h >>conftest.$ac_ext
30643 cat >>conftest.$ac_ext <<_ACEOF
30644 /* end confdefs.h. */
30645
30646 /* Override any GCC internal prototype to avoid an error.
30647 Use char because int might match the return type of a GCC
30648 builtin and then its argument prototype would still apply. */
30649 #ifdef __cplusplus
30650 extern "C"
30651 #endif
30652 char gethostbyname ();
30653 int
30654 main ()
30655 {
30656 return gethostbyname ();
30657 ;
30658 return 0;
30659 }
30660 _ACEOF
30661 rm -f conftest.$ac_objext conftest$ac_exeext
30662 if { (ac_try="$ac_link"
30663 case "(($ac_try" in
30664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30665 *) ac_try_echo=$ac_try;;
30666 esac
30667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30668 (eval "$ac_link") 2>conftest.er1
30669 ac_status=$?
30670 grep -v '^ *+' conftest.er1 >conftest.err
30671 rm -f conftest.er1
30672 cat conftest.err >&5
30673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30674 (exit $ac_status); } && {
30675 test -z "$ac_c_werror_flag" ||
30676 test ! -s conftest.err
30677 } && test -s conftest$ac_exeext &&
30678 $as_test_x conftest$ac_exeext; then
30679 ac_cv_lib_bsd_gethostbyname=yes
30680 else
30681 echo "$as_me: failed program was:" >&5
30682 sed 's/^/| /' conftest.$ac_ext >&5
30683
30684 ac_cv_lib_bsd_gethostbyname=no
30685 fi
30686
30687 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30688 conftest$ac_exeext conftest.$ac_ext
30689 LIBS=$ac_check_lib_save_LIBS
30690 fi
30691 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30692 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30693 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30694 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30695 fi
30696
30697 fi
30698 fi
30699
30700 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30701 # socket/setsockopt and other routines are undefined under SCO ODT
30702 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30703 # on later versions), says Simon Leinen: it contains gethostby*
30704 # variants that don't use the name server (or something). -lsocket
30705 # must be given before -lnsl if both are needed. We assume that
30706 # if connect needs -lnsl, so does gethostbyname.
30707 { echo "$as_me:$LINENO: checking for connect" >&5
30708 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30709 if test "${ac_cv_func_connect+set}" = set; then
30710 echo $ECHO_N "(cached) $ECHO_C" >&6
30711 else
30712 cat >conftest.$ac_ext <<_ACEOF
30713 /* confdefs.h. */
30714 _ACEOF
30715 cat confdefs.h >>conftest.$ac_ext
30716 cat >>conftest.$ac_ext <<_ACEOF
30717 /* end confdefs.h. */
30718 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30719 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30720 #define connect innocuous_connect
30721
30722 /* System header to define __stub macros and hopefully few prototypes,
30723 which can conflict with char connect (); below.
30724 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30725 <limits.h> exists even on freestanding compilers. */
30726
30727 #ifdef __STDC__
30728 # include <limits.h>
30729 #else
30730 # include <assert.h>
30731 #endif
30732
30733 #undef connect
30734
30735 /* Override any GCC internal prototype to avoid an error.
30736 Use char because int might match the return type of a GCC
30737 builtin and then its argument prototype would still apply. */
30738 #ifdef __cplusplus
30739 extern "C"
30740 #endif
30741 char connect ();
30742 /* The GNU C library defines this for functions which it implements
30743 to always fail with ENOSYS. Some functions are actually named
30744 something starting with __ and the normal name is an alias. */
30745 #if defined __stub_connect || defined __stub___connect
30746 choke me
30747 #endif
30748
30749 int
30750 main ()
30751 {
30752 return connect ();
30753 ;
30754 return 0;
30755 }
30756 _ACEOF
30757 rm -f conftest.$ac_objext conftest$ac_exeext
30758 if { (ac_try="$ac_link"
30759 case "(($ac_try" in
30760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30761 *) ac_try_echo=$ac_try;;
30762 esac
30763 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30764 (eval "$ac_link") 2>conftest.er1
30765 ac_status=$?
30766 grep -v '^ *+' conftest.er1 >conftest.err
30767 rm -f conftest.er1
30768 cat conftest.err >&5
30769 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30770 (exit $ac_status); } && {
30771 test -z "$ac_c_werror_flag" ||
30772 test ! -s conftest.err
30773 } && test -s conftest$ac_exeext &&
30774 $as_test_x conftest$ac_exeext; then
30775 ac_cv_func_connect=yes
30776 else
30777 echo "$as_me: failed program was:" >&5
30778 sed 's/^/| /' conftest.$ac_ext >&5
30779
30780 ac_cv_func_connect=no
30781 fi
30782
30783 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30784 conftest$ac_exeext conftest.$ac_ext
30785 fi
30786 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30787 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30788
30789 if test $ac_cv_func_connect = no; then
30790 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30791 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30792 if test "${ac_cv_lib_socket_connect+set}" = set; then
30793 echo $ECHO_N "(cached) $ECHO_C" >&6
30794 else
30795 ac_check_lib_save_LIBS=$LIBS
30796 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30797 cat >conftest.$ac_ext <<_ACEOF
30798 /* confdefs.h. */
30799 _ACEOF
30800 cat confdefs.h >>conftest.$ac_ext
30801 cat >>conftest.$ac_ext <<_ACEOF
30802 /* end confdefs.h. */
30803
30804 /* Override any GCC internal prototype to avoid an error.
30805 Use char because int might match the return type of a GCC
30806 builtin and then its argument prototype would still apply. */
30807 #ifdef __cplusplus
30808 extern "C"
30809 #endif
30810 char connect ();
30811 int
30812 main ()
30813 {
30814 return connect ();
30815 ;
30816 return 0;
30817 }
30818 _ACEOF
30819 rm -f conftest.$ac_objext conftest$ac_exeext
30820 if { (ac_try="$ac_link"
30821 case "(($ac_try" in
30822 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30823 *) ac_try_echo=$ac_try;;
30824 esac
30825 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30826 (eval "$ac_link") 2>conftest.er1
30827 ac_status=$?
30828 grep -v '^ *+' conftest.er1 >conftest.err
30829 rm -f conftest.er1
30830 cat conftest.err >&5
30831 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30832 (exit $ac_status); } && {
30833 test -z "$ac_c_werror_flag" ||
30834 test ! -s conftest.err
30835 } && test -s conftest$ac_exeext &&
30836 $as_test_x conftest$ac_exeext; then
30837 ac_cv_lib_socket_connect=yes
30838 else
30839 echo "$as_me: failed program was:" >&5
30840 sed 's/^/| /' conftest.$ac_ext >&5
30841
30842 ac_cv_lib_socket_connect=no
30843 fi
30844
30845 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30846 conftest$ac_exeext conftest.$ac_ext
30847 LIBS=$ac_check_lib_save_LIBS
30848 fi
30849 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30850 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30851 if test $ac_cv_lib_socket_connect = yes; then
30852 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30853 fi
30854
30855 fi
30856
30857 # Guillermo Gomez says -lposix is necessary on A/UX.
30858 { echo "$as_me:$LINENO: checking for remove" >&5
30859 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30860 if test "${ac_cv_func_remove+set}" = set; then
30861 echo $ECHO_N "(cached) $ECHO_C" >&6
30862 else
30863 cat >conftest.$ac_ext <<_ACEOF
30864 /* confdefs.h. */
30865 _ACEOF
30866 cat confdefs.h >>conftest.$ac_ext
30867 cat >>conftest.$ac_ext <<_ACEOF
30868 /* end confdefs.h. */
30869 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30870 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30871 #define remove innocuous_remove
30872
30873 /* System header to define __stub macros and hopefully few prototypes,
30874 which can conflict with char remove (); below.
30875 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30876 <limits.h> exists even on freestanding compilers. */
30877
30878 #ifdef __STDC__
30879 # include <limits.h>
30880 #else
30881 # include <assert.h>
30882 #endif
30883
30884 #undef remove
30885
30886 /* Override any GCC internal prototype to avoid an error.
30887 Use char because int might match the return type of a GCC
30888 builtin and then its argument prototype would still apply. */
30889 #ifdef __cplusplus
30890 extern "C"
30891 #endif
30892 char remove ();
30893 /* The GNU C library defines this for functions which it implements
30894 to always fail with ENOSYS. Some functions are actually named
30895 something starting with __ and the normal name is an alias. */
30896 #if defined __stub_remove || defined __stub___remove
30897 choke me
30898 #endif
30899
30900 int
30901 main ()
30902 {
30903 return remove ();
30904 ;
30905 return 0;
30906 }
30907 _ACEOF
30908 rm -f conftest.$ac_objext conftest$ac_exeext
30909 if { (ac_try="$ac_link"
30910 case "(($ac_try" in
30911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30912 *) ac_try_echo=$ac_try;;
30913 esac
30914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30915 (eval "$ac_link") 2>conftest.er1
30916 ac_status=$?
30917 grep -v '^ *+' conftest.er1 >conftest.err
30918 rm -f conftest.er1
30919 cat conftest.err >&5
30920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30921 (exit $ac_status); } && {
30922 test -z "$ac_c_werror_flag" ||
30923 test ! -s conftest.err
30924 } && test -s conftest$ac_exeext &&
30925 $as_test_x conftest$ac_exeext; then
30926 ac_cv_func_remove=yes
30927 else
30928 echo "$as_me: failed program was:" >&5
30929 sed 's/^/| /' conftest.$ac_ext >&5
30930
30931 ac_cv_func_remove=no
30932 fi
30933
30934 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30935 conftest$ac_exeext conftest.$ac_ext
30936 fi
30937 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30938 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30939
30940 if test $ac_cv_func_remove = no; then
30941 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30942 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30943 if test "${ac_cv_lib_posix_remove+set}" = set; then
30944 echo $ECHO_N "(cached) $ECHO_C" >&6
30945 else
30946 ac_check_lib_save_LIBS=$LIBS
30947 LIBS="-lposix $LIBS"
30948 cat >conftest.$ac_ext <<_ACEOF
30949 /* confdefs.h. */
30950 _ACEOF
30951 cat confdefs.h >>conftest.$ac_ext
30952 cat >>conftest.$ac_ext <<_ACEOF
30953 /* end confdefs.h. */
30954
30955 /* Override any GCC internal prototype to avoid an error.
30956 Use char because int might match the return type of a GCC
30957 builtin and then its argument prototype would still apply. */
30958 #ifdef __cplusplus
30959 extern "C"
30960 #endif
30961 char remove ();
30962 int
30963 main ()
30964 {
30965 return remove ();
30966 ;
30967 return 0;
30968 }
30969 _ACEOF
30970 rm -f conftest.$ac_objext conftest$ac_exeext
30971 if { (ac_try="$ac_link"
30972 case "(($ac_try" in
30973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30974 *) ac_try_echo=$ac_try;;
30975 esac
30976 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30977 (eval "$ac_link") 2>conftest.er1
30978 ac_status=$?
30979 grep -v '^ *+' conftest.er1 >conftest.err
30980 rm -f conftest.er1
30981 cat conftest.err >&5
30982 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30983 (exit $ac_status); } && {
30984 test -z "$ac_c_werror_flag" ||
30985 test ! -s conftest.err
30986 } && test -s conftest$ac_exeext &&
30987 $as_test_x conftest$ac_exeext; then
30988 ac_cv_lib_posix_remove=yes
30989 else
30990 echo "$as_me: failed program was:" >&5
30991 sed 's/^/| /' conftest.$ac_ext >&5
30992
30993 ac_cv_lib_posix_remove=no
30994 fi
30995
30996 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30997 conftest$ac_exeext conftest.$ac_ext
30998 LIBS=$ac_check_lib_save_LIBS
30999 fi
31000 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
31001 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
31002 if test $ac_cv_lib_posix_remove = yes; then
31003 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
31004 fi
31005
31006 fi
31007
31008 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
31009 { echo "$as_me:$LINENO: checking for shmat" >&5
31010 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
31011 if test "${ac_cv_func_shmat+set}" = set; then
31012 echo $ECHO_N "(cached) $ECHO_C" >&6
31013 else
31014 cat >conftest.$ac_ext <<_ACEOF
31015 /* confdefs.h. */
31016 _ACEOF
31017 cat confdefs.h >>conftest.$ac_ext
31018 cat >>conftest.$ac_ext <<_ACEOF
31019 /* end confdefs.h. */
31020 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
31021 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31022 #define shmat innocuous_shmat
31023
31024 /* System header to define __stub macros and hopefully few prototypes,
31025 which can conflict with char shmat (); below.
31026 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31027 <limits.h> exists even on freestanding compilers. */
31028
31029 #ifdef __STDC__
31030 # include <limits.h>
31031 #else
31032 # include <assert.h>
31033 #endif
31034
31035 #undef shmat
31036
31037 /* Override any GCC internal prototype to avoid an error.
31038 Use char because int might match the return type of a GCC
31039 builtin and then its argument prototype would still apply. */
31040 #ifdef __cplusplus
31041 extern "C"
31042 #endif
31043 char shmat ();
31044 /* The GNU C library defines this for functions which it implements
31045 to always fail with ENOSYS. Some functions are actually named
31046 something starting with __ and the normal name is an alias. */
31047 #if defined __stub_shmat || defined __stub___shmat
31048 choke me
31049 #endif
31050
31051 int
31052 main ()
31053 {
31054 return shmat ();
31055 ;
31056 return 0;
31057 }
31058 _ACEOF
31059 rm -f conftest.$ac_objext conftest$ac_exeext
31060 if { (ac_try="$ac_link"
31061 case "(($ac_try" in
31062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31063 *) ac_try_echo=$ac_try;;
31064 esac
31065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31066 (eval "$ac_link") 2>conftest.er1
31067 ac_status=$?
31068 grep -v '^ *+' conftest.er1 >conftest.err
31069 rm -f conftest.er1
31070 cat conftest.err >&5
31071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31072 (exit $ac_status); } && {
31073 test -z "$ac_c_werror_flag" ||
31074 test ! -s conftest.err
31075 } && test -s conftest$ac_exeext &&
31076 $as_test_x conftest$ac_exeext; then
31077 ac_cv_func_shmat=yes
31078 else
31079 echo "$as_me: failed program was:" >&5
31080 sed 's/^/| /' conftest.$ac_ext >&5
31081
31082 ac_cv_func_shmat=no
31083 fi
31084
31085 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31086 conftest$ac_exeext conftest.$ac_ext
31087 fi
31088 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
31089 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
31090
31091 if test $ac_cv_func_shmat = no; then
31092 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
31093 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
31094 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
31095 echo $ECHO_N "(cached) $ECHO_C" >&6
31096 else
31097 ac_check_lib_save_LIBS=$LIBS
31098 LIBS="-lipc $LIBS"
31099 cat >conftest.$ac_ext <<_ACEOF
31100 /* confdefs.h. */
31101 _ACEOF
31102 cat confdefs.h >>conftest.$ac_ext
31103 cat >>conftest.$ac_ext <<_ACEOF
31104 /* end confdefs.h. */
31105
31106 /* Override any GCC internal prototype to avoid an error.
31107 Use char because int might match the return type of a GCC
31108 builtin and then its argument prototype would still apply. */
31109 #ifdef __cplusplus
31110 extern "C"
31111 #endif
31112 char shmat ();
31113 int
31114 main ()
31115 {
31116 return shmat ();
31117 ;
31118 return 0;
31119 }
31120 _ACEOF
31121 rm -f conftest.$ac_objext conftest$ac_exeext
31122 if { (ac_try="$ac_link"
31123 case "(($ac_try" in
31124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31125 *) ac_try_echo=$ac_try;;
31126 esac
31127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31128 (eval "$ac_link") 2>conftest.er1
31129 ac_status=$?
31130 grep -v '^ *+' conftest.er1 >conftest.err
31131 rm -f conftest.er1
31132 cat conftest.err >&5
31133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31134 (exit $ac_status); } && {
31135 test -z "$ac_c_werror_flag" ||
31136 test ! -s conftest.err
31137 } && test -s conftest$ac_exeext &&
31138 $as_test_x conftest$ac_exeext; then
31139 ac_cv_lib_ipc_shmat=yes
31140 else
31141 echo "$as_me: failed program was:" >&5
31142 sed 's/^/| /' conftest.$ac_ext >&5
31143
31144 ac_cv_lib_ipc_shmat=no
31145 fi
31146
31147 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31148 conftest$ac_exeext conftest.$ac_ext
31149 LIBS=$ac_check_lib_save_LIBS
31150 fi
31151 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
31152 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
31153 if test $ac_cv_lib_ipc_shmat = yes; then
31154 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
31155 fi
31156
31157 fi
31158 fi
31159
31160 # Check for libraries that X11R6 Xt/Xaw programs need.
31161 ac_save_LDFLAGS=$LDFLAGS
31162 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
31163 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
31164 # check for ICE first), but we must link in the order -lSM -lICE or
31165 # we get undefined symbols. So assume we have SM if we have ICE.
31166 # These have to be linked with before -lX11, unlike the other
31167 # libraries we check for below, so use a different variable.
31168 # John Interrante, Karl Berry
31169 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
31170 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
31171 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
31172 echo $ECHO_N "(cached) $ECHO_C" >&6
31173 else
31174 ac_check_lib_save_LIBS=$LIBS
31175 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
31176 cat >conftest.$ac_ext <<_ACEOF
31177 /* confdefs.h. */
31178 _ACEOF
31179 cat confdefs.h >>conftest.$ac_ext
31180 cat >>conftest.$ac_ext <<_ACEOF
31181 /* end confdefs.h. */
31182
31183 /* Override any GCC internal prototype to avoid an error.
31184 Use char because int might match the return type of a GCC
31185 builtin and then its argument prototype would still apply. */
31186 #ifdef __cplusplus
31187 extern "C"
31188 #endif
31189 char IceConnectionNumber ();
31190 int
31191 main ()
31192 {
31193 return IceConnectionNumber ();
31194 ;
31195 return 0;
31196 }
31197 _ACEOF
31198 rm -f conftest.$ac_objext conftest$ac_exeext
31199 if { (ac_try="$ac_link"
31200 case "(($ac_try" in
31201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31202 *) ac_try_echo=$ac_try;;
31203 esac
31204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31205 (eval "$ac_link") 2>conftest.er1
31206 ac_status=$?
31207 grep -v '^ *+' conftest.er1 >conftest.err
31208 rm -f conftest.er1
31209 cat conftest.err >&5
31210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31211 (exit $ac_status); } && {
31212 test -z "$ac_c_werror_flag" ||
31213 test ! -s conftest.err
31214 } && test -s conftest$ac_exeext &&
31215 $as_test_x conftest$ac_exeext; then
31216 ac_cv_lib_ICE_IceConnectionNumber=yes
31217 else
31218 echo "$as_me: failed program was:" >&5
31219 sed 's/^/| /' conftest.$ac_ext >&5
31220
31221 ac_cv_lib_ICE_IceConnectionNumber=no
31222 fi
31223
31224 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31225 conftest$ac_exeext conftest.$ac_ext
31226 LIBS=$ac_check_lib_save_LIBS
31227 fi
31228 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
31229 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
31230 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
31231 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
31232 fi
31233
31234 LDFLAGS=$ac_save_LDFLAGS
31235
31236 fi
31237
31238
31239 if test "$no_x" = "yes"; then
31240 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
31241 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
31242 { (exit 1); exit 1; }; }
31243 fi
31244
31245 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
31246 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
31247 AFMINSTALL=afminstall
31248 COMPILED_X_PROGRAM=0
31249
31250 fi
31251
31252 if test "$wxUSE_X11" = 1; then
31253 if test "$wxUSE_NANOX" = "yes"; then
31254 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
31255 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
31256 if test "x$MICROWIN" = x ; then
31257 { echo "$as_me:$LINENO: result: not found" >&5
31258 echo "${ECHO_T}not found" >&6; }
31259 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
31260 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
31261 { (exit 1); exit 1; }; }
31262 else
31263 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
31264 echo "${ECHO_T}$MICROWIN" >&6; }
31265 cat >>confdefs.h <<\_ACEOF
31266 #define wxUSE_NANOX 1
31267 _ACEOF
31268
31269 fi
31270 fi
31271
31272 if test "$wxUSE_UNICODE" = "yes"; then
31273
31274
31275 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
31276 if test -n "$ac_tool_prefix"; then
31277 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
31278 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
31279 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31280 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31281 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
31282 echo $ECHO_N "(cached) $ECHO_C" >&6
31283 else
31284 case $PKG_CONFIG in
31285 [\\/]* | ?:[\\/]*)
31286 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
31287 ;;
31288 *)
31289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31290 for as_dir in $PATH
31291 do
31292 IFS=$as_save_IFS
31293 test -z "$as_dir" && as_dir=.
31294 for ac_exec_ext in '' $ac_executable_extensions; do
31295 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31296 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31297 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31298 break 2
31299 fi
31300 done
31301 done
31302 IFS=$as_save_IFS
31303
31304 ;;
31305 esac
31306 fi
31307 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31308 if test -n "$PKG_CONFIG"; then
31309 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31310 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31311 else
31312 { echo "$as_me:$LINENO: result: no" >&5
31313 echo "${ECHO_T}no" >&6; }
31314 fi
31315
31316
31317 fi
31318 if test -z "$ac_cv_path_PKG_CONFIG"; then
31319 ac_pt_PKG_CONFIG=$PKG_CONFIG
31320 # Extract the first word of "pkg-config", so it can be a program name with args.
31321 set dummy pkg-config; ac_word=$2
31322 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31323 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31324 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31325 echo $ECHO_N "(cached) $ECHO_C" >&6
31326 else
31327 case $ac_pt_PKG_CONFIG in
31328 [\\/]* | ?:[\\/]*)
31329 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31330 ;;
31331 *)
31332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31333 for as_dir in $PATH
31334 do
31335 IFS=$as_save_IFS
31336 test -z "$as_dir" && as_dir=.
31337 for ac_exec_ext in '' $ac_executable_extensions; do
31338 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31339 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31340 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31341 break 2
31342 fi
31343 done
31344 done
31345 IFS=$as_save_IFS
31346
31347 ;;
31348 esac
31349 fi
31350 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31351 if test -n "$ac_pt_PKG_CONFIG"; then
31352 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31353 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31354 else
31355 { echo "$as_me:$LINENO: result: no" >&5
31356 echo "${ECHO_T}no" >&6; }
31357 fi
31358
31359 if test "x$ac_pt_PKG_CONFIG" = x; then
31360 PKG_CONFIG=""
31361 else
31362 case $cross_compiling:$ac_tool_warned in
31363 yes:)
31364 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31365 whose name does not start with the host triplet. If you think this
31366 configuration is useful to you, please write to autoconf@gnu.org." >&5
31367 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31368 whose name does not start with the host triplet. If you think this
31369 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31370 ac_tool_warned=yes ;;
31371 esac
31372 PKG_CONFIG=$ac_pt_PKG_CONFIG
31373 fi
31374 else
31375 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31376 fi
31377
31378 fi
31379 if test -n "$PKG_CONFIG"; then
31380 _pkg_min_version=0.9.0
31381 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31382 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31383 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31384 { echo "$as_me:$LINENO: result: yes" >&5
31385 echo "${ECHO_T}yes" >&6; }
31386 else
31387 { echo "$as_me:$LINENO: result: no" >&5
31388 echo "${ECHO_T}no" >&6; }
31389 PKG_CONFIG=""
31390 fi
31391
31392 fi
31393
31394
31395 pkg_failed=no
31396 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31397 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31398
31399 if test -n "$PKG_CONFIG"; then
31400 if test -n "$PANGOX_CFLAGS"; then
31401 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31402 else
31403 if test -n "$PKG_CONFIG" && \
31404 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31405 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31406 ac_status=$?
31407 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31408 (exit $ac_status); }; then
31409 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31410 else
31411 pkg_failed=yes
31412 fi
31413 fi
31414 else
31415 pkg_failed=untried
31416 fi
31417 if test -n "$PKG_CONFIG"; then
31418 if test -n "$PANGOX_LIBS"; then
31419 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31420 else
31421 if test -n "$PKG_CONFIG" && \
31422 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31423 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31424 ac_status=$?
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); }; then
31427 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31428 else
31429 pkg_failed=yes
31430 fi
31431 fi
31432 else
31433 pkg_failed=untried
31434 fi
31435
31436
31437
31438 if test $pkg_failed = yes; then
31439
31440 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31441 _pkg_short_errors_supported=yes
31442 else
31443 _pkg_short_errors_supported=no
31444 fi
31445 if test $_pkg_short_errors_supported = yes; then
31446 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31447 else
31448 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31449 fi
31450 # Put the nasty error message in config.log where it belongs
31451 echo "$PANGOX_PKG_ERRORS" >&5
31452
31453
31454 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31455 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31456 { (exit 1); exit 1; }; }
31457
31458
31459 elif test $pkg_failed = untried; then
31460
31461 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31462 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31463 { (exit 1); exit 1; }; }
31464
31465
31466 else
31467 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31468 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31469 { echo "$as_me:$LINENO: result: yes" >&5
31470 echo "${ECHO_T}yes" >&6; }
31471
31472 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31473 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31474 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31475
31476 fi
31477
31478 pkg_failed=no
31479 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31480 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31481
31482 if test -n "$PKG_CONFIG"; then
31483 if test -n "$PANGOFT2_CFLAGS"; then
31484 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31485 else
31486 if test -n "$PKG_CONFIG" && \
31487 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31488 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31489 ac_status=$?
31490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31491 (exit $ac_status); }; then
31492 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31493 else
31494 pkg_failed=yes
31495 fi
31496 fi
31497 else
31498 pkg_failed=untried
31499 fi
31500 if test -n "$PKG_CONFIG"; then
31501 if test -n "$PANGOFT2_LIBS"; then
31502 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31503 else
31504 if test -n "$PKG_CONFIG" && \
31505 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31506 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31507 ac_status=$?
31508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31509 (exit $ac_status); }; then
31510 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31511 else
31512 pkg_failed=yes
31513 fi
31514 fi
31515 else
31516 pkg_failed=untried
31517 fi
31518
31519
31520
31521 if test $pkg_failed = yes; then
31522
31523 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31524 _pkg_short_errors_supported=yes
31525 else
31526 _pkg_short_errors_supported=no
31527 fi
31528 if test $_pkg_short_errors_supported = yes; then
31529 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31530 else
31531 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31532 fi
31533 # Put the nasty error message in config.log where it belongs
31534 echo "$PANGOFT2_PKG_ERRORS" >&5
31535
31536
31537 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31538 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31539 wxUSE_PRINTING_ARCHITECTURE="no"
31540
31541
31542 elif test $pkg_failed = untried; then
31543
31544 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31545 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31546 wxUSE_PRINTING_ARCHITECTURE="no"
31547
31548
31549 else
31550 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31551 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31552 { echo "$as_me:$LINENO: result: yes" >&5
31553 echo "${ECHO_T}yes" >&6; }
31554
31555 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31556 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31557 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31558
31559 fi
31560
31561 pkg_failed=no
31562 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31563 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31564
31565 if test -n "$PKG_CONFIG"; then
31566 if test -n "$PANGOXFT_CFLAGS"; then
31567 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31568 else
31569 if test -n "$PKG_CONFIG" && \
31570 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31571 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31572 ac_status=$?
31573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31574 (exit $ac_status); }; then
31575 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31576 else
31577 pkg_failed=yes
31578 fi
31579 fi
31580 else
31581 pkg_failed=untried
31582 fi
31583 if test -n "$PKG_CONFIG"; then
31584 if test -n "$PANGOXFT_LIBS"; then
31585 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31586 else
31587 if test -n "$PKG_CONFIG" && \
31588 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31589 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31590 ac_status=$?
31591 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31592 (exit $ac_status); }; then
31593 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31594 else
31595 pkg_failed=yes
31596 fi
31597 fi
31598 else
31599 pkg_failed=untried
31600 fi
31601
31602
31603
31604 if test $pkg_failed = yes; then
31605
31606 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31607 _pkg_short_errors_supported=yes
31608 else
31609 _pkg_short_errors_supported=no
31610 fi
31611 if test $_pkg_short_errors_supported = yes; then
31612 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31613 else
31614 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31615 fi
31616 # Put the nasty error message in config.log where it belongs
31617 echo "$PANGOXFT_PKG_ERRORS" >&5
31618
31619
31620 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31621 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31622
31623
31624 elif test $pkg_failed = untried; then
31625
31626 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31627 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31628
31629
31630 else
31631 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31632 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31633 { echo "$as_me:$LINENO: result: yes" >&5
31634 echo "${ECHO_T}yes" >&6; }
31635
31636 cat >>confdefs.h <<\_ACEOF
31637 #define HAVE_PANGO_XFT 1
31638 _ACEOF
31639
31640 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31641 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31642 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31643
31644 fi
31645 save_LIBS="$LIBS"
31646 LIBS="$LIBS $PANGOX_LIBS"
31647
31648 for ac_func in pango_font_family_is_monospace
31649 do
31650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31653 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31654 echo $ECHO_N "(cached) $ECHO_C" >&6
31655 else
31656 cat >conftest.$ac_ext <<_ACEOF
31657 /* confdefs.h. */
31658 _ACEOF
31659 cat confdefs.h >>conftest.$ac_ext
31660 cat >>conftest.$ac_ext <<_ACEOF
31661 /* end confdefs.h. */
31662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31664 #define $ac_func innocuous_$ac_func
31665
31666 /* System header to define __stub macros and hopefully few prototypes,
31667 which can conflict with char $ac_func (); below.
31668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31669 <limits.h> exists even on freestanding compilers. */
31670
31671 #ifdef __STDC__
31672 # include <limits.h>
31673 #else
31674 # include <assert.h>
31675 #endif
31676
31677 #undef $ac_func
31678
31679 /* Override any GCC internal prototype to avoid an error.
31680 Use char because int might match the return type of a GCC
31681 builtin and then its argument prototype would still apply. */
31682 #ifdef __cplusplus
31683 extern "C"
31684 #endif
31685 char $ac_func ();
31686 /* The GNU C library defines this for functions which it implements
31687 to always fail with ENOSYS. Some functions are actually named
31688 something starting with __ and the normal name is an alias. */
31689 #if defined __stub_$ac_func || defined __stub___$ac_func
31690 choke me
31691 #endif
31692
31693 int
31694 main ()
31695 {
31696 return $ac_func ();
31697 ;
31698 return 0;
31699 }
31700 _ACEOF
31701 rm -f conftest.$ac_objext conftest$ac_exeext
31702 if { (ac_try="$ac_link"
31703 case "(($ac_try" in
31704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31705 *) ac_try_echo=$ac_try;;
31706 esac
31707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31708 (eval "$ac_link") 2>conftest.er1
31709 ac_status=$?
31710 grep -v '^ *+' conftest.er1 >conftest.err
31711 rm -f conftest.er1
31712 cat conftest.err >&5
31713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31714 (exit $ac_status); } && {
31715 test -z "$ac_c_werror_flag" ||
31716 test ! -s conftest.err
31717 } && test -s conftest$ac_exeext &&
31718 $as_test_x conftest$ac_exeext; then
31719 eval "$as_ac_var=yes"
31720 else
31721 echo "$as_me: failed program was:" >&5
31722 sed 's/^/| /' conftest.$ac_ext >&5
31723
31724 eval "$as_ac_var=no"
31725 fi
31726
31727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31728 conftest$ac_exeext conftest.$ac_ext
31729 fi
31730 ac_res=`eval echo '${'$as_ac_var'}'`
31731 { echo "$as_me:$LINENO: result: $ac_res" >&5
31732 echo "${ECHO_T}$ac_res" >&6; }
31733 if test `eval echo '${'$as_ac_var'}'` = yes; then
31734 cat >>confdefs.h <<_ACEOF
31735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31736 _ACEOF
31737
31738 fi
31739 done
31740
31741 LIBS="$save_LIBS"
31742 fi
31743
31744 wxUSE_UNIVERSAL="yes"
31745
31746 if test "$wxUSE_NANOX" = "yes"; then
31747 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31748 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"
31749 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31750 else
31751 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31752 fi
31753
31754 TOOLKIT=X11
31755 GUIDIST=X11_DIST
31756 fi
31757
31758 if test "$wxUSE_MOTIF" = 1; then
31759 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31760 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31761
31762 ac_find_includes=
31763 for ac_dir in $SEARCH_INCLUDE /usr/include;
31764 do
31765 if test -f "$ac_dir/Xm/Xm.h"; then
31766 ac_find_includes=$ac_dir
31767 break
31768 fi
31769 done
31770
31771 if test "$ac_find_includes" != "" ; then
31772 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31773 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31774
31775 if test "x$ac_find_includes" = "x/usr/include"; then
31776 ac_path_to_include=""
31777 else
31778 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31779 result=$?
31780 if test $result = 0; then
31781 ac_path_to_include=""
31782 else
31783 ac_path_to_include=" -I$ac_find_includes"
31784 fi
31785 fi
31786
31787 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31788 else
31789 save_CFLAGS=$CFLAGS
31790 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31791
31792 cat >conftest.$ac_ext <<_ACEOF
31793 /* confdefs.h. */
31794 _ACEOF
31795 cat confdefs.h >>conftest.$ac_ext
31796 cat >>conftest.$ac_ext <<_ACEOF
31797 /* end confdefs.h. */
31798
31799 #include <Xm/Xm.h>
31800
31801 int
31802 main ()
31803 {
31804
31805 int version;
31806 version = xmUseVersion;
31807
31808 ;
31809 return 0;
31810 }
31811 _ACEOF
31812 rm -f conftest.$ac_objext
31813 if { (ac_try="$ac_compile"
31814 case "(($ac_try" in
31815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31816 *) ac_try_echo=$ac_try;;
31817 esac
31818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31819 (eval "$ac_compile") 2>conftest.er1
31820 ac_status=$?
31821 grep -v '^ *+' conftest.er1 >conftest.err
31822 rm -f conftest.er1
31823 cat conftest.err >&5
31824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31825 (exit $ac_status); } && {
31826 test -z "$ac_c_werror_flag" ||
31827 test ! -s conftest.err
31828 } && test -s conftest.$ac_objext; then
31829
31830 { echo "$as_me:$LINENO: result: found in default search path" >&5
31831 echo "${ECHO_T}found in default search path" >&6; }
31832 COMPILED_X_PROGRAM=1
31833
31834 else
31835 echo "$as_me: failed program was:" >&5
31836 sed 's/^/| /' conftest.$ac_ext >&5
31837
31838
31839 { echo "$as_me:$LINENO: result: no" >&5
31840 echo "${ECHO_T}no" >&6; }
31841 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31842 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31843 { (exit 1); exit 1; }; }
31844
31845
31846 fi
31847
31848 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31849
31850 CFLAGS=$save_CFLAGS
31851 fi
31852
31853
31854 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31855 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31856
31857 ac_find_libraries=
31858 for ac_dir in $SEARCH_LIB;
31859 do
31860 for ac_extension in a so sl dylib dll.a; do
31861 if test -f "$ac_dir/libXm.$ac_extension"; then
31862 ac_find_libraries=$ac_dir
31863 break 2
31864 fi
31865 done
31866 done
31867
31868
31869 if test "x$ac_find_libraries" != "x" ; then
31870 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31871 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31872
31873
31874 if test "$ac_find_libraries" = "default location"; then
31875 ac_path_to_link=""
31876 else
31877 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31878 result=$?
31879 if test $result = 0; then
31880 ac_path_to_link=""
31881 else
31882 ac_path_to_link=" -L$ac_find_libraries"
31883 fi
31884 fi
31885
31886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31887 else
31888 save_CFLAGS=$CFLAGS
31889 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31890 save_LIBS="$LIBS"
31891 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31892
31893 cat >conftest.$ac_ext <<_ACEOF
31894 /* confdefs.h. */
31895 _ACEOF
31896 cat confdefs.h >>conftest.$ac_ext
31897 cat >>conftest.$ac_ext <<_ACEOF
31898 /* end confdefs.h. */
31899
31900 #include <Xm/Xm.h>
31901
31902 int
31903 main ()
31904 {
31905
31906 int version;
31907 version = xmUseVersion;
31908
31909 ;
31910 return 0;
31911 }
31912 _ACEOF
31913 rm -f conftest.$ac_objext conftest$ac_exeext
31914 if { (ac_try="$ac_link"
31915 case "(($ac_try" in
31916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31917 *) ac_try_echo=$ac_try;;
31918 esac
31919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31920 (eval "$ac_link") 2>conftest.er1
31921 ac_status=$?
31922 grep -v '^ *+' conftest.er1 >conftest.err
31923 rm -f conftest.er1
31924 cat conftest.err >&5
31925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31926 (exit $ac_status); } && {
31927 test -z "$ac_c_werror_flag" ||
31928 test ! -s conftest.err
31929 } && test -s conftest$ac_exeext &&
31930 $as_test_x conftest$ac_exeext; then
31931
31932 { echo "$as_me:$LINENO: result: found in default search path" >&5
31933 echo "${ECHO_T}found in default search path" >&6; }
31934 COMPILED_X_PROGRAM=1
31935
31936 else
31937 echo "$as_me: failed program was:" >&5
31938 sed 's/^/| /' conftest.$ac_ext >&5
31939
31940
31941 { echo "$as_me:$LINENO: result: no" >&5
31942 echo "${ECHO_T}no" >&6; }
31943 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31944 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31945 { (exit 1); exit 1; }; }
31946
31947
31948 fi
31949
31950 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31951 conftest$ac_exeext conftest.$ac_ext
31952
31953 CFLAGS=$save_CFLAGS
31954 LIBS="$save_LIBS"
31955 fi
31956
31957 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31958 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31959 libp_link=""
31960 libsm_ice_link=""
31961 libs_found=0
31962 for libp in "" " -lXp"; do
31963 if test "$libs_found" = 0; then
31964 for libsm_ice in "" " -lSM -lICE"; do
31965 if test "$libs_found" = 0; then
31966 save_LIBS="$LIBS"
31967 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31968 save_CFLAGS=$CFLAGS
31969 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31970
31971 cat >conftest.$ac_ext <<_ACEOF
31972 /* confdefs.h. */
31973 _ACEOF
31974 cat confdefs.h >>conftest.$ac_ext
31975 cat >>conftest.$ac_ext <<_ACEOF
31976 /* end confdefs.h. */
31977
31978 #include <Xm/Xm.h>
31979 #include <Xm/List.h>
31980
31981 int
31982 main ()
31983 {
31984
31985 XmString string = NULL;
31986 Widget w = NULL;
31987 int position = 0;
31988 XmListAddItem(w, string, position);
31989
31990 ;
31991 return 0;
31992 }
31993 _ACEOF
31994 rm -f conftest.$ac_objext conftest$ac_exeext
31995 if { (ac_try="$ac_link"
31996 case "(($ac_try" in
31997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31998 *) ac_try_echo=$ac_try;;
31999 esac
32000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32001 (eval "$ac_link") 2>conftest.er1
32002 ac_status=$?
32003 grep -v '^ *+' conftest.er1 >conftest.err
32004 rm -f conftest.er1
32005 cat conftest.err >&5
32006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32007 (exit $ac_status); } && {
32008 test -z "$ac_c_werror_flag" ||
32009 test ! -s conftest.err
32010 } && test -s conftest$ac_exeext &&
32011 $as_test_x conftest$ac_exeext; then
32012
32013 libp_link="$libp"
32014 libsm_ice_link="$libsm_ice"
32015 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
32016 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
32017 libs_found=1
32018
32019 else
32020 echo "$as_me: failed program was:" >&5
32021 sed 's/^/| /' conftest.$ac_ext >&5
32022
32023
32024
32025 fi
32026
32027 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32028 conftest$ac_exeext conftest.$ac_ext
32029
32030 LIBS="$save_LIBS"
32031 CFLAGS=$save_CFLAGS
32032 fi
32033 done
32034 fi
32035 done
32036
32037 if test "$libs_found" = 0; then
32038 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
32039 echo "${ECHO_T}can't find the right libraries" >&6; }
32040 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
32041 echo "$as_me: error: can't link a simple motif program" >&2;}
32042 { (exit 1); exit 1; }; }
32043 fi
32044
32045 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
32046 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
32047 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
32048 echo $ECHO_N "(cached) $ECHO_C" >&6
32049 else
32050 ac_check_lib_save_LIBS=$LIBS
32051 LIBS="-lSgm $LIBS"
32052 cat >conftest.$ac_ext <<_ACEOF
32053 /* confdefs.h. */
32054 _ACEOF
32055 cat confdefs.h >>conftest.$ac_ext
32056 cat >>conftest.$ac_ext <<_ACEOF
32057 /* end confdefs.h. */
32058
32059 /* Override any GCC internal prototype to avoid an error.
32060 Use char because int might match the return type of a GCC
32061 builtin and then its argument prototype would still apply. */
32062 #ifdef __cplusplus
32063 extern "C"
32064 #endif
32065 char SgCreateList ();
32066 int
32067 main ()
32068 {
32069 return SgCreateList ();
32070 ;
32071 return 0;
32072 }
32073 _ACEOF
32074 rm -f conftest.$ac_objext conftest$ac_exeext
32075 if { (ac_try="$ac_link"
32076 case "(($ac_try" in
32077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32078 *) ac_try_echo=$ac_try;;
32079 esac
32080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32081 (eval "$ac_link") 2>conftest.er1
32082 ac_status=$?
32083 grep -v '^ *+' conftest.er1 >conftest.err
32084 rm -f conftest.er1
32085 cat conftest.err >&5
32086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32087 (exit $ac_status); } && {
32088 test -z "$ac_c_werror_flag" ||
32089 test ! -s conftest.err
32090 } && test -s conftest$ac_exeext &&
32091 $as_test_x conftest$ac_exeext; then
32092 ac_cv_lib_Sgm_SgCreateList=yes
32093 else
32094 echo "$as_me: failed program was:" >&5
32095 sed 's/^/| /' conftest.$ac_ext >&5
32096
32097 ac_cv_lib_Sgm_SgCreateList=no
32098 fi
32099
32100 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32101 conftest$ac_exeext conftest.$ac_ext
32102 LIBS=$ac_check_lib_save_LIBS
32103 fi
32104 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
32105 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
32106 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
32107 libsgm_link=" -lSgm"
32108 fi
32109
32110
32111 save_CFLAGS=$CFLAGS
32112 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32113
32114 { echo "$as_me:$LINENO: checking for Motif 2" >&5
32115 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
32116 if test "${wx_cv_lib_motif2+set}" = set; then
32117 echo $ECHO_N "(cached) $ECHO_C" >&6
32118 else
32119 cat >conftest.$ac_ext <<_ACEOF
32120 /* confdefs.h. */
32121 _ACEOF
32122 cat confdefs.h >>conftest.$ac_ext
32123 cat >>conftest.$ac_ext <<_ACEOF
32124 /* end confdefs.h. */
32125
32126 #include <Xm/Xm.h>
32127
32128 int
32129 main ()
32130 {
32131
32132 #if XmVersion < 2000
32133 Not Motif 2
32134 #endif
32135
32136 ;
32137 return 0;
32138 }
32139 _ACEOF
32140 rm -f conftest.$ac_objext
32141 if { (ac_try="$ac_compile"
32142 case "(($ac_try" in
32143 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32144 *) ac_try_echo=$ac_try;;
32145 esac
32146 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32147 (eval "$ac_compile") 2>conftest.er1
32148 ac_status=$?
32149 grep -v '^ *+' conftest.er1 >conftest.err
32150 rm -f conftest.er1
32151 cat conftest.err >&5
32152 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32153 (exit $ac_status); } && {
32154 test -z "$ac_c_werror_flag" ||
32155 test ! -s conftest.err
32156 } && test -s conftest.$ac_objext; then
32157 wx_cv_lib_motif2="yes"
32158 else
32159 echo "$as_me: failed program was:" >&5
32160 sed 's/^/| /' conftest.$ac_ext >&5
32161
32162 wx_cv_lib_motif2="no"
32163 fi
32164
32165 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32166 fi
32167 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
32168 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
32169 if test "$wx_cv_lib_motif2" = "yes"; then
32170 cat >>confdefs.h <<\_ACEOF
32171 #define __WXMOTIF20__ 1
32172 _ACEOF
32173
32174 else
32175 cat >>confdefs.h <<\_ACEOF
32176 #define __WXMOTIF20__ 0
32177 _ACEOF
32178
32179 fi
32180
32181 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
32182 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
32183 if test "${wx_cv_lib_lesstif+set}" = set; then
32184 echo $ECHO_N "(cached) $ECHO_C" >&6
32185 else
32186 cat >conftest.$ac_ext <<_ACEOF
32187 /* confdefs.h. */
32188 _ACEOF
32189 cat confdefs.h >>conftest.$ac_ext
32190 cat >>conftest.$ac_ext <<_ACEOF
32191 /* end confdefs.h. */
32192
32193 #include <Xm/Xm.h>
32194
32195 int
32196 main ()
32197 {
32198
32199 #if !defined(LesstifVersion) || LesstifVersion <= 0
32200 Not Lesstif
32201 #endif
32202
32203 ;
32204 return 0;
32205 }
32206 _ACEOF
32207 rm -f conftest.$ac_objext
32208 if { (ac_try="$ac_compile"
32209 case "(($ac_try" in
32210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32211 *) ac_try_echo=$ac_try;;
32212 esac
32213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32214 (eval "$ac_compile") 2>conftest.er1
32215 ac_status=$?
32216 grep -v '^ *+' conftest.er1 >conftest.err
32217 rm -f conftest.er1
32218 cat conftest.err >&5
32219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32220 (exit $ac_status); } && {
32221 test -z "$ac_c_werror_flag" ||
32222 test ! -s conftest.err
32223 } && test -s conftest.$ac_objext; then
32224 wx_cv_lib_lesstif="yes"
32225 else
32226 echo "$as_me: failed program was:" >&5
32227 sed 's/^/| /' conftest.$ac_ext >&5
32228
32229 wx_cv_lib_lesstif="no"
32230 fi
32231
32232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32233
32234 fi
32235 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
32236 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
32237 if test "$wx_cv_lib_lesstif" = "yes"; then
32238 cat >>confdefs.h <<\_ACEOF
32239 #define __WXLESSTIF__ 1
32240 _ACEOF
32241
32242 else
32243 cat >>confdefs.h <<\_ACEOF
32244 #define __WXLESSTIF__ 0
32245 _ACEOF
32246
32247 fi
32248
32249 CFLAGS=$save_CFLAGS
32250
32251 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
32252 TOOLKIT=MOTIF
32253 GUIDIST=MOTIF_DIST
32254 fi
32255
32256 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
32257 if test "$wxUSE_LIBXPM" = "sys"; then
32258 { echo "$as_me:$LINENO: checking for Xpm library" >&5
32259 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
32260
32261 ac_find_libraries=
32262 for ac_dir in $SEARCH_LIB;
32263 do
32264 for ac_extension in a so sl dylib dll.a; do
32265 if test -f "$ac_dir/libXpm.$ac_extension"; then
32266 ac_find_libraries=$ac_dir
32267 break 2
32268 fi
32269 done
32270 done
32271
32272 if test "$ac_find_libraries" != "" ; then
32273
32274 if test "$ac_find_libraries" = "default location"; then
32275 ac_path_to_link=""
32276 else
32277 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
32278 result=$?
32279 if test $result = 0; then
32280 ac_path_to_link=""
32281 else
32282 ac_path_to_link=" -L$ac_find_libraries"
32283 fi
32284 fi
32285
32286 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
32287 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32288 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32289
32290 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
32291 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
32292 if test "${wx_cv_x11_xpm_h+set}" = set; then
32293 echo $ECHO_N "(cached) $ECHO_C" >&6
32294 else
32295
32296 save_CFLAGS=$CFLAGS
32297 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32298
32299 cat >conftest.$ac_ext <<_ACEOF
32300 /* confdefs.h. */
32301 _ACEOF
32302 cat confdefs.h >>conftest.$ac_ext
32303 cat >>conftest.$ac_ext <<_ACEOF
32304 /* end confdefs.h. */
32305
32306 #include <X11/xpm.h>
32307
32308 int
32309 main ()
32310 {
32311
32312 int version;
32313 version = XpmLibraryVersion();
32314
32315 ;
32316 return 0;
32317 }
32318 _ACEOF
32319 rm -f conftest.$ac_objext
32320 if { (ac_try="$ac_compile"
32321 case "(($ac_try" in
32322 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32323 *) ac_try_echo=$ac_try;;
32324 esac
32325 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32326 (eval "$ac_compile") 2>conftest.er1
32327 ac_status=$?
32328 grep -v '^ *+' conftest.er1 >conftest.err
32329 rm -f conftest.er1
32330 cat conftest.err >&5
32331 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32332 (exit $ac_status); } && {
32333 test -z "$ac_c_werror_flag" ||
32334 test ! -s conftest.err
32335 } && test -s conftest.$ac_objext; then
32336 wx_cv_x11_xpm_h=yes
32337 else
32338 echo "$as_me: failed program was:" >&5
32339 sed 's/^/| /' conftest.$ac_ext >&5
32340
32341 wx_cv_x11_xpm_h=no
32342
32343 fi
32344
32345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32346
32347 CFLAGS=$save_CFLAGS
32348
32349
32350 fi
32351 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32352 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32353
32354 if test $wx_cv_x11_xpm_h = "yes"; then
32355 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32356 cat >>confdefs.h <<\_ACEOF
32357 #define wxHAVE_LIB_XPM 1
32358 _ACEOF
32359
32360 else
32361 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32362 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32363 fi
32364 fi
32365
32366 fi
32367
32368 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32369 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32370 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32371 echo $ECHO_N "(cached) $ECHO_C" >&6
32372 else
32373 ac_check_lib_save_LIBS=$LIBS
32374 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32375 cat >conftest.$ac_ext <<_ACEOF
32376 /* confdefs.h. */
32377 _ACEOF
32378 cat confdefs.h >>conftest.$ac_ext
32379 cat >>conftest.$ac_ext <<_ACEOF
32380 /* end confdefs.h. */
32381
32382 /* Override any GCC internal prototype to avoid an error.
32383 Use char because int might match the return type of a GCC
32384 builtin and then its argument prototype would still apply. */
32385 #ifdef __cplusplus
32386 extern "C"
32387 #endif
32388 char XShapeQueryExtension ();
32389 int
32390 main ()
32391 {
32392 return XShapeQueryExtension ();
32393 ;
32394 return 0;
32395 }
32396 _ACEOF
32397 rm -f conftest.$ac_objext conftest$ac_exeext
32398 if { (ac_try="$ac_link"
32399 case "(($ac_try" in
32400 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32401 *) ac_try_echo=$ac_try;;
32402 esac
32403 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32404 (eval "$ac_link") 2>conftest.er1
32405 ac_status=$?
32406 grep -v '^ *+' conftest.er1 >conftest.err
32407 rm -f conftest.er1
32408 cat conftest.err >&5
32409 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32410 (exit $ac_status); } && {
32411 test -z "$ac_c_werror_flag" ||
32412 test ! -s conftest.err
32413 } && test -s conftest$ac_exeext &&
32414 $as_test_x conftest$ac_exeext; then
32415 ac_cv_lib_Xext_XShapeQueryExtension=yes
32416 else
32417 echo "$as_me: failed program was:" >&5
32418 sed 's/^/| /' conftest.$ac_ext >&5
32419
32420 ac_cv_lib_Xext_XShapeQueryExtension=no
32421 fi
32422
32423 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32424 conftest$ac_exeext conftest.$ac_ext
32425 LIBS=$ac_check_lib_save_LIBS
32426 fi
32427 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32428 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32429 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32430
32431 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32432 wxHAVE_XEXT_LIB=1
32433
32434 fi
32435
32436
32437 if test "$wxHAVE_XEXT_LIB" = 1; then
32438 save_CFLAGS="$CFLAGS"
32439 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32440
32441 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32442 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32443 cat >conftest.$ac_ext <<_ACEOF
32444 /* confdefs.h. */
32445 _ACEOF
32446 cat confdefs.h >>conftest.$ac_ext
32447 cat >>conftest.$ac_ext <<_ACEOF
32448 /* end confdefs.h. */
32449
32450 #include <X11/Xlib.h>
32451 #include <X11/extensions/shape.h>
32452
32453 int
32454 main ()
32455 {
32456
32457 int dummy1, dummy2;
32458 XShapeQueryExtension((Display*)NULL,
32459 (int*)NULL, (int*)NULL);
32460
32461 ;
32462 return 0;
32463 }
32464 _ACEOF
32465 rm -f conftest.$ac_objext
32466 if { (ac_try="$ac_compile"
32467 case "(($ac_try" in
32468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32469 *) ac_try_echo=$ac_try;;
32470 esac
32471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32472 (eval "$ac_compile") 2>conftest.er1
32473 ac_status=$?
32474 grep -v '^ *+' conftest.er1 >conftest.err
32475 rm -f conftest.er1
32476 cat conftest.err >&5
32477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32478 (exit $ac_status); } && {
32479 test -z "$ac_c_werror_flag" ||
32480 test ! -s conftest.err
32481 } && test -s conftest.$ac_objext; then
32482
32483 cat >>confdefs.h <<\_ACEOF
32484 #define HAVE_XSHAPE 1
32485 _ACEOF
32486
32487 { echo "$as_me:$LINENO: result: found" >&5
32488 echo "${ECHO_T}found" >&6; }
32489
32490 else
32491 echo "$as_me: failed program was:" >&5
32492 sed 's/^/| /' conftest.$ac_ext >&5
32493
32494
32495 { echo "$as_me:$LINENO: result: not found" >&5
32496 echo "${ECHO_T}not found" >&6; }
32497
32498 fi
32499
32500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32501 CFLAGS="$save_CFLAGS"
32502
32503 fi
32504 fi
32505
32506 if test "$wxUSE_MAC" = 1; then
32507 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32508 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32509 if test "$GCC" = yes; then
32510 { echo "$as_me:$LINENO: result: gcc" >&5
32511 echo "${ECHO_T}gcc" >&6; }
32512 CPPFLAGS_PASCAL="-fpascal-strings"
32513 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32514 { echo "$as_me:$LINENO: result: xlc" >&5
32515 echo "${ECHO_T}xlc" >&6; }
32516 CPPFLAGS_PASCAL="-qmacpstr"
32517 else
32518 { echo "$as_me:$LINENO: result: none" >&5
32519 echo "${ECHO_T}none" >&6; }
32520 fi
32521
32522 if test "x$wxUSE_UNIX" = "xyes"; then
32523 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32524 else
32525 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32526 fi
32527
32528 TOOLKIT=MAC
32529 GUIDIST=MACX_DIST
32530 WXBASEPORT="_carbon"
32531 fi
32532
32533 if test "$wxUSE_COCOA" = 1; then
32534 TOOLKIT=COCOA
32535 GUIDIST=COCOA_DIST
32536 fi
32537
32538 if test "$wxUSE_PM" = 1; then
32539 TOOLKIT=PM
32540 GUIDIST=PM_DIST
32541 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32542 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32543 if test "${wx_cv_spbcdata+set}" = set; then
32544 echo $ECHO_N "(cached) $ECHO_C" >&6
32545 else
32546
32547 cat >conftest.$ac_ext <<_ACEOF
32548 /* confdefs.h. */
32549 _ACEOF
32550 cat confdefs.h >>conftest.$ac_ext
32551 cat >>conftest.$ac_ext <<_ACEOF
32552 /* end confdefs.h. */
32553
32554 #define INCL_PM
32555 #include <os2.h>
32556
32557 int
32558 main ()
32559 {
32560
32561 SPBCDATA test;
32562
32563 ;
32564 return 0;
32565 }
32566 _ACEOF
32567 rm -f conftest.$ac_objext
32568 if { (ac_try="$ac_compile"
32569 case "(($ac_try" in
32570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32571 *) ac_try_echo=$ac_try;;
32572 esac
32573 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32574 (eval "$ac_compile") 2>conftest.er1
32575 ac_status=$?
32576 grep -v '^ *+' conftest.er1 >conftest.err
32577 rm -f conftest.er1
32578 cat conftest.err >&5
32579 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32580 (exit $ac_status); } && {
32581 test -z "$ac_c_werror_flag" ||
32582 test ! -s conftest.err
32583 } && test -s conftest.$ac_objext; then
32584 wx_cv_spbcdata=yes
32585 else
32586 echo "$as_me: failed program was:" >&5
32587 sed 's/^/| /' conftest.$ac_ext >&5
32588
32589 wx_cv_spbcdata=no
32590
32591 fi
32592
32593 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32594
32595
32596 fi
32597 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32598 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32599
32600 if test $wx_cv_spbcdata = "yes"; then
32601 cat >>confdefs.h <<\_ACEOF
32602 #define HAVE_SPBCDATA 1
32603 _ACEOF
32604
32605 fi
32606 fi
32607
32608 if test "$TOOLKIT" = "PM" ; then
32609 TOOLKIT_DIR="os2"
32610 else
32611 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32612 fi
32613
32614 if test "$wxUSE_UNIVERSAL" = "yes"; then
32615 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32616 WIDGET_SET=univ
32617 fi
32618
32619 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32620 DISTDIR="wx\$(TOOLKIT)"
32621 else
32622 USE_GUI=0
32623
32624 TOOLKIT_DIR="base"
32625
32626 if test "$USE_WIN32" = 1 ; then
32627 TOOLKIT="MSW"
32628 fi
32629
32630 GUIDIST="BASE_DIST"
32631 DISTDIR="wxBase"
32632 fi
32633
32634
32635
32636 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32637 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32638 wxUSE_UNICODE_UTF8=yes
32639 elif test "$USE_OS2" = 1 ; then
32640 wxUSE_UNICODE_UTF8=yes
32641 else
32642 wxUSE_UNICODE_UTF8=no
32643 fi
32644 fi
32645
32646
32647 if test "$wxUSE_GUI" = "yes"; then
32648 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32649
32650 for ac_header in X11/Xlib.h
32651 do
32652 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32653 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32654 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32655 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32656 echo $ECHO_N "(cached) $ECHO_C" >&6
32657 else
32658 cat >conftest.$ac_ext <<_ACEOF
32659 /* confdefs.h. */
32660 _ACEOF
32661 cat confdefs.h >>conftest.$ac_ext
32662 cat >>conftest.$ac_ext <<_ACEOF
32663 /* end confdefs.h. */
32664
32665
32666 #include <$ac_header>
32667 _ACEOF
32668 rm -f conftest.$ac_objext
32669 if { (ac_try="$ac_compile"
32670 case "(($ac_try" in
32671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32672 *) ac_try_echo=$ac_try;;
32673 esac
32674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32675 (eval "$ac_compile") 2>conftest.er1
32676 ac_status=$?
32677 grep -v '^ *+' conftest.er1 >conftest.err
32678 rm -f conftest.er1
32679 cat conftest.err >&5
32680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32681 (exit $ac_status); } && {
32682 test -z "$ac_c_werror_flag" ||
32683 test ! -s conftest.err
32684 } && test -s conftest.$ac_objext; then
32685 eval "$as_ac_Header=yes"
32686 else
32687 echo "$as_me: failed program was:" >&5
32688 sed 's/^/| /' conftest.$ac_ext >&5
32689
32690 eval "$as_ac_Header=no"
32691 fi
32692
32693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32694 fi
32695 ac_res=`eval echo '${'$as_ac_Header'}'`
32696 { echo "$as_me:$LINENO: result: $ac_res" >&5
32697 echo "${ECHO_T}$ac_res" >&6; }
32698 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32699 cat >>confdefs.h <<_ACEOF
32700 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32701 _ACEOF
32702
32703 fi
32704
32705 done
32706
32707
32708 for ac_header in X11/XKBlib.h
32709 do
32710 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32711 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32712 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32713 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32714 echo $ECHO_N "(cached) $ECHO_C" >&6
32715 else
32716 cat >conftest.$ac_ext <<_ACEOF
32717 /* confdefs.h. */
32718 _ACEOF
32719 cat confdefs.h >>conftest.$ac_ext
32720 cat >>conftest.$ac_ext <<_ACEOF
32721 /* end confdefs.h. */
32722
32723 #if HAVE_X11_XLIB_H
32724 #include <X11/Xlib.h>
32725 #endif
32726
32727
32728 #include <$ac_header>
32729 _ACEOF
32730 rm -f conftest.$ac_objext
32731 if { (ac_try="$ac_compile"
32732 case "(($ac_try" in
32733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32734 *) ac_try_echo=$ac_try;;
32735 esac
32736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32737 (eval "$ac_compile") 2>conftest.er1
32738 ac_status=$?
32739 grep -v '^ *+' conftest.er1 >conftest.err
32740 rm -f conftest.er1
32741 cat conftest.err >&5
32742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32743 (exit $ac_status); } && {
32744 test -z "$ac_c_werror_flag" ||
32745 test ! -s conftest.err
32746 } && test -s conftest.$ac_objext; then
32747 eval "$as_ac_Header=yes"
32748 else
32749 echo "$as_me: failed program was:" >&5
32750 sed 's/^/| /' conftest.$ac_ext >&5
32751
32752 eval "$as_ac_Header=no"
32753 fi
32754
32755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32756 fi
32757 ac_res=`eval echo '${'$as_ac_Header'}'`
32758 { echo "$as_me:$LINENO: result: $ac_res" >&5
32759 echo "${ECHO_T}$ac_res" >&6; }
32760 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32761 cat >>confdefs.h <<_ACEOF
32762 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32763 _ACEOF
32764
32765 fi
32766
32767 done
32768
32769 fi
32770 fi
32771
32772
32773
32774 if test "$wxUSE_DISPLAY" = "yes"; then
32775 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32776 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32777 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32778
32779 ac_find_libraries=
32780 for ac_dir in $SEARCH_LIB;
32781 do
32782 for ac_extension in a so sl dylib dll.a; do
32783 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32784 ac_find_libraries=$ac_dir
32785 break 2
32786 fi
32787 done
32788 done
32789
32790 if test "$ac_find_libraries" != "" ; then
32791
32792 if test "$ac_find_libraries" = "default location"; then
32793 ac_path_to_link=""
32794 else
32795 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32796 result=$?
32797 if test $result = 0; then
32798 ac_path_to_link=""
32799 else
32800 ac_path_to_link=" -L$ac_find_libraries"
32801 fi
32802 fi
32803
32804 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32805 LDFLAGS="$LDFLAGS $ac_path_to_link"
32806 fi
32807 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32808 { echo "$as_me:$LINENO: result: yes" >&5
32809 echo "${ECHO_T}yes" >&6; }
32810
32811 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32812 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32813
32814 ac_find_libraries=
32815 for ac_dir in $SEARCH_LIB;
32816 do
32817 for ac_extension in a so sl dylib dll.a; do
32818 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32819 ac_find_libraries=$ac_dir
32820 break 2
32821 fi
32822 done
32823 done
32824
32825 if test "$ac_find_libraries" != "" ; then
32826 { echo "$as_me:$LINENO: result: yes" >&5
32827 echo "${ECHO_T}yes" >&6; }
32828
32829 for ac_header in X11/extensions/xf86vmode.h
32830 do
32831 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32832 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32833 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32834 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32835 echo $ECHO_N "(cached) $ECHO_C" >&6
32836 else
32837 cat >conftest.$ac_ext <<_ACEOF
32838 /* confdefs.h. */
32839 _ACEOF
32840 cat confdefs.h >>conftest.$ac_ext
32841 cat >>conftest.$ac_ext <<_ACEOF
32842 /* end confdefs.h. */
32843
32844 #if HAVE_X11_XLIB_H
32845 #include <X11/Xlib.h>
32846 #endif
32847
32848
32849 #include <$ac_header>
32850 _ACEOF
32851 rm -f conftest.$ac_objext
32852 if { (ac_try="$ac_compile"
32853 case "(($ac_try" in
32854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32855 *) ac_try_echo=$ac_try;;
32856 esac
32857 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32858 (eval "$ac_compile") 2>conftest.er1
32859 ac_status=$?
32860 grep -v '^ *+' conftest.er1 >conftest.err
32861 rm -f conftest.er1
32862 cat conftest.err >&5
32863 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32864 (exit $ac_status); } && {
32865 test -z "$ac_c_werror_flag" ||
32866 test ! -s conftest.err
32867 } && test -s conftest.$ac_objext; then
32868 eval "$as_ac_Header=yes"
32869 else
32870 echo "$as_me: failed program was:" >&5
32871 sed 's/^/| /' conftest.$ac_ext >&5
32872
32873 eval "$as_ac_Header=no"
32874 fi
32875
32876 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32877 fi
32878 ac_res=`eval echo '${'$as_ac_Header'}'`
32879 { echo "$as_me:$LINENO: result: $ac_res" >&5
32880 echo "${ECHO_T}$ac_res" >&6; }
32881 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32882 cat >>confdefs.h <<_ACEOF
32883 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32884 _ACEOF
32885
32886 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32887
32888 fi
32889
32890 done
32891
32892 else
32893 { echo "$as_me:$LINENO: result: no" >&5
32894 echo "${ECHO_T}no" >&6; }
32895 fi
32896
32897 else
32898 { echo "$as_me:$LINENO: result: no" >&5
32899 echo "${ECHO_T}no" >&6; }
32900 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32901 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32902 wxUSE_DISPLAY="no"
32903 fi
32904 elif test "$wxUSE_MSW" = 1; then
32905 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32906 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32907 if test "${ac_cv_header_ddraw_h+set}" = set; then
32908 echo $ECHO_N "(cached) $ECHO_C" >&6
32909 else
32910 cat >conftest.$ac_ext <<_ACEOF
32911 /* confdefs.h. */
32912 _ACEOF
32913 cat confdefs.h >>conftest.$ac_ext
32914 cat >>conftest.$ac_ext <<_ACEOF
32915 /* end confdefs.h. */
32916 #include <windows.h>
32917
32918 #include <ddraw.h>
32919 _ACEOF
32920 rm -f conftest.$ac_objext
32921 if { (ac_try="$ac_compile"
32922 case "(($ac_try" in
32923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32924 *) ac_try_echo=$ac_try;;
32925 esac
32926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32927 (eval "$ac_compile") 2>conftest.er1
32928 ac_status=$?
32929 grep -v '^ *+' conftest.er1 >conftest.err
32930 rm -f conftest.er1
32931 cat conftest.err >&5
32932 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32933 (exit $ac_status); } && {
32934 test -z "$ac_c_werror_flag" ||
32935 test ! -s conftest.err
32936 } && test -s conftest.$ac_objext; then
32937 ac_cv_header_ddraw_h=yes
32938 else
32939 echo "$as_me: failed program was:" >&5
32940 sed 's/^/| /' conftest.$ac_ext >&5
32941
32942 ac_cv_header_ddraw_h=no
32943 fi
32944
32945 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32946 fi
32947 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32948 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32949
32950
32951 fi
32952 fi
32953
32954 if test "$wxUSE_DETECT_SM" = "yes"; then
32955 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32956 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32957 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32958
32959 ac_find_libraries=
32960 for ac_dir in $SEARCH_LIB;
32961 do
32962 for ac_extension in a so sl dylib dll.a; do
32963 if test -f "$ac_dir/libSM.$ac_extension"; then
32964 ac_find_libraries=$ac_dir
32965 break 2
32966 fi
32967 done
32968 done
32969
32970 if test "$ac_find_libraries" != "" ; then
32971
32972 if test "$ac_find_libraries" = "default location"; then
32973 ac_path_to_link=""
32974 else
32975 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32976 result=$?
32977 if test $result = 0; then
32978 ac_path_to_link=""
32979 else
32980 ac_path_to_link=" -L$ac_find_libraries"
32981 fi
32982 fi
32983
32984 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32985 LDFLAGS="$LDFLAGS $ac_path_to_link"
32986 fi
32987 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32988 { echo "$as_me:$LINENO: result: yes" >&5
32989 echo "${ECHO_T}yes" >&6; }
32990 else
32991 { echo "$as_me:$LINENO: result: no" >&5
32992 echo "${ECHO_T}no" >&6; }
32993 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32994 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32995 wxUSE_DETECT_SM="no"
32996 fi
32997 else
32998 wxUSE_DETECT_SM="no"
32999 fi
33000 fi
33001
33002
33003
33004 USE_OPENGL=0
33005 if test "$wxUSE_OPENGL" = "yes"; then
33006 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
33007 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
33008 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
33009 wxUSE_OPENGL="no"
33010 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33011 OPENGL_LIBS="-framework OpenGL -framework AGL"
33012 elif test "$wxUSE_MSW" = 1; then
33013 OPENGL_LIBS="-lopengl32 -lglu32"
33014 else
33015 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
33016 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
33017
33018 ac_find_includes=
33019 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
33020 do
33021 if test -f "$ac_dir/GL/gl.h"; then
33022 ac_find_includes=$ac_dir
33023 break
33024 fi
33025 done
33026
33027 if test "$ac_find_includes" != "" ; then
33028 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
33029 echo "${ECHO_T}found in $ac_find_includes" >&6; }
33030
33031 if test "x$ac_find_includes" = "x/usr/include"; then
33032 ac_path_to_include=""
33033 else
33034 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
33035 result=$?
33036 if test $result = 0; then
33037 ac_path_to_include=""
33038 else
33039 ac_path_to_include=" -I$ac_find_includes"
33040 fi
33041 fi
33042
33043 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
33044 else
33045 { echo "$as_me:$LINENO: result: not found" >&5
33046 echo "${ECHO_T}not found" >&6; }
33047 fi
33048
33049 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
33050 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
33051 if test "${ac_cv_header_GL_gl_h+set}" = set; then
33052 echo $ECHO_N "(cached) $ECHO_C" >&6
33053 else
33054 cat >conftest.$ac_ext <<_ACEOF
33055 /* confdefs.h. */
33056 _ACEOF
33057 cat confdefs.h >>conftest.$ac_ext
33058 cat >>conftest.$ac_ext <<_ACEOF
33059 /* end confdefs.h. */
33060
33061
33062 #include <GL/gl.h>
33063 _ACEOF
33064 rm -f conftest.$ac_objext
33065 if { (ac_try="$ac_compile"
33066 case "(($ac_try" in
33067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33068 *) ac_try_echo=$ac_try;;
33069 esac
33070 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33071 (eval "$ac_compile") 2>conftest.er1
33072 ac_status=$?
33073 grep -v '^ *+' conftest.er1 >conftest.err
33074 rm -f conftest.er1
33075 cat conftest.err >&5
33076 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33077 (exit $ac_status); } && {
33078 test -z "$ac_c_werror_flag" ||
33079 test ! -s conftest.err
33080 } && test -s conftest.$ac_objext; then
33081 ac_cv_header_GL_gl_h=yes
33082 else
33083 echo "$as_me: failed program was:" >&5
33084 sed 's/^/| /' conftest.$ac_ext >&5
33085
33086 ac_cv_header_GL_gl_h=no
33087 fi
33088
33089 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33090 fi
33091 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
33092 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
33093 if test $ac_cv_header_GL_gl_h = yes; then
33094
33095 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
33096 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
33097 if test "${ac_cv_header_GL_glu_h+set}" = set; then
33098 echo $ECHO_N "(cached) $ECHO_C" >&6
33099 else
33100 cat >conftest.$ac_ext <<_ACEOF
33101 /* confdefs.h. */
33102 _ACEOF
33103 cat confdefs.h >>conftest.$ac_ext
33104 cat >>conftest.$ac_ext <<_ACEOF
33105 /* end confdefs.h. */
33106
33107
33108 #include <GL/glu.h>
33109 _ACEOF
33110 rm -f conftest.$ac_objext
33111 if { (ac_try="$ac_compile"
33112 case "(($ac_try" in
33113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33114 *) ac_try_echo=$ac_try;;
33115 esac
33116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33117 (eval "$ac_compile") 2>conftest.er1
33118 ac_status=$?
33119 grep -v '^ *+' conftest.er1 >conftest.err
33120 rm -f conftest.er1
33121 cat conftest.err >&5
33122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33123 (exit $ac_status); } && {
33124 test -z "$ac_c_werror_flag" ||
33125 test ! -s conftest.err
33126 } && test -s conftest.$ac_objext; then
33127 ac_cv_header_GL_glu_h=yes
33128 else
33129 echo "$as_me: failed program was:" >&5
33130 sed 's/^/| /' conftest.$ac_ext >&5
33131
33132 ac_cv_header_GL_glu_h=no
33133 fi
33134
33135 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33136 fi
33137 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
33138 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
33139 if test $ac_cv_header_GL_glu_h = yes; then
33140
33141 found_gl=0
33142
33143 { echo "$as_me:$LINENO: checking for -lGL" >&5
33144 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
33145
33146 ac_find_libraries=
33147 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
33148 do
33149 for ac_extension in a so sl dylib dll.a; do
33150 if test -f "$ac_dir/libGL.$ac_extension"; then
33151 ac_find_libraries=$ac_dir
33152 break 2
33153 fi
33154 done
33155 done
33156
33157 if test "$ac_find_libraries" != "" ; then
33158 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
33159 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
33160
33161
33162 if test "$ac_find_libraries" = "default location"; then
33163 ac_path_to_link=""
33164 else
33165 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33166 result=$?
33167 if test $result = 0; then
33168 ac_path_to_link=""
33169 else
33170 ac_path_to_link=" -L$ac_find_libraries"
33171 fi
33172 fi
33173
33174 if test "$ac_path_to_link" != " -L/usr/lib" ; then
33175 LDFLAGS_GL="$ac_path_to_link"
33176 fi
33177
33178 { echo "$as_me:$LINENO: checking for -lGLU" >&5
33179 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
33180
33181 ac_find_libraries=
33182 for ac_dir in $SEARCH_LIB;
33183 do
33184 for ac_extension in a so sl dylib dll.a; do
33185 if test -f "$ac_dir/libGLU.$ac_extension"; then
33186 ac_find_libraries=$ac_dir
33187 break 2
33188 fi
33189 done
33190 done
33191
33192 if test "$ac_find_libraries" != "" ; then
33193
33194 if test "$ac_find_libraries" = "default location"; then
33195 ac_path_to_link=""
33196 else
33197 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33198 result=$?
33199 if test $result = 0; then
33200 ac_path_to_link=""
33201 else
33202 ac_path_to_link=" -L$ac_find_libraries"
33203 fi
33204 fi
33205
33206 if test "$ac_path_to_link" != " -L/usr/lib" -a \
33207 "$ac_path_to_link" != "$LDFLAGS_GL"; then
33208 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
33209 fi
33210
33211 found_gl=1
33212 OPENGL_LIBS="-lGL -lGLU"
33213 { echo "$as_me:$LINENO: result: yes" >&5
33214 echo "${ECHO_T}yes" >&6; }
33215 else
33216 { echo "$as_me:$LINENO: result: no" >&5
33217 echo "${ECHO_T}no" >&6; }
33218 fi
33219 else
33220 { echo "$as_me:$LINENO: result: no" >&5
33221 echo "${ECHO_T}no" >&6; }
33222 fi
33223
33224 if test "$found_gl" != 1; then
33225 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
33226 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
33227
33228 ac_find_libraries=
33229 for ac_dir in $SEARCH_LIB;
33230 do
33231 for ac_extension in a so sl dylib dll.a; do
33232 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
33233 ac_find_libraries=$ac_dir
33234 break 2
33235 fi
33236 done
33237 done
33238
33239 if test "$ac_find_libraries" != "" ; then
33240
33241 if test "$ac_find_libraries" = "default location"; then
33242 ac_path_to_link=""
33243 else
33244 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
33245 result=$?
33246 if test $result = 0; then
33247 ac_path_to_link=""
33248 else
33249 ac_path_to_link=" -L$ac_find_libraries"
33250 fi
33251 fi
33252
33253 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
33254 OPENGL_LIBS="-lMesaGL -lMesaGLU"
33255 { echo "$as_me:$LINENO: result: yes" >&5
33256 echo "${ECHO_T}yes" >&6; }
33257 else
33258 { echo "$as_me:$LINENO: result: no" >&5
33259 echo "${ECHO_T}no" >&6; }
33260 fi
33261 fi
33262
33263 fi
33264
33265
33266
33267 fi
33268
33269
33270
33271 if test "x$OPENGL_LIBS" = "x"; then
33272 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
33273 echo "$as_me: error: OpenGL libraries not available" >&2;}
33274 { (exit 1); exit 1; }; }
33275 fi
33276 fi
33277
33278 if test "$wxUSE_OPENGL" = "yes"; then
33279 USE_OPENGL=1
33280 cat >>confdefs.h <<\_ACEOF
33281 #define wxUSE_OPENGL 1
33282 _ACEOF
33283
33284 cat >>confdefs.h <<\_ACEOF
33285 #define wxUSE_GLCANVAS 1
33286 _ACEOF
33287
33288 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
33289 fi
33290 fi
33291
33292
33293 if test -n "$TOOLKIT" ; then
33294 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33295 fi
33296
33297
33298
33299 if test "$wxUSE_SHARED" = "yes"; then
33300 case "${host}" in
33301 *-pc-msdosdjgpp )
33302 wxUSE_SHARED=no
33303 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33304 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33305 ;;
33306 esac
33307 fi
33308
33309 if test "$wxUSE_SHARED" = "yes"; then
33310
33311
33312 case "${host}" in
33313 *-*-cygwin* | *-*-mingw* )
33314 wx_cv_version_script=no
33315 ;;
33316
33317 *)
33318 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33319 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33320 if test "${wx_cv_version_script+set}" = set; then
33321 echo $ECHO_N "(cached) $ECHO_C" >&6
33322 else
33323
33324 echo "VER_1 { *; };" >conftest.sym
33325 echo "int main() { return 0; }" >conftest.cpp
33326
33327 if { ac_try='
33328 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33329 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33330 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33331 (eval $ac_try) 2>&5
33332 ac_status=$?
33333 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33334 (exit $ac_status); }; } ; then
33335 if test -s conftest.stderr ; then
33336 wx_cv_version_script=no
33337 else
33338 wx_cv_version_script=yes
33339 fi
33340 else
33341 wx_cv_version_script=no
33342 fi
33343
33344 if test $wx_cv_version_script = yes
33345 then
33346 echo "struct B { virtual ~B() { } }; \
33347 struct D : public B { }; \
33348 void F() { D d; }" > conftest.cpp
33349
33350 if { ac_try='
33351 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33352 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33353 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33354 (eval $ac_try) 2>&5
33355 ac_status=$?
33356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33357 (exit $ac_status); }; } &&
33358 { ac_try='
33359 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33360 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33361 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33362 (eval $ac_try) 2>&5
33363 ac_status=$?
33364 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33365 (exit $ac_status); }; }
33366 then
33367 if { ac_try='
33368 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33369 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33370 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33371 (eval $ac_try) 2>&5
33372 ac_status=$?
33373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33374 (exit $ac_status); }; }
33375 then
33376 wx_cv_version_script=yes
33377 else
33378 wx_cv_version_script=no
33379 fi
33380 fi
33381 fi
33382
33383 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33384 rm -f conftest1.output conftest2.output conftest3.output
33385
33386 fi
33387 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33388 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33389
33390 if test $wx_cv_version_script = yes ; then
33391 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33392 fi
33393 ;;
33394 esac
33395
33396
33397 if test "$wxUSE_VISIBILITY" != "no"; then
33398
33399
33400 if test -n "$GCC"; then
33401 CFLAGS_VISIBILITY="-fvisibility=hidden"
33402 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33403 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33404 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33405 if test "${wx_cv_cc_visibility+set}" = set; then
33406 echo $ECHO_N "(cached) $ECHO_C" >&6
33407 else
33408
33409 wx_save_CXXFLAGS="$CXXFLAGS"
33410 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33411 ac_ext=cpp
33412 ac_cpp='$CXXCPP $CPPFLAGS'
33413 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33414 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33415 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33416
33417 cat >conftest.$ac_ext <<_ACEOF
33418 /* confdefs.h. */
33419 _ACEOF
33420 cat confdefs.h >>conftest.$ac_ext
33421 cat >>conftest.$ac_ext <<_ACEOF
33422 /* end confdefs.h. */
33423
33424 /* we need gcc >= 4.0, older versions with visibility support
33425 didn't have class visibility: */
33426 #if defined(__GNUC__) && __GNUC__ < 4
33427 error this gcc is too old;
33428 #endif
33429
33430 /* visibility only makes sense for ELF shared libs: */
33431 #if !defined(__ELF__) && !defined(__APPLE__)
33432 error this platform has no visibility;
33433 #endif
33434
33435 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33436 extern __attribute__((__visibility__("default"))) int exportedvar;
33437 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33438 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33439 class __attribute__((__visibility__("default"))) Foo {
33440 Foo() {}
33441 };
33442
33443 int
33444 main ()
33445 {
33446
33447 ;
33448 return 0;
33449 }
33450 _ACEOF
33451 rm -f conftest.$ac_objext
33452 if { (ac_try="$ac_compile"
33453 case "(($ac_try" in
33454 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33455 *) ac_try_echo=$ac_try;;
33456 esac
33457 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33458 (eval "$ac_compile") 2>conftest.er1
33459 ac_status=$?
33460 grep -v '^ *+' conftest.er1 >conftest.err
33461 rm -f conftest.er1
33462 cat conftest.err >&5
33463 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33464 (exit $ac_status); } && {
33465 test -z "$ac_cxx_werror_flag" ||
33466 test ! -s conftest.err
33467 } && test -s conftest.$ac_objext; then
33468 wx_cv_cc_visibility=yes
33469 else
33470 echo "$as_me: failed program was:" >&5
33471 sed 's/^/| /' conftest.$ac_ext >&5
33472
33473 wx_cv_cc_visibility=no
33474 fi
33475
33476 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33477 ac_ext=c
33478 ac_cpp='$CPP $CPPFLAGS'
33479 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33480 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33481 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33482
33483 CXXFLAGS="$wx_save_CXXFLAGS"
33484 fi
33485
33486 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33487 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33488 if test $wx_cv_cc_visibility = yes; then
33489 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33490 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33491 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33492 echo $ECHO_N "(cached) $ECHO_C" >&6
33493 else
33494
33495 wx_save_CXXFLAGS="$CXXFLAGS"
33496 wx_save_LDFLAGS="$LDFLAGS"
33497 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33498 LDFLAGS="$LDFLAGS -shared -fPIC"
33499 ac_ext=cpp
33500 ac_cpp='$CXXCPP $CPPFLAGS'
33501 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33502 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33503 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33504
33505 cat >conftest.$ac_ext <<_ACEOF
33506 /* confdefs.h. */
33507 _ACEOF
33508 cat confdefs.h >>conftest.$ac_ext
33509 cat >>conftest.$ac_ext <<_ACEOF
33510 /* end confdefs.h. */
33511
33512 #include <string>
33513
33514 int
33515 main ()
33516 {
33517
33518 std::string s("hello");
33519 return s.length();
33520
33521 ;
33522 return 0;
33523 }
33524 _ACEOF
33525 rm -f conftest.$ac_objext conftest$ac_exeext
33526 if { (ac_try="$ac_link"
33527 case "(($ac_try" in
33528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33529 *) ac_try_echo=$ac_try;;
33530 esac
33531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33532 (eval "$ac_link") 2>conftest.er1
33533 ac_status=$?
33534 grep -v '^ *+' conftest.er1 >conftest.err
33535 rm -f conftest.er1
33536 cat conftest.err >&5
33537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33538 (exit $ac_status); } && {
33539 test -z "$ac_cxx_werror_flag" ||
33540 test ! -s conftest.err
33541 } && test -s conftest$ac_exeext &&
33542 $as_test_x conftest$ac_exeext; then
33543 wx_cv_cc_broken_libstdcxx_visibility=no
33544 else
33545 echo "$as_me: failed program was:" >&5
33546 sed 's/^/| /' conftest.$ac_ext >&5
33547
33548 wx_cv_cc_broken_libstdcxx_visibility=yes
33549 fi
33550
33551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33552 conftest$ac_exeext conftest.$ac_ext
33553 ac_ext=c
33554 ac_cpp='$CPP $CPPFLAGS'
33555 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33556 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33557 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33558
33559 CXXFLAGS="$wx_save_CXXFLAGS"
33560 LDFLAGS="$wx_save_LDFLAGS"
33561 fi
33562
33563 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33564 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33565
33566 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33567 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33568 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33569 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33570 echo $ECHO_N "(cached) $ECHO_C" >&6
33571 else
33572
33573 ac_ext=cpp
33574 ac_cpp='$CXXCPP $CPPFLAGS'
33575 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33576 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33577 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33578
33579 cat >conftest.$ac_ext <<_ACEOF
33580 /* confdefs.h. */
33581 _ACEOF
33582 cat confdefs.h >>conftest.$ac_ext
33583 cat >>conftest.$ac_ext <<_ACEOF
33584 /* end confdefs.h. */
33585
33586 #pragma GCC visibility push(default)
33587 #include <string>
33588 #pragma GCC visibility pop
33589
33590 int
33591 main ()
33592 {
33593
33594 std::string s("hello");
33595 return s.length();
33596
33597 ;
33598 return 0;
33599 }
33600 _ACEOF
33601 rm -f conftest.$ac_objext conftest$ac_exeext
33602 if { (ac_try="$ac_link"
33603 case "(($ac_try" in
33604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33605 *) ac_try_echo=$ac_try;;
33606 esac
33607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33608 (eval "$ac_link") 2>conftest.er1
33609 ac_status=$?
33610 grep -v '^ *+' conftest.er1 >conftest.err
33611 rm -f conftest.er1
33612 cat conftest.err >&5
33613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33614 (exit $ac_status); } && {
33615 test -z "$ac_cxx_werror_flag" ||
33616 test ! -s conftest.err
33617 } && test -s conftest$ac_exeext &&
33618 $as_test_x conftest$ac_exeext; then
33619 wx_cv_cc_visibility_workaround=no
33620 else
33621 echo "$as_me: failed program was:" >&5
33622 sed 's/^/| /' conftest.$ac_ext >&5
33623
33624 wx_cv_cc_visibility_workaround=yes
33625 fi
33626
33627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33628 conftest$ac_exeext conftest.$ac_ext
33629 ac_ext=c
33630 ac_cpp='$CPP $CPPFLAGS'
33631 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33632 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33633 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33634
33635
33636 fi
33637
33638 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33639 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33640
33641 if test $wx_cv_cc_visibility_workaround = no; then
33642 wx_cv_cc_visibility=no
33643 fi
33644 fi
33645 fi
33646
33647 if test $wx_cv_cc_visibility = yes; then
33648 cat >>confdefs.h <<\_ACEOF
33649 #define HAVE_VISIBILITY 1
33650 _ACEOF
33651
33652 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33653 cat >>confdefs.h <<\_ACEOF
33654 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33655 _ACEOF
33656
33657 fi
33658 else
33659 CFLAGS_VISIBILITY=""
33660 CXXFLAGS_VISIBILITY=""
33661 fi
33662
33663
33664 fi
33665
33666 fi
33667
33668 if test "x$SUNCXX" = xyes; then
33669 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33670 WXCONFIG_RPATH="-R\$libdir"
33671 else
33672 case "${host}" in
33673 *-*-linux* | *-*-gnu* )
33674 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33675 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33676 ;;
33677
33678 *-*-solaris2* )
33679
33680 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33681
33682 saveLdflags="$LDFLAGS"
33683 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33684 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33685 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33686 cat >conftest.$ac_ext <<_ACEOF
33687 /* confdefs.h. */
33688 _ACEOF
33689 cat confdefs.h >>conftest.$ac_ext
33690 cat >>conftest.$ac_ext <<_ACEOF
33691 /* end confdefs.h. */
33692
33693 int
33694 main ()
33695 {
33696
33697 ;
33698 return 0;
33699 }
33700 _ACEOF
33701 rm -f conftest.$ac_objext conftest$ac_exeext
33702 if { (ac_try="$ac_link"
33703 case "(($ac_try" in
33704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33705 *) ac_try_echo=$ac_try;;
33706 esac
33707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33708 (eval "$ac_link") 2>conftest.er1
33709 ac_status=$?
33710 grep -v '^ *+' conftest.er1 >conftest.err
33711 rm -f conftest.er1
33712 cat conftest.err >&5
33713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33714 (exit $ac_status); } && {
33715 test -z "$ac_c_werror_flag" ||
33716 test ! -s conftest.err
33717 } && test -s conftest$ac_exeext &&
33718 $as_test_x conftest$ac_exeext; then
33719
33720 { echo "$as_me:$LINENO: result: yes" >&5
33721 echo "${ECHO_T}yes" >&6; }
33722 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33723 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33724
33725 else
33726 echo "$as_me: failed program was:" >&5
33727 sed 's/^/| /' conftest.$ac_ext >&5
33728
33729
33730 { echo "$as_me:$LINENO: result: no" >&5
33731 echo "${ECHO_T}no" >&6; }
33732 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33733 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33734 LDFLAGS="$saveLdflags -Wl,-R,/"
33735 cat >conftest.$ac_ext <<_ACEOF
33736 /* confdefs.h. */
33737 _ACEOF
33738 cat confdefs.h >>conftest.$ac_ext
33739 cat >>conftest.$ac_ext <<_ACEOF
33740 /* end confdefs.h. */
33741
33742 int
33743 main ()
33744 {
33745
33746 ;
33747 return 0;
33748 }
33749 _ACEOF
33750 rm -f conftest.$ac_objext conftest$ac_exeext
33751 if { (ac_try="$ac_link"
33752 case "(($ac_try" in
33753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33754 *) ac_try_echo=$ac_try;;
33755 esac
33756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33757 (eval "$ac_link") 2>conftest.er1
33758 ac_status=$?
33759 grep -v '^ *+' conftest.er1 >conftest.err
33760 rm -f conftest.er1
33761 cat conftest.err >&5
33762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33763 (exit $ac_status); } && {
33764 test -z "$ac_c_werror_flag" ||
33765 test ! -s conftest.err
33766 } && test -s conftest$ac_exeext &&
33767 $as_test_x conftest$ac_exeext; then
33768
33769 { echo "$as_me:$LINENO: result: yes" >&5
33770 echo "${ECHO_T}yes" >&6; }
33771 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33772 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33773
33774 else
33775 echo "$as_me: failed program was:" >&5
33776 sed 's/^/| /' conftest.$ac_ext >&5
33777
33778
33779 { echo "$as_me:$LINENO: result: no" >&5
33780 echo "${ECHO_T}no" >&6; }
33781
33782 fi
33783
33784 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33785 conftest$ac_exeext conftest.$ac_ext
33786
33787 fi
33788
33789 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33790 conftest$ac_exeext conftest.$ac_ext
33791 LDFLAGS="$saveLdflags"
33792 ;;
33793
33794 *-*-darwin* )
33795 install_name_tool=`which install_name_tool`
33796 if test "$install_name_tool" -a -x "$install_name_tool"; then
33797 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33798 cat <<EOF >change-install-names
33799 #!/bin/sh
33800 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33801 inst_cmd="install_name_tool "
33802 for i in \${libnames} ; do
33803 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33804 done
33805 \${inst_cmd} \${3}
33806 EOF
33807 chmod +x change-install-names
33808 fi
33809 ;;
33810
33811 *-*-cygwin* | *-*-mingw32* )
33812 ;;
33813
33814 *-*-hpux* )
33815 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33816 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33817 ;;
33818
33819 esac
33820 fi
33821
33822 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33823
33824 if test $wxUSE_RPATH = "no"; then
33825 SAMPLES_RPATH_FLAG=''
33826 SAMPLES_RPATH_POSTLINK=''
33827 WXCONFIG_RPATH=''
33828 fi
33829
33830 SHARED=1
33831
33832 else
33833
33834 config_linkage_component="-static"
33835 SHARED=0
33836
33837 fi
33838
33839
33840 UNICODE=0
33841 lib_unicode_suffix=
33842 WX_CHARTYPE="ansi"
33843 if test "$wxUSE_UNICODE" = "yes"; then
33844 lib_unicode_suffix=u
33845 WX_CHARTYPE="unicode"
33846 UNICODE=1
33847 fi
33848
33849 lib_debug_suffix=
33850 WX_DEBUGTYPE="release"
33851 DEBUG_FLAG=0
33852 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33853 lib_debug_suffix=d
33854 WX_DEBUGTYPE="debug"
33855 DEBUG_FLAG=1
33856 fi
33857
33858 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33859 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33860
33861 DEBUG_INFO=0
33862 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33863 DEBUG_INFO=1
33864 fi
33865
33866 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33867
33868 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33869
33870 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33871
33872 if test "$cross_compiling" = "yes"; then
33873 HOST_SUFFIX="-$host_alias"
33874 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33875 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33876 fi
33877
33878 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33879 if test "${TOOLKIT_DIR}" = "os2"; then
33880 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33881 else
33882 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33883 fi
33884
33885
33886
33887 if test "$wxUSE_COCOA" = 1; then
33888
33889 ac_ext=c
33890 ac_cpp='$CPP $CPPFLAGS'
33891 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33892 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33893 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33894
33895 ac_ext=m
33896
33897 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33898 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33899 cat >conftest.$ac_ext <<_ACEOF
33900 /* confdefs.h. */
33901 _ACEOF
33902 cat confdefs.h >>conftest.$ac_ext
33903 cat >>conftest.$ac_ext <<_ACEOF
33904 /* end confdefs.h. */
33905 #include <AppKit/NSEvent.h>
33906 #include <CoreFoundation/CoreFoundation.h>
33907
33908 int
33909 main ()
33910 {
33911
33912 ;
33913 return 0;
33914 }
33915 _ACEOF
33916 rm -f conftest.$ac_objext
33917 if { (ac_try="$ac_compile"
33918 case "(($ac_try" in
33919 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33920 *) ac_try_echo=$ac_try;;
33921 esac
33922 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33923 (eval "$ac_compile") 2>conftest.er1
33924 ac_status=$?
33925 grep -v '^ *+' conftest.er1 >conftest.err
33926 rm -f conftest.er1
33927 cat conftest.err >&5
33928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33929 (exit $ac_status); } && {
33930 test -z "$ac_c_werror_flag" ||
33931 test ! -s conftest.err
33932 } && test -s conftest.$ac_objext; then
33933 { echo "$as_me:$LINENO: result: no" >&5
33934 echo "${ECHO_T}no" >&6; }
33935 else
33936 echo "$as_me: failed program was:" >&5
33937 sed 's/^/| /' conftest.$ac_ext >&5
33938
33939 { echo "$as_me:$LINENO: result: yes" >&5
33940 echo "${ECHO_T}yes" >&6; }
33941 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33942 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33943 cat >conftest.$ac_ext <<_ACEOF
33944 /* confdefs.h. */
33945 _ACEOF
33946 cat confdefs.h >>conftest.$ac_ext
33947 cat >>conftest.$ac_ext <<_ACEOF
33948 /* end confdefs.h. */
33949 #define __Point__ 1
33950 #include <AppKit/NSEvent.h>
33951 #include <CoreFoundation/CoreFoundation.h>
33952
33953 int
33954 main ()
33955 {
33956
33957 ;
33958 return 0;
33959 }
33960 _ACEOF
33961 rm -f conftest.$ac_objext
33962 if { (ac_try="$ac_compile"
33963 case "(($ac_try" in
33964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33965 *) ac_try_echo=$ac_try;;
33966 esac
33967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33968 (eval "$ac_compile") 2>conftest.er1
33969 ac_status=$?
33970 grep -v '^ *+' conftest.er1 >conftest.err
33971 rm -f conftest.er1
33972 cat conftest.err >&5
33973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33974 (exit $ac_status); } && {
33975 test -z "$ac_c_werror_flag" ||
33976 test ! -s conftest.err
33977 } && test -s conftest.$ac_objext; then
33978 { echo "$as_me:$LINENO: result: yes" >&5
33979 echo "${ECHO_T}yes" >&6; }
33980 cat >>confdefs.h <<\_ACEOF
33981 #define __Point__ 1
33982 _ACEOF
33983
33984
33985 else
33986 echo "$as_me: failed program was:" >&5
33987 sed 's/^/| /' conftest.$ac_ext >&5
33988
33989 { { echo "$as_me:$LINENO: error: no
33990 See \`config.log' for more details." >&5
33991 echo "$as_me: error: no
33992 See \`config.log' for more details." >&2;}
33993 { (exit 1); exit 1; }; }
33994
33995 fi
33996
33997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33998
33999 fi
34000
34001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34002 ac_ext=c
34003 ac_cpp='$CPP $CPPFLAGS'
34004 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34005 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34006 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34007
34008 fi
34009
34010
34011 { echo "$as_me:$LINENO: checking for mode_t" >&5
34012 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
34013 if test "${ac_cv_type_mode_t+set}" = set; then
34014 echo $ECHO_N "(cached) $ECHO_C" >&6
34015 else
34016 cat >conftest.$ac_ext <<_ACEOF
34017 /* confdefs.h. */
34018 _ACEOF
34019 cat confdefs.h >>conftest.$ac_ext
34020 cat >>conftest.$ac_ext <<_ACEOF
34021 /* end confdefs.h. */
34022 $ac_includes_default
34023 typedef mode_t ac__type_new_;
34024 int
34025 main ()
34026 {
34027 if ((ac__type_new_ *) 0)
34028 return 0;
34029 if (sizeof (ac__type_new_))
34030 return 0;
34031 ;
34032 return 0;
34033 }
34034 _ACEOF
34035 rm -f conftest.$ac_objext
34036 if { (ac_try="$ac_compile"
34037 case "(($ac_try" in
34038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34039 *) ac_try_echo=$ac_try;;
34040 esac
34041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34042 (eval "$ac_compile") 2>conftest.er1
34043 ac_status=$?
34044 grep -v '^ *+' conftest.er1 >conftest.err
34045 rm -f conftest.er1
34046 cat conftest.err >&5
34047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34048 (exit $ac_status); } && {
34049 test -z "$ac_c_werror_flag" ||
34050 test ! -s conftest.err
34051 } && test -s conftest.$ac_objext; then
34052 ac_cv_type_mode_t=yes
34053 else
34054 echo "$as_me: failed program was:" >&5
34055 sed 's/^/| /' conftest.$ac_ext >&5
34056
34057 ac_cv_type_mode_t=no
34058 fi
34059
34060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34061 fi
34062 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
34063 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
34064 if test $ac_cv_type_mode_t = yes; then
34065 :
34066 else
34067
34068 cat >>confdefs.h <<_ACEOF
34069 #define mode_t int
34070 _ACEOF
34071
34072 fi
34073
34074 { echo "$as_me:$LINENO: checking for off_t" >&5
34075 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
34076 if test "${ac_cv_type_off_t+set}" = set; then
34077 echo $ECHO_N "(cached) $ECHO_C" >&6
34078 else
34079 cat >conftest.$ac_ext <<_ACEOF
34080 /* confdefs.h. */
34081 _ACEOF
34082 cat confdefs.h >>conftest.$ac_ext
34083 cat >>conftest.$ac_ext <<_ACEOF
34084 /* end confdefs.h. */
34085 $ac_includes_default
34086 typedef off_t ac__type_new_;
34087 int
34088 main ()
34089 {
34090 if ((ac__type_new_ *) 0)
34091 return 0;
34092 if (sizeof (ac__type_new_))
34093 return 0;
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 ac_cv_type_off_t=yes
34116 else
34117 echo "$as_me: failed program was:" >&5
34118 sed 's/^/| /' conftest.$ac_ext >&5
34119
34120 ac_cv_type_off_t=no
34121 fi
34122
34123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34124 fi
34125 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
34126 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
34127 if test $ac_cv_type_off_t = yes; then
34128 :
34129 else
34130
34131 cat >>confdefs.h <<_ACEOF
34132 #define off_t long int
34133 _ACEOF
34134
34135 fi
34136
34137 { echo "$as_me:$LINENO: checking for pid_t" >&5
34138 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
34139 if test "${ac_cv_type_pid_t+set}" = set; then
34140 echo $ECHO_N "(cached) $ECHO_C" >&6
34141 else
34142 cat >conftest.$ac_ext <<_ACEOF
34143 /* confdefs.h. */
34144 _ACEOF
34145 cat confdefs.h >>conftest.$ac_ext
34146 cat >>conftest.$ac_ext <<_ACEOF
34147 /* end confdefs.h. */
34148 $ac_includes_default
34149 typedef pid_t ac__type_new_;
34150 int
34151 main ()
34152 {
34153 if ((ac__type_new_ *) 0)
34154 return 0;
34155 if (sizeof (ac__type_new_))
34156 return 0;
34157 ;
34158 return 0;
34159 }
34160 _ACEOF
34161 rm -f conftest.$ac_objext
34162 if { (ac_try="$ac_compile"
34163 case "(($ac_try" in
34164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34165 *) ac_try_echo=$ac_try;;
34166 esac
34167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34168 (eval "$ac_compile") 2>conftest.er1
34169 ac_status=$?
34170 grep -v '^ *+' conftest.er1 >conftest.err
34171 rm -f conftest.er1
34172 cat conftest.err >&5
34173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34174 (exit $ac_status); } && {
34175 test -z "$ac_c_werror_flag" ||
34176 test ! -s conftest.err
34177 } && test -s conftest.$ac_objext; then
34178 ac_cv_type_pid_t=yes
34179 else
34180 echo "$as_me: failed program was:" >&5
34181 sed 's/^/| /' conftest.$ac_ext >&5
34182
34183 ac_cv_type_pid_t=no
34184 fi
34185
34186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34187 fi
34188 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
34189 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
34190 if test $ac_cv_type_pid_t = yes; then
34191 :
34192 else
34193
34194 cat >>confdefs.h <<_ACEOF
34195 #define pid_t int
34196 _ACEOF
34197
34198 fi
34199
34200 { echo "$as_me:$LINENO: checking for size_t" >&5
34201 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
34202 if test "${ac_cv_type_size_t+set}" = set; then
34203 echo $ECHO_N "(cached) $ECHO_C" >&6
34204 else
34205 cat >conftest.$ac_ext <<_ACEOF
34206 /* confdefs.h. */
34207 _ACEOF
34208 cat confdefs.h >>conftest.$ac_ext
34209 cat >>conftest.$ac_ext <<_ACEOF
34210 /* end confdefs.h. */
34211 $ac_includes_default
34212 typedef size_t ac__type_new_;
34213 int
34214 main ()
34215 {
34216 if ((ac__type_new_ *) 0)
34217 return 0;
34218 if (sizeof (ac__type_new_))
34219 return 0;
34220 ;
34221 return 0;
34222 }
34223 _ACEOF
34224 rm -f conftest.$ac_objext
34225 if { (ac_try="$ac_compile"
34226 case "(($ac_try" in
34227 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34228 *) ac_try_echo=$ac_try;;
34229 esac
34230 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34231 (eval "$ac_compile") 2>conftest.er1
34232 ac_status=$?
34233 grep -v '^ *+' conftest.er1 >conftest.err
34234 rm -f conftest.er1
34235 cat conftest.err >&5
34236 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34237 (exit $ac_status); } && {
34238 test -z "$ac_c_werror_flag" ||
34239 test ! -s conftest.err
34240 } && test -s conftest.$ac_objext; then
34241 ac_cv_type_size_t=yes
34242 else
34243 echo "$as_me: failed program was:" >&5
34244 sed 's/^/| /' conftest.$ac_ext >&5
34245
34246 ac_cv_type_size_t=no
34247 fi
34248
34249 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34250 fi
34251 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
34252 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
34253 if test $ac_cv_type_size_t = yes; then
34254 :
34255 else
34256
34257 cat >>confdefs.h <<_ACEOF
34258 #define size_t unsigned int
34259 _ACEOF
34260
34261 fi
34262
34263
34264 { echo "$as_me:$LINENO: checking for ssize_t" >&5
34265 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
34266 if test "${ac_cv_type_ssize_t+set}" = set; then
34267 echo $ECHO_N "(cached) $ECHO_C" >&6
34268 else
34269 cat >conftest.$ac_ext <<_ACEOF
34270 /* confdefs.h. */
34271 _ACEOF
34272 cat confdefs.h >>conftest.$ac_ext
34273 cat >>conftest.$ac_ext <<_ACEOF
34274 /* end confdefs.h. */
34275 $ac_includes_default
34276 typedef ssize_t ac__type_new_;
34277 int
34278 main ()
34279 {
34280 if ((ac__type_new_ *) 0)
34281 return 0;
34282 if (sizeof (ac__type_new_))
34283 return 0;
34284 ;
34285 return 0;
34286 }
34287 _ACEOF
34288 rm -f conftest.$ac_objext
34289 if { (ac_try="$ac_compile"
34290 case "(($ac_try" in
34291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34292 *) ac_try_echo=$ac_try;;
34293 esac
34294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34295 (eval "$ac_compile") 2>conftest.er1
34296 ac_status=$?
34297 grep -v '^ *+' conftest.er1 >conftest.err
34298 rm -f conftest.er1
34299 cat conftest.err >&5
34300 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34301 (exit $ac_status); } && {
34302 test -z "$ac_c_werror_flag" ||
34303 test ! -s conftest.err
34304 } && test -s conftest.$ac_objext; then
34305 ac_cv_type_ssize_t=yes
34306 else
34307 echo "$as_me: failed program was:" >&5
34308 sed 's/^/| /' conftest.$ac_ext >&5
34309
34310 ac_cv_type_ssize_t=no
34311 fi
34312
34313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34314 fi
34315 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34316 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34317 if test $ac_cv_type_ssize_t = yes; then
34318
34319 cat >>confdefs.h <<_ACEOF
34320 #define HAVE_SSIZE_T 1
34321 _ACEOF
34322
34323
34324 fi
34325
34326
34327 ac_ext=cpp
34328 ac_cpp='$CXXCPP $CPPFLAGS'
34329 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34330 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34331 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34332 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34333 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34334 if test "${wx_cv_size_t_is_uint+set}" = set; then
34335 echo $ECHO_N "(cached) $ECHO_C" >&6
34336 else
34337
34338 cat >conftest.$ac_ext <<_ACEOF
34339 /* confdefs.h. */
34340 _ACEOF
34341 cat confdefs.h >>conftest.$ac_ext
34342 cat >>conftest.$ac_ext <<_ACEOF
34343 /* end confdefs.h. */
34344 #include <stddef.h>
34345 int
34346 main ()
34347 {
34348
34349 return 0; }
34350
34351 struct Foo { void foo(size_t); void foo(unsigned int); };
34352
34353 int bar() {
34354
34355 ;
34356 return 0;
34357 }
34358 _ACEOF
34359 rm -f conftest.$ac_objext
34360 if { (ac_try="$ac_compile"
34361 case "(($ac_try" in
34362 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34363 *) ac_try_echo=$ac_try;;
34364 esac
34365 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34366 (eval "$ac_compile") 2>conftest.er1
34367 ac_status=$?
34368 grep -v '^ *+' conftest.er1 >conftest.err
34369 rm -f conftest.er1
34370 cat conftest.err >&5
34371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34372 (exit $ac_status); } && {
34373 test -z "$ac_cxx_werror_flag" ||
34374 test ! -s conftest.err
34375 } && test -s conftest.$ac_objext; then
34376 wx_cv_size_t_is_uint=no
34377 else
34378 echo "$as_me: failed program was:" >&5
34379 sed 's/^/| /' conftest.$ac_ext >&5
34380
34381 wx_cv_size_t_is_uint=yes
34382
34383 fi
34384
34385 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34386
34387
34388 fi
34389 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34390 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34391
34392 if test "$wx_cv_size_t_is_uint" = "yes"; then
34393 cat >>confdefs.h <<\_ACEOF
34394 #define wxSIZE_T_IS_UINT 1
34395 _ACEOF
34396
34397 else
34398 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34399 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34400 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34401 echo $ECHO_N "(cached) $ECHO_C" >&6
34402 else
34403 cat >conftest.$ac_ext <<_ACEOF
34404 /* confdefs.h. */
34405 _ACEOF
34406 cat confdefs.h >>conftest.$ac_ext
34407 cat >>conftest.$ac_ext <<_ACEOF
34408 /* end confdefs.h. */
34409 #include <stddef.h>
34410 int
34411 main ()
34412 {
34413
34414 return 0; }
34415
34416 struct Foo { void foo(size_t); void foo(unsigned long); };
34417
34418 int bar() {
34419
34420 ;
34421 return 0;
34422 }
34423 _ACEOF
34424 rm -f conftest.$ac_objext
34425 if { (ac_try="$ac_compile"
34426 case "(($ac_try" in
34427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34428 *) ac_try_echo=$ac_try;;
34429 esac
34430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34431 (eval "$ac_compile") 2>conftest.er1
34432 ac_status=$?
34433 grep -v '^ *+' conftest.er1 >conftest.err
34434 rm -f conftest.er1
34435 cat conftest.err >&5
34436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34437 (exit $ac_status); } && {
34438 test -z "$ac_cxx_werror_flag" ||
34439 test ! -s conftest.err
34440 } && test -s conftest.$ac_objext; then
34441 wx_cv_size_t_is_ulong=no
34442 else
34443 echo "$as_me: failed program was:" >&5
34444 sed 's/^/| /' conftest.$ac_ext >&5
34445
34446 wx_cv_size_t_is_ulong=yes
34447
34448 fi
34449
34450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34451
34452 fi
34453 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34454 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34455
34456 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34457 cat >>confdefs.h <<\_ACEOF
34458 #define wxSIZE_T_IS_ULONG 1
34459 _ACEOF
34460
34461 fi
34462 fi
34463
34464 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34465 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34466 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34467 echo $ECHO_N "(cached) $ECHO_C" >&6
34468 else
34469 cat >conftest.$ac_ext <<_ACEOF
34470 /* confdefs.h. */
34471 _ACEOF
34472 cat confdefs.h >>conftest.$ac_ext
34473 cat >>conftest.$ac_ext <<_ACEOF
34474 /* end confdefs.h. */
34475 #include <wchar.h>
34476 int
34477 main ()
34478 {
34479
34480 return 0; }
34481
34482 struct Foo { void foo(wchar_t);
34483 void foo(unsigned short);
34484 void foo(unsigned int);
34485 void foo(unsigned long); };
34486
34487 int bar() {
34488
34489 ;
34490 return 0;
34491 }
34492 _ACEOF
34493 rm -f conftest.$ac_objext
34494 if { (ac_try="$ac_compile"
34495 case "(($ac_try" in
34496 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34497 *) ac_try_echo=$ac_try;;
34498 esac
34499 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34500 (eval "$ac_compile") 2>conftest.er1
34501 ac_status=$?
34502 grep -v '^ *+' conftest.er1 >conftest.err
34503 rm -f conftest.er1
34504 cat conftest.err >&5
34505 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34506 (exit $ac_status); } && {
34507 test -z "$ac_cxx_werror_flag" ||
34508 test ! -s conftest.err
34509 } && test -s conftest.$ac_objext; then
34510 wx_cv_wchar_t_is_separate_type=yes
34511 else
34512 echo "$as_me: failed program was:" >&5
34513 sed 's/^/| /' conftest.$ac_ext >&5
34514
34515 wx_cv_wchar_t_is_separate_type=no
34516
34517 fi
34518
34519 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34520
34521 fi
34522 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34523 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34524
34525 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34526 cat >>confdefs.h <<\_ACEOF
34527 #define wxWCHAR_T_IS_REAL_TYPE 1
34528 _ACEOF
34529
34530 else
34531 cat >>confdefs.h <<\_ACEOF
34532 #define wxWCHAR_T_IS_REAL_TYPE 0
34533 _ACEOF
34534
34535 fi
34536
34537 ac_ext=c
34538 ac_cpp='$CPP $CPPFLAGS'
34539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34542
34543
34544 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34545 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34546 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34547 echo $ECHO_N "(cached) $ECHO_C" >&6
34548 else
34549
34550 cat >conftest.$ac_ext <<_ACEOF
34551 /* confdefs.h. */
34552 _ACEOF
34553 cat confdefs.h >>conftest.$ac_ext
34554 cat >>conftest.$ac_ext <<_ACEOF
34555 /* end confdefs.h. */
34556 #include <pwd.h>
34557 int
34558 main ()
34559 {
34560
34561 char *p;
34562 struct passwd *pw;
34563 p = pw->pw_gecos;
34564
34565 ;
34566 return 0;
34567 }
34568 _ACEOF
34569 rm -f conftest.$ac_objext
34570 if { (ac_try="$ac_compile"
34571 case "(($ac_try" in
34572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34573 *) ac_try_echo=$ac_try;;
34574 esac
34575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34576 (eval "$ac_compile") 2>conftest.er1
34577 ac_status=$?
34578 grep -v '^ *+' conftest.er1 >conftest.err
34579 rm -f conftest.er1
34580 cat conftest.err >&5
34581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34582 (exit $ac_status); } && {
34583 test -z "$ac_c_werror_flag" ||
34584 test ! -s conftest.err
34585 } && test -s conftest.$ac_objext; then
34586
34587 wx_cv_struct_pw_gecos=yes
34588
34589 else
34590 echo "$as_me: failed program was:" >&5
34591 sed 's/^/| /' conftest.$ac_ext >&5
34592
34593
34594 wx_cv_struct_pw_gecos=no
34595
34596
34597 fi
34598
34599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34600
34601
34602 fi
34603 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34604 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34605
34606 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34607 cat >>confdefs.h <<\_ACEOF
34608 #define HAVE_PW_GECOS 1
34609 _ACEOF
34610
34611 fi
34612
34613
34614 if test "$wxUSE_WCHAR_T" = "yes"; then
34615 cat >>confdefs.h <<\_ACEOF
34616 #define wxUSE_WCHAR_T 1
34617 _ACEOF
34618
34619
34620 WCSLEN_FOUND=0
34621 WCHAR_LINK=
34622
34623 for ac_func in wcslen
34624 do
34625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34626 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34628 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34629 echo $ECHO_N "(cached) $ECHO_C" >&6
34630 else
34631 cat >conftest.$ac_ext <<_ACEOF
34632 /* confdefs.h. */
34633 _ACEOF
34634 cat confdefs.h >>conftest.$ac_ext
34635 cat >>conftest.$ac_ext <<_ACEOF
34636 /* end confdefs.h. */
34637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34639 #define $ac_func innocuous_$ac_func
34640
34641 /* System header to define __stub macros and hopefully few prototypes,
34642 which can conflict with char $ac_func (); below.
34643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34644 <limits.h> exists even on freestanding compilers. */
34645
34646 #ifdef __STDC__
34647 # include <limits.h>
34648 #else
34649 # include <assert.h>
34650 #endif
34651
34652 #undef $ac_func
34653
34654 /* Override any GCC internal prototype to avoid an error.
34655 Use char because int might match the return type of a GCC
34656 builtin and then its argument prototype would still apply. */
34657 #ifdef __cplusplus
34658 extern "C"
34659 #endif
34660 char $ac_func ();
34661 /* The GNU C library defines this for functions which it implements
34662 to always fail with ENOSYS. Some functions are actually named
34663 something starting with __ and the normal name is an alias. */
34664 #if defined __stub_$ac_func || defined __stub___$ac_func
34665 choke me
34666 #endif
34667
34668 int
34669 main ()
34670 {
34671 return $ac_func ();
34672 ;
34673 return 0;
34674 }
34675 _ACEOF
34676 rm -f conftest.$ac_objext conftest$ac_exeext
34677 if { (ac_try="$ac_link"
34678 case "(($ac_try" in
34679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34680 *) ac_try_echo=$ac_try;;
34681 esac
34682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34683 (eval "$ac_link") 2>conftest.er1
34684 ac_status=$?
34685 grep -v '^ *+' conftest.er1 >conftest.err
34686 rm -f conftest.er1
34687 cat conftest.err >&5
34688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34689 (exit $ac_status); } && {
34690 test -z "$ac_c_werror_flag" ||
34691 test ! -s conftest.err
34692 } && test -s conftest$ac_exeext &&
34693 $as_test_x conftest$ac_exeext; then
34694 eval "$as_ac_var=yes"
34695 else
34696 echo "$as_me: failed program was:" >&5
34697 sed 's/^/| /' conftest.$ac_ext >&5
34698
34699 eval "$as_ac_var=no"
34700 fi
34701
34702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34703 conftest$ac_exeext conftest.$ac_ext
34704 fi
34705 ac_res=`eval echo '${'$as_ac_var'}'`
34706 { echo "$as_me:$LINENO: result: $ac_res" >&5
34707 echo "${ECHO_T}$ac_res" >&6; }
34708 if test `eval echo '${'$as_ac_var'}'` = yes; then
34709 cat >>confdefs.h <<_ACEOF
34710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34711 _ACEOF
34712 WCSLEN_FOUND=1
34713 fi
34714 done
34715
34716
34717 if test "$WCSLEN_FOUND" = 0; then
34718 if test "$TOOLKIT" = "MSW"; then
34719 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34720 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34721 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34722 echo $ECHO_N "(cached) $ECHO_C" >&6
34723 else
34724 ac_check_lib_save_LIBS=$LIBS
34725 LIBS="-lmsvcrt $LIBS"
34726 cat >conftest.$ac_ext <<_ACEOF
34727 /* confdefs.h. */
34728 _ACEOF
34729 cat confdefs.h >>conftest.$ac_ext
34730 cat >>conftest.$ac_ext <<_ACEOF
34731 /* end confdefs.h. */
34732
34733 /* Override any GCC internal prototype to avoid an error.
34734 Use char because int might match the return type of a GCC
34735 builtin and then its argument prototype would still apply. */
34736 #ifdef __cplusplus
34737 extern "C"
34738 #endif
34739 char wcslen ();
34740 int
34741 main ()
34742 {
34743 return wcslen ();
34744 ;
34745 return 0;
34746 }
34747 _ACEOF
34748 rm -f conftest.$ac_objext conftest$ac_exeext
34749 if { (ac_try="$ac_link"
34750 case "(($ac_try" in
34751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34752 *) ac_try_echo=$ac_try;;
34753 esac
34754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34755 (eval "$ac_link") 2>conftest.er1
34756 ac_status=$?
34757 grep -v '^ *+' conftest.er1 >conftest.err
34758 rm -f conftest.er1
34759 cat conftest.err >&5
34760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34761 (exit $ac_status); } && {
34762 test -z "$ac_c_werror_flag" ||
34763 test ! -s conftest.err
34764 } && test -s conftest$ac_exeext &&
34765 $as_test_x conftest$ac_exeext; then
34766 ac_cv_lib_msvcrt_wcslen=yes
34767 else
34768 echo "$as_me: failed program was:" >&5
34769 sed 's/^/| /' conftest.$ac_ext >&5
34770
34771 ac_cv_lib_msvcrt_wcslen=no
34772 fi
34773
34774 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34775 conftest$ac_exeext conftest.$ac_ext
34776 LIBS=$ac_check_lib_save_LIBS
34777 fi
34778 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34779 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34780 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34781 WCHAR_OK=1
34782 fi
34783
34784 else
34785 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34786 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34787 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34788 echo $ECHO_N "(cached) $ECHO_C" >&6
34789 else
34790 ac_check_lib_save_LIBS=$LIBS
34791 LIBS="-lw $LIBS"
34792 cat >conftest.$ac_ext <<_ACEOF
34793 /* confdefs.h. */
34794 _ACEOF
34795 cat confdefs.h >>conftest.$ac_ext
34796 cat >>conftest.$ac_ext <<_ACEOF
34797 /* end confdefs.h. */
34798
34799 /* Override any GCC internal prototype to avoid an error.
34800 Use char because int might match the return type of a GCC
34801 builtin and then its argument prototype would still apply. */
34802 #ifdef __cplusplus
34803 extern "C"
34804 #endif
34805 char wcslen ();
34806 int
34807 main ()
34808 {
34809 return wcslen ();
34810 ;
34811 return 0;
34812 }
34813 _ACEOF
34814 rm -f conftest.$ac_objext conftest$ac_exeext
34815 if { (ac_try="$ac_link"
34816 case "(($ac_try" in
34817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34818 *) ac_try_echo=$ac_try;;
34819 esac
34820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34821 (eval "$ac_link") 2>conftest.er1
34822 ac_status=$?
34823 grep -v '^ *+' conftest.er1 >conftest.err
34824 rm -f conftest.er1
34825 cat conftest.err >&5
34826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34827 (exit $ac_status); } && {
34828 test -z "$ac_c_werror_flag" ||
34829 test ! -s conftest.err
34830 } && test -s conftest$ac_exeext &&
34831 $as_test_x conftest$ac_exeext; then
34832 ac_cv_lib_w_wcslen=yes
34833 else
34834 echo "$as_me: failed program was:" >&5
34835 sed 's/^/| /' conftest.$ac_ext >&5
34836
34837 ac_cv_lib_w_wcslen=no
34838 fi
34839
34840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34841 conftest$ac_exeext conftest.$ac_ext
34842 LIBS=$ac_check_lib_save_LIBS
34843 fi
34844 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34845 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34846 if test $ac_cv_lib_w_wcslen = yes; then
34847
34848 WCHAR_LINK=" -lw"
34849 WCSLEN_FOUND=1
34850
34851 fi
34852
34853 fi
34854 fi
34855
34856 if test "$WCSLEN_FOUND" = 1; then
34857 cat >>confdefs.h <<\_ACEOF
34858 #define HAVE_WCSLEN 1
34859 _ACEOF
34860
34861 fi
34862
34863
34864 for ac_func in wcsdup
34865 do
34866 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34867 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34868 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34869 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34870 echo $ECHO_N "(cached) $ECHO_C" >&6
34871 else
34872 cat >conftest.$ac_ext <<_ACEOF
34873 /* confdefs.h. */
34874 _ACEOF
34875 cat confdefs.h >>conftest.$ac_ext
34876 cat >>conftest.$ac_ext <<_ACEOF
34877 /* end confdefs.h. */
34878 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34879 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34880 #define $ac_func innocuous_$ac_func
34881
34882 /* System header to define __stub macros and hopefully few prototypes,
34883 which can conflict with char $ac_func (); below.
34884 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34885 <limits.h> exists even on freestanding compilers. */
34886
34887 #ifdef __STDC__
34888 # include <limits.h>
34889 #else
34890 # include <assert.h>
34891 #endif
34892
34893 #undef $ac_func
34894
34895 /* Override any GCC internal prototype to avoid an error.
34896 Use char because int might match the return type of a GCC
34897 builtin and then its argument prototype would still apply. */
34898 #ifdef __cplusplus
34899 extern "C"
34900 #endif
34901 char $ac_func ();
34902 /* The GNU C library defines this for functions which it implements
34903 to always fail with ENOSYS. Some functions are actually named
34904 something starting with __ and the normal name is an alias. */
34905 #if defined __stub_$ac_func || defined __stub___$ac_func
34906 choke me
34907 #endif
34908
34909 int
34910 main ()
34911 {
34912 return $ac_func ();
34913 ;
34914 return 0;
34915 }
34916 _ACEOF
34917 rm -f conftest.$ac_objext conftest$ac_exeext
34918 if { (ac_try="$ac_link"
34919 case "(($ac_try" in
34920 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34921 *) ac_try_echo=$ac_try;;
34922 esac
34923 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34924 (eval "$ac_link") 2>conftest.er1
34925 ac_status=$?
34926 grep -v '^ *+' conftest.er1 >conftest.err
34927 rm -f conftest.er1
34928 cat conftest.err >&5
34929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34930 (exit $ac_status); } && {
34931 test -z "$ac_c_werror_flag" ||
34932 test ! -s conftest.err
34933 } && test -s conftest$ac_exeext &&
34934 $as_test_x conftest$ac_exeext; then
34935 eval "$as_ac_var=yes"
34936 else
34937 echo "$as_me: failed program was:" >&5
34938 sed 's/^/| /' conftest.$ac_ext >&5
34939
34940 eval "$as_ac_var=no"
34941 fi
34942
34943 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34944 conftest$ac_exeext conftest.$ac_ext
34945 fi
34946 ac_res=`eval echo '${'$as_ac_var'}'`
34947 { echo "$as_me:$LINENO: result: $ac_res" >&5
34948 echo "${ECHO_T}$ac_res" >&6; }
34949 if test `eval echo '${'$as_ac_var'}'` = yes; then
34950 cat >>confdefs.h <<_ACEOF
34951 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34952 _ACEOF
34953
34954 fi
34955 done
34956
34957
34958 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34959 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34960 fi
34961
34962 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34963 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34964 if test "${ac_cv_type_mbstate_t+set}" = set; then
34965 echo $ECHO_N "(cached) $ECHO_C" >&6
34966 else
34967 cat >conftest.$ac_ext <<_ACEOF
34968 /* confdefs.h. */
34969 _ACEOF
34970 cat confdefs.h >>conftest.$ac_ext
34971 cat >>conftest.$ac_ext <<_ACEOF
34972 /* end confdefs.h. */
34973 #include <wchar.h>
34974
34975 typedef mbstate_t ac__type_new_;
34976 int
34977 main ()
34978 {
34979 if ((ac__type_new_ *) 0)
34980 return 0;
34981 if (sizeof (ac__type_new_))
34982 return 0;
34983 ;
34984 return 0;
34985 }
34986 _ACEOF
34987 rm -f conftest.$ac_objext
34988 if { (ac_try="$ac_compile"
34989 case "(($ac_try" in
34990 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34991 *) ac_try_echo=$ac_try;;
34992 esac
34993 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34994 (eval "$ac_compile") 2>conftest.er1
34995 ac_status=$?
34996 grep -v '^ *+' conftest.er1 >conftest.err
34997 rm -f conftest.er1
34998 cat conftest.err >&5
34999 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35000 (exit $ac_status); } && {
35001 test -z "$ac_c_werror_flag" ||
35002 test ! -s conftest.err
35003 } && test -s conftest.$ac_objext; then
35004 ac_cv_type_mbstate_t=yes
35005 else
35006 echo "$as_me: failed program was:" >&5
35007 sed 's/^/| /' conftest.$ac_ext >&5
35008
35009 ac_cv_type_mbstate_t=no
35010 fi
35011
35012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35013 fi
35014 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
35015 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
35016 if test $ac_cv_type_mbstate_t = yes; then
35017
35018 cat >>confdefs.h <<_ACEOF
35019 #define HAVE_MBSTATE_T 1
35020 _ACEOF
35021
35022
35023 for ac_func in wcsrtombs
35024 do
35025 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35026 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35027 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35028 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35029 echo $ECHO_N "(cached) $ECHO_C" >&6
35030 else
35031 cat >conftest.$ac_ext <<_ACEOF
35032 /* confdefs.h. */
35033 _ACEOF
35034 cat confdefs.h >>conftest.$ac_ext
35035 cat >>conftest.$ac_ext <<_ACEOF
35036 /* end confdefs.h. */
35037 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35038 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35039 #define $ac_func innocuous_$ac_func
35040
35041 /* System header to define __stub macros and hopefully few prototypes,
35042 which can conflict with char $ac_func (); below.
35043 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35044 <limits.h> exists even on freestanding compilers. */
35045
35046 #ifdef __STDC__
35047 # include <limits.h>
35048 #else
35049 # include <assert.h>
35050 #endif
35051
35052 #undef $ac_func
35053
35054 /* Override any GCC internal prototype to avoid an error.
35055 Use char because int might match the return type of a GCC
35056 builtin and then its argument prototype would still apply. */
35057 #ifdef __cplusplus
35058 extern "C"
35059 #endif
35060 char $ac_func ();
35061 /* The GNU C library defines this for functions which it implements
35062 to always fail with ENOSYS. Some functions are actually named
35063 something starting with __ and the normal name is an alias. */
35064 #if defined __stub_$ac_func || defined __stub___$ac_func
35065 choke me
35066 #endif
35067
35068 int
35069 main ()
35070 {
35071 return $ac_func ();
35072 ;
35073 return 0;
35074 }
35075 _ACEOF
35076 rm -f conftest.$ac_objext conftest$ac_exeext
35077 if { (ac_try="$ac_link"
35078 case "(($ac_try" in
35079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35080 *) ac_try_echo=$ac_try;;
35081 esac
35082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35083 (eval "$ac_link") 2>conftest.er1
35084 ac_status=$?
35085 grep -v '^ *+' conftest.er1 >conftest.err
35086 rm -f conftest.er1
35087 cat conftest.err >&5
35088 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35089 (exit $ac_status); } && {
35090 test -z "$ac_c_werror_flag" ||
35091 test ! -s conftest.err
35092 } && test -s conftest$ac_exeext &&
35093 $as_test_x conftest$ac_exeext; then
35094 eval "$as_ac_var=yes"
35095 else
35096 echo "$as_me: failed program was:" >&5
35097 sed 's/^/| /' conftest.$ac_ext >&5
35098
35099 eval "$as_ac_var=no"
35100 fi
35101
35102 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35103 conftest$ac_exeext conftest.$ac_ext
35104 fi
35105 ac_res=`eval echo '${'$as_ac_var'}'`
35106 { echo "$as_me:$LINENO: result: $ac_res" >&5
35107 echo "${ECHO_T}$ac_res" >&6; }
35108 if test `eval echo '${'$as_ac_var'}'` = yes; then
35109 cat >>confdefs.h <<_ACEOF
35110 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35111 _ACEOF
35112
35113 fi
35114 done
35115
35116 fi
35117
35118 else
35119 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
35120 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
35121 fi
35122
35123
35124
35125
35126 for ac_func in snprintf vsnprintf vsscanf
35127 do
35128 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35129 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35130 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35131 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35132 echo $ECHO_N "(cached) $ECHO_C" >&6
35133 else
35134 cat >conftest.$ac_ext <<_ACEOF
35135 /* confdefs.h. */
35136 _ACEOF
35137 cat confdefs.h >>conftest.$ac_ext
35138 cat >>conftest.$ac_ext <<_ACEOF
35139 /* end confdefs.h. */
35140 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35141 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35142 #define $ac_func innocuous_$ac_func
35143
35144 /* System header to define __stub macros and hopefully few prototypes,
35145 which can conflict with char $ac_func (); below.
35146 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35147 <limits.h> exists even on freestanding compilers. */
35148
35149 #ifdef __STDC__
35150 # include <limits.h>
35151 #else
35152 # include <assert.h>
35153 #endif
35154
35155 #undef $ac_func
35156
35157 /* Override any GCC internal prototype to avoid an error.
35158 Use char because int might match the return type of a GCC
35159 builtin and then its argument prototype would still apply. */
35160 #ifdef __cplusplus
35161 extern "C"
35162 #endif
35163 char $ac_func ();
35164 /* The GNU C library defines this for functions which it implements
35165 to always fail with ENOSYS. Some functions are actually named
35166 something starting with __ and the normal name is an alias. */
35167 #if defined __stub_$ac_func || defined __stub___$ac_func
35168 choke me
35169 #endif
35170
35171 int
35172 main ()
35173 {
35174 return $ac_func ();
35175 ;
35176 return 0;
35177 }
35178 _ACEOF
35179 rm -f conftest.$ac_objext conftest$ac_exeext
35180 if { (ac_try="$ac_link"
35181 case "(($ac_try" in
35182 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35183 *) ac_try_echo=$ac_try;;
35184 esac
35185 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35186 (eval "$ac_link") 2>conftest.er1
35187 ac_status=$?
35188 grep -v '^ *+' conftest.er1 >conftest.err
35189 rm -f conftest.er1
35190 cat conftest.err >&5
35191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35192 (exit $ac_status); } && {
35193 test -z "$ac_c_werror_flag" ||
35194 test ! -s conftest.err
35195 } && test -s conftest$ac_exeext &&
35196 $as_test_x conftest$ac_exeext; then
35197 eval "$as_ac_var=yes"
35198 else
35199 echo "$as_me: failed program was:" >&5
35200 sed 's/^/| /' conftest.$ac_ext >&5
35201
35202 eval "$as_ac_var=no"
35203 fi
35204
35205 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35206 conftest$ac_exeext conftest.$ac_ext
35207 fi
35208 ac_res=`eval echo '${'$as_ac_var'}'`
35209 { echo "$as_me:$LINENO: result: $ac_res" >&5
35210 echo "${ECHO_T}$ac_res" >&6; }
35211 if test `eval echo '${'$as_ac_var'}'` = yes; then
35212 cat >>confdefs.h <<_ACEOF
35213 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35214 _ACEOF
35215
35216 fi
35217 done
35218
35219
35220 ac_ext=cpp
35221 ac_cpp='$CXXCPP $CPPFLAGS'
35222 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35223 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35224 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35225
35226 if test "$ac_cv_func_vsnprintf" = "yes"; then
35227 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
35228 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
35229 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
35230 echo $ECHO_N "(cached) $ECHO_C" >&6
35231 else
35232
35233 cat >conftest.$ac_ext <<_ACEOF
35234 /* confdefs.h. */
35235 _ACEOF
35236 cat confdefs.h >>conftest.$ac_ext
35237 cat >>conftest.$ac_ext <<_ACEOF
35238 /* end confdefs.h. */
35239
35240 #include <stdio.h>
35241 #include <stdarg.h>
35242 #ifdef __MSL__
35243 #if __MSL__ >= 0x6000
35244 namespace std {}
35245 using namespace std;
35246 #endif
35247 #endif
35248
35249 int
35250 main ()
35251 {
35252
35253 char *buf;
35254 va_list ap;
35255 vsnprintf(buf, 10u, "%s", ap);
35256
35257 ;
35258 return 0;
35259 }
35260 _ACEOF
35261 rm -f conftest.$ac_objext
35262 if { (ac_try="$ac_compile"
35263 case "(($ac_try" in
35264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35265 *) ac_try_echo=$ac_try;;
35266 esac
35267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35268 (eval "$ac_compile") 2>conftest.er1
35269 ac_status=$?
35270 grep -v '^ *+' conftest.er1 >conftest.err
35271 rm -f conftest.er1
35272 cat conftest.err >&5
35273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35274 (exit $ac_status); } && {
35275 test -z "$ac_cxx_werror_flag" ||
35276 test ! -s conftest.err
35277 } && test -s conftest.$ac_objext; then
35278 wx_cv_func_vsnprintf_decl=yes
35279 else
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.$ac_ext >&5
35282
35283 wx_cv_func_vsnprintf_decl=no
35284
35285 fi
35286
35287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35288
35289
35290 fi
35291 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
35292 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
35293
35294 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
35295 cat >>confdefs.h <<\_ACEOF
35296 #define HAVE_VSNPRINTF_DECL 1
35297 _ACEOF
35298
35299
35300 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35301 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35302 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35303 echo $ECHO_N "(cached) $ECHO_C" >&6
35304 else
35305
35306 cat >conftest.$ac_ext <<_ACEOF
35307 /* confdefs.h. */
35308 _ACEOF
35309 cat confdefs.h >>conftest.$ac_ext
35310 cat >>conftest.$ac_ext <<_ACEOF
35311 /* end confdefs.h. */
35312
35313 #include <stdio.h>
35314 #include <stdarg.h>
35315 #ifdef __MSL__
35316 #if __MSL__ >= 0x6000
35317 namespace std {}
35318 using namespace std;
35319 #endif
35320 #endif
35321
35322 int
35323 main ()
35324 {
35325
35326 char *buf;
35327 va_list ap;
35328 const char *fmt = "%s";
35329 vsnprintf(buf, 10u, fmt, ap);
35330
35331 ;
35332 return 0;
35333 }
35334 _ACEOF
35335 rm -f conftest.$ac_objext
35336 if { (ac_try="$ac_compile"
35337 case "(($ac_try" in
35338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35339 *) ac_try_echo=$ac_try;;
35340 esac
35341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35342 (eval "$ac_compile") 2>conftest.er1
35343 ac_status=$?
35344 grep -v '^ *+' conftest.er1 >conftest.err
35345 rm -f conftest.er1
35346 cat conftest.err >&5
35347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35348 (exit $ac_status); } && {
35349 test -z "$ac_cxx_werror_flag" ||
35350 test ! -s conftest.err
35351 } && test -s conftest.$ac_objext; then
35352 wx_cv_func_broken_vsnprintf_decl=no
35353 else
35354 echo "$as_me: failed program was:" >&5
35355 sed 's/^/| /' conftest.$ac_ext >&5
35356
35357 wx_cv_func_broken_vsnprintf_decl=yes
35358
35359 fi
35360
35361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35362
35363
35364 fi
35365 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35366 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35367
35368 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35369 cat >>confdefs.h <<\_ACEOF
35370 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35371 _ACEOF
35372
35373 fi
35374 fi
35375 fi
35376
35377 if test "$ac_cv_func_snprintf" = "yes"; then
35378 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35379 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35380 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35381 echo $ECHO_N "(cached) $ECHO_C" >&6
35382 else
35383
35384 cat >conftest.$ac_ext <<_ACEOF
35385 /* confdefs.h. */
35386 _ACEOF
35387 cat confdefs.h >>conftest.$ac_ext
35388 cat >>conftest.$ac_ext <<_ACEOF
35389 /* end confdefs.h. */
35390
35391 #include <stdio.h>
35392 #include <stdarg.h>
35393 #ifdef __MSL__
35394 #if __MSL__ >= 0x6000
35395 namespace std {}
35396 using namespace std;
35397 #endif
35398 #endif
35399
35400 int
35401 main ()
35402 {
35403
35404 char *buf;
35405 snprintf(buf, 10u, "%s", "wx");
35406
35407 ;
35408 return 0;
35409 }
35410 _ACEOF
35411 rm -f conftest.$ac_objext
35412 if { (ac_try="$ac_compile"
35413 case "(($ac_try" in
35414 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35415 *) ac_try_echo=$ac_try;;
35416 esac
35417 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35418 (eval "$ac_compile") 2>conftest.er1
35419 ac_status=$?
35420 grep -v '^ *+' conftest.er1 >conftest.err
35421 rm -f conftest.er1
35422 cat conftest.err >&5
35423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35424 (exit $ac_status); } && {
35425 test -z "$ac_cxx_werror_flag" ||
35426 test ! -s conftest.err
35427 } && test -s conftest.$ac_objext; then
35428 wx_cv_func_snprintf_decl=yes
35429 else
35430 echo "$as_me: failed program was:" >&5
35431 sed 's/^/| /' conftest.$ac_ext >&5
35432
35433 wx_cv_func_snprintf_decl=no
35434
35435 fi
35436
35437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35438
35439
35440 fi
35441 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35442 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35443
35444 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35445 cat >>confdefs.h <<\_ACEOF
35446 #define HAVE_SNPRINTF_DECL 1
35447 _ACEOF
35448
35449 fi
35450
35451 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35452
35453 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35454 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35455 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35456 echo $ECHO_N "(cached) $ECHO_C" >&6
35457 else
35458
35459 if test "$cross_compiling" = yes; then
35460
35461 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35462 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35463 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35464 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35465 wx_cv_func_snprintf_pos_params=no
35466
35467
35468 else
35469 cat >conftest.$ac_ext <<_ACEOF
35470 /* confdefs.h. */
35471 _ACEOF
35472 cat confdefs.h >>conftest.$ac_ext
35473 cat >>conftest.$ac_ext <<_ACEOF
35474 /* end confdefs.h. */
35475
35476 #include <stdio.h>
35477
35478 int main (void)
35479 {
35480 char buffer[128];
35481 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35482 if (strcmp ("2 3 1", buffer) == 0)
35483 exit (0);
35484 exit (1);
35485 }
35486
35487 _ACEOF
35488 rm -f conftest$ac_exeext
35489 if { (ac_try="$ac_link"
35490 case "(($ac_try" in
35491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35492 *) ac_try_echo=$ac_try;;
35493 esac
35494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35495 (eval "$ac_link") 2>&5
35496 ac_status=$?
35497 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35498 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35499 { (case "(($ac_try" in
35500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35501 *) ac_try_echo=$ac_try;;
35502 esac
35503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35504 (eval "$ac_try") 2>&5
35505 ac_status=$?
35506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35507 (exit $ac_status); }; }; then
35508 wx_cv_func_snprintf_pos_params=no
35509 else
35510 echo "$as_me: program exited with status $ac_status" >&5
35511 echo "$as_me: failed program was:" >&5
35512 sed 's/^/| /' conftest.$ac_ext >&5
35513
35514 ( exit $ac_status )
35515 wx_cv_func_snprintf_pos_params=yes
35516 fi
35517 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35518 fi
35519
35520
35521
35522
35523 fi
35524 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35525 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35526
35527 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35528 cat >>confdefs.h <<\_ACEOF
35529 #define HAVE_UNIX98_PRINTF 1
35530 _ACEOF
35531
35532 fi
35533 fi
35534 fi
35535
35536 if test "$ac_cv_func_vsscanf" = "yes"; then
35537 { echo "$as_me:$LINENO: checking for vsscanf declaration" >&5
35538 echo $ECHO_N "checking for vsscanf declaration... $ECHO_C" >&6; }
35539 if test "${wx_cv_func_vsscanf_decl+set}" = set; then
35540 echo $ECHO_N "(cached) $ECHO_C" >&6
35541 else
35542
35543 cat >conftest.$ac_ext <<_ACEOF
35544 /* confdefs.h. */
35545 _ACEOF
35546 cat confdefs.h >>conftest.$ac_ext
35547 cat >>conftest.$ac_ext <<_ACEOF
35548 /* end confdefs.h. */
35549
35550 #include <stdio.h>
35551 #include <stdarg.h>
35552 #ifdef __MSL__
35553 #if __MSL__ >= 0x6000
35554 namespace std {}
35555 using namespace std;
35556 #endif
35557 #endif
35558
35559 int
35560 main ()
35561 {
35562
35563 char *buf;
35564 va_list args;
35565 vsscanf(buf, "%s", args);
35566
35567 ;
35568 return 0;
35569 }
35570 _ACEOF
35571 rm -f conftest.$ac_objext
35572 if { (ac_try="$ac_compile"
35573 case "(($ac_try" in
35574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35575 *) ac_try_echo=$ac_try;;
35576 esac
35577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35578 (eval "$ac_compile") 2>conftest.er1
35579 ac_status=$?
35580 grep -v '^ *+' conftest.er1 >conftest.err
35581 rm -f conftest.er1
35582 cat conftest.err >&5
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); } && {
35585 test -z "$ac_cxx_werror_flag" ||
35586 test ! -s conftest.err
35587 } && test -s conftest.$ac_objext; then
35588 wx_cv_func_vsscanf_decl=yes
35589 else
35590 echo "$as_me: failed program was:" >&5
35591 sed 's/^/| /' conftest.$ac_ext >&5
35592
35593 wx_cv_func_vsscanf_decl=no
35594
35595 fi
35596
35597 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35598
35599
35600 fi
35601 { echo "$as_me:$LINENO: result: $wx_cv_func_vsscanf_decl" >&5
35602 echo "${ECHO_T}$wx_cv_func_vsscanf_decl" >&6; }
35603
35604 if test "$wx_cv_func_vsscanf_decl" = "yes"; then
35605 cat >>confdefs.h <<\_ACEOF
35606 #define HAVE_VSSCANF_DECL 1
35607 _ACEOF
35608
35609 fi
35610 fi
35611 ac_ext=c
35612 ac_cpp='$CPP $CPPFLAGS'
35613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35616
35617
35618 if test "$wxUSE_UNICODE" = yes; then
35619
35620 wchar_headers="#include <stdio.h>
35621 #include <wchar.h>"
35622 case "${host}" in
35623 *-*-solaris2* )
35624
35625 for ac_header in widec.h
35626 do
35627 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35628 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35629 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35630 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 else
35633 cat >conftest.$ac_ext <<_ACEOF
35634 /* confdefs.h. */
35635 _ACEOF
35636 cat confdefs.h >>conftest.$ac_ext
35637 cat >>conftest.$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639 $ac_includes_default
35640
35641 #include <$ac_header>
35642 _ACEOF
35643 rm -f conftest.$ac_objext
35644 if { (ac_try="$ac_compile"
35645 case "(($ac_try" in
35646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35647 *) ac_try_echo=$ac_try;;
35648 esac
35649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35650 (eval "$ac_compile") 2>conftest.er1
35651 ac_status=$?
35652 grep -v '^ *+' conftest.er1 >conftest.err
35653 rm -f conftest.er1
35654 cat conftest.err >&5
35655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35656 (exit $ac_status); } && {
35657 test -z "$ac_c_werror_flag" ||
35658 test ! -s conftest.err
35659 } && test -s conftest.$ac_objext; then
35660 eval "$as_ac_Header=yes"
35661 else
35662 echo "$as_me: failed program was:" >&5
35663 sed 's/^/| /' conftest.$ac_ext >&5
35664
35665 eval "$as_ac_Header=no"
35666 fi
35667
35668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35669 fi
35670 ac_res=`eval echo '${'$as_ac_Header'}'`
35671 { echo "$as_me:$LINENO: result: $ac_res" >&5
35672 echo "${ECHO_T}$ac_res" >&6; }
35673 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35674 cat >>confdefs.h <<_ACEOF
35675 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35676 _ACEOF
35677
35678 fi
35679
35680 done
35681
35682 if test "$ac_cv_header_widec_h" = "yes"; then
35683 wchar_headers="$wchar_headers
35684 #include <widec.h>"
35685 fi
35686 esac
35687
35688
35689 for wx_func in putws fputws wprintf vswprintf vswscanf
35690 do
35691 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35692 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35693 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35694 echo $ECHO_N "(cached) $ECHO_C" >&6
35695 else
35696
35697 cat >conftest.$ac_ext <<_ACEOF
35698
35699 /* confdefs.h. */
35700 _ACEOF
35701 cat confdefs.h >>conftest.$ac_ext
35702 cat >>conftest.$ac_ext <<_ACEOF
35703 /* end confdefs.h. */
35704
35705 $wchar_headers
35706 $ac_includes_default
35707
35708 int
35709 main ()
35710 {
35711
35712 #ifndef $wx_func
35713 &$wx_func;
35714 #endif
35715
35716
35717 ;
35718 return 0;
35719 }
35720
35721 _ACEOF
35722 rm -f conftest.$ac_objext conftest$ac_exeext
35723 if { (ac_try="$ac_link"
35724 case "(($ac_try" in
35725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35726 *) ac_try_echo=$ac_try;;
35727 esac
35728 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35729 (eval "$ac_link") 2>conftest.er1
35730 ac_status=$?
35731 grep -v '^ *+' conftest.er1 >conftest.err
35732 rm -f conftest.er1
35733 cat conftest.err >&5
35734 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35735 (exit $ac_status); } && {
35736 test -z "$ac_c_werror_flag" ||
35737 test ! -s conftest.err
35738 } && test -s conftest$ac_exeext &&
35739 $as_test_x conftest$ac_exeext; then
35740 eval wx_cv_func_$wx_func=yes
35741 else
35742 echo "$as_me: failed program was:" >&5
35743 sed 's/^/| /' conftest.$ac_ext >&5
35744
35745 eval wx_cv_func_$wx_func=no
35746 fi
35747
35748 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35749 conftest$ac_exeext conftest.$ac_ext
35750
35751 fi
35752 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35753 { echo "$as_me:$LINENO: result: $ac_res" >&5
35754 echo "${ECHO_T}$ac_res" >&6; }
35755
35756 if eval test \$wx_cv_func_$wx_func = yes
35757 then
35758 cat >>confdefs.h <<_ACEOF
35759 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35760 _ACEOF
35761
35762
35763 else
35764 :
35765
35766 fi
35767 done
35768
35769
35770 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35771 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35772 cat >conftest.$ac_ext <<_ACEOF
35773 /* confdefs.h. */
35774 _ACEOF
35775 cat confdefs.h >>conftest.$ac_ext
35776 cat >>conftest.$ac_ext <<_ACEOF
35777 /* end confdefs.h. */
35778 #include <wchar.h>
35779 int
35780 main ()
35781 {
35782 &_vsnwprintf;
35783 ;
35784 return 0;
35785 }
35786 _ACEOF
35787 rm -f conftest.$ac_objext
35788 if { (ac_try="$ac_compile"
35789 case "(($ac_try" in
35790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35791 *) ac_try_echo=$ac_try;;
35792 esac
35793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35794 (eval "$ac_compile") 2>conftest.er1
35795 ac_status=$?
35796 grep -v '^ *+' conftest.er1 >conftest.err
35797 rm -f conftest.er1
35798 cat conftest.err >&5
35799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35800 (exit $ac_status); } && {
35801 test -z "$ac_c_werror_flag" ||
35802 test ! -s conftest.err
35803 } && test -s conftest.$ac_objext; then
35804 { echo "$as_me:$LINENO: result: yes" >&5
35805 echo "${ECHO_T}yes" >&6; }
35806 cat >>confdefs.h <<\_ACEOF
35807 #define HAVE__VSNWPRINTF 1
35808 _ACEOF
35809
35810 else
35811 echo "$as_me: failed program was:" >&5
35812 sed 's/^/| /' conftest.$ac_ext >&5
35813
35814 { echo "$as_me:$LINENO: result: no" >&5
35815 echo "${ECHO_T}no" >&6; }
35816 fi
35817
35818 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35819 fi
35820
35821 if test "$wxUSE_FILE" = "yes"; then
35822
35823 for wx_func in fsync
35824 do
35825 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35826 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35827 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35828 echo $ECHO_N "(cached) $ECHO_C" >&6
35829 else
35830
35831 cat >conftest.$ac_ext <<_ACEOF
35832
35833 /* confdefs.h. */
35834 _ACEOF
35835 cat confdefs.h >>conftest.$ac_ext
35836 cat >>conftest.$ac_ext <<_ACEOF
35837 /* end confdefs.h. */
35838
35839
35840 $ac_includes_default
35841
35842 int
35843 main ()
35844 {
35845
35846 #ifndef $wx_func
35847 &$wx_func;
35848 #endif
35849
35850
35851 ;
35852 return 0;
35853 }
35854
35855 _ACEOF
35856 rm -f conftest.$ac_objext conftest$ac_exeext
35857 if { (ac_try="$ac_link"
35858 case "(($ac_try" in
35859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35860 *) ac_try_echo=$ac_try;;
35861 esac
35862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35863 (eval "$ac_link") 2>conftest.er1
35864 ac_status=$?
35865 grep -v '^ *+' conftest.er1 >conftest.err
35866 rm -f conftest.er1
35867 cat conftest.err >&5
35868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35869 (exit $ac_status); } && {
35870 test -z "$ac_c_werror_flag" ||
35871 test ! -s conftest.err
35872 } && test -s conftest$ac_exeext &&
35873 $as_test_x conftest$ac_exeext; then
35874 eval wx_cv_func_$wx_func=yes
35875 else
35876 echo "$as_me: failed program was:" >&5
35877 sed 's/^/| /' conftest.$ac_ext >&5
35878
35879 eval wx_cv_func_$wx_func=no
35880 fi
35881
35882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35883 conftest$ac_exeext conftest.$ac_ext
35884
35885 fi
35886 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35887 { echo "$as_me:$LINENO: result: $ac_res" >&5
35888 echo "${ECHO_T}$ac_res" >&6; }
35889
35890 if eval test \$wx_cv_func_$wx_func = yes
35891 then
35892 cat >>confdefs.h <<_ACEOF
35893 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35894 _ACEOF
35895
35896
35897 else
35898 :
35899
35900 fi
35901 done
35902
35903 fi
35904
35905 ac_ext=cpp
35906 ac_cpp='$CXXCPP $CPPFLAGS'
35907 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35908 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35909 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35910
35911
35912 for wx_func in round
35913 do
35914 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35915 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35916 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35917 echo $ECHO_N "(cached) $ECHO_C" >&6
35918 else
35919
35920 cat >conftest.$ac_ext <<_ACEOF
35921
35922 /* confdefs.h. */
35923 _ACEOF
35924 cat confdefs.h >>conftest.$ac_ext
35925 cat >>conftest.$ac_ext <<_ACEOF
35926 /* end confdefs.h. */
35927
35928 #include <math.h>
35929 $ac_includes_default
35930
35931 int
35932 main ()
35933 {
35934
35935 #ifndef $wx_func
35936 &$wx_func;
35937 #endif
35938
35939
35940 ;
35941 return 0;
35942 }
35943
35944 _ACEOF
35945 rm -f conftest.$ac_objext conftest$ac_exeext
35946 if { (ac_try="$ac_link"
35947 case "(($ac_try" in
35948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35949 *) ac_try_echo=$ac_try;;
35950 esac
35951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35952 (eval "$ac_link") 2>conftest.er1
35953 ac_status=$?
35954 grep -v '^ *+' conftest.er1 >conftest.err
35955 rm -f conftest.er1
35956 cat conftest.err >&5
35957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35958 (exit $ac_status); } && {
35959 test -z "$ac_cxx_werror_flag" ||
35960 test ! -s conftest.err
35961 } && test -s conftest$ac_exeext &&
35962 $as_test_x conftest$ac_exeext; then
35963 eval wx_cv_func_$wx_func=yes
35964 else
35965 echo "$as_me: failed program was:" >&5
35966 sed 's/^/| /' conftest.$ac_ext >&5
35967
35968 eval wx_cv_func_$wx_func=no
35969 fi
35970
35971 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35972 conftest$ac_exeext conftest.$ac_ext
35973
35974 fi
35975 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35976 { echo "$as_me:$LINENO: result: $ac_res" >&5
35977 echo "${ECHO_T}$ac_res" >&6; }
35978
35979 if eval test \$wx_cv_func_$wx_func = yes
35980 then
35981 cat >>confdefs.h <<_ACEOF
35982 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35983 _ACEOF
35984
35985
35986 else
35987 :
35988
35989 fi
35990 done
35991
35992 ac_ext=c
35993 ac_cpp='$CPP $CPPFLAGS'
35994 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35995 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35996 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35997
35998
35999 if test "$TOOLKIT" != "MSW"; then
36000
36001 if test "$wxUSE_LIBICONV" != "no" ; then
36002
36003
36004
36005 # Check whether --with-libiconv-prefix was given.
36006 if test "${with_libiconv_prefix+set}" = set; then
36007 withval=$with_libiconv_prefix;
36008 for dir in `echo "$withval" | tr : ' '`; do
36009 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
36010 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
36011 done
36012
36013 fi
36014
36015
36016 { echo "$as_me:$LINENO: checking for iconv" >&5
36017 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
36018 if test "${am_cv_func_iconv+set}" = set; then
36019 echo $ECHO_N "(cached) $ECHO_C" >&6
36020 else
36021
36022 am_cv_func_iconv="no, consider installing GNU libiconv"
36023 am_cv_lib_iconv=no
36024 cat >conftest.$ac_ext <<_ACEOF
36025 /* confdefs.h. */
36026 _ACEOF
36027 cat confdefs.h >>conftest.$ac_ext
36028 cat >>conftest.$ac_ext <<_ACEOF
36029 /* end confdefs.h. */
36030 #include <stdlib.h>
36031 #include <iconv.h>
36032 int
36033 main ()
36034 {
36035 iconv_t cd = iconv_open("","");
36036 iconv(cd,NULL,NULL,NULL,NULL);
36037 iconv_close(cd);
36038 ;
36039 return 0;
36040 }
36041 _ACEOF
36042 rm -f conftest.$ac_objext conftest$ac_exeext
36043 if { (ac_try="$ac_link"
36044 case "(($ac_try" in
36045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36046 *) ac_try_echo=$ac_try;;
36047 esac
36048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36049 (eval "$ac_link") 2>conftest.er1
36050 ac_status=$?
36051 grep -v '^ *+' conftest.er1 >conftest.err
36052 rm -f conftest.er1
36053 cat conftest.err >&5
36054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36055 (exit $ac_status); } && {
36056 test -z "$ac_c_werror_flag" ||
36057 test ! -s conftest.err
36058 } && test -s conftest$ac_exeext &&
36059 $as_test_x conftest$ac_exeext; then
36060 am_cv_func_iconv=yes
36061 else
36062 echo "$as_me: failed program was:" >&5
36063 sed 's/^/| /' conftest.$ac_ext >&5
36064
36065
36066 fi
36067
36068 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36069 conftest$ac_exeext conftest.$ac_ext
36070 if test "$am_cv_func_iconv" != yes; then
36071 am_save_LIBS="$LIBS"
36072 LIBS="$LIBS -liconv"
36073 cat >conftest.$ac_ext <<_ACEOF
36074 /* confdefs.h. */
36075 _ACEOF
36076 cat confdefs.h >>conftest.$ac_ext
36077 cat >>conftest.$ac_ext <<_ACEOF
36078 /* end confdefs.h. */
36079 #include <stdlib.h>
36080 #include <iconv.h>
36081 int
36082 main ()
36083 {
36084 iconv_t cd = iconv_open("","");
36085 iconv(cd,NULL,NULL,NULL,NULL);
36086 iconv_close(cd);
36087 ;
36088 return 0;
36089 }
36090 _ACEOF
36091 rm -f conftest.$ac_objext conftest$ac_exeext
36092 if { (ac_try="$ac_link"
36093 case "(($ac_try" in
36094 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36095 *) ac_try_echo=$ac_try;;
36096 esac
36097 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36098 (eval "$ac_link") 2>conftest.er1
36099 ac_status=$?
36100 grep -v '^ *+' conftest.er1 >conftest.err
36101 rm -f conftest.er1
36102 cat conftest.err >&5
36103 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36104 (exit $ac_status); } && {
36105 test -z "$ac_c_werror_flag" ||
36106 test ! -s conftest.err
36107 } && test -s conftest$ac_exeext &&
36108 $as_test_x conftest$ac_exeext; then
36109 am_cv_lib_iconv=yes
36110 am_cv_func_iconv=yes
36111 else
36112 echo "$as_me: failed program was:" >&5
36113 sed 's/^/| /' conftest.$ac_ext >&5
36114
36115
36116 fi
36117
36118 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36119 conftest$ac_exeext conftest.$ac_ext
36120 LIBS="$am_save_LIBS"
36121 fi
36122
36123 fi
36124 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
36125 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
36126 if test "$am_cv_func_iconv" = yes; then
36127
36128 cat >>confdefs.h <<\_ACEOF
36129 #define HAVE_ICONV 1
36130 _ACEOF
36131
36132 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
36133 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
36134 if test "${wx_cv_func_iconv_const+set}" = set; then
36135 echo $ECHO_N "(cached) $ECHO_C" >&6
36136 else
36137 cat >conftest.$ac_ext <<_ACEOF
36138 /* confdefs.h. */
36139 _ACEOF
36140 cat confdefs.h >>conftest.$ac_ext
36141 cat >>conftest.$ac_ext <<_ACEOF
36142 /* end confdefs.h. */
36143
36144 #include <stdlib.h>
36145 #include <iconv.h>
36146 extern
36147 #ifdef __cplusplus
36148 "C"
36149 #endif
36150 #if defined(__STDC__) || defined(__cplusplus)
36151 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
36152 #else
36153 size_t iconv();
36154 #endif
36155
36156 int
36157 main ()
36158 {
36159
36160 ;
36161 return 0;
36162 }
36163 _ACEOF
36164 rm -f conftest.$ac_objext
36165 if { (ac_try="$ac_compile"
36166 case "(($ac_try" in
36167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36168 *) ac_try_echo=$ac_try;;
36169 esac
36170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36171 (eval "$ac_compile") 2>conftest.er1
36172 ac_status=$?
36173 grep -v '^ *+' conftest.er1 >conftest.err
36174 rm -f conftest.er1
36175 cat conftest.err >&5
36176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36177 (exit $ac_status); } && {
36178 test -z "$ac_c_werror_flag" ||
36179 test ! -s conftest.err
36180 } && test -s conftest.$ac_objext; then
36181 wx_cv_func_iconv_const="no"
36182 else
36183 echo "$as_me: failed program was:" >&5
36184 sed 's/^/| /' conftest.$ac_ext >&5
36185
36186 wx_cv_func_iconv_const="yes"
36187
36188 fi
36189
36190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36191
36192 fi
36193 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
36194 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
36195
36196 iconv_const=
36197 if test "x$wx_cv_func_iconv_const" = "xyes"; then
36198 iconv_const="const"
36199 fi
36200
36201
36202 cat >>confdefs.h <<_ACEOF
36203 #define ICONV_CONST $iconv_const
36204 _ACEOF
36205
36206 fi
36207 LIBICONV=
36208 if test "$am_cv_lib_iconv" = yes; then
36209 LIBICONV="-liconv"
36210 fi
36211
36212
36213 LIBS="$LIBICONV $LIBS"
36214 fi
36215
36216 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36217
36218 for ac_func in sigaction
36219 do
36220 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36221 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36222 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36223 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36224 echo $ECHO_N "(cached) $ECHO_C" >&6
36225 else
36226 cat >conftest.$ac_ext <<_ACEOF
36227 /* confdefs.h. */
36228 _ACEOF
36229 cat confdefs.h >>conftest.$ac_ext
36230 cat >>conftest.$ac_ext <<_ACEOF
36231 /* end confdefs.h. */
36232 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36233 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36234 #define $ac_func innocuous_$ac_func
36235
36236 /* System header to define __stub macros and hopefully few prototypes,
36237 which can conflict with char $ac_func (); below.
36238 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36239 <limits.h> exists even on freestanding compilers. */
36240
36241 #ifdef __STDC__
36242 # include <limits.h>
36243 #else
36244 # include <assert.h>
36245 #endif
36246
36247 #undef $ac_func
36248
36249 /* Override any GCC internal prototype to avoid an error.
36250 Use char because int might match the return type of a GCC
36251 builtin and then its argument prototype would still apply. */
36252 #ifdef __cplusplus
36253 extern "C"
36254 #endif
36255 char $ac_func ();
36256 /* The GNU C library defines this for functions which it implements
36257 to always fail with ENOSYS. Some functions are actually named
36258 something starting with __ and the normal name is an alias. */
36259 #if defined __stub_$ac_func || defined __stub___$ac_func
36260 choke me
36261 #endif
36262
36263 int
36264 main ()
36265 {
36266 return $ac_func ();
36267 ;
36268 return 0;
36269 }
36270 _ACEOF
36271 rm -f conftest.$ac_objext conftest$ac_exeext
36272 if { (ac_try="$ac_link"
36273 case "(($ac_try" in
36274 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36275 *) ac_try_echo=$ac_try;;
36276 esac
36277 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36278 (eval "$ac_link") 2>conftest.er1
36279 ac_status=$?
36280 grep -v '^ *+' conftest.er1 >conftest.err
36281 rm -f conftest.er1
36282 cat conftest.err >&5
36283 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36284 (exit $ac_status); } && {
36285 test -z "$ac_c_werror_flag" ||
36286 test ! -s conftest.err
36287 } && test -s conftest$ac_exeext &&
36288 $as_test_x conftest$ac_exeext; then
36289 eval "$as_ac_var=yes"
36290 else
36291 echo "$as_me: failed program was:" >&5
36292 sed 's/^/| /' conftest.$ac_ext >&5
36293
36294 eval "$as_ac_var=no"
36295 fi
36296
36297 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36298 conftest$ac_exeext conftest.$ac_ext
36299 fi
36300 ac_res=`eval echo '${'$as_ac_var'}'`
36301 { echo "$as_me:$LINENO: result: $ac_res" >&5
36302 echo "${ECHO_T}$ac_res" >&6; }
36303 if test `eval echo '${'$as_ac_var'}'` = yes; then
36304 cat >>confdefs.h <<_ACEOF
36305 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36306 _ACEOF
36307
36308 fi
36309 done
36310
36311
36312 if test "$ac_cv_func_sigaction" = "no"; then
36313 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
36314 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
36315 wxUSE_ON_FATAL_EXCEPTION=no
36316 fi
36317
36318 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
36319 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
36320 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
36321 if test "${wx_cv_type_sa_handler+set}" = set; then
36322 echo $ECHO_N "(cached) $ECHO_C" >&6
36323 else
36324
36325 ac_ext=cpp
36326 ac_cpp='$CXXCPP $CPPFLAGS'
36327 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36328 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36329 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36330
36331 cat >conftest.$ac_ext <<_ACEOF
36332 /* confdefs.h. */
36333 _ACEOF
36334 cat confdefs.h >>conftest.$ac_ext
36335 cat >>conftest.$ac_ext <<_ACEOF
36336 /* end confdefs.h. */
36337 #include <signal.h>
36338 int
36339 main ()
36340 {
36341
36342 extern void testSigHandler(int);
36343
36344 struct sigaction sa;
36345 sa.sa_handler = testSigHandler;
36346
36347 ;
36348 return 0;
36349 }
36350 _ACEOF
36351 rm -f conftest.$ac_objext
36352 if { (ac_try="$ac_compile"
36353 case "(($ac_try" in
36354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36355 *) ac_try_echo=$ac_try;;
36356 esac
36357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36358 (eval "$ac_compile") 2>conftest.er1
36359 ac_status=$?
36360 grep -v '^ *+' conftest.er1 >conftest.err
36361 rm -f conftest.er1
36362 cat conftest.err >&5
36363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36364 (exit $ac_status); } && {
36365 test -z "$ac_cxx_werror_flag" ||
36366 test ! -s conftest.err
36367 } && test -s conftest.$ac_objext; then
36368
36369 wx_cv_type_sa_handler=int
36370
36371 else
36372 echo "$as_me: failed program was:" >&5
36373 sed 's/^/| /' conftest.$ac_ext >&5
36374
36375
36376 wx_cv_type_sa_handler=void
36377
36378 fi
36379
36380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36381 ac_ext=c
36382 ac_cpp='$CPP $CPPFLAGS'
36383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36386
36387
36388 fi
36389 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36390 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36391
36392 cat >>confdefs.h <<_ACEOF
36393 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36394 _ACEOF
36395
36396 fi
36397 fi
36398
36399 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36400 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36401 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36402 if test "${wx_cv_func_backtrace+set}" = set; then
36403 echo $ECHO_N "(cached) $ECHO_C" >&6
36404 else
36405
36406 ac_ext=cpp
36407 ac_cpp='$CXXCPP $CPPFLAGS'
36408 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36409 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36410 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36411
36412 cat >conftest.$ac_ext <<_ACEOF
36413 /* confdefs.h. */
36414 _ACEOF
36415 cat confdefs.h >>conftest.$ac_ext
36416 cat >>conftest.$ac_ext <<_ACEOF
36417 /* end confdefs.h. */
36418 #include <execinfo.h>
36419 int
36420 main ()
36421 {
36422
36423 void *trace[1];
36424 char **messages;
36425
36426 backtrace(trace, 1);
36427 messages = backtrace_symbols(trace, 1);
36428
36429 ;
36430 return 0;
36431 }
36432 _ACEOF
36433 rm -f conftest.$ac_objext
36434 if { (ac_try="$ac_compile"
36435 case "(($ac_try" in
36436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36437 *) ac_try_echo=$ac_try;;
36438 esac
36439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36440 (eval "$ac_compile") 2>conftest.er1
36441 ac_status=$?
36442 grep -v '^ *+' conftest.er1 >conftest.err
36443 rm -f conftest.er1
36444 cat conftest.err >&5
36445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36446 (exit $ac_status); } && {
36447 test -z "$ac_cxx_werror_flag" ||
36448 test ! -s conftest.err
36449 } && test -s conftest.$ac_objext; then
36450 wx_cv_func_backtrace=yes
36451 else
36452 echo "$as_me: failed program was:" >&5
36453 sed 's/^/| /' conftest.$ac_ext >&5
36454
36455 wx_cv_func_backtrace=no
36456
36457 fi
36458
36459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36460 ac_ext=c
36461 ac_cpp='$CPP $CPPFLAGS'
36462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36465
36466
36467
36468 fi
36469 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36470 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36471
36472
36473 if test "$wx_cv_func_backtrace" = "no"; then
36474 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36475 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36476 wxUSE_STACKWALKER=no
36477 else
36478 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36479 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36480 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36481 echo $ECHO_N "(cached) $ECHO_C" >&6
36482 else
36483
36484 ac_ext=cpp
36485 ac_cpp='$CXXCPP $CPPFLAGS'
36486 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36487 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36488 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36489
36490 cat >conftest.$ac_ext <<_ACEOF
36491 /* confdefs.h. */
36492 _ACEOF
36493 cat confdefs.h >>conftest.$ac_ext
36494 cat >>conftest.$ac_ext <<_ACEOF
36495 /* end confdefs.h. */
36496 #include <cxxabi.h>
36497 int
36498 main ()
36499 {
36500
36501 int rc;
36502 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36503
36504 ;
36505 return 0;
36506 }
36507 _ACEOF
36508 rm -f conftest.$ac_objext conftest$ac_exeext
36509 if { (ac_try="$ac_link"
36510 case "(($ac_try" in
36511 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36512 *) ac_try_echo=$ac_try;;
36513 esac
36514 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36515 (eval "$ac_link") 2>conftest.er1
36516 ac_status=$?
36517 grep -v '^ *+' conftest.er1 >conftest.err
36518 rm -f conftest.er1
36519 cat conftest.err >&5
36520 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36521 (exit $ac_status); } && {
36522 test -z "$ac_cxx_werror_flag" ||
36523 test ! -s conftest.err
36524 } && test -s conftest$ac_exeext &&
36525 $as_test_x conftest$ac_exeext; then
36526 wx_cv_func_cxa_demangle=yes
36527 else
36528 echo "$as_me: failed program was:" >&5
36529 sed 's/^/| /' conftest.$ac_ext >&5
36530
36531 wx_cv_func_cxa_demangle=no
36532
36533 fi
36534
36535 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36536 conftest$ac_exeext conftest.$ac_ext
36537 ac_ext=c
36538 ac_cpp='$CPP $CPPFLAGS'
36539 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36540 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36541 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36542
36543
36544
36545 fi
36546 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36547 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36548
36549 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36550 cat >>confdefs.h <<\_ACEOF
36551 #define HAVE_CXA_DEMANGLE 1
36552 _ACEOF
36553
36554 fi
36555 fi
36556 fi
36557
36558 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36559 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36560 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36561 wxUSE_STACKWALKER=no
36562 fi
36563
36564
36565
36566
36567 for ac_func in mkstemp mktemp
36568 do
36569 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36570 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36571 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36572 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36573 echo $ECHO_N "(cached) $ECHO_C" >&6
36574 else
36575 cat >conftest.$ac_ext <<_ACEOF
36576 /* confdefs.h. */
36577 _ACEOF
36578 cat confdefs.h >>conftest.$ac_ext
36579 cat >>conftest.$ac_ext <<_ACEOF
36580 /* end confdefs.h. */
36581 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36582 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36583 #define $ac_func innocuous_$ac_func
36584
36585 /* System header to define __stub macros and hopefully few prototypes,
36586 which can conflict with char $ac_func (); below.
36587 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36588 <limits.h> exists even on freestanding compilers. */
36589
36590 #ifdef __STDC__
36591 # include <limits.h>
36592 #else
36593 # include <assert.h>
36594 #endif
36595
36596 #undef $ac_func
36597
36598 /* Override any GCC internal prototype to avoid an error.
36599 Use char because int might match the return type of a GCC
36600 builtin and then its argument prototype would still apply. */
36601 #ifdef __cplusplus
36602 extern "C"
36603 #endif
36604 char $ac_func ();
36605 /* The GNU C library defines this for functions which it implements
36606 to always fail with ENOSYS. Some functions are actually named
36607 something starting with __ and the normal name is an alias. */
36608 #if defined __stub_$ac_func || defined __stub___$ac_func
36609 choke me
36610 #endif
36611
36612 int
36613 main ()
36614 {
36615 return $ac_func ();
36616 ;
36617 return 0;
36618 }
36619 _ACEOF
36620 rm -f conftest.$ac_objext conftest$ac_exeext
36621 if { (ac_try="$ac_link"
36622 case "(($ac_try" in
36623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36624 *) ac_try_echo=$ac_try;;
36625 esac
36626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36627 (eval "$ac_link") 2>conftest.er1
36628 ac_status=$?
36629 grep -v '^ *+' conftest.er1 >conftest.err
36630 rm -f conftest.er1
36631 cat conftest.err >&5
36632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36633 (exit $ac_status); } && {
36634 test -z "$ac_c_werror_flag" ||
36635 test ! -s conftest.err
36636 } && test -s conftest$ac_exeext &&
36637 $as_test_x conftest$ac_exeext; then
36638 eval "$as_ac_var=yes"
36639 else
36640 echo "$as_me: failed program was:" >&5
36641 sed 's/^/| /' conftest.$ac_ext >&5
36642
36643 eval "$as_ac_var=no"
36644 fi
36645
36646 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36647 conftest$ac_exeext conftest.$ac_ext
36648 fi
36649 ac_res=`eval echo '${'$as_ac_var'}'`
36650 { echo "$as_me:$LINENO: result: $ac_res" >&5
36651 echo "${ECHO_T}$ac_res" >&6; }
36652 if test `eval echo '${'$as_ac_var'}'` = yes; then
36653 cat >>confdefs.h <<_ACEOF
36654 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36655 _ACEOF
36656 break
36657 fi
36658 done
36659
36660
36661 { echo "$as_me:$LINENO: checking for statfs" >&5
36662 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36663 if test "${wx_cv_func_statfs+set}" = set; then
36664 echo $ECHO_N "(cached) $ECHO_C" >&6
36665 else
36666 cat >conftest.$ac_ext <<_ACEOF
36667 /* confdefs.h. */
36668 _ACEOF
36669 cat confdefs.h >>conftest.$ac_ext
36670 cat >>conftest.$ac_ext <<_ACEOF
36671 /* end confdefs.h. */
36672
36673 #if defined(__BSD__)
36674 #include <sys/param.h>
36675 #include <sys/mount.h>
36676 #else
36677 #include <sys/vfs.h>
36678 #endif
36679
36680 int
36681 main ()
36682 {
36683
36684 long l;
36685 struct statfs fs;
36686 statfs("/", &fs);
36687 l = fs.f_bsize;
36688 l += fs.f_blocks;
36689 l += fs.f_bavail;
36690
36691 ;
36692 return 0;
36693 }
36694 _ACEOF
36695 rm -f conftest.$ac_objext
36696 if { (ac_try="$ac_compile"
36697 case "(($ac_try" in
36698 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36699 *) ac_try_echo=$ac_try;;
36700 esac
36701 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36702 (eval "$ac_compile") 2>conftest.er1
36703 ac_status=$?
36704 grep -v '^ *+' conftest.er1 >conftest.err
36705 rm -f conftest.er1
36706 cat conftest.err >&5
36707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36708 (exit $ac_status); } && {
36709 test -z "$ac_c_werror_flag" ||
36710 test ! -s conftest.err
36711 } && test -s conftest.$ac_objext; then
36712 wx_cv_func_statfs=yes
36713 else
36714 echo "$as_me: failed program was:" >&5
36715 sed 's/^/| /' conftest.$ac_ext >&5
36716
36717 wx_cv_func_statfs=no
36718
36719 fi
36720
36721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36722
36723 fi
36724 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36725 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36726
36727 if test "$wx_cv_func_statfs" = "yes"; then
36728 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36729 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36730 if test "${wx_cv_func_statfs_decl+set}" = set; then
36731 echo $ECHO_N "(cached) $ECHO_C" >&6
36732 else
36733 ac_ext=cpp
36734 ac_cpp='$CXXCPP $CPPFLAGS'
36735 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36736 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36737 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36738
36739 cat >conftest.$ac_ext <<_ACEOF
36740 /* confdefs.h. */
36741 _ACEOF
36742 cat confdefs.h >>conftest.$ac_ext
36743 cat >>conftest.$ac_ext <<_ACEOF
36744 /* end confdefs.h. */
36745
36746 #if defined(__BSD__)
36747 #include <sys/param.h>
36748 #include <sys/mount.h>
36749 #else
36750 #include <sys/vfs.h>
36751 #endif
36752
36753 int
36754 main ()
36755 {
36756
36757 struct statfs fs;
36758 statfs("", &fs);
36759
36760 ;
36761 return 0;
36762 }
36763 _ACEOF
36764 rm -f conftest.$ac_objext
36765 if { (ac_try="$ac_compile"
36766 case "(($ac_try" in
36767 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36768 *) ac_try_echo=$ac_try;;
36769 esac
36770 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36771 (eval "$ac_compile") 2>conftest.er1
36772 ac_status=$?
36773 grep -v '^ *+' conftest.er1 >conftest.err
36774 rm -f conftest.er1
36775 cat conftest.err >&5
36776 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36777 (exit $ac_status); } && {
36778 test -z "$ac_cxx_werror_flag" ||
36779 test ! -s conftest.err
36780 } && test -s conftest.$ac_objext; then
36781 wx_cv_func_statfs_decl=yes
36782 else
36783 echo "$as_me: failed program was:" >&5
36784 sed 's/^/| /' conftest.$ac_ext >&5
36785
36786 wx_cv_func_statfs_decl=no
36787
36788 fi
36789
36790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36791 ac_ext=c
36792 ac_cpp='$CPP $CPPFLAGS'
36793 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36794 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36795 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36796
36797
36798 fi
36799 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36800 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36801
36802 if test "$wx_cv_func_statfs_decl" = "yes"; then
36803 cat >>confdefs.h <<\_ACEOF
36804 #define HAVE_STATFS_DECL 1
36805 _ACEOF
36806
36807 fi
36808
36809 wx_cv_type_statvfs_t="struct statfs"
36810 cat >>confdefs.h <<\_ACEOF
36811 #define HAVE_STATFS 1
36812 _ACEOF
36813
36814 else
36815 { echo "$as_me:$LINENO: checking for statvfs" >&5
36816 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36817 if test "${wx_cv_func_statvfs+set}" = set; then
36818 echo $ECHO_N "(cached) $ECHO_C" >&6
36819 else
36820 cat >conftest.$ac_ext <<_ACEOF
36821 /* confdefs.h. */
36822 _ACEOF
36823 cat confdefs.h >>conftest.$ac_ext
36824 cat >>conftest.$ac_ext <<_ACEOF
36825 /* end confdefs.h. */
36826
36827 #include <stddef.h>
36828 #include <sys/statvfs.h>
36829
36830 int
36831 main ()
36832 {
36833
36834 statvfs("/", NULL);
36835
36836 ;
36837 return 0;
36838 }
36839 _ACEOF
36840 rm -f conftest.$ac_objext
36841 if { (ac_try="$ac_compile"
36842 case "(($ac_try" in
36843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36844 *) ac_try_echo=$ac_try;;
36845 esac
36846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36847 (eval "$ac_compile") 2>conftest.er1
36848 ac_status=$?
36849 grep -v '^ *+' conftest.er1 >conftest.err
36850 rm -f conftest.er1
36851 cat conftest.err >&5
36852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36853 (exit $ac_status); } && {
36854 test -z "$ac_c_werror_flag" ||
36855 test ! -s conftest.err
36856 } && test -s conftest.$ac_objext; then
36857 wx_cv_func_statvfs=yes
36858 else
36859 echo "$as_me: failed program was:" >&5
36860 sed 's/^/| /' conftest.$ac_ext >&5
36861
36862 wx_cv_func_statvfs=no
36863
36864 fi
36865
36866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36867
36868 fi
36869 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36870 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36871
36872 if test "$wx_cv_func_statvfs" = "yes"; then
36873 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36874 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36875 if test "${wx_cv_type_statvfs_t+set}" = set; then
36876 echo $ECHO_N "(cached) $ECHO_C" >&6
36877 else
36878 ac_ext=cpp
36879 ac_cpp='$CXXCPP $CPPFLAGS'
36880 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36881 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36882 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36883
36884 cat >conftest.$ac_ext <<_ACEOF
36885 /* confdefs.h. */
36886 _ACEOF
36887 cat confdefs.h >>conftest.$ac_ext
36888 cat >>conftest.$ac_ext <<_ACEOF
36889 /* end confdefs.h. */
36890
36891 #include <sys/statvfs.h>
36892
36893 int
36894 main ()
36895 {
36896
36897 long l;
36898 statvfs_t fs;
36899 statvfs("/", &fs);
36900 l = fs.f_bsize;
36901 l += fs.f_blocks;
36902 l += fs.f_bavail;
36903
36904 ;
36905 return 0;
36906 }
36907 _ACEOF
36908 rm -f conftest.$ac_objext
36909 if { (ac_try="$ac_compile"
36910 case "(($ac_try" in
36911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36912 *) ac_try_echo=$ac_try;;
36913 esac
36914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36915 (eval "$ac_compile") 2>conftest.er1
36916 ac_status=$?
36917 grep -v '^ *+' conftest.er1 >conftest.err
36918 rm -f conftest.er1
36919 cat conftest.err >&5
36920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36921 (exit $ac_status); } && {
36922 test -z "$ac_cxx_werror_flag" ||
36923 test ! -s conftest.err
36924 } && test -s conftest.$ac_objext; then
36925 wx_cv_type_statvfs_t=statvfs_t
36926 else
36927 echo "$as_me: failed program was:" >&5
36928 sed 's/^/| /' conftest.$ac_ext >&5
36929
36930
36931 cat >conftest.$ac_ext <<_ACEOF
36932 /* confdefs.h. */
36933 _ACEOF
36934 cat confdefs.h >>conftest.$ac_ext
36935 cat >>conftest.$ac_ext <<_ACEOF
36936 /* end confdefs.h. */
36937
36938 #include <sys/statvfs.h>
36939
36940 int
36941 main ()
36942 {
36943
36944 long l;
36945 struct statvfs fs;
36946 statvfs("/", &fs);
36947 l = fs.f_bsize;
36948 l += fs.f_blocks;
36949 l += fs.f_bavail;
36950
36951 ;
36952 return 0;
36953 }
36954 _ACEOF
36955 rm -f conftest.$ac_objext
36956 if { (ac_try="$ac_compile"
36957 case "(($ac_try" in
36958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36959 *) ac_try_echo=$ac_try;;
36960 esac
36961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36962 (eval "$ac_compile") 2>conftest.er1
36963 ac_status=$?
36964 grep -v '^ *+' conftest.er1 >conftest.err
36965 rm -f conftest.er1
36966 cat conftest.err >&5
36967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36968 (exit $ac_status); } && {
36969 test -z "$ac_cxx_werror_flag" ||
36970 test ! -s conftest.err
36971 } && test -s conftest.$ac_objext; then
36972 wx_cv_type_statvfs_t="struct statvfs"
36973 else
36974 echo "$as_me: failed program was:" >&5
36975 sed 's/^/| /' conftest.$ac_ext >&5
36976
36977 wx_cv_type_statvfs_t="unknown"
36978
36979 fi
36980
36981 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36982
36983
36984 fi
36985
36986 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36987 ac_ext=c
36988 ac_cpp='$CPP $CPPFLAGS'
36989 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36990 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36991 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36992
36993
36994 fi
36995 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36996 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36997
36998 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36999 cat >>confdefs.h <<\_ACEOF
37000 #define HAVE_STATVFS 1
37001 _ACEOF
37002
37003 fi
37004 else
37005 wx_cv_type_statvfs_t="unknown"
37006 fi
37007 fi
37008
37009 if test "$wx_cv_type_statvfs_t" != "unknown"; then
37010 cat >>confdefs.h <<_ACEOF
37011 #define WX_STATFS_T $wx_cv_type_statvfs_t
37012 _ACEOF
37013
37014 else
37015 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
37016 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
37017 fi
37018
37019 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
37020
37021
37022 for ac_func in fcntl flock
37023 do
37024 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37025 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37026 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37027 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37028 echo $ECHO_N "(cached) $ECHO_C" >&6
37029 else
37030 cat >conftest.$ac_ext <<_ACEOF
37031 /* confdefs.h. */
37032 _ACEOF
37033 cat confdefs.h >>conftest.$ac_ext
37034 cat >>conftest.$ac_ext <<_ACEOF
37035 /* end confdefs.h. */
37036 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37037 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37038 #define $ac_func innocuous_$ac_func
37039
37040 /* System header to define __stub macros and hopefully few prototypes,
37041 which can conflict with char $ac_func (); below.
37042 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37043 <limits.h> exists even on freestanding compilers. */
37044
37045 #ifdef __STDC__
37046 # include <limits.h>
37047 #else
37048 # include <assert.h>
37049 #endif
37050
37051 #undef $ac_func
37052
37053 /* Override any GCC internal prototype to avoid an error.
37054 Use char because int might match the return type of a GCC
37055 builtin and then its argument prototype would still apply. */
37056 #ifdef __cplusplus
37057 extern "C"
37058 #endif
37059 char $ac_func ();
37060 /* The GNU C library defines this for functions which it implements
37061 to always fail with ENOSYS. Some functions are actually named
37062 something starting with __ and the normal name is an alias. */
37063 #if defined __stub_$ac_func || defined __stub___$ac_func
37064 choke me
37065 #endif
37066
37067 int
37068 main ()
37069 {
37070 return $ac_func ();
37071 ;
37072 return 0;
37073 }
37074 _ACEOF
37075 rm -f conftest.$ac_objext conftest$ac_exeext
37076 if { (ac_try="$ac_link"
37077 case "(($ac_try" in
37078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37079 *) ac_try_echo=$ac_try;;
37080 esac
37081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37082 (eval "$ac_link") 2>conftest.er1
37083 ac_status=$?
37084 grep -v '^ *+' conftest.er1 >conftest.err
37085 rm -f conftest.er1
37086 cat conftest.err >&5
37087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37088 (exit $ac_status); } && {
37089 test -z "$ac_c_werror_flag" ||
37090 test ! -s conftest.err
37091 } && test -s conftest$ac_exeext &&
37092 $as_test_x conftest$ac_exeext; then
37093 eval "$as_ac_var=yes"
37094 else
37095 echo "$as_me: failed program was:" >&5
37096 sed 's/^/| /' conftest.$ac_ext >&5
37097
37098 eval "$as_ac_var=no"
37099 fi
37100
37101 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37102 conftest$ac_exeext conftest.$ac_ext
37103 fi
37104 ac_res=`eval echo '${'$as_ac_var'}'`
37105 { echo "$as_me:$LINENO: result: $ac_res" >&5
37106 echo "${ECHO_T}$ac_res" >&6; }
37107 if test `eval echo '${'$as_ac_var'}'` = yes; then
37108 cat >>confdefs.h <<_ACEOF
37109 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37110 _ACEOF
37111 break
37112 fi
37113 done
37114
37115
37116 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
37117 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
37118 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
37119 wxUSE_SNGLINST_CHECKER=no
37120 fi
37121 fi
37122
37123
37124
37125 for ac_func in setenv putenv
37126 do
37127 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37128 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37129 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37130 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37131 echo $ECHO_N "(cached) $ECHO_C" >&6
37132 else
37133 cat >conftest.$ac_ext <<_ACEOF
37134 /* confdefs.h. */
37135 _ACEOF
37136 cat confdefs.h >>conftest.$ac_ext
37137 cat >>conftest.$ac_ext <<_ACEOF
37138 /* end confdefs.h. */
37139 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37140 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37141 #define $ac_func innocuous_$ac_func
37142
37143 /* System header to define __stub macros and hopefully few prototypes,
37144 which can conflict with char $ac_func (); below.
37145 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37146 <limits.h> exists even on freestanding compilers. */
37147
37148 #ifdef __STDC__
37149 # include <limits.h>
37150 #else
37151 # include <assert.h>
37152 #endif
37153
37154 #undef $ac_func
37155
37156 /* Override any GCC internal prototype to avoid an error.
37157 Use char because int might match the return type of a GCC
37158 builtin and then its argument prototype would still apply. */
37159 #ifdef __cplusplus
37160 extern "C"
37161 #endif
37162 char $ac_func ();
37163 /* The GNU C library defines this for functions which it implements
37164 to always fail with ENOSYS. Some functions are actually named
37165 something starting with __ and the normal name is an alias. */
37166 #if defined __stub_$ac_func || defined __stub___$ac_func
37167 choke me
37168 #endif
37169
37170 int
37171 main ()
37172 {
37173 return $ac_func ();
37174 ;
37175 return 0;
37176 }
37177 _ACEOF
37178 rm -f conftest.$ac_objext conftest$ac_exeext
37179 if { (ac_try="$ac_link"
37180 case "(($ac_try" in
37181 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37182 *) ac_try_echo=$ac_try;;
37183 esac
37184 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37185 (eval "$ac_link") 2>conftest.er1
37186 ac_status=$?
37187 grep -v '^ *+' conftest.er1 >conftest.err
37188 rm -f conftest.er1
37189 cat conftest.err >&5
37190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37191 (exit $ac_status); } && {
37192 test -z "$ac_c_werror_flag" ||
37193 test ! -s conftest.err
37194 } && test -s conftest$ac_exeext &&
37195 $as_test_x conftest$ac_exeext; then
37196 eval "$as_ac_var=yes"
37197 else
37198 echo "$as_me: failed program was:" >&5
37199 sed 's/^/| /' conftest.$ac_ext >&5
37200
37201 eval "$as_ac_var=no"
37202 fi
37203
37204 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37205 conftest$ac_exeext conftest.$ac_ext
37206 fi
37207 ac_res=`eval echo '${'$as_ac_var'}'`
37208 { echo "$as_me:$LINENO: result: $ac_res" >&5
37209 echo "${ECHO_T}$ac_res" >&6; }
37210 if test `eval echo '${'$as_ac_var'}'` = yes; then
37211 cat >>confdefs.h <<_ACEOF
37212 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37213 _ACEOF
37214 break
37215 fi
37216 done
37217
37218 if test "$ac_cv_func_setenv" = "yes"; then
37219
37220 for ac_func in unsetenv
37221 do
37222 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37223 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37224 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37225 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37226 echo $ECHO_N "(cached) $ECHO_C" >&6
37227 else
37228 cat >conftest.$ac_ext <<_ACEOF
37229 /* confdefs.h. */
37230 _ACEOF
37231 cat confdefs.h >>conftest.$ac_ext
37232 cat >>conftest.$ac_ext <<_ACEOF
37233 /* end confdefs.h. */
37234 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37235 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37236 #define $ac_func innocuous_$ac_func
37237
37238 /* System header to define __stub macros and hopefully few prototypes,
37239 which can conflict with char $ac_func (); below.
37240 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37241 <limits.h> exists even on freestanding compilers. */
37242
37243 #ifdef __STDC__
37244 # include <limits.h>
37245 #else
37246 # include <assert.h>
37247 #endif
37248
37249 #undef $ac_func
37250
37251 /* Override any GCC internal prototype to avoid an error.
37252 Use char because int might match the return type of a GCC
37253 builtin and then its argument prototype would still apply. */
37254 #ifdef __cplusplus
37255 extern "C"
37256 #endif
37257 char $ac_func ();
37258 /* The GNU C library defines this for functions which it implements
37259 to always fail with ENOSYS. Some functions are actually named
37260 something starting with __ and the normal name is an alias. */
37261 #if defined __stub_$ac_func || defined __stub___$ac_func
37262 choke me
37263 #endif
37264
37265 int
37266 main ()
37267 {
37268 return $ac_func ();
37269 ;
37270 return 0;
37271 }
37272 _ACEOF
37273 rm -f conftest.$ac_objext conftest$ac_exeext
37274 if { (ac_try="$ac_link"
37275 case "(($ac_try" in
37276 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37277 *) ac_try_echo=$ac_try;;
37278 esac
37279 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37280 (eval "$ac_link") 2>conftest.er1
37281 ac_status=$?
37282 grep -v '^ *+' conftest.er1 >conftest.err
37283 rm -f conftest.er1
37284 cat conftest.err >&5
37285 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37286 (exit $ac_status); } && {
37287 test -z "$ac_c_werror_flag" ||
37288 test ! -s conftest.err
37289 } && test -s conftest$ac_exeext &&
37290 $as_test_x conftest$ac_exeext; then
37291 eval "$as_ac_var=yes"
37292 else
37293 echo "$as_me: failed program was:" >&5
37294 sed 's/^/| /' conftest.$ac_ext >&5
37295
37296 eval "$as_ac_var=no"
37297 fi
37298
37299 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37300 conftest$ac_exeext conftest.$ac_ext
37301 fi
37302 ac_res=`eval echo '${'$as_ac_var'}'`
37303 { echo "$as_me:$LINENO: result: $ac_res" >&5
37304 echo "${ECHO_T}$ac_res" >&6; }
37305 if test `eval echo '${'$as_ac_var'}'` = yes; then
37306 cat >>confdefs.h <<_ACEOF
37307 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37308 _ACEOF
37309
37310 fi
37311 done
37312
37313 fi
37314
37315 HAVE_SOME_SLEEP_FUNC=0
37316 if test "$USE_BEOS" = 1; then
37317 cat >>confdefs.h <<\_ACEOF
37318 #define HAVE_SLEEP 1
37319 _ACEOF
37320
37321 HAVE_SOME_SLEEP_FUNC=1
37322 fi
37323
37324 if test "$USE_DARWIN" = 1; then
37325 cat >>confdefs.h <<\_ACEOF
37326 #define HAVE_USLEEP 1
37327 _ACEOF
37328
37329 HAVE_SOME_SLEEP_FUNC=1
37330 fi
37331
37332 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
37333 POSIX4_LINK=
37334
37335 for ac_func in nanosleep
37336 do
37337 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37338 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37339 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37340 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37341 echo $ECHO_N "(cached) $ECHO_C" >&6
37342 else
37343 cat >conftest.$ac_ext <<_ACEOF
37344 /* confdefs.h. */
37345 _ACEOF
37346 cat confdefs.h >>conftest.$ac_ext
37347 cat >>conftest.$ac_ext <<_ACEOF
37348 /* end confdefs.h. */
37349 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37350 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37351 #define $ac_func innocuous_$ac_func
37352
37353 /* System header to define __stub macros and hopefully few prototypes,
37354 which can conflict with char $ac_func (); below.
37355 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37356 <limits.h> exists even on freestanding compilers. */
37357
37358 #ifdef __STDC__
37359 # include <limits.h>
37360 #else
37361 # include <assert.h>
37362 #endif
37363
37364 #undef $ac_func
37365
37366 /* Override any GCC internal prototype to avoid an error.
37367 Use char because int might match the return type of a GCC
37368 builtin and then its argument prototype would still apply. */
37369 #ifdef __cplusplus
37370 extern "C"
37371 #endif
37372 char $ac_func ();
37373 /* The GNU C library defines this for functions which it implements
37374 to always fail with ENOSYS. Some functions are actually named
37375 something starting with __ and the normal name is an alias. */
37376 #if defined __stub_$ac_func || defined __stub___$ac_func
37377 choke me
37378 #endif
37379
37380 int
37381 main ()
37382 {
37383 return $ac_func ();
37384 ;
37385 return 0;
37386 }
37387 _ACEOF
37388 rm -f conftest.$ac_objext conftest$ac_exeext
37389 if { (ac_try="$ac_link"
37390 case "(($ac_try" in
37391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37392 *) ac_try_echo=$ac_try;;
37393 esac
37394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37395 (eval "$ac_link") 2>conftest.er1
37396 ac_status=$?
37397 grep -v '^ *+' conftest.er1 >conftest.err
37398 rm -f conftest.er1
37399 cat conftest.err >&5
37400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37401 (exit $ac_status); } && {
37402 test -z "$ac_c_werror_flag" ||
37403 test ! -s conftest.err
37404 } && test -s conftest$ac_exeext &&
37405 $as_test_x conftest$ac_exeext; then
37406 eval "$as_ac_var=yes"
37407 else
37408 echo "$as_me: failed program was:" >&5
37409 sed 's/^/| /' conftest.$ac_ext >&5
37410
37411 eval "$as_ac_var=no"
37412 fi
37413
37414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37415 conftest$ac_exeext conftest.$ac_ext
37416 fi
37417 ac_res=`eval echo '${'$as_ac_var'}'`
37418 { echo "$as_me:$LINENO: result: $ac_res" >&5
37419 echo "${ECHO_T}$ac_res" >&6; }
37420 if test `eval echo '${'$as_ac_var'}'` = yes; then
37421 cat >>confdefs.h <<_ACEOF
37422 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37423 _ACEOF
37424 cat >>confdefs.h <<\_ACEOF
37425 #define HAVE_NANOSLEEP 1
37426 _ACEOF
37427
37428 else
37429
37430 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37431 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37432 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37433 echo $ECHO_N "(cached) $ECHO_C" >&6
37434 else
37435 ac_check_lib_save_LIBS=$LIBS
37436 LIBS="-lposix4 $LIBS"
37437 cat >conftest.$ac_ext <<_ACEOF
37438 /* confdefs.h. */
37439 _ACEOF
37440 cat confdefs.h >>conftest.$ac_ext
37441 cat >>conftest.$ac_ext <<_ACEOF
37442 /* end confdefs.h. */
37443
37444 /* Override any GCC internal prototype to avoid an error.
37445 Use char because int might match the return type of a GCC
37446 builtin and then its argument prototype would still apply. */
37447 #ifdef __cplusplus
37448 extern "C"
37449 #endif
37450 char nanosleep ();
37451 int
37452 main ()
37453 {
37454 return nanosleep ();
37455 ;
37456 return 0;
37457 }
37458 _ACEOF
37459 rm -f conftest.$ac_objext conftest$ac_exeext
37460 if { (ac_try="$ac_link"
37461 case "(($ac_try" in
37462 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37463 *) ac_try_echo=$ac_try;;
37464 esac
37465 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37466 (eval "$ac_link") 2>conftest.er1
37467 ac_status=$?
37468 grep -v '^ *+' conftest.er1 >conftest.err
37469 rm -f conftest.er1
37470 cat conftest.err >&5
37471 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37472 (exit $ac_status); } && {
37473 test -z "$ac_c_werror_flag" ||
37474 test ! -s conftest.err
37475 } && test -s conftest$ac_exeext &&
37476 $as_test_x conftest$ac_exeext; then
37477 ac_cv_lib_posix4_nanosleep=yes
37478 else
37479 echo "$as_me: failed program was:" >&5
37480 sed 's/^/| /' conftest.$ac_ext >&5
37481
37482 ac_cv_lib_posix4_nanosleep=no
37483 fi
37484
37485 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37486 conftest$ac_exeext conftest.$ac_ext
37487 LIBS=$ac_check_lib_save_LIBS
37488 fi
37489 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37490 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37491 if test $ac_cv_lib_posix4_nanosleep = yes; then
37492
37493 cat >>confdefs.h <<\_ACEOF
37494 #define HAVE_NANOSLEEP 1
37495 _ACEOF
37496
37497 POSIX4_LINK=" -lposix4"
37498
37499 else
37500
37501
37502 for wx_func in usleep
37503 do
37504 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37505 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37506 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37507 echo $ECHO_N "(cached) $ECHO_C" >&6
37508 else
37509
37510 cat >conftest.$ac_ext <<_ACEOF
37511
37512 /* confdefs.h. */
37513 _ACEOF
37514 cat confdefs.h >>conftest.$ac_ext
37515 cat >>conftest.$ac_ext <<_ACEOF
37516 /* end confdefs.h. */
37517
37518
37519 $ac_includes_default
37520
37521 int
37522 main ()
37523 {
37524
37525 #ifndef $wx_func
37526 &$wx_func;
37527 #endif
37528
37529
37530 ;
37531 return 0;
37532 }
37533
37534 _ACEOF
37535 rm -f conftest.$ac_objext conftest$ac_exeext
37536 if { (ac_try="$ac_link"
37537 case "(($ac_try" in
37538 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37539 *) ac_try_echo=$ac_try;;
37540 esac
37541 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37542 (eval "$ac_link") 2>conftest.er1
37543 ac_status=$?
37544 grep -v '^ *+' conftest.er1 >conftest.err
37545 rm -f conftest.er1
37546 cat conftest.err >&5
37547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37548 (exit $ac_status); } && {
37549 test -z "$ac_c_werror_flag" ||
37550 test ! -s conftest.err
37551 } && test -s conftest$ac_exeext &&
37552 $as_test_x conftest$ac_exeext; then
37553 eval wx_cv_func_$wx_func=yes
37554 else
37555 echo "$as_me: failed program was:" >&5
37556 sed 's/^/| /' conftest.$ac_ext >&5
37557
37558 eval wx_cv_func_$wx_func=no
37559 fi
37560
37561 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37562 conftest$ac_exeext conftest.$ac_ext
37563
37564 fi
37565 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37566 { echo "$as_me:$LINENO: result: $ac_res" >&5
37567 echo "${ECHO_T}$ac_res" >&6; }
37568
37569 if eval test \$wx_cv_func_$wx_func = yes
37570 then
37571 cat >>confdefs.h <<_ACEOF
37572 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37573 _ACEOF
37574
37575
37576 else
37577 :
37578 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37579 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37580
37581 fi
37582 done
37583
37584
37585
37586 fi
37587
37588
37589
37590 fi
37591 done
37592
37593 fi
37594
37595
37596 for wx_func in uname
37597 do
37598 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37599 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37600 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37601 echo $ECHO_N "(cached) $ECHO_C" >&6
37602 else
37603
37604 cat >conftest.$ac_ext <<_ACEOF
37605
37606 /* confdefs.h. */
37607 _ACEOF
37608 cat confdefs.h >>conftest.$ac_ext
37609 cat >>conftest.$ac_ext <<_ACEOF
37610 /* end confdefs.h. */
37611
37612 #include <sys/utsname.h>
37613 $ac_includes_default
37614
37615 int
37616 main ()
37617 {
37618
37619 #ifndef $wx_func
37620 &$wx_func;
37621 #endif
37622
37623
37624 ;
37625 return 0;
37626 }
37627
37628 _ACEOF
37629 rm -f conftest.$ac_objext conftest$ac_exeext
37630 if { (ac_try="$ac_link"
37631 case "(($ac_try" in
37632 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37633 *) ac_try_echo=$ac_try;;
37634 esac
37635 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37636 (eval "$ac_link") 2>conftest.er1
37637 ac_status=$?
37638 grep -v '^ *+' conftest.er1 >conftest.err
37639 rm -f conftest.er1
37640 cat conftest.err >&5
37641 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37642 (exit $ac_status); } && {
37643 test -z "$ac_c_werror_flag" ||
37644 test ! -s conftest.err
37645 } && test -s conftest$ac_exeext &&
37646 $as_test_x conftest$ac_exeext; then
37647 eval wx_cv_func_$wx_func=yes
37648 else
37649 echo "$as_me: failed program was:" >&5
37650 sed 's/^/| /' conftest.$ac_ext >&5
37651
37652 eval wx_cv_func_$wx_func=no
37653 fi
37654
37655 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37656 conftest$ac_exeext conftest.$ac_ext
37657
37658 fi
37659 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37660 { echo "$as_me:$LINENO: result: $ac_res" >&5
37661 echo "${ECHO_T}$ac_res" >&6; }
37662
37663 if eval test \$wx_cv_func_$wx_func = yes
37664 then
37665 cat >>confdefs.h <<_ACEOF
37666 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37667 _ACEOF
37668
37669
37670 else
37671 :
37672
37673 fi
37674 done
37675
37676 if test "$wx_cv_func_uname" != yes; then
37677
37678 for wx_func in gethostname
37679 do
37680 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37681 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37682 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37683 echo $ECHO_N "(cached) $ECHO_C" >&6
37684 else
37685
37686 cat >conftest.$ac_ext <<_ACEOF
37687
37688 /* confdefs.h. */
37689 _ACEOF
37690 cat confdefs.h >>conftest.$ac_ext
37691 cat >>conftest.$ac_ext <<_ACEOF
37692 /* end confdefs.h. */
37693
37694
37695 $ac_includes_default
37696
37697 int
37698 main ()
37699 {
37700
37701 #ifndef $wx_func
37702 &$wx_func;
37703 #endif
37704
37705
37706 ;
37707 return 0;
37708 }
37709
37710 _ACEOF
37711 rm -f conftest.$ac_objext conftest$ac_exeext
37712 if { (ac_try="$ac_link"
37713 case "(($ac_try" in
37714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37715 *) ac_try_echo=$ac_try;;
37716 esac
37717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37718 (eval "$ac_link") 2>conftest.er1
37719 ac_status=$?
37720 grep -v '^ *+' conftest.er1 >conftest.err
37721 rm -f conftest.er1
37722 cat conftest.err >&5
37723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37724 (exit $ac_status); } && {
37725 test -z "$ac_c_werror_flag" ||
37726 test ! -s conftest.err
37727 } && test -s conftest$ac_exeext &&
37728 $as_test_x conftest$ac_exeext; then
37729 eval wx_cv_func_$wx_func=yes
37730 else
37731 echo "$as_me: failed program was:" >&5
37732 sed 's/^/| /' conftest.$ac_ext >&5
37733
37734 eval wx_cv_func_$wx_func=no
37735 fi
37736
37737 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37738 conftest$ac_exeext conftest.$ac_ext
37739
37740 fi
37741 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37742 { echo "$as_me:$LINENO: result: $ac_res" >&5
37743 echo "${ECHO_T}$ac_res" >&6; }
37744
37745 if eval test \$wx_cv_func_$wx_func = yes
37746 then
37747 cat >>confdefs.h <<_ACEOF
37748 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37749 _ACEOF
37750
37751
37752 else
37753 :
37754
37755 fi
37756 done
37757
37758 fi
37759
37760
37761 for wx_func in strtok_r
37762 do
37763 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37764 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37765 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37766 echo $ECHO_N "(cached) $ECHO_C" >&6
37767 else
37768
37769 cat >conftest.$ac_ext <<_ACEOF
37770
37771 /* confdefs.h. */
37772 _ACEOF
37773 cat confdefs.h >>conftest.$ac_ext
37774 cat >>conftest.$ac_ext <<_ACEOF
37775 /* end confdefs.h. */
37776
37777 #define _REENTRANT
37778 $ac_includes_default
37779
37780 int
37781 main ()
37782 {
37783
37784 #ifndef $wx_func
37785 &$wx_func;
37786 #endif
37787
37788
37789 ;
37790 return 0;
37791 }
37792
37793 _ACEOF
37794 rm -f conftest.$ac_objext conftest$ac_exeext
37795 if { (ac_try="$ac_link"
37796 case "(($ac_try" in
37797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37798 *) ac_try_echo=$ac_try;;
37799 esac
37800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37801 (eval "$ac_link") 2>conftest.er1
37802 ac_status=$?
37803 grep -v '^ *+' conftest.er1 >conftest.err
37804 rm -f conftest.er1
37805 cat conftest.err >&5
37806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37807 (exit $ac_status); } && {
37808 test -z "$ac_c_werror_flag" ||
37809 test ! -s conftest.err
37810 } && test -s conftest$ac_exeext &&
37811 $as_test_x conftest$ac_exeext; then
37812 eval wx_cv_func_$wx_func=yes
37813 else
37814 echo "$as_me: failed program was:" >&5
37815 sed 's/^/| /' conftest.$ac_ext >&5
37816
37817 eval wx_cv_func_$wx_func=no
37818 fi
37819
37820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37821 conftest$ac_exeext conftest.$ac_ext
37822
37823 fi
37824 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37825 { echo "$as_me:$LINENO: result: $ac_res" >&5
37826 echo "${ECHO_T}$ac_res" >&6; }
37827
37828 if eval test \$wx_cv_func_$wx_func = yes
37829 then
37830 cat >>confdefs.h <<_ACEOF
37831 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37832 _ACEOF
37833
37834
37835 else
37836 :
37837
37838 fi
37839 done
37840
37841
37842 INET_LINK=
37843
37844 for ac_func in inet_addr
37845 do
37846 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37847 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37848 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37849 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37850 echo $ECHO_N "(cached) $ECHO_C" >&6
37851 else
37852 cat >conftest.$ac_ext <<_ACEOF
37853 /* confdefs.h. */
37854 _ACEOF
37855 cat confdefs.h >>conftest.$ac_ext
37856 cat >>conftest.$ac_ext <<_ACEOF
37857 /* end confdefs.h. */
37858 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37859 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37860 #define $ac_func innocuous_$ac_func
37861
37862 /* System header to define __stub macros and hopefully few prototypes,
37863 which can conflict with char $ac_func (); below.
37864 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37865 <limits.h> exists even on freestanding compilers. */
37866
37867 #ifdef __STDC__
37868 # include <limits.h>
37869 #else
37870 # include <assert.h>
37871 #endif
37872
37873 #undef $ac_func
37874
37875 /* Override any GCC internal prototype to avoid an error.
37876 Use char because int might match the return type of a GCC
37877 builtin and then its argument prototype would still apply. */
37878 #ifdef __cplusplus
37879 extern "C"
37880 #endif
37881 char $ac_func ();
37882 /* The GNU C library defines this for functions which it implements
37883 to always fail with ENOSYS. Some functions are actually named
37884 something starting with __ and the normal name is an alias. */
37885 #if defined __stub_$ac_func || defined __stub___$ac_func
37886 choke me
37887 #endif
37888
37889 int
37890 main ()
37891 {
37892 return $ac_func ();
37893 ;
37894 return 0;
37895 }
37896 _ACEOF
37897 rm -f conftest.$ac_objext conftest$ac_exeext
37898 if { (ac_try="$ac_link"
37899 case "(($ac_try" in
37900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37901 *) ac_try_echo=$ac_try;;
37902 esac
37903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37904 (eval "$ac_link") 2>conftest.er1
37905 ac_status=$?
37906 grep -v '^ *+' conftest.er1 >conftest.err
37907 rm -f conftest.er1
37908 cat conftest.err >&5
37909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37910 (exit $ac_status); } && {
37911 test -z "$ac_c_werror_flag" ||
37912 test ! -s conftest.err
37913 } && test -s conftest$ac_exeext &&
37914 $as_test_x conftest$ac_exeext; then
37915 eval "$as_ac_var=yes"
37916 else
37917 echo "$as_me: failed program was:" >&5
37918 sed 's/^/| /' conftest.$ac_ext >&5
37919
37920 eval "$as_ac_var=no"
37921 fi
37922
37923 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37924 conftest$ac_exeext conftest.$ac_ext
37925 fi
37926 ac_res=`eval echo '${'$as_ac_var'}'`
37927 { echo "$as_me:$LINENO: result: $ac_res" >&5
37928 echo "${ECHO_T}$ac_res" >&6; }
37929 if test `eval echo '${'$as_ac_var'}'` = yes; then
37930 cat >>confdefs.h <<_ACEOF
37931 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37932 _ACEOF
37933 cat >>confdefs.h <<\_ACEOF
37934 #define HAVE_INET_ADDR 1
37935 _ACEOF
37936
37937 else
37938
37939 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37940 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37941 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37942 echo $ECHO_N "(cached) $ECHO_C" >&6
37943 else
37944 ac_check_lib_save_LIBS=$LIBS
37945 LIBS="-lnsl $LIBS"
37946 cat >conftest.$ac_ext <<_ACEOF
37947 /* confdefs.h. */
37948 _ACEOF
37949 cat confdefs.h >>conftest.$ac_ext
37950 cat >>conftest.$ac_ext <<_ACEOF
37951 /* end confdefs.h. */
37952
37953 /* Override any GCC internal prototype to avoid an error.
37954 Use char because int might match the return type of a GCC
37955 builtin and then its argument prototype would still apply. */
37956 #ifdef __cplusplus
37957 extern "C"
37958 #endif
37959 char inet_addr ();
37960 int
37961 main ()
37962 {
37963 return inet_addr ();
37964 ;
37965 return 0;
37966 }
37967 _ACEOF
37968 rm -f conftest.$ac_objext conftest$ac_exeext
37969 if { (ac_try="$ac_link"
37970 case "(($ac_try" in
37971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37972 *) ac_try_echo=$ac_try;;
37973 esac
37974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37975 (eval "$ac_link") 2>conftest.er1
37976 ac_status=$?
37977 grep -v '^ *+' conftest.er1 >conftest.err
37978 rm -f conftest.er1
37979 cat conftest.err >&5
37980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37981 (exit $ac_status); } && {
37982 test -z "$ac_c_werror_flag" ||
37983 test ! -s conftest.err
37984 } && test -s conftest$ac_exeext &&
37985 $as_test_x conftest$ac_exeext; then
37986 ac_cv_lib_nsl_inet_addr=yes
37987 else
37988 echo "$as_me: failed program was:" >&5
37989 sed 's/^/| /' conftest.$ac_ext >&5
37990
37991 ac_cv_lib_nsl_inet_addr=no
37992 fi
37993
37994 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37995 conftest$ac_exeext conftest.$ac_ext
37996 LIBS=$ac_check_lib_save_LIBS
37997 fi
37998 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37999 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
38000 if test $ac_cv_lib_nsl_inet_addr = yes; then
38001 INET_LINK="nsl"
38002 else
38003
38004 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
38005 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
38006 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
38007 echo $ECHO_N "(cached) $ECHO_C" >&6
38008 else
38009 ac_check_lib_save_LIBS=$LIBS
38010 LIBS="-lresolv $LIBS"
38011 cat >conftest.$ac_ext <<_ACEOF
38012 /* confdefs.h. */
38013 _ACEOF
38014 cat confdefs.h >>conftest.$ac_ext
38015 cat >>conftest.$ac_ext <<_ACEOF
38016 /* end confdefs.h. */
38017
38018 /* Override any GCC internal prototype to avoid an error.
38019 Use char because int might match the return type of a GCC
38020 builtin and then its argument prototype would still apply. */
38021 #ifdef __cplusplus
38022 extern "C"
38023 #endif
38024 char inet_addr ();
38025 int
38026 main ()
38027 {
38028 return inet_addr ();
38029 ;
38030 return 0;
38031 }
38032 _ACEOF
38033 rm -f conftest.$ac_objext conftest$ac_exeext
38034 if { (ac_try="$ac_link"
38035 case "(($ac_try" in
38036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38037 *) ac_try_echo=$ac_try;;
38038 esac
38039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38040 (eval "$ac_link") 2>conftest.er1
38041 ac_status=$?
38042 grep -v '^ *+' conftest.er1 >conftest.err
38043 rm -f conftest.er1
38044 cat conftest.err >&5
38045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38046 (exit $ac_status); } && {
38047 test -z "$ac_c_werror_flag" ||
38048 test ! -s conftest.err
38049 } && test -s conftest$ac_exeext &&
38050 $as_test_x conftest$ac_exeext; then
38051 ac_cv_lib_resolv_inet_addr=yes
38052 else
38053 echo "$as_me: failed program was:" >&5
38054 sed 's/^/| /' conftest.$ac_ext >&5
38055
38056 ac_cv_lib_resolv_inet_addr=no
38057 fi
38058
38059 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38060 conftest$ac_exeext conftest.$ac_ext
38061 LIBS=$ac_check_lib_save_LIBS
38062 fi
38063 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
38064 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
38065 if test $ac_cv_lib_resolv_inet_addr = yes; then
38066 INET_LINK="resolv"
38067 else
38068
38069 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
38070 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
38071 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
38072 echo $ECHO_N "(cached) $ECHO_C" >&6
38073 else
38074 ac_check_lib_save_LIBS=$LIBS
38075 LIBS="-lsocket $LIBS"
38076 cat >conftest.$ac_ext <<_ACEOF
38077 /* confdefs.h. */
38078 _ACEOF
38079 cat confdefs.h >>conftest.$ac_ext
38080 cat >>conftest.$ac_ext <<_ACEOF
38081 /* end confdefs.h. */
38082
38083 /* Override any GCC internal prototype to avoid an error.
38084 Use char because int might match the return type of a GCC
38085 builtin and then its argument prototype would still apply. */
38086 #ifdef __cplusplus
38087 extern "C"
38088 #endif
38089 char inet_addr ();
38090 int
38091 main ()
38092 {
38093 return inet_addr ();
38094 ;
38095 return 0;
38096 }
38097 _ACEOF
38098 rm -f conftest.$ac_objext conftest$ac_exeext
38099 if { (ac_try="$ac_link"
38100 case "(($ac_try" in
38101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38102 *) ac_try_echo=$ac_try;;
38103 esac
38104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38105 (eval "$ac_link") 2>conftest.er1
38106 ac_status=$?
38107 grep -v '^ *+' conftest.er1 >conftest.err
38108 rm -f conftest.er1
38109 cat conftest.err >&5
38110 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38111 (exit $ac_status); } && {
38112 test -z "$ac_c_werror_flag" ||
38113 test ! -s conftest.err
38114 } && test -s conftest$ac_exeext &&
38115 $as_test_x conftest$ac_exeext; then
38116 ac_cv_lib_socket_inet_addr=yes
38117 else
38118 echo "$as_me: failed program was:" >&5
38119 sed 's/^/| /' conftest.$ac_ext >&5
38120
38121 ac_cv_lib_socket_inet_addr=no
38122 fi
38123
38124 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38125 conftest$ac_exeext conftest.$ac_ext
38126 LIBS=$ac_check_lib_save_LIBS
38127 fi
38128 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
38129 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
38130 if test $ac_cv_lib_socket_inet_addr = yes; then
38131 INET_LINK="socket"
38132
38133 fi
38134
38135
38136
38137 fi
38138
38139
38140
38141 fi
38142
38143
38144
38145 fi
38146 done
38147
38148
38149
38150 for ac_func in inet_aton
38151 do
38152 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38153 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38154 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38155 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38156 echo $ECHO_N "(cached) $ECHO_C" >&6
38157 else
38158 cat >conftest.$ac_ext <<_ACEOF
38159 /* confdefs.h. */
38160 _ACEOF
38161 cat confdefs.h >>conftest.$ac_ext
38162 cat >>conftest.$ac_ext <<_ACEOF
38163 /* end confdefs.h. */
38164 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38165 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38166 #define $ac_func innocuous_$ac_func
38167
38168 /* System header to define __stub macros and hopefully few prototypes,
38169 which can conflict with char $ac_func (); below.
38170 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38171 <limits.h> exists even on freestanding compilers. */
38172
38173 #ifdef __STDC__
38174 # include <limits.h>
38175 #else
38176 # include <assert.h>
38177 #endif
38178
38179 #undef $ac_func
38180
38181 /* Override any GCC internal prototype to avoid an error.
38182 Use char because int might match the return type of a GCC
38183 builtin and then its argument prototype would still apply. */
38184 #ifdef __cplusplus
38185 extern "C"
38186 #endif
38187 char $ac_func ();
38188 /* The GNU C library defines this for functions which it implements
38189 to always fail with ENOSYS. Some functions are actually named
38190 something starting with __ and the normal name is an alias. */
38191 #if defined __stub_$ac_func || defined __stub___$ac_func
38192 choke me
38193 #endif
38194
38195 int
38196 main ()
38197 {
38198 return $ac_func ();
38199 ;
38200 return 0;
38201 }
38202 _ACEOF
38203 rm -f conftest.$ac_objext conftest$ac_exeext
38204 if { (ac_try="$ac_link"
38205 case "(($ac_try" in
38206 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38207 *) ac_try_echo=$ac_try;;
38208 esac
38209 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38210 (eval "$ac_link") 2>conftest.er1
38211 ac_status=$?
38212 grep -v '^ *+' conftest.er1 >conftest.err
38213 rm -f conftest.er1
38214 cat conftest.err >&5
38215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38216 (exit $ac_status); } && {
38217 test -z "$ac_c_werror_flag" ||
38218 test ! -s conftest.err
38219 } && test -s conftest$ac_exeext &&
38220 $as_test_x conftest$ac_exeext; then
38221 eval "$as_ac_var=yes"
38222 else
38223 echo "$as_me: failed program was:" >&5
38224 sed 's/^/| /' conftest.$ac_ext >&5
38225
38226 eval "$as_ac_var=no"
38227 fi
38228
38229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38230 conftest$ac_exeext conftest.$ac_ext
38231 fi
38232 ac_res=`eval echo '${'$as_ac_var'}'`
38233 { echo "$as_me:$LINENO: result: $ac_res" >&5
38234 echo "${ECHO_T}$ac_res" >&6; }
38235 if test `eval echo '${'$as_ac_var'}'` = yes; then
38236 cat >>confdefs.h <<_ACEOF
38237 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38238 _ACEOF
38239 cat >>confdefs.h <<\_ACEOF
38240 #define HAVE_INET_ATON 1
38241 _ACEOF
38242
38243 else
38244
38245 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
38246 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
38247 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
38248 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
38249 echo $ECHO_N "(cached) $ECHO_C" >&6
38250 else
38251 ac_check_lib_save_LIBS=$LIBS
38252 LIBS="-l$INET_LINK $LIBS"
38253 cat >conftest.$ac_ext <<_ACEOF
38254 /* confdefs.h. */
38255 _ACEOF
38256 cat confdefs.h >>conftest.$ac_ext
38257 cat >>conftest.$ac_ext <<_ACEOF
38258 /* end confdefs.h. */
38259
38260 /* Override any GCC internal prototype to avoid an error.
38261 Use char because int might match the return type of a GCC
38262 builtin and then its argument prototype would still apply. */
38263 #ifdef __cplusplus
38264 extern "C"
38265 #endif
38266 char inet_aton ();
38267 int
38268 main ()
38269 {
38270 return inet_aton ();
38271 ;
38272 return 0;
38273 }
38274 _ACEOF
38275 rm -f conftest.$ac_objext conftest$ac_exeext
38276 if { (ac_try="$ac_link"
38277 case "(($ac_try" in
38278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38279 *) ac_try_echo=$ac_try;;
38280 esac
38281 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38282 (eval "$ac_link") 2>conftest.er1
38283 ac_status=$?
38284 grep -v '^ *+' conftest.er1 >conftest.err
38285 rm -f conftest.er1
38286 cat conftest.err >&5
38287 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38288 (exit $ac_status); } && {
38289 test -z "$ac_c_werror_flag" ||
38290 test ! -s conftest.err
38291 } && test -s conftest$ac_exeext &&
38292 $as_test_x conftest$ac_exeext; then
38293 eval "$as_ac_Lib=yes"
38294 else
38295 echo "$as_me: failed program was:" >&5
38296 sed 's/^/| /' conftest.$ac_ext >&5
38297
38298 eval "$as_ac_Lib=no"
38299 fi
38300
38301 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38302 conftest$ac_exeext conftest.$ac_ext
38303 LIBS=$ac_check_lib_save_LIBS
38304 fi
38305 ac_res=`eval echo '${'$as_ac_Lib'}'`
38306 { echo "$as_me:$LINENO: result: $ac_res" >&5
38307 echo "${ECHO_T}$ac_res" >&6; }
38308 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
38309 cat >>confdefs.h <<\_ACEOF
38310 #define HAVE_INET_ATON 1
38311 _ACEOF
38312
38313 fi
38314
38315
38316 fi
38317 done
38318
38319
38320 if test "x$INET_LINK" != "x"; then
38321 cat >>confdefs.h <<\_ACEOF
38322 #define HAVE_INET_ADDR 1
38323 _ACEOF
38324
38325 INET_LINK=" -l$INET_LINK"
38326 fi
38327
38328
38329 for wx_func in fdopen
38330 do
38331 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38332 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38333 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38334 echo $ECHO_N "(cached) $ECHO_C" >&6
38335 else
38336
38337 cat >conftest.$ac_ext <<_ACEOF
38338
38339 /* confdefs.h. */
38340 _ACEOF
38341 cat confdefs.h >>conftest.$ac_ext
38342 cat >>conftest.$ac_ext <<_ACEOF
38343 /* end confdefs.h. */
38344
38345
38346 $ac_includes_default
38347
38348 int
38349 main ()
38350 {
38351
38352 #ifndef $wx_func
38353 &$wx_func;
38354 #endif
38355
38356
38357 ;
38358 return 0;
38359 }
38360
38361 _ACEOF
38362 rm -f conftest.$ac_objext conftest$ac_exeext
38363 if { (ac_try="$ac_link"
38364 case "(($ac_try" in
38365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38366 *) ac_try_echo=$ac_try;;
38367 esac
38368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38369 (eval "$ac_link") 2>conftest.er1
38370 ac_status=$?
38371 grep -v '^ *+' conftest.er1 >conftest.err
38372 rm -f conftest.er1
38373 cat conftest.err >&5
38374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38375 (exit $ac_status); } && {
38376 test -z "$ac_c_werror_flag" ||
38377 test ! -s conftest.err
38378 } && test -s conftest$ac_exeext &&
38379 $as_test_x conftest$ac_exeext; then
38380 eval wx_cv_func_$wx_func=yes
38381 else
38382 echo "$as_me: failed program was:" >&5
38383 sed 's/^/| /' conftest.$ac_ext >&5
38384
38385 eval wx_cv_func_$wx_func=no
38386 fi
38387
38388 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38389 conftest$ac_exeext conftest.$ac_ext
38390
38391 fi
38392 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38393 { echo "$as_me:$LINENO: result: $ac_res" >&5
38394 echo "${ECHO_T}$ac_res" >&6; }
38395
38396 if eval test \$wx_cv_func_$wx_func = yes
38397 then
38398 cat >>confdefs.h <<_ACEOF
38399 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38400 _ACEOF
38401
38402
38403 else
38404 :
38405
38406 fi
38407 done
38408
38409
38410 if test "$wxUSE_TARSTREAM" = "yes"; then
38411
38412 for wx_func in sysconf
38413 do
38414 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38415 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38416 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38417 echo $ECHO_N "(cached) $ECHO_C" >&6
38418 else
38419
38420 cat >conftest.$ac_ext <<_ACEOF
38421
38422 /* confdefs.h. */
38423 _ACEOF
38424 cat confdefs.h >>conftest.$ac_ext
38425 cat >>conftest.$ac_ext <<_ACEOF
38426 /* end confdefs.h. */
38427
38428
38429 $ac_includes_default
38430
38431 int
38432 main ()
38433 {
38434
38435 #ifndef $wx_func
38436 &$wx_func;
38437 #endif
38438
38439
38440 ;
38441 return 0;
38442 }
38443
38444 _ACEOF
38445 rm -f conftest.$ac_objext conftest$ac_exeext
38446 if { (ac_try="$ac_link"
38447 case "(($ac_try" in
38448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38449 *) ac_try_echo=$ac_try;;
38450 esac
38451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38452 (eval "$ac_link") 2>conftest.er1
38453 ac_status=$?
38454 grep -v '^ *+' conftest.er1 >conftest.err
38455 rm -f conftest.er1
38456 cat conftest.err >&5
38457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38458 (exit $ac_status); } && {
38459 test -z "$ac_c_werror_flag" ||
38460 test ! -s conftest.err
38461 } && test -s conftest$ac_exeext &&
38462 $as_test_x conftest$ac_exeext; then
38463 eval wx_cv_func_$wx_func=yes
38464 else
38465 echo "$as_me: failed program was:" >&5
38466 sed 's/^/| /' conftest.$ac_ext >&5
38467
38468 eval wx_cv_func_$wx_func=no
38469 fi
38470
38471 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38472 conftest$ac_exeext conftest.$ac_ext
38473
38474 fi
38475 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38476 { echo "$as_me:$LINENO: result: $ac_res" >&5
38477 echo "${ECHO_T}$ac_res" >&6; }
38478
38479 if eval test \$wx_cv_func_$wx_func = yes
38480 then
38481 cat >>confdefs.h <<_ACEOF
38482 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38483 _ACEOF
38484
38485
38486 else
38487 :
38488
38489 fi
38490 done
38491
38492
38493
38494 for wx_func in getpwuid_r
38495 do
38496 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38497 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38498 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38499 echo $ECHO_N "(cached) $ECHO_C" >&6
38500 else
38501
38502 cat >conftest.$ac_ext <<_ACEOF
38503
38504 /* confdefs.h. */
38505 _ACEOF
38506 cat confdefs.h >>conftest.$ac_ext
38507 cat >>conftest.$ac_ext <<_ACEOF
38508 /* end confdefs.h. */
38509
38510
38511 #define _REENTRANT
38512 #include <pwd.h>
38513
38514 $ac_includes_default
38515
38516 int
38517 main ()
38518 {
38519
38520 #ifndef $wx_func
38521 &$wx_func;
38522 #endif
38523
38524 struct passwd pw, *ppw;
38525 char buf[1024];
38526 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38527
38528
38529 ;
38530 return 0;
38531 }
38532
38533 _ACEOF
38534 rm -f conftest.$ac_objext conftest$ac_exeext
38535 if { (ac_try="$ac_link"
38536 case "(($ac_try" in
38537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38538 *) ac_try_echo=$ac_try;;
38539 esac
38540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38541 (eval "$ac_link") 2>conftest.er1
38542 ac_status=$?
38543 grep -v '^ *+' conftest.er1 >conftest.err
38544 rm -f conftest.er1
38545 cat conftest.err >&5
38546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38547 (exit $ac_status); } && {
38548 test -z "$ac_c_werror_flag" ||
38549 test ! -s conftest.err
38550 } && test -s conftest$ac_exeext &&
38551 $as_test_x conftest$ac_exeext; then
38552 eval wx_cv_func_$wx_func=yes
38553 else
38554 echo "$as_me: failed program was:" >&5
38555 sed 's/^/| /' conftest.$ac_ext >&5
38556
38557 eval wx_cv_func_$wx_func=no
38558 fi
38559
38560 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38561 conftest$ac_exeext conftest.$ac_ext
38562
38563 fi
38564 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38565 { echo "$as_me:$LINENO: result: $ac_res" >&5
38566 echo "${ECHO_T}$ac_res" >&6; }
38567
38568 if eval test \$wx_cv_func_$wx_func = yes
38569 then
38570 cat >>confdefs.h <<_ACEOF
38571 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38572 _ACEOF
38573
38574
38575 else
38576 :
38577
38578 fi
38579 done
38580
38581
38582
38583 for wx_func in getgrgid_r
38584 do
38585 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38586 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38587 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38588 echo $ECHO_N "(cached) $ECHO_C" >&6
38589 else
38590
38591 cat >conftest.$ac_ext <<_ACEOF
38592
38593 /* confdefs.h. */
38594 _ACEOF
38595 cat confdefs.h >>conftest.$ac_ext
38596 cat >>conftest.$ac_ext <<_ACEOF
38597 /* end confdefs.h. */
38598
38599
38600 #define _REENTRANT
38601 #include <grp.h>
38602
38603 $ac_includes_default
38604
38605 int
38606 main ()
38607 {
38608
38609 #ifndef $wx_func
38610 &$wx_func;
38611 #endif
38612
38613 struct group grp, *pgrp;
38614 char buf[1024];
38615 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38616
38617
38618 ;
38619 return 0;
38620 }
38621
38622 _ACEOF
38623 rm -f conftest.$ac_objext conftest$ac_exeext
38624 if { (ac_try="$ac_link"
38625 case "(($ac_try" in
38626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38627 *) ac_try_echo=$ac_try;;
38628 esac
38629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38630 (eval "$ac_link") 2>conftest.er1
38631 ac_status=$?
38632 grep -v '^ *+' conftest.er1 >conftest.err
38633 rm -f conftest.er1
38634 cat conftest.err >&5
38635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38636 (exit $ac_status); } && {
38637 test -z "$ac_c_werror_flag" ||
38638 test ! -s conftest.err
38639 } && test -s conftest$ac_exeext &&
38640 $as_test_x conftest$ac_exeext; then
38641 eval wx_cv_func_$wx_func=yes
38642 else
38643 echo "$as_me: failed program was:" >&5
38644 sed 's/^/| /' conftest.$ac_ext >&5
38645
38646 eval wx_cv_func_$wx_func=no
38647 fi
38648
38649 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38650 conftest$ac_exeext conftest.$ac_ext
38651
38652 fi
38653 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38654 { echo "$as_me:$LINENO: result: $ac_res" >&5
38655 echo "${ECHO_T}$ac_res" >&6; }
38656
38657 if eval test \$wx_cv_func_$wx_func = yes
38658 then
38659 cat >>confdefs.h <<_ACEOF
38660 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38661 _ACEOF
38662
38663
38664 else
38665 :
38666
38667 fi
38668 done
38669
38670 fi
38671
38672 fi
38673
38674
38675
38676 cat >confcache <<\_ACEOF
38677 # This file is a shell script that caches the results of configure
38678 # tests run on this system so they can be shared between configure
38679 # scripts and configure runs, see configure's option --config-cache.
38680 # It is not useful on other systems. If it contains results you don't
38681 # want to keep, you may remove or edit it.
38682 #
38683 # config.status only pays attention to the cache file if you give it
38684 # the --recheck option to rerun configure.
38685 #
38686 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38687 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38688 # following values.
38689
38690 _ACEOF
38691
38692 # The following way of writing the cache mishandles newlines in values,
38693 # but we know of no workaround that is simple, portable, and efficient.
38694 # So, we kill variables containing newlines.
38695 # Ultrix sh set writes to stderr and can't be redirected directly,
38696 # and sets the high bit in the cache file unless we assign to the vars.
38697 (
38698 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38699 eval ac_val=\$$ac_var
38700 case $ac_val in #(
38701 *${as_nl}*)
38702 case $ac_var in #(
38703 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38704 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38705 esac
38706 case $ac_var in #(
38707 _ | IFS | as_nl) ;; #(
38708 *) $as_unset $ac_var ;;
38709 esac ;;
38710 esac
38711 done
38712
38713 (set) 2>&1 |
38714 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38715 *${as_nl}ac_space=\ *)
38716 # `set' does not quote correctly, so add quotes (double-quote
38717 # substitution turns \\\\ into \\, and sed turns \\ into \).
38718 sed -n \
38719 "s/'/'\\\\''/g;
38720 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38721 ;; #(
38722 *)
38723 # `set' quotes correctly as required by POSIX, so do not add quotes.
38724 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38725 ;;
38726 esac |
38727 sort
38728 ) |
38729 sed '
38730 /^ac_cv_env_/b end
38731 t clear
38732 :clear
38733 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38734 t end
38735 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38736 :end' >>confcache
38737 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38738 if test -w "$cache_file"; then
38739 test "x$cache_file" != "x/dev/null" &&
38740 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38741 echo "$as_me: updating cache $cache_file" >&6;}
38742 cat confcache >$cache_file
38743 else
38744 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38745 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38746 fi
38747 fi
38748 rm -f confcache
38749
38750
38751 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38752
38753
38754 THREADS_LINK=
38755 THREADS_CFLAGS=
38756
38757 if test "$wxUSE_THREADS" = "yes" ; then
38758 if test "$USE_BEOS" = 1; then
38759 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38760 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38761 wxUSE_THREADS="no"
38762 fi
38763 fi
38764
38765 if test "$wxUSE_THREADS" = "yes" ; then
38766
38767
38768 THREAD_OPTS="-pthread"
38769 if test "x$SUNCXX" = xyes; then
38770 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38771 fi
38772
38773 case "${host}" in
38774 *-*-solaris2* | *-*-sunos4* )
38775 if test "x$GCC" = "xyes"; then
38776 THREAD_OPTS="-pthreads $THREAD_OPTS"
38777 fi
38778 ;;
38779 *-*-freebsd*)
38780 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38781 ;;
38782 *-*-darwin* | *-*-cygwin* )
38783 THREAD_OPTS=""
38784 ;;
38785 *-*-aix*)
38786 THREAD_OPTS="pthreads"
38787 ;;
38788 *-hp-hpux* )
38789 if test "x$GCC" = "xyes"; then
38790 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38791 THREAD_OPTS=""
38792 else
38793 THREAD_OPTS="-mt"
38794 fi
38795 ;;
38796
38797 *-*-irix* )
38798 if test "x$GCC" = "xyes"; then
38799 THREAD_OPTS=""
38800 fi
38801 ;;
38802
38803 *-*-*UnixWare*)
38804 if test "x$GCC" != "xyes"; then
38805 THREAD_OPTS="-Ethread"
38806 fi
38807 ;;
38808 esac
38809
38810 THREAD_OPTS="$THREAD_OPTS pthread none"
38811
38812 THREADS_OK=no
38813 for flag in $THREAD_OPTS; do
38814 case $flag in
38815 none)
38816 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38817 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38818 ;;
38819
38820 -*)
38821 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38822 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38823 THREADS_CFLAGS="$flag"
38824 ;;
38825
38826 *)
38827 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38828 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38829 THREADS_LINK="-l$flag"
38830 ;;
38831 esac
38832
38833 save_LIBS="$LIBS"
38834 save_CFLAGS="$CFLAGS"
38835 LIBS="$THREADS_LINK $LIBS"
38836 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38837
38838 cat >conftest.$ac_ext <<_ACEOF
38839 /* confdefs.h. */
38840 _ACEOF
38841 cat confdefs.h >>conftest.$ac_ext
38842 cat >>conftest.$ac_ext <<_ACEOF
38843 /* end confdefs.h. */
38844 #include <pthread.h>
38845 int
38846 main ()
38847 {
38848 pthread_create(0,0,0,0);
38849 ;
38850 return 0;
38851 }
38852 _ACEOF
38853 rm -f conftest.$ac_objext conftest$ac_exeext
38854 if { (ac_try="$ac_link"
38855 case "(($ac_try" in
38856 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38857 *) ac_try_echo=$ac_try;;
38858 esac
38859 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38860 (eval "$ac_link") 2>conftest.er1
38861 ac_status=$?
38862 grep -v '^ *+' conftest.er1 >conftest.err
38863 rm -f conftest.er1
38864 cat conftest.err >&5
38865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38866 (exit $ac_status); } && {
38867 test -z "$ac_c_werror_flag" ||
38868 test ! -s conftest.err
38869 } && test -s conftest$ac_exeext &&
38870 $as_test_x conftest$ac_exeext; then
38871 THREADS_OK=yes
38872 else
38873 echo "$as_me: failed program was:" >&5
38874 sed 's/^/| /' conftest.$ac_ext >&5
38875
38876
38877 fi
38878
38879 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38880 conftest$ac_exeext conftest.$ac_ext
38881
38882 LIBS="$save_LIBS"
38883 CFLAGS="$save_CFLAGS"
38884
38885 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38886 echo "${ECHO_T}$THREADS_OK" >&6; }
38887 if test "x$THREADS_OK" = "xyes"; then
38888 break;
38889 fi
38890
38891 THREADS_LINK=""
38892 THREADS_CFLAGS=""
38893 done
38894
38895 if test "x$THREADS_OK" != "xyes"; then
38896 wxUSE_THREADS=no
38897 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38898 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38899 else
38900 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38901 LIBS="$THREADS_LINK $LIBS"
38902
38903 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38904 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38905 flag=no
38906 case "${host}" in
38907 *-aix*)
38908 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38909 flag="-D_THREAD_SAFE"
38910 ;;
38911 *-freebsd*)
38912 flag="-D_THREAD_SAFE"
38913 ;;
38914 *-hp-hpux* )
38915 flag="-D_REENTRANT"
38916 if test "x$GCC" != "xyes"; then
38917 flag="$flag -D_RWSTD_MULTI_THREAD"
38918 fi
38919 ;;
38920 *solaris* | alpha*-osf*)
38921 flag="-D_REENTRANT"
38922 ;;
38923 esac
38924 { echo "$as_me:$LINENO: result: ${flag}" >&5
38925 echo "${ECHO_T}${flag}" >&6; }
38926 if test "x$flag" != xno; then
38927 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38928 fi
38929
38930 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38931 fi
38932 fi
38933
38934 if test "$wxUSE_THREADS" = "yes" ; then
38935
38936 for ac_func in thr_setconcurrency
38937 do
38938 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38939 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38940 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38941 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38942 echo $ECHO_N "(cached) $ECHO_C" >&6
38943 else
38944 cat >conftest.$ac_ext <<_ACEOF
38945 /* confdefs.h. */
38946 _ACEOF
38947 cat confdefs.h >>conftest.$ac_ext
38948 cat >>conftest.$ac_ext <<_ACEOF
38949 /* end confdefs.h. */
38950 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38951 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38952 #define $ac_func innocuous_$ac_func
38953
38954 /* System header to define __stub macros and hopefully few prototypes,
38955 which can conflict with char $ac_func (); below.
38956 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38957 <limits.h> exists even on freestanding compilers. */
38958
38959 #ifdef __STDC__
38960 # include <limits.h>
38961 #else
38962 # include <assert.h>
38963 #endif
38964
38965 #undef $ac_func
38966
38967 /* Override any GCC internal prototype to avoid an error.
38968 Use char because int might match the return type of a GCC
38969 builtin and then its argument prototype would still apply. */
38970 #ifdef __cplusplus
38971 extern "C"
38972 #endif
38973 char $ac_func ();
38974 /* The GNU C library defines this for functions which it implements
38975 to always fail with ENOSYS. Some functions are actually named
38976 something starting with __ and the normal name is an alias. */
38977 #if defined __stub_$ac_func || defined __stub___$ac_func
38978 choke me
38979 #endif
38980
38981 int
38982 main ()
38983 {
38984 return $ac_func ();
38985 ;
38986 return 0;
38987 }
38988 _ACEOF
38989 rm -f conftest.$ac_objext conftest$ac_exeext
38990 if { (ac_try="$ac_link"
38991 case "(($ac_try" in
38992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38993 *) ac_try_echo=$ac_try;;
38994 esac
38995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38996 (eval "$ac_link") 2>conftest.er1
38997 ac_status=$?
38998 grep -v '^ *+' conftest.er1 >conftest.err
38999 rm -f conftest.er1
39000 cat conftest.err >&5
39001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39002 (exit $ac_status); } && {
39003 test -z "$ac_c_werror_flag" ||
39004 test ! -s conftest.err
39005 } && test -s conftest$ac_exeext &&
39006 $as_test_x conftest$ac_exeext; then
39007 eval "$as_ac_var=yes"
39008 else
39009 echo "$as_me: failed program was:" >&5
39010 sed 's/^/| /' conftest.$ac_ext >&5
39011
39012 eval "$as_ac_var=no"
39013 fi
39014
39015 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39016 conftest$ac_exeext conftest.$ac_ext
39017 fi
39018 ac_res=`eval echo '${'$as_ac_var'}'`
39019 { echo "$as_me:$LINENO: result: $ac_res" >&5
39020 echo "${ECHO_T}$ac_res" >&6; }
39021 if test `eval echo '${'$as_ac_var'}'` = yes; then
39022 cat >>confdefs.h <<_ACEOF
39023 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39024 _ACEOF
39025
39026 fi
39027 done
39028
39029
39030 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
39031 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
39032 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
39033 echo $ECHO_N "(cached) $ECHO_C" >&6
39034 else
39035
39036 ac_ext=cpp
39037 ac_cpp='$CXXCPP $CPPFLAGS'
39038 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39039 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39040 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39041
39042 cat >conftest.$ac_ext <<_ACEOF
39043 /* confdefs.h. */
39044 _ACEOF
39045 cat confdefs.h >>conftest.$ac_ext
39046 cat >>conftest.$ac_ext <<_ACEOF
39047 /* end confdefs.h. */
39048 #include <pthread.h>
39049 void ThreadCleanupFunc(void *p);
39050
39051 int
39052 main ()
39053 {
39054
39055 void *p;
39056 pthread_cleanup_push(ThreadCleanupFunc, p);
39057 pthread_cleanup_pop(0);
39058
39059 ;
39060 return 0;
39061 }
39062 _ACEOF
39063 rm -f conftest.$ac_objext
39064 if { (ac_try="$ac_compile"
39065 case "(($ac_try" in
39066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39067 *) ac_try_echo=$ac_try;;
39068 esac
39069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39070 (eval "$ac_compile") 2>conftest.er1
39071 ac_status=$?
39072 grep -v '^ *+' conftest.er1 >conftest.err
39073 rm -f conftest.er1
39074 cat conftest.err >&5
39075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39076 (exit $ac_status); } && {
39077 test -z "$ac_cxx_werror_flag" ||
39078 test ! -s conftest.err
39079 } && test -s conftest.$ac_objext; then
39080
39081 wx_cv_func_pthread_cleanup=yes
39082
39083 else
39084 echo "$as_me: failed program was:" >&5
39085 sed 's/^/| /' conftest.$ac_ext >&5
39086
39087
39088 wx_cv_func_pthread_cleanup=no
39089
39090
39091 fi
39092
39093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39094 ac_ext=c
39095 ac_cpp='$CPP $CPPFLAGS'
39096 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39097 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39098 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39099
39100
39101 fi
39102 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
39103 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
39104 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
39105 cat >>confdefs.h <<\_ACEOF
39106 #define wxHAVE_PTHREAD_CLEANUP 1
39107 _ACEOF
39108
39109 fi
39110
39111
39112 for ac_header in sched.h
39113 do
39114 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
39115 { echo "$as_me:$LINENO: checking for $ac_header" >&5
39116 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
39117 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
39118 echo $ECHO_N "(cached) $ECHO_C" >&6
39119 else
39120 cat >conftest.$ac_ext <<_ACEOF
39121 /* confdefs.h. */
39122 _ACEOF
39123 cat confdefs.h >>conftest.$ac_ext
39124 cat >>conftest.$ac_ext <<_ACEOF
39125 /* end confdefs.h. */
39126 $ac_includes_default
39127
39128 #include <$ac_header>
39129 _ACEOF
39130 rm -f conftest.$ac_objext
39131 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
39147 eval "$as_ac_Header=yes"
39148 else
39149 echo "$as_me: failed program was:" >&5
39150 sed 's/^/| /' conftest.$ac_ext >&5
39151
39152 eval "$as_ac_Header=no"
39153 fi
39154
39155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39156 fi
39157 ac_res=`eval echo '${'$as_ac_Header'}'`
39158 { echo "$as_me:$LINENO: result: $ac_res" >&5
39159 echo "${ECHO_T}$ac_res" >&6; }
39160 if test `eval echo '${'$as_ac_Header'}'` = yes; then
39161 cat >>confdefs.h <<_ACEOF
39162 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
39163 _ACEOF
39164
39165 fi
39166
39167 done
39168
39169 if test "$ac_cv_header_sched_h" = "yes"; then
39170 { echo "$as_me:$LINENO: checking for sched_yield" >&5
39171 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
39172 if test "${ac_cv_func_sched_yield+set}" = set; then
39173 echo $ECHO_N "(cached) $ECHO_C" >&6
39174 else
39175 cat >conftest.$ac_ext <<_ACEOF
39176 /* confdefs.h. */
39177 _ACEOF
39178 cat confdefs.h >>conftest.$ac_ext
39179 cat >>conftest.$ac_ext <<_ACEOF
39180 /* end confdefs.h. */
39181 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
39182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39183 #define sched_yield innocuous_sched_yield
39184
39185 /* System header to define __stub macros and hopefully few prototypes,
39186 which can conflict with char sched_yield (); below.
39187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39188 <limits.h> exists even on freestanding compilers. */
39189
39190 #ifdef __STDC__
39191 # include <limits.h>
39192 #else
39193 # include <assert.h>
39194 #endif
39195
39196 #undef sched_yield
39197
39198 /* Override any GCC internal prototype to avoid an error.
39199 Use char because int might match the return type of a GCC
39200 builtin and then its argument prototype would still apply. */
39201 #ifdef __cplusplus
39202 extern "C"
39203 #endif
39204 char sched_yield ();
39205 /* The GNU C library defines this for functions which it implements
39206 to always fail with ENOSYS. Some functions are actually named
39207 something starting with __ and the normal name is an alias. */
39208 #if defined __stub_sched_yield || defined __stub___sched_yield
39209 choke me
39210 #endif
39211
39212 int
39213 main ()
39214 {
39215 return sched_yield ();
39216 ;
39217 return 0;
39218 }
39219 _ACEOF
39220 rm -f conftest.$ac_objext conftest$ac_exeext
39221 if { (ac_try="$ac_link"
39222 case "(($ac_try" in
39223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39224 *) ac_try_echo=$ac_try;;
39225 esac
39226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39227 (eval "$ac_link") 2>conftest.er1
39228 ac_status=$?
39229 grep -v '^ *+' conftest.er1 >conftest.err
39230 rm -f conftest.er1
39231 cat conftest.err >&5
39232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39233 (exit $ac_status); } && {
39234 test -z "$ac_c_werror_flag" ||
39235 test ! -s conftest.err
39236 } && test -s conftest$ac_exeext &&
39237 $as_test_x conftest$ac_exeext; then
39238 ac_cv_func_sched_yield=yes
39239 else
39240 echo "$as_me: failed program was:" >&5
39241 sed 's/^/| /' conftest.$ac_ext >&5
39242
39243 ac_cv_func_sched_yield=no
39244 fi
39245
39246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39247 conftest$ac_exeext conftest.$ac_ext
39248 fi
39249 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
39250 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
39251 if test $ac_cv_func_sched_yield = yes; then
39252 cat >>confdefs.h <<\_ACEOF
39253 #define HAVE_SCHED_YIELD 1
39254 _ACEOF
39255
39256 else
39257
39258 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
39259 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
39260 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
39261 echo $ECHO_N "(cached) $ECHO_C" >&6
39262 else
39263 ac_check_lib_save_LIBS=$LIBS
39264 LIBS="-lposix4 $LIBS"
39265 cat >conftest.$ac_ext <<_ACEOF
39266 /* confdefs.h. */
39267 _ACEOF
39268 cat confdefs.h >>conftest.$ac_ext
39269 cat >>conftest.$ac_ext <<_ACEOF
39270 /* end confdefs.h. */
39271
39272 /* Override any GCC internal prototype to avoid an error.
39273 Use char because int might match the return type of a GCC
39274 builtin and then its argument prototype would still apply. */
39275 #ifdef __cplusplus
39276 extern "C"
39277 #endif
39278 char sched_yield ();
39279 int
39280 main ()
39281 {
39282 return sched_yield ();
39283 ;
39284 return 0;
39285 }
39286 _ACEOF
39287 rm -f conftest.$ac_objext conftest$ac_exeext
39288 if { (ac_try="$ac_link"
39289 case "(($ac_try" in
39290 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39291 *) ac_try_echo=$ac_try;;
39292 esac
39293 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39294 (eval "$ac_link") 2>conftest.er1
39295 ac_status=$?
39296 grep -v '^ *+' conftest.er1 >conftest.err
39297 rm -f conftest.er1
39298 cat conftest.err >&5
39299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39300 (exit $ac_status); } && {
39301 test -z "$ac_c_werror_flag" ||
39302 test ! -s conftest.err
39303 } && test -s conftest$ac_exeext &&
39304 $as_test_x conftest$ac_exeext; then
39305 ac_cv_lib_posix4_sched_yield=yes
39306 else
39307 echo "$as_me: failed program was:" >&5
39308 sed 's/^/| /' conftest.$ac_ext >&5
39309
39310 ac_cv_lib_posix4_sched_yield=no
39311 fi
39312
39313 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39314 conftest$ac_exeext conftest.$ac_ext
39315 LIBS=$ac_check_lib_save_LIBS
39316 fi
39317 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
39318 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
39319 if test $ac_cv_lib_posix4_sched_yield = yes; then
39320 cat >>confdefs.h <<\_ACEOF
39321 #define HAVE_SCHED_YIELD 1
39322 _ACEOF
39323 POSIX4_LINK=" -lposix4"
39324 else
39325 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
39326 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
39327
39328 fi
39329
39330
39331
39332 fi
39333
39334 fi
39335
39336 HAVE_PRIOR_FUNCS=0
39337 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
39338 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
39339 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
39340 echo $ECHO_N "(cached) $ECHO_C" >&6
39341 else
39342 cat >conftest.$ac_ext <<_ACEOF
39343 /* confdefs.h. */
39344 _ACEOF
39345 cat confdefs.h >>conftest.$ac_ext
39346 cat >>conftest.$ac_ext <<_ACEOF
39347 /* end confdefs.h. */
39348 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
39349 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39350 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
39351
39352 /* System header to define __stub macros and hopefully few prototypes,
39353 which can conflict with char pthread_attr_getschedpolicy (); below.
39354 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39355 <limits.h> exists even on freestanding compilers. */
39356
39357 #ifdef __STDC__
39358 # include <limits.h>
39359 #else
39360 # include <assert.h>
39361 #endif
39362
39363 #undef pthread_attr_getschedpolicy
39364
39365 /* Override any GCC internal prototype to avoid an error.
39366 Use char because int might match the return type of a GCC
39367 builtin and then its argument prototype would still apply. */
39368 #ifdef __cplusplus
39369 extern "C"
39370 #endif
39371 char pthread_attr_getschedpolicy ();
39372 /* The GNU C library defines this for functions which it implements
39373 to always fail with ENOSYS. Some functions are actually named
39374 something starting with __ and the normal name is an alias. */
39375 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
39376 choke me
39377 #endif
39378
39379 int
39380 main ()
39381 {
39382 return pthread_attr_getschedpolicy ();
39383 ;
39384 return 0;
39385 }
39386 _ACEOF
39387 rm -f conftest.$ac_objext conftest$ac_exeext
39388 if { (ac_try="$ac_link"
39389 case "(($ac_try" in
39390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39391 *) ac_try_echo=$ac_try;;
39392 esac
39393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39394 (eval "$ac_link") 2>conftest.er1
39395 ac_status=$?
39396 grep -v '^ *+' conftest.er1 >conftest.err
39397 rm -f conftest.er1
39398 cat conftest.err >&5
39399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39400 (exit $ac_status); } && {
39401 test -z "$ac_c_werror_flag" ||
39402 test ! -s conftest.err
39403 } && test -s conftest$ac_exeext &&
39404 $as_test_x conftest$ac_exeext; then
39405 ac_cv_func_pthread_attr_getschedpolicy=yes
39406 else
39407 echo "$as_me: failed program was:" >&5
39408 sed 's/^/| /' conftest.$ac_ext >&5
39409
39410 ac_cv_func_pthread_attr_getschedpolicy=no
39411 fi
39412
39413 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39414 conftest$ac_exeext conftest.$ac_ext
39415 fi
39416 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39417 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39418 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39419 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39420 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39421 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39422 echo $ECHO_N "(cached) $ECHO_C" >&6
39423 else
39424 cat >conftest.$ac_ext <<_ACEOF
39425 /* confdefs.h. */
39426 _ACEOF
39427 cat confdefs.h >>conftest.$ac_ext
39428 cat >>conftest.$ac_ext <<_ACEOF
39429 /* end confdefs.h. */
39430 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39432 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39433
39434 /* System header to define __stub macros and hopefully few prototypes,
39435 which can conflict with char pthread_attr_setschedparam (); below.
39436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39437 <limits.h> exists even on freestanding compilers. */
39438
39439 #ifdef __STDC__
39440 # include <limits.h>
39441 #else
39442 # include <assert.h>
39443 #endif
39444
39445 #undef pthread_attr_setschedparam
39446
39447 /* Override any GCC internal prototype to avoid an error.
39448 Use char because int might match the return type of a GCC
39449 builtin and then its argument prototype would still apply. */
39450 #ifdef __cplusplus
39451 extern "C"
39452 #endif
39453 char pthread_attr_setschedparam ();
39454 /* The GNU C library defines this for functions which it implements
39455 to always fail with ENOSYS. Some functions are actually named
39456 something starting with __ and the normal name is an alias. */
39457 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39458 choke me
39459 #endif
39460
39461 int
39462 main ()
39463 {
39464 return pthread_attr_setschedparam ();
39465 ;
39466 return 0;
39467 }
39468 _ACEOF
39469 rm -f conftest.$ac_objext conftest$ac_exeext
39470 if { (ac_try="$ac_link"
39471 case "(($ac_try" in
39472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39473 *) ac_try_echo=$ac_try;;
39474 esac
39475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39476 (eval "$ac_link") 2>conftest.er1
39477 ac_status=$?
39478 grep -v '^ *+' conftest.er1 >conftest.err
39479 rm -f conftest.er1
39480 cat conftest.err >&5
39481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39482 (exit $ac_status); } && {
39483 test -z "$ac_c_werror_flag" ||
39484 test ! -s conftest.err
39485 } && test -s conftest$ac_exeext &&
39486 $as_test_x conftest$ac_exeext; then
39487 ac_cv_func_pthread_attr_setschedparam=yes
39488 else
39489 echo "$as_me: failed program was:" >&5
39490 sed 's/^/| /' conftest.$ac_ext >&5
39491
39492 ac_cv_func_pthread_attr_setschedparam=no
39493 fi
39494
39495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39496 conftest$ac_exeext conftest.$ac_ext
39497 fi
39498 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39499 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39500 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39501 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39502 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39503 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39504 echo $ECHO_N "(cached) $ECHO_C" >&6
39505 else
39506 cat >conftest.$ac_ext <<_ACEOF
39507 /* confdefs.h. */
39508 _ACEOF
39509 cat confdefs.h >>conftest.$ac_ext
39510 cat >>conftest.$ac_ext <<_ACEOF
39511 /* end confdefs.h. */
39512 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39513 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39514 #define sched_get_priority_max innocuous_sched_get_priority_max
39515
39516 /* System header to define __stub macros and hopefully few prototypes,
39517 which can conflict with char sched_get_priority_max (); below.
39518 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39519 <limits.h> exists even on freestanding compilers. */
39520
39521 #ifdef __STDC__
39522 # include <limits.h>
39523 #else
39524 # include <assert.h>
39525 #endif
39526
39527 #undef sched_get_priority_max
39528
39529 /* Override any GCC internal prototype to avoid an error.
39530 Use char because int might match the return type of a GCC
39531 builtin and then its argument prototype would still apply. */
39532 #ifdef __cplusplus
39533 extern "C"
39534 #endif
39535 char sched_get_priority_max ();
39536 /* The GNU C library defines this for functions which it implements
39537 to always fail with ENOSYS. Some functions are actually named
39538 something starting with __ and the normal name is an alias. */
39539 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39540 choke me
39541 #endif
39542
39543 int
39544 main ()
39545 {
39546 return sched_get_priority_max ();
39547 ;
39548 return 0;
39549 }
39550 _ACEOF
39551 rm -f conftest.$ac_objext conftest$ac_exeext
39552 if { (ac_try="$ac_link"
39553 case "(($ac_try" in
39554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39555 *) ac_try_echo=$ac_try;;
39556 esac
39557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39558 (eval "$ac_link") 2>conftest.er1
39559 ac_status=$?
39560 grep -v '^ *+' conftest.er1 >conftest.err
39561 rm -f conftest.er1
39562 cat conftest.err >&5
39563 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39564 (exit $ac_status); } && {
39565 test -z "$ac_c_werror_flag" ||
39566 test ! -s conftest.err
39567 } && test -s conftest$ac_exeext &&
39568 $as_test_x conftest$ac_exeext; then
39569 ac_cv_func_sched_get_priority_max=yes
39570 else
39571 echo "$as_me: failed program was:" >&5
39572 sed 's/^/| /' conftest.$ac_ext >&5
39573
39574 ac_cv_func_sched_get_priority_max=no
39575 fi
39576
39577 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39578 conftest$ac_exeext conftest.$ac_ext
39579 fi
39580 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39581 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39582 if test $ac_cv_func_sched_get_priority_max = yes; then
39583 HAVE_PRIOR_FUNCS=1
39584 else
39585 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39586 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39587 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39588 echo $ECHO_N "(cached) $ECHO_C" >&6
39589 else
39590 ac_check_lib_save_LIBS=$LIBS
39591 LIBS="-lposix4 $LIBS"
39592 cat >conftest.$ac_ext <<_ACEOF
39593 /* confdefs.h. */
39594 _ACEOF
39595 cat confdefs.h >>conftest.$ac_ext
39596 cat >>conftest.$ac_ext <<_ACEOF
39597 /* end confdefs.h. */
39598
39599 /* Override any GCC internal prototype to avoid an error.
39600 Use char because int might match the return type of a GCC
39601 builtin and then its argument prototype would still apply. */
39602 #ifdef __cplusplus
39603 extern "C"
39604 #endif
39605 char sched_get_priority_max ();
39606 int
39607 main ()
39608 {
39609 return sched_get_priority_max ();
39610 ;
39611 return 0;
39612 }
39613 _ACEOF
39614 rm -f conftest.$ac_objext conftest$ac_exeext
39615 if { (ac_try="$ac_link"
39616 case "(($ac_try" in
39617 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39618 *) ac_try_echo=$ac_try;;
39619 esac
39620 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39621 (eval "$ac_link") 2>conftest.er1
39622 ac_status=$?
39623 grep -v '^ *+' conftest.er1 >conftest.err
39624 rm -f conftest.er1
39625 cat conftest.err >&5
39626 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39627 (exit $ac_status); } && {
39628 test -z "$ac_c_werror_flag" ||
39629 test ! -s conftest.err
39630 } && test -s conftest$ac_exeext &&
39631 $as_test_x conftest$ac_exeext; then
39632 ac_cv_lib_posix4_sched_get_priority_max=yes
39633 else
39634 echo "$as_me: failed program was:" >&5
39635 sed 's/^/| /' conftest.$ac_ext >&5
39636
39637 ac_cv_lib_posix4_sched_get_priority_max=no
39638 fi
39639
39640 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39641 conftest$ac_exeext conftest.$ac_ext
39642 LIBS=$ac_check_lib_save_LIBS
39643 fi
39644 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39645 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39646 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39647
39648 HAVE_PRIOR_FUNCS=1
39649 POSIX4_LINK=" -lposix4"
39650
39651 fi
39652
39653
39654 fi
39655
39656
39657 fi
39658
39659
39660 fi
39661
39662
39663 if test "$HAVE_PRIOR_FUNCS" = 1; then
39664 cat >>confdefs.h <<\_ACEOF
39665 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39666 _ACEOF
39667
39668 else
39669 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39670 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39671 fi
39672
39673 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39674 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39675 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39676 echo $ECHO_N "(cached) $ECHO_C" >&6
39677 else
39678 cat >conftest.$ac_ext <<_ACEOF
39679 /* confdefs.h. */
39680 _ACEOF
39681 cat confdefs.h >>conftest.$ac_ext
39682 cat >>conftest.$ac_ext <<_ACEOF
39683 /* end confdefs.h. */
39684 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39685 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39686 #define pthread_cancel innocuous_pthread_cancel
39687
39688 /* System header to define __stub macros and hopefully few prototypes,
39689 which can conflict with char pthread_cancel (); below.
39690 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39691 <limits.h> exists even on freestanding compilers. */
39692
39693 #ifdef __STDC__
39694 # include <limits.h>
39695 #else
39696 # include <assert.h>
39697 #endif
39698
39699 #undef pthread_cancel
39700
39701 /* Override any GCC internal prototype to avoid an error.
39702 Use char because int might match the return type of a GCC
39703 builtin and then its argument prototype would still apply. */
39704 #ifdef __cplusplus
39705 extern "C"
39706 #endif
39707 char pthread_cancel ();
39708 /* The GNU C library defines this for functions which it implements
39709 to always fail with ENOSYS. Some functions are actually named
39710 something starting with __ and the normal name is an alias. */
39711 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39712 choke me
39713 #endif
39714
39715 int
39716 main ()
39717 {
39718 return pthread_cancel ();
39719 ;
39720 return 0;
39721 }
39722 _ACEOF
39723 rm -f conftest.$ac_objext conftest$ac_exeext
39724 if { (ac_try="$ac_link"
39725 case "(($ac_try" in
39726 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39727 *) ac_try_echo=$ac_try;;
39728 esac
39729 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39730 (eval "$ac_link") 2>conftest.er1
39731 ac_status=$?
39732 grep -v '^ *+' conftest.er1 >conftest.err
39733 rm -f conftest.er1
39734 cat conftest.err >&5
39735 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39736 (exit $ac_status); } && {
39737 test -z "$ac_c_werror_flag" ||
39738 test ! -s conftest.err
39739 } && test -s conftest$ac_exeext &&
39740 $as_test_x conftest$ac_exeext; then
39741 ac_cv_func_pthread_cancel=yes
39742 else
39743 echo "$as_me: failed program was:" >&5
39744 sed 's/^/| /' conftest.$ac_ext >&5
39745
39746 ac_cv_func_pthread_cancel=no
39747 fi
39748
39749 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39750 conftest$ac_exeext conftest.$ac_ext
39751 fi
39752 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39753 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39754 if test $ac_cv_func_pthread_cancel = yes; then
39755 cat >>confdefs.h <<\_ACEOF
39756 #define HAVE_PTHREAD_CANCEL 1
39757 _ACEOF
39758
39759 else
39760 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39761 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39762 fi
39763
39764
39765 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39766 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39767 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39768 echo $ECHO_N "(cached) $ECHO_C" >&6
39769 else
39770 cat >conftest.$ac_ext <<_ACEOF
39771 /* confdefs.h. */
39772 _ACEOF
39773 cat confdefs.h >>conftest.$ac_ext
39774 cat >>conftest.$ac_ext <<_ACEOF
39775 /* end confdefs.h. */
39776 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39777 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39778 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39779
39780 /* System header to define __stub macros and hopefully few prototypes,
39781 which can conflict with char pthread_mutex_timedlock (); below.
39782 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39783 <limits.h> exists even on freestanding compilers. */
39784
39785 #ifdef __STDC__
39786 # include <limits.h>
39787 #else
39788 # include <assert.h>
39789 #endif
39790
39791 #undef pthread_mutex_timedlock
39792
39793 /* Override any GCC internal prototype to avoid an error.
39794 Use char because int might match the return type of a GCC
39795 builtin and then its argument prototype would still apply. */
39796 #ifdef __cplusplus
39797 extern "C"
39798 #endif
39799 char pthread_mutex_timedlock ();
39800 /* The GNU C library defines this for functions which it implements
39801 to always fail with ENOSYS. Some functions are actually named
39802 something starting with __ and the normal name is an alias. */
39803 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39804 choke me
39805 #endif
39806
39807 int
39808 main ()
39809 {
39810 return pthread_mutex_timedlock ();
39811 ;
39812 return 0;
39813 }
39814 _ACEOF
39815 rm -f conftest.$ac_objext conftest$ac_exeext
39816 if { (ac_try="$ac_link"
39817 case "(($ac_try" in
39818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39819 *) ac_try_echo=$ac_try;;
39820 esac
39821 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39822 (eval "$ac_link") 2>conftest.er1
39823 ac_status=$?
39824 grep -v '^ *+' conftest.er1 >conftest.err
39825 rm -f conftest.er1
39826 cat conftest.err >&5
39827 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39828 (exit $ac_status); } && {
39829 test -z "$ac_c_werror_flag" ||
39830 test ! -s conftest.err
39831 } && test -s conftest$ac_exeext &&
39832 $as_test_x conftest$ac_exeext; then
39833 ac_cv_func_pthread_mutex_timedlock=yes
39834 else
39835 echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.$ac_ext >&5
39837
39838 ac_cv_func_pthread_mutex_timedlock=no
39839 fi
39840
39841 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39842 conftest$ac_exeext conftest.$ac_ext
39843 fi
39844 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39845 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39846 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39847 cat >>confdefs.h <<\_ACEOF
39848 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39849 _ACEOF
39850
39851 else
39852 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39853 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39854 fi
39855
39856
39857 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39858 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39859 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39860 echo $ECHO_N "(cached) $ECHO_C" >&6
39861 else
39862 cat >conftest.$ac_ext <<_ACEOF
39863 /* confdefs.h. */
39864 _ACEOF
39865 cat confdefs.h >>conftest.$ac_ext
39866 cat >>conftest.$ac_ext <<_ACEOF
39867 /* end confdefs.h. */
39868 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39869 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39870 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39871
39872 /* System header to define __stub macros and hopefully few prototypes,
39873 which can conflict with char pthread_attr_setstacksize (); below.
39874 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39875 <limits.h> exists even on freestanding compilers. */
39876
39877 #ifdef __STDC__
39878 # include <limits.h>
39879 #else
39880 # include <assert.h>
39881 #endif
39882
39883 #undef pthread_attr_setstacksize
39884
39885 /* Override any GCC internal prototype to avoid an error.
39886 Use char because int might match the return type of a GCC
39887 builtin and then its argument prototype would still apply. */
39888 #ifdef __cplusplus
39889 extern "C"
39890 #endif
39891 char pthread_attr_setstacksize ();
39892 /* The GNU C library defines this for functions which it implements
39893 to always fail with ENOSYS. Some functions are actually named
39894 something starting with __ and the normal name is an alias. */
39895 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39896 choke me
39897 #endif
39898
39899 int
39900 main ()
39901 {
39902 return pthread_attr_setstacksize ();
39903 ;
39904 return 0;
39905 }
39906 _ACEOF
39907 rm -f conftest.$ac_objext conftest$ac_exeext
39908 if { (ac_try="$ac_link"
39909 case "(($ac_try" in
39910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39911 *) ac_try_echo=$ac_try;;
39912 esac
39913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39914 (eval "$ac_link") 2>conftest.er1
39915 ac_status=$?
39916 grep -v '^ *+' conftest.er1 >conftest.err
39917 rm -f conftest.er1
39918 cat conftest.err >&5
39919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39920 (exit $ac_status); } && {
39921 test -z "$ac_c_werror_flag" ||
39922 test ! -s conftest.err
39923 } && test -s conftest$ac_exeext &&
39924 $as_test_x conftest$ac_exeext; then
39925 ac_cv_func_pthread_attr_setstacksize=yes
39926 else
39927 echo "$as_me: failed program was:" >&5
39928 sed 's/^/| /' conftest.$ac_ext >&5
39929
39930 ac_cv_func_pthread_attr_setstacksize=no
39931 fi
39932
39933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39934 conftest$ac_exeext conftest.$ac_ext
39935 fi
39936 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39937 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39938 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39939 cat >>confdefs.h <<\_ACEOF
39940 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39941 _ACEOF
39942
39943 fi
39944
39945
39946
39947 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39948 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39949 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39950 echo $ECHO_N "(cached) $ECHO_C" >&6
39951 else
39952
39953 cat >conftest.$ac_ext <<_ACEOF
39954 /* confdefs.h. */
39955 _ACEOF
39956 cat confdefs.h >>conftest.$ac_ext
39957 cat >>conftest.$ac_ext <<_ACEOF
39958 /* end confdefs.h. */
39959 #include <pthread.h>
39960 int
39961 main ()
39962 {
39963
39964 pthread_mutexattr_t attr;
39965 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39966
39967 ;
39968 return 0;
39969 }
39970 _ACEOF
39971 rm -f conftest.$ac_objext
39972 if { (ac_try="$ac_compile"
39973 case "(($ac_try" in
39974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39975 *) ac_try_echo=$ac_try;;
39976 esac
39977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39978 (eval "$ac_compile") 2>conftest.er1
39979 ac_status=$?
39980 grep -v '^ *+' conftest.er1 >conftest.err
39981 rm -f conftest.er1
39982 cat conftest.err >&5
39983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39984 (exit $ac_status); } && {
39985 test -z "$ac_c_werror_flag" ||
39986 test ! -s conftest.err
39987 } && test -s conftest.$ac_objext; then
39988 wx_cv_type_pthread_mutexattr_t=yes
39989 else
39990 echo "$as_me: failed program was:" >&5
39991 sed 's/^/| /' conftest.$ac_ext >&5
39992
39993 wx_cv_type_pthread_mutexattr_t=no
39994
39995 fi
39996
39997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39998
39999 fi
40000 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
40001 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
40002
40003 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
40004 cat >>confdefs.h <<\_ACEOF
40005 #define HAVE_PTHREAD_MUTEXATTR_T 1
40006 _ACEOF
40007
40008
40009 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
40010 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
40011 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
40012 echo $ECHO_N "(cached) $ECHO_C" >&6
40013 else
40014
40015 cat >conftest.$ac_ext <<_ACEOF
40016 /* confdefs.h. */
40017 _ACEOF
40018 cat confdefs.h >>conftest.$ac_ext
40019 cat >>conftest.$ac_ext <<_ACEOF
40020 /* end confdefs.h. */
40021 #include <pthread.h>
40022 int
40023 main ()
40024 {
40025
40026 pthread_mutexattr_t attr;
40027 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
40028
40029 ;
40030 return 0;
40031 }
40032 _ACEOF
40033 rm -f conftest.$ac_objext
40034 if { (ac_try="$ac_compile"
40035 case "(($ac_try" in
40036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40037 *) ac_try_echo=$ac_try;;
40038 esac
40039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40040 (eval "$ac_compile") 2>conftest.er1
40041 ac_status=$?
40042 grep -v '^ *+' conftest.er1 >conftest.err
40043 rm -f conftest.er1
40044 cat conftest.err >&5
40045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40046 (exit $ac_status); } && {
40047 test -z "$ac_c_werror_flag" ||
40048 test ! -s conftest.err
40049 } && test -s conftest.$ac_objext; then
40050 wx_cv_func_pthread_mutexattr_settype_decl=yes
40051 else
40052 echo "$as_me: failed program was:" >&5
40053 sed 's/^/| /' conftest.$ac_ext >&5
40054
40055 wx_cv_func_pthread_mutexattr_settype_decl=no
40056
40057 fi
40058
40059 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40060
40061 fi
40062 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
40063 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
40064 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
40065 cat >>confdefs.h <<\_ACEOF
40066 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
40067 _ACEOF
40068
40069 fi
40070 else
40071 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
40072 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
40073 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
40074 echo $ECHO_N "(cached) $ECHO_C" >&6
40075 else
40076
40077 cat >conftest.$ac_ext <<_ACEOF
40078 /* confdefs.h. */
40079 _ACEOF
40080 cat confdefs.h >>conftest.$ac_ext
40081 cat >>conftest.$ac_ext <<_ACEOF
40082 /* end confdefs.h. */
40083 #include <pthread.h>
40084 int
40085 main ()
40086 {
40087
40088 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
40089
40090 ;
40091 return 0;
40092 }
40093 _ACEOF
40094 rm -f conftest.$ac_objext
40095 if { (ac_try="$ac_compile"
40096 case "(($ac_try" in
40097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40098 *) ac_try_echo=$ac_try;;
40099 esac
40100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40101 (eval "$ac_compile") 2>conftest.er1
40102 ac_status=$?
40103 grep -v '^ *+' conftest.er1 >conftest.err
40104 rm -f conftest.er1
40105 cat conftest.err >&5
40106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40107 (exit $ac_status); } && {
40108 test -z "$ac_c_werror_flag" ||
40109 test ! -s conftest.err
40110 } && test -s conftest.$ac_objext; then
40111
40112 wx_cv_type_pthread_rec_mutex_init=yes
40113
40114 else
40115 echo "$as_me: failed program was:" >&5
40116 sed 's/^/| /' conftest.$ac_ext >&5
40117
40118
40119 wx_cv_type_pthread_rec_mutex_init=no
40120
40121
40122 fi
40123
40124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40125
40126 fi
40127 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
40128 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
40129 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
40130 cat >>confdefs.h <<\_ACEOF
40131 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
40132 _ACEOF
40133
40134 else
40135 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
40136 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
40137 fi
40138 fi
40139
40140 { echo "$as_me:$LINENO: checking for __thread keyword" >&5
40141 echo $ECHO_N "checking for __thread keyword... $ECHO_C" >&6; }
40142 if test "${wx_cv_cc___thread+set}" = set; then
40143 echo $ECHO_N "(cached) $ECHO_C" >&6
40144 else
40145
40146 cat >conftest.$ac_ext <<_ACEOF
40147 /* confdefs.h. */
40148 _ACEOF
40149 cat confdefs.h >>conftest.$ac_ext
40150 cat >>conftest.$ac_ext <<_ACEOF
40151 /* end confdefs.h. */
40152 #include <pthread.h>
40153 int
40154 main ()
40155 {
40156
40157 static __thread int n = 0;
40158 static __thread int *p = 0;
40159
40160 ;
40161 return 0;
40162 }
40163 _ACEOF
40164 rm -f conftest.$ac_objext
40165 if { (ac_try="$ac_compile"
40166 case "(($ac_try" in
40167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40168 *) ac_try_echo=$ac_try;;
40169 esac
40170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40171 (eval "$ac_compile") 2>conftest.er1
40172 ac_status=$?
40173 grep -v '^ *+' conftest.er1 >conftest.err
40174 rm -f conftest.er1
40175 cat conftest.err >&5
40176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40177 (exit $ac_status); } && {
40178 test -z "$ac_c_werror_flag" ||
40179 test ! -s conftest.err
40180 } && test -s conftest.$ac_objext; then
40181 wx_cv_cc___thread=yes
40182 else
40183 echo "$as_me: failed program was:" >&5
40184 sed 's/^/| /' conftest.$ac_ext >&5
40185
40186 wx_cv_cc___thread=no
40187
40188 fi
40189
40190 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40191
40192 fi
40193 { echo "$as_me:$LINENO: result: $wx_cv_cc___thread" >&5
40194 echo "${ECHO_T}$wx_cv_cc___thread" >&6; }
40195
40196 if test "$wx_cv_cc___thread" = "yes"; then
40197 cat >>confdefs.h <<\_ACEOF
40198 #define HAVE___THREAD_KEYWORD 1
40199 _ACEOF
40200
40201 fi
40202 fi
40203
40204 else
40205 if test "$wxUSE_THREADS" = "yes" ; then
40206 case "${host}" in
40207 x86_64-*-mingw32* )
40208 ;;
40209 *-*-mingw32* )
40210 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
40211 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
40212 if test "${wx_cv_cflags_mthread+set}" = set; then
40213 echo $ECHO_N "(cached) $ECHO_C" >&6
40214 else
40215
40216 CFLAGS_OLD="$CFLAGS"
40217 CFLAGS="-mthreads $CFLAGS"
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
40225 int
40226 main ()
40227 {
40228
40229 ;
40230 return 0;
40231 }
40232 _ACEOF
40233 rm -f conftest.$ac_objext
40234 if { (ac_try="$ac_compile"
40235 case "(($ac_try" in
40236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40237 *) ac_try_echo=$ac_try;;
40238 esac
40239 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40240 (eval "$ac_compile") 2>conftest.er1
40241 ac_status=$?
40242 grep -v '^ *+' conftest.er1 >conftest.err
40243 rm -f conftest.er1
40244 cat conftest.err >&5
40245 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40246 (exit $ac_status); } && {
40247 test -z "$ac_c_werror_flag" ||
40248 test ! -s conftest.err
40249 } && test -s conftest.$ac_objext; then
40250 wx_cv_cflags_mthread=yes
40251 else
40252 echo "$as_me: failed program was:" >&5
40253 sed 's/^/| /' conftest.$ac_ext >&5
40254
40255 wx_cv_cflags_mthread=no
40256
40257 fi
40258
40259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40260
40261
40262 fi
40263 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
40264 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
40265
40266 if test "$wx_cv_cflags_mthread" = "yes"; then
40267 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
40268 LDFLAGS="$LDFLAGS -mthreads"
40269 else
40270 CFLAGS="$CFLAGS_OLD"
40271 fi
40272 ;;
40273 *-pc-os2*emx )
40274 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
40275 LDFLAGS="$LDFLAGS -Zmt"
40276 ;;
40277 esac
40278 fi
40279 fi
40280
40281 { echo "$as_me:$LINENO: checking for localtime_r" >&5
40282 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
40283 if test "${ac_cv_func_localtime_r+set}" = set; then
40284 echo $ECHO_N "(cached) $ECHO_C" >&6
40285 else
40286 cat >conftest.$ac_ext <<_ACEOF
40287 /* confdefs.h. */
40288 _ACEOF
40289 cat confdefs.h >>conftest.$ac_ext
40290 cat >>conftest.$ac_ext <<_ACEOF
40291 /* end confdefs.h. */
40292 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
40293 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40294 #define localtime_r innocuous_localtime_r
40295
40296 /* System header to define __stub macros and hopefully few prototypes,
40297 which can conflict with char localtime_r (); below.
40298 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40299 <limits.h> exists even on freestanding compilers. */
40300
40301 #ifdef __STDC__
40302 # include <limits.h>
40303 #else
40304 # include <assert.h>
40305 #endif
40306
40307 #undef localtime_r
40308
40309 /* Override any GCC internal prototype to avoid an error.
40310 Use char because int might match the return type of a GCC
40311 builtin and then its argument prototype would still apply. */
40312 #ifdef __cplusplus
40313 extern "C"
40314 #endif
40315 char localtime_r ();
40316 /* The GNU C library defines this for functions which it implements
40317 to always fail with ENOSYS. Some functions are actually named
40318 something starting with __ and the normal name is an alias. */
40319 #if defined __stub_localtime_r || defined __stub___localtime_r
40320 choke me
40321 #endif
40322
40323 int
40324 main ()
40325 {
40326 return localtime_r ();
40327 ;
40328 return 0;
40329 }
40330 _ACEOF
40331 rm -f conftest.$ac_objext conftest$ac_exeext
40332 if { (ac_try="$ac_link"
40333 case "(($ac_try" in
40334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40335 *) ac_try_echo=$ac_try;;
40336 esac
40337 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40338 (eval "$ac_link") 2>conftest.er1
40339 ac_status=$?
40340 grep -v '^ *+' conftest.er1 >conftest.err
40341 rm -f conftest.er1
40342 cat conftest.err >&5
40343 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40344 (exit $ac_status); } && {
40345 test -z "$ac_c_werror_flag" ||
40346 test ! -s conftest.err
40347 } && test -s conftest$ac_exeext &&
40348 $as_test_x conftest$ac_exeext; then
40349 ac_cv_func_localtime_r=yes
40350 else
40351 echo "$as_me: failed program was:" >&5
40352 sed 's/^/| /' conftest.$ac_ext >&5
40353
40354 ac_cv_func_localtime_r=no
40355 fi
40356
40357 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40358 conftest$ac_exeext conftest.$ac_ext
40359 fi
40360 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
40361 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
40362 if test $ac_cv_func_localtime_r = yes; then
40363 cat >>confdefs.h <<\_ACEOF
40364 #define HAVE_LOCALTIME_R 1
40365 _ACEOF
40366
40367 fi
40368
40369 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
40370 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
40371 if test "${ac_cv_func_gmtime_r+set}" = set; then
40372 echo $ECHO_N "(cached) $ECHO_C" >&6
40373 else
40374 cat >conftest.$ac_ext <<_ACEOF
40375 /* confdefs.h. */
40376 _ACEOF
40377 cat confdefs.h >>conftest.$ac_ext
40378 cat >>conftest.$ac_ext <<_ACEOF
40379 /* end confdefs.h. */
40380 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
40381 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40382 #define gmtime_r innocuous_gmtime_r
40383
40384 /* System header to define __stub macros and hopefully few prototypes,
40385 which can conflict with char gmtime_r (); below.
40386 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40387 <limits.h> exists even on freestanding compilers. */
40388
40389 #ifdef __STDC__
40390 # include <limits.h>
40391 #else
40392 # include <assert.h>
40393 #endif
40394
40395 #undef gmtime_r
40396
40397 /* Override any GCC internal prototype to avoid an error.
40398 Use char because int might match the return type of a GCC
40399 builtin and then its argument prototype would still apply. */
40400 #ifdef __cplusplus
40401 extern "C"
40402 #endif
40403 char gmtime_r ();
40404 /* The GNU C library defines this for functions which it implements
40405 to always fail with ENOSYS. Some functions are actually named
40406 something starting with __ and the normal name is an alias. */
40407 #if defined __stub_gmtime_r || defined __stub___gmtime_r
40408 choke me
40409 #endif
40410
40411 int
40412 main ()
40413 {
40414 return gmtime_r ();
40415 ;
40416 return 0;
40417 }
40418 _ACEOF
40419 rm -f conftest.$ac_objext conftest$ac_exeext
40420 if { (ac_try="$ac_link"
40421 case "(($ac_try" in
40422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40423 *) ac_try_echo=$ac_try;;
40424 esac
40425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40426 (eval "$ac_link") 2>conftest.er1
40427 ac_status=$?
40428 grep -v '^ *+' conftest.er1 >conftest.err
40429 rm -f conftest.er1
40430 cat conftest.err >&5
40431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40432 (exit $ac_status); } && {
40433 test -z "$ac_c_werror_flag" ||
40434 test ! -s conftest.err
40435 } && test -s conftest$ac_exeext &&
40436 $as_test_x conftest$ac_exeext; then
40437 ac_cv_func_gmtime_r=yes
40438 else
40439 echo "$as_me: failed program was:" >&5
40440 sed 's/^/| /' conftest.$ac_ext >&5
40441
40442 ac_cv_func_gmtime_r=no
40443 fi
40444
40445 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40446 conftest$ac_exeext conftest.$ac_ext
40447 fi
40448 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40449 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40450 if test $ac_cv_func_gmtime_r = yes; then
40451 cat >>confdefs.h <<\_ACEOF
40452 #define HAVE_GMTIME_R 1
40453 _ACEOF
40454
40455 fi
40456
40457
40458
40459
40460 ac_ext=c
40461 ac_cpp='$CPP $CPPFLAGS'
40462 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40463 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40464 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40465
40466 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40467 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40468
40469 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40470 echo $ECHO_N "(cached) $ECHO_C" >&6
40471 else
40472
40473
40474 ################################################################
40475
40476 ac_cv_func_which_gethostbyname_r=unknown
40477
40478 #
40479 # ONE ARGUMENT (sanity check)
40480 #
40481
40482 # This should fail, as there is no variant of gethostbyname_r() that takes
40483 # a single argument. If it actually compiles, then we can assume that
40484 # netdb.h is not declaring the function, and the compiler is thereby
40485 # assuming an implicit prototype. In which case, we're out of luck.
40486 #
40487 cat >conftest.$ac_ext <<_ACEOF
40488 /* confdefs.h. */
40489 _ACEOF
40490 cat confdefs.h >>conftest.$ac_ext
40491 cat >>conftest.$ac_ext <<_ACEOF
40492 /* end confdefs.h. */
40493 #include <netdb.h>
40494 int
40495 main ()
40496 {
40497
40498 char *name = "www.gnu.org";
40499 (void)gethostbyname_r(name) /* ; */
40500
40501 ;
40502 return 0;
40503 }
40504 _ACEOF
40505 rm -f conftest.$ac_objext
40506 if { (ac_try="$ac_compile"
40507 case "(($ac_try" in
40508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40509 *) ac_try_echo=$ac_try;;
40510 esac
40511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40512 (eval "$ac_compile") 2>conftest.er1
40513 ac_status=$?
40514 grep -v '^ *+' conftest.er1 >conftest.err
40515 rm -f conftest.er1
40516 cat conftest.err >&5
40517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40518 (exit $ac_status); } && {
40519 test -z "$ac_c_werror_flag" ||
40520 test ! -s conftest.err
40521 } && test -s conftest.$ac_objext; then
40522 ac_cv_func_which_gethostbyname_r=no
40523 else
40524 echo "$as_me: failed program was:" >&5
40525 sed 's/^/| /' conftest.$ac_ext >&5
40526
40527
40528 fi
40529
40530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40531
40532 #
40533 # SIX ARGUMENTS
40534 # (e.g. Linux)
40535 #
40536
40537 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40538
40539 cat >conftest.$ac_ext <<_ACEOF
40540 /* confdefs.h. */
40541 _ACEOF
40542 cat confdefs.h >>conftest.$ac_ext
40543 cat >>conftest.$ac_ext <<_ACEOF
40544 /* end confdefs.h. */
40545 #include <netdb.h>
40546 int
40547 main ()
40548 {
40549
40550 char *name = "www.gnu.org";
40551 struct hostent ret, *retp;
40552 char buf[1024];
40553 int buflen = 1024;
40554 int my_h_errno;
40555 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40556
40557 ;
40558 return 0;
40559 }
40560 _ACEOF
40561 rm -f conftest.$ac_objext
40562 if { (ac_try="$ac_compile"
40563 case "(($ac_try" in
40564 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40565 *) ac_try_echo=$ac_try;;
40566 esac
40567 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40568 (eval "$ac_compile") 2>conftest.er1
40569 ac_status=$?
40570 grep -v '^ *+' conftest.er1 >conftest.err
40571 rm -f conftest.er1
40572 cat conftest.err >&5
40573 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40574 (exit $ac_status); } && {
40575 test -z "$ac_c_werror_flag" ||
40576 test ! -s conftest.err
40577 } && test -s conftest.$ac_objext; then
40578 ac_cv_func_which_gethostbyname_r=six
40579 else
40580 echo "$as_me: failed program was:" >&5
40581 sed 's/^/| /' conftest.$ac_ext >&5
40582
40583
40584 fi
40585
40586 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40587
40588 fi
40589
40590 #
40591 # FIVE ARGUMENTS
40592 # (e.g. Solaris)
40593 #
40594
40595 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40596
40597 cat >conftest.$ac_ext <<_ACEOF
40598 /* confdefs.h. */
40599 _ACEOF
40600 cat confdefs.h >>conftest.$ac_ext
40601 cat >>conftest.$ac_ext <<_ACEOF
40602 /* end confdefs.h. */
40603 #include <netdb.h>
40604 int
40605 main ()
40606 {
40607
40608 char *name = "www.gnu.org";
40609 struct hostent ret;
40610 char buf[1024];
40611 int buflen = 1024;
40612 int my_h_errno;
40613 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40614
40615 ;
40616 return 0;
40617 }
40618 _ACEOF
40619 rm -f conftest.$ac_objext
40620 if { (ac_try="$ac_compile"
40621 case "(($ac_try" in
40622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40623 *) ac_try_echo=$ac_try;;
40624 esac
40625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40626 (eval "$ac_compile") 2>conftest.er1
40627 ac_status=$?
40628 grep -v '^ *+' conftest.er1 >conftest.err
40629 rm -f conftest.er1
40630 cat conftest.err >&5
40631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40632 (exit $ac_status); } && {
40633 test -z "$ac_c_werror_flag" ||
40634 test ! -s conftest.err
40635 } && test -s conftest.$ac_objext; then
40636 ac_cv_func_which_gethostbyname_r=five
40637 else
40638 echo "$as_me: failed program was:" >&5
40639 sed 's/^/| /' conftest.$ac_ext >&5
40640
40641
40642 fi
40643
40644 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40645
40646 fi
40647
40648 #
40649 # THREE ARGUMENTS
40650 # (e.g. AIX, HP-UX, Tru64)
40651 #
40652
40653 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40654
40655 cat >conftest.$ac_ext <<_ACEOF
40656 /* confdefs.h. */
40657 _ACEOF
40658 cat confdefs.h >>conftest.$ac_ext
40659 cat >>conftest.$ac_ext <<_ACEOF
40660 /* end confdefs.h. */
40661 #include <netdb.h>
40662 int
40663 main ()
40664 {
40665
40666 char *name = "www.gnu.org";
40667 struct hostent ret;
40668 struct hostent_data data;
40669 (void)gethostbyname_r(name, &ret, &data) /* ; */
40670
40671 ;
40672 return 0;
40673 }
40674 _ACEOF
40675 rm -f conftest.$ac_objext
40676 if { (ac_try="$ac_compile"
40677 case "(($ac_try" in
40678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40679 *) ac_try_echo=$ac_try;;
40680 esac
40681 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40682 (eval "$ac_compile") 2>conftest.er1
40683 ac_status=$?
40684 grep -v '^ *+' conftest.er1 >conftest.err
40685 rm -f conftest.er1
40686 cat conftest.err >&5
40687 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40688 (exit $ac_status); } && {
40689 test -z "$ac_c_werror_flag" ||
40690 test ! -s conftest.err
40691 } && test -s conftest.$ac_objext; then
40692 ac_cv_func_which_gethostbyname_r=three
40693 else
40694 echo "$as_me: failed program was:" >&5
40695 sed 's/^/| /' conftest.$ac_ext >&5
40696
40697
40698 fi
40699
40700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40701
40702 fi
40703
40704 ################################################################
40705
40706
40707 fi
40708
40709 case "$ac_cv_func_which_gethostbyname_r" in
40710 three)
40711 { echo "$as_me:$LINENO: result: three" >&5
40712 echo "${ECHO_T}three" >&6; }
40713 cat >>confdefs.h <<\_ACEOF
40714 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40715 _ACEOF
40716
40717 ;;
40718
40719 five)
40720 { echo "$as_me:$LINENO: result: five" >&5
40721 echo "${ECHO_T}five" >&6; }
40722 cat >>confdefs.h <<\_ACEOF
40723 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40724 _ACEOF
40725
40726 ;;
40727
40728 six)
40729 { echo "$as_me:$LINENO: result: six" >&5
40730 echo "${ECHO_T}six" >&6; }
40731 cat >>confdefs.h <<\_ACEOF
40732 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40733 _ACEOF
40734
40735 ;;
40736
40737 no)
40738 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40739 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40740 ;;
40741
40742 unknown)
40743 { echo "$as_me:$LINENO: result: can't tell" >&5
40744 echo "${ECHO_T}can't tell" >&6; }
40745 ;;
40746
40747 *)
40748 { { echo "$as_me:$LINENO: error: internal error" >&5
40749 echo "$as_me: error: internal error" >&2;}
40750 { (exit 1); exit 1; }; }
40751 ;;
40752 esac
40753
40754 ac_ext=c
40755 ac_cpp='$CPP $CPPFLAGS'
40756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40759
40760
40761
40762 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40763 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40764 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40765 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40766 if test "${ac_cv_func_gethostbyname+set}" = set; then
40767 echo $ECHO_N "(cached) $ECHO_C" >&6
40768 else
40769 cat >conftest.$ac_ext <<_ACEOF
40770 /* confdefs.h. */
40771 _ACEOF
40772 cat confdefs.h >>conftest.$ac_ext
40773 cat >>conftest.$ac_ext <<_ACEOF
40774 /* end confdefs.h. */
40775 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40776 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40777 #define gethostbyname innocuous_gethostbyname
40778
40779 /* System header to define __stub macros and hopefully few prototypes,
40780 which can conflict with char gethostbyname (); below.
40781 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40782 <limits.h> exists even on freestanding compilers. */
40783
40784 #ifdef __STDC__
40785 # include <limits.h>
40786 #else
40787 # include <assert.h>
40788 #endif
40789
40790 #undef gethostbyname
40791
40792 /* Override any GCC internal prototype to avoid an error.
40793 Use char because int might match the return type of a GCC
40794 builtin and then its argument prototype would still apply. */
40795 #ifdef __cplusplus
40796 extern "C"
40797 #endif
40798 char gethostbyname ();
40799 /* The GNU C library defines this for functions which it implements
40800 to always fail with ENOSYS. Some functions are actually named
40801 something starting with __ and the normal name is an alias. */
40802 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40803 choke me
40804 #endif
40805
40806 int
40807 main ()
40808 {
40809 return gethostbyname ();
40810 ;
40811 return 0;
40812 }
40813 _ACEOF
40814 rm -f conftest.$ac_objext conftest$ac_exeext
40815 if { (ac_try="$ac_link"
40816 case "(($ac_try" in
40817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40818 *) ac_try_echo=$ac_try;;
40819 esac
40820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40821 (eval "$ac_link") 2>conftest.er1
40822 ac_status=$?
40823 grep -v '^ *+' conftest.er1 >conftest.err
40824 rm -f conftest.er1
40825 cat conftest.err >&5
40826 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40827 (exit $ac_status); } && {
40828 test -z "$ac_c_werror_flag" ||
40829 test ! -s conftest.err
40830 } && test -s conftest$ac_exeext &&
40831 $as_test_x conftest$ac_exeext; then
40832 ac_cv_func_gethostbyname=yes
40833 else
40834 echo "$as_me: failed program was:" >&5
40835 sed 's/^/| /' conftest.$ac_ext >&5
40836
40837 ac_cv_func_gethostbyname=no
40838 fi
40839
40840 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40841 conftest$ac_exeext conftest.$ac_ext
40842 fi
40843 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40844 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40845 if test $ac_cv_func_gethostbyname = yes; then
40846 cat >>confdefs.h <<\_ACEOF
40847 #define HAVE_GETHOSTBYNAME 1
40848 _ACEOF
40849
40850 fi
40851
40852 fi
40853
40854 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40855 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40856 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40857 echo $ECHO_N "(cached) $ECHO_C" >&6
40858 else
40859
40860 ac_ext=cpp
40861 ac_cpp='$CXXCPP $CPPFLAGS'
40862 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40863 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40864 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40865
40866
40867 cat >conftest.$ac_ext <<_ACEOF
40868 /* confdefs.h. */
40869 _ACEOF
40870 cat confdefs.h >>conftest.$ac_ext
40871 cat >>conftest.$ac_ext <<_ACEOF
40872 /* end confdefs.h. */
40873 #include <netdb.h>
40874 int
40875 main ()
40876 {
40877
40878 char *name;
40879 char *proto;
40880 struct servent *se, *res;
40881 char buffer[2048];
40882 int buflen = 2048;
40883 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40884
40885 ;
40886 return 0;
40887 }
40888 _ACEOF
40889 rm -f conftest.$ac_objext
40890 if { (ac_try="$ac_compile"
40891 case "(($ac_try" in
40892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40893 *) ac_try_echo=$ac_try;;
40894 esac
40895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40896 (eval "$ac_compile") 2>conftest.er1
40897 ac_status=$?
40898 grep -v '^ *+' conftest.er1 >conftest.err
40899 rm -f conftest.er1
40900 cat conftest.err >&5
40901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40902 (exit $ac_status); } && {
40903 test -z "$ac_cxx_werror_flag" ||
40904 test ! -s conftest.err
40905 } && test -s conftest.$ac_objext; then
40906 ac_cv_func_which_getservbyname_r=six
40907 else
40908 echo "$as_me: failed program was:" >&5
40909 sed 's/^/| /' conftest.$ac_ext >&5
40910
40911
40912 cat >conftest.$ac_ext <<_ACEOF
40913 /* confdefs.h. */
40914 _ACEOF
40915 cat confdefs.h >>conftest.$ac_ext
40916 cat >>conftest.$ac_ext <<_ACEOF
40917 /* end confdefs.h. */
40918 #include <netdb.h>
40919 int
40920 main ()
40921 {
40922
40923 char *name;
40924 char *proto;
40925 struct servent *se;
40926 char buffer[2048];
40927 int buflen = 2048;
40928 (void) getservbyname_r(name, proto, se, buffer, buflen)
40929
40930 ;
40931 return 0;
40932 }
40933 _ACEOF
40934 rm -f conftest.$ac_objext
40935 if { (ac_try="$ac_compile"
40936 case "(($ac_try" in
40937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40938 *) ac_try_echo=$ac_try;;
40939 esac
40940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40941 (eval "$ac_compile") 2>conftest.er1
40942 ac_status=$?
40943 grep -v '^ *+' conftest.er1 >conftest.err
40944 rm -f conftest.er1
40945 cat conftest.err >&5
40946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40947 (exit $ac_status); } && {
40948 test -z "$ac_cxx_werror_flag" ||
40949 test ! -s conftest.err
40950 } && test -s conftest.$ac_objext; then
40951 ac_cv_func_which_getservbyname_r=five
40952 else
40953 echo "$as_me: failed program was:" >&5
40954 sed 's/^/| /' conftest.$ac_ext >&5
40955
40956
40957 cat >conftest.$ac_ext <<_ACEOF
40958 /* confdefs.h. */
40959 _ACEOF
40960 cat confdefs.h >>conftest.$ac_ext
40961 cat >>conftest.$ac_ext <<_ACEOF
40962 /* end confdefs.h. */
40963 #include <netdb.h>
40964 int
40965 main ()
40966 {
40967
40968 char *name;
40969 char *proto;
40970 struct servent *se;
40971 struct servent_data data;
40972 (void) getservbyname_r(name, proto, se, &data);
40973
40974 ;
40975 return 0;
40976 }
40977 _ACEOF
40978 rm -f conftest.$ac_objext
40979 if { (ac_try="$ac_compile"
40980 case "(($ac_try" in
40981 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40982 *) ac_try_echo=$ac_try;;
40983 esac
40984 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40985 (eval "$ac_compile") 2>conftest.er1
40986 ac_status=$?
40987 grep -v '^ *+' conftest.er1 >conftest.err
40988 rm -f conftest.er1
40989 cat conftest.err >&5
40990 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40991 (exit $ac_status); } && {
40992 test -z "$ac_cxx_werror_flag" ||
40993 test ! -s conftest.err
40994 } && test -s conftest.$ac_objext; then
40995 ac_cv_func_which_getservbyname_r=four
40996 else
40997 echo "$as_me: failed program was:" >&5
40998 sed 's/^/| /' conftest.$ac_ext >&5
40999
41000 ac_cv_func_which_getservbyname_r=no
41001
41002 fi
41003
41004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41005
41006
41007 fi
41008
41009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41010
41011
41012 fi
41013
41014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
41015 ac_ext=c
41016 ac_cpp='$CPP $CPPFLAGS'
41017 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41018 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41019 ac_compiler_gnu=$ac_cv_c_compiler_gnu
41020
41021
41022
41023 fi
41024 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
41025 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
41026
41027 if test $ac_cv_func_which_getservbyname_r = six; then
41028 cat >>confdefs.h <<\_ACEOF
41029 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
41030 _ACEOF
41031
41032 elif test $ac_cv_func_which_getservbyname_r = five; then
41033 cat >>confdefs.h <<\_ACEOF
41034 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
41035 _ACEOF
41036
41037 elif test $ac_cv_func_which_getservbyname_r = four; then
41038 cat >>confdefs.h <<\_ACEOF
41039 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
41040 _ACEOF
41041
41042 fi
41043
41044
41045 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
41046 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
41047
41048 for ac_func in getservbyname
41049 do
41050 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41051 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41052 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41053 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41054 echo $ECHO_N "(cached) $ECHO_C" >&6
41055 else
41056 cat >conftest.$ac_ext <<_ACEOF
41057 /* confdefs.h. */
41058 _ACEOF
41059 cat confdefs.h >>conftest.$ac_ext
41060 cat >>conftest.$ac_ext <<_ACEOF
41061 /* end confdefs.h. */
41062 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41063 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41064 #define $ac_func innocuous_$ac_func
41065
41066 /* System header to define __stub macros and hopefully few prototypes,
41067 which can conflict with char $ac_func (); below.
41068 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41069 <limits.h> exists even on freestanding compilers. */
41070
41071 #ifdef __STDC__
41072 # include <limits.h>
41073 #else
41074 # include <assert.h>
41075 #endif
41076
41077 #undef $ac_func
41078
41079 /* Override any GCC internal prototype to avoid an error.
41080 Use char because int might match the return type of a GCC
41081 builtin and then its argument prototype would still apply. */
41082 #ifdef __cplusplus
41083 extern "C"
41084 #endif
41085 char $ac_func ();
41086 /* The GNU C library defines this for functions which it implements
41087 to always fail with ENOSYS. Some functions are actually named
41088 something starting with __ and the normal name is an alias. */
41089 #if defined __stub_$ac_func || defined __stub___$ac_func
41090 choke me
41091 #endif
41092
41093 int
41094 main ()
41095 {
41096 return $ac_func ();
41097 ;
41098 return 0;
41099 }
41100 _ACEOF
41101 rm -f conftest.$ac_objext conftest$ac_exeext
41102 if { (ac_try="$ac_link"
41103 case "(($ac_try" in
41104 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41105 *) ac_try_echo=$ac_try;;
41106 esac
41107 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41108 (eval "$ac_link") 2>conftest.er1
41109 ac_status=$?
41110 grep -v '^ *+' conftest.er1 >conftest.err
41111 rm -f conftest.er1
41112 cat conftest.err >&5
41113 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41114 (exit $ac_status); } && {
41115 test -z "$ac_c_werror_flag" ||
41116 test ! -s conftest.err
41117 } && test -s conftest$ac_exeext &&
41118 $as_test_x conftest$ac_exeext; then
41119 eval "$as_ac_var=yes"
41120 else
41121 echo "$as_me: failed program was:" >&5
41122 sed 's/^/| /' conftest.$ac_ext >&5
41123
41124 eval "$as_ac_var=no"
41125 fi
41126
41127 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41128 conftest$ac_exeext conftest.$ac_ext
41129 fi
41130 ac_res=`eval echo '${'$as_ac_var'}'`
41131 { echo "$as_me:$LINENO: result: $ac_res" >&5
41132 echo "${ECHO_T}$ac_res" >&6; }
41133 if test `eval echo '${'$as_ac_var'}'` = yes; then
41134 cat >>confdefs.h <<_ACEOF
41135 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41136 _ACEOF
41137 cat >>confdefs.h <<\_ACEOF
41138 #define HAVE_GETSERVBYNAME 1
41139 _ACEOF
41140
41141 fi
41142 done
41143
41144 fi
41145
41146 if test "$wxUSE_THREADS" = "yes"; then
41147 cat >>confdefs.h <<\_ACEOF
41148 #define wxUSE_THREADS 1
41149 _ACEOF
41150
41151
41152 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
41153 else
41154 if test "$wx_cv_func_strtok_r" = "yes"; then
41155 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
41156 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
41157 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
41158 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
41159 { echo "$as_me:$LINENO: result: yes" >&5
41160 echo "${ECHO_T}yes" >&6; }
41161 else
41162 { echo "$as_me:$LINENO: result: no" >&5
41163 echo "${ECHO_T}no" >&6; }
41164 fi
41165 fi
41166 fi
41167
41168 if test "$WXGTK2" = 1 ; then
41169 cat >>confdefs.h <<_ACEOF
41170 #define __WXGTK20__ $WXGTK2
41171 _ACEOF
41172
41173 WXGTK12=1
41174 fi
41175
41176 if test "$WXGTK12" = 1 ; then
41177 cat >>confdefs.h <<_ACEOF
41178 #define __WXGTK12__ $WXGTK12
41179 _ACEOF
41180
41181 fi
41182
41183 if test "$WXGTK127" = 1 ; then
41184 cat >>confdefs.h <<_ACEOF
41185 #define __WXGTK127__ $WXGTK127
41186 _ACEOF
41187
41188 fi
41189
41190 if test "$WXGPE" = 1 ; then
41191 cat >>confdefs.h <<_ACEOF
41192 #define __WXGPE__ $WXGPE
41193 _ACEOF
41194
41195 fi
41196
41197 DEBUG_CFLAGS=
41198 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
41199 DEBUG_CFLAGS="-g"
41200 fi
41201
41202 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
41203 wxUSE_DEBUG_INFO=yes
41204 if test "$GCC" = yes; then
41205 DEBUG_CFLAGS="-ggdb"
41206 fi
41207 fi
41208
41209 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
41210 cat >>confdefs.h <<\_ACEOF
41211 #define WXDEBUG 1
41212 _ACEOF
41213
41214 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
41215 else
41216 if test "$wxUSE_GTK" = 1 ; then
41217 if test "x$wxGTK_VERSION" = "x1" ; then
41218 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
41219 fi
41220 fi
41221 fi
41222
41223 if test "$wxUSE_MEM_TRACING" = "yes" ; then
41224 cat >>confdefs.h <<\_ACEOF
41225 #define wxUSE_MEMORY_TRACING 1
41226 _ACEOF
41227
41228 cat >>confdefs.h <<\_ACEOF
41229 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
41230 _ACEOF
41231
41232 cat >>confdefs.h <<\_ACEOF
41233 #define wxUSE_DEBUG_NEW_ALWAYS 1
41234 _ACEOF
41235
41236 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
41237 fi
41238
41239 if test "$wxUSE_DMALLOC" = "yes" ; then
41240 DMALLOC_LIBS="-ldmallocthcxx"
41241 fi
41242
41243 PROFILE_FLAGS=
41244 if test "$wxUSE_PROFILE" = "yes" ; then
41245 PROFILE_FLAGS=" -pg"
41246 fi
41247
41248 if test "$GCC" = "yes" ; then
41249 if test "$wxUSE_NO_RTTI" = "yes" ; then
41250 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
41251 fi
41252 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
41253 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
41254 fi
41255 if test "$wxUSE_PERMISSIVE" = "yes" ; then
41256 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
41257 fi
41258
41259 case "${host}" in
41260 powerpc*-*-aix* )
41261 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
41262 ;;
41263 *-hppa* )
41264 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
41265 ;;
41266 esac
41267 fi
41268
41269 OPTIMISE_CFLAGS=
41270 if test "$wxUSE_OPTIMISE" = "no" ; then
41271 if test "$GCC" = yes ; then
41272 OPTIMISE_CFLAGS="-O0"
41273 fi
41274 else
41275 if test "$GCC" = yes ; then
41276 case "${host}" in
41277 *-pc-os2_emx | *-pc-os2-emx )
41278 OPTIMISE_CFLAGS="-O2"
41279 ;;
41280 *)
41281 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
41282 ;;
41283 esac
41284 else
41285 OPTIMISE_CFLAGS="-O"
41286 fi
41287 fi
41288
41289
41290 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
41291 cat >>confdefs.h <<\_ACEOF
41292 #define WXWIN_COMPATIBILITY_2_6 1
41293 _ACEOF
41294
41295
41296 WXWIN_COMPATIBILITY_2_8="yes"
41297 fi
41298
41299 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
41300 cat >>confdefs.h <<\_ACEOF
41301 #define WXWIN_COMPATIBILITY_2_8 1
41302 _ACEOF
41303
41304 fi
41305
41306
41307 if test "$wxUSE_GUI" = "yes"; then
41308 cat >>confdefs.h <<\_ACEOF
41309 #define wxUSE_GUI 1
41310 _ACEOF
41311
41312
41313 fi
41314
41315
41316 if test "$wxUSE_UNIX" = "yes"; then
41317 cat >>confdefs.h <<\_ACEOF
41318 #define wxUSE_UNIX 1
41319 _ACEOF
41320
41321 fi
41322
41323
41324 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
41325
41326 HAVE_DL_FUNCS=0
41327 HAVE_SHL_FUNCS=0
41328 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41329 if test "$USE_DOS" = 1; then
41330 HAVE_DL_FUNCS=0
41331 else
41332
41333 for ac_func in dlopen
41334 do
41335 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41336 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41337 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41338 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41339 echo $ECHO_N "(cached) $ECHO_C" >&6
41340 else
41341 cat >conftest.$ac_ext <<_ACEOF
41342 /* confdefs.h. */
41343 _ACEOF
41344 cat confdefs.h >>conftest.$ac_ext
41345 cat >>conftest.$ac_ext <<_ACEOF
41346 /* end confdefs.h. */
41347 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41348 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41349 #define $ac_func innocuous_$ac_func
41350
41351 /* System header to define __stub macros and hopefully few prototypes,
41352 which can conflict with char $ac_func (); below.
41353 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41354 <limits.h> exists even on freestanding compilers. */
41355
41356 #ifdef __STDC__
41357 # include <limits.h>
41358 #else
41359 # include <assert.h>
41360 #endif
41361
41362 #undef $ac_func
41363
41364 /* Override any GCC internal prototype to avoid an error.
41365 Use char because int might match the return type of a GCC
41366 builtin and then its argument prototype would still apply. */
41367 #ifdef __cplusplus
41368 extern "C"
41369 #endif
41370 char $ac_func ();
41371 /* The GNU C library defines this for functions which it implements
41372 to always fail with ENOSYS. Some functions are actually named
41373 something starting with __ and the normal name is an alias. */
41374 #if defined __stub_$ac_func || defined __stub___$ac_func
41375 choke me
41376 #endif
41377
41378 int
41379 main ()
41380 {
41381 return $ac_func ();
41382 ;
41383 return 0;
41384 }
41385 _ACEOF
41386 rm -f conftest.$ac_objext conftest$ac_exeext
41387 if { (ac_try="$ac_link"
41388 case "(($ac_try" in
41389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41390 *) ac_try_echo=$ac_try;;
41391 esac
41392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41393 (eval "$ac_link") 2>conftest.er1
41394 ac_status=$?
41395 grep -v '^ *+' conftest.er1 >conftest.err
41396 rm -f conftest.er1
41397 cat conftest.err >&5
41398 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41399 (exit $ac_status); } && {
41400 test -z "$ac_c_werror_flag" ||
41401 test ! -s conftest.err
41402 } && test -s conftest$ac_exeext &&
41403 $as_test_x conftest$ac_exeext; then
41404 eval "$as_ac_var=yes"
41405 else
41406 echo "$as_me: failed program was:" >&5
41407 sed 's/^/| /' conftest.$ac_ext >&5
41408
41409 eval "$as_ac_var=no"
41410 fi
41411
41412 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41413 conftest$ac_exeext conftest.$ac_ext
41414 fi
41415 ac_res=`eval echo '${'$as_ac_var'}'`
41416 { echo "$as_me:$LINENO: result: $ac_res" >&5
41417 echo "${ECHO_T}$ac_res" >&6; }
41418 if test `eval echo '${'$as_ac_var'}'` = yes; then
41419 cat >>confdefs.h <<_ACEOF
41420 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41421 _ACEOF
41422
41423 cat >>confdefs.h <<\_ACEOF
41424 #define HAVE_DLOPEN 1
41425 _ACEOF
41426
41427 HAVE_DL_FUNCS=1
41428
41429 else
41430
41431 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
41432 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
41433 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
41434 echo $ECHO_N "(cached) $ECHO_C" >&6
41435 else
41436 ac_check_lib_save_LIBS=$LIBS
41437 LIBS="-ldl $LIBS"
41438 cat >conftest.$ac_ext <<_ACEOF
41439 /* confdefs.h. */
41440 _ACEOF
41441 cat confdefs.h >>conftest.$ac_ext
41442 cat >>conftest.$ac_ext <<_ACEOF
41443 /* end confdefs.h. */
41444
41445 /* Override any GCC internal prototype to avoid an error.
41446 Use char because int might match the return type of a GCC
41447 builtin and then its argument prototype would still apply. */
41448 #ifdef __cplusplus
41449 extern "C"
41450 #endif
41451 char dlopen ();
41452 int
41453 main ()
41454 {
41455 return dlopen ();
41456 ;
41457 return 0;
41458 }
41459 _ACEOF
41460 rm -f conftest.$ac_objext conftest$ac_exeext
41461 if { (ac_try="$ac_link"
41462 case "(($ac_try" in
41463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41464 *) ac_try_echo=$ac_try;;
41465 esac
41466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41467 (eval "$ac_link") 2>conftest.er1
41468 ac_status=$?
41469 grep -v '^ *+' conftest.er1 >conftest.err
41470 rm -f conftest.er1
41471 cat conftest.err >&5
41472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41473 (exit $ac_status); } && {
41474 test -z "$ac_c_werror_flag" ||
41475 test ! -s conftest.err
41476 } && test -s conftest$ac_exeext &&
41477 $as_test_x conftest$ac_exeext; then
41478 ac_cv_lib_dl_dlopen=yes
41479 else
41480 echo "$as_me: failed program was:" >&5
41481 sed 's/^/| /' conftest.$ac_ext >&5
41482
41483 ac_cv_lib_dl_dlopen=no
41484 fi
41485
41486 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41487 conftest$ac_exeext conftest.$ac_ext
41488 LIBS=$ac_check_lib_save_LIBS
41489 fi
41490 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41491 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41492 if test $ac_cv_lib_dl_dlopen = yes; then
41493
41494 cat >>confdefs.h <<\_ACEOF
41495 #define HAVE_DLOPEN 1
41496 _ACEOF
41497
41498 HAVE_DL_FUNCS=1
41499 DL_LINK=" -ldl$DL_LINK"
41500
41501 else
41502
41503
41504 for ac_func in shl_load
41505 do
41506 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41507 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41508 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41509 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41510 echo $ECHO_N "(cached) $ECHO_C" >&6
41511 else
41512 cat >conftest.$ac_ext <<_ACEOF
41513 /* confdefs.h. */
41514 _ACEOF
41515 cat confdefs.h >>conftest.$ac_ext
41516 cat >>conftest.$ac_ext <<_ACEOF
41517 /* end confdefs.h. */
41518 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41519 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41520 #define $ac_func innocuous_$ac_func
41521
41522 /* System header to define __stub macros and hopefully few prototypes,
41523 which can conflict with char $ac_func (); below.
41524 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41525 <limits.h> exists even on freestanding compilers. */
41526
41527 #ifdef __STDC__
41528 # include <limits.h>
41529 #else
41530 # include <assert.h>
41531 #endif
41532
41533 #undef $ac_func
41534
41535 /* Override any GCC internal prototype to avoid an error.
41536 Use char because int might match the return type of a GCC
41537 builtin and then its argument prototype would still apply. */
41538 #ifdef __cplusplus
41539 extern "C"
41540 #endif
41541 char $ac_func ();
41542 /* The GNU C library defines this for functions which it implements
41543 to always fail with ENOSYS. Some functions are actually named
41544 something starting with __ and the normal name is an alias. */
41545 #if defined __stub_$ac_func || defined __stub___$ac_func
41546 choke me
41547 #endif
41548
41549 int
41550 main ()
41551 {
41552 return $ac_func ();
41553 ;
41554 return 0;
41555 }
41556 _ACEOF
41557 rm -f conftest.$ac_objext conftest$ac_exeext
41558 if { (ac_try="$ac_link"
41559 case "(($ac_try" in
41560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41561 *) ac_try_echo=$ac_try;;
41562 esac
41563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41564 (eval "$ac_link") 2>conftest.er1
41565 ac_status=$?
41566 grep -v '^ *+' conftest.er1 >conftest.err
41567 rm -f conftest.er1
41568 cat conftest.err >&5
41569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41570 (exit $ac_status); } && {
41571 test -z "$ac_c_werror_flag" ||
41572 test ! -s conftest.err
41573 } && test -s conftest$ac_exeext &&
41574 $as_test_x conftest$ac_exeext; then
41575 eval "$as_ac_var=yes"
41576 else
41577 echo "$as_me: failed program was:" >&5
41578 sed 's/^/| /' conftest.$ac_ext >&5
41579
41580 eval "$as_ac_var=no"
41581 fi
41582
41583 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41584 conftest$ac_exeext conftest.$ac_ext
41585 fi
41586 ac_res=`eval echo '${'$as_ac_var'}'`
41587 { echo "$as_me:$LINENO: result: $ac_res" >&5
41588 echo "${ECHO_T}$ac_res" >&6; }
41589 if test `eval echo '${'$as_ac_var'}'` = yes; then
41590 cat >>confdefs.h <<_ACEOF
41591 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41592 _ACEOF
41593
41594 cat >>confdefs.h <<\_ACEOF
41595 #define HAVE_SHL_LOAD 1
41596 _ACEOF
41597
41598 HAVE_SHL_FUNCS=1
41599
41600 else
41601
41602 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41603 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41604 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41605 echo $ECHO_N "(cached) $ECHO_C" >&6
41606 else
41607 ac_check_lib_save_LIBS=$LIBS
41608 LIBS="-lshl_load $LIBS"
41609 cat >conftest.$ac_ext <<_ACEOF
41610 /* confdefs.h. */
41611 _ACEOF
41612 cat confdefs.h >>conftest.$ac_ext
41613 cat >>conftest.$ac_ext <<_ACEOF
41614 /* end confdefs.h. */
41615
41616 /* Override any GCC internal prototype to avoid an error.
41617 Use char because int might match the return type of a GCC
41618 builtin and then its argument prototype would still apply. */
41619 #ifdef __cplusplus
41620 extern "C"
41621 #endif
41622 char dld ();
41623 int
41624 main ()
41625 {
41626 return dld ();
41627 ;
41628 return 0;
41629 }
41630 _ACEOF
41631 rm -f conftest.$ac_objext conftest$ac_exeext
41632 if { (ac_try="$ac_link"
41633 case "(($ac_try" in
41634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41635 *) ac_try_echo=$ac_try;;
41636 esac
41637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41638 (eval "$ac_link") 2>conftest.er1
41639 ac_status=$?
41640 grep -v '^ *+' conftest.er1 >conftest.err
41641 rm -f conftest.er1
41642 cat conftest.err >&5
41643 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41644 (exit $ac_status); } && {
41645 test -z "$ac_c_werror_flag" ||
41646 test ! -s conftest.err
41647 } && test -s conftest$ac_exeext &&
41648 $as_test_x conftest$ac_exeext; then
41649 ac_cv_lib_shl_load_dld=yes
41650 else
41651 echo "$as_me: failed program was:" >&5
41652 sed 's/^/| /' conftest.$ac_ext >&5
41653
41654 ac_cv_lib_shl_load_dld=no
41655 fi
41656
41657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41658 conftest$ac_exeext conftest.$ac_ext
41659 LIBS=$ac_check_lib_save_LIBS
41660 fi
41661 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41662 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41663 if test $ac_cv_lib_shl_load_dld = yes; then
41664
41665 HAVE_SHL_FUNCS=1
41666 DL_LINK=" -ldld$DL_LINK"
41667
41668 fi
41669
41670
41671 fi
41672 done
41673
41674
41675 fi
41676
41677
41678 fi
41679 done
41680
41681
41682 if test "$HAVE_DL_FUNCS" = 1; then
41683
41684 for ac_func in dlerror
41685 do
41686 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41687 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41688 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41689 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41690 echo $ECHO_N "(cached) $ECHO_C" >&6
41691 else
41692 cat >conftest.$ac_ext <<_ACEOF
41693 /* confdefs.h. */
41694 _ACEOF
41695 cat confdefs.h >>conftest.$ac_ext
41696 cat >>conftest.$ac_ext <<_ACEOF
41697 /* end confdefs.h. */
41698 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41699 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41700 #define $ac_func innocuous_$ac_func
41701
41702 /* System header to define __stub macros and hopefully few prototypes,
41703 which can conflict with char $ac_func (); below.
41704 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41705 <limits.h> exists even on freestanding compilers. */
41706
41707 #ifdef __STDC__
41708 # include <limits.h>
41709 #else
41710 # include <assert.h>
41711 #endif
41712
41713 #undef $ac_func
41714
41715 /* Override any GCC internal prototype to avoid an error.
41716 Use char because int might match the return type of a GCC
41717 builtin and then its argument prototype would still apply. */
41718 #ifdef __cplusplus
41719 extern "C"
41720 #endif
41721 char $ac_func ();
41722 /* The GNU C library defines this for functions which it implements
41723 to always fail with ENOSYS. Some functions are actually named
41724 something starting with __ and the normal name is an alias. */
41725 #if defined __stub_$ac_func || defined __stub___$ac_func
41726 choke me
41727 #endif
41728
41729 int
41730 main ()
41731 {
41732 return $ac_func ();
41733 ;
41734 return 0;
41735 }
41736 _ACEOF
41737 rm -f conftest.$ac_objext conftest$ac_exeext
41738 if { (ac_try="$ac_link"
41739 case "(($ac_try" in
41740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41741 *) ac_try_echo=$ac_try;;
41742 esac
41743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41744 (eval "$ac_link") 2>conftest.er1
41745 ac_status=$?
41746 grep -v '^ *+' conftest.er1 >conftest.err
41747 rm -f conftest.er1
41748 cat conftest.err >&5
41749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41750 (exit $ac_status); } && {
41751 test -z "$ac_c_werror_flag" ||
41752 test ! -s conftest.err
41753 } && test -s conftest$ac_exeext &&
41754 $as_test_x conftest$ac_exeext; then
41755 eval "$as_ac_var=yes"
41756 else
41757 echo "$as_me: failed program was:" >&5
41758 sed 's/^/| /' conftest.$ac_ext >&5
41759
41760 eval "$as_ac_var=no"
41761 fi
41762
41763 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41764 conftest$ac_exeext conftest.$ac_ext
41765 fi
41766 ac_res=`eval echo '${'$as_ac_var'}'`
41767 { echo "$as_me:$LINENO: result: $ac_res" >&5
41768 echo "${ECHO_T}$ac_res" >&6; }
41769 if test `eval echo '${'$as_ac_var'}'` = yes; then
41770 cat >>confdefs.h <<_ACEOF
41771 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41772 _ACEOF
41773 cat >>confdefs.h <<\_ACEOF
41774 #define HAVE_DLERROR 1
41775 _ACEOF
41776
41777 else
41778
41779 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41780 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41781 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41782 echo $ECHO_N "(cached) $ECHO_C" >&6
41783 else
41784 ac_check_lib_save_LIBS=$LIBS
41785 LIBS="-ldl $LIBS"
41786 cat >conftest.$ac_ext <<_ACEOF
41787 /* confdefs.h. */
41788 _ACEOF
41789 cat confdefs.h >>conftest.$ac_ext
41790 cat >>conftest.$ac_ext <<_ACEOF
41791 /* end confdefs.h. */
41792
41793 /* Override any GCC internal prototype to avoid an error.
41794 Use char because int might match the return type of a GCC
41795 builtin and then its argument prototype would still apply. */
41796 #ifdef __cplusplus
41797 extern "C"
41798 #endif
41799 char dlerror ();
41800 int
41801 main ()
41802 {
41803 return dlerror ();
41804 ;
41805 return 0;
41806 }
41807 _ACEOF
41808 rm -f conftest.$ac_objext conftest$ac_exeext
41809 if { (ac_try="$ac_link"
41810 case "(($ac_try" in
41811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41812 *) ac_try_echo=$ac_try;;
41813 esac
41814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41815 (eval "$ac_link") 2>conftest.er1
41816 ac_status=$?
41817 grep -v '^ *+' conftest.er1 >conftest.err
41818 rm -f conftest.er1
41819 cat conftest.err >&5
41820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41821 (exit $ac_status); } && {
41822 test -z "$ac_c_werror_flag" ||
41823 test ! -s conftest.err
41824 } && test -s conftest$ac_exeext &&
41825 $as_test_x conftest$ac_exeext; then
41826 ac_cv_lib_dl_dlerror=yes
41827 else
41828 echo "$as_me: failed program was:" >&5
41829 sed 's/^/| /' conftest.$ac_ext >&5
41830
41831 ac_cv_lib_dl_dlerror=no
41832 fi
41833
41834 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41835 conftest$ac_exeext conftest.$ac_ext
41836 LIBS=$ac_check_lib_save_LIBS
41837 fi
41838 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41839 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41840 if test $ac_cv_lib_dl_dlerror = yes; then
41841 cat >>confdefs.h <<\_ACEOF
41842 #define HAVE_DLERROR 1
41843 _ACEOF
41844
41845 fi
41846
41847
41848
41849 fi
41850 done
41851
41852 fi
41853 fi
41854
41855 if test "$USE_DARWIN" = 1; then
41856 HAVE_DL_FUNCS=1
41857 fi
41858
41859 if test "$HAVE_DL_FUNCS" = 0; then
41860 if test "$HAVE_SHL_FUNCS" = 0; then
41861 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41862 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41863 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41864 wxUSE_DYNAMIC_LOADER=no
41865 wxUSE_DYNLIB_CLASS=no
41866 else
41867 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41868 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41869 fi
41870 fi
41871 fi
41872 fi
41873 fi
41874
41875 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41876 cat >>confdefs.h <<\_ACEOF
41877 #define wxUSE_DYNAMIC_LOADER 1
41878 _ACEOF
41879
41880 fi
41881 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41882 cat >>confdefs.h <<\_ACEOF
41883 #define wxUSE_DYNLIB_CLASS 1
41884 _ACEOF
41885
41886 fi
41887
41888
41889
41890 if test "$wxUSE_PLUGINS" = "yes" ; then
41891 if test "$wxUSE_SHARED" = "no" ; then
41892 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41893 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41894 wxUSE_PLUGINS=no
41895 fi
41896 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41897 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41898 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41899 wxUSE_PLUGINS=no
41900 fi
41901 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41902 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41903 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41904 wxUSE_PLUGINS=no
41905 fi
41906 if test "$wxUSE_PLUGINS" = "yes" ; then
41907 cat >>confdefs.h <<\_ACEOF
41908 #define wxUSE_PLUGINS 1
41909 _ACEOF
41910
41911 fi
41912 fi
41913
41914
41915 if test "$wxUSE_STL" = "yes"; then
41916 cat >>confdefs.h <<\_ACEOF
41917 #define wxUSE_STL 1
41918 _ACEOF
41919
41920 fi
41921
41922 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41923 cat >>confdefs.h <<\_ACEOF
41924 #define wxUSE_EXTENDED_RTTI 1
41925 _ACEOF
41926
41927 fi
41928
41929 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41930 cat >>confdefs.h <<\_ACEOF
41931 #define wxUSE_APPLE_IEEE 1
41932 _ACEOF
41933
41934 fi
41935
41936 if test "$wxUSE_TIMER" = "yes"; then
41937 cat >>confdefs.h <<\_ACEOF
41938 #define wxUSE_TIMER 1
41939 _ACEOF
41940
41941 fi
41942
41943 if test "$USE_UNIX" = 1 ; then
41944 if test "$wxUSE_MGL" != 1; then
41945 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41946 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41947 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41948 echo $ECHO_N "(cached) $ECHO_C" >&6
41949 else
41950
41951 cat >conftest.$ac_ext <<_ACEOF
41952 /* confdefs.h. */
41953 _ACEOF
41954 cat confdefs.h >>conftest.$ac_ext
41955 cat >>conftest.$ac_ext <<_ACEOF
41956 /* end confdefs.h. */
41957
41958 #include <sys/ioctl.h>
41959 #include <sys/soundcard.h>
41960
41961 int
41962 main ()
41963 {
41964
41965 ioctl(0, SNDCTL_DSP_SPEED, 0);
41966
41967 ;
41968 return 0;
41969 }
41970 _ACEOF
41971 rm -f conftest.$ac_objext conftest$ac_exeext
41972 if { (ac_try="$ac_link"
41973 case "(($ac_try" in
41974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41975 *) ac_try_echo=$ac_try;;
41976 esac
41977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41978 (eval "$ac_link") 2>conftest.er1
41979 ac_status=$?
41980 grep -v '^ *+' conftest.er1 >conftest.err
41981 rm -f conftest.er1
41982 cat conftest.err >&5
41983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41984 (exit $ac_status); } && {
41985 test -z "$ac_c_werror_flag" ||
41986 test ! -s conftest.err
41987 } && test -s conftest$ac_exeext &&
41988 $as_test_x conftest$ac_exeext; then
41989 ac_cv_header_sys_soundcard=yes
41990 else
41991 echo "$as_me: failed program was:" >&5
41992 sed 's/^/| /' conftest.$ac_ext >&5
41993
41994
41995 saveLibs="$LIBS"
41996 LIBS="$saveLibs -lossaudio"
41997 cat >conftest.$ac_ext <<_ACEOF
41998 /* confdefs.h. */
41999 _ACEOF
42000 cat confdefs.h >>conftest.$ac_ext
42001 cat >>conftest.$ac_ext <<_ACEOF
42002 /* end confdefs.h. */
42003
42004 #include <sys/ioctl.h>
42005 #include <sys/soundcard.h>
42006
42007 int
42008 main ()
42009 {
42010
42011 ioctl(0, SNDCTL_DSP_SPEED, 0);
42012
42013 ;
42014 return 0;
42015 }
42016 _ACEOF
42017 rm -f conftest.$ac_objext conftest$ac_exeext
42018 if { (ac_try="$ac_link"
42019 case "(($ac_try" in
42020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42021 *) ac_try_echo=$ac_try;;
42022 esac
42023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42024 (eval "$ac_link") 2>conftest.er1
42025 ac_status=$?
42026 grep -v '^ *+' conftest.er1 >conftest.err
42027 rm -f conftest.er1
42028 cat conftest.err >&5
42029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42030 (exit $ac_status); } && {
42031 test -z "$ac_c_werror_flag" ||
42032 test ! -s conftest.err
42033 } && test -s conftest$ac_exeext &&
42034 $as_test_x conftest$ac_exeext; then
42035 ac_cv_header_sys_soundcard=yes
42036 else
42037 echo "$as_me: failed program was:" >&5
42038 sed 's/^/| /' conftest.$ac_ext >&5
42039
42040
42041 LIBS="$saveLibs"
42042 ac_cv_header_sys_soundcard=no
42043
42044
42045 fi
42046
42047 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42048 conftest$ac_exeext conftest.$ac_ext
42049
42050
42051 fi
42052
42053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42054 conftest$ac_exeext conftest.$ac_ext
42055
42056 fi
42057 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
42058 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
42059 fi
42060
42061 if test "$ac_cv_header_sys_soundcard" = "yes"; then
42062 cat >>confdefs.h <<\_ACEOF
42063 #define HAVE_SYS_SOUNDCARD_H 1
42064 _ACEOF
42065
42066 fi
42067 fi
42068
42069 WITH_PLUGIN_SDL=0
42070 if test "$wxUSE_SOUND" = "yes"; then
42071 if test "$USE_UNIX" = 1 ; then
42072 if test "$wxUSE_LIBSDL" != "no"; then
42073
42074 # Check whether --with-sdl-prefix was given.
42075 if test "${with_sdl_prefix+set}" = set; then
42076 withval=$with_sdl_prefix; sdl_prefix="$withval"
42077 else
42078 sdl_prefix=""
42079 fi
42080
42081
42082 # Check whether --with-sdl-exec-prefix was given.
42083 if test "${with_sdl_exec_prefix+set}" = set; then
42084 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
42085 else
42086 sdl_exec_prefix=""
42087 fi
42088
42089 # Check whether --enable-sdltest was given.
42090 if test "${enable_sdltest+set}" = set; then
42091 enableval=$enable_sdltest;
42092 else
42093 enable_sdltest=yes
42094 fi
42095
42096
42097 if test x$sdl_exec_prefix != x ; then
42098 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
42099 if test x${SDL_CONFIG+set} != xset ; then
42100 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
42101 fi
42102 fi
42103 if test x$sdl_prefix != x ; then
42104 sdl_args="$sdl_args --prefix=$sdl_prefix"
42105 if test x${SDL_CONFIG+set} != xset ; then
42106 SDL_CONFIG=$sdl_prefix/bin/sdl-config
42107 fi
42108 fi
42109
42110 if test "x$prefix" != xNONE; then
42111 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
42112 fi
42113 # Extract the first word of "sdl-config", so it can be a program name with args.
42114 set dummy sdl-config; ac_word=$2
42115 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42116 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42117 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
42118 echo $ECHO_N "(cached) $ECHO_C" >&6
42119 else
42120 case $SDL_CONFIG in
42121 [\\/]* | ?:[\\/]*)
42122 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
42123 ;;
42124 *)
42125 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42126 for as_dir in $PATH
42127 do
42128 IFS=$as_save_IFS
42129 test -z "$as_dir" && as_dir=.
42130 for ac_exec_ext in '' $ac_executable_extensions; do
42131 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42132 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42133 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42134 break 2
42135 fi
42136 done
42137 done
42138 IFS=$as_save_IFS
42139
42140 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
42141 ;;
42142 esac
42143 fi
42144 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
42145 if test -n "$SDL_CONFIG"; then
42146 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
42147 echo "${ECHO_T}$SDL_CONFIG" >&6; }
42148 else
42149 { echo "$as_me:$LINENO: result: no" >&5
42150 echo "${ECHO_T}no" >&6; }
42151 fi
42152
42153
42154 min_sdl_version=1.2.0
42155 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
42156 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
42157 no_sdl=""
42158 if test "$SDL_CONFIG" = "no" ; then
42159 no_sdl=yes
42160 else
42161 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
42162 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
42163
42164 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
42165 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
42166 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
42167 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
42168 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
42169 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
42170 if test "x$enable_sdltest" = "xyes" ; then
42171 ac_save_CFLAGS="$CFLAGS"
42172 ac_save_CXXFLAGS="$CXXFLAGS"
42173 ac_save_LIBS="$LIBS"
42174 CFLAGS="$CFLAGS $SDL_CFLAGS"
42175 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42176 LIBS="$LIBS $SDL_LIBS"
42177 rm -f conf.sdltest
42178 if test "$cross_compiling" = yes; then
42179 echo $ac_n "cross compiling; assumed OK... $ac_c"
42180 else
42181 cat >conftest.$ac_ext <<_ACEOF
42182 /* confdefs.h. */
42183 _ACEOF
42184 cat confdefs.h >>conftest.$ac_ext
42185 cat >>conftest.$ac_ext <<_ACEOF
42186 /* end confdefs.h. */
42187
42188 #include <stdio.h>
42189 #include <stdlib.h>
42190 #include <string.h>
42191 #include "SDL.h"
42192
42193 char*
42194 my_strdup (char *str)
42195 {
42196 char *new_str;
42197
42198 if (str)
42199 {
42200 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
42201 strcpy (new_str, str);
42202 }
42203 else
42204 new_str = NULL;
42205
42206 return new_str;
42207 }
42208
42209 int main (int argc, char *argv[])
42210 {
42211 int major, minor, micro;
42212 char *tmp_version;
42213
42214 /* This hangs on some systems (?)
42215 system ("touch conf.sdltest");
42216 */
42217 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
42218
42219 /* HP/UX 9 (%@#!) writes to sscanf strings */
42220 tmp_version = my_strdup("$min_sdl_version");
42221 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
42222 printf("%s, bad version string\n", "$min_sdl_version");
42223 exit(1);
42224 }
42225
42226 if (($sdl_major_version > major) ||
42227 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
42228 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
42229 {
42230 return 0;
42231 }
42232 else
42233 {
42234 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
42235 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
42236 printf("*** best to upgrade to the required version.\n");
42237 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
42238 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
42239 printf("*** config.cache before re-running configure\n");
42240 return 1;
42241 }
42242 }
42243
42244
42245 _ACEOF
42246 rm -f conftest$ac_exeext
42247 if { (ac_try="$ac_link"
42248 case "(($ac_try" in
42249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42250 *) ac_try_echo=$ac_try;;
42251 esac
42252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42253 (eval "$ac_link") 2>&5
42254 ac_status=$?
42255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42256 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
42257 { (case "(($ac_try" in
42258 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42259 *) ac_try_echo=$ac_try;;
42260 esac
42261 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42262 (eval "$ac_try") 2>&5
42263 ac_status=$?
42264 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42265 (exit $ac_status); }; }; then
42266 :
42267 else
42268 echo "$as_me: program exited with status $ac_status" >&5
42269 echo "$as_me: failed program was:" >&5
42270 sed 's/^/| /' conftest.$ac_ext >&5
42271
42272 ( exit $ac_status )
42273 no_sdl=yes
42274 fi
42275 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
42276 fi
42277
42278
42279 CFLAGS="$ac_save_CFLAGS"
42280 CXXFLAGS="$ac_save_CXXFLAGS"
42281 LIBS="$ac_save_LIBS"
42282 fi
42283 fi
42284 if test "x$no_sdl" = x ; then
42285 { echo "$as_me:$LINENO: result: yes" >&5
42286 echo "${ECHO_T}yes" >&6; }
42287
42288 EXTRALIBS_SDL="$SDL_LIBS"
42289 CFLAGS="$SDL_CFLAGS $CFLAGS"
42290 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
42291 cat >>confdefs.h <<\_ACEOF
42292 #define wxUSE_LIBSDL 1
42293 _ACEOF
42294
42295
42296 else
42297 { echo "$as_me:$LINENO: result: no" >&5
42298 echo "${ECHO_T}no" >&6; }
42299 if test "$SDL_CONFIG" = "no" ; then
42300 echo "*** The sdl-config script installed by SDL could not be found"
42301 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
42302 echo "*** your path, or set the SDL_CONFIG environment variable to the"
42303 echo "*** full path to sdl-config."
42304 else
42305 if test -f conf.sdltest ; then
42306 :
42307 else
42308 echo "*** Could not run SDL test program, checking why..."
42309 CFLAGS="$CFLAGS $SDL_CFLAGS"
42310 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
42311 LIBS="$LIBS $SDL_LIBS"
42312 cat >conftest.$ac_ext <<_ACEOF
42313 /* confdefs.h. */
42314 _ACEOF
42315 cat confdefs.h >>conftest.$ac_ext
42316 cat >>conftest.$ac_ext <<_ACEOF
42317 /* end confdefs.h. */
42318
42319 #include <stdio.h>
42320 #include "SDL.h"
42321
42322 int main(int argc, char *argv[])
42323 { return 0; }
42324 #undef main
42325 #define main K_and_R_C_main
42326
42327 int
42328 main ()
42329 {
42330 return 0;
42331 ;
42332 return 0;
42333 }
42334 _ACEOF
42335 rm -f conftest.$ac_objext conftest$ac_exeext
42336 if { (ac_try="$ac_link"
42337 case "(($ac_try" in
42338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42339 *) ac_try_echo=$ac_try;;
42340 esac
42341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42342 (eval "$ac_link") 2>conftest.er1
42343 ac_status=$?
42344 grep -v '^ *+' conftest.er1 >conftest.err
42345 rm -f conftest.er1
42346 cat conftest.err >&5
42347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42348 (exit $ac_status); } && {
42349 test -z "$ac_c_werror_flag" ||
42350 test ! -s conftest.err
42351 } && test -s conftest$ac_exeext &&
42352 $as_test_x conftest$ac_exeext; then
42353 echo "*** The test program compiled, but did not run. This usually means"
42354 echo "*** that the run-time linker is not finding SDL or finding the wrong"
42355 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
42356 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
42357 echo "*** to the installed location Also, make sure you have run ldconfig if that"
42358 echo "*** is required on your system"
42359 echo "***"
42360 echo "*** If you have an old version installed, it is best to remove it, although"
42361 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
42362 else
42363 echo "$as_me: failed program was:" >&5
42364 sed 's/^/| /' conftest.$ac_ext >&5
42365
42366 echo "*** The test program failed to compile or link. See the file config.log for the"
42367 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
42368 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
42369 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
42370 fi
42371
42372 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42373 conftest$ac_exeext conftest.$ac_ext
42374 CFLAGS="$ac_save_CFLAGS"
42375 CXXFLAGS="$ac_save_CXXFLAGS"
42376 LIBS="$ac_save_LIBS"
42377 fi
42378 fi
42379 SDL_CFLAGS=""
42380 SDL_LIBS=""
42381 wxUSE_LIBSDL="no"
42382 fi
42383
42384
42385 rm -f conf.sdltest
42386
42387 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
42388 WITH_PLUGIN_SDL=1
42389 fi
42390 fi
42391 else
42392 if test "$wxUSE_MGL" = 1; then
42393 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
42394 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
42395 wxUSE_SOUND="no"
42396 fi
42397 fi
42398 fi
42399
42400 if test "$wxUSE_SOUND" = "yes"; then
42401 cat >>confdefs.h <<\_ACEOF
42402 #define wxUSE_SOUND 1
42403 _ACEOF
42404
42405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
42406 fi
42407
42408 if test "$WXGTK2" = 1; then
42409
42410
42411 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
42412 if test -n "$ac_tool_prefix"; then
42413 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
42414 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
42415 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42416 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42417 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
42418 echo $ECHO_N "(cached) $ECHO_C" >&6
42419 else
42420 case $PKG_CONFIG in
42421 [\\/]* | ?:[\\/]*)
42422 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
42423 ;;
42424 *)
42425 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42426 for as_dir in $PATH
42427 do
42428 IFS=$as_save_IFS
42429 test -z "$as_dir" && as_dir=.
42430 for ac_exec_ext in '' $ac_executable_extensions; do
42431 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42432 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42433 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42434 break 2
42435 fi
42436 done
42437 done
42438 IFS=$as_save_IFS
42439
42440 ;;
42441 esac
42442 fi
42443 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
42444 if test -n "$PKG_CONFIG"; then
42445 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
42446 echo "${ECHO_T}$PKG_CONFIG" >&6; }
42447 else
42448 { echo "$as_me:$LINENO: result: no" >&5
42449 echo "${ECHO_T}no" >&6; }
42450 fi
42451
42452
42453 fi
42454 if test -z "$ac_cv_path_PKG_CONFIG"; then
42455 ac_pt_PKG_CONFIG=$PKG_CONFIG
42456 # Extract the first word of "pkg-config", so it can be a program name with args.
42457 set dummy pkg-config; ac_word=$2
42458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42460 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42461 echo $ECHO_N "(cached) $ECHO_C" >&6
42462 else
42463 case $ac_pt_PKG_CONFIG in
42464 [\\/]* | ?:[\\/]*)
42465 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42466 ;;
42467 *)
42468 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42469 for as_dir in $PATH
42470 do
42471 IFS=$as_save_IFS
42472 test -z "$as_dir" && as_dir=.
42473 for ac_exec_ext in '' $ac_executable_extensions; do
42474 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42475 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42476 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42477 break 2
42478 fi
42479 done
42480 done
42481 IFS=$as_save_IFS
42482
42483 ;;
42484 esac
42485 fi
42486 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42487 if test -n "$ac_pt_PKG_CONFIG"; then
42488 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42489 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42490 else
42491 { echo "$as_me:$LINENO: result: no" >&5
42492 echo "${ECHO_T}no" >&6; }
42493 fi
42494
42495 if test "x$ac_pt_PKG_CONFIG" = x; then
42496 PKG_CONFIG=""
42497 else
42498 case $cross_compiling:$ac_tool_warned in
42499 yes:)
42500 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42501 whose name does not start with the host triplet. If you think this
42502 configuration is useful to you, please write to autoconf@gnu.org." >&5
42503 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42504 whose name does not start with the host triplet. If you think this
42505 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42506 ac_tool_warned=yes ;;
42507 esac
42508 PKG_CONFIG=$ac_pt_PKG_CONFIG
42509 fi
42510 else
42511 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42512 fi
42513
42514 fi
42515 if test -n "$PKG_CONFIG"; then
42516 _pkg_min_version=0.9.0
42517 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42518 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42519 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42520 { echo "$as_me:$LINENO: result: yes" >&5
42521 echo "${ECHO_T}yes" >&6; }
42522 else
42523 { echo "$as_me:$LINENO: result: no" >&5
42524 echo "${ECHO_T}no" >&6; }
42525 PKG_CONFIG=""
42526 fi
42527
42528 fi
42529
42530 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42531
42532 if test "$wxUSE_GTKPRINT" = "yes" ; then
42533
42534
42535 pkg_failed=no
42536 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42537 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42538
42539 if test -n "$PKG_CONFIG"; then
42540 if test -n "$GTKPRINT_CFLAGS"; then
42541 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42542 else
42543 if test -n "$PKG_CONFIG" && \
42544 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42545 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42546 ac_status=$?
42547 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42548 (exit $ac_status); }; then
42549 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42550 else
42551 pkg_failed=yes
42552 fi
42553 fi
42554 else
42555 pkg_failed=untried
42556 fi
42557 if test -n "$PKG_CONFIG"; then
42558 if test -n "$GTKPRINT_LIBS"; then
42559 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42560 else
42561 if test -n "$PKG_CONFIG" && \
42562 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42563 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42564 ac_status=$?
42565 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42566 (exit $ac_status); }; then
42567 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42568 else
42569 pkg_failed=yes
42570 fi
42571 fi
42572 else
42573 pkg_failed=untried
42574 fi
42575
42576
42577
42578 if test $pkg_failed = yes; then
42579
42580 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42581 _pkg_short_errors_supported=yes
42582 else
42583 _pkg_short_errors_supported=no
42584 fi
42585 if test $_pkg_short_errors_supported = yes; then
42586 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42587 else
42588 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42589 fi
42590 # Put the nasty error message in config.log where it belongs
42591 echo "$GTKPRINT_PKG_ERRORS" >&5
42592
42593
42594 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42595 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42596 wxUSE_GTKPRINT="no"
42597
42598
42599 elif test $pkg_failed = untried; then
42600
42601 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42602 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42603 wxUSE_GTKPRINT="no"
42604
42605
42606 else
42607 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42608 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42609 { echo "$as_me:$LINENO: result: yes" >&5
42610 echo "${ECHO_T}yes" >&6; }
42611
42612 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42613 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42614 cat >>confdefs.h <<\_ACEOF
42615 #define wxUSE_GTKPRINT 1
42616 _ACEOF
42617
42618
42619 fi
42620 fi
42621
42622 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42623
42624
42625 pkg_failed=no
42626 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42627 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42628
42629 if test -n "$PKG_CONFIG"; then
42630 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42631 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42632 else
42633 if test -n "$PKG_CONFIG" && \
42634 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42635 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42636 ac_status=$?
42637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42638 (exit $ac_status); }; then
42639 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42640 else
42641 pkg_failed=yes
42642 fi
42643 fi
42644 else
42645 pkg_failed=untried
42646 fi
42647 if test -n "$PKG_CONFIG"; then
42648 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42649 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42650 else
42651 if test -n "$PKG_CONFIG" && \
42652 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42653 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42654 ac_status=$?
42655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42656 (exit $ac_status); }; then
42657 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42658 else
42659 pkg_failed=yes
42660 fi
42661 fi
42662 else
42663 pkg_failed=untried
42664 fi
42665
42666
42667
42668 if test $pkg_failed = yes; then
42669
42670 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42671 _pkg_short_errors_supported=yes
42672 else
42673 _pkg_short_errors_supported=no
42674 fi
42675 if test $_pkg_short_errors_supported = yes; then
42676 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42677 else
42678 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42679 fi
42680 # Put the nasty error message in config.log where it belongs
42681 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42682
42683
42684 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42685 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42686 wxUSE_LIBGNOMEPRINT="no"
42687
42688
42689 elif test $pkg_failed = untried; then
42690
42691 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42692 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42693 wxUSE_LIBGNOMEPRINT="no"
42694
42695
42696 else
42697 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42698 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42699 { echo "$as_me:$LINENO: result: yes" >&5
42700 echo "${ECHO_T}yes" >&6; }
42701
42702 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42703 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42704 cat >>confdefs.h <<\_ACEOF
42705 #define wxUSE_LIBGNOMEPRINT 1
42706 _ACEOF
42707
42708
42709 fi
42710 fi
42711 fi
42712
42713 if test "$wxUSE_MIMETYPE" = "yes" ; then
42714 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42715
42716
42717 pkg_failed=no
42718 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42719 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42720
42721 if test -n "$PKG_CONFIG"; then
42722 if test -n "$GNOMEVFS_CFLAGS"; then
42723 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42724 else
42725 if test -n "$PKG_CONFIG" && \
42726 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42727 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42728 ac_status=$?
42729 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42730 (exit $ac_status); }; then
42731 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42732 else
42733 pkg_failed=yes
42734 fi
42735 fi
42736 else
42737 pkg_failed=untried
42738 fi
42739 if test -n "$PKG_CONFIG"; then
42740 if test -n "$GNOMEVFS_LIBS"; then
42741 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42742 else
42743 if test -n "$PKG_CONFIG" && \
42744 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42745 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42746 ac_status=$?
42747 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42748 (exit $ac_status); }; then
42749 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42750 else
42751 pkg_failed=yes
42752 fi
42753 fi
42754 else
42755 pkg_failed=untried
42756 fi
42757
42758
42759
42760 if test $pkg_failed = yes; then
42761
42762 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42763 _pkg_short_errors_supported=yes
42764 else
42765 _pkg_short_errors_supported=no
42766 fi
42767 if test $_pkg_short_errors_supported = yes; then
42768 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42769 else
42770 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42771 fi
42772 # Put the nasty error message in config.log where it belongs
42773 echo "$GNOMEVFS_PKG_ERRORS" >&5
42774
42775
42776 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42777 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42778 wxUSE_LIBGNOMEVFS="no"
42779
42780
42781 elif test $pkg_failed = untried; then
42782
42783 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42784 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42785 wxUSE_LIBGNOMEVFS="no"
42786
42787
42788 else
42789 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42790 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42791 { echo "$as_me:$LINENO: result: yes" >&5
42792 echo "${ECHO_T}yes" >&6; }
42793
42794 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42795 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42796 cat >>confdefs.h <<\_ACEOF
42797 #define wxUSE_LIBGNOMEVFS 1
42798 _ACEOF
42799
42800
42801 fi
42802 fi
42803 fi
42804
42805 if test "$wxUSE_LIBHILDON" = "yes" ; then
42806
42807 pkg_failed=no
42808 { echo "$as_me:$LINENO: checking for HILDON" >&5
42809 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42810
42811 if test -n "$PKG_CONFIG"; then
42812 if test -n "$HILDON_CFLAGS"; then
42813 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42814 else
42815 if test -n "$PKG_CONFIG" && \
42816 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42817 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42818 ac_status=$?
42819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42820 (exit $ac_status); }; then
42821 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42822 else
42823 pkg_failed=yes
42824 fi
42825 fi
42826 else
42827 pkg_failed=untried
42828 fi
42829 if test -n "$PKG_CONFIG"; then
42830 if test -n "$HILDON_LIBS"; then
42831 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42832 else
42833 if test -n "$PKG_CONFIG" && \
42834 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42835 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42836 ac_status=$?
42837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42838 (exit $ac_status); }; then
42839 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42840 else
42841 pkg_failed=yes
42842 fi
42843 fi
42844 else
42845 pkg_failed=untried
42846 fi
42847
42848
42849
42850 if test $pkg_failed = yes; then
42851
42852 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42853 _pkg_short_errors_supported=yes
42854 else
42855 _pkg_short_errors_supported=no
42856 fi
42857 if test $_pkg_short_errors_supported = yes; then
42858 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42859 else
42860 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42861 fi
42862 # Put the nasty error message in config.log where it belongs
42863 echo "$HILDON_PKG_ERRORS" >&5
42864
42865
42866 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42867 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42868 wxUSE_LIBHILDON="no"
42869
42870
42871 elif test $pkg_failed = untried; then
42872
42873 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42874 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42875 wxUSE_LIBHILDON="no"
42876
42877
42878 else
42879 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42880 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42881 { echo "$as_me:$LINENO: result: yes" >&5
42882 echo "${ECHO_T}yes" >&6; }
42883
42884 EXTRALIBS_HILDON="$HILDON_LIBS"
42885 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42886 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42887 cat >>confdefs.h <<\_ACEOF
42888 #define wxUSE_LIBHILDON 1
42889 _ACEOF
42890
42891
42892 fi
42893 fi
42894 fi
42895
42896 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42897 cat >>confdefs.h <<\_ACEOF
42898 #define wxUSE_CMDLINE_PARSER 1
42899 _ACEOF
42900
42901 fi
42902
42903 if test "$wxUSE_STOPWATCH" = "yes"; then
42904 cat >>confdefs.h <<\_ACEOF
42905 #define wxUSE_STOPWATCH 1
42906 _ACEOF
42907
42908 fi
42909
42910 if test "$wxUSE_DATETIME" = "yes"; then
42911 cat >>confdefs.h <<\_ACEOF
42912 #define wxUSE_DATETIME 1
42913 _ACEOF
42914
42915 fi
42916
42917 if test "$wxUSE_FILE" = "yes"; then
42918 cat >>confdefs.h <<\_ACEOF
42919 #define wxUSE_FILE 1
42920 _ACEOF
42921
42922 fi
42923
42924 if test "$wxUSE_FFILE" = "yes"; then
42925 cat >>confdefs.h <<\_ACEOF
42926 #define wxUSE_FFILE 1
42927 _ACEOF
42928
42929 fi
42930
42931 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42932 if test "$wxUSE_STREAMS" != yes; then
42933 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42934 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42935 wxUSE_ARCHIVE_STREAMS=no
42936 else
42937 cat >>confdefs.h <<\_ACEOF
42938 #define wxUSE_ARCHIVE_STREAMS 1
42939 _ACEOF
42940
42941 fi
42942 fi
42943
42944 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42945 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42946 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42947 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42948 elif test "$wxUSE_ZLIB" = "no"; then
42949 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42950 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42951 else
42952 cat >>confdefs.h <<\_ACEOF
42953 #define wxUSE_ZIPSTREAM 1
42954 _ACEOF
42955
42956 fi
42957 fi
42958
42959 if test "$wxUSE_TARSTREAM" = "yes"; then
42960 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42961 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42962 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42963 else
42964 cat >>confdefs.h <<\_ACEOF
42965 #define wxUSE_TARSTREAM 1
42966 _ACEOF
42967
42968 fi
42969 fi
42970
42971 if test "$wxUSE_FILESYSTEM" = "yes"; then
42972 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42973 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42974 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42975 wxUSE_FILESYSTEM=no
42976 else
42977 cat >>confdefs.h <<\_ACEOF
42978 #define wxUSE_FILESYSTEM 1
42979 _ACEOF
42980
42981 fi
42982 fi
42983
42984 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42985 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42986 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42987 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42988 else
42989 cat >>confdefs.h <<\_ACEOF
42990 #define wxUSE_FS_ARCHIVE 1
42991 _ACEOF
42992
42993 fi
42994 fi
42995
42996 if test "$wxUSE_FS_ZIP" = "yes"; then
42997 if test "$wxUSE_FS_ARCHIVE" != yes; then
42998 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42999 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
43000 else
43001 cat >>confdefs.h <<\_ACEOF
43002 #define wxUSE_FS_ZIP 1
43003 _ACEOF
43004
43005 fi
43006 fi
43007
43008 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43009 if test "$USE_UNIX" != 1; then
43010 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
43011 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
43012 wxUSE_ON_FATAL_EXCEPTION=no
43013 else
43014 cat >>confdefs.h <<\_ACEOF
43015 #define wxUSE_ON_FATAL_EXCEPTION 1
43016 _ACEOF
43017
43018 fi
43019 fi
43020
43021 if test "$wxUSE_STACKWALKER" = "yes"; then
43022 cat >>confdefs.h <<\_ACEOF
43023 #define wxUSE_STACKWALKER 1
43024 _ACEOF
43025
43026 fi
43027
43028 if test "$wxUSE_DEBUGREPORT" = "yes"; then
43029 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
43030 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
43031 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
43032 wxUSE_DEBUGREPORT=no
43033 else
43034 cat >>confdefs.h <<\_ACEOF
43035 #define wxUSE_DEBUGREPORT 1
43036 _ACEOF
43037
43038 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
43039 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
43040 fi
43041 fi
43042 fi
43043
43044 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
43045 cat >>confdefs.h <<\_ACEOF
43046 #define wxUSE_SNGLINST_CHECKER 1
43047 _ACEOF
43048
43049 fi
43050
43051 if test "$wxUSE_BUSYINFO" = "yes"; then
43052 cat >>confdefs.h <<\_ACEOF
43053 #define wxUSE_BUSYINFO 1
43054 _ACEOF
43055
43056 fi
43057
43058 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
43059 cat >>confdefs.h <<\_ACEOF
43060 #define wxUSE_STD_IOSTREAM 1
43061 _ACEOF
43062
43063 fi
43064
43065 if test "$wxUSE_STD_STRING" = "yes"; then
43066 cat >>confdefs.h <<\_ACEOF
43067 #define wxUSE_STD_STRING 1
43068 _ACEOF
43069
43070 fi
43071
43072 if test "$wxUSE_STDPATHS" = "yes"; then
43073 cat >>confdefs.h <<\_ACEOF
43074 #define wxUSE_STDPATHS 1
43075 _ACEOF
43076
43077 fi
43078
43079 if test "$wxUSE_TEXTBUFFER" = "yes"; then
43080 cat >>confdefs.h <<\_ACEOF
43081 #define wxUSE_TEXTBUFFER 1
43082 _ACEOF
43083
43084 fi
43085
43086 if test "$wxUSE_TEXTFILE" = "yes"; then
43087 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
43088 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
43089 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
43090 else
43091 cat >>confdefs.h <<\_ACEOF
43092 #define wxUSE_TEXTFILE 1
43093 _ACEOF
43094
43095 fi
43096 fi
43097
43098 if test "$wxUSE_CONFIG" = "yes" ; then
43099 if test "$wxUSE_TEXTFILE" != "yes"; then
43100 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
43101 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
43102 else
43103 cat >>confdefs.h <<\_ACEOF
43104 #define wxUSE_CONFIG 1
43105 _ACEOF
43106
43107 cat >>confdefs.h <<\_ACEOF
43108 #define wxUSE_CONFIG_NATIVE 1
43109 _ACEOF
43110
43111 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
43112 fi
43113 fi
43114
43115 if test "$wxUSE_INTL" = "yes" ; then
43116 if test "$wxUSE_FILE" != "yes"; then
43117 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
43118 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
43119 else
43120 cat >>confdefs.h <<\_ACEOF
43121 #define wxUSE_INTL 1
43122 _ACEOF
43123
43124 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
43125 GUIDIST="$GUIDIST INTL_DIST"
43126 fi
43127 fi
43128
43129 if test "$wxUSE_XLOCALE" == "yes" ; then
43130 cat >>confdefs.h <<\_ACEOF
43131 #define wxUSE_XLOCALE 1
43132 _ACEOF
43133
43134 { echo "$as_me:$LINENO: checking for locale_t" >&5
43135 echo $ECHO_N "checking for locale_t... $ECHO_C" >&6; }
43136 if test "${ac_cv_type_locale_t+set}" = set; then
43137 echo $ECHO_N "(cached) $ECHO_C" >&6
43138 else
43139 cat >conftest.$ac_ext <<_ACEOF
43140 /* confdefs.h. */
43141 _ACEOF
43142 cat confdefs.h >>conftest.$ac_ext
43143 cat >>conftest.$ac_ext <<_ACEOF
43144 /* end confdefs.h. */
43145 #include <xlocale.h>
43146 #include <locale.h>
43147
43148 typedef locale_t ac__type_new_;
43149 int
43150 main ()
43151 {
43152 if ((ac__type_new_ *) 0)
43153 return 0;
43154 if (sizeof (ac__type_new_))
43155 return 0;
43156 ;
43157 return 0;
43158 }
43159 _ACEOF
43160 rm -f conftest.$ac_objext
43161 if { (ac_try="$ac_compile"
43162 case "(($ac_try" in
43163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43164 *) ac_try_echo=$ac_try;;
43165 esac
43166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43167 (eval "$ac_compile") 2>conftest.er1
43168 ac_status=$?
43169 grep -v '^ *+' conftest.er1 >conftest.err
43170 rm -f conftest.er1
43171 cat conftest.err >&5
43172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43173 (exit $ac_status); } && {
43174 test -z "$ac_c_werror_flag" ||
43175 test ! -s conftest.err
43176 } && test -s conftest.$ac_objext; then
43177 ac_cv_type_locale_t=yes
43178 else
43179 echo "$as_me: failed program was:" >&5
43180 sed 's/^/| /' conftest.$ac_ext >&5
43181
43182 ac_cv_type_locale_t=no
43183 fi
43184
43185 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43186 fi
43187 { echo "$as_me:$LINENO: result: $ac_cv_type_locale_t" >&5
43188 echo "${ECHO_T}$ac_cv_type_locale_t" >&6; }
43189 if test $ac_cv_type_locale_t = yes; then
43190
43191 cat >>confdefs.h <<_ACEOF
43192 #define HAVE_LOCALE_T 1
43193 _ACEOF
43194
43195
43196 fi
43197
43198 fi
43199
43200 if test "$wxUSE_LOG" = "yes"; then
43201 cat >>confdefs.h <<\_ACEOF
43202 #define wxUSE_LOG 1
43203 _ACEOF
43204
43205
43206 if test "$wxUSE_LOGGUI" = "yes"; then
43207 cat >>confdefs.h <<\_ACEOF
43208 #define wxUSE_LOGGUI 1
43209 _ACEOF
43210
43211 fi
43212
43213 if test "$wxUSE_LOGWINDOW" = "yes"; then
43214 cat >>confdefs.h <<\_ACEOF
43215 #define wxUSE_LOGWINDOW 1
43216 _ACEOF
43217
43218 fi
43219
43220 if test "$wxUSE_LOGDIALOG" = "yes"; then
43221 cat >>confdefs.h <<\_ACEOF
43222 #define wxUSE_LOG_DIALOG 1
43223 _ACEOF
43224
43225 fi
43226
43227 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
43228 fi
43229
43230 if test "$wxUSE_LONGLONG" = "yes"; then
43231 cat >>confdefs.h <<\_ACEOF
43232 #define wxUSE_LONGLONG 1
43233 _ACEOF
43234
43235 fi
43236
43237 if test "$wxUSE_GEOMETRY" = "yes"; then
43238 cat >>confdefs.h <<\_ACEOF
43239 #define wxUSE_GEOMETRY 1
43240 _ACEOF
43241
43242 fi
43243
43244 if test "$wxUSE_BASE64" = "yes"; then
43245 cat >>confdefs.h <<\_ACEOF
43246 #define wxUSE_BASE64 1
43247 _ACEOF
43248
43249 fi
43250
43251 if test "$wxUSE_STREAMS" = "yes" ; then
43252 cat >>confdefs.h <<\_ACEOF
43253 #define wxUSE_STREAMS 1
43254 _ACEOF
43255
43256 fi
43257
43258 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
43259 cat >>confdefs.h <<\_ACEOF
43260 #define wxUSE_PRINTF_POS_PARAMS 1
43261 _ACEOF
43262
43263 fi
43264
43265 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
43266 cat >>confdefs.h <<\_ACEOF
43267 #define wxUSE_OBJC_UNIQUIFYING 1
43268 _ACEOF
43269
43270 fi
43271
43272
43273 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
43274 cat >>confdefs.h <<\_ACEOF
43275 #define wxUSE_CONSOLE_EVENTLOOP 1
43276 _ACEOF
43277
43278
43279 if test "$wxUSE_UNIX" = "yes"; then
43280 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
43281 cat >>confdefs.h <<\_ACEOF
43282 #define wxUSE_SELECT_DISPATCHER 1
43283 _ACEOF
43284
43285 fi
43286
43287 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
43288
43289 for ac_header in sys/epoll.h
43290 do
43291 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
43292 { echo "$as_me:$LINENO: checking for $ac_header" >&5
43293 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
43294 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
43295 echo $ECHO_N "(cached) $ECHO_C" >&6
43296 else
43297 cat >conftest.$ac_ext <<_ACEOF
43298 /* confdefs.h. */
43299 _ACEOF
43300 cat confdefs.h >>conftest.$ac_ext
43301 cat >>conftest.$ac_ext <<_ACEOF
43302 /* end confdefs.h. */
43303 $ac_includes_default
43304
43305 #include <$ac_header>
43306 _ACEOF
43307 rm -f conftest.$ac_objext
43308 if { (ac_try="$ac_compile"
43309 case "(($ac_try" in
43310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43311 *) ac_try_echo=$ac_try;;
43312 esac
43313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43314 (eval "$ac_compile") 2>conftest.er1
43315 ac_status=$?
43316 grep -v '^ *+' conftest.er1 >conftest.err
43317 rm -f conftest.er1
43318 cat conftest.err >&5
43319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43320 (exit $ac_status); } && {
43321 test -z "$ac_c_werror_flag" ||
43322 test ! -s conftest.err
43323 } && test -s conftest.$ac_objext; then
43324 eval "$as_ac_Header=yes"
43325 else
43326 echo "$as_me: failed program was:" >&5
43327 sed 's/^/| /' conftest.$ac_ext >&5
43328
43329 eval "$as_ac_Header=no"
43330 fi
43331
43332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43333 fi
43334 ac_res=`eval echo '${'$as_ac_Header'}'`
43335 { echo "$as_me:$LINENO: result: $ac_res" >&5
43336 echo "${ECHO_T}$ac_res" >&6; }
43337 if test `eval echo '${'$as_ac_Header'}'` = yes; then
43338 cat >>confdefs.h <<_ACEOF
43339 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
43340 _ACEOF
43341
43342 fi
43343
43344 done
43345
43346 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
43347 cat >>confdefs.h <<\_ACEOF
43348 #define wxUSE_EPOLL_DISPATCHER 1
43349 _ACEOF
43350
43351 else
43352 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
43353 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
43354 fi
43355 fi
43356 fi
43357 fi
43358
43359
43360
43361
43362 for ac_func in gettimeofday ftime
43363 do
43364 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43365 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43366 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43367 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43368 echo $ECHO_N "(cached) $ECHO_C" >&6
43369 else
43370 cat >conftest.$ac_ext <<_ACEOF
43371 /* confdefs.h. */
43372 _ACEOF
43373 cat confdefs.h >>conftest.$ac_ext
43374 cat >>conftest.$ac_ext <<_ACEOF
43375 /* end confdefs.h. */
43376 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43377 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43378 #define $ac_func innocuous_$ac_func
43379
43380 /* System header to define __stub macros and hopefully few prototypes,
43381 which can conflict with char $ac_func (); below.
43382 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43383 <limits.h> exists even on freestanding compilers. */
43384
43385 #ifdef __STDC__
43386 # include <limits.h>
43387 #else
43388 # include <assert.h>
43389 #endif
43390
43391 #undef $ac_func
43392
43393 /* Override any GCC internal prototype to avoid an error.
43394 Use char because int might match the return type of a GCC
43395 builtin and then its argument prototype would still apply. */
43396 #ifdef __cplusplus
43397 extern "C"
43398 #endif
43399 char $ac_func ();
43400 /* The GNU C library defines this for functions which it implements
43401 to always fail with ENOSYS. Some functions are actually named
43402 something starting with __ and the normal name is an alias. */
43403 #if defined __stub_$ac_func || defined __stub___$ac_func
43404 choke me
43405 #endif
43406
43407 int
43408 main ()
43409 {
43410 return $ac_func ();
43411 ;
43412 return 0;
43413 }
43414 _ACEOF
43415 rm -f conftest.$ac_objext conftest$ac_exeext
43416 if { (ac_try="$ac_link"
43417 case "(($ac_try" in
43418 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43419 *) ac_try_echo=$ac_try;;
43420 esac
43421 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43422 (eval "$ac_link") 2>conftest.er1
43423 ac_status=$?
43424 grep -v '^ *+' conftest.er1 >conftest.err
43425 rm -f conftest.er1
43426 cat conftest.err >&5
43427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43428 (exit $ac_status); } && {
43429 test -z "$ac_c_werror_flag" ||
43430 test ! -s conftest.err
43431 } && test -s conftest$ac_exeext &&
43432 $as_test_x conftest$ac_exeext; then
43433 eval "$as_ac_var=yes"
43434 else
43435 echo "$as_me: failed program was:" >&5
43436 sed 's/^/| /' conftest.$ac_ext >&5
43437
43438 eval "$as_ac_var=no"
43439 fi
43440
43441 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43442 conftest$ac_exeext conftest.$ac_ext
43443 fi
43444 ac_res=`eval echo '${'$as_ac_var'}'`
43445 { echo "$as_me:$LINENO: result: $ac_res" >&5
43446 echo "${ECHO_T}$ac_res" >&6; }
43447 if test `eval echo '${'$as_ac_var'}'` = yes; then
43448 cat >>confdefs.h <<_ACEOF
43449 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43450 _ACEOF
43451 break
43452 fi
43453 done
43454
43455
43456 if test "$ac_cv_func_gettimeofday" = "yes"; then
43457 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
43458 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
43459 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
43460 echo $ECHO_N "(cached) $ECHO_C" >&6
43461 else
43462
43463 cat >conftest.$ac_ext <<_ACEOF
43464 /* confdefs.h. */
43465 _ACEOF
43466 cat confdefs.h >>conftest.$ac_ext
43467 cat >>conftest.$ac_ext <<_ACEOF
43468 /* end confdefs.h. */
43469
43470 #include <sys/time.h>
43471 #include <unistd.h>
43472
43473 int
43474 main ()
43475 {
43476
43477 struct timeval tv;
43478 gettimeofday(&tv, NULL);
43479
43480 ;
43481 return 0;
43482 }
43483 _ACEOF
43484 rm -f conftest.$ac_objext
43485 if { (ac_try="$ac_compile"
43486 case "(($ac_try" in
43487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43488 *) ac_try_echo=$ac_try;;
43489 esac
43490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43491 (eval "$ac_compile") 2>conftest.er1
43492 ac_status=$?
43493 grep -v '^ *+' conftest.er1 >conftest.err
43494 rm -f conftest.er1
43495 cat conftest.err >&5
43496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43497 (exit $ac_status); } && {
43498 test -z "$ac_c_werror_flag" ||
43499 test ! -s conftest.err
43500 } && test -s conftest.$ac_objext; then
43501 wx_cv_func_gettimeofday_has_2_args=yes
43502 else
43503 echo "$as_me: failed program was:" >&5
43504 sed 's/^/| /' conftest.$ac_ext >&5
43505
43506 cat >conftest.$ac_ext <<_ACEOF
43507 /* confdefs.h. */
43508 _ACEOF
43509 cat confdefs.h >>conftest.$ac_ext
43510 cat >>conftest.$ac_ext <<_ACEOF
43511 /* end confdefs.h. */
43512
43513 #include <sys/time.h>
43514 #include <unistd.h>
43515
43516 int
43517 main ()
43518 {
43519
43520 struct timeval tv;
43521 gettimeofday(&tv);
43522
43523 ;
43524 return 0;
43525 }
43526 _ACEOF
43527 rm -f conftest.$ac_objext
43528 if { (ac_try="$ac_compile"
43529 case "(($ac_try" in
43530 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43531 *) ac_try_echo=$ac_try;;
43532 esac
43533 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43534 (eval "$ac_compile") 2>conftest.er1
43535 ac_status=$?
43536 grep -v '^ *+' conftest.er1 >conftest.err
43537 rm -f conftest.er1
43538 cat conftest.err >&5
43539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43540 (exit $ac_status); } && {
43541 test -z "$ac_c_werror_flag" ||
43542 test ! -s conftest.err
43543 } && test -s conftest.$ac_objext; then
43544 wx_cv_func_gettimeofday_has_2_args=no
43545 else
43546 echo "$as_me: failed program was:" >&5
43547 sed 's/^/| /' conftest.$ac_ext >&5
43548
43549
43550 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43551 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43552 wx_cv_func_gettimeofday_has_2_args=unknown
43553
43554
43555 fi
43556
43557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43558
43559 fi
43560
43561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43562
43563 fi
43564 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43565 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43566
43567 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43568 cat >>confdefs.h <<\_ACEOF
43569 #define WX_GETTIMEOFDAY_NO_TZ 1
43570 _ACEOF
43571
43572 fi
43573 fi
43574
43575 if test "$wxUSE_DATETIME" = "yes"; then
43576 { echo "$as_me:$LINENO: checking for strptime" >&5
43577 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43578 if test "${ac_cv_func_strptime+set}" = set; then
43579 echo $ECHO_N "(cached) $ECHO_C" >&6
43580 else
43581 cat >conftest.$ac_ext <<_ACEOF
43582 /* confdefs.h. */
43583 _ACEOF
43584 cat confdefs.h >>conftest.$ac_ext
43585 cat >>conftest.$ac_ext <<_ACEOF
43586 /* end confdefs.h. */
43587 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43588 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43589 #define strptime innocuous_strptime
43590
43591 /* System header to define __stub macros and hopefully few prototypes,
43592 which can conflict with char strptime (); below.
43593 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43594 <limits.h> exists even on freestanding compilers. */
43595
43596 #ifdef __STDC__
43597 # include <limits.h>
43598 #else
43599 # include <assert.h>
43600 #endif
43601
43602 #undef strptime
43603
43604 /* Override any GCC internal prototype to avoid an error.
43605 Use char because int might match the return type of a GCC
43606 builtin and then its argument prototype would still apply. */
43607 #ifdef __cplusplus
43608 extern "C"
43609 #endif
43610 char strptime ();
43611 /* The GNU C library defines this for functions which it implements
43612 to always fail with ENOSYS. Some functions are actually named
43613 something starting with __ and the normal name is an alias. */
43614 #if defined __stub_strptime || defined __stub___strptime
43615 choke me
43616 #endif
43617
43618 int
43619 main ()
43620 {
43621 return strptime ();
43622 ;
43623 return 0;
43624 }
43625 _ACEOF
43626 rm -f conftest.$ac_objext conftest$ac_exeext
43627 if { (ac_try="$ac_link"
43628 case "(($ac_try" in
43629 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43630 *) ac_try_echo=$ac_try;;
43631 esac
43632 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43633 (eval "$ac_link") 2>conftest.er1
43634 ac_status=$?
43635 grep -v '^ *+' conftest.er1 >conftest.err
43636 rm -f conftest.er1
43637 cat conftest.err >&5
43638 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43639 (exit $ac_status); } && {
43640 test -z "$ac_c_werror_flag" ||
43641 test ! -s conftest.err
43642 } && test -s conftest$ac_exeext &&
43643 $as_test_x conftest$ac_exeext; then
43644 ac_cv_func_strptime=yes
43645 else
43646 echo "$as_me: failed program was:" >&5
43647 sed 's/^/| /' conftest.$ac_ext >&5
43648
43649 ac_cv_func_strptime=no
43650 fi
43651
43652 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43653 conftest$ac_exeext conftest.$ac_ext
43654 fi
43655 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43656 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43657
43658 if test "$ac_cv_func_strptime" = "yes"; then
43659 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43660 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43661 if test "${wx_cv_func_strptime_decl+set}" = set; then
43662 echo $ECHO_N "(cached) $ECHO_C" >&6
43663 else
43664
43665 ac_ext=cpp
43666 ac_cpp='$CXXCPP $CPPFLAGS'
43667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43670
43671 cat >conftest.$ac_ext <<_ACEOF
43672 /* confdefs.h. */
43673 _ACEOF
43674 cat confdefs.h >>conftest.$ac_ext
43675 cat >>conftest.$ac_ext <<_ACEOF
43676 /* end confdefs.h. */
43677
43678 #include <time.h>
43679
43680 int
43681 main ()
43682 {
43683
43684 struct tm t;
43685 strptime("foo", "bar", &t);
43686
43687 ;
43688 return 0;
43689 }
43690 _ACEOF
43691 rm -f conftest.$ac_objext
43692 if { (ac_try="$ac_compile"
43693 case "(($ac_try" in
43694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43695 *) ac_try_echo=$ac_try;;
43696 esac
43697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43698 (eval "$ac_compile") 2>conftest.er1
43699 ac_status=$?
43700 grep -v '^ *+' conftest.er1 >conftest.err
43701 rm -f conftest.er1
43702 cat conftest.err >&5
43703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43704 (exit $ac_status); } && {
43705 test -z "$ac_cxx_werror_flag" ||
43706 test ! -s conftest.err
43707 } && test -s conftest.$ac_objext; then
43708 wx_cv_func_strptime_decl=yes
43709 else
43710 echo "$as_me: failed program was:" >&5
43711 sed 's/^/| /' conftest.$ac_ext >&5
43712
43713 wx_cv_func_strptime_decl=no
43714
43715 fi
43716
43717 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43718 ac_ext=c
43719 ac_cpp='$CPP $CPPFLAGS'
43720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43723
43724
43725
43726 fi
43727 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43728 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43729 fi
43730 if test "$wx_cv_func_strptime_decl" = "yes"; then
43731 cat >>confdefs.h <<\_ACEOF
43732 #define HAVE_STRPTIME_DECL 1
43733 _ACEOF
43734
43735 else
43736 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43737 fi
43738 if test "$ac_cv_func_strptime" = "yes"; then
43739 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43740 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43741 if test "${wx_cv_func_strptime_ok+set}" = set; then
43742 echo $ECHO_N "(cached) $ECHO_C" >&6
43743 else
43744 if test "$cross_compiling" = yes; then
43745 wx_cv_func_strptime_ok=no
43746
43747 else
43748 cat >conftest.$ac_ext <<_ACEOF
43749
43750 #include <stdlib.h>
43751 #include <time.h>
43752 #include "confdefs.h"
43753
43754 $wx_strptime_decl
43755
43756 int main()
43757 {
43758 struct tm t;
43759 return !!strptime("", "%x", &t);
43760 }
43761
43762 _ACEOF
43763 rm -f conftest$ac_exeext
43764 if { (ac_try="$ac_link"
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_link") 2>&5
43771 ac_status=$?
43772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43773 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43774 { (case "(($ac_try" in
43775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43776 *) ac_try_echo=$ac_try;;
43777 esac
43778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43779 (eval "$ac_try") 2>&5
43780 ac_status=$?
43781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43782 (exit $ac_status); }; }; then
43783 wx_cv_func_strptime_ok=yes
43784 else
43785 echo "$as_me: program exited with status $ac_status" >&5
43786 echo "$as_me: failed program was:" >&5
43787 sed 's/^/| /' conftest.$ac_ext >&5
43788
43789 ( exit $ac_status )
43790 wx_cv_func_strptime_ok=no
43791 fi
43792 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43793 fi
43794
43795
43796
43797 fi
43798 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43799 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43800
43801 if test "$wx_cv_func_strptime_ok" = "yes"; then
43802 cat >>confdefs.h <<\_ACEOF
43803 #define HAVE_STRPTIME 1
43804 _ACEOF
43805
43806 fi
43807 fi
43808
43809 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43810 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43811 if test "${wx_cv_var_timezone+set}" = set; then
43812 echo $ECHO_N "(cached) $ECHO_C" >&6
43813 else
43814
43815 ac_ext=cpp
43816 ac_cpp='$CXXCPP $CPPFLAGS'
43817 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43818 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43819 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43820
43821 cat >conftest.$ac_ext <<_ACEOF
43822 /* confdefs.h. */
43823 _ACEOF
43824 cat confdefs.h >>conftest.$ac_ext
43825 cat >>conftest.$ac_ext <<_ACEOF
43826 /* end confdefs.h. */
43827
43828 #include <time.h>
43829
43830 int
43831 main ()
43832 {
43833
43834 int tz;
43835 tz = timezone;
43836
43837 ;
43838 return 0;
43839 }
43840 _ACEOF
43841 rm -f conftest.$ac_objext
43842 if { (ac_try="$ac_compile"
43843 case "(($ac_try" in
43844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43845 *) ac_try_echo=$ac_try;;
43846 esac
43847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43848 (eval "$ac_compile") 2>conftest.er1
43849 ac_status=$?
43850 grep -v '^ *+' conftest.er1 >conftest.err
43851 rm -f conftest.er1
43852 cat conftest.err >&5
43853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43854 (exit $ac_status); } && {
43855 test -z "$ac_cxx_werror_flag" ||
43856 test ! -s conftest.err
43857 } && test -s conftest.$ac_objext; then
43858
43859 wx_cv_var_timezone=timezone
43860
43861 else
43862 echo "$as_me: failed program was:" >&5
43863 sed 's/^/| /' conftest.$ac_ext >&5
43864
43865
43866 cat >conftest.$ac_ext <<_ACEOF
43867 /* confdefs.h. */
43868 _ACEOF
43869 cat confdefs.h >>conftest.$ac_ext
43870 cat >>conftest.$ac_ext <<_ACEOF
43871 /* end confdefs.h. */
43872
43873 #include <time.h>
43874
43875 int
43876 main ()
43877 {
43878
43879 int tz;
43880 tz = _timezone;
43881
43882 ;
43883 return 0;
43884 }
43885 _ACEOF
43886 rm -f conftest.$ac_objext
43887 if { (ac_try="$ac_compile"
43888 case "(($ac_try" in
43889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43890 *) ac_try_echo=$ac_try;;
43891 esac
43892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43893 (eval "$ac_compile") 2>conftest.er1
43894 ac_status=$?
43895 grep -v '^ *+' conftest.er1 >conftest.err
43896 rm -f conftest.er1
43897 cat conftest.err >&5
43898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43899 (exit $ac_status); } && {
43900 test -z "$ac_cxx_werror_flag" ||
43901 test ! -s conftest.err
43902 } && test -s conftest.$ac_objext; then
43903
43904 wx_cv_var_timezone=_timezone
43905
43906 else
43907 echo "$as_me: failed program was:" >&5
43908 sed 's/^/| /' conftest.$ac_ext >&5
43909
43910
43911 cat >conftest.$ac_ext <<_ACEOF
43912 /* confdefs.h. */
43913 _ACEOF
43914 cat confdefs.h >>conftest.$ac_ext
43915 cat >>conftest.$ac_ext <<_ACEOF
43916 /* end confdefs.h. */
43917
43918 #include <time.h>
43919
43920 int
43921 main ()
43922 {
43923
43924 int tz;
43925 tz = __timezone;
43926
43927 ;
43928 return 0;
43929 }
43930 _ACEOF
43931 rm -f conftest.$ac_objext
43932 if { (ac_try="$ac_compile"
43933 case "(($ac_try" in
43934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43935 *) ac_try_echo=$ac_try;;
43936 esac
43937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43938 (eval "$ac_compile") 2>conftest.er1
43939 ac_status=$?
43940 grep -v '^ *+' conftest.er1 >conftest.err
43941 rm -f conftest.er1
43942 cat conftest.err >&5
43943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43944 (exit $ac_status); } && {
43945 test -z "$ac_cxx_werror_flag" ||
43946 test ! -s conftest.err
43947 } && test -s conftest.$ac_objext; then
43948
43949 wx_cv_var_timezone=__timezone
43950
43951 else
43952 echo "$as_me: failed program was:" >&5
43953 sed 's/^/| /' conftest.$ac_ext >&5
43954
43955
43956 if test "$USE_DOS" = 0 ; then
43957 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43958 echo "$as_me: WARNING: no timezone variable" >&2;}
43959 fi
43960
43961
43962 fi
43963
43964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43965
43966
43967 fi
43968
43969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43970
43971
43972 fi
43973
43974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43975 ac_ext=c
43976 ac_cpp='$CPP $CPPFLAGS'
43977 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43978 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43979 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43980
43981
43982
43983 fi
43984 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43985 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43986
43987 if test "x$wx_cv_var_timezone" != x ; then
43988 cat >>confdefs.h <<_ACEOF
43989 #define WX_TIMEZONE $wx_cv_var_timezone
43990 _ACEOF
43991
43992 fi
43993
43994
43995 for ac_func in localtime
43996 do
43997 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43998 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43999 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
44000 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
44001 echo $ECHO_N "(cached) $ECHO_C" >&6
44002 else
44003 cat >conftest.$ac_ext <<_ACEOF
44004 /* confdefs.h. */
44005 _ACEOF
44006 cat confdefs.h >>conftest.$ac_ext
44007 cat >>conftest.$ac_ext <<_ACEOF
44008 /* end confdefs.h. */
44009 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
44010 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44011 #define $ac_func innocuous_$ac_func
44012
44013 /* System header to define __stub macros and hopefully few prototypes,
44014 which can conflict with char $ac_func (); below.
44015 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44016 <limits.h> exists even on freestanding compilers. */
44017
44018 #ifdef __STDC__
44019 # include <limits.h>
44020 #else
44021 # include <assert.h>
44022 #endif
44023
44024 #undef $ac_func
44025
44026 /* Override any GCC internal prototype to avoid an error.
44027 Use char because int might match the return type of a GCC
44028 builtin and then its argument prototype would still apply. */
44029 #ifdef __cplusplus
44030 extern "C"
44031 #endif
44032 char $ac_func ();
44033 /* The GNU C library defines this for functions which it implements
44034 to always fail with ENOSYS. Some functions are actually named
44035 something starting with __ and the normal name is an alias. */
44036 #if defined __stub_$ac_func || defined __stub___$ac_func
44037 choke me
44038 #endif
44039
44040 int
44041 main ()
44042 {
44043 return $ac_func ();
44044 ;
44045 return 0;
44046 }
44047 _ACEOF
44048 rm -f conftest.$ac_objext conftest$ac_exeext
44049 if { (ac_try="$ac_link"
44050 case "(($ac_try" in
44051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44052 *) ac_try_echo=$ac_try;;
44053 esac
44054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44055 (eval "$ac_link") 2>conftest.er1
44056 ac_status=$?
44057 grep -v '^ *+' conftest.er1 >conftest.err
44058 rm -f conftest.er1
44059 cat conftest.err >&5
44060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44061 (exit $ac_status); } && {
44062 test -z "$ac_c_werror_flag" ||
44063 test ! -s conftest.err
44064 } && test -s conftest$ac_exeext &&
44065 $as_test_x conftest$ac_exeext; then
44066 eval "$as_ac_var=yes"
44067 else
44068 echo "$as_me: failed program was:" >&5
44069 sed 's/^/| /' conftest.$ac_ext >&5
44070
44071 eval "$as_ac_var=no"
44072 fi
44073
44074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44075 conftest$ac_exeext conftest.$ac_ext
44076 fi
44077 ac_res=`eval echo '${'$as_ac_var'}'`
44078 { echo "$as_me:$LINENO: result: $ac_res" >&5
44079 echo "${ECHO_T}$ac_res" >&6; }
44080 if test `eval echo '${'$as_ac_var'}'` = yes; then
44081 cat >>confdefs.h <<_ACEOF
44082 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
44083 _ACEOF
44084
44085 fi
44086 done
44087
44088
44089 if test "$ac_cv_func_localtime" = "yes"; then
44090 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
44091 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
44092 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
44093 echo $ECHO_N "(cached) $ECHO_C" >&6
44094 else
44095
44096 cat >conftest.$ac_ext <<_ACEOF
44097 /* confdefs.h. */
44098 _ACEOF
44099 cat confdefs.h >>conftest.$ac_ext
44100 cat >>conftest.$ac_ext <<_ACEOF
44101 /* end confdefs.h. */
44102
44103 #include <time.h>
44104
44105 int
44106 main ()
44107 {
44108
44109 struct tm tm;
44110 tm.tm_gmtoff++;
44111
44112 ;
44113 return 0;
44114 }
44115 _ACEOF
44116 rm -f conftest.$ac_objext
44117 if { (ac_try="$ac_compile"
44118 case "(($ac_try" in
44119 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44120 *) ac_try_echo=$ac_try;;
44121 esac
44122 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44123 (eval "$ac_compile") 2>conftest.er1
44124 ac_status=$?
44125 grep -v '^ *+' conftest.er1 >conftest.err
44126 rm -f conftest.er1
44127 cat conftest.err >&5
44128 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44129 (exit $ac_status); } && {
44130 test -z "$ac_c_werror_flag" ||
44131 test ! -s conftest.err
44132 } && test -s conftest.$ac_objext; then
44133
44134 wx_cv_struct_tm_has_gmtoff=yes
44135
44136 else
44137 echo "$as_me: failed program was:" >&5
44138 sed 's/^/| /' conftest.$ac_ext >&5
44139
44140 wx_cv_struct_tm_has_gmtoff=no
44141
44142 fi
44143
44144 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44145
44146 fi
44147 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
44148 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
44149 fi
44150
44151 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
44152 cat >>confdefs.h <<\_ACEOF
44153 #define WX_GMTOFF_IN_TM 1
44154 _ACEOF
44155
44156 fi
44157
44158 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
44159 fi
44160
44161
44162 if test "$wxUSE_SOCKETS" = "yes"; then
44163 if test "$wxUSE_MGL" = 1; then
44164 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
44165 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
44166 wxUSE_SOCKETS="no"
44167 fi
44168 fi
44169
44170 if test "$wxUSE_SOCKETS" = "yes"; then
44171 if test "$TOOLKIT" != "MSW"; then
44172 { echo "$as_me:$LINENO: checking for socket" >&5
44173 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
44174 if test "${ac_cv_func_socket+set}" = set; then
44175 echo $ECHO_N "(cached) $ECHO_C" >&6
44176 else
44177 cat >conftest.$ac_ext <<_ACEOF
44178 /* confdefs.h. */
44179 _ACEOF
44180 cat confdefs.h >>conftest.$ac_ext
44181 cat >>conftest.$ac_ext <<_ACEOF
44182 /* end confdefs.h. */
44183 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
44184 For example, HP-UX 11i <limits.h> declares gettimeofday. */
44185 #define socket innocuous_socket
44186
44187 /* System header to define __stub macros and hopefully few prototypes,
44188 which can conflict with char socket (); below.
44189 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
44190 <limits.h> exists even on freestanding compilers. */
44191
44192 #ifdef __STDC__
44193 # include <limits.h>
44194 #else
44195 # include <assert.h>
44196 #endif
44197
44198 #undef socket
44199
44200 /* Override any GCC internal prototype to avoid an error.
44201 Use char because int might match the return type of a GCC
44202 builtin and then its argument prototype would still apply. */
44203 #ifdef __cplusplus
44204 extern "C"
44205 #endif
44206 char socket ();
44207 /* The GNU C library defines this for functions which it implements
44208 to always fail with ENOSYS. Some functions are actually named
44209 something starting with __ and the normal name is an alias. */
44210 #if defined __stub_socket || defined __stub___socket
44211 choke me
44212 #endif
44213
44214 int
44215 main ()
44216 {
44217 return socket ();
44218 ;
44219 return 0;
44220 }
44221 _ACEOF
44222 rm -f conftest.$ac_objext conftest$ac_exeext
44223 if { (ac_try="$ac_link"
44224 case "(($ac_try" in
44225 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44226 *) ac_try_echo=$ac_try;;
44227 esac
44228 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44229 (eval "$ac_link") 2>conftest.er1
44230 ac_status=$?
44231 grep -v '^ *+' conftest.er1 >conftest.err
44232 rm -f conftest.er1
44233 cat conftest.err >&5
44234 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44235 (exit $ac_status); } && {
44236 test -z "$ac_c_werror_flag" ||
44237 test ! -s conftest.err
44238 } && test -s conftest$ac_exeext &&
44239 $as_test_x conftest$ac_exeext; then
44240 ac_cv_func_socket=yes
44241 else
44242 echo "$as_me: failed program was:" >&5
44243 sed 's/^/| /' conftest.$ac_ext >&5
44244
44245 ac_cv_func_socket=no
44246 fi
44247
44248 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44249 conftest$ac_exeext conftest.$ac_ext
44250 fi
44251 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
44252 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
44253 if test $ac_cv_func_socket = yes; then
44254 :
44255 else
44256
44257 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
44258 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
44259 if test "${ac_cv_lib_socket_socket+set}" = set; then
44260 echo $ECHO_N "(cached) $ECHO_C" >&6
44261 else
44262 ac_check_lib_save_LIBS=$LIBS
44263 LIBS="-lsocket $LIBS"
44264 cat >conftest.$ac_ext <<_ACEOF
44265 /* confdefs.h. */
44266 _ACEOF
44267 cat confdefs.h >>conftest.$ac_ext
44268 cat >>conftest.$ac_ext <<_ACEOF
44269 /* end confdefs.h. */
44270
44271 /* Override any GCC internal prototype to avoid an error.
44272 Use char because int might match the return type of a GCC
44273 builtin and then its argument prototype would still apply. */
44274 #ifdef __cplusplus
44275 extern "C"
44276 #endif
44277 char socket ();
44278 int
44279 main ()
44280 {
44281 return socket ();
44282 ;
44283 return 0;
44284 }
44285 _ACEOF
44286 rm -f conftest.$ac_objext conftest$ac_exeext
44287 if { (ac_try="$ac_link"
44288 case "(($ac_try" in
44289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44290 *) ac_try_echo=$ac_try;;
44291 esac
44292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44293 (eval "$ac_link") 2>conftest.er1
44294 ac_status=$?
44295 grep -v '^ *+' conftest.er1 >conftest.err
44296 rm -f conftest.er1
44297 cat conftest.err >&5
44298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44299 (exit $ac_status); } && {
44300 test -z "$ac_c_werror_flag" ||
44301 test ! -s conftest.err
44302 } && test -s conftest$ac_exeext &&
44303 $as_test_x conftest$ac_exeext; then
44304 ac_cv_lib_socket_socket=yes
44305 else
44306 echo "$as_me: failed program was:" >&5
44307 sed 's/^/| /' conftest.$ac_ext >&5
44308
44309 ac_cv_lib_socket_socket=no
44310 fi
44311
44312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44313 conftest$ac_exeext conftest.$ac_ext
44314 LIBS=$ac_check_lib_save_LIBS
44315 fi
44316 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
44317 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
44318 if test $ac_cv_lib_socket_socket = yes; then
44319 if test "$INET_LINK" != " -lsocket"; then
44320 INET_LINK="$INET_LINK -lsocket"
44321 fi
44322 else
44323
44324 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
44325 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
44326 wxUSE_SOCKETS=no
44327
44328
44329 fi
44330
44331
44332
44333 fi
44334
44335 fi
44336 fi
44337
44338 if test "$wxUSE_SOCKETS" = "yes" ; then
44339 if test "$TOOLKIT" != "MSW"; then
44340 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
44341 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
44342 if test "${wx_cv_type_getsockname3+set}" = set; then
44343 echo $ECHO_N "(cached) $ECHO_C" >&6
44344 else
44345
44346 ac_ext=cpp
44347 ac_cpp='$CXXCPP $CPPFLAGS'
44348 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44349 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44350 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44351
44352 cat >conftest.$ac_ext <<_ACEOF
44353 /* confdefs.h. */
44354 _ACEOF
44355 cat confdefs.h >>conftest.$ac_ext
44356 cat >>conftest.$ac_ext <<_ACEOF
44357 /* end confdefs.h. */
44358
44359 #include <sys/types.h>
44360 #include <sys/socket.h>
44361
44362 int
44363 main ()
44364 {
44365
44366 socklen_t len;
44367 getsockname(0, 0, &len);
44368
44369 ;
44370 return 0;
44371 }
44372 _ACEOF
44373 rm -f conftest.$ac_objext
44374 if { (ac_try="$ac_compile"
44375 case "(($ac_try" in
44376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44377 *) ac_try_echo=$ac_try;;
44378 esac
44379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44380 (eval "$ac_compile") 2>conftest.er1
44381 ac_status=$?
44382 grep -v '^ *+' conftest.er1 >conftest.err
44383 rm -f conftest.er1
44384 cat conftest.err >&5
44385 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44386 (exit $ac_status); } && {
44387 test -z "$ac_cxx_werror_flag" ||
44388 test ! -s conftest.err
44389 } && test -s conftest.$ac_objext; then
44390 wx_cv_type_getsockname3=socklen_t
44391 else
44392 echo "$as_me: failed program was:" >&5
44393 sed 's/^/| /' conftest.$ac_ext >&5
44394
44395
44396 CFLAGS_OLD="$CFLAGS"
44397 if test "$GCC" = yes ; then
44398 CFLAGS="-Werror $CFLAGS"
44399 fi
44400
44401 cat >conftest.$ac_ext <<_ACEOF
44402 /* confdefs.h. */
44403 _ACEOF
44404 cat confdefs.h >>conftest.$ac_ext
44405 cat >>conftest.$ac_ext <<_ACEOF
44406 /* end confdefs.h. */
44407
44408 #include <sys/types.h>
44409 #include <sys/socket.h>
44410
44411 int
44412 main ()
44413 {
44414
44415 size_t len;
44416 getsockname(0, 0, &len);
44417
44418 ;
44419 return 0;
44420 }
44421 _ACEOF
44422 rm -f conftest.$ac_objext
44423 if { (ac_try="$ac_compile"
44424 case "(($ac_try" in
44425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44426 *) ac_try_echo=$ac_try;;
44427 esac
44428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44429 (eval "$ac_compile") 2>conftest.er1
44430 ac_status=$?
44431 grep -v '^ *+' conftest.er1 >conftest.err
44432 rm -f conftest.er1
44433 cat conftest.err >&5
44434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44435 (exit $ac_status); } && {
44436 test -z "$ac_cxx_werror_flag" ||
44437 test ! -s conftest.err
44438 } && test -s conftest.$ac_objext; then
44439 wx_cv_type_getsockname3=size_t
44440 else
44441 echo "$as_me: failed program was:" >&5
44442 sed 's/^/| /' conftest.$ac_ext >&5
44443
44444 cat >conftest.$ac_ext <<_ACEOF
44445 /* confdefs.h. */
44446 _ACEOF
44447 cat confdefs.h >>conftest.$ac_ext
44448 cat >>conftest.$ac_ext <<_ACEOF
44449 /* end confdefs.h. */
44450
44451 #include <sys/types.h>
44452 #include <sys/socket.h>
44453
44454 int
44455 main ()
44456 {
44457
44458 int len;
44459 getsockname(0, 0, &len);
44460
44461 ;
44462 return 0;
44463 }
44464 _ACEOF
44465 rm -f conftest.$ac_objext
44466 if { (ac_try="$ac_compile"
44467 case "(($ac_try" in
44468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44469 *) ac_try_echo=$ac_try;;
44470 esac
44471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44472 (eval "$ac_compile") 2>conftest.er1
44473 ac_status=$?
44474 grep -v '^ *+' conftest.er1 >conftest.err
44475 rm -f conftest.er1
44476 cat conftest.err >&5
44477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44478 (exit $ac_status); } && {
44479 test -z "$ac_cxx_werror_flag" ||
44480 test ! -s conftest.err
44481 } && test -s conftest.$ac_objext; then
44482 wx_cv_type_getsockname3=int
44483 else
44484 echo "$as_me: failed program was:" >&5
44485 sed 's/^/| /' conftest.$ac_ext >&5
44486
44487 wx_cv_type_getsockname3=unknown
44488
44489 fi
44490
44491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44492
44493 fi
44494
44495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44496
44497 CFLAGS="$CFLAGS_OLD"
44498
44499
44500 fi
44501
44502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44503 ac_ext=c
44504 ac_cpp='$CPP $CPPFLAGS'
44505 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44506 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44507 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44508
44509
44510 fi
44511 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
44512 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
44513
44514 if test "$wx_cv_type_getsockname3" = "unknown"; then
44515 wxUSE_SOCKETS=no
44516 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44517 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44518 else
44519 cat >>confdefs.h <<_ACEOF
44520 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44521 _ACEOF
44522
44523 fi
44524 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44525 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44526 if test "${wx_cv_type_getsockopt5+set}" = set; then
44527 echo $ECHO_N "(cached) $ECHO_C" >&6
44528 else
44529
44530 ac_ext=cpp
44531 ac_cpp='$CXXCPP $CPPFLAGS'
44532 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44533 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44534 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44535
44536 cat >conftest.$ac_ext <<_ACEOF
44537 /* confdefs.h. */
44538 _ACEOF
44539 cat confdefs.h >>conftest.$ac_ext
44540 cat >>conftest.$ac_ext <<_ACEOF
44541 /* end confdefs.h. */
44542
44543 #include <sys/types.h>
44544 #include <sys/socket.h>
44545
44546 int
44547 main ()
44548 {
44549
44550 socklen_t len;
44551 getsockopt(0, 0, 0, 0, &len);
44552
44553 ;
44554 return 0;
44555 }
44556 _ACEOF
44557 rm -f conftest.$ac_objext
44558 if { (ac_try="$ac_compile"
44559 case "(($ac_try" in
44560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44561 *) ac_try_echo=$ac_try;;
44562 esac
44563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44564 (eval "$ac_compile") 2>conftest.er1
44565 ac_status=$?
44566 grep -v '^ *+' conftest.er1 >conftest.err
44567 rm -f conftest.er1
44568 cat conftest.err >&5
44569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44570 (exit $ac_status); } && {
44571 test -z "$ac_cxx_werror_flag" ||
44572 test ! -s conftest.err
44573 } && test -s conftest.$ac_objext; then
44574 wx_cv_type_getsockopt5=socklen_t
44575 else
44576 echo "$as_me: failed program was:" >&5
44577 sed 's/^/| /' conftest.$ac_ext >&5
44578
44579
44580 cat >conftest.$ac_ext <<_ACEOF
44581 /* confdefs.h. */
44582 _ACEOF
44583 cat confdefs.h >>conftest.$ac_ext
44584 cat >>conftest.$ac_ext <<_ACEOF
44585 /* end confdefs.h. */
44586
44587 #include <sys/types.h>
44588 #include <sys/socket.h>
44589
44590 int
44591 main ()
44592 {
44593
44594 size_t len;
44595 getsockopt(0, 0, 0, 0, &len);
44596
44597 ;
44598 return 0;
44599 }
44600 _ACEOF
44601 rm -f conftest.$ac_objext
44602 if { (ac_try="$ac_compile"
44603 case "(($ac_try" in
44604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44605 *) ac_try_echo=$ac_try;;
44606 esac
44607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44608 (eval "$ac_compile") 2>conftest.er1
44609 ac_status=$?
44610 grep -v '^ *+' conftest.er1 >conftest.err
44611 rm -f conftest.er1
44612 cat conftest.err >&5
44613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44614 (exit $ac_status); } && {
44615 test -z "$ac_cxx_werror_flag" ||
44616 test ! -s conftest.err
44617 } && test -s conftest.$ac_objext; then
44618 wx_cv_type_getsockopt5=size_t
44619 else
44620 echo "$as_me: failed program was:" >&5
44621 sed 's/^/| /' conftest.$ac_ext >&5
44622
44623 cat >conftest.$ac_ext <<_ACEOF
44624 /* confdefs.h. */
44625 _ACEOF
44626 cat confdefs.h >>conftest.$ac_ext
44627 cat >>conftest.$ac_ext <<_ACEOF
44628 /* end confdefs.h. */
44629
44630 #include <sys/types.h>
44631 #include <sys/socket.h>
44632
44633 int
44634 main ()
44635 {
44636
44637 int len;
44638 getsockopt(0, 0, 0, 0, &len);
44639
44640 ;
44641 return 0;
44642 }
44643 _ACEOF
44644 rm -f conftest.$ac_objext
44645 if { (ac_try="$ac_compile"
44646 case "(($ac_try" in
44647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44648 *) ac_try_echo=$ac_try;;
44649 esac
44650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44651 (eval "$ac_compile") 2>conftest.er1
44652 ac_status=$?
44653 grep -v '^ *+' conftest.er1 >conftest.err
44654 rm -f conftest.er1
44655 cat conftest.err >&5
44656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44657 (exit $ac_status); } && {
44658 test -z "$ac_cxx_werror_flag" ||
44659 test ! -s conftest.err
44660 } && test -s conftest.$ac_objext; then
44661 wx_cv_type_getsockopt5=int
44662 else
44663 echo "$as_me: failed program was:" >&5
44664 sed 's/^/| /' conftest.$ac_ext >&5
44665
44666 wx_cv_type_getsockopt5=unknown
44667
44668 fi
44669
44670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44671
44672 fi
44673
44674 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44675
44676
44677 fi
44678
44679 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44680 ac_ext=c
44681 ac_cpp='$CPP $CPPFLAGS'
44682 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44683 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44684 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44685
44686
44687 fi
44688 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44689 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44690
44691 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44692 wxUSE_SOCKETS=no
44693 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44694 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44695 else
44696 cat >>confdefs.h <<_ACEOF
44697 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44698 _ACEOF
44699
44700 fi
44701 fi
44702 fi
44703
44704 if test "$wxUSE_SOCKETS" = "yes" ; then
44705 if test "$wxUSE_IPV6" = "yes"; then
44706 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44707 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44708 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44709 echo $ECHO_N "(cached) $ECHO_C" >&6
44710 else
44711
44712 cat >conftest.$ac_ext <<_ACEOF
44713 /* confdefs.h. */
44714 _ACEOF
44715 cat confdefs.h >>conftest.$ac_ext
44716 cat >>conftest.$ac_ext <<_ACEOF
44717 /* end confdefs.h. */
44718
44719 #include <sys/types.h>
44720 #include <sys/socket.h>
44721 #include <netinet/in.h>
44722
44723 int
44724 main ()
44725 {
44726
44727 struct sockaddr_in6 sa6;
44728
44729 ;
44730 return 0;
44731 }
44732 _ACEOF
44733 rm -f conftest.$ac_objext
44734 if { (ac_try="$ac_compile"
44735 case "(($ac_try" in
44736 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44737 *) ac_try_echo=$ac_try;;
44738 esac
44739 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44740 (eval "$ac_compile") 2>conftest.er1
44741 ac_status=$?
44742 grep -v '^ *+' conftest.er1 >conftest.err
44743 rm -f conftest.er1
44744 cat conftest.err >&5
44745 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44746 (exit $ac_status); } && {
44747 test -z "$ac_c_werror_flag" ||
44748 test ! -s conftest.err
44749 } && test -s conftest.$ac_objext; then
44750 wx_cv_type_sockaddr_in6=yes
44751 else
44752 echo "$as_me: failed program was:" >&5
44753 sed 's/^/| /' conftest.$ac_ext >&5
44754
44755 wx_cv_type_sockaddr_in6=no
44756
44757 fi
44758
44759 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44760
44761
44762 fi
44763 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44764 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44765
44766 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44767 cat >>confdefs.h <<\_ACEOF
44768 #define wxUSE_IPV6 1
44769 _ACEOF
44770
44771 else
44772 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44773 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44774 fi
44775 fi
44776
44777 cat >>confdefs.h <<\_ACEOF
44778 #define wxUSE_SOCKETS 1
44779 _ACEOF
44780
44781 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44782 fi
44783
44784 if test "$wxUSE_PROTOCOL" = "yes"; then
44785 if test "$wxUSE_SOCKETS" != "yes"; then
44786 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44787 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44788 wxUSE_PROTOCOL=no
44789 fi
44790 fi
44791
44792 if test "$wxUSE_PROTOCOL" = "yes"; then
44793 cat >>confdefs.h <<\_ACEOF
44794 #define wxUSE_PROTOCOL 1
44795 _ACEOF
44796
44797
44798 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_PROTOCOL_HTTP 1
44801 _ACEOF
44802
44803 fi
44804 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44805 cat >>confdefs.h <<\_ACEOF
44806 #define wxUSE_PROTOCOL_FTP 1
44807 _ACEOF
44808
44809 fi
44810 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44811 cat >>confdefs.h <<\_ACEOF
44812 #define wxUSE_PROTOCOL_FILE 1
44813 _ACEOF
44814
44815 fi
44816 else
44817 if test "$wxUSE_FS_INET" = "yes"; then
44818 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44819 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44820 wxUSE_FS_INET="no"
44821 fi
44822 fi
44823
44824 if test "$wxUSE_URL" = "yes"; then
44825 if test "$wxUSE_PROTOCOL" != "yes"; then
44826 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44827 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44828 wxUSE_URL=no
44829 fi
44830 if test "$wxUSE_URL" = "yes"; then
44831 cat >>confdefs.h <<\_ACEOF
44832 #define wxUSE_URL 1
44833 _ACEOF
44834
44835 fi
44836 fi
44837
44838 if test "$wxUSE_VARIANT" = "yes"; then
44839 cat >>confdefs.h <<\_ACEOF
44840 #define wxUSE_VARIANT 1
44841 _ACEOF
44842
44843 fi
44844
44845 if test "$wxUSE_FS_INET" = "yes"; then
44846 cat >>confdefs.h <<\_ACEOF
44847 #define wxUSE_FS_INET 1
44848 _ACEOF
44849
44850 fi
44851
44852
44853 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44854 wxUSE_JOYSTICK=no
44855
44856 if test "$TOOLKIT" = "MSW"; then
44857 wxUSE_JOYSTICK=yes
44858
44859 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44860 if test "$USE_DARWIN" = 1; then
44861 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44862 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44863 ac_ext=cpp
44864 ac_cpp='$CXXCPP $CPPFLAGS'
44865 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44866 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44867 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44868
44869 cat >conftest.$ac_ext <<_ACEOF
44870 /* confdefs.h. */
44871 _ACEOF
44872 cat confdefs.h >>conftest.$ac_ext
44873 cat >>conftest.$ac_ext <<_ACEOF
44874 /* end confdefs.h. */
44875 #include <IOKit/hid/IOHIDLib.h>
44876 int
44877 main ()
44878 {
44879 IOHIDQueueInterface *qi = NULL;
44880 IOHIDCallbackFunction cb = NULL;
44881 qi->setEventCallout(NULL, cb, NULL, NULL);
44882 ;
44883 return 0;
44884 }
44885 _ACEOF
44886 rm -f conftest.$ac_objext
44887 if { (ac_try="$ac_compile"
44888 case "(($ac_try" in
44889 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44890 *) ac_try_echo=$ac_try;;
44891 esac
44892 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44893 (eval "$ac_compile") 2>conftest.er1
44894 ac_status=$?
44895 grep -v '^ *+' conftest.er1 >conftest.err
44896 rm -f conftest.er1
44897 cat conftest.err >&5
44898 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44899 (exit $ac_status); } && {
44900 test -z "$ac_cxx_werror_flag" ||
44901 test ! -s conftest.err
44902 } && test -s conftest.$ac_objext; then
44903 wxUSE_JOYSTICK=yes
44904
44905 else
44906 echo "$as_me: failed program was:" >&5
44907 sed 's/^/| /' conftest.$ac_ext >&5
44908
44909
44910 fi
44911
44912 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44913 ac_ext=c
44914 ac_cpp='$CPP $CPPFLAGS'
44915 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44916 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44917 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44918
44919 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44920 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44921 fi
44922
44923 else
44924 if test "$wxUSE_MGL" != 1; then
44925
44926 for ac_header in linux/joystick.h
44927 do
44928 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44929 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44930 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44931 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44932 echo $ECHO_N "(cached) $ECHO_C" >&6
44933 else
44934 cat >conftest.$ac_ext <<_ACEOF
44935 /* confdefs.h. */
44936 _ACEOF
44937 cat confdefs.h >>conftest.$ac_ext
44938 cat >>conftest.$ac_ext <<_ACEOF
44939 /* end confdefs.h. */
44940 $ac_includes_default
44941
44942 #include <$ac_header>
44943 _ACEOF
44944 rm -f conftest.$ac_objext
44945 if { (ac_try="$ac_compile"
44946 case "(($ac_try" in
44947 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44948 *) ac_try_echo=$ac_try;;
44949 esac
44950 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44951 (eval "$ac_compile") 2>conftest.er1
44952 ac_status=$?
44953 grep -v '^ *+' conftest.er1 >conftest.err
44954 rm -f conftest.er1
44955 cat conftest.err >&5
44956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44957 (exit $ac_status); } && {
44958 test -z "$ac_c_werror_flag" ||
44959 test ! -s conftest.err
44960 } && test -s conftest.$ac_objext; then
44961 eval "$as_ac_Header=yes"
44962 else
44963 echo "$as_me: failed program was:" >&5
44964 sed 's/^/| /' conftest.$ac_ext >&5
44965
44966 eval "$as_ac_Header=no"
44967 fi
44968
44969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44970 fi
44971 ac_res=`eval echo '${'$as_ac_Header'}'`
44972 { echo "$as_me:$LINENO: result: $ac_res" >&5
44973 echo "${ECHO_T}$ac_res" >&6; }
44974 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44975 cat >>confdefs.h <<_ACEOF
44976 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44977 _ACEOF
44978 wxUSE_JOYSTICK=yes
44979 fi
44980
44981 done
44982
44983 fi
44984 fi
44985
44986 if test "$wxUSE_JOYSTICK" = "yes"; then
44987 cat >>confdefs.h <<\_ACEOF
44988 #define wxUSE_JOYSTICK 1
44989 _ACEOF
44990
44991 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44992 else
44993 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44994 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44995 fi
44996 fi
44997
44998
44999
45000 if test "$wxUSE_FONTENUM" = "yes" ; then
45001 cat >>confdefs.h <<\_ACEOF
45002 #define wxUSE_FONTENUM 1
45003 _ACEOF
45004
45005 fi
45006
45007 if test "$wxUSE_FONTMAP" = "yes" ; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_FONTMAP 1
45010 _ACEOF
45011
45012 fi
45013
45014 if test "$wxUSE_UNICODE" = "yes" ; then
45015 cat >>confdefs.h <<\_ACEOF
45016 #define wxUSE_UNICODE 1
45017 _ACEOF
45018
45019
45020 if test "$USE_WIN32" != 1; then
45021 wxUSE_UNICODE_MSLU=no
45022 fi
45023
45024 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
45025 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
45026 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
45027 if test "${ac_cv_lib_unicows_main+set}" = set; then
45028 echo $ECHO_N "(cached) $ECHO_C" >&6
45029 else
45030 ac_check_lib_save_LIBS=$LIBS
45031 LIBS="-lunicows $LIBS"
45032 cat >conftest.$ac_ext <<_ACEOF
45033 /* confdefs.h. */
45034 _ACEOF
45035 cat confdefs.h >>conftest.$ac_ext
45036 cat >>conftest.$ac_ext <<_ACEOF
45037 /* end confdefs.h. */
45038
45039
45040 int
45041 main ()
45042 {
45043 return main ();
45044 ;
45045 return 0;
45046 }
45047 _ACEOF
45048 rm -f conftest.$ac_objext conftest$ac_exeext
45049 if { (ac_try="$ac_link"
45050 case "(($ac_try" in
45051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45052 *) ac_try_echo=$ac_try;;
45053 esac
45054 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45055 (eval "$ac_link") 2>conftest.er1
45056 ac_status=$?
45057 grep -v '^ *+' conftest.er1 >conftest.err
45058 rm -f conftest.er1
45059 cat conftest.err >&5
45060 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45061 (exit $ac_status); } && {
45062 test -z "$ac_c_werror_flag" ||
45063 test ! -s conftest.err
45064 } && test -s conftest$ac_exeext &&
45065 $as_test_x conftest$ac_exeext; then
45066 ac_cv_lib_unicows_main=yes
45067 else
45068 echo "$as_me: failed program was:" >&5
45069 sed 's/^/| /' conftest.$ac_ext >&5
45070
45071 ac_cv_lib_unicows_main=no
45072 fi
45073
45074 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
45075 conftest$ac_exeext conftest.$ac_ext
45076 LIBS=$ac_check_lib_save_LIBS
45077 fi
45078 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
45079 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
45080 if test $ac_cv_lib_unicows_main = yes; then
45081
45082 cat >>confdefs.h <<\_ACEOF
45083 #define wxUSE_UNICODE_MSLU 1
45084 _ACEOF
45085
45086
45087 else
45088
45089 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45090 Applications will only run on Windows NT/2000/XP!" >&5
45091 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
45092 Applications will only run on Windows NT/2000/XP!" >&2;}
45093 wxUSE_UNICODE_MSLU=no
45094
45095 fi
45096
45097 fi
45098 fi
45099
45100 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
45101 cat >>confdefs.h <<\_ACEOF
45102 #define wxUSE_UNICODE_UTF8 1
45103 _ACEOF
45104
45105
45106 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
45107 cat >>confdefs.h <<\_ACEOF
45108 #define wxUSE_UTF8_LOCALE_ONLY 1
45109 _ACEOF
45110
45111 fi
45112 fi
45113
45114
45115 if test "$wxUSE_CONSTRAINTS" = "yes"; then
45116 cat >>confdefs.h <<\_ACEOF
45117 #define wxUSE_CONSTRAINTS 1
45118 _ACEOF
45119
45120 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
45121 fi
45122
45123 if test "$wxUSE_MDI" = "yes"; then
45124 cat >>confdefs.h <<\_ACEOF
45125 #define wxUSE_MDI 1
45126 _ACEOF
45127
45128
45129 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45130 cat >>confdefs.h <<\_ACEOF
45131 #define wxUSE_MDI_ARCHITECTURE 1
45132 _ACEOF
45133
45134 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
45135 fi
45136 fi
45137
45138 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
45139 cat >>confdefs.h <<\_ACEOF
45140 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
45141 _ACEOF
45142
45143 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
45144 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
45145 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
45146 fi
45147 fi
45148
45149 if test "$wxUSE_HELP" = "yes"; then
45150 cat >>confdefs.h <<\_ACEOF
45151 #define wxUSE_HELP 1
45152 _ACEOF
45153
45154 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
45155
45156 if test "$wxUSE_MSW" = 1; then
45157 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
45158 cat >>confdefs.h <<\_ACEOF
45159 #define wxUSE_MS_HTML_HELP 1
45160 _ACEOF
45161
45162 fi
45163 fi
45164
45165 if test "$wxUSE_WXHTML_HELP" = "yes"; then
45166 if test "$wxUSE_HTML" = "yes"; then
45167 cat >>confdefs.h <<\_ACEOF
45168 #define wxUSE_WXHTML_HELP 1
45169 _ACEOF
45170
45171 else
45172 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
45173 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
45174 wxUSE_WXHTML_HELP=no
45175 fi
45176 fi
45177 fi
45178
45179 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
45180 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45181 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
45182 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
45183 else
45184 cat >>confdefs.h <<\_ACEOF
45185 #define wxUSE_PRINTING_ARCHITECTURE 1
45186 _ACEOF
45187
45188 fi
45189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
45190 fi
45191
45192 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
45193 cat >>confdefs.h <<\_ACEOF
45194 #define wxUSE_POSTSCRIPT 1
45195 _ACEOF
45196
45197 fi
45198
45199 cat >>confdefs.h <<\_ACEOF
45200 #define wxUSE_AFM_FOR_POSTSCRIPT 1
45201 _ACEOF
45202
45203
45204 if test "$wxUSE_SVG" = "yes"; then
45205 cat >>confdefs.h <<\_ACEOF
45206 #define wxUSE_SVG 1
45207 _ACEOF
45208
45209 fi
45210
45211
45212 if test "$wxUSE_METAFILE" = "yes"; then
45213 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
45214 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
45215 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
45216 wxUSE_METAFILE=no
45217 fi
45218 fi
45219
45220
45221 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
45222 -o "$wxUSE_CLIPBOARD" = "yes" \
45223 -o "$wxUSE_OLE" = "yes" \
45224 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
45225 { echo "$as_me:$LINENO: checking for ole2.h" >&5
45226 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
45227 if test "${ac_cv_header_ole2_h+set}" = set; then
45228 echo $ECHO_N "(cached) $ECHO_C" >&6
45229 else
45230 cat >conftest.$ac_ext <<_ACEOF
45231 /* confdefs.h. */
45232 _ACEOF
45233 cat confdefs.h >>conftest.$ac_ext
45234 cat >>conftest.$ac_ext <<_ACEOF
45235 /* end confdefs.h. */
45236
45237
45238 #include <ole2.h>
45239 _ACEOF
45240 rm -f conftest.$ac_objext
45241 if { (ac_try="$ac_compile"
45242 case "(($ac_try" in
45243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45244 *) ac_try_echo=$ac_try;;
45245 esac
45246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45247 (eval "$ac_compile") 2>conftest.er1
45248 ac_status=$?
45249 grep -v '^ *+' conftest.er1 >conftest.err
45250 rm -f conftest.er1
45251 cat conftest.err >&5
45252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45253 (exit $ac_status); } && {
45254 test -z "$ac_c_werror_flag" ||
45255 test ! -s conftest.err
45256 } && test -s conftest.$ac_objext; then
45257 ac_cv_header_ole2_h=yes
45258 else
45259 echo "$as_me: failed program was:" >&5
45260 sed 's/^/| /' conftest.$ac_ext >&5
45261
45262 ac_cv_header_ole2_h=no
45263 fi
45264
45265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45266 fi
45267 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
45268 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
45269
45270
45271
45272 if test "$ac_cv_header_ole2_h" = "yes" ; then
45273 if test "$GCC" = yes ; then
45274 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
45275 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
45276 cat >conftest.$ac_ext <<_ACEOF
45277 /* confdefs.h. */
45278 _ACEOF
45279 cat confdefs.h >>conftest.$ac_ext
45280 cat >>conftest.$ac_ext <<_ACEOF
45281 /* end confdefs.h. */
45282 #include <windows.h>
45283 #include <ole2.h>
45284 int
45285 main ()
45286 {
45287
45288 ;
45289 return 0;
45290 }
45291 _ACEOF
45292 rm -f conftest.$ac_objext
45293 if { (ac_try="$ac_compile"
45294 case "(($ac_try" in
45295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45296 *) ac_try_echo=$ac_try;;
45297 esac
45298 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45299 (eval "$ac_compile") 2>conftest.er1
45300 ac_status=$?
45301 grep -v '^ *+' conftest.er1 >conftest.err
45302 rm -f conftest.er1
45303 cat conftest.err >&5
45304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45305 (exit $ac_status); } && {
45306 test -z "$ac_c_werror_flag" ||
45307 test ! -s conftest.err
45308 } && test -s conftest.$ac_objext; then
45309 { echo "$as_me:$LINENO: result: no" >&5
45310 echo "${ECHO_T}no" >&6; }
45311 else
45312 echo "$as_me: failed program was:" >&5
45313 sed 's/^/| /' conftest.$ac_ext >&5
45314
45315 { echo "$as_me:$LINENO: result: yes" >&5
45316 echo "${ECHO_T}yes" >&6; }
45317 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
45318 fi
45319
45320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45321 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
45322 if test "$wxUSE_OLE" = "yes" ; then
45323 cat >>confdefs.h <<\_ACEOF
45324 #define wxUSE_OLE 1
45325 _ACEOF
45326
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_OLE_AUTOMATION 1
45329 _ACEOF
45330
45331 cat >>confdefs.h <<\_ACEOF
45332 #define wxUSE_ACTIVEX 1
45333 _ACEOF
45334
45335 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
45336 fi
45337 fi
45338
45339 if test "$wxUSE_DATAOBJ" = "yes" ; then
45340 cat >>confdefs.h <<\_ACEOF
45341 #define wxUSE_DATAOBJ 1
45342 _ACEOF
45343
45344 fi
45345 else
45346 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
45347 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
45348
45349 wxUSE_CLIPBOARD=no
45350 wxUSE_DRAG_AND_DROP=no
45351 wxUSE_DATAOBJ=no
45352 wxUSE_OLE=no
45353 fi
45354
45355 if test "$wxUSE_METAFILE" = "yes"; then
45356 cat >>confdefs.h <<\_ACEOF
45357 #define wxUSE_METAFILE 1
45358 _ACEOF
45359
45360
45361 cat >>confdefs.h <<\_ACEOF
45362 #define wxUSE_ENH_METAFILE 1
45363 _ACEOF
45364
45365 fi
45366 fi
45367
45368 if test "$wxUSE_IPC" = "yes"; then
45369 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
45370 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
45371 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
45372 wxUSE_IPC=no
45373 fi
45374
45375 if test "$wxUSE_IPC" = "yes"; then
45376 cat >>confdefs.h <<\_ACEOF
45377 #define wxUSE_IPC 1
45378 _ACEOF
45379
45380 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
45381 fi
45382 fi
45383
45384 if test "$wxUSE_DATAOBJ" = "yes"; then
45385 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45386 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
45387 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
45388 wxUSE_DATAOBJ=no
45389 else
45390 cat >>confdefs.h <<\_ACEOF
45391 #define wxUSE_DATAOBJ 1
45392 _ACEOF
45393
45394 fi
45395 else
45396 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
45397 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
45398 wxUSE_CLIPBOARD=no
45399 wxUSE_DRAG_AND_DROP=no
45400 fi
45401
45402 if test "$wxUSE_CLIPBOARD" = "yes"; then
45403 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
45404 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
45405 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
45406 wxUSE_CLIPBOARD=no
45407 fi
45408
45409 if test "$wxUSE_CLIPBOARD" = "yes"; then
45410 cat >>confdefs.h <<\_ACEOF
45411 #define wxUSE_CLIPBOARD 1
45412 _ACEOF
45413
45414 fi
45415 fi
45416
45417 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
45418 if test "$wxUSE_GTK" = 1; then
45419 if test "$WXGTK12" != 1; then
45420 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
45421 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
45422 wxUSE_DRAG_AND_DROP=no
45423 fi
45424 fi
45425
45426 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
45427 "$wxUSE_DFB" = 1; then
45428 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
45429 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
45430 wxUSE_DRAG_AND_DROP=no
45431 fi
45432
45433 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
45434 cat >>confdefs.h <<\_ACEOF
45435 #define wxUSE_DRAG_AND_DROP 1
45436 _ACEOF
45437
45438 fi
45439
45440 fi
45441
45442 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
45443 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
45444 fi
45445
45446 if test "$wxUSE_SPLINES" = "yes" ; then
45447 cat >>confdefs.h <<\_ACEOF
45448 #define wxUSE_SPLINES 1
45449 _ACEOF
45450
45451 fi
45452
45453 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
45454 cat >>confdefs.h <<\_ACEOF
45455 #define wxUSE_MOUSEWHEEL 1
45456 _ACEOF
45457
45458 fi
45459
45460
45461 USES_CONTROLS=0
45462 if test "$wxUSE_CONTROLS" = "yes"; then
45463 USES_CONTROLS=1
45464 fi
45465
45466 if test "$wxUSE_ACCEL" = "yes"; then
45467 cat >>confdefs.h <<\_ACEOF
45468 #define wxUSE_ACCEL 1
45469 _ACEOF
45470
45471 USES_CONTROLS=1
45472 fi
45473
45474 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
45475 cat >>confdefs.h <<\_ACEOF
45476 #define wxUSE_ANIMATIONCTRL 1
45477 _ACEOF
45478
45479 USES_CONTROLS=1
45480 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
45481 fi
45482
45483 if test "$wxUSE_BUTTON" = "yes"; then
45484 cat >>confdefs.h <<\_ACEOF
45485 #define wxUSE_BUTTON 1
45486 _ACEOF
45487
45488 USES_CONTROLS=1
45489 fi
45490
45491 if test "$wxUSE_BMPBUTTON" = "yes"; then
45492 cat >>confdefs.h <<\_ACEOF
45493 #define wxUSE_BMPBUTTON 1
45494 _ACEOF
45495
45496 USES_CONTROLS=1
45497 fi
45498
45499 if test "$wxUSE_CALCTRL" = "yes"; then
45500 cat >>confdefs.h <<\_ACEOF
45501 #define wxUSE_CALENDARCTRL 1
45502 _ACEOF
45503
45504 USES_CONTROLS=1
45505 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
45506 fi
45507
45508 if test "$wxUSE_CARET" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_CARET 1
45511 _ACEOF
45512
45513 USES_CONTROLS=1
45514 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
45515 fi
45516
45517 if test "$wxUSE_COLLPANE" = "yes"; then
45518 cat >>confdefs.h <<\_ACEOF
45519 #define wxUSE_COLLPANE 1
45520 _ACEOF
45521
45522 USES_CONTROLS=1
45523 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45524 fi
45525
45526 if test "$wxUSE_COMBOBOX" = "yes"; then
45527 cat >>confdefs.h <<\_ACEOF
45528 #define wxUSE_COMBOBOX 1
45529 _ACEOF
45530
45531 USES_CONTROLS=1
45532 fi
45533
45534 if test "$wxUSE_COMBOCTRL" = "yes"; then
45535 cat >>confdefs.h <<\_ACEOF
45536 #define wxUSE_COMBOCTRL 1
45537 _ACEOF
45538
45539 USES_CONTROLS=1
45540 fi
45541
45542 if test "$wxUSE_CHOICE" = "yes"; then
45543 cat >>confdefs.h <<\_ACEOF
45544 #define wxUSE_CHOICE 1
45545 _ACEOF
45546
45547 USES_CONTROLS=1
45548 fi
45549
45550 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45551 cat >>confdefs.h <<\_ACEOF
45552 #define wxUSE_CHOICEBOOK 1
45553 _ACEOF
45554
45555 USES_CONTROLS=1
45556 fi
45557
45558 if test "$wxUSE_CHECKBOX" = "yes"; then
45559 cat >>confdefs.h <<\_ACEOF
45560 #define wxUSE_CHECKBOX 1
45561 _ACEOF
45562
45563 USES_CONTROLS=1
45564 fi
45565
45566 if test "$wxUSE_CHECKLST" = "yes"; then
45567 cat >>confdefs.h <<\_ACEOF
45568 #define wxUSE_CHECKLISTBOX 1
45569 _ACEOF
45570
45571 USES_CONTROLS=1
45572 fi
45573
45574 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45575 cat >>confdefs.h <<\_ACEOF
45576 #define wxUSE_COLOURPICKERCTRL 1
45577 _ACEOF
45578
45579 USES_CONTROLS=1
45580 fi
45581
45582 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45583 cat >>confdefs.h <<\_ACEOF
45584 #define wxUSE_DATEPICKCTRL 1
45585 _ACEOF
45586
45587 USES_CONTROLS=1
45588 fi
45589
45590 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45591 cat >>confdefs.h <<\_ACEOF
45592 #define wxUSE_DIRPICKERCTRL 1
45593 _ACEOF
45594
45595 USES_CONTROLS=1
45596 fi
45597
45598 if test "$wxUSE_FILECTRL" = "yes"; then
45599 cat >>confdefs.h <<\_ACEOF
45600 #define wxUSE_FILECTRL 1
45601 _ACEOF
45602
45603 USES_CONTROLS=1
45604 fi
45605
45606 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45607 cat >>confdefs.h <<\_ACEOF
45608 #define wxUSE_FILEPICKERCTRL 1
45609 _ACEOF
45610
45611 USES_CONTROLS=1
45612 fi
45613
45614 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45615 cat >>confdefs.h <<\_ACEOF
45616 #define wxUSE_FONTPICKERCTRL 1
45617 _ACEOF
45618
45619 USES_CONTROLS=1
45620 fi
45621
45622 if test "$wxUSE_DISPLAY" = "yes"; then
45623 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45624 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45625 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45626 wxUSE_DISPLAY=no
45627 else
45628 cat >>confdefs.h <<\_ACEOF
45629 #define wxUSE_DISPLAY 1
45630 _ACEOF
45631
45632 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45633 fi
45634 fi
45635
45636 if test "$wxUSE_DETECT_SM" = "yes"; then
45637 cat >>confdefs.h <<\_ACEOF
45638 #define wxUSE_DETECT_SM 1
45639 _ACEOF
45640
45641 fi
45642
45643 if test "$wxUSE_GAUGE" = "yes"; then
45644 cat >>confdefs.h <<\_ACEOF
45645 #define wxUSE_GAUGE 1
45646 _ACEOF
45647
45648 USES_CONTROLS=1
45649 fi
45650
45651 if test "$wxUSE_GRID" = "yes"; then
45652 cat >>confdefs.h <<\_ACEOF
45653 #define wxUSE_GRID 1
45654 _ACEOF
45655
45656 USES_CONTROLS=1
45657 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45658 fi
45659
45660 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45661 cat >>confdefs.h <<\_ACEOF
45662 #define wxUSE_HYPERLINKCTRL 1
45663 _ACEOF
45664
45665 USES_CONTROLS=1
45666 fi
45667
45668 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45669 cat >>confdefs.h <<\_ACEOF
45670 #define wxUSE_BITMAPCOMBOBOX 1
45671 _ACEOF
45672
45673 USES_CONTROLS=1
45674 fi
45675
45676 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45677 cat >>confdefs.h <<\_ACEOF
45678 #define wxUSE_DATAVIEWCTRL 1
45679 _ACEOF
45680
45681 USES_CONTROLS=1
45682 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45683 fi
45684
45685 if test "$wxUSE_IMAGLIST" = "yes"; then
45686 cat >>confdefs.h <<\_ACEOF
45687 #define wxUSE_IMAGLIST 1
45688 _ACEOF
45689
45690 fi
45691
45692 if test "$wxUSE_LISTBOOK" = "yes"; then
45693 cat >>confdefs.h <<\_ACEOF
45694 #define wxUSE_LISTBOOK 1
45695 _ACEOF
45696
45697 USES_CONTROLS=1
45698 fi
45699
45700 if test "$wxUSE_LISTBOX" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_LISTBOX 1
45703 _ACEOF
45704
45705 USES_CONTROLS=1
45706 fi
45707
45708 if test "$wxUSE_LISTCTRL" = "yes"; then
45709 if test "$wxUSE_IMAGLIST" = "yes"; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_LISTCTRL 1
45712 _ACEOF
45713
45714 USES_CONTROLS=1
45715 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45716 else
45717 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45718 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45719 fi
45720 fi
45721
45722 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_EDITABLELISTBOX 1
45725 _ACEOF
45726
45727 USES_CONTROLS=1
45728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45729 fi
45730
45731 if test "$wxUSE_NOTEBOOK" = "yes"; then
45732 cat >>confdefs.h <<\_ACEOF
45733 #define wxUSE_NOTEBOOK 1
45734 _ACEOF
45735
45736 USES_CONTROLS=1
45737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45738 fi
45739
45740 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45741 cat >>confdefs.h <<\_ACEOF
45742 #define wxUSE_NOTIFICATION_MESSAGE 1
45743 _ACEOF
45744
45745 fi
45746
45747 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45748 cat >>confdefs.h <<\_ACEOF
45749 #define wxUSE_ODCOMBOBOX 1
45750 _ACEOF
45751
45752 USES_CONTROLS=1
45753 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45754 fi
45755
45756 if test "$wxUSE_RADIOBOX" = "yes"; then
45757 cat >>confdefs.h <<\_ACEOF
45758 #define wxUSE_RADIOBOX 1
45759 _ACEOF
45760
45761 USES_CONTROLS=1
45762 fi
45763
45764 if test "$wxUSE_RADIOBTN" = "yes"; then
45765 cat >>confdefs.h <<\_ACEOF
45766 #define wxUSE_RADIOBTN 1
45767 _ACEOF
45768
45769 USES_CONTROLS=1
45770 fi
45771
45772 if test "$wxUSE_SASH" = "yes"; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_SASH 1
45775 _ACEOF
45776
45777 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45778 fi
45779
45780 if test "$wxUSE_SCROLLBAR" = "yes"; then
45781 cat >>confdefs.h <<\_ACEOF
45782 #define wxUSE_SCROLLBAR 1
45783 _ACEOF
45784
45785 USES_CONTROLS=1
45786 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45787 fi
45788
45789 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45790 cat >>confdefs.h <<\_ACEOF
45791 #define wxUSE_SEARCHCTRL 1
45792 _ACEOF
45793
45794 USES_CONTROLS=1
45795 fi
45796
45797 if test "$wxUSE_SLIDER" = "yes"; then
45798 cat >>confdefs.h <<\_ACEOF
45799 #define wxUSE_SLIDER 1
45800 _ACEOF
45801
45802 USES_CONTROLS=1
45803 fi
45804
45805 if test "$wxUSE_SPINBTN" = "yes"; then
45806 cat >>confdefs.h <<\_ACEOF
45807 #define wxUSE_SPINBTN 1
45808 _ACEOF
45809
45810 USES_CONTROLS=1
45811 fi
45812
45813 if test "$wxUSE_SPINCTRL" = "yes"; then
45814 cat >>confdefs.h <<\_ACEOF
45815 #define wxUSE_SPINCTRL 1
45816 _ACEOF
45817
45818 USES_CONTROLS=1
45819 fi
45820
45821 if test "$wxUSE_SPLITTER" = "yes"; then
45822 cat >>confdefs.h <<\_ACEOF
45823 #define wxUSE_SPLITTER 1
45824 _ACEOF
45825
45826 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45827 fi
45828
45829 if test "$wxUSE_STATBMP" = "yes"; then
45830 cat >>confdefs.h <<\_ACEOF
45831 #define wxUSE_STATBMP 1
45832 _ACEOF
45833
45834 USES_CONTROLS=1
45835 fi
45836
45837 if test "$wxUSE_STATBOX" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_STATBOX 1
45840 _ACEOF
45841
45842 USES_CONTROLS=1
45843 fi
45844
45845 if test "$wxUSE_STATTEXT" = "yes"; then
45846 cat >>confdefs.h <<\_ACEOF
45847 #define wxUSE_STATTEXT 1
45848 _ACEOF
45849
45850 USES_CONTROLS=1
45851 fi
45852
45853 if test "$wxUSE_STATLINE" = "yes"; then
45854 cat >>confdefs.h <<\_ACEOF
45855 #define wxUSE_STATLINE 1
45856 _ACEOF
45857
45858 USES_CONTROLS=1
45859 fi
45860
45861 if test "$wxUSE_STATUSBAR" = "yes"; then
45862 cat >>confdefs.h <<\_ACEOF
45863 #define wxUSE_NATIVE_STATUSBAR 1
45864 _ACEOF
45865
45866 cat >>confdefs.h <<\_ACEOF
45867 #define wxUSE_STATUSBAR 1
45868 _ACEOF
45869
45870 USES_CONTROLS=1
45871
45872 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45873 fi
45874
45875 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45876 cat >>confdefs.h <<\_ACEOF
45877 #define wxUSE_TAB_DIALOG 1
45878 _ACEOF
45879
45880 fi
45881
45882 if test "$wxUSE_TEXTCTRL" = "yes"; then
45883 cat >>confdefs.h <<\_ACEOF
45884 #define wxUSE_TEXTCTRL 1
45885 _ACEOF
45886
45887 USES_CONTROLS=1
45888 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45889
45890 cat >>confdefs.h <<\_ACEOF
45891 #define wxUSE_RICHEDIT 1
45892 _ACEOF
45893
45894 cat >>confdefs.h <<\_ACEOF
45895 #define wxUSE_RICHEDIT2 1
45896 _ACEOF
45897
45898 fi
45899
45900 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45901 if test "$wxUSE_COCOA" = 1 ; then
45902 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45903 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45904 wxUSE_TOGGLEBTN=no
45905 fi
45906
45907 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45908 cat >>confdefs.h <<\_ACEOF
45909 #define wxUSE_TOGGLEBTN 1
45910 _ACEOF
45911
45912 USES_CONTROLS=1
45913 fi
45914 fi
45915
45916 if test "$wxUSE_TOOLBAR" = "yes"; then
45917 cat >>confdefs.h <<\_ACEOF
45918 #define wxUSE_TOOLBAR 1
45919 _ACEOF
45920
45921 USES_CONTROLS=1
45922
45923 if test "$wxUSE_UNIVERSAL" = "yes"; then
45924 wxUSE_TOOLBAR_NATIVE="no"
45925 else
45926 wxUSE_TOOLBAR_NATIVE="yes"
45927 cat >>confdefs.h <<\_ACEOF
45928 #define wxUSE_TOOLBAR_NATIVE 1
45929 _ACEOF
45930
45931 fi
45932
45933 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45934 fi
45935
45936 if test "$wxUSE_TOOLTIPS" = "yes"; then
45937 if test "$wxUSE_MOTIF" = 1; then
45938 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45939 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45940 else
45941 if test "$wxUSE_UNIVERSAL" = "yes"; then
45942 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45943 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45944 else
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_TOOLTIPS 1
45947 _ACEOF
45948
45949 fi
45950 fi
45951 fi
45952
45953 if test "$wxUSE_TREEBOOK" = "yes"; then
45954 cat >>confdefs.h <<\_ACEOF
45955 #define wxUSE_TREEBOOK 1
45956 _ACEOF
45957
45958 USES_CONTROLS=1
45959 fi
45960
45961 if test "$wxUSE_TOOLBOOK" = "yes"; then
45962 cat >>confdefs.h <<\_ACEOF
45963 #define wxUSE_TOOLBOOK 1
45964 _ACEOF
45965
45966 USES_CONTROLS=1
45967 fi
45968
45969 if test "$wxUSE_TREECTRL" = "yes"; then
45970 if test "$wxUSE_IMAGLIST" = "yes"; then
45971 cat >>confdefs.h <<\_ACEOF
45972 #define wxUSE_TREECTRL 1
45973 _ACEOF
45974
45975 USES_CONTROLS=1
45976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45977 else
45978 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45979 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45980 fi
45981 fi
45982
45983 if test "$wxUSE_POPUPWIN" = "yes"; then
45984 if test "$wxUSE_COCOA" = 1 ; then
45985 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45986 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45987 else
45988 if test "$wxUSE_PM" = 1; then
45989 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45990 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45991 else
45992 cat >>confdefs.h <<\_ACEOF
45993 #define wxUSE_POPUPWIN 1
45994 _ACEOF
45995
45996 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45997
45998 USES_CONTROLS=1
45999 fi
46000 fi
46001 fi
46002
46003 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
46004 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
46005 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
46006 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
46007 else
46008 cat >>confdefs.h <<\_ACEOF
46009 #define wxUSE_DIALUP_MANAGER 1
46010 _ACEOF
46011
46012 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
46013 fi
46014 fi
46015
46016 if test "$wxUSE_TIPWINDOW" = "yes"; then
46017 if test "$wxUSE_PM" = 1; then
46018 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
46019 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
46020 else
46021 cat >>confdefs.h <<\_ACEOF
46022 #define wxUSE_TIPWINDOW 1
46023 _ACEOF
46024
46025 fi
46026 fi
46027
46028 if test "$USES_CONTROLS" = 1; then
46029 cat >>confdefs.h <<\_ACEOF
46030 #define wxUSE_CONTROLS 1
46031 _ACEOF
46032
46033 fi
46034
46035
46036 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
46037 cat >>confdefs.h <<\_ACEOF
46038 #define wxUSE_ACCESSIBILITY 1
46039 _ACEOF
46040
46041 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
46042 fi
46043
46044 if test "$wxUSE_DRAGIMAGE" = "yes"; then
46045 cat >>confdefs.h <<\_ACEOF
46046 #define wxUSE_DRAGIMAGE 1
46047 _ACEOF
46048
46049 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
46050 fi
46051
46052 if test "$wxUSE_EXCEPTIONS" = "yes"; then
46053 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
46054 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
46055 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
46056 else
46057 cat >>confdefs.h <<\_ACEOF
46058 #define wxUSE_EXCEPTIONS 1
46059 _ACEOF
46060
46061 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
46062 fi
46063 fi
46064
46065 USE_HTML=0
46066 if test "$wxUSE_HTML" = "yes"; then
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_HTML 1
46069 _ACEOF
46070
46071 USE_HTML=1
46072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
46073 if test "$wxUSE_MAC" = 1; then
46074 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
46075 fi
46076 fi
46077 if test "$wxUSE_WEBKIT" = "yes"; then
46078 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
46079 old_CPPFLAGS="$CPPFLAGS"
46080 CPPFLAGS="-x objective-c++ $CPPFLAGS"
46081 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
46082 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
46083 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
46084 echo $ECHO_N "(cached) $ECHO_C" >&6
46085 else
46086 cat >conftest.$ac_ext <<_ACEOF
46087 /* confdefs.h. */
46088 _ACEOF
46089 cat confdefs.h >>conftest.$ac_ext
46090 cat >>conftest.$ac_ext <<_ACEOF
46091 /* end confdefs.h. */
46092
46093 #include <Carbon/Carbon.h>
46094 #include <WebKit/WebKit.h>
46095
46096
46097 #include <WebKit/HIWebView.h>
46098 _ACEOF
46099 rm -f conftest.$ac_objext
46100 if { (ac_try="$ac_compile"
46101 case "(($ac_try" in
46102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46103 *) ac_try_echo=$ac_try;;
46104 esac
46105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46106 (eval "$ac_compile") 2>conftest.er1
46107 ac_status=$?
46108 grep -v '^ *+' conftest.er1 >conftest.err
46109 rm -f conftest.er1
46110 cat conftest.err >&5
46111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46112 (exit $ac_status); } && {
46113 test -z "$ac_c_werror_flag" ||
46114 test ! -s conftest.err
46115 } && test -s conftest.$ac_objext; then
46116 ac_cv_header_WebKit_HIWebView_h=yes
46117 else
46118 echo "$as_me: failed program was:" >&5
46119 sed 's/^/| /' conftest.$ac_ext >&5
46120
46121 ac_cv_header_WebKit_HIWebView_h=no
46122 fi
46123
46124 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46125 fi
46126 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
46127 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
46128 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
46129
46130 cat >>confdefs.h <<\_ACEOF
46131 #define wxUSE_WEBKIT 1
46132 _ACEOF
46133
46134 WEBKIT_LINK="-framework WebKit"
46135
46136 else
46137
46138 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
46139 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
46140 wxUSE_WEBKIT=no
46141
46142 fi
46143
46144
46145 CPPFLAGS="$old_CPPFLAGS"
46146 elif test "$wxUSE_COCOA" = 1; then
46147 cat >>confdefs.h <<\_ACEOF
46148 #define wxUSE_WEBKIT 1
46149 _ACEOF
46150
46151 else
46152 wxUSE_WEBKIT=no
46153 fi
46154 fi
46155
46156 USE_XRC=0
46157 if test "$wxUSE_XRC" = "yes"; then
46158 if test "$wxUSE_XML" != "yes"; then
46159 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
46160 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
46161 wxUSE_XRC=no
46162 else
46163 cat >>confdefs.h <<\_ACEOF
46164 #define wxUSE_XRC 1
46165 _ACEOF
46166
46167 USE_XRC=1
46168 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
46169 fi
46170 fi
46171
46172 USE_AUI=0
46173 if test "$wxUSE_AUI" = "yes"; then
46174 cat >>confdefs.h <<\_ACEOF
46175 #define wxUSE_AUI 1
46176 _ACEOF
46177
46178 USE_AUI=1
46179 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
46180 fi
46181
46182 USE_STC=0
46183 if test "$wxUSE_STC" = "yes"; then
46184 cat >>confdefs.h <<\_ACEOF
46185 #define wxUSE_STC 1
46186 _ACEOF
46187
46188 USE_STC=1
46189 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
46190 fi
46191
46192 if test "$wxUSE_MENUS" = "yes"; then
46193 cat >>confdefs.h <<\_ACEOF
46194 #define wxUSE_MENUS 1
46195 _ACEOF
46196
46197 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
46198 fi
46199
46200 if test "$wxUSE_METAFILE" = "yes"; then
46201 cat >>confdefs.h <<\_ACEOF
46202 #define wxUSE_METAFILE 1
46203 _ACEOF
46204
46205 fi
46206
46207 if test "$wxUSE_MIMETYPE" = "yes"; then
46208 cat >>confdefs.h <<\_ACEOF
46209 #define wxUSE_MIMETYPE 1
46210 _ACEOF
46211
46212 fi
46213
46214 if test "$wxUSE_MINIFRAME" = "yes"; then
46215 cat >>confdefs.h <<\_ACEOF
46216 #define wxUSE_MINIFRAME 1
46217 _ACEOF
46218
46219 fi
46220
46221 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
46222 cat >>confdefs.h <<\_ACEOF
46223 #define wxUSE_SYSTEM_OPTIONS 1
46224 _ACEOF
46225
46226 fi
46227
46228 if test "$wxUSE_TASKBARICON" = "yes"; then
46229 cat >>confdefs.h <<\_ACEOF
46230 #define wxUSE_TASKBARICON 1
46231 _ACEOF
46232
46233 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
46234 fi
46235
46236
46237 if test "$wxUSE_VALIDATORS" = "yes"; then
46238 cat >>confdefs.h <<\_ACEOF
46239 #define wxUSE_VALIDATORS 1
46240 _ACEOF
46241
46242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
46243 fi
46244
46245 if test "$wxUSE_PALETTE" = "yes" ; then
46246 if test "$wxUSE_DFB" = 1; then
46247 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
46248 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
46249 wxUSE_PALETTE=no
46250 else
46251 cat >>confdefs.h <<\_ACEOF
46252 #define wxUSE_PALETTE 1
46253 _ACEOF
46254
46255 fi
46256 fi
46257
46258 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
46259 LIBS=" -lunicows $LIBS"
46260 fi
46261
46262 USE_RICHTEXT=0
46263 if test "$wxUSE_RICHTEXT" = "yes"; then
46264 cat >>confdefs.h <<\_ACEOF
46265 #define wxUSE_RICHTEXT 1
46266 _ACEOF
46267
46268 USE_RICHTEXT=1
46269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
46270 fi
46271
46272
46273 if test "$wxUSE_IMAGE" = "yes" ; then
46274 cat >>confdefs.h <<\_ACEOF
46275 #define wxUSE_IMAGE 1
46276 _ACEOF
46277
46278
46279 if test "$wxUSE_GIF" = "yes" ; then
46280 cat >>confdefs.h <<\_ACEOF
46281 #define wxUSE_GIF 1
46282 _ACEOF
46283
46284 fi
46285
46286 if test "$wxUSE_PCX" = "yes" ; then
46287 cat >>confdefs.h <<\_ACEOF
46288 #define wxUSE_PCX 1
46289 _ACEOF
46290
46291 fi
46292
46293 if test "$wxUSE_TGA" = "yes" ; then
46294 cat >>confdefs.h <<\_ACEOF
46295 #define wxUSE_TGA 1
46296 _ACEOF
46297
46298 fi
46299
46300 if test "$wxUSE_IFF" = "yes" ; then
46301 cat >>confdefs.h <<\_ACEOF
46302 #define wxUSE_IFF 1
46303 _ACEOF
46304
46305 fi
46306
46307 if test "$wxUSE_PNM" = "yes" ; then
46308 cat >>confdefs.h <<\_ACEOF
46309 #define wxUSE_PNM 1
46310 _ACEOF
46311
46312 fi
46313
46314 if test "$wxUSE_XPM" = "yes" ; then
46315 cat >>confdefs.h <<\_ACEOF
46316 #define wxUSE_XPM 1
46317 _ACEOF
46318
46319 fi
46320
46321 if test "$wxUSE_ICO_CUR" = "yes" ; then
46322 cat >>confdefs.h <<\_ACEOF
46323 #define wxUSE_ICO_CUR 1
46324 _ACEOF
46325
46326 fi
46327 fi
46328
46329
46330 if test "$wxUSE_ABOUTDLG" = "yes"; then
46331 cat >>confdefs.h <<\_ACEOF
46332 #define wxUSE_ABOUTDLG 1
46333 _ACEOF
46334
46335 fi
46336
46337 if test "$wxUSE_CHOICEDLG" = "yes"; then
46338 cat >>confdefs.h <<\_ACEOF
46339 #define wxUSE_CHOICEDLG 1
46340 _ACEOF
46341
46342 fi
46343
46344 if test "$wxUSE_COLOURDLG" = "yes"; then
46345 cat >>confdefs.h <<\_ACEOF
46346 #define wxUSE_COLOURDLG 1
46347 _ACEOF
46348
46349 fi
46350
46351 if test "$wxUSE_FILEDLG" = "yes"; then
46352 cat >>confdefs.h <<\_ACEOF
46353 #define wxUSE_FILEDLG 1
46354 _ACEOF
46355
46356 fi
46357
46358 if test "$wxUSE_FINDREPLDLG" = "yes"; then
46359 cat >>confdefs.h <<\_ACEOF
46360 #define wxUSE_FINDREPLDLG 1
46361 _ACEOF
46362
46363 fi
46364
46365 if test "$wxUSE_FONTDLG" = "yes"; then
46366 cat >>confdefs.h <<\_ACEOF
46367 #define wxUSE_FONTDLG 1
46368 _ACEOF
46369
46370 fi
46371
46372 if test "$wxUSE_DIRDLG" = "yes"; then
46373 if test "$wxUSE_TREECTRL" != "yes"; then
46374 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
46375 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
46376 else
46377 cat >>confdefs.h <<\_ACEOF
46378 #define wxUSE_DIRDLG 1
46379 _ACEOF
46380
46381 fi
46382 fi
46383
46384 if test "$wxUSE_MSGDLG" = "yes"; then
46385 cat >>confdefs.h <<\_ACEOF
46386 #define wxUSE_MSGDLG 1
46387 _ACEOF
46388
46389 fi
46390
46391 if test "$wxUSE_NUMBERDLG" = "yes"; then
46392 cat >>confdefs.h <<\_ACEOF
46393 #define wxUSE_NUMBERDLG 1
46394 _ACEOF
46395
46396 fi
46397
46398 if test "$wxUSE_PROGRESSDLG" = "yes"; then
46399 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46400 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
46401 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
46402 else
46403 cat >>confdefs.h <<\_ACEOF
46404 #define wxUSE_PROGRESSDLG 1
46405 _ACEOF
46406
46407 fi
46408 fi
46409
46410 if test "$wxUSE_SPLASH" = "yes"; then
46411 cat >>confdefs.h <<\_ACEOF
46412 #define wxUSE_SPLASH 1
46413 _ACEOF
46414
46415 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
46416 fi
46417
46418 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
46419 if test "$wxUSE_CONSTRAINTS" != "yes"; then
46420 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
46421 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
46422 else
46423 cat >>confdefs.h <<\_ACEOF
46424 #define wxUSE_STARTUP_TIPS 1
46425 _ACEOF
46426
46427 fi
46428 fi
46429
46430 if test "$wxUSE_TEXTDLG" = "yes"; then
46431 cat >>confdefs.h <<\_ACEOF
46432 #define wxUSE_TEXTDLG 1
46433 _ACEOF
46434
46435 fi
46436
46437 if test "$wxUSE_WIZARDDLG" = "yes"; then
46438 cat >>confdefs.h <<\_ACEOF
46439 #define wxUSE_WIZARDDLG 1
46440 _ACEOF
46441
46442 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
46443 fi
46444
46445
46446 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
46447 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
46448 cat >>confdefs.h <<\_ACEOF
46449 #define wxUSE_OWNER_DRAWN 1
46450 _ACEOF
46451
46452 fi
46453 fi
46454
46455
46456 if test "$wxUSE_MSW" = 1 ; then
46457
46458 if test "$wxUSE_DC_CACHEING" = "yes"; then
46459 cat >>confdefs.h <<\_ACEOF
46460 #define wxUSE_DC_CACHEING 1
46461 _ACEOF
46462
46463 fi
46464
46465 if test "$wxUSE_DIB" = "yes"; then
46466 cat >>confdefs.h <<\_ACEOF
46467 #define wxUSE_WXDIB 1
46468 _ACEOF
46469
46470 fi
46471
46472 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
46473 cat >>confdefs.h <<\_ACEOF
46474 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
46475 _ACEOF
46476
46477 fi
46478
46479 if test "$wxUSE_UXTHEME" = "yes"; then
46480 cat >>confdefs.h <<\_ACEOF
46481 #define wxUSE_UXTHEME 1
46482 _ACEOF
46483
46484 fi
46485
46486 fi
46487
46488 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
46489 cat >>confdefs.h <<\_ACEOF
46490 #define wxUSE_AUTOID_MANAGEMENT 1
46491 _ACEOF
46492
46493 fi
46494
46495 if test "$USE_WIN32" = 1 ; then
46496 if test "$wxUSE_INICONF" = "yes"; then
46497 cat >>confdefs.h <<\_ACEOF
46498 #define wxUSE_INICONF 1
46499 _ACEOF
46500
46501 fi
46502
46503 if test "$wxUSE_REGKEY" = "yes"; then
46504 cat >>confdefs.h <<\_ACEOF
46505 #define wxUSE_REGKEY 1
46506 _ACEOF
46507
46508 fi
46509 fi
46510
46511
46512 if test "$wxUSE_MAC" = 1; then
46513 wxUSE_GRAPHICS_CONTEXT="yes"
46514 fi
46515
46516 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
46517 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
46518 cat >>confdefs.h <<\_ACEOF
46519 #define wxUSE_GRAPHICS_CONTEXT 1
46520 _ACEOF
46521
46522 elif test "$wxUSE_GTK" != 1; then
46523 cat >>confdefs.h <<\_ACEOF
46524 #define wxUSE_GRAPHICS_CONTEXT 1
46525 _ACEOF
46526
46527 else
46528
46529 pkg_failed=no
46530 { echo "$as_me:$LINENO: checking for CAIRO" >&5
46531 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46532
46533 if test -n "$PKG_CONFIG"; then
46534 if test -n "$CAIRO_CFLAGS"; then
46535 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46536 else
46537 if test -n "$PKG_CONFIG" && \
46538 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46539 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46540 ac_status=$?
46541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46542 (exit $ac_status); }; then
46543 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46544 else
46545 pkg_failed=yes
46546 fi
46547 fi
46548 else
46549 pkg_failed=untried
46550 fi
46551 if test -n "$PKG_CONFIG"; then
46552 if test -n "$CAIRO_LIBS"; then
46553 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46554 else
46555 if test -n "$PKG_CONFIG" && \
46556 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46557 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46558 ac_status=$?
46559 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46560 (exit $ac_status); }; then
46561 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46562 else
46563 pkg_failed=yes
46564 fi
46565 fi
46566 else
46567 pkg_failed=untried
46568 fi
46569
46570
46571
46572 if test $pkg_failed = yes; then
46573
46574 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46575 _pkg_short_errors_supported=yes
46576 else
46577 _pkg_short_errors_supported=no
46578 fi
46579 if test $_pkg_short_errors_supported = yes; then
46580 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46581 else
46582 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46583 fi
46584 # Put the nasty error message in config.log where it belongs
46585 echo "$CAIRO_PKG_ERRORS" >&5
46586
46587 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46588 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46589
46590 elif test $pkg_failed = untried; then
46591 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46592 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46593
46594 else
46595 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46596 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46597 { echo "$as_me:$LINENO: result: yes" >&5
46598 echo "${ECHO_T}yes" >&6; }
46599 cat >>confdefs.h <<\_ACEOF
46600 #define wxUSE_GRAPHICS_CONTEXT 1
46601 _ACEOF
46602
46603 fi
46604 fi
46605 fi
46606
46607
46608 USE_MEDIA=0
46609
46610 if test "$wxUSE_MEDIACTRL" = "yes"; then
46611 USE_MEDIA=1
46612
46613 if test "$wxUSE_GTK" = 1; then
46614 wxUSE_GSTREAMER="no"
46615
46616 GST_VERSION_MAJOR=0
46617 GST_VERSION_MINOR=10
46618 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46619
46620 if test "$wxUSE_GSTREAMER8" = "no"; then
46621
46622 pkg_failed=no
46623 { echo "$as_me:$LINENO: checking for GST" >&5
46624 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46625
46626 if test -n "$PKG_CONFIG"; then
46627 if test -n "$GST_CFLAGS"; then
46628 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46629 else
46630 if test -n "$PKG_CONFIG" && \
46631 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46632 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46633 ac_status=$?
46634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46635 (exit $ac_status); }; then
46636 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46637 else
46638 pkg_failed=yes
46639 fi
46640 fi
46641 else
46642 pkg_failed=untried
46643 fi
46644 if test -n "$PKG_CONFIG"; then
46645 if test -n "$GST_LIBS"; then
46646 pkg_cv_GST_LIBS="$GST_LIBS"
46647 else
46648 if test -n "$PKG_CONFIG" && \
46649 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46650 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46651 ac_status=$?
46652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46653 (exit $ac_status); }; then
46654 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46655 else
46656 pkg_failed=yes
46657 fi
46658 fi
46659 else
46660 pkg_failed=untried
46661 fi
46662
46663
46664
46665 if test $pkg_failed = yes; then
46666
46667 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46668 _pkg_short_errors_supported=yes
46669 else
46670 _pkg_short_errors_supported=no
46671 fi
46672 if test $_pkg_short_errors_supported = yes; then
46673 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46674 else
46675 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46676 fi
46677 # Put the nasty error message in config.log where it belongs
46678 echo "$GST_PKG_ERRORS" >&5
46679
46680
46681 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46682 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46683 GST_VERSION_MINOR=8
46684
46685
46686 elif test $pkg_failed = untried; then
46687
46688 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46689 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46690 GST_VERSION_MINOR=8
46691
46692
46693 else
46694 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46695 GST_LIBS=$pkg_cv_GST_LIBS
46696 { echo "$as_me:$LINENO: result: yes" >&5
46697 echo "${ECHO_T}yes" >&6; }
46698
46699 wxUSE_GSTREAMER="yes"
46700 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46701
46702 fi
46703 else
46704 GST_VERSION_MINOR=8
46705 fi
46706
46707 if test $GST_VERSION_MINOR = "8"; then
46708 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46709
46710 pkg_failed=no
46711 { echo "$as_me:$LINENO: checking for GST" >&5
46712 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46713
46714 if test -n "$PKG_CONFIG"; then
46715 if test -n "$GST_CFLAGS"; then
46716 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46717 else
46718 if test -n "$PKG_CONFIG" && \
46719 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46720 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46721 ac_status=$?
46722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46723 (exit $ac_status); }; then
46724 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46725 else
46726 pkg_failed=yes
46727 fi
46728 fi
46729 else
46730 pkg_failed=untried
46731 fi
46732 if test -n "$PKG_CONFIG"; then
46733 if test -n "$GST_LIBS"; then
46734 pkg_cv_GST_LIBS="$GST_LIBS"
46735 else
46736 if test -n "$PKG_CONFIG" && \
46737 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46738 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46739 ac_status=$?
46740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46741 (exit $ac_status); }; then
46742 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46743 else
46744 pkg_failed=yes
46745 fi
46746 fi
46747 else
46748 pkg_failed=untried
46749 fi
46750
46751
46752
46753 if test $pkg_failed = yes; then
46754
46755 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46756 _pkg_short_errors_supported=yes
46757 else
46758 _pkg_short_errors_supported=no
46759 fi
46760 if test $_pkg_short_errors_supported = yes; then
46761 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46762 else
46763 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46764 fi
46765 # Put the nasty error message in config.log where it belongs
46766 echo "$GST_PKG_ERRORS" >&5
46767
46768
46769 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46770 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46771
46772 elif test $pkg_failed = untried; then
46773
46774 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46775 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46776
46777 else
46778 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46779 GST_LIBS=$pkg_cv_GST_LIBS
46780 { echo "$as_me:$LINENO: result: yes" >&5
46781 echo "${ECHO_T}yes" >&6; }
46782 wxUSE_GSTREAMER="yes"
46783 fi
46784 fi
46785
46786
46787 if test "$wxUSE_GSTREAMER" = "yes"; then
46788 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46789 EXTRALIBS_MEDIA="$GST_LIBS"
46790
46791 cat >>confdefs.h <<\_ACEOF
46792 #define wxUSE_GSTREAMER 1
46793 _ACEOF
46794
46795 else
46796 USE_MEDIA=0
46797 fi
46798 fi
46799
46800 if test $USE_MEDIA = 1; then
46801 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46802 cat >>confdefs.h <<\_ACEOF
46803 #define wxUSE_MEDIACTRL 1
46804 _ACEOF
46805
46806 fi
46807 fi
46808
46809
46810 if test "$cross_compiling" = "yes"; then
46811 OSINFO="\"$host\""
46812 else
46813 OSINFO=`uname -s -r -m`
46814 OSINFO="\"$OSINFO\""
46815 fi
46816
46817 cat >>confdefs.h <<_ACEOF
46818 #define WXWIN_OS_DESCRIPTION $OSINFO
46819 _ACEOF
46820
46821
46822
46823 if test "x$prefix" != "xNONE"; then
46824 wxPREFIX=$prefix
46825 else
46826 wxPREFIX=$ac_default_prefix
46827 fi
46828
46829 cat >>confdefs.h <<_ACEOF
46830 #define wxINSTALL_PREFIX "$wxPREFIX"
46831 _ACEOF
46832
46833
46834
46835
46836 STD_BASE_LIBS="base"
46837 STD_GUI_LIBS=""
46838 BUILT_WX_LIBS="base"
46839 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46840
46841 if test "$wxUSE_SOCKETS" = "yes" ; then
46842 STD_BASE_LIBS="net $STD_BASE_LIBS"
46843 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46844 fi
46845 if test "$wxUSE_XML" = "yes" ; then
46846 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46847 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46848 fi
46849
46850 if test "$wxUSE_GUI" = "yes"; then
46851 STD_GUI_LIBS="adv core"
46852 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46853
46854 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46855 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46856 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46857 fi
46858 if test "$wxUSE_HTML" = "yes" ; then
46859 STD_GUI_LIBS="html $STD_GUI_LIBS"
46860 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46861 fi
46862 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46863 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46864 fi
46865 if test "$wxUSE_OPENGL" = "yes" ; then
46866 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46867 fi
46868 if test "$wxUSE_AUI" = "yes" ; then
46869 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46870 fi
46871 if test "$wxUSE_STC" = "yes" ; then
46872 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46873 fi
46874 if test "$wxUSE_XRC" = "yes" ; then
46875 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46876 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46877 fi
46878 fi
46879
46880
46881
46882
46883
46884
46885
46886
46887 if test "$wxUSE_MAC" = 1 ; then
46888 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46889 if test "$USE_DARWIN" = 1; then
46890 LDFLAGS="$LDFLAGS -framework QuickTime"
46891 else
46892 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46893 fi
46894 fi
46895 if test "$USE_DARWIN" = 1; then
46896 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework AudioToolbox -framework System"
46897 else
46898 LDFLAGS="$LDFLAGS -lCarbonLib"
46899 fi
46900 fi
46901 if test "$wxUSE_COCOA" = 1 ; then
46902 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46903 if test "$wxUSE_MEDIACTRL" = "yes"; then
46904 LDFLAGS="$LDFLAGS -framework QuickTime"
46905 fi
46906 fi
46907 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46908 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46909 fi
46910
46911 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46912
46913 if test "$wxUSE_GUI" = "yes"; then
46914
46915
46916 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46917 erase event exec font image minimal mobile \
46918 mobile/wxedit mobile/styles render \
46919 shaped svg taborder vscroll widgets"
46920
46921 if test "$wxUSE_MONOLITHIC" != "yes"; then
46922 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46923 fi
46924 if test "$TOOLKIT" = "MSW"; then
46925 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46926 if test "$wxUSE_UNIVERSAL" != "yes"; then
46927 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46928 fi
46929 fi
46930 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46931 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46932 fi
46933 else
46934 SAMPLES_SUBDIRS="console"
46935 if test "$wxUSE_SOCKETS" = "yes" ; then
46936 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46937 fi
46938 if test "$wxUSE_IPC" = "yes" ; then
46939 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
46940 fi
46941 fi
46942
46943
46944 if test "x$INTELCC" = "xyes" ; then
46945 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46946 elif test "$GCC" = yes ; then
46947 CWARNINGS="-Wall -Wundef"
46948 fi
46949
46950 if test "x$INTELCXX" = "xyes" ; then
46951 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46952 elif test "$GXX" = yes ; then
46953 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46954 fi
46955
46956
46957 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46958 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46959
46960
46961 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46962 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46963 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46964 $CPPFLAGS `
46965
46966 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46967 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46968 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46969 OBJCFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $OBJCFLAGS `
46970 OBJCXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $OBJCXXFLAGS `
46971
46972 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46973
46974
46975 if test "x$MWCC" = "xyes"; then
46976
46977 CC="$CC -cwd source -I-"
46978 CXX="$CXX -cwd source -I-"
46979 fi
46980
46981
46982 LIBS=`echo $LIBS`
46983 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46984 EXTRALIBS_XML="$EXPAT_LINK"
46985 EXTRALIBS_HTML="$MSPACK_LINK"
46986 EXTRALIBS_MEDIA="$GST_LIBS"
46987 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46988 if test "$wxUSE_GUI" = "yes"; then
46989 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46990 fi
46991 if test "$wxUSE_OPENGL" = "yes"; then
46992 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46993 fi
46994
46995 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46996
46997 WXCONFIG_LIBS="$LIBS"
46998
46999 if test "$wxUSE_REGEX" = "builtin" ; then
47000 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
47001 fi
47002 if test "$wxUSE_EXPAT" = "builtin" ; then
47003 wxconfig_3rdparty="expat $wxconfig_3rdparty"
47004 fi
47005 if test "$wxUSE_LIBTIFF" = "builtin" ; then
47006 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
47007 fi
47008 if test "$wxUSE_LIBJPEG" = "builtin" ; then
47009 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
47010 fi
47011 if test "$wxUSE_LIBPNG" = "builtin" ; then
47012 wxconfig_3rdparty="png $wxconfig_3rdparty"
47013 fi
47014 if test "$wxUSE_ZLIB" = "builtin" ; then
47015 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
47016 fi
47017
47018 for i in $wxconfig_3rdparty ; do
47019 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
47020 done
47021
47022
47023 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
47024 WXUNIV=1
47025
47026 case "$wxUNIV_THEMES" in
47027 ''|all)
47028 cat >>confdefs.h <<\_ACEOF
47029 #define wxUSE_ALL_THEMES 1
47030 _ACEOF
47031
47032 ;;
47033
47034 *)
47035 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
47036 cat >>confdefs.h <<_ACEOF
47037 #define wxUSE_THEME_$t 1
47038 _ACEOF
47039
47040 done
47041 esac
47042 else
47043 WXUNIV=0
47044 fi
47045
47046
47047
47048
47049
47050
47051
47052
47053 if test $wxUSE_MONOLITHIC = "yes" ; then
47054 MONOLITHIC=1
47055 else
47056 MONOLITHIC=0
47057 fi
47058
47059 if test $wxUSE_PLUGINS = "yes" ; then
47060 USE_PLUGINS=1
47061 else
47062 USE_PLUGINS=0
47063 fi
47064
47065 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
47066 USE_QA=1
47067 else
47068 USE_QA=0
47069 fi
47070
47071 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
47072 OFFICIAL_BUILD=1
47073 else
47074 OFFICIAL_BUILD=0
47075 fi
47076
47077
47078
47079
47080
47081
47082
47083
47084
47085
47086
47087
47088
47089
47090
47091
47092
47093
47094
47095
47096
47097
47098
47099
47100
47101
47102
47103
47104 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
47105
47106
47107
47108
47109
47110
47111
47112
47113 case "$TOOLKIT" in
47114 GTK)
47115 TOOLKIT_DESC="GTK+"
47116 if test "$WXGTK2" = 1; then
47117 TOOLKIT_DESC="$TOOLKIT_DESC 2"
47118 if test "$wxUSE_GTKPRINT" = "yes" ; then
47119 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
47120 fi
47121 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
47122 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
47123 fi
47124 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
47125 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
47126 fi
47127 if test "$wxUSE_LIBHILDON" = "yes"; then
47128 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
47129 fi
47130
47131 if test "$TOOLKIT_EXTRA" != ""; then
47132 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
47133 fi
47134 fi
47135 ;;
47136
47137 ?*)
47138 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
47139 ;;
47140
47141 *)
47142 TOOLKIT_DESC="base only"
47143 ;;
47144 esac
47145
47146 if test "$wxUSE_WINE" = "yes"; then
47147 BAKEFILE_FORCE_PLATFORM=win32
47148 fi
47149
47150 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
47151 then
47152 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
47153 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
47154 if test "${wx_cv_gcc_pch_bug+set}" = set; then
47155 echo $ECHO_N "(cached) $ECHO_C" >&6
47156 else
47157
47158 echo '#include <stdio.h>
47159 const wchar_t test_var[] = L"awidetest";' > conftest.h
47160
47161 echo '#include "conftest.h"
47162 int main()
47163 {
47164 printf("%ls", test_var);
47165 return 0;
47166 }' > conftest.cpp
47167
47168 wx_cv_gcc_pch_bug="pch not supported"
47169
47170 if $CXX conftest.h >/dev/null 2>&1
47171 then
47172 wx_cv_gcc_pch_bug=
47173
47174 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
47175 then
47176 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
47177 grep awidetest >/dev/null
47178 then
47179 wx_cv_gcc_pch_bug=no
47180 else
47181 wx_cv_gcc_pch_bug=yes
47182 fi
47183 fi
47184 fi
47185
47186 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
47187
47188 fi
47189 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
47190 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
47191
47192 if test "$wx_cv_gcc_pch_bug" = yes; then
47193 bk_use_pch=no
47194 fi
47195 fi
47196
47197
47198
47199
47200
47201
47202
47203 if test "x$BAKEFILE_HOST" = "x"; then
47204 if test "x${host}" = "x" ; then
47205 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
47206 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
47207 { (exit 1); exit 1; }; }
47208 fi
47209
47210 BAKEFILE_HOST="${host}"
47211 fi
47212
47213 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
47214
47215 if test -n "$ac_tool_prefix"; then
47216 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
47217 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
47218 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47219 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47220 if test "${ac_cv_prog_RANLIB+set}" = set; then
47221 echo $ECHO_N "(cached) $ECHO_C" >&6
47222 else
47223 if test -n "$RANLIB"; then
47224 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
47225 else
47226 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47227 for as_dir in $PATH
47228 do
47229 IFS=$as_save_IFS
47230 test -z "$as_dir" && as_dir=.
47231 for ac_exec_ext in '' $ac_executable_extensions; do
47232 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47233 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
47234 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47235 break 2
47236 fi
47237 done
47238 done
47239 IFS=$as_save_IFS
47240
47241 fi
47242 fi
47243 RANLIB=$ac_cv_prog_RANLIB
47244 if test -n "$RANLIB"; then
47245 { echo "$as_me:$LINENO: result: $RANLIB" >&5
47246 echo "${ECHO_T}$RANLIB" >&6; }
47247 else
47248 { echo "$as_me:$LINENO: result: no" >&5
47249 echo "${ECHO_T}no" >&6; }
47250 fi
47251
47252
47253 fi
47254 if test -z "$ac_cv_prog_RANLIB"; then
47255 ac_ct_RANLIB=$RANLIB
47256 # Extract the first word of "ranlib", so it can be a program name with args.
47257 set dummy ranlib; ac_word=$2
47258 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47259 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47260 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
47261 echo $ECHO_N "(cached) $ECHO_C" >&6
47262 else
47263 if test -n "$ac_ct_RANLIB"; then
47264 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
47265 else
47266 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47267 for as_dir in $PATH
47268 do
47269 IFS=$as_save_IFS
47270 test -z "$as_dir" && as_dir=.
47271 for ac_exec_ext in '' $ac_executable_extensions; do
47272 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47273 ac_cv_prog_ac_ct_RANLIB="ranlib"
47274 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47275 break 2
47276 fi
47277 done
47278 done
47279 IFS=$as_save_IFS
47280
47281 fi
47282 fi
47283 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
47284 if test -n "$ac_ct_RANLIB"; then
47285 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
47286 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
47287 else
47288 { echo "$as_me:$LINENO: result: no" >&5
47289 echo "${ECHO_T}no" >&6; }
47290 fi
47291
47292 if test "x$ac_ct_RANLIB" = x; then
47293 RANLIB=":"
47294 else
47295 case $cross_compiling:$ac_tool_warned in
47296 yes:)
47297 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47298 whose name does not start with the host triplet. If you think this
47299 configuration is useful to you, please write to autoconf@gnu.org." >&5
47300 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47301 whose name does not start with the host triplet. If you think this
47302 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47303 ac_tool_warned=yes ;;
47304 esac
47305 RANLIB=$ac_ct_RANLIB
47306 fi
47307 else
47308 RANLIB="$ac_cv_prog_RANLIB"
47309 fi
47310
47311 # Find a good install program. We prefer a C program (faster),
47312 # so one script is as good as another. But avoid the broken or
47313 # incompatible versions:
47314 # SysV /etc/install, /usr/sbin/install
47315 # SunOS /usr/etc/install
47316 # IRIX /sbin/install
47317 # AIX /bin/install
47318 # AmigaOS /C/install, which installs bootblocks on floppy discs
47319 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
47320 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
47321 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
47322 # OS/2's system install, which has a completely different semantic
47323 # ./install, which can be erroneously created by make from ./install.sh.
47324 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
47325 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
47326 if test -z "$INSTALL"; then
47327 if test "${ac_cv_path_install+set}" = set; then
47328 echo $ECHO_N "(cached) $ECHO_C" >&6
47329 else
47330 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47331 for as_dir in $PATH
47332 do
47333 IFS=$as_save_IFS
47334 test -z "$as_dir" && as_dir=.
47335 # Account for people who put trailing slashes in PATH elements.
47336 case $as_dir/ in
47337 ./ | .// | /cC/* | \
47338 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
47339 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
47340 /usr/ucb/* ) ;;
47341 *)
47342 # OSF1 and SCO ODT 3.0 have their own names for install.
47343 # Don't use installbsd from OSF since it installs stuff as root
47344 # by default.
47345 for ac_prog in ginstall scoinst install; do
47346 for ac_exec_ext in '' $ac_executable_extensions; do
47347 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
47348 if test $ac_prog = install &&
47349 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47350 # AIX install. It has an incompatible calling convention.
47351 :
47352 elif test $ac_prog = install &&
47353 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
47354 # program-specific install script used by HP pwplus--don't use.
47355 :
47356 else
47357 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
47358 break 3
47359 fi
47360 fi
47361 done
47362 done
47363 ;;
47364 esac
47365 done
47366 IFS=$as_save_IFS
47367
47368
47369 fi
47370 if test "${ac_cv_path_install+set}" = set; then
47371 INSTALL=$ac_cv_path_install
47372 else
47373 # As a last resort, use the slow shell script. Don't cache a
47374 # value for INSTALL within a source directory, because that will
47375 # break other packages using the cache if that directory is
47376 # removed, or if the value is a relative name.
47377 INSTALL=$ac_install_sh
47378 fi
47379 fi
47380 { echo "$as_me:$LINENO: result: $INSTALL" >&5
47381 echo "${ECHO_T}$INSTALL" >&6; }
47382
47383 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
47384 # It thinks the first close brace ends the variable substitution.
47385 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
47386
47387 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
47388
47389 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
47390
47391 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
47392 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
47393 LN_S=$as_ln_s
47394 if test "$LN_S" = "ln -s"; then
47395 { echo "$as_me:$LINENO: result: yes" >&5
47396 echo "${ECHO_T}yes" >&6; }
47397 else
47398 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
47399 echo "${ECHO_T}no, using $LN_S" >&6; }
47400 fi
47401
47402
47403 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
47404 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
47405 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
47406 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
47407 echo $ECHO_N "(cached) $ECHO_C" >&6
47408 else
47409 cat >conftest.make <<\_ACEOF
47410 SHELL = /bin/sh
47411 all:
47412 @echo '@@@%%%=$(MAKE)=@@@%%%'
47413 _ACEOF
47414 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
47415 case `${MAKE-make} -f conftest.make 2>/dev/null` in
47416 *@@@%%%=?*=@@@%%%*)
47417 eval ac_cv_prog_make_${ac_make}_set=yes;;
47418 *)
47419 eval ac_cv_prog_make_${ac_make}_set=no;;
47420 esac
47421 rm -f conftest.make
47422 fi
47423 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
47424 { echo "$as_me:$LINENO: result: yes" >&5
47425 echo "${ECHO_T}yes" >&6; }
47426 SET_MAKE=
47427 else
47428 { echo "$as_me:$LINENO: result: no" >&5
47429 echo "${ECHO_T}no" >&6; }
47430 SET_MAKE="MAKE=${MAKE-make}"
47431 fi
47432
47433
47434
47435 if test "x$SUNCXX" = "xyes"; then
47436 AR=$CXX
47437 AROPTIONS="-xar -o"
47438
47439 elif test "x$SGICC" = "xyes"; then
47440 AR=$CXX
47441 AROPTIONS="-ar -o"
47442
47443 else
47444 if test -n "$ac_tool_prefix"; then
47445 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
47446 set dummy ${ac_tool_prefix}ar; ac_word=$2
47447 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47448 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47449 if test "${ac_cv_prog_AR+set}" = set; then
47450 echo $ECHO_N "(cached) $ECHO_C" >&6
47451 else
47452 if test -n "$AR"; then
47453 ac_cv_prog_AR="$AR" # Let the user override the test.
47454 else
47455 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47456 for as_dir in $PATH
47457 do
47458 IFS=$as_save_IFS
47459 test -z "$as_dir" && as_dir=.
47460 for ac_exec_ext in '' $ac_executable_extensions; do
47461 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47462 ac_cv_prog_AR="${ac_tool_prefix}ar"
47463 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47464 break 2
47465 fi
47466 done
47467 done
47468 IFS=$as_save_IFS
47469
47470 fi
47471 fi
47472 AR=$ac_cv_prog_AR
47473 if test -n "$AR"; then
47474 { echo "$as_me:$LINENO: result: $AR" >&5
47475 echo "${ECHO_T}$AR" >&6; }
47476 else
47477 { echo "$as_me:$LINENO: result: no" >&5
47478 echo "${ECHO_T}no" >&6; }
47479 fi
47480
47481
47482 fi
47483 if test -z "$ac_cv_prog_AR"; then
47484 ac_ct_AR=$AR
47485 # Extract the first word of "ar", so it can be a program name with args.
47486 set dummy ar; ac_word=$2
47487 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47488 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47489 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
47490 echo $ECHO_N "(cached) $ECHO_C" >&6
47491 else
47492 if test -n "$ac_ct_AR"; then
47493 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
47494 else
47495 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47496 for as_dir in $PATH
47497 do
47498 IFS=$as_save_IFS
47499 test -z "$as_dir" && as_dir=.
47500 for ac_exec_ext in '' $ac_executable_extensions; do
47501 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47502 ac_cv_prog_ac_ct_AR="ar"
47503 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47504 break 2
47505 fi
47506 done
47507 done
47508 IFS=$as_save_IFS
47509
47510 fi
47511 fi
47512 ac_ct_AR=$ac_cv_prog_ac_ct_AR
47513 if test -n "$ac_ct_AR"; then
47514 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
47515 echo "${ECHO_T}$ac_ct_AR" >&6; }
47516 else
47517 { echo "$as_me:$LINENO: result: no" >&5
47518 echo "${ECHO_T}no" >&6; }
47519 fi
47520
47521 if test "x$ac_ct_AR" = x; then
47522 AR="ar"
47523 else
47524 case $cross_compiling:$ac_tool_warned in
47525 yes:)
47526 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47527 whose name does not start with the host triplet. If you think this
47528 configuration is useful to you, please write to autoconf@gnu.org." >&5
47529 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47530 whose name does not start with the host triplet. If you think this
47531 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47532 ac_tool_warned=yes ;;
47533 esac
47534 AR=$ac_ct_AR
47535 fi
47536 else
47537 AR="$ac_cv_prog_AR"
47538 fi
47539
47540 AROPTIONS=rcu
47541 fi
47542
47543
47544 if test -n "$ac_tool_prefix"; then
47545 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47546 set dummy ${ac_tool_prefix}strip; ac_word=$2
47547 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47548 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47549 if test "${ac_cv_prog_STRIP+set}" = set; then
47550 echo $ECHO_N "(cached) $ECHO_C" >&6
47551 else
47552 if test -n "$STRIP"; then
47553 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47554 else
47555 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47556 for as_dir in $PATH
47557 do
47558 IFS=$as_save_IFS
47559 test -z "$as_dir" && as_dir=.
47560 for ac_exec_ext in '' $ac_executable_extensions; do
47561 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47562 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47563 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47564 break 2
47565 fi
47566 done
47567 done
47568 IFS=$as_save_IFS
47569
47570 fi
47571 fi
47572 STRIP=$ac_cv_prog_STRIP
47573 if test -n "$STRIP"; then
47574 { echo "$as_me:$LINENO: result: $STRIP" >&5
47575 echo "${ECHO_T}$STRIP" >&6; }
47576 else
47577 { echo "$as_me:$LINENO: result: no" >&5
47578 echo "${ECHO_T}no" >&6; }
47579 fi
47580
47581
47582 fi
47583 if test -z "$ac_cv_prog_STRIP"; then
47584 ac_ct_STRIP=$STRIP
47585 # Extract the first word of "strip", so it can be a program name with args.
47586 set dummy strip; ac_word=$2
47587 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47588 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47589 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47590 echo $ECHO_N "(cached) $ECHO_C" >&6
47591 else
47592 if test -n "$ac_ct_STRIP"; then
47593 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47594 else
47595 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47596 for as_dir in $PATH
47597 do
47598 IFS=$as_save_IFS
47599 test -z "$as_dir" && as_dir=.
47600 for ac_exec_ext in '' $ac_executable_extensions; do
47601 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47602 ac_cv_prog_ac_ct_STRIP="strip"
47603 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47604 break 2
47605 fi
47606 done
47607 done
47608 IFS=$as_save_IFS
47609
47610 fi
47611 fi
47612 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47613 if test -n "$ac_ct_STRIP"; then
47614 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47615 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47616 else
47617 { echo "$as_me:$LINENO: result: no" >&5
47618 echo "${ECHO_T}no" >&6; }
47619 fi
47620
47621 if test "x$ac_ct_STRIP" = x; then
47622 STRIP=":"
47623 else
47624 case $cross_compiling:$ac_tool_warned in
47625 yes:)
47626 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47627 whose name does not start with the host triplet. If you think this
47628 configuration is useful to you, please write to autoconf@gnu.org." >&5
47629 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47630 whose name does not start with the host triplet. If you think this
47631 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47632 ac_tool_warned=yes ;;
47633 esac
47634 STRIP=$ac_ct_STRIP
47635 fi
47636 else
47637 STRIP="$ac_cv_prog_STRIP"
47638 fi
47639
47640 if test -n "$ac_tool_prefix"; then
47641 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47642 set dummy ${ac_tool_prefix}nm; ac_word=$2
47643 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47644 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47645 if test "${ac_cv_prog_NM+set}" = set; then
47646 echo $ECHO_N "(cached) $ECHO_C" >&6
47647 else
47648 if test -n "$NM"; then
47649 ac_cv_prog_NM="$NM" # Let the user override the test.
47650 else
47651 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47652 for as_dir in $PATH
47653 do
47654 IFS=$as_save_IFS
47655 test -z "$as_dir" && as_dir=.
47656 for ac_exec_ext in '' $ac_executable_extensions; do
47657 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47658 ac_cv_prog_NM="${ac_tool_prefix}nm"
47659 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47660 break 2
47661 fi
47662 done
47663 done
47664 IFS=$as_save_IFS
47665
47666 fi
47667 fi
47668 NM=$ac_cv_prog_NM
47669 if test -n "$NM"; then
47670 { echo "$as_me:$LINENO: result: $NM" >&5
47671 echo "${ECHO_T}$NM" >&6; }
47672 else
47673 { echo "$as_me:$LINENO: result: no" >&5
47674 echo "${ECHO_T}no" >&6; }
47675 fi
47676
47677
47678 fi
47679 if test -z "$ac_cv_prog_NM"; then
47680 ac_ct_NM=$NM
47681 # Extract the first word of "nm", so it can be a program name with args.
47682 set dummy nm; ac_word=$2
47683 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47684 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47685 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47686 echo $ECHO_N "(cached) $ECHO_C" >&6
47687 else
47688 if test -n "$ac_ct_NM"; then
47689 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47690 else
47691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47692 for as_dir in $PATH
47693 do
47694 IFS=$as_save_IFS
47695 test -z "$as_dir" && as_dir=.
47696 for ac_exec_ext in '' $ac_executable_extensions; do
47697 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47698 ac_cv_prog_ac_ct_NM="nm"
47699 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47700 break 2
47701 fi
47702 done
47703 done
47704 IFS=$as_save_IFS
47705
47706 fi
47707 fi
47708 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47709 if test -n "$ac_ct_NM"; then
47710 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47711 echo "${ECHO_T}$ac_ct_NM" >&6; }
47712 else
47713 { echo "$as_me:$LINENO: result: no" >&5
47714 echo "${ECHO_T}no" >&6; }
47715 fi
47716
47717 if test "x$ac_ct_NM" = x; then
47718 NM=":"
47719 else
47720 case $cross_compiling:$ac_tool_warned in
47721 yes:)
47722 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47723 whose name does not start with the host triplet. If you think this
47724 configuration is useful to you, please write to autoconf@gnu.org." >&5
47725 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47726 whose name does not start with the host triplet. If you think this
47727 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47728 ac_tool_warned=yes ;;
47729 esac
47730 NM=$ac_ct_NM
47731 fi
47732 else
47733 NM="$ac_cv_prog_NM"
47734 fi
47735
47736
47737 { echo "$as_me:$LINENO: checking for command to install directories" >&5
47738 echo $ECHO_N "checking for command to install directories... $ECHO_C" >&6; }
47739 INSTALL_TEST_DIR=acbftest$$
47740 $INSTALL -d $INSTALL_TEST_DIR > /dev/null 2>&1
47741 if test $? = 0 -a -d $INSTALL_TEST_DIR; then
47742 rmdir $INSTALL_TEST_DIR
47743 INSTALL_DIR='$(INSTALL) -d'
47744 { echo "$as_me:$LINENO: result: $INSTALL -d" >&5
47745 echo "${ECHO_T}$INSTALL -d" >&6; }
47746 else
47747 INSTALL_DIR="mkdir -p"
47748 { echo "$as_me:$LINENO: result: mkdir -p" >&5
47749 echo "${ECHO_T}mkdir -p" >&6; }
47750 fi
47751
47752
47753 LDFLAGS_GUI=
47754 case ${BAKEFILE_HOST} in
47755 *-*-cygwin* | *-*-mingw32* )
47756 LDFLAGS_GUI="-mwindows"
47757 esac
47758
47759
47760 fi
47761
47762 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47763 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47764 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47765 echo $ECHO_N "(cached) $ECHO_C" >&6
47766 else
47767
47768 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47769 egrep -s GNU > /dev/null); then
47770 bakefile_cv_prog_makeisgnu="yes"
47771 else
47772 bakefile_cv_prog_makeisgnu="no"
47773 fi
47774
47775 fi
47776 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47777 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47778
47779 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47780 IF_GNU_MAKE=""
47781 else
47782 IF_GNU_MAKE="#"
47783 fi
47784
47785
47786
47787 PLATFORM_UNIX=0
47788 PLATFORM_WIN32=0
47789 PLATFORM_MSDOS=0
47790 PLATFORM_MAC=0
47791 PLATFORM_MACOS=0
47792 PLATFORM_MACOSX=0
47793 PLATFORM_OS2=0
47794 PLATFORM_BEOS=0
47795
47796 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47797 case "${BAKEFILE_HOST}" in
47798 *-*-mingw32* )
47799 PLATFORM_WIN32=1
47800 ;;
47801 *-pc-msdosdjgpp )
47802 PLATFORM_MSDOS=1
47803 ;;
47804 *-pc-os2_emx | *-pc-os2-emx )
47805 PLATFORM_OS2=1
47806 ;;
47807 *-*-darwin* )
47808 PLATFORM_MAC=1
47809 PLATFORM_MACOSX=1
47810 ;;
47811 *-*-beos* )
47812 PLATFORM_BEOS=1
47813 ;;
47814 powerpc-apple-macos* )
47815 PLATFORM_MAC=1
47816 PLATFORM_MACOS=1
47817 ;;
47818 * )
47819 PLATFORM_UNIX=1
47820 ;;
47821 esac
47822 else
47823 case "$BAKEFILE_FORCE_PLATFORM" in
47824 win32 )
47825 PLATFORM_WIN32=1
47826 ;;
47827 msdos )
47828 PLATFORM_MSDOS=1
47829 ;;
47830 os2 )
47831 PLATFORM_OS2=1
47832 ;;
47833 darwin )
47834 PLATFORM_MAC=1
47835 PLATFORM_MACOSX=1
47836 ;;
47837 unix )
47838 PLATFORM_UNIX=1
47839 ;;
47840 beos )
47841 PLATFORM_BEOS=1
47842 ;;
47843 * )
47844 ;;
47845 esac
47846 fi
47847
47848
47849
47850
47851
47852
47853
47854
47855
47856
47857
47858 # Check whether --enable-omf was given.
47859 if test "${enable_omf+set}" = set; then
47860 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47861 fi
47862
47863
47864 case "${BAKEFILE_HOST}" in
47865 *-*-darwin* )
47866 if test "x$GCC" = "xyes"; then
47867 CFLAGS="$CFLAGS -fno-common"
47868 CXXFLAGS="$CXXFLAGS -fno-common"
47869 fi
47870 if test "x$XLCC" = "xyes"; then
47871 CFLAGS="$CFLAGS -qnocommon"
47872 CXXFLAGS="$CXXFLAGS -qnocommon"
47873 fi
47874 ;;
47875
47876 *-pc-os2_emx | *-pc-os2-emx )
47877 if test "x$bk_os2_use_omf" = "xyes" ; then
47878 AR=emxomfar
47879 RANLIB=:
47880 LDFLAGS="-Zomf $LDFLAGS"
47881 CFLAGS="-Zomf $CFLAGS"
47882 CXXFLAGS="-Zomf $CXXFLAGS"
47883 OS2_LIBEXT="lib"
47884 else
47885 OS2_LIBEXT="a"
47886 fi
47887 ;;
47888
47889 i*86-*-beos* )
47890 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47891 ;;
47892 esac
47893
47894
47895 SO_SUFFIX="so"
47896 SO_SUFFIX_MODULE="so"
47897 EXEEXT=""
47898 LIBPREFIX="lib"
47899 LIBEXT=".a"
47900 DLLPREFIX="lib"
47901 DLLPREFIX_MODULE=""
47902 DLLIMP_SUFFIX=""
47903 dlldir="$libdir"
47904
47905 case "${BAKEFILE_HOST}" in
47906 *-hp-hpux* )
47907 SO_SUFFIX="sl"
47908 SO_SUFFIX_MODULE="sl"
47909 ;;
47910 *-*-aix* )
47911 SO_SUFFIX="a"
47912 SO_SUFFIX_MODULE="a"
47913 ;;
47914 *-*-cygwin* )
47915 SO_SUFFIX="dll"
47916 SO_SUFFIX_MODULE="dll"
47917 DLLIMP_SUFFIX="dll.a"
47918 EXEEXT=".exe"
47919 DLLPREFIX="cyg"
47920 dlldir="$bindir"
47921 ;;
47922 *-*-mingw32* )
47923 SO_SUFFIX="dll"
47924 SO_SUFFIX_MODULE="dll"
47925 DLLIMP_SUFFIX="dll.a"
47926 EXEEXT=".exe"
47927 DLLPREFIX=""
47928 dlldir="$bindir"
47929 ;;
47930 *-pc-msdosdjgpp )
47931 EXEEXT=".exe"
47932 DLLPREFIX=""
47933 dlldir="$bindir"
47934 ;;
47935 *-pc-os2_emx | *-pc-os2-emx )
47936 SO_SUFFIX="dll"
47937 SO_SUFFIX_MODULE="dll"
47938 DLLIMP_SUFFIX=$OS2_LIBEXT
47939 EXEEXT=".exe"
47940 DLLPREFIX=""
47941 LIBPREFIX=""
47942 LIBEXT=".$OS2_LIBEXT"
47943 dlldir="$bindir"
47944 ;;
47945 *-*-darwin* )
47946 SO_SUFFIX="dylib"
47947 SO_SUFFIX_MODULE="bundle"
47948 ;;
47949 esac
47950
47951 if test "x$DLLIMP_SUFFIX" = "x" ; then
47952 DLLIMP_SUFFIX="$SO_SUFFIX"
47953 fi
47954
47955
47956
47957
47958
47959
47960
47961
47962
47963
47964
47965
47966 PIC_FLAG=""
47967 if test "x$GCC" = "xyes"; then
47968 PIC_FLAG="-fPIC"
47969 fi
47970
47971 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47972 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47973 WINDOWS_IMPLIB=0
47974
47975 case "${BAKEFILE_HOST}" in
47976 *-hp-hpux* )
47977 if test "x$GCC" != "xyes"; then
47978 LDFLAGS="$LDFLAGS -L/usr/lib"
47979
47980 SHARED_LD_CC="${CC} -b -o"
47981 SHARED_LD_CXX="${CXX} -b -o"
47982 PIC_FLAG="+Z"
47983 fi
47984 ;;
47985
47986 *-*-linux* )
47987 if test "$INTELCC" = "yes"; then
47988 PIC_FLAG="-KPIC"
47989 elif test "x$SUNCXX" = "xyes"; then
47990 SHARED_LD_CC="${CC} -G -o"
47991 SHARED_LD_CXX="${CXX} -G -o"
47992 PIC_FLAG="-KPIC"
47993 fi
47994 ;;
47995
47996 *-*-solaris2* )
47997 if test "x$SUNCXX" = xyes ; then
47998 SHARED_LD_CC="${CC} -G -o"
47999 SHARED_LD_CXX="${CXX} -G -o"
48000 PIC_FLAG="-KPIC"
48001 fi
48002 ;;
48003
48004 *-*-darwin* )
48005
48006 D='$'
48007 cat <<EOF >shared-ld-sh
48008 #!/bin/sh
48009 #-----------------------------------------------------------------------------
48010 #-- Name: distrib/mac/shared-ld-sh
48011 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
48012 #-- Author: Gilles Depeyrot
48013 #-- Copyright: (c) 2002 Gilles Depeyrot
48014 #-- Licence: any use permitted
48015 #-----------------------------------------------------------------------------
48016
48017 verbose=0
48018 args=""
48019 objects=""
48020 linking_flag="-dynamiclib"
48021 ldargs="-r -keep_private_externs -nostdlib"
48022
48023 if test "x${D}CXX" = "x"; then
48024 CXX="c++"
48025 fi
48026
48027 while test ${D}# -gt 0; do
48028 case ${D}1 in
48029
48030 -v)
48031 verbose=1
48032 ;;
48033
48034 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
48035 # collect these options and values
48036 args="${D}{args} ${D}1 ${D}2"
48037 shift
48038 ;;
48039
48040 -arch|-isysroot)
48041 # collect these options and values
48042 ldargs="${D}{ldargs} ${D}1 ${D}2"
48043 shift
48044 ;;
48045
48046 -s|-Wl,*)
48047 # collect these load args
48048 ldargs="${D}{ldargs} ${D}1"
48049 ;;
48050
48051 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
48052 # collect these options
48053 args="${D}{args} ${D}1"
48054 ;;
48055
48056 -dynamiclib|-bundle)
48057 linking_flag="${D}1"
48058 ;;
48059
48060 -*)
48061 echo "shared-ld: unhandled option '${D}1'"
48062 exit 1
48063 ;;
48064
48065 *.o | *.a | *.dylib)
48066 # collect object files
48067 objects="${D}{objects} ${D}1"
48068 ;;
48069
48070 *)
48071 echo "shared-ld: unhandled argument '${D}1'"
48072 exit 1
48073 ;;
48074
48075 esac
48076 shift
48077 done
48078
48079 status=0
48080
48081 #
48082 # Link one module containing all the others
48083 #
48084 if test ${D}{verbose} = 1; then
48085 echo "${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
48086 fi
48087 ${D}CXX ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
48088 status=${D}?
48089
48090 #
48091 # Link the shared library from the single module created, but only if the
48092 # previous command didn't fail:
48093 #
48094 if test ${D}{status} = 0; then
48095 if test ${D}{verbose} = 1; then
48096 echo "${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
48097 fi
48098 ${D}CXX ${D}{linking_flag} master.${D}${D}.o ${D}{args}
48099 status=${D}?
48100 fi
48101
48102 #
48103 # Remove intermediate module
48104 #
48105 rm -f master.${D}${D}.o
48106
48107 exit ${D}status
48108 EOF
48109
48110 chmod +x shared-ld-sh
48111
48112 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
48113 SHARED_LD_MODULE_CXX="CXX=\$(CXX) $SHARED_LD_MODULE_CC"
48114
48115
48116 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
48117 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
48118 if test "${bakefile_cv_gcc31+set}" = set; then
48119 echo $ECHO_N "(cached) $ECHO_C" >&6
48120 else
48121
48122 cat >conftest.$ac_ext <<_ACEOF
48123 /* confdefs.h. */
48124 _ACEOF
48125 cat confdefs.h >>conftest.$ac_ext
48126 cat >>conftest.$ac_ext <<_ACEOF
48127 /* end confdefs.h. */
48128
48129 int
48130 main ()
48131 {
48132
48133 #if (__GNUC__ < 3) || \
48134 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
48135 This is old gcc
48136 #endif
48137
48138 ;
48139 return 0;
48140 }
48141 _ACEOF
48142 rm -f conftest.$ac_objext
48143 if { (ac_try="$ac_compile"
48144 case "(($ac_try" in
48145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48146 *) ac_try_echo=$ac_try;;
48147 esac
48148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48149 (eval "$ac_compile") 2>conftest.er1
48150 ac_status=$?
48151 grep -v '^ *+' conftest.er1 >conftest.err
48152 rm -f conftest.er1
48153 cat conftest.err >&5
48154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48155 (exit $ac_status); } && {
48156 test -z "$ac_c_werror_flag" ||
48157 test ! -s conftest.err
48158 } && test -s conftest.$ac_objext; then
48159
48160 bakefile_cv_gcc31=yes
48161
48162 else
48163 echo "$as_me: failed program was:" >&5
48164 sed 's/^/| /' conftest.$ac_ext >&5
48165
48166
48167 bakefile_cv_gcc31=no
48168
48169
48170 fi
48171
48172 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48173
48174 fi
48175 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
48176 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
48177 if test "$bakefile_cv_gcc31" = "no"; then
48178 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
48179 SHARED_LD_CXX="$SHARED_LD_CC"
48180 else
48181 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
48182 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
48183 fi
48184
48185 if test "x$GCC" == "xyes"; then
48186 PIC_FLAG="-dynamic -fPIC"
48187 fi
48188 if test "x$XLCC" = "xyes"; then
48189 PIC_FLAG="-dynamic -DPIC"
48190 fi
48191 ;;
48192
48193 *-*-aix* )
48194 if test "x$GCC" = "xyes"; then
48195 PIC_FLAG=""
48196
48197 case "${BAKEFILE_HOST}" in
48198 *-*-aix5* )
48199 LD_EXPFULL="-Wl,-bexpfull"
48200 ;;
48201 esac
48202
48203 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
48204 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
48205 else
48206 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
48207 set dummy makeC++SharedLib; ac_word=$2
48208 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48209 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48210 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
48211 echo $ECHO_N "(cached) $ECHO_C" >&6
48212 else
48213 if test -n "$AIX_CXX_LD"; then
48214 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
48215 else
48216 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48217 for as_dir in $PATH
48218 do
48219 IFS=$as_save_IFS
48220 test -z "$as_dir" && as_dir=.
48221 for ac_exec_ext in '' $ac_executable_extensions; do
48222 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48223 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
48224 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48225 break 2
48226 fi
48227 done
48228 done
48229 IFS=$as_save_IFS
48230
48231 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
48232 fi
48233 fi
48234 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
48235 if test -n "$AIX_CXX_LD"; then
48236 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
48237 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
48238 else
48239 { echo "$as_me:$LINENO: result: no" >&5
48240 echo "${ECHO_T}no" >&6; }
48241 fi
48242
48243
48244 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
48245 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
48246 fi
48247 ;;
48248
48249 *-*-beos* )
48250 SHARED_LD_CC="${LD} -nostart -o"
48251 SHARED_LD_CXX="${LD} -nostart -o"
48252 ;;
48253
48254 *-*-irix* )
48255 if test "x$GCC" != "xyes"; then
48256 PIC_FLAG="-KPIC"
48257 fi
48258 ;;
48259
48260 *-*-cygwin* | *-*-mingw32* )
48261 PIC_FLAG=""
48262 SHARED_LD_CC="\$(CC) -shared -o"
48263 SHARED_LD_CXX="\$(CXX) -shared -o"
48264 WINDOWS_IMPLIB=1
48265 ;;
48266
48267 *-pc-os2_emx | *-pc-os2-emx )
48268 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48269 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48270 PIC_FLAG=""
48271
48272 D='$'
48273 cat <<EOF >dllar.sh
48274 #!/bin/sh
48275 #
48276 # dllar - a tool to build both a .dll and an .a file
48277 # from a set of object (.o) files for EMX/OS2.
48278 #
48279 # Written by Andrew Zabolotny, bit@freya.etu.ru
48280 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
48281 #
48282 # This script will accept a set of files on the command line.
48283 # All the public symbols from the .o files will be exported into
48284 # a .DEF file, then linker will be run (through gcc) against them to
48285 # build a shared library consisting of all given .o files. All libraries
48286 # (.a) will be first decompressed into component .o files then act as
48287 # described above. You can optionally give a description (-d "description")
48288 # which will be put into .DLL. To see the list of accepted options (as well
48289 # as command-line format) simply run this program without options. The .DLL
48290 # is built to be imported by name (there is no guarantee that new versions
48291 # of the library you build will have same ordinals for same symbols).
48292 #
48293 # dllar is free software; you can redistribute it and/or modify
48294 # it under the terms of the GNU General Public License as published by
48295 # the Free Software Foundation; either version 2, or (at your option)
48296 # any later version.
48297 #
48298 # dllar is distributed in the hope that it will be useful,
48299 # but WITHOUT ANY WARRANTY; without even the implied warranty of
48300 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
48301 # GNU General Public License for more details.
48302 #
48303 # You should have received a copy of the GNU General Public License
48304 # along with dllar; see the file COPYING. If not, write to the Free
48305 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
48306 # 02111-1307, USA.
48307
48308 # To successfuly run this program you will need:
48309 # - Current drive should have LFN support (HPFS, ext2, network, etc)
48310 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
48311 # - gcc
48312 # (used to build the .dll)
48313 # - emxexp
48314 # (used to create .def file from .o files)
48315 # - emximp
48316 # (used to create .a file from .def file)
48317 # - GNU text utilites (cat, sort, uniq)
48318 # used to process emxexp output
48319 # - GNU file utilities (mv, rm)
48320 # - GNU sed
48321 # - lxlite (optional, see flag below)
48322 # (used for general .dll cleanup)
48323 #
48324
48325 flag_USE_LXLITE=1;
48326
48327 #
48328 # helper functions
48329 # basnam, variant of basename, which does _not_ remove the path, _iff_
48330 # second argument (suffix to remove) is given
48331 basnam(){
48332 case ${D}# in
48333 1)
48334 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
48335 ;;
48336 2)
48337 echo ${D}1 | sed 's/'${D}2'${D}//'
48338 ;;
48339 *)
48340 echo "error in basnam ${D}*"
48341 exit 8
48342 ;;
48343 esac
48344 }
48345
48346 # Cleanup temporary files and output
48347 CleanUp() {
48348 cd ${D}curDir
48349 for i in ${D}inputFiles ; do
48350 case ${D}i in
48351 *!)
48352 rm -rf \`basnam ${D}i !\`
48353 ;;
48354 *)
48355 ;;
48356 esac
48357 done
48358
48359 # Kill result in case of failure as there is just to many stupid make/nmake
48360 # things out there which doesn't do this.
48361 if [ ${D}# -eq 0 ]; then
48362 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
48363 fi
48364 }
48365
48366 # Print usage and exit script with rc=1.
48367 PrintHelp() {
48368 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
48369 echo ' [-name-mangler-script script.sh]'
48370 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
48371 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
48372 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
48373 echo ' [*.o] [*.a]'
48374 echo '*> "output_file" should have no extension.'
48375 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
48376 echo ' The import library name is derived from this and is set to "name".a,'
48377 echo ' unless overridden by -import'
48378 echo '*> "importlib_name" should have no extension.'
48379 echo ' If it has the .o, or .a extension, it is automatically removed.'
48380 echo ' This name is used as the import library name and may be longer and'
48381 echo ' more descriptive than the DLL name which has to follow the old '
48382 echo ' 8.3 convention of FAT.'
48383 echo '*> "script.sh may be given to override the output_file name by a'
48384 echo ' different name. It is mainly useful if the regular make process'
48385 echo ' of some package does not take into account OS/2 restriction of'
48386 echo ' DLL name lengths. It takes the importlib name as input and is'
48387 echo ' supposed to procude a shorter name as output. The script should'
48388 echo ' expect to get importlib_name without extension and should produce'
48389 echo ' a (max.) 8 letter name without extension.'
48390 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
48391 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
48392 echo ' These flags will be put at the start of GCC command line.'
48393 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
48394 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
48395 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
48396 echo ' If the last character of a symbol is "*", all symbols beginning'
48397 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
48398 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
48399 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
48400 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
48401 echo ' C runtime DLLs.'
48402 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
48403 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
48404 echo ' unchanged to GCC at the end of command line.'
48405 echo '*> If you create a DLL from a library and you do not specify -o,'
48406 echo ' the basename for DLL and import library will be set to library name,'
48407 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
48408 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
48409 echo ' library will be renamed into gcc_s.a.'
48410 echo '--------'
48411 echo 'Example:'
48412 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
48413 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
48414 CleanUp
48415 exit 1
48416 }
48417
48418 # Execute a command.
48419 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
48420 # @Uses Whatever CleanUp() uses.
48421 doCommand() {
48422 echo "${D}*"
48423 eval ${D}*
48424 rcCmd=${D}?
48425
48426 if [ ${D}rcCmd -ne 0 ]; then
48427 echo "command failed, exit code="${D}rcCmd
48428 CleanUp
48429 exit ${D}rcCmd
48430 fi
48431 }
48432
48433 # main routine
48434 # setup globals
48435 cmdLine=${D}*
48436 outFile=""
48437 outimpFile=""
48438 inputFiles=""
48439 renameScript=""
48440 description=""
48441 CC=gcc.exe
48442 CFLAGS="-s -Zcrtdll"
48443 EXTRA_CFLAGS=""
48444 EXPORT_BY_ORDINALS=0
48445 exclude_symbols=""
48446 library_flags=""
48447 curDir=\`pwd\`
48448 curDirS=curDir
48449 case ${D}curDirS in
48450 */)
48451 ;;
48452 *)
48453 curDirS=${D}{curDirS}"/"
48454 ;;
48455 esac
48456 # Parse commandline
48457 libsToLink=0
48458 omfLinking=0
48459 while [ ${D}1 ]; do
48460 case ${D}1 in
48461 -ord*)
48462 EXPORT_BY_ORDINALS=1;
48463 ;;
48464 -o*)
48465 shift
48466 outFile=${D}1
48467 ;;
48468 -i*)
48469 shift
48470 outimpFile=${D}1
48471 ;;
48472 -name-mangler-script)
48473 shift
48474 renameScript=${D}1
48475 ;;
48476 -d*)
48477 shift
48478 description=${D}1
48479 ;;
48480 -f*)
48481 shift
48482 CFLAGS=${D}1
48483 ;;
48484 -c*)
48485 shift
48486 CC=${D}1
48487 ;;
48488 -h*)
48489 PrintHelp
48490 ;;
48491 -ex*)
48492 shift
48493 exclude_symbols=${D}{exclude_symbols}${D}1" "
48494 ;;
48495 -libf*)
48496 shift
48497 library_flags=${D}{library_flags}${D}1" "
48498 ;;
48499 -nocrt*)
48500 CFLAGS="-s"
48501 ;;
48502 -nolxl*)
48503 flag_USE_LXLITE=0
48504 ;;
48505 -* | /*)
48506 case ${D}1 in
48507 -L* | -l*)
48508 libsToLink=1
48509 ;;
48510 -Zomf)
48511 omfLinking=1
48512 ;;
48513 *)
48514 ;;
48515 esac
48516 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48517 ;;
48518 *.dll)
48519 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
48520 if [ ${D}omfLinking -eq 1 ]; then
48521 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
48522 else
48523 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
48524 fi
48525 ;;
48526 *)
48527 found=0;
48528 if [ ${D}libsToLink -ne 0 ]; then
48529 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
48530 else
48531 for file in ${D}1 ; do
48532 if [ -f ${D}file ]; then
48533 inputFiles="${D}{inputFiles} ${D}file"
48534 found=1
48535 fi
48536 done
48537 if [ ${D}found -eq 0 ]; then
48538 echo "ERROR: No file(s) found: "${D}1
48539 exit 8
48540 fi
48541 fi
48542 ;;
48543 esac
48544 shift
48545 done # iterate cmdline words
48546
48547 #
48548 if [ -z "${D}inputFiles" ]; then
48549 echo "dllar: no input files"
48550 PrintHelp
48551 fi
48552
48553 # Now extract all .o files from .a files
48554 newInputFiles=""
48555 for file in ${D}inputFiles ; do
48556 case ${D}file in
48557 *.a | *.lib)
48558 case ${D}file in
48559 *.a)
48560 suffix=".a"
48561 AR="ar"
48562 ;;
48563 *.lib)
48564 suffix=".lib"
48565 AR="emxomfar"
48566 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48567 ;;
48568 *)
48569 ;;
48570 esac
48571 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48572 mkdir ${D}dirname
48573 if [ ${D}? -ne 0 ]; then
48574 echo "Failed to create subdirectory ./${D}dirname"
48575 CleanUp
48576 exit 8;
48577 fi
48578 # Append '!' to indicate archive
48579 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48580 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48581 cd ${D}curDir
48582 found=0;
48583 for subfile in ${D}dirname/*.o* ; do
48584 if [ -f ${D}subfile ]; then
48585 found=1
48586 if [ -s ${D}subfile ]; then
48587 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48588 newInputFiles="${D}newInputFiles ${D}subfile"
48589 fi
48590 fi
48591 done
48592 if [ ${D}found -eq 0 ]; then
48593 echo "WARNING: there are no files in archive \\'${D}file\\'"
48594 fi
48595 ;;
48596 *)
48597 newInputFiles="${D}{newInputFiles} ${D}file"
48598 ;;
48599 esac
48600 done
48601 inputFiles="${D}newInputFiles"
48602
48603 # Output filename(s).
48604 do_backup=0;
48605 if [ -z ${D}outFile ]; then
48606 do_backup=1;
48607 set outFile ${D}inputFiles; outFile=${D}2
48608 fi
48609
48610 # If it is an archive, remove the '!' and the '_%' suffixes
48611 case ${D}outFile in
48612 *_%!)
48613 outFile=\`basnam ${D}outFile _%!\`
48614 ;;
48615 *)
48616 ;;
48617 esac
48618 case ${D}outFile in
48619 *.dll)
48620 outFile=\`basnam ${D}outFile .dll\`
48621 ;;
48622 *.DLL)
48623 outFile=\`basnam ${D}outFile .DLL\`
48624 ;;
48625 *.o)
48626 outFile=\`basnam ${D}outFile .o\`
48627 ;;
48628 *.obj)
48629 outFile=\`basnam ${D}outFile .obj\`
48630 ;;
48631 *.a)
48632 outFile=\`basnam ${D}outFile .a\`
48633 ;;
48634 *.lib)
48635 outFile=\`basnam ${D}outFile .lib\`
48636 ;;
48637 *)
48638 ;;
48639 esac
48640 case ${D}outimpFile in
48641 *.a)
48642 outimpFile=\`basnam ${D}outimpFile .a\`
48643 ;;
48644 *.lib)
48645 outimpFile=\`basnam ${D}outimpFile .lib\`
48646 ;;
48647 *)
48648 ;;
48649 esac
48650 if [ -z ${D}outimpFile ]; then
48651 outimpFile=${D}outFile
48652 fi
48653 defFile="${D}{outFile}.def"
48654 arcFile="${D}{outimpFile}.a"
48655 arcFile2="${D}{outimpFile}.lib"
48656
48657 #create ${D}dllFile as something matching 8.3 restrictions,
48658 if [ -z ${D}renameScript ] ; then
48659 dllFile="${D}outFile"
48660 else
48661 dllFile=\`${D}renameScript ${D}outimpFile\`
48662 fi
48663
48664 if [ ${D}do_backup -ne 0 ] ; then
48665 if [ -f ${D}arcFile ] ; then
48666 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48667 fi
48668 if [ -f ${D}arcFile2 ] ; then
48669 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48670 fi
48671 fi
48672
48673 # Extract public symbols from all the object files.
48674 tmpdefFile=${D}{defFile}_%
48675 rm -f ${D}tmpdefFile
48676 for file in ${D}inputFiles ; do
48677 case ${D}file in
48678 *!)
48679 ;;
48680 *)
48681 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48682 ;;
48683 esac
48684 done
48685
48686 # Create the def file.
48687 rm -f ${D}defFile
48688 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48689 dllFile="${D}{dllFile}.dll"
48690 if [ ! -z ${D}description ]; then
48691 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48692 fi
48693 echo "EXPORTS" >> ${D}defFile
48694
48695 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48696 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48697
48698 # Checks if the export is ok or not.
48699 for word in ${D}exclude_symbols; do
48700 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48701 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48702 done
48703
48704
48705 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48706 sed "=" < ${D}tmpdefFile | \\
48707 sed '
48708 N
48709 : loop
48710 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48711 t loop
48712 ' > ${D}{tmpdefFile}%
48713 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48714 else
48715 rm -f ${D}{tmpdefFile}%
48716 fi
48717 cat ${D}tmpdefFile >> ${D}defFile
48718 rm -f ${D}tmpdefFile
48719
48720 # Do linking, create implib, and apply lxlite.
48721 gccCmdl="";
48722 for file in ${D}inputFiles ; do
48723 case ${D}file in
48724 *!)
48725 ;;
48726 *)
48727 gccCmdl="${D}gccCmdl ${D}file"
48728 ;;
48729 esac
48730 done
48731 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48732 touch "${D}{outFile}.dll"
48733
48734 doCommand "emximp -o ${D}arcFile ${D}defFile"
48735 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48736 add_flags="";
48737 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48738 add_flags="-ynd"
48739 fi
48740 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48741 fi
48742 doCommand "emxomf -s -l ${D}arcFile"
48743
48744 # Successful exit.
48745 CleanUp 1
48746 exit 0
48747 EOF
48748
48749 chmod +x dllar.sh
48750 ;;
48751
48752 powerpc-apple-macos* | \
48753 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48754 *-*-mirbsd* | \
48755 *-*-sunos4* | \
48756 *-*-osf* | \
48757 *-*-dgux5* | \
48758 *-*-sysv5* | \
48759 *-pc-msdosdjgpp )
48760 ;;
48761
48762 *)
48763 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48764 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48765 { (exit 1); exit 1; }; }
48766 esac
48767
48768 if test "x$PIC_FLAG" != "x" ; then
48769 PIC_FLAG="$PIC_FLAG -DPIC"
48770 fi
48771
48772 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48773 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48774 fi
48775 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48776 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48777 fi
48778
48779
48780
48781
48782
48783
48784
48785
48786
48787 USE_SOVERSION=0
48788 USE_SOVERLINUX=0
48789 USE_SOVERSOLARIS=0
48790 USE_SOVERCYGWIN=0
48791 USE_SOSYMLINKS=0
48792 USE_MACVERSION=0
48793 SONAME_FLAG=
48794
48795 case "${BAKEFILE_HOST}" in
48796 *-*-linux* | *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | \
48797 *-*-k*bsd*-gnu | *-*-mirbsd* )
48798 if test "x$SUNCXX" = "xyes"; then
48799 SONAME_FLAG="-h "
48800 else
48801 SONAME_FLAG="-Wl,-soname,"
48802 fi
48803 USE_SOVERSION=1
48804 USE_SOVERLINUX=1
48805 USE_SOSYMLINKS=1
48806 ;;
48807
48808 *-*-solaris2* )
48809 SONAME_FLAG="-h "
48810 USE_SOVERSION=1
48811 USE_SOVERSOLARIS=1
48812 USE_SOSYMLINKS=1
48813 ;;
48814
48815 *-*-darwin* )
48816 USE_MACVERSION=1
48817 USE_SOVERSION=1
48818 USE_SOSYMLINKS=1
48819 ;;
48820
48821 *-*-cygwin* )
48822 USE_SOVERSION=1
48823 USE_SOVERCYGWIN=1
48824 ;;
48825 esac
48826
48827
48828
48829
48830
48831
48832
48833
48834
48835
48836 # Check whether --enable-dependency-tracking was given.
48837 if test "${enable_dependency_tracking+set}" = set; then
48838 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48839 fi
48840
48841
48842 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48843 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48844
48845 BK_DEPS=""
48846 if test "x$bk_use_trackdeps" = "xno" ; then
48847 DEPS_TRACKING=0
48848 { echo "$as_me:$LINENO: result: disabled" >&5
48849 echo "${ECHO_T}disabled" >&6; }
48850 else
48851 DEPS_TRACKING=1
48852
48853 if test "x$GCC" = "xyes"; then
48854 DEPSMODE=gcc
48855 case "${BAKEFILE_HOST}" in
48856 *-*-darwin* )
48857 DEPSFLAG="-no-cpp-precomp -MMD"
48858 ;;
48859 * )
48860 DEPSFLAG="-MMD"
48861 ;;
48862 esac
48863 { echo "$as_me:$LINENO: result: gcc" >&5
48864 echo "${ECHO_T}gcc" >&6; }
48865 elif test "x$MWCC" = "xyes"; then
48866 DEPSMODE=mwcc
48867 DEPSFLAG="-MM"
48868 { echo "$as_me:$LINENO: result: mwcc" >&5
48869 echo "${ECHO_T}mwcc" >&6; }
48870 elif test "x$SUNCC" = "xyes"; then
48871 DEPSMODE=unixcc
48872 DEPSFLAG="-xM1"
48873 { echo "$as_me:$LINENO: result: Sun cc" >&5
48874 echo "${ECHO_T}Sun cc" >&6; }
48875 elif test "x$SGICC" = "xyes"; then
48876 DEPSMODE=unixcc
48877 DEPSFLAG="-M"
48878 { echo "$as_me:$LINENO: result: SGI cc" >&5
48879 echo "${ECHO_T}SGI cc" >&6; }
48880 elif test "x$HPCC" = "xyes"; then
48881 DEPSMODE=unixcc
48882 DEPSFLAG="+make"
48883 { echo "$as_me:$LINENO: result: HP cc" >&5
48884 echo "${ECHO_T}HP cc" >&6; }
48885 elif test "x$COMPAQCC" = "xyes"; then
48886 DEPSMODE=gcc
48887 DEPSFLAG="-MD"
48888 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48889 echo "${ECHO_T}Compaq cc" >&6; }
48890 else
48891 DEPS_TRACKING=0
48892 { echo "$as_me:$LINENO: result: none" >&5
48893 echo "${ECHO_T}none" >&6; }
48894 fi
48895
48896 if test $DEPS_TRACKING = 1 ; then
48897
48898 D='$'
48899 cat <<EOF >bk-deps
48900 #!/bin/sh
48901
48902 # This script is part of Bakefile (http://www.bakefile.org) autoconf
48903 # script. It is used to track C/C++ files dependencies in portable way.
48904 #
48905 # Permission is given to use this file in any way.
48906
48907 DEPSMODE=${DEPSMODE}
48908 DEPSDIR=.deps
48909 DEPSFLAG="${DEPSFLAG}"
48910
48911 mkdir -p ${D}DEPSDIR
48912
48913 if test ${D}DEPSMODE = gcc ; then
48914 ${D}* ${D}{DEPSFLAG}
48915 status=${D}?
48916
48917 # determine location of created files:
48918 while test ${D}# -gt 0; do
48919 case "${D}1" in
48920 -o )
48921 shift
48922 objfile=${D}1
48923 ;;
48924 -* )
48925 ;;
48926 * )
48927 srcfile=${D}1
48928 ;;
48929 esac
48930 shift
48931 done
48932 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48933 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48934
48935 # if the compiler failed, we're done:
48936 if test ${D}{status} != 0 ; then
48937 rm -f ${D}depfile
48938 exit ${D}{status}
48939 fi
48940
48941 # move created file to the location we want it in:
48942 if test -f ${D}depfile ; then
48943 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48944 rm -f ${D}depfile
48945 else
48946 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48947 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48948 if test ! -f ${D}depfile ; then
48949 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48950 depfile="${D}objfile.d"
48951 fi
48952 if test -f ${D}depfile ; then
48953 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48954 rm -f ${D}depfile
48955 fi
48956 fi
48957 exit 0
48958 elif test ${D}DEPSMODE = mwcc ; then
48959 ${D}* || exit ${D}?
48960 # Run mwcc again with -MM and redirect into the dep file we want
48961 # NOTE: We can't use shift here because we need ${D}* to be valid
48962 prevarg=
48963 for arg in ${D}* ; do
48964 if test "${D}prevarg" = "-o"; then
48965 objfile=${D}arg
48966 else
48967 case "${D}arg" in
48968 -* )
48969 ;;
48970 * )
48971 srcfile=${D}arg
48972 ;;
48973 esac
48974 fi
48975 prevarg="${D}arg"
48976 done
48977 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48978 exit 0
48979 elif test ${D}DEPSMODE = unixcc; then
48980 ${D}* || exit ${D}?
48981 # Run compiler again with deps flag and redirect into the dep file.
48982 # It doesn't work if the '-o FILE' option is used, but without it the
48983 # dependency file will contain the wrong name for the object. So it is
48984 # removed from the command line, and the dep file is fixed with sed.
48985 cmd=""
48986 while test ${D}# -gt 0; do
48987 case "${D}1" in
48988 -o )
48989 shift
48990 objfile=${D}1
48991 ;;
48992 * )
48993 eval arg${D}#=\\${D}1
48994 cmd="${D}cmd \\${D}arg${D}#"
48995 ;;
48996 esac
48997 shift
48998 done
48999 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
49000 exit 0
49001 else
49002 ${D}*
49003 exit ${D}?
49004 fi
49005 EOF
49006
49007 chmod +x bk-deps
49008 BK_DEPS="`pwd`/bk-deps"
49009 fi
49010 fi
49011
49012
49013
49014
49015
49016 case ${BAKEFILE_HOST} in
49017 *-*-cygwin* | *-*-mingw32* )
49018 if test -n "$ac_tool_prefix"; then
49019 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
49020 set dummy ${ac_tool_prefix}windres; ac_word=$2
49021 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49022 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49023 if test "${ac_cv_prog_WINDRES+set}" = set; then
49024 echo $ECHO_N "(cached) $ECHO_C" >&6
49025 else
49026 if test -n "$WINDRES"; then
49027 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
49028 else
49029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49030 for as_dir in $PATH
49031 do
49032 IFS=$as_save_IFS
49033 test -z "$as_dir" && as_dir=.
49034 for ac_exec_ext in '' $ac_executable_extensions; do
49035 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49036 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
49037 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49038 break 2
49039 fi
49040 done
49041 done
49042 IFS=$as_save_IFS
49043
49044 fi
49045 fi
49046 WINDRES=$ac_cv_prog_WINDRES
49047 if test -n "$WINDRES"; then
49048 { echo "$as_me:$LINENO: result: $WINDRES" >&5
49049 echo "${ECHO_T}$WINDRES" >&6; }
49050 else
49051 { echo "$as_me:$LINENO: result: no" >&5
49052 echo "${ECHO_T}no" >&6; }
49053 fi
49054
49055
49056 fi
49057 if test -z "$ac_cv_prog_WINDRES"; then
49058 ac_ct_WINDRES=$WINDRES
49059 # Extract the first word of "windres", so it can be a program name with args.
49060 set dummy windres; ac_word=$2
49061 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49062 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49063 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
49064 echo $ECHO_N "(cached) $ECHO_C" >&6
49065 else
49066 if test -n "$ac_ct_WINDRES"; then
49067 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
49068 else
49069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49070 for as_dir in $PATH
49071 do
49072 IFS=$as_save_IFS
49073 test -z "$as_dir" && as_dir=.
49074 for ac_exec_ext in '' $ac_executable_extensions; do
49075 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49076 ac_cv_prog_ac_ct_WINDRES="windres"
49077 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49078 break 2
49079 fi
49080 done
49081 done
49082 IFS=$as_save_IFS
49083
49084 fi
49085 fi
49086 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
49087 if test -n "$ac_ct_WINDRES"; then
49088 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
49089 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
49090 else
49091 { echo "$as_me:$LINENO: result: no" >&5
49092 echo "${ECHO_T}no" >&6; }
49093 fi
49094
49095 if test "x$ac_ct_WINDRES" = x; then
49096 WINDRES=""
49097 else
49098 case $cross_compiling:$ac_tool_warned in
49099 yes:)
49100 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
49101 whose name does not start with the host triplet. If you think this
49102 configuration is useful to you, please write to autoconf@gnu.org." >&5
49103 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
49104 whose name does not start with the host triplet. If you think this
49105 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
49106 ac_tool_warned=yes ;;
49107 esac
49108 WINDRES=$ac_ct_WINDRES
49109 fi
49110 else
49111 WINDRES="$ac_cv_prog_WINDRES"
49112 fi
49113
49114 ;;
49115
49116 *-*-darwin* | powerpc-apple-macos* )
49117 # Extract the first word of "Rez", so it can be a program name with args.
49118 set dummy Rez; ac_word=$2
49119 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49120 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49121 if test "${ac_cv_prog_REZ+set}" = set; then
49122 echo $ECHO_N "(cached) $ECHO_C" >&6
49123 else
49124 if test -n "$REZ"; then
49125 ac_cv_prog_REZ="$REZ" # Let the user override the test.
49126 else
49127 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49128 for as_dir in $PATH
49129 do
49130 IFS=$as_save_IFS
49131 test -z "$as_dir" && as_dir=.
49132 for ac_exec_ext in '' $ac_executable_extensions; do
49133 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49134 ac_cv_prog_REZ="Rez"
49135 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49136 break 2
49137 fi
49138 done
49139 done
49140 IFS=$as_save_IFS
49141
49142 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
49143 fi
49144 fi
49145 REZ=$ac_cv_prog_REZ
49146 if test -n "$REZ"; then
49147 { echo "$as_me:$LINENO: result: $REZ" >&5
49148 echo "${ECHO_T}$REZ" >&6; }
49149 else
49150 { echo "$as_me:$LINENO: result: no" >&5
49151 echo "${ECHO_T}no" >&6; }
49152 fi
49153
49154
49155 # Extract the first word of "SetFile", so it can be a program name with args.
49156 set dummy SetFile; ac_word=$2
49157 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49158 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49159 if test "${ac_cv_prog_SETFILE+set}" = set; then
49160 echo $ECHO_N "(cached) $ECHO_C" >&6
49161 else
49162 if test -n "$SETFILE"; then
49163 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
49164 else
49165 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49166 for as_dir in $PATH
49167 do
49168 IFS=$as_save_IFS
49169 test -z "$as_dir" && as_dir=.
49170 for ac_exec_ext in '' $ac_executable_extensions; do
49171 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49172 ac_cv_prog_SETFILE="SetFile"
49173 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49174 break 2
49175 fi
49176 done
49177 done
49178 IFS=$as_save_IFS
49179
49180 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
49181 fi
49182 fi
49183 SETFILE=$ac_cv_prog_SETFILE
49184 if test -n "$SETFILE"; then
49185 { echo "$as_me:$LINENO: result: $SETFILE" >&5
49186 echo "${ECHO_T}$SETFILE" >&6; }
49187 else
49188 { echo "$as_me:$LINENO: result: no" >&5
49189 echo "${ECHO_T}no" >&6; }
49190 fi
49191
49192
49193 ;;
49194 esac
49195
49196
49197
49198
49199
49200
49201 BAKEFILE_BAKEFILE_M4_VERSION="0.2.3"
49202
49203
49204 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.3"
49205
49206
49207
49208 # Check whether --enable-precomp-headers was given.
49209 if test "${enable_precomp_headers+set}" = set; then
49210 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
49211 fi
49212
49213
49214 GCC_PCH=0
49215 ICC_PCH=0
49216 USE_PCH=0
49217 BK_MAKE_PCH=""
49218
49219 case ${BAKEFILE_HOST} in
49220 *-*-cygwin* )
49221 bk_use_pch="no"
49222 ;;
49223 esac
49224
49225 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
49226 if test "x$GCC" = "xyes"; then
49227 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
49228 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
49229 cat >conftest.$ac_ext <<_ACEOF
49230 /* confdefs.h. */
49231 _ACEOF
49232 cat confdefs.h >>conftest.$ac_ext
49233 cat >>conftest.$ac_ext <<_ACEOF
49234 /* end confdefs.h. */
49235
49236 int
49237 main ()
49238 {
49239
49240 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
49241 There is no PCH support
49242 #endif
49243 #if (__GNUC__ < 3)
49244 There is no PCH support
49245 #endif
49246 #if (__GNUC__ == 3) && \
49247 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
49248 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
49249 ( defined(__INTEL_COMPILER) )
49250 There is no PCH support
49251 #endif
49252
49253 ;
49254 return 0;
49255 }
49256 _ACEOF
49257 rm -f conftest.$ac_objext
49258 if { (ac_try="$ac_compile"
49259 case "(($ac_try" in
49260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49261 *) ac_try_echo=$ac_try;;
49262 esac
49263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49264 (eval "$ac_compile") 2>conftest.er1
49265 ac_status=$?
49266 grep -v '^ *+' conftest.er1 >conftest.err
49267 rm -f conftest.er1
49268 cat conftest.err >&5
49269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49270 (exit $ac_status); } && {
49271 test -z "$ac_c_werror_flag" ||
49272 test ! -s conftest.err
49273 } && test -s conftest.$ac_objext; then
49274
49275 { echo "$as_me:$LINENO: result: yes" >&5
49276 echo "${ECHO_T}yes" >&6; }
49277 GCC_PCH=1
49278
49279 else
49280 echo "$as_me: failed program was:" >&5
49281 sed 's/^/| /' conftest.$ac_ext >&5
49282
49283
49284 cat >conftest.$ac_ext <<_ACEOF
49285 /* confdefs.h. */
49286 _ACEOF
49287 cat confdefs.h >>conftest.$ac_ext
49288 cat >>conftest.$ac_ext <<_ACEOF
49289 /* end confdefs.h. */
49290
49291 int
49292 main ()
49293 {
49294
49295 #if !defined(__INTEL_COMPILER) || \
49296 (__INTEL_COMPILER < 800)
49297 There is no PCH support
49298 #endif
49299
49300 ;
49301 return 0;
49302 }
49303 _ACEOF
49304 rm -f conftest.$ac_objext
49305 if { (ac_try="$ac_compile"
49306 case "(($ac_try" in
49307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
49308 *) ac_try_echo=$ac_try;;
49309 esac
49310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
49311 (eval "$ac_compile") 2>conftest.er1
49312 ac_status=$?
49313 grep -v '^ *+' conftest.er1 >conftest.err
49314 rm -f conftest.er1
49315 cat conftest.err >&5
49316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
49317 (exit $ac_status); } && {
49318 test -z "$ac_c_werror_flag" ||
49319 test ! -s conftest.err
49320 } && test -s conftest.$ac_objext; then
49321
49322 { echo "$as_me:$LINENO: result: yes" >&5
49323 echo "${ECHO_T}yes" >&6; }
49324 ICC_PCH=1
49325
49326 else
49327 echo "$as_me: failed program was:" >&5
49328 sed 's/^/| /' conftest.$ac_ext >&5
49329
49330
49331 { echo "$as_me:$LINENO: result: no" >&5
49332 echo "${ECHO_T}no" >&6; }
49333
49334 fi
49335
49336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49337
49338 fi
49339
49340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
49341 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
49342 USE_PCH=1
49343
49344 D='$'
49345 cat <<EOF >bk-make-pch
49346 #!/bin/sh
49347
49348 # This script is part of Bakefile (http://www.bakefile.org) autoconf
49349 # script. It is used to generated precompiled headers.
49350 #
49351 # Permission is given to use this file in any way.
49352
49353 outfile="${D}{1}"
49354 header="${D}{2}"
49355 shift
49356 shift
49357
49358 compiler=""
49359 headerfile=""
49360
49361 while test ${D}{#} -gt 0; do
49362 add_to_cmdline=1
49363 case "${D}{1}" in
49364 -I* )
49365 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
49366 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
49367 headerfile="${D}{incdir}/${D}{header}"
49368 fi
49369 ;;
49370 -use-pch|-use_pch )
49371 shift
49372 add_to_cmdline=0
49373 ;;
49374 esac
49375 if test ${D}add_to_cmdline = 1 ; then
49376 compiler="${D}{compiler} ${D}{1}"
49377 fi
49378 shift
49379 done
49380
49381 if test "x${D}{headerfile}" = "x" ; then
49382 echo "error: can't find header ${D}{header} in include paths" >&2
49383 else
49384 if test -f ${D}{outfile} ; then
49385 rm -f ${D}{outfile}
49386 else
49387 mkdir -p \`dirname ${D}{outfile}\`
49388 fi
49389 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
49390 mkdir -p .deps
49391 if test "x${GCC_PCH}" = "x1" ; then
49392 # can do this because gcc is >= 3.4:
49393 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
49394 elif test "x${ICC_PCH}" = "x1" ; then
49395 filename=pch_gen-${D}${D}
49396 file=${D}{filename}.c
49397 dfile=${D}{filename}.d
49398 cat > ${D}file <<EOT
49399 #include "${D}header"
49400 EOT
49401 # using -MF icc complains about differing command lines in creation/use
49402 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
49403 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
49404 rm -f ${D}file ${D}dfile ${D}{filename}.o
49405 fi
49406 exit ${D}{?}
49407 fi
49408 EOF
49409
49410 chmod +x bk-make-pch
49411 BK_MAKE_PCH="`pwd`/bk-make-pch"
49412 fi
49413 fi
49414 fi
49415
49416
49417
49418
49419
49420 COND_BUILD_DEBUG="#"
49421 if test "x$BUILD" = "xdebug" ; then
49422 COND_BUILD_DEBUG=""
49423 fi
49424
49425 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
49426 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
49427 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
49428 fi
49429
49430 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
49431 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
49432 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
49433 fi
49434
49435 COND_BUILD_DEBUG_UNICODE_0="#"
49436 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
49437 COND_BUILD_DEBUG_UNICODE_0=""
49438 fi
49439
49440 COND_BUILD_DEBUG_UNICODE_1="#"
49441 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
49442 COND_BUILD_DEBUG_UNICODE_1=""
49443 fi
49444
49445 COND_BUILD_RELEASE="#"
49446 if test "x$BUILD" = "xrelease" ; then
49447 COND_BUILD_RELEASE=""
49448 fi
49449
49450 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
49451 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
49452 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
49453 fi
49454
49455 COND_BUILD_RELEASE_UNICODE_0="#"
49456 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
49457 COND_BUILD_RELEASE_UNICODE_0=""
49458 fi
49459
49460 COND_BUILD_RELEASE_UNICODE_1="#"
49461 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
49462 COND_BUILD_RELEASE_UNICODE_1=""
49463 fi
49464
49465 COND_DEBUG_FLAG_1="#"
49466 if test "x$DEBUG_FLAG" = "x1" ; then
49467 COND_DEBUG_FLAG_1=""
49468 fi
49469
49470 COND_DEBUG_INFO_0="#"
49471 if test "x$DEBUG_INFO" = "x0" ; then
49472 COND_DEBUG_INFO_0=""
49473 fi
49474
49475 COND_DEBUG_INFO_1="#"
49476 if test "x$DEBUG_INFO" = "x1" ; then
49477 COND_DEBUG_INFO_1=""
49478 fi
49479
49480 COND_DEPS_TRACKING_0="#"
49481 if test "x$DEPS_TRACKING" = "x0" ; then
49482 COND_DEPS_TRACKING_0=""
49483 fi
49484
49485 COND_DEPS_TRACKING_1="#"
49486 if test "x$DEPS_TRACKING" = "x1" ; then
49487 COND_DEPS_TRACKING_1=""
49488 fi
49489
49490 COND_GCC_PCH_1="#"
49491 if test "x$GCC_PCH" = "x1" ; then
49492 COND_GCC_PCH_1=""
49493 fi
49494
49495 COND_ICC_PCH_1="#"
49496 if test "x$ICC_PCH" = "x1" ; then
49497 COND_ICC_PCH_1=""
49498 fi
49499
49500 COND_MONOLITHIC_0="#"
49501 if test "x$MONOLITHIC" = "x0" ; then
49502 COND_MONOLITHIC_0=""
49503 fi
49504
49505 COND_MONOLITHIC_0_SHARED_0="#"
49506 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
49507 COND_MONOLITHIC_0_SHARED_0=""
49508 fi
49509
49510 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
49511 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
49512 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
49513 fi
49514
49515 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
49516 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
49517 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
49518 fi
49519
49520 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
49521 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49522 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
49523 fi
49524
49525 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
49526 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49527 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
49528 fi
49529
49530 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
49531 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49532 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
49533 fi
49534
49535 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
49536 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49537 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
49538 fi
49539
49540 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
49541 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49542 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
49543 fi
49544
49545 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
49546 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
49547 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
49548 fi
49549
49550 COND_MONOLITHIC_0_SHARED_1="#"
49551 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
49552 COND_MONOLITHIC_0_SHARED_1=""
49553 fi
49554
49555 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
49556 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
49557 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
49558 fi
49559
49560 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
49561 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
49562 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49563 fi
49564
49565 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49566 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49567 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49568 fi
49569
49570 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49571 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49572 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49573 fi
49574
49575 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49576 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49577 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49578 fi
49579
49580 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49581 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49582 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49583 fi
49584
49585 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49586 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49587 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49588 fi
49589
49590 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49591 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49592 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49593 fi
49594
49595 COND_MONOLITHIC_0_USE_AUI_1="#"
49596 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49597 COND_MONOLITHIC_0_USE_AUI_1=""
49598 fi
49599
49600 COND_MONOLITHIC_0_USE_GUI_1="#"
49601 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49602 COND_MONOLITHIC_0_USE_GUI_1=""
49603 fi
49604
49605 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49606 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49607 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49608 fi
49609
49610 COND_MONOLITHIC_0_USE_HTML_1="#"
49611 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49612 COND_MONOLITHIC_0_USE_HTML_1=""
49613 fi
49614
49615 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49616 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49617 COND_MONOLITHIC_0_USE_MEDIA_1=""
49618 fi
49619
49620 COND_MONOLITHIC_0_USE_QA_1="#"
49621 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49622 COND_MONOLITHIC_0_USE_QA_1=""
49623 fi
49624
49625 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49626 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49627 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49628 fi
49629
49630 COND_MONOLITHIC_0_USE_STC_1="#"
49631 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49632 COND_MONOLITHIC_0_USE_STC_1=""
49633 fi
49634
49635 COND_MONOLITHIC_0_USE_XRC_1="#"
49636 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49637 COND_MONOLITHIC_0_USE_XRC_1=""
49638 fi
49639
49640 COND_MONOLITHIC_1="#"
49641 if test "x$MONOLITHIC" = "x1" ; then
49642 COND_MONOLITHIC_1=""
49643 fi
49644
49645 COND_MONOLITHIC_1_SHARED_0="#"
49646 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49647 COND_MONOLITHIC_1_SHARED_0=""
49648 fi
49649
49650 COND_MONOLITHIC_1_SHARED_1="#"
49651 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49652 COND_MONOLITHIC_1_SHARED_1=""
49653 fi
49654
49655 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49656 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49657 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49658 fi
49659
49660 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49661 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49662 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49663 fi
49664
49665 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49666 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49667 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49668 fi
49669
49670 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49671 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49672 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49673 fi
49674
49675 COND_PLATFORM_MACOSX_1="#"
49676 if test "x$PLATFORM_MACOSX" = "x1" ; then
49677 COND_PLATFORM_MACOSX_1=""
49678 fi
49679
49680 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0="#"
49681 if test "x$PLATFORM_MACOSX" = "x1" -a "x$PLATFORM_MSDOS" = "x0" ; then
49682 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0=""
49683 fi
49684
49685 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49686 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49687 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49688 fi
49689
49690 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49691 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49692 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49693 fi
49694
49695 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49696 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49697 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49698 fi
49699
49700 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49701 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49702 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49703 fi
49704
49705 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49706 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49707 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49708 fi
49709
49710 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49711 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49712 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49713 fi
49714
49715 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49716 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49717 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49718 fi
49719
49720 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49721 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49722 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49723 fi
49724
49725 COND_PLATFORM_MACOSX_1_USE_OPENGL_1="#"
49726 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49727 COND_PLATFORM_MACOSX_1_USE_OPENGL_1=""
49728 fi
49729
49730 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49731 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49732 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49733 fi
49734
49735 COND_PLATFORM_MACOS_1="#"
49736 if test "x$PLATFORM_MACOS" = "x1" ; then
49737 COND_PLATFORM_MACOS_1=""
49738 fi
49739
49740 COND_PLATFORM_MAC_0="#"
49741 if test "x$PLATFORM_MAC" = "x0" ; then
49742 COND_PLATFORM_MAC_0=""
49743 fi
49744
49745 COND_PLATFORM_MAC_1="#"
49746 if test "x$PLATFORM_MAC" = "x1" ; then
49747 COND_PLATFORM_MAC_1=""
49748 fi
49749
49750 COND_PLATFORM_MSDOS_0="#"
49751 if test "x$PLATFORM_MSDOS" = "x0" ; then
49752 COND_PLATFORM_MSDOS_0=""
49753 fi
49754
49755 COND_PLATFORM_MSDOS_1="#"
49756 if test "x$PLATFORM_MSDOS" = "x1" ; then
49757 COND_PLATFORM_MSDOS_1=""
49758 fi
49759
49760 COND_PLATFORM_OS2_1="#"
49761 if test "x$PLATFORM_OS2" = "x1" ; then
49762 COND_PLATFORM_OS2_1=""
49763 fi
49764
49765 COND_PLATFORM_UNIX_0="#"
49766 if test "x$PLATFORM_UNIX" = "x0" ; then
49767 COND_PLATFORM_UNIX_0=""
49768 fi
49769
49770 COND_PLATFORM_UNIX_1="#"
49771 if test "x$PLATFORM_UNIX" = "x1" ; then
49772 COND_PLATFORM_UNIX_1=""
49773 fi
49774
49775 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49776 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49777 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49778 fi
49779
49780 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49781 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49782 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49783 fi
49784
49785 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49786 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49787 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49788 fi
49789
49790 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49791 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49792 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49793 fi
49794
49795 COND_PLATFORM_WIN32_0="#"
49796 if test "x$PLATFORM_WIN32" = "x0" ; then
49797 COND_PLATFORM_WIN32_0=""
49798 fi
49799
49800 COND_PLATFORM_WIN32_1="#"
49801 if test "x$PLATFORM_WIN32" = "x1" ; then
49802 COND_PLATFORM_WIN32_1=""
49803 fi
49804
49805 COND_SHARED_0="#"
49806 if test "x$SHARED" = "x0" ; then
49807 COND_SHARED_0=""
49808 fi
49809
49810 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49811 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49812 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49813 fi
49814
49815 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49816 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49817 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49818 fi
49819
49820 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49821 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49822 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49823 fi
49824
49825 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49826 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49827 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49828 fi
49829
49830 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49831 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49832 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49833 fi
49834
49835 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49836 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49837 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49838 fi
49839
49840 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49841 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49842 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49843 fi
49844
49845 COND_SHARED_0_USE_STC_1="#"
49846 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49847 COND_SHARED_0_USE_STC_1=""
49848 fi
49849
49850 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49851 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49852 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49853 fi
49854
49855 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49856 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49857 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49858 fi
49859
49860 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49861 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49862 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49863 fi
49864
49865 COND_SHARED_1="#"
49866 if test "x$SHARED" = "x1" ; then
49867 COND_SHARED_1=""
49868 fi
49869
49870 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49871 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49872 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49873 fi
49874
49875 COND_TOOLKIT_="#"
49876 if test "x$TOOLKIT" = "x" ; then
49877 COND_TOOLKIT_=""
49878 fi
49879
49880 COND_TOOLKIT_COCOA="#"
49881 if test "x$TOOLKIT" = "xCOCOA" ; then
49882 COND_TOOLKIT_COCOA=""
49883 fi
49884
49885 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49886 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49887 COND_TOOLKIT_COCOA_USE_GUI_1=""
49888 fi
49889
49890 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49891 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49892 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49893 fi
49894
49895 COND_TOOLKIT_DFB="#"
49896 if test "x$TOOLKIT" = "xDFB" ; then
49897 COND_TOOLKIT_DFB=""
49898 fi
49899
49900 COND_TOOLKIT_DFB_USE_GUI_1="#"
49901 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49902 COND_TOOLKIT_DFB_USE_GUI_1=""
49903 fi
49904
49905 COND_TOOLKIT_GTK="#"
49906 if test "x$TOOLKIT" = "xGTK" ; then
49907 COND_TOOLKIT_GTK=""
49908 fi
49909
49910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49911 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49913 fi
49914
49915 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49916 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49917 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49918 fi
49919
49920 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49921 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49922 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49923 fi
49924
49925 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49926 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49927 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49928 fi
49929
49930 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49931 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49932 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49933 fi
49934
49935 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49936 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49937 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49938 fi
49939
49940 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49941 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49942 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49943 fi
49944
49945 COND_TOOLKIT_GTK_USE_GUI_1="#"
49946 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49947 COND_TOOLKIT_GTK_USE_GUI_1=""
49948 fi
49949
49950 COND_TOOLKIT_MAC="#"
49951 if test "x$TOOLKIT" = "xMAC" ; then
49952 COND_TOOLKIT_MAC=""
49953 fi
49954
49955 COND_TOOLKIT_MAC_USE_GUI_1="#"
49956 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49957 COND_TOOLKIT_MAC_USE_GUI_1=""
49958 fi
49959
49960 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49961 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49962 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49963 fi
49964
49965 COND_TOOLKIT_MGL="#"
49966 if test "x$TOOLKIT" = "xMGL" ; then
49967 COND_TOOLKIT_MGL=""
49968 fi
49969
49970 COND_TOOLKIT_MGL_USE_GUI_1="#"
49971 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49972 COND_TOOLKIT_MGL_USE_GUI_1=""
49973 fi
49974
49975 COND_TOOLKIT_MOTIF="#"
49976 if test "x$TOOLKIT" = "xMOTIF" ; then
49977 COND_TOOLKIT_MOTIF=""
49978 fi
49979
49980 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49981 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49982 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49983 fi
49984
49985 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49986 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49987 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49988 fi
49989
49990 COND_TOOLKIT_MSW="#"
49991 if test "x$TOOLKIT" = "xMSW" ; then
49992 COND_TOOLKIT_MSW=""
49993 fi
49994
49995 COND_TOOLKIT_MSW_USE_GUI_1="#"
49996 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49997 COND_TOOLKIT_MSW_USE_GUI_1=""
49998 fi
49999
50000 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
50001 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50002 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
50003 fi
50004
50005 COND_TOOLKIT_MSW_WXUNIV_0="#"
50006 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
50007 COND_TOOLKIT_MSW_WXUNIV_0=""
50008 fi
50009
50010 COND_TOOLKIT_PM="#"
50011 if test "x$TOOLKIT" = "xPM" ; then
50012 COND_TOOLKIT_PM=""
50013 fi
50014
50015 COND_TOOLKIT_PM_USE_GUI_1="#"
50016 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
50017 COND_TOOLKIT_PM_USE_GUI_1=""
50018 fi
50019
50020 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
50021 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50022 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
50023 fi
50024
50025 COND_TOOLKIT_WINCE="#"
50026 if test "x$TOOLKIT" = "xWINCE" ; then
50027 COND_TOOLKIT_WINCE=""
50028 fi
50029
50030 COND_TOOLKIT_WINCE_USE_GUI_1="#"
50031 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
50032 COND_TOOLKIT_WINCE_USE_GUI_1=""
50033 fi
50034
50035 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
50036 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50037 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
50038 fi
50039
50040 COND_TOOLKIT_WINCE_WXUNIV_0="#"
50041 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
50042 COND_TOOLKIT_WINCE_WXUNIV_0=""
50043 fi
50044
50045 COND_TOOLKIT_X11="#"
50046 if test "x$TOOLKIT" = "xX11" ; then
50047 COND_TOOLKIT_X11=""
50048 fi
50049
50050 COND_TOOLKIT_X11_USE_GUI_1="#"
50051 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
50052 COND_TOOLKIT_X11_USE_GUI_1=""
50053 fi
50054
50055 COND_UNICODE_1="#"
50056 if test "x$UNICODE" = "x1" ; then
50057 COND_UNICODE_1=""
50058 fi
50059
50060 COND_USE_EXCEPTIONS_0="#"
50061 if test "x$USE_EXCEPTIONS" = "x0" ; then
50062 COND_USE_EXCEPTIONS_0=""
50063 fi
50064
50065 COND_USE_EXCEPTIONS_1="#"
50066 if test "x$USE_EXCEPTIONS" = "x1" ; then
50067 COND_USE_EXCEPTIONS_1=""
50068 fi
50069
50070 COND_USE_GUI_0="#"
50071 if test "x$USE_GUI" = "x0" ; then
50072 COND_USE_GUI_0=""
50073 fi
50074
50075 COND_USE_GUI_1="#"
50076 if test "x$USE_GUI" = "x1" ; then
50077 COND_USE_GUI_1=""
50078 fi
50079
50080 COND_USE_GUI_1_USE_OPENGL_1="#"
50081 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
50082 COND_USE_GUI_1_USE_OPENGL_1=""
50083 fi
50084
50085 COND_USE_GUI_1_WXUNIV_0="#"
50086 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
50087 COND_USE_GUI_1_WXUNIV_0=""
50088 fi
50089
50090 COND_USE_GUI_1_WXUNIV_1="#"
50091 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
50092 COND_USE_GUI_1_WXUNIV_1=""
50093 fi
50094
50095 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
50096 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50097 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
50098 fi
50099
50100 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
50101 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50102 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
50103 fi
50104
50105 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
50106 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50107 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
50108 fi
50109
50110 COND_USE_OPENGL_1="#"
50111 if test "x$USE_OPENGL" = "x1" ; then
50112 COND_USE_OPENGL_1=""
50113 fi
50114
50115 COND_USE_PCH_1="#"
50116 if test "x$USE_PCH" = "x1" ; then
50117 COND_USE_PCH_1=""
50118 fi
50119
50120 COND_USE_PLUGINS_0="#"
50121 if test "x$USE_PLUGINS" = "x0" ; then
50122 COND_USE_PLUGINS_0=""
50123 fi
50124
50125 COND_USE_RTTI_0="#"
50126 if test "x$USE_RTTI" = "x0" ; then
50127 COND_USE_RTTI_0=""
50128 fi
50129
50130 COND_USE_RTTI_1="#"
50131 if test "x$USE_RTTI" = "x1" ; then
50132 COND_USE_RTTI_1=""
50133 fi
50134
50135 COND_USE_SOSYMLINKS_1="#"
50136 if test "x$USE_SOSYMLINKS" = "x1" ; then
50137 COND_USE_SOSYMLINKS_1=""
50138 fi
50139
50140 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
50141 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
50142 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
50143 fi
50144
50145 COND_USE_SOVERLINUX_1="#"
50146 if test "x$USE_SOVERLINUX" = "x1" ; then
50147 COND_USE_SOVERLINUX_1=""
50148 fi
50149
50150 COND_USE_SOVERSION_0="#"
50151 if test "x$USE_SOVERSION" = "x0" ; then
50152 COND_USE_SOVERSION_0=""
50153 fi
50154
50155 COND_USE_SOVERSOLARIS_1="#"
50156 if test "x$USE_SOVERSOLARIS" = "x1" ; then
50157 COND_USE_SOVERSOLARIS_1=""
50158 fi
50159
50160 COND_USE_STC_1="#"
50161 if test "x$USE_STC" = "x1" ; then
50162 COND_USE_STC_1=""
50163 fi
50164
50165 COND_USE_THREADS_0="#"
50166 if test "x$USE_THREADS" = "x0" ; then
50167 COND_USE_THREADS_0=""
50168 fi
50169
50170 COND_USE_THREADS_1="#"
50171 if test "x$USE_THREADS" = "x1" ; then
50172 COND_USE_THREADS_1=""
50173 fi
50174
50175 COND_USE_XRC_1="#"
50176 if test "x$USE_XRC" = "x1" ; then
50177 COND_USE_XRC_1=""
50178 fi
50179
50180 COND_WINDOWS_IMPLIB_1="#"
50181 if test "x$WINDOWS_IMPLIB" = "x1" ; then
50182 COND_WINDOWS_IMPLIB_1=""
50183 fi
50184
50185 COND_WITH_PLUGIN_SDL_1="#"
50186 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
50187 COND_WITH_PLUGIN_SDL_1=""
50188 fi
50189
50190 COND_WXUNIV_0="#"
50191 if test "x$WXUNIV" = "x0" ; then
50192 COND_WXUNIV_0=""
50193 fi
50194
50195 COND_WXUNIV_1="#"
50196 if test "x$WXUNIV" = "x1" ; then
50197 COND_WXUNIV_1=""
50198 fi
50199
50200 COND_WXUSE_EXPAT_BUILTIN="#"
50201 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
50202 COND_WXUSE_EXPAT_BUILTIN=""
50203 fi
50204
50205 COND_WXUSE_LIBJPEG_BUILTIN="#"
50206 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
50207 COND_WXUSE_LIBJPEG_BUILTIN=""
50208 fi
50209
50210 COND_WXUSE_LIBPNG_BUILTIN="#"
50211 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
50212 COND_WXUSE_LIBPNG_BUILTIN=""
50213 fi
50214
50215 COND_WXUSE_LIBTIFF_BUILTIN="#"
50216 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
50217 COND_WXUSE_LIBTIFF_BUILTIN=""
50218 fi
50219
50220 COND_WXUSE_REGEX_BUILTIN="#"
50221 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
50222 COND_WXUSE_REGEX_BUILTIN=""
50223 fi
50224
50225 COND_WXUSE_ZLIB_BUILTIN="#"
50226 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
50227 COND_WXUSE_ZLIB_BUILTIN=""
50228 fi
50229
50230
50231
50232 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
50233 { { 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
50234 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;}
50235 { (exit 1); exit 1; }; }
50236 fi
50237
50238 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
50239 { { 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
50240 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;}
50241 { (exit 1); exit 1; }; }
50242 fi
50243
50244
50245 case ${INSTALL} in
50246 /* ) # Absolute
50247 ;;
50248 ?:* ) # Drive letter, considered as absolute.
50249 ;;
50250 *)
50251 INSTALL=`pwd`/${INSTALL} ;;
50252 esac
50253
50254 if test "$wxUSE_GUI" = "yes"; then
50255
50256 if test "$wxUSE_MSW" = 1 ; then
50257 if test "x$WINDRES" = "x"; then
50258 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
50259 echo "$as_me: error: Required windres program not found" >&2;}
50260 { (exit 1); exit 1; }; }
50261 fi
50262
50263 RESCOMP="$WINDRES"
50264 fi
50265
50266 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
50267 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
50268 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
50269
50270 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
50271
50272 # Extract the first word of "DeRez", so it can be a program name with args.
50273 set dummy DeRez; ac_word=$2
50274 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50275 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50276 if test "${ac_cv_prog_DEREZ+set}" = set; then
50277 echo $ECHO_N "(cached) $ECHO_C" >&6
50278 else
50279 if test -n "$DEREZ"; then
50280 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
50281 else
50282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50283 for as_dir in $PATH
50284 do
50285 IFS=$as_save_IFS
50286 test -z "$as_dir" && as_dir=.
50287 for ac_exec_ext in '' $ac_executable_extensions; do
50288 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50289 ac_cv_prog_DEREZ="DeRez"
50290 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50291 break 2
50292 fi
50293 done
50294 done
50295 IFS=$as_save_IFS
50296
50297 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
50298 fi
50299 fi
50300 DEREZ=$ac_cv_prog_DEREZ
50301 if test -n "$DEREZ"; then
50302 { echo "$as_me:$LINENO: result: $DEREZ" >&5
50303 echo "${ECHO_T}$DEREZ" >&6; }
50304 else
50305 { echo "$as_me:$LINENO: result: no" >&5
50306 echo "${ECHO_T}no" >&6; }
50307 fi
50308
50309
50310
50311 MACSETFILE="\$(SETFILE)"
50312
50313 if test "$wxUSE_MAC" = 1; then
50314 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
50315 RESCOMP="$REZ"
50316 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
50317 else
50318 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
50319 RESCOMP="cat /dev/null \| $REZ"
50320 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
50321 fi
50322
50323 else
50324 MACSETFILE="@true"
50325
50326 if test "$wxUSE_PM" = 1; then
50327 RESCOMP="emxbind"
50328 WXCONFIG_RESFLAGS="-ep"
50329
50330 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
50331 else
50332 POSTLINK_COMMAND="@true"
50333 fi
50334 fi
50335
50336 fi
50337
50338
50339 if test $GCC_PCH = 1
50340 then
50341 if test "$wx_cv_gcc_pch_bug" = yes; then
50342 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
50343 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
50344 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
50345 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
50346 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
50347 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
50348 fi
50349
50350 # Our WX_PRECOMP flag does not make sense for any language except C++ because
50351 # the headers that benefit from precompilation are mostly C++ headers.
50352 CXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50353 # When Bakefile can do multi-language PCH (e.g. C++ and Objective-C++) enable this:
50354 #OBJCXXFLAGS="-DWX_PRECOMP $CXXFLAGS"
50355 fi
50356
50357
50358 if test "$wxUSE_MAC" = 1 ; then
50359 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
50360 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
50361 mv temp bk-deps
50362 chmod +x bk-deps
50363 fi
50364 fi
50365
50366 if test "$wxUSE_SHARED" = "yes"; then
50367 case "${host}" in
50368 *-pc-os2_emx | *-pc-os2-emx )
50369 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50370 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
50371 cp -p ${srcdir}/src/os2/dllnames.sh .
50372 cp -p ${srcdir}/src/os2/dllar.sh .
50373 ;;
50374 esac
50375 fi
50376 if test "$wxUSE_OMF" = "yes"; then
50377 case "${host}" in
50378 *-pc-os2_emx | *-pc-os2-emx )
50379 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
50380 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50381 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
50382 ;;
50383 esac
50384 fi
50385
50386 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
50387
50388
50389 case "${host}" in
50390 *-*-solaris2* )
50391 if test "$GCC" = yes; then
50392 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
50393 LIBS=`echo $LIBS | sed 's/-mt//'`
50394 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
50395 fi
50396 ;;
50397
50398 *-*-linux* )
50399 if test "x$SUNCXX" = xyes; then
50400 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
50401 LIBS=`echo $LIBS | sed 's/-pthread//'`
50402 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
50403 fi
50404 ;;
50405 esac
50406
50407 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
50408 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
50409
50410 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
50411
50412
50413
50414
50415
50416
50417
50418
50419
50420
50421
50422
50423
50424
50425
50426
50427
50428
50429
50430
50431
50432
50433
50434
50435
50436
50437
50438
50439
50440
50441
50442
50443
50444
50445
50446
50447
50448
50449
50450
50451
50452
50453
50454
50455
50456
50457
50458
50459
50460
50461
50462
50463
50464
50465
50466
50467
50468
50469
50470
50471 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
50472 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
50473 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
50474 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
50475 echo $ECHO_N "(cached) $ECHO_C" >&6
50476 else
50477 cat >conftest.make <<\_ACEOF
50478 SHELL = /bin/sh
50479 all:
50480 @echo '@@@%%%=$(MAKE)=@@@%%%'
50481 _ACEOF
50482 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
50483 case `${MAKE-make} -f conftest.make 2>/dev/null` in
50484 *@@@%%%=?*=@@@%%%*)
50485 eval ac_cv_prog_make_${ac_make}_set=yes;;
50486 *)
50487 eval ac_cv_prog_make_${ac_make}_set=no;;
50488 esac
50489 rm -f conftest.make
50490 fi
50491 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
50492 { echo "$as_me:$LINENO: result: yes" >&5
50493 echo "${ECHO_T}yes" >&6; }
50494 SET_MAKE=
50495 else
50496 { echo "$as_me:$LINENO: result: no" >&5
50497 echo "${ECHO_T}no" >&6; }
50498 SET_MAKE="MAKE=${MAKE-make}"
50499 fi
50500
50501
50502
50503 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
50504
50505
50506 if test "$USE_WIN32" = 1; then
50507 ac_config_commands="$ac_config_commands
50508 rcdefs.h
50509 "
50510
50511 fi
50512
50513 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
50514
50515
50516 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
50517
50518
50519 ac_config_files="$ac_config_files utils/ifacecheck/rungccxml.sh"
50520
50521
50522 if test "$wx_cv_version_script" = "yes"; then
50523 ac_config_files="$ac_config_files version-script"
50524
50525 fi
50526 ac_config_files="$ac_config_files Makefile"
50527
50528
50529 ac_config_commands="$ac_config_commands wx-config"
50530
50531
50532
50533 if test "$wxWITH_SUBDIRS" != "no"; then
50534 if test "$wxUSE_GUI" = "yes"; then
50535 SUBDIRS="samples demos utils"
50536 else
50537 SUBDIRS="samples utils"
50538 fi
50539
50540
50541
50542 # Check whether --with-cppunit-prefix was given.
50543 if test "${with_cppunit_prefix+set}" = set; then
50544 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
50545 else
50546 cppunit_config_prefix=""
50547 fi
50548
50549
50550 # Check whether --with-cppunit-exec-prefix was given.
50551 if test "${with_cppunit_exec_prefix+set}" = set; then
50552 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
50553 else
50554 cppunit_config_exec_prefix=""
50555 fi
50556
50557
50558 if test x$cppunit_config_exec_prefix != x ; then
50559 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
50560 if test x${CPPUNIT_CONFIG+set} != xset ; then
50561 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
50562 fi
50563 fi
50564 if test x$cppunit_config_prefix != x ; then
50565 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
50566 if test x${CPPUNIT_CONFIG+set} != xset ; then
50567 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
50568 fi
50569 fi
50570
50571 # Extract the first word of "cppunit-config", so it can be a program name with args.
50572 set dummy cppunit-config; ac_word=$2
50573 { echo "$as_me:$LINENO: checking for $ac_word" >&5
50574 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
50575 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
50576 echo $ECHO_N "(cached) $ECHO_C" >&6
50577 else
50578 case $CPPUNIT_CONFIG in
50579 [\\/]* | ?:[\\/]*)
50580 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
50581 ;;
50582 *)
50583 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50584 for as_dir in $PATH
50585 do
50586 IFS=$as_save_IFS
50587 test -z "$as_dir" && as_dir=.
50588 for ac_exec_ext in '' $ac_executable_extensions; do
50589 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50590 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50591 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50592 break 2
50593 fi
50594 done
50595 done
50596 IFS=$as_save_IFS
50597
50598 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50599 ;;
50600 esac
50601 fi
50602 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50603 if test -n "$CPPUNIT_CONFIG"; then
50604 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50605 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50606 else
50607 { echo "$as_me:$LINENO: result: no" >&5
50608 echo "${ECHO_T}no" >&6; }
50609 fi
50610
50611
50612 cppunit_version_min=1.8.0
50613
50614 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50615 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50616 no_cppunit=""
50617 if test "$CPPUNIT_CONFIG" = "no" ; then
50618 { echo "$as_me:$LINENO: result: no" >&5
50619 echo "${ECHO_T}no" >&6; }
50620 no_cppunit=yes
50621 else
50622 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50623 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50624 cppunit_version=`$CPPUNIT_CONFIG --version`
50625
50626 cppunit_major_version=`echo $cppunit_version | \
50627 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50628 cppunit_minor_version=`echo $cppunit_version | \
50629 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50630 cppunit_micro_version=`echo $cppunit_version | \
50631 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50632
50633 cppunit_major_min=`echo $cppunit_version_min | \
50634 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50635 cppunit_minor_min=`echo $cppunit_version_min | \
50636 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50637 cppunit_micro_min=`echo $cppunit_version_min | \
50638 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50639
50640 cppunit_version_proper=`expr \
50641 $cppunit_major_version \> $cppunit_major_min \| \
50642 $cppunit_major_version \= $cppunit_major_min \& \
50643 $cppunit_minor_version \> $cppunit_minor_min \| \
50644 $cppunit_major_version \= $cppunit_major_min \& \
50645 $cppunit_minor_version \= $cppunit_minor_min \& \
50646 $cppunit_micro_version \>= $cppunit_micro_min `
50647
50648 if test "$cppunit_version_proper" = "1" ; then
50649 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50650 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50651 else
50652 { echo "$as_me:$LINENO: result: no" >&5
50653 echo "${ECHO_T}no" >&6; }
50654 no_cppunit=yes
50655 fi
50656 fi
50657
50658 if test "x$no_cppunit" = x ; then
50659 SUBDIRS="$SUBDIRS tests"
50660 else
50661 CPPUNIT_CFLAGS=""
50662 CPPUNIT_LIBS=""
50663 :
50664 fi
50665
50666
50667
50668
50669
50670 for subdir in $SUBDIRS; do
50671 if test -d ${srcdir}/${subdir} ; then
50672 if test "$wxUSE_GUI" = "yes"; then
50673 if test ${subdir} = "samples"; then
50674 makefiles="samples/Makefile.in $makefiles"
50675 for sample in $SAMPLES_SUBDIRS; do
50676 if test -d $srcdir/samples/$sample; then
50677 makefiles="samples/$sample/Makefile.in $makefiles"
50678 fi
50679 done
50680 else
50681 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50682 eval "disabled=\$$disabled_var"
50683 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50684 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50685 fi
50686 else
50687 if test ${subdir} = "samples"; then
50688 makefiles="samples/Makefile.in $makefiles"
50689 for sample in `echo $SAMPLES_SUBDIRS`; do
50690 if test -d $srcdir/samples/$sample; then
50691 makefiles="samples/$sample/Makefile.in $makefiles"
50692 fi
50693 done
50694 elif test ${subdir} = "utils"; then
50695 makefiles=""
50696 for util in ifacecheck ; do
50697 if test -d $srcdir/utils/$util ; then
50698 makefiles="utils/$util/src/Makefile.in \
50699 $makefiles"
50700 fi
50701 done
50702 else
50703 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50704 fi
50705 fi
50706
50707 for mkin in $makefiles ; do
50708 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50709 ac_config_files="$ac_config_files $mk"
50710
50711 done
50712 fi
50713 done
50714 fi
50715 cat >confcache <<\_ACEOF
50716 # This file is a shell script that caches the results of configure
50717 # tests run on this system so they can be shared between configure
50718 # scripts and configure runs, see configure's option --config-cache.
50719 # It is not useful on other systems. If it contains results you don't
50720 # want to keep, you may remove or edit it.
50721 #
50722 # config.status only pays attention to the cache file if you give it
50723 # the --recheck option to rerun configure.
50724 #
50725 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50726 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50727 # following values.
50728
50729 _ACEOF
50730
50731 # The following way of writing the cache mishandles newlines in values,
50732 # but we know of no workaround that is simple, portable, and efficient.
50733 # So, we kill variables containing newlines.
50734 # Ultrix sh set writes to stderr and can't be redirected directly,
50735 # and sets the high bit in the cache file unless we assign to the vars.
50736 (
50737 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50738 eval ac_val=\$$ac_var
50739 case $ac_val in #(
50740 *${as_nl}*)
50741 case $ac_var in #(
50742 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50743 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50744 esac
50745 case $ac_var in #(
50746 _ | IFS | as_nl) ;; #(
50747 *) $as_unset $ac_var ;;
50748 esac ;;
50749 esac
50750 done
50751
50752 (set) 2>&1 |
50753 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50754 *${as_nl}ac_space=\ *)
50755 # `set' does not quote correctly, so add quotes (double-quote
50756 # substitution turns \\\\ into \\, and sed turns \\ into \).
50757 sed -n \
50758 "s/'/'\\\\''/g;
50759 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50760 ;; #(
50761 *)
50762 # `set' quotes correctly as required by POSIX, so do not add quotes.
50763 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50764 ;;
50765 esac |
50766 sort
50767 ) |
50768 sed '
50769 /^ac_cv_env_/b end
50770 t clear
50771 :clear
50772 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50773 t end
50774 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50775 :end' >>confcache
50776 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50777 if test -w "$cache_file"; then
50778 test "x$cache_file" != "x/dev/null" &&
50779 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50780 echo "$as_me: updating cache $cache_file" >&6;}
50781 cat confcache >$cache_file
50782 else
50783 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50784 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50785 fi
50786 fi
50787 rm -f confcache
50788
50789 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50790 # Let make expand exec_prefix.
50791 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50792
50793 DEFS=-DHAVE_CONFIG_H
50794
50795 ac_libobjs=
50796 ac_ltlibobjs=
50797 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50798 # 1. Remove the extension, and $U if already installed.
50799 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50800 ac_i=`echo "$ac_i" | sed "$ac_script"`
50801 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50802 # will be set to the directory where LIBOBJS objects are built.
50803 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50804 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50805 done
50806 LIBOBJS=$ac_libobjs
50807
50808 LTLIBOBJS=$ac_ltlibobjs
50809
50810
50811
50812 : ${CONFIG_STATUS=./config.status}
50813 ac_clean_files_save=$ac_clean_files
50814 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50815 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50816 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50817 cat >$CONFIG_STATUS <<_ACEOF
50818 #! $SHELL
50819 # Generated by $as_me.
50820 # Run this file to recreate the current configuration.
50821 # Compiler output produced by configure, useful for debugging
50822 # configure, is in config.log if it exists.
50823
50824 debug=false
50825 ac_cs_recheck=false
50826 ac_cs_silent=false
50827 SHELL=\${CONFIG_SHELL-$SHELL}
50828 _ACEOF
50829
50830 cat >>$CONFIG_STATUS <<\_ACEOF
50831 ## --------------------- ##
50832 ## M4sh Initialization. ##
50833 ## --------------------- ##
50834
50835 # Be more Bourne compatible
50836 DUALCASE=1; export DUALCASE # for MKS sh
50837 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50838 emulate sh
50839 NULLCMD=:
50840 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50841 # is contrary to our usage. Disable this feature.
50842 alias -g '${1+"$@"}'='"$@"'
50843 setopt NO_GLOB_SUBST
50844 else
50845 case `(set -o) 2>/dev/null` in
50846 *posix*) set -o posix ;;
50847 esac
50848
50849 fi
50850
50851
50852
50853
50854 # PATH needs CR
50855 # Avoid depending upon Character Ranges.
50856 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50857 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50858 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50859 as_cr_digits='0123456789'
50860 as_cr_alnum=$as_cr_Letters$as_cr_digits
50861
50862 # The user is always right.
50863 if test "${PATH_SEPARATOR+set}" != set; then
50864 echo "#! /bin/sh" >conf$$.sh
50865 echo "exit 0" >>conf$$.sh
50866 chmod +x conf$$.sh
50867 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50868 PATH_SEPARATOR=';'
50869 else
50870 PATH_SEPARATOR=:
50871 fi
50872 rm -f conf$$.sh
50873 fi
50874
50875 # Support unset when possible.
50876 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50877 as_unset=unset
50878 else
50879 as_unset=false
50880 fi
50881
50882
50883 # IFS
50884 # We need space, tab and new line, in precisely that order. Quoting is
50885 # there to prevent editors from complaining about space-tab.
50886 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50887 # splitting by setting IFS to empty value.)
50888 as_nl='
50889 '
50890 IFS=" "" $as_nl"
50891
50892 # Find who we are. Look in the path if we contain no directory separator.
50893 case $0 in
50894 *[\\/]* ) as_myself=$0 ;;
50895 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50896 for as_dir in $PATH
50897 do
50898 IFS=$as_save_IFS
50899 test -z "$as_dir" && as_dir=.
50900 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50901 done
50902 IFS=$as_save_IFS
50903
50904 ;;
50905 esac
50906 # We did not find ourselves, most probably we were run as `sh COMMAND'
50907 # in which case we are not to be found in the path.
50908 if test "x$as_myself" = x; then
50909 as_myself=$0
50910 fi
50911 if test ! -f "$as_myself"; then
50912 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50913 { (exit 1); exit 1; }
50914 fi
50915
50916 # Work around bugs in pre-3.0 UWIN ksh.
50917 for as_var in ENV MAIL MAILPATH
50918 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50919 done
50920 PS1='$ '
50921 PS2='> '
50922 PS4='+ '
50923
50924 # NLS nuisances.
50925 for as_var in \
50926 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50927 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50928 LC_TELEPHONE LC_TIME
50929 do
50930 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50931 eval $as_var=C; export $as_var
50932 else
50933 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50934 fi
50935 done
50936
50937 # Required to use basename.
50938 if expr a : '\(a\)' >/dev/null 2>&1 &&
50939 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50940 as_expr=expr
50941 else
50942 as_expr=false
50943 fi
50944
50945 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50946 as_basename=basename
50947 else
50948 as_basename=false
50949 fi
50950
50951
50952 # Name of the executable.
50953 as_me=`$as_basename -- "$0" ||
50954 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50955 X"$0" : 'X\(//\)$' \| \
50956 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50957 echo X/"$0" |
50958 sed '/^.*\/\([^/][^/]*\)\/*$/{
50959 s//\1/
50960 q
50961 }
50962 /^X\/\(\/\/\)$/{
50963 s//\1/
50964 q
50965 }
50966 /^X\/\(\/\).*/{
50967 s//\1/
50968 q
50969 }
50970 s/.*/./; q'`
50971
50972 # CDPATH.
50973 $as_unset CDPATH
50974
50975
50976
50977 as_lineno_1=$LINENO
50978 as_lineno_2=$LINENO
50979 test "x$as_lineno_1" != "x$as_lineno_2" &&
50980 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50981
50982 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50983 # uniformly replaced by the line number. The first 'sed' inserts a
50984 # line-number line after each line using $LINENO; the second 'sed'
50985 # does the real work. The second script uses 'N' to pair each
50986 # line-number line with the line containing $LINENO, and appends
50987 # trailing '-' during substitution so that $LINENO is not a special
50988 # case at line end.
50989 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50990 # scripts with optimization help from Paolo Bonzini. Blame Lee
50991 # E. McMahon (1931-1989) for sed's syntax. :-)
50992 sed -n '
50993 p
50994 /[$]LINENO/=
50995 ' <$as_myself |
50996 sed '
50997 s/[$]LINENO.*/&-/
50998 t lineno
50999 b
51000 :lineno
51001 N
51002 :loop
51003 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
51004 t loop
51005 s/-\n.*//
51006 ' >$as_me.lineno &&
51007 chmod +x "$as_me.lineno" ||
51008 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
51009 { (exit 1); exit 1; }; }
51010
51011 # Don't try to exec as it changes $[0], causing all sort of problems
51012 # (the dirname of $[0] is not the place where we might find the
51013 # original and so on. Autoconf is especially sensitive to this).
51014 . "./$as_me.lineno"
51015 # Exit status is that of the last command.
51016 exit
51017 }
51018
51019
51020 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
51021 as_dirname=dirname
51022 else
51023 as_dirname=false
51024 fi
51025
51026 ECHO_C= ECHO_N= ECHO_T=
51027 case `echo -n x` in
51028 -n*)
51029 case `echo 'x\c'` in
51030 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
51031 *) ECHO_C='\c';;
51032 esac;;
51033 *)
51034 ECHO_N='-n';;
51035 esac
51036
51037 if expr a : '\(a\)' >/dev/null 2>&1 &&
51038 test "X`expr 00001 : '.*\(...\)'`" = X001; then
51039 as_expr=expr
51040 else
51041 as_expr=false
51042 fi
51043
51044 rm -f conf$$ conf$$.exe conf$$.file
51045 if test -d conf$$.dir; then
51046 rm -f conf$$.dir/conf$$.file
51047 else
51048 rm -f conf$$.dir
51049 mkdir conf$$.dir
51050 fi
51051 echo >conf$$.file
51052 if ln -s conf$$.file conf$$ 2>/dev/null; then
51053 as_ln_s='ln -s'
51054 # ... but there are two gotchas:
51055 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
51056 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
51057 # In both cases, we have to default to `cp -p'.
51058 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
51059 as_ln_s='cp -p'
51060 elif ln conf$$.file conf$$ 2>/dev/null; then
51061 as_ln_s=ln
51062 else
51063 as_ln_s='cp -p'
51064 fi
51065 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
51066 rmdir conf$$.dir 2>/dev/null
51067
51068 if mkdir -p . 2>/dev/null; then
51069 as_mkdir_p=:
51070 else
51071 test -d ./-p && rmdir ./-p
51072 as_mkdir_p=false
51073 fi
51074
51075 if test -x / >/dev/null 2>&1; then
51076 as_test_x='test -x'
51077 else
51078 if ls -dL / >/dev/null 2>&1; then
51079 as_ls_L_option=L
51080 else
51081 as_ls_L_option=
51082 fi
51083 as_test_x='
51084 eval sh -c '\''
51085 if test -d "$1"; then
51086 test -d "$1/.";
51087 else
51088 case $1 in
51089 -*)set "./$1";;
51090 esac;
51091 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
51092 ???[sx]*):;;*)false;;esac;fi
51093 '\'' sh
51094 '
51095 fi
51096 as_executable_p=$as_test_x
51097
51098 # Sed expression to map a string onto a valid CPP name.
51099 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
51100
51101 # Sed expression to map a string onto a valid variable name.
51102 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
51103
51104
51105 exec 6>&1
51106
51107 # Save the log message, to keep $[0] and so on meaningful, and to
51108 # report actual input values of CONFIG_FILES etc. instead of their
51109 # values after options handling.
51110 ac_log="
51111 This file was extended by wxWidgets $as_me 2.9.0, which was
51112 generated by GNU Autoconf 2.61. Invocation command line was
51113
51114 CONFIG_FILES = $CONFIG_FILES
51115 CONFIG_HEADERS = $CONFIG_HEADERS
51116 CONFIG_LINKS = $CONFIG_LINKS
51117 CONFIG_COMMANDS = $CONFIG_COMMANDS
51118 $ $0 $@
51119
51120 on `(hostname || uname -n) 2>/dev/null | sed 1q`
51121 "
51122
51123 _ACEOF
51124
51125 cat >>$CONFIG_STATUS <<_ACEOF
51126 # Files that config.status was made for.
51127 config_files="$ac_config_files"
51128 config_headers="$ac_config_headers"
51129 config_commands="$ac_config_commands"
51130
51131 _ACEOF
51132
51133 cat >>$CONFIG_STATUS <<\_ACEOF
51134 ac_cs_usage="\
51135 \`$as_me' instantiates files from templates according to the
51136 current configuration.
51137
51138 Usage: $0 [OPTIONS] [FILE]...
51139
51140 -h, --help print this help, then exit
51141 -V, --version print version number and configuration settings, then exit
51142 -q, --quiet do not print progress messages
51143 -d, --debug don't remove temporary files
51144 --recheck update $as_me by reconfiguring in the same conditions
51145 --file=FILE[:TEMPLATE]
51146 instantiate the configuration file FILE
51147 --header=FILE[:TEMPLATE]
51148 instantiate the configuration header FILE
51149
51150 Configuration files:
51151 $config_files
51152
51153 Configuration headers:
51154 $config_headers
51155
51156 Configuration commands:
51157 $config_commands
51158
51159 Report bugs to <bug-autoconf@gnu.org>."
51160
51161 _ACEOF
51162 cat >>$CONFIG_STATUS <<_ACEOF
51163 ac_cs_version="\\
51164 wxWidgets config.status 2.9.0
51165 configured by $0, generated by GNU Autoconf 2.61,
51166 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
51167
51168 Copyright (C) 2006 Free Software Foundation, Inc.
51169 This config.status script is free software; the Free Software Foundation
51170 gives unlimited permission to copy, distribute and modify it."
51171
51172 ac_pwd='$ac_pwd'
51173 srcdir='$srcdir'
51174 INSTALL='$INSTALL'
51175 _ACEOF
51176
51177 cat >>$CONFIG_STATUS <<\_ACEOF
51178 # If no file are specified by the user, then we need to provide default
51179 # value. By we need to know if files were specified by the user.
51180 ac_need_defaults=:
51181 while test $# != 0
51182 do
51183 case $1 in
51184 --*=*)
51185 ac_option=`expr "X$1" : 'X\([^=]*\)='`
51186 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
51187 ac_shift=:
51188 ;;
51189 *)
51190 ac_option=$1
51191 ac_optarg=$2
51192 ac_shift=shift
51193 ;;
51194 esac
51195
51196 case $ac_option in
51197 # Handling of the options.
51198 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
51199 ac_cs_recheck=: ;;
51200 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
51201 echo "$ac_cs_version"; exit ;;
51202 --debug | --debu | --deb | --de | --d | -d )
51203 debug=: ;;
51204 --file | --fil | --fi | --f )
51205 $ac_shift
51206 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
51207 ac_need_defaults=false;;
51208 --header | --heade | --head | --hea )
51209 $ac_shift
51210 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
51211 ac_need_defaults=false;;
51212 --he | --h)
51213 # Conflict between --help and --header
51214 { echo "$as_me: error: ambiguous option: $1
51215 Try \`$0 --help' for more information." >&2
51216 { (exit 1); exit 1; }; };;
51217 --help | --hel | -h )
51218 echo "$ac_cs_usage"; exit ;;
51219 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
51220 | -silent | --silent | --silen | --sile | --sil | --si | --s)
51221 ac_cs_silent=: ;;
51222
51223 # This is an error.
51224 -*) { echo "$as_me: error: unrecognized option: $1
51225 Try \`$0 --help' for more information." >&2
51226 { (exit 1); exit 1; }; } ;;
51227
51228 *) ac_config_targets="$ac_config_targets $1"
51229 ac_need_defaults=false ;;
51230
51231 esac
51232 shift
51233 done
51234
51235 ac_configure_extra_args=
51236
51237 if $ac_cs_silent; then
51238 exec 6>/dev/null
51239 ac_configure_extra_args="$ac_configure_extra_args --silent"
51240 fi
51241
51242 _ACEOF
51243 cat >>$CONFIG_STATUS <<_ACEOF
51244 if \$ac_cs_recheck; then
51245 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
51246 CONFIG_SHELL=$SHELL
51247 export CONFIG_SHELL
51248 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
51249 fi
51250
51251 _ACEOF
51252 cat >>$CONFIG_STATUS <<\_ACEOF
51253 exec 5>>config.log
51254 {
51255 echo
51256 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
51257 ## Running $as_me. ##
51258 _ASBOX
51259 echo "$ac_log"
51260 } >&5
51261
51262 _ACEOF
51263 cat >>$CONFIG_STATUS <<_ACEOF
51264 #
51265 # INIT-COMMANDS
51266 #
51267
51268 CPP="$CPP"
51269 infile="$srcdir/include/wx/msw/genrcdefs.h"
51270 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
51271
51272
51273 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51274 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51275 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
51276 LN_S="${LN_S}"
51277
51278
51279 _ACEOF
51280
51281 cat >>$CONFIG_STATUS <<\_ACEOF
51282
51283 # Handling of arguments.
51284 for ac_config_target in $ac_config_targets
51285 do
51286 case $ac_config_target in
51287 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
51288 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
51289 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
51290 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
51291 "utils/ifacecheck/rungccxml.sh") CONFIG_FILES="$CONFIG_FILES utils/ifacecheck/rungccxml.sh" ;;
51292 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
51293 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
51294 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
51295 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
51296
51297 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
51298 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
51299 { (exit 1); exit 1; }; };;
51300 esac
51301 done
51302
51303
51304 # If the user did not use the arguments to specify the items to instantiate,
51305 # then the envvar interface is used. Set only those that are not.
51306 # We use the long form for the default assignment because of an extremely
51307 # bizarre bug on SunOS 4.1.3.
51308 if $ac_need_defaults; then
51309 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
51310 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
51311 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
51312 fi
51313
51314 # Have a temporary directory for convenience. Make it in the build tree
51315 # simply because there is no reason against having it here, and in addition,
51316 # creating and moving files from /tmp can sometimes cause problems.
51317 # Hook for its removal unless debugging.
51318 # Note that there is a small window in which the directory will not be cleaned:
51319 # after its creation but before its name has been assigned to `$tmp'.
51320 $debug ||
51321 {
51322 tmp=
51323 trap 'exit_status=$?
51324 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
51325 ' 0
51326 trap '{ (exit 1); exit 1; }' 1 2 13 15
51327 }
51328 # Create a (secure) tmp directory for tmp files.
51329
51330 {
51331 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
51332 test -n "$tmp" && test -d "$tmp"
51333 } ||
51334 {
51335 tmp=./conf$$-$RANDOM
51336 (umask 077 && mkdir "$tmp")
51337 } ||
51338 {
51339 echo "$me: cannot create a temporary directory in ." >&2
51340 { (exit 1); exit 1; }
51341 }
51342
51343 #
51344 # Set up the sed scripts for CONFIG_FILES section.
51345 #
51346
51347 # No need to generate the scripts if there are no CONFIG_FILES.
51348 # This happens for instance when ./config.status config.h
51349 if test -n "$CONFIG_FILES"; then
51350
51351 _ACEOF
51352
51353
51354
51355 ac_delim='%!_!# '
51356 for ac_last_try in false false false false false :; do
51357 cat >conf$$subs.sed <<_ACEOF
51358 SHELL!$SHELL$ac_delim
51359 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
51360 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
51361 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
51362 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
51363 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
51364 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
51365 exec_prefix!$exec_prefix$ac_delim
51366 prefix!$prefix$ac_delim
51367 program_transform_name!$program_transform_name$ac_delim
51368 bindir!$bindir$ac_delim
51369 sbindir!$sbindir$ac_delim
51370 libexecdir!$libexecdir$ac_delim
51371 datarootdir!$datarootdir$ac_delim
51372 datadir!$datadir$ac_delim
51373 sysconfdir!$sysconfdir$ac_delim
51374 sharedstatedir!$sharedstatedir$ac_delim
51375 localstatedir!$localstatedir$ac_delim
51376 includedir!$includedir$ac_delim
51377 oldincludedir!$oldincludedir$ac_delim
51378 docdir!$docdir$ac_delim
51379 infodir!$infodir$ac_delim
51380 htmldir!$htmldir$ac_delim
51381 dvidir!$dvidir$ac_delim
51382 pdfdir!$pdfdir$ac_delim
51383 psdir!$psdir$ac_delim
51384 libdir!$libdir$ac_delim
51385 localedir!$localedir$ac_delim
51386 mandir!$mandir$ac_delim
51387 DEFS!$DEFS$ac_delim
51388 ECHO_C!$ECHO_C$ac_delim
51389 ECHO_N!$ECHO_N$ac_delim
51390 ECHO_T!$ECHO_T$ac_delim
51391 LIBS!$LIBS$ac_delim
51392 build_alias!$build_alias$ac_delim
51393 host_alias!$host_alias$ac_delim
51394 target_alias!$target_alias$ac_delim
51395 build!$build$ac_delim
51396 build_cpu!$build_cpu$ac_delim
51397 build_vendor!$build_vendor$ac_delim
51398 build_os!$build_os$ac_delim
51399 host!$host$ac_delim
51400 host_cpu!$host_cpu$ac_delim
51401 host_vendor!$host_vendor$ac_delim
51402 host_os!$host_os$ac_delim
51403 target!$target$ac_delim
51404 target_cpu!$target_cpu$ac_delim
51405 target_vendor!$target_vendor$ac_delim
51406 target_os!$target_os$ac_delim
51407 wx_top_builddir!$wx_top_builddir$ac_delim
51408 CC!$CC$ac_delim
51409 CFLAGS!$CFLAGS$ac_delim
51410 LDFLAGS!$LDFLAGS$ac_delim
51411 CPPFLAGS!$CPPFLAGS$ac_delim
51412 ac_ct_CC!$ac_ct_CC$ac_delim
51413 EXEEXT!$EXEEXT$ac_delim
51414 OBJEXT!$OBJEXT$ac_delim
51415 CPP!$CPP$ac_delim
51416 GREP!$GREP$ac_delim
51417 EGREP!$EGREP$ac_delim
51418 CXX!$CXX$ac_delim
51419 CXXFLAGS!$CXXFLAGS$ac_delim
51420 ac_ct_CXX!$ac_ct_CXX$ac_delim
51421 AR!$AR$ac_delim
51422 subdirs!$subdirs$ac_delim
51423 PKG_CONFIG!$PKG_CONFIG$ac_delim
51424 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
51425 GTK_LIBS!$GTK_LIBS$ac_delim
51426 GTK_CONFIG!$GTK_CONFIG$ac_delim
51427 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
51428 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
51429 XMKMF!$XMKMF$ac_delim
51430 X_CFLAGS!$X_CFLAGS$ac_delim
51431 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
51432 X_LIBS!$X_LIBS$ac_delim
51433 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
51434 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
51435 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
51436 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
51437 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
51438 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
51439 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
51440 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
51441 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
51442 LIBICONV!$LIBICONV$ac_delim
51443 SDL_CONFIG!$SDL_CONFIG$ac_delim
51444 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
51445 SDL_LIBS!$SDL_LIBS$ac_delim
51446 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
51447 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
51448 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
51449 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
51450 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
51451 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
51452 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
51453 HILDON_LIBS!$HILDON_LIBS$ac_delim
51454 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
51455 _ACEOF
51456
51457 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51458 break
51459 elif $ac_last_try; then
51460 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51461 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51462 { (exit 1); exit 1; }; }
51463 else
51464 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51465 fi
51466 done
51467
51468 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51469 if test -n "$ac_eof"; then
51470 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51471 ac_eof=`expr $ac_eof + 1`
51472 fi
51473
51474 cat >>$CONFIG_STATUS <<_ACEOF
51475 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
51476 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51477 _ACEOF
51478 sed '
51479 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51480 s/^/s,@/; s/!/@,|#_!!_#|/
51481 :n
51482 t n
51483 s/'"$ac_delim"'$/,g/; t
51484 s/$/\\/; p
51485 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51486 ' >>$CONFIG_STATUS <conf$$subs.sed
51487 rm -f conf$$subs.sed
51488 cat >>$CONFIG_STATUS <<_ACEOF
51489 CEOF$ac_eof
51490 _ACEOF
51491
51492
51493 ac_delim='%!_!# '
51494 for ac_last_try in false false false false false :; do
51495 cat >conf$$subs.sed <<_ACEOF
51496 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
51497 GST_CFLAGS!$GST_CFLAGS$ac_delim
51498 GST_LIBS!$GST_LIBS$ac_delim
51499 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
51500 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
51501 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
51502 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
51503 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
51504 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
51505 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
51506 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
51507 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
51508 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
51509 VENDOR!$VENDOR$ac_delim
51510 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
51511 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
51512 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
51513 WXUNIV!$WXUNIV$ac_delim
51514 MONOLITHIC!$MONOLITHIC$ac_delim
51515 USE_PLUGINS!$USE_PLUGINS$ac_delim
51516 CXXWARNINGS!$CXXWARNINGS$ac_delim
51517 EXTRALIBS!$EXTRALIBS$ac_delim
51518 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
51519 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
51520 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
51521 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
51522 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
51523 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
51524 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
51525 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
51526 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
51527 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
51528 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
51529 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
51530 UNICODE!$UNICODE$ac_delim
51531 BUILD!$BUILD$ac_delim
51532 DEBUG_INFO!$DEBUG_INFO$ac_delim
51533 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
51534 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
51535 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
51536 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
51537 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
51538 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
51539 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
51540 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
51541 RANLIB!$RANLIB$ac_delim
51542 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
51543 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
51544 INSTALL_DATA!$INSTALL_DATA$ac_delim
51545 LN_S!$LN_S$ac_delim
51546 SET_MAKE!$SET_MAKE$ac_delim
51547 MAKE_SET!$MAKE_SET$ac_delim
51548 AROPTIONS!$AROPTIONS$ac_delim
51549 STRIP!$STRIP$ac_delim
51550 NM!$NM$ac_delim
51551 INSTALL_DIR!$INSTALL_DIR$ac_delim
51552 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
51553 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
51554 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
51555 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
51556 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
51557 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
51558 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
51559 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
51560 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
51561 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
51562 SO_SUFFIX!$SO_SUFFIX$ac_delim
51563 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
51564 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
51565 LIBPREFIX!$LIBPREFIX$ac_delim
51566 LIBEXT!$LIBEXT$ac_delim
51567 DLLPREFIX!$DLLPREFIX$ac_delim
51568 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
51569 dlldir!$dlldir$ac_delim
51570 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
51571 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
51572 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
51573 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
51574 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
51575 PIC_FLAG!$PIC_FLAG$ac_delim
51576 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
51577 USE_SOVERSION!$USE_SOVERSION$ac_delim
51578 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
51579 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
51580 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
51581 USE_MACVERSION!$USE_MACVERSION$ac_delim
51582 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
51583 SONAME_FLAG!$SONAME_FLAG$ac_delim
51584 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51585 BK_DEPS!$BK_DEPS$ac_delim
51586 WINDRES!$WINDRES$ac_delim
51587 REZ!$REZ$ac_delim
51588 SETFILE!$SETFILE$ac_delim
51589 GCC_PCH!$GCC_PCH$ac_delim
51590 ICC_PCH!$ICC_PCH$ac_delim
51591 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51592 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51593 _ACEOF
51594
51595 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51596 break
51597 elif $ac_last_try; then
51598 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51599 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51600 { (exit 1); exit 1; }; }
51601 else
51602 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51603 fi
51604 done
51605
51606 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51607 if test -n "$ac_eof"; then
51608 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51609 ac_eof=`expr $ac_eof + 1`
51610 fi
51611
51612 cat >>$CONFIG_STATUS <<_ACEOF
51613 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51614 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51615 _ACEOF
51616 sed '
51617 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51618 s/^/s,@/; s/!/@,|#_!!_#|/
51619 :n
51620 t n
51621 s/'"$ac_delim"'$/,g/; t
51622 s/$/\\/; p
51623 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51624 ' >>$CONFIG_STATUS <conf$$subs.sed
51625 rm -f conf$$subs.sed
51626 cat >>$CONFIG_STATUS <<_ACEOF
51627 CEOF$ac_eof
51628 _ACEOF
51629
51630
51631 ac_delim='%!_!# '
51632 for ac_last_try in false false false false false :; do
51633 cat >conf$$subs.sed <<_ACEOF
51634 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51635 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51636 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51637 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51638 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51639 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51640 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51641 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51642 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51643 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51644 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51645 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51646 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51647 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51648 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51649 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51650 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51651 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51652 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51653 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51654 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51655 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51656 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51657 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51658 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51659 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51660 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51661 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51662 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51663 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51664 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51665 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51666 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51667 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51668 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51669 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51670 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51671 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51672 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51673 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51674 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51675 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51676 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51677 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51678 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51679 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51680 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51681 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51682 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51683 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51684 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51685 COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0!$COND_PLATFORM_MACOSX_1_PLATFORM_MSDOS_0$ac_delim
51686 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51687 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51688 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51689 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51690 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51691 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51692 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51693 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51694 COND_PLATFORM_MACOSX_1_USE_OPENGL_1!$COND_PLATFORM_MACOSX_1_USE_OPENGL_1$ac_delim
51695 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51696 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51697 COND_PLATFORM_MAC_0!$COND_PLATFORM_MAC_0$ac_delim
51698 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51699 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51700 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51701 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51702 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51703 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51704 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51705 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51706 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51707 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51708 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51709 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51710 COND_SHARED_0!$COND_SHARED_0$ac_delim
51711 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51712 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51713 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51714 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51715 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51716 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51717 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51718 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51719 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51720 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51721 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51722 COND_SHARED_1!$COND_SHARED_1$ac_delim
51723 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51724 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51725 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51726 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51727 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51728 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51729 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51730 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51731 _ACEOF
51732
51733 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51734 break
51735 elif $ac_last_try; then
51736 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51737 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51738 { (exit 1); exit 1; }; }
51739 else
51740 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51741 fi
51742 done
51743
51744 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51745 if test -n "$ac_eof"; then
51746 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51747 ac_eof=`expr $ac_eof + 1`
51748 fi
51749
51750 cat >>$CONFIG_STATUS <<_ACEOF
51751 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51752 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51753 _ACEOF
51754 sed '
51755 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51756 s/^/s,@/; s/!/@,|#_!!_#|/
51757 :n
51758 t n
51759 s/'"$ac_delim"'$/,g/; t
51760 s/$/\\/; p
51761 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51762 ' >>$CONFIG_STATUS <conf$$subs.sed
51763 rm -f conf$$subs.sed
51764 cat >>$CONFIG_STATUS <<_ACEOF
51765 CEOF$ac_eof
51766 _ACEOF
51767
51768
51769 ac_delim='%!_!# '
51770 for ac_last_try in false false false false false :; do
51771 cat >conf$$subs.sed <<_ACEOF
51772 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51773 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51774 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51775 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51776 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51777 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51778 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51779 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51780 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51781 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51782 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51783 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51784 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51785 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51786 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51787 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51788 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51789 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51790 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51791 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51792 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51793 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51794 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51795 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51796 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51797 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51798 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51799 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51800 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51801 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51802 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51803 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51804 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51805 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51806 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51807 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51808 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51809 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51810 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51811 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51812 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51813 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51814 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51815 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51816 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51817 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51818 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51819 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51820 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51821 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51822 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51823 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51824 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51825 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51826 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51827 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51828 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51829 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51830 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51831 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51832 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51833 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51834 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51835 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51836 DEREZ!$DEREZ$ac_delim
51837 SHARED!$SHARED$ac_delim
51838 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51839 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51840 USE_GUI!$USE_GUI$ac_delim
51841 AFMINSTALL!$AFMINSTALL$ac_delim
51842 WIN32INSTALL!$WIN32INSTALL$ac_delim
51843 TOOLKIT!$TOOLKIT$ac_delim
51844 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51845 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51846 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51847 cross_compiling!$cross_compiling$ac_delim
51848 WIDGET_SET!$WIDGET_SET$ac_delim
51849 WX_RELEASE!$WX_RELEASE$ac_delim
51850 WX_VERSION!$WX_VERSION$ac_delim
51851 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51852 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51853 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51854 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51855 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51856 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51857 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51858 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51859 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51860 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51861 GUIDIST!$GUIDIST$ac_delim
51862 DISTDIR!$DISTDIR$ac_delim
51863 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51864 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51865 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51866 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51867 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51868 RESCOMP!$RESCOMP$ac_delim
51869 _ACEOF
51870
51871 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51872 break
51873 elif $ac_last_try; then
51874 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51875 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51876 { (exit 1); exit 1; }; }
51877 else
51878 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51879 fi
51880 done
51881
51882 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51883 if test -n "$ac_eof"; then
51884 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51885 ac_eof=`expr $ac_eof + 1`
51886 fi
51887
51888 cat >>$CONFIG_STATUS <<_ACEOF
51889 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51890 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51891 _ACEOF
51892 sed '
51893 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51894 s/^/s,@/; s/!/@,|#_!!_#|/
51895 :n
51896 t n
51897 s/'"$ac_delim"'$/,g/; t
51898 s/$/\\/; p
51899 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51900 ' >>$CONFIG_STATUS <conf$$subs.sed
51901 rm -f conf$$subs.sed
51902 cat >>$CONFIG_STATUS <<_ACEOF
51903 CEOF$ac_eof
51904 _ACEOF
51905
51906
51907 ac_delim='%!_!# '
51908 for ac_last_try in false false false false false :; do
51909 cat >conf$$subs.sed <<_ACEOF
51910 RESFLAGS!$RESFLAGS$ac_delim
51911 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51912 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51913 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51914 LIBWXMACRES!$LIBWXMACRES$ac_delim
51915 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51916 MACSETFILE!$MACSETFILE$ac_delim
51917 GCC!$GCC$ac_delim
51918 DLLTOOL!$DLLTOOL$ac_delim
51919 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51920 LIBOBJS!$LIBOBJS$ac_delim
51921 LTLIBOBJS!$LTLIBOBJS$ac_delim
51922 _ACEOF
51923
51924 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
51925 break
51926 elif $ac_last_try; then
51927 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51928 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51929 { (exit 1); exit 1; }; }
51930 else
51931 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51932 fi
51933 done
51934
51935 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51936 if test -n "$ac_eof"; then
51937 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51938 ac_eof=`expr $ac_eof + 1`
51939 fi
51940
51941 cat >>$CONFIG_STATUS <<_ACEOF
51942 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51943 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51944 _ACEOF
51945 sed '
51946 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51947 s/^/s,@/; s/!/@,|#_!!_#|/
51948 :n
51949 t n
51950 s/'"$ac_delim"'$/,g/; t
51951 s/$/\\/; p
51952 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51953 ' >>$CONFIG_STATUS <conf$$subs.sed
51954 rm -f conf$$subs.sed
51955 cat >>$CONFIG_STATUS <<_ACEOF
51956 :end
51957 s/|#_!!_#|//g
51958 CEOF$ac_eof
51959 _ACEOF
51960
51961
51962 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51963 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51964 # trailing colons and then remove the whole line if VPATH becomes empty
51965 # (actually we leave an empty line to preserve line numbers).
51966 if test "x$srcdir" = x.; then
51967 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51968 s/:*\$(srcdir):*/:/
51969 s/:*\${srcdir}:*/:/
51970 s/:*@srcdir@:*/:/
51971 s/^\([^=]*=[ ]*\):*/\1/
51972 s/:*$//
51973 s/^[^=]*=[ ]*$//
51974 }'
51975 fi
51976
51977 cat >>$CONFIG_STATUS <<\_ACEOF
51978 fi # test -n "$CONFIG_FILES"
51979
51980
51981 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51982 do
51983 case $ac_tag in
51984 :[FHLC]) ac_mode=$ac_tag; continue;;
51985 esac
51986 case $ac_mode$ac_tag in
51987 :[FHL]*:*);;
51988 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51989 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51990 { (exit 1); exit 1; }; };;
51991 :[FH]-) ac_tag=-:-;;
51992 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51993 esac
51994 ac_save_IFS=$IFS
51995 IFS=:
51996 set x $ac_tag
51997 IFS=$ac_save_IFS
51998 shift
51999 ac_file=$1
52000 shift
52001
52002 case $ac_mode in
52003 :L) ac_source=$1;;
52004 :[FH])
52005 ac_file_inputs=
52006 for ac_f
52007 do
52008 case $ac_f in
52009 -) ac_f="$tmp/stdin";;
52010 *) # Look for the file first in the build tree, then in the source tree
52011 # (if the path is not absolute). The absolute path cannot be DOS-style,
52012 # because $ac_f cannot contain `:'.
52013 test -f "$ac_f" ||
52014 case $ac_f in
52015 [\\/$]*) false;;
52016 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
52017 esac ||
52018 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
52019 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
52020 { (exit 1); exit 1; }; };;
52021 esac
52022 ac_file_inputs="$ac_file_inputs $ac_f"
52023 done
52024
52025 # Let's still pretend it is `configure' which instantiates (i.e., don't
52026 # use $as_me), people would be surprised to read:
52027 # /* config.h. Generated by config.status. */
52028 configure_input="Generated from "`IFS=:
52029 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
52030 if test x"$ac_file" != x-; then
52031 configure_input="$ac_file. $configure_input"
52032 { echo "$as_me:$LINENO: creating $ac_file" >&5
52033 echo "$as_me: creating $ac_file" >&6;}
52034 fi
52035
52036 case $ac_tag in
52037 *:-:* | *:-) cat >"$tmp/stdin";;
52038 esac
52039 ;;
52040 esac
52041
52042 ac_dir=`$as_dirname -- "$ac_file" ||
52043 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52044 X"$ac_file" : 'X\(//\)[^/]' \| \
52045 X"$ac_file" : 'X\(//\)$' \| \
52046 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
52047 echo X"$ac_file" |
52048 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52049 s//\1/
52050 q
52051 }
52052 /^X\(\/\/\)[^/].*/{
52053 s//\1/
52054 q
52055 }
52056 /^X\(\/\/\)$/{
52057 s//\1/
52058 q
52059 }
52060 /^X\(\/\).*/{
52061 s//\1/
52062 q
52063 }
52064 s/.*/./; q'`
52065 { as_dir="$ac_dir"
52066 case $as_dir in #(
52067 -*) as_dir=./$as_dir;;
52068 esac
52069 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52070 as_dirs=
52071 while :; do
52072 case $as_dir in #(
52073 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52074 *) as_qdir=$as_dir;;
52075 esac
52076 as_dirs="'$as_qdir' $as_dirs"
52077 as_dir=`$as_dirname -- "$as_dir" ||
52078 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52079 X"$as_dir" : 'X\(//\)[^/]' \| \
52080 X"$as_dir" : 'X\(//\)$' \| \
52081 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52082 echo X"$as_dir" |
52083 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52084 s//\1/
52085 q
52086 }
52087 /^X\(\/\/\)[^/].*/{
52088 s//\1/
52089 q
52090 }
52091 /^X\(\/\/\)$/{
52092 s//\1/
52093 q
52094 }
52095 /^X\(\/\).*/{
52096 s//\1/
52097 q
52098 }
52099 s/.*/./; q'`
52100 test -d "$as_dir" && break
52101 done
52102 test -z "$as_dirs" || eval "mkdir $as_dirs"
52103 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52104 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52105 { (exit 1); exit 1; }; }; }
52106 ac_builddir=.
52107
52108 case "$ac_dir" in
52109 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52110 *)
52111 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52112 # A ".." for each directory in $ac_dir_suffix.
52113 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52114 case $ac_top_builddir_sub in
52115 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52116 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52117 esac ;;
52118 esac
52119 ac_abs_top_builddir=$ac_pwd
52120 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52121 # for backward compatibility:
52122 ac_top_builddir=$ac_top_build_prefix
52123
52124 case $srcdir in
52125 .) # We are building in place.
52126 ac_srcdir=.
52127 ac_top_srcdir=$ac_top_builddir_sub
52128 ac_abs_top_srcdir=$ac_pwd ;;
52129 [\\/]* | ?:[\\/]* ) # Absolute name.
52130 ac_srcdir=$srcdir$ac_dir_suffix;
52131 ac_top_srcdir=$srcdir
52132 ac_abs_top_srcdir=$srcdir ;;
52133 *) # Relative name.
52134 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52135 ac_top_srcdir=$ac_top_build_prefix$srcdir
52136 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52137 esac
52138 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52139
52140
52141 case $ac_mode in
52142 :F)
52143 #
52144 # CONFIG_FILE
52145 #
52146
52147 case $INSTALL in
52148 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
52149 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
52150 esac
52151 _ACEOF
52152
52153 cat >>$CONFIG_STATUS <<\_ACEOF
52154 # If the template does not know about datarootdir, expand it.
52155 # FIXME: This hack should be removed a few years after 2.60.
52156 ac_datarootdir_hack=; ac_datarootdir_seen=
52157
52158 case `sed -n '/datarootdir/ {
52159 p
52160 q
52161 }
52162 /@datadir@/p
52163 /@docdir@/p
52164 /@infodir@/p
52165 /@localedir@/p
52166 /@mandir@/p
52167 ' $ac_file_inputs` in
52168 *datarootdir*) ac_datarootdir_seen=yes;;
52169 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
52170 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
52171 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
52172 _ACEOF
52173 cat >>$CONFIG_STATUS <<_ACEOF
52174 ac_datarootdir_hack='
52175 s&@datadir@&$datadir&g
52176 s&@docdir@&$docdir&g
52177 s&@infodir@&$infodir&g
52178 s&@localedir@&$localedir&g
52179 s&@mandir@&$mandir&g
52180 s&\\\${datarootdir}&$datarootdir&g' ;;
52181 esac
52182 _ACEOF
52183
52184 # Neutralize VPATH when `$srcdir' = `.'.
52185 # Shell code in configure.ac might set extrasub.
52186 # FIXME: do we really want to maintain this feature?
52187 cat >>$CONFIG_STATUS <<_ACEOF
52188 sed "$ac_vpsub
52189 $extrasub
52190 _ACEOF
52191 cat >>$CONFIG_STATUS <<\_ACEOF
52192 :t
52193 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
52194 s&@configure_input@&$configure_input&;t t
52195 s&@top_builddir@&$ac_top_builddir_sub&;t t
52196 s&@srcdir@&$ac_srcdir&;t t
52197 s&@abs_srcdir@&$ac_abs_srcdir&;t t
52198 s&@top_srcdir@&$ac_top_srcdir&;t t
52199 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
52200 s&@builddir@&$ac_builddir&;t t
52201 s&@abs_builddir@&$ac_abs_builddir&;t t
52202 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
52203 s&@INSTALL@&$ac_INSTALL&;t t
52204 $ac_datarootdir_hack
52205 " $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
52206
52207 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
52208 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
52209 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
52210 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52211 which seems to be undefined. Please make sure it is defined." >&5
52212 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
52213 which seems to be undefined. Please make sure it is defined." >&2;}
52214
52215 rm -f "$tmp/stdin"
52216 case $ac_file in
52217 -) cat "$tmp/out"; rm -f "$tmp/out";;
52218 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
52219 esac
52220 ;;
52221 :H)
52222 #
52223 # CONFIG_HEADER
52224 #
52225 _ACEOF
52226
52227 # Transform confdefs.h into a sed script `conftest.defines', that
52228 # substitutes the proper values into config.h.in to produce config.h.
52229 rm -f conftest.defines conftest.tail
52230 # First, append a space to every undef/define line, to ease matching.
52231 echo 's/$/ /' >conftest.defines
52232 # Then, protect against being on the right side of a sed subst, or in
52233 # an unquoted here document, in config.status. If some macros were
52234 # called several times there might be several #defines for the same
52235 # symbol, which is useless. But do not sort them, since the last
52236 # AC_DEFINE must be honored.
52237 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
52238 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
52239 # NAME is the cpp macro being defined, VALUE is the value it is being given.
52240 # PARAMS is the parameter list in the macro definition--in most cases, it's
52241 # just an empty string.
52242 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
52243 ac_dB='\\)[ (].*,\\1define\\2'
52244 ac_dC=' '
52245 ac_dD=' ,'
52246
52247 uniq confdefs.h |
52248 sed -n '
52249 t rset
52250 :rset
52251 s/^[ ]*#[ ]*define[ ][ ]*//
52252 t ok
52253 d
52254 :ok
52255 s/[\\&,]/\\&/g
52256 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
52257 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
52258 ' >>conftest.defines
52259
52260 # Remove the space that was appended to ease matching.
52261 # Then replace #undef with comments. This is necessary, for
52262 # example, in the case of _POSIX_SOURCE, which is predefined and required
52263 # on some systems where configure will not decide to define it.
52264 # (The regexp can be short, since the line contains either #define or #undef.)
52265 echo 's/ $//
52266 s,^[ #]*u.*,/* & */,' >>conftest.defines
52267
52268 # Break up conftest.defines:
52269 ac_max_sed_lines=50
52270
52271 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
52272 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
52273 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
52274 # et cetera.
52275 ac_in='$ac_file_inputs'
52276 ac_out='"$tmp/out1"'
52277 ac_nxt='"$tmp/out2"'
52278
52279 while :
52280 do
52281 # Write a here document:
52282 cat >>$CONFIG_STATUS <<_ACEOF
52283 # First, check the format of the line:
52284 cat >"\$tmp/defines.sed" <<\\CEOF
52285 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
52286 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
52287 b
52288 :def
52289 _ACEOF
52290 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
52291 echo 'CEOF
52292 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
52293 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
52294 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
52295 grep . conftest.tail >/dev/null || break
52296 rm -f conftest.defines
52297 mv conftest.tail conftest.defines
52298 done
52299 rm -f conftest.defines conftest.tail
52300
52301 echo "ac_result=$ac_in" >>$CONFIG_STATUS
52302 cat >>$CONFIG_STATUS <<\_ACEOF
52303 if test x"$ac_file" != x-; then
52304 echo "/* $configure_input */" >"$tmp/config.h"
52305 cat "$ac_result" >>"$tmp/config.h"
52306 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
52307 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
52308 echo "$as_me: $ac_file is unchanged" >&6;}
52309 else
52310 rm -f $ac_file
52311 mv "$tmp/config.h" $ac_file
52312 fi
52313 else
52314 echo "/* $configure_input */"
52315 cat "$ac_result"
52316 fi
52317 rm -f "$tmp/out12"
52318 ;;
52319
52320 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
52321 echo "$as_me: executing $ac_file commands" >&6;}
52322 ;;
52323 esac
52324
52325
52326 case $ac_file$ac_mode in
52327 "rcdefs.h":C)
52328 mkdir -p $outdir &&
52329 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
52330 ;;
52331 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
52332 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
52333 "utils/ifacecheck/rungccxml.sh":F) chmod +x utils/ifacecheck/rungccxml.sh ;;
52334 "wx-config":C) rm -f wx-config
52335 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
52336 ;;
52337
52338 esac
52339 done # for ac_tag
52340
52341
52342 { (exit 0); exit 0; }
52343 _ACEOF
52344 chmod +x $CONFIG_STATUS
52345 ac_clean_files=$ac_clean_files_save
52346
52347
52348 # configure is writing to config.log, and then calls config.status.
52349 # config.status does its own redirection, appending to config.log.
52350 # Unfortunately, on DOS this fails, as config.log is still kept open
52351 # by configure, so config.status won't be able to write to it; its
52352 # output is simply discarded. So we exec the FD to /dev/null,
52353 # effectively closing config.log, so it can be properly (re)opened and
52354 # appended to by config.status. When coming back to configure, we
52355 # need to make the FD available again.
52356 if test "$no_create" != yes; then
52357 ac_cs_success=:
52358 ac_config_status_args=
52359 test "$silent" = yes &&
52360 ac_config_status_args="$ac_config_status_args --quiet"
52361 exec 5>/dev/null
52362 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
52363 exec 5>>config.log
52364 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
52365 # would make configure fail if this is the last instruction.
52366 $ac_cs_success || { (exit 1); exit 1; }
52367 fi
52368
52369 #
52370 # CONFIG_SUBDIRS section.
52371 #
52372 if test "$no_recursion" != yes; then
52373
52374 # Remove --cache-file and --srcdir arguments so they do not pile up.
52375 ac_sub_configure_args=
52376 ac_prev=
52377 eval "set x $ac_configure_args"
52378 shift
52379 for ac_arg
52380 do
52381 if test -n "$ac_prev"; then
52382 ac_prev=
52383 continue
52384 fi
52385 case $ac_arg in
52386 -cache-file | --cache-file | --cache-fil | --cache-fi \
52387 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
52388 ac_prev=cache_file ;;
52389 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
52390 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
52391 | --c=*)
52392 ;;
52393 --config-cache | -C)
52394 ;;
52395 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
52396 ac_prev=srcdir ;;
52397 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
52398 ;;
52399 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
52400 ac_prev=prefix ;;
52401 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
52402 ;;
52403 *)
52404 case $ac_arg in
52405 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52406 esac
52407 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
52408 esac
52409 done
52410
52411 # Always prepend --prefix to ensure using the same prefix
52412 # in subdir configurations.
52413 ac_arg="--prefix=$prefix"
52414 case $ac_arg in
52415 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
52416 esac
52417 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
52418
52419 # Pass --silent
52420 if test "$silent" = yes; then
52421 ac_sub_configure_args="--silent $ac_sub_configure_args"
52422 fi
52423
52424 ac_popdir=`pwd`
52425 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
52426
52427 # Do not complain, so a configure script can configure whichever
52428 # parts of a large source tree are present.
52429 test -d "$srcdir/$ac_dir" || continue
52430
52431 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
52432 echo "$as_me:$LINENO: $ac_msg" >&5
52433 echo "$ac_msg" >&6
52434 { as_dir="$ac_dir"
52435 case $as_dir in #(
52436 -*) as_dir=./$as_dir;;
52437 esac
52438 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
52439 as_dirs=
52440 while :; do
52441 case $as_dir in #(
52442 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
52443 *) as_qdir=$as_dir;;
52444 esac
52445 as_dirs="'$as_qdir' $as_dirs"
52446 as_dir=`$as_dirname -- "$as_dir" ||
52447 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
52448 X"$as_dir" : 'X\(//\)[^/]' \| \
52449 X"$as_dir" : 'X\(//\)$' \| \
52450 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
52451 echo X"$as_dir" |
52452 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
52453 s//\1/
52454 q
52455 }
52456 /^X\(\/\/\)[^/].*/{
52457 s//\1/
52458 q
52459 }
52460 /^X\(\/\/\)$/{
52461 s//\1/
52462 q
52463 }
52464 /^X\(\/\).*/{
52465 s//\1/
52466 q
52467 }
52468 s/.*/./; q'`
52469 test -d "$as_dir" && break
52470 done
52471 test -z "$as_dirs" || eval "mkdir $as_dirs"
52472 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
52473 echo "$as_me: error: cannot create directory $as_dir" >&2;}
52474 { (exit 1); exit 1; }; }; }
52475 ac_builddir=.
52476
52477 case "$ac_dir" in
52478 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
52479 *)
52480 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
52481 # A ".." for each directory in $ac_dir_suffix.
52482 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
52483 case $ac_top_builddir_sub in
52484 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
52485 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
52486 esac ;;
52487 esac
52488 ac_abs_top_builddir=$ac_pwd
52489 ac_abs_builddir=$ac_pwd$ac_dir_suffix
52490 # for backward compatibility:
52491 ac_top_builddir=$ac_top_build_prefix
52492
52493 case $srcdir in
52494 .) # We are building in place.
52495 ac_srcdir=.
52496 ac_top_srcdir=$ac_top_builddir_sub
52497 ac_abs_top_srcdir=$ac_pwd ;;
52498 [\\/]* | ?:[\\/]* ) # Absolute name.
52499 ac_srcdir=$srcdir$ac_dir_suffix;
52500 ac_top_srcdir=$srcdir
52501 ac_abs_top_srcdir=$srcdir ;;
52502 *) # Relative name.
52503 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
52504 ac_top_srcdir=$ac_top_build_prefix$srcdir
52505 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
52506 esac
52507 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
52508
52509
52510 cd "$ac_dir"
52511
52512 # Check for guested configure; otherwise get Cygnus style configure.
52513 if test -f "$ac_srcdir/configure.gnu"; then
52514 ac_sub_configure=$ac_srcdir/configure.gnu
52515 elif test -f "$ac_srcdir/configure"; then
52516 ac_sub_configure=$ac_srcdir/configure
52517 elif test -f "$ac_srcdir/configure.in"; then
52518 # This should be Cygnus configure.
52519 ac_sub_configure=$ac_aux_dir/configure
52520 else
52521 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
52522 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
52523 ac_sub_configure=
52524 fi
52525
52526 # The recursion is here.
52527 if test -n "$ac_sub_configure"; then
52528 # Make the cache file name correct relative to the subdirectory.
52529 case $cache_file in
52530 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
52531 *) # Relative name.
52532 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
52533 esac
52534
52535 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
52536 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
52537 # The eval makes quoting arguments work.
52538 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
52539 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
52540 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
52541 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
52542 { (exit 1); exit 1; }; }
52543 fi
52544
52545 cd "$ac_popdir"
52546 done
52547 fi
52548
52549
52550 echo
52551 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
52552 echo ""
52553 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
52554 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
52555
52556 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
52557 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
52558 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
52559 if test "$wxUSE_UNICODE" = "yes"; then
52560 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
52561 echo " (using UTF-8)"
52562 else
52563 echo " (using wchar_t)"
52564 fi
52565 else
52566 echo
52567 fi
52568
52569 echo " What level of wxWidgets compatibility should be enabled?"
52570 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
52571 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
52572
52573 echo " Which libraries should wxWidgets use?"
52574 echo " STL ${wxUSE_STL}"
52575 echo " jpeg ${wxUSE_LIBJPEG-none}"
52576 echo " png ${wxUSE_LIBPNG-none}"
52577 echo " regex ${wxUSE_REGEX}"
52578 echo " tiff ${wxUSE_LIBTIFF-none}"
52579 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
52580 echo " xpm ${wxUSE_LIBXPM-none}"
52581 fi
52582 echo " zlib ${wxUSE_ZLIB}"
52583 echo " expat ${wxUSE_EXPAT}"
52584 echo " libmspack ${wxUSE_LIBMSPACK}"
52585 echo " sdl ${wxUSE_LIBSDL}"
52586
52587 echo ""
52588