]> git.saurik.com Git - wxWidgets.git/blob - configure
undid change to GSocket::Select() done in r50831, do call select() here (part of...
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in 51251 2008-01-16 16:09:00Z SC .
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_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MAC_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
877 COND_PLATFORM_OS2_1
878 COND_PLATFORM_UNIX_0
879 COND_PLATFORM_UNIX_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
886 COND_SHARED_0
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_STC_1
895 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
896 COND_SHARED_0_WXUSE_REGEX_BUILTIN
897 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
898 COND_SHARED_1
899 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
900 COND_TOOLKIT_
901 COND_TOOLKIT_COCOA
902 COND_TOOLKIT_COCOA_USE_GUI_1
903 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
904 COND_TOOLKIT_DFB
905 COND_TOOLKIT_DFB_USE_GUI_1
906 COND_TOOLKIT_GTK
907 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
908 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
909 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_USE_GUI_1
915 COND_TOOLKIT_MAC
916 COND_TOOLKIT_MAC_USE_GUI_1
917 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
918 COND_TOOLKIT_MGL
919 COND_TOOLKIT_MGL_USE_GUI_1
920 COND_TOOLKIT_MOTIF
921 COND_TOOLKIT_MOTIF_USE_GUI_1
922 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
923 COND_TOOLKIT_MSW
924 COND_TOOLKIT_MSW_USE_GUI_1
925 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW_WXUNIV_0
927 COND_TOOLKIT_PM
928 COND_TOOLKIT_PM_USE_GUI_1
929 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
930 COND_TOOLKIT_WINCE
931 COND_TOOLKIT_WINCE_USE_GUI_1
932 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE_WXUNIV_0
934 COND_TOOLKIT_X11
935 COND_TOOLKIT_X11_USE_GUI_1
936 COND_UNICODE_1
937 COND_USE_EXCEPTIONS_0
938 COND_USE_EXCEPTIONS_1
939 COND_USE_GUI_0
940 COND_USE_GUI_1
941 COND_USE_GUI_1_USE_OPENGL_1
942 COND_USE_GUI_1_WXUNIV_0
943 COND_USE_GUI_1_WXUNIV_1
944 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
945 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
946 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
947 COND_USE_OPENGL_1
948 COND_USE_PCH_1
949 COND_USE_PLUGINS_0
950 COND_USE_RTTI_0
951 COND_USE_RTTI_1
952 COND_USE_SOSYMLINKS_1
953 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
954 COND_USE_SOVERLINUX_1
955 COND_USE_SOVERSION_0
956 COND_USE_SOVERSOLARIS_1
957 COND_USE_STC_1
958 COND_USE_THREADS_0
959 COND_USE_THREADS_1
960 COND_USE_XRC_1
961 COND_WINDOWS_IMPLIB_1
962 COND_WITH_PLUGIN_SDL_1
963 COND_WXUNIV_0
964 COND_WXUNIV_1
965 COND_WXUSE_EXPAT_BUILTIN
966 COND_WXUSE_LIBJPEG_BUILTIN
967 COND_WXUSE_LIBPNG_BUILTIN
968 COND_WXUSE_LIBTIFF_BUILTIN
969 COND_WXUSE_REGEX_BUILTIN
970 COND_WXUSE_ZLIB_BUILTIN
971 DEREZ
972 SHARED
973 WX_LIBRARY_BASENAME_NOGUI
974 WX_LIBRARY_BASENAME_GUI
975 USE_GUI
976 AFMINSTALL
977 WIN32INSTALL
978 TOOLKIT
979 TOOLKIT_DIR
980 TOOLCHAIN_NAME
981 TOOLCHAIN_FULLNAME
982 cross_compiling
983 WIDGET_SET
984 WX_RELEASE
985 WX_VERSION
986 WX_SUBVERSION
987 WX_CHARTYPE
988 WX_DEBUGTYPE
989 WXCONFIG_CPPFLAGS
990 WXCONFIG_CFLAGS
991 WXCONFIG_CXXFLAGS
992 WXCONFIG_LIBS
993 WXCONFIG_RPATH
994 WXCONFIG_LDFLAGS_GUI
995 WXCONFIG_RESFLAGS
996 GUIDIST
997 DISTDIR
998 SAMPLES_SUBDIRS
999 LDFLAGS_GL
1000 OPENGL_LIBS
1001 DMALLOC_LIBS
1002 WX_VERSION_TAG
1003 RESCOMP
1004 RESFLAGS
1005 RESPROGRAMOBJ
1006 WX_RESOURCES_MACOSX_ASCII
1007 WX_RESOURCES_MACOSX_DATA
1008 LIBWXMACRES
1009 POSTLINK_COMMAND
1010 MACSETFILE
1011 GCC
1012 DLLTOOL
1013 CPPUNIT_CONFIG
1014 LIBOBJS
1015 LTLIBOBJS'
1016 ac_subst_files=''
1017 ac_precious_vars='build_alias
1018 host_alias
1019 target_alias
1020 CC
1021 CFLAGS
1022 LDFLAGS
1023 LIBS
1024 CPPFLAGS
1025 CPP
1026 CXX
1027 CXXFLAGS
1028 CCC
1029 PKG_CONFIG
1030 DIRECTFB_CFLAGS
1031 DIRECTFB_LIBS
1032 XMKMF
1033 PANGOX_CFLAGS
1034 PANGOX_LIBS
1035 PANGOFT2_CFLAGS
1036 PANGOFT2_LIBS
1037 PANGOXFT_CFLAGS
1038 PANGOXFT_LIBS
1039 GTKPRINT_CFLAGS
1040 GTKPRINT_LIBS
1041 LIBGNOMEPRINTUI_CFLAGS
1042 LIBGNOMEPRINTUI_LIBS
1043 GNOMEVFS_CFLAGS
1044 GNOMEVFS_LIBS
1045 HILDON_CFLAGS
1046 HILDON_LIBS
1047 CAIRO_CFLAGS
1048 CAIRO_LIBS
1049 GST_CFLAGS
1050 GST_LIBS'
1051 ac_subdirs_all='src/tiff
1052 src/expat'
1053
1054 # Initialize some variables set by options.
1055 ac_init_help=
1056 ac_init_version=false
1057 # The variables have the same names as the options, with
1058 # dashes changed to underlines.
1059 cache_file=/dev/null
1060 exec_prefix=NONE
1061 no_create=
1062 no_recursion=
1063 prefix=NONE
1064 program_prefix=NONE
1065 program_suffix=NONE
1066 program_transform_name=s,x,x,
1067 silent=
1068 site=
1069 srcdir=
1070 verbose=
1071 x_includes=NONE
1072 x_libraries=NONE
1073
1074 # Installation directory options.
1075 # These are left unexpanded so users can "make install exec_prefix=/foo"
1076 # and all the variables that are supposed to be based on exec_prefix
1077 # by default will actually change.
1078 # Use braces instead of parens because sh, perl, etc. also accept them.
1079 # (The list follows the same order as the GNU Coding Standards.)
1080 bindir='${exec_prefix}/bin'
1081 sbindir='${exec_prefix}/sbin'
1082 libexecdir='${exec_prefix}/libexec'
1083 datarootdir='${prefix}/share'
1084 datadir='${datarootdir}'
1085 sysconfdir='${prefix}/etc'
1086 sharedstatedir='${prefix}/com'
1087 localstatedir='${prefix}/var'
1088 includedir='${prefix}/include'
1089 oldincludedir='/usr/include'
1090 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1091 infodir='${datarootdir}/info'
1092 htmldir='${docdir}'
1093 dvidir='${docdir}'
1094 pdfdir='${docdir}'
1095 psdir='${docdir}'
1096 libdir='${exec_prefix}/lib'
1097 localedir='${datarootdir}/locale'
1098 mandir='${datarootdir}/man'
1099
1100 ac_prev=
1101 ac_dashdash=
1102 for ac_option
1103 do
1104 # If the previous option needs an argument, assign it.
1105 if test -n "$ac_prev"; then
1106 eval $ac_prev=\$ac_option
1107 ac_prev=
1108 continue
1109 fi
1110
1111 case $ac_option in
1112 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1113 *) ac_optarg=yes ;;
1114 esac
1115
1116 # Accept the important Cygnus configure options, so we can diagnose typos.
1117
1118 case $ac_dashdash$ac_option in
1119 --)
1120 ac_dashdash=yes ;;
1121
1122 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1123 ac_prev=bindir ;;
1124 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1125 bindir=$ac_optarg ;;
1126
1127 -build | --build | --buil | --bui | --bu)
1128 ac_prev=build_alias ;;
1129 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1130 build_alias=$ac_optarg ;;
1131
1132 -cache-file | --cache-file | --cache-fil | --cache-fi \
1133 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1134 ac_prev=cache_file ;;
1135 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1136 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1137 cache_file=$ac_optarg ;;
1138
1139 --config-cache | -C)
1140 cache_file=config.cache ;;
1141
1142 -datadir | --datadir | --datadi | --datad)
1143 ac_prev=datadir ;;
1144 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1145 datadir=$ac_optarg ;;
1146
1147 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1148 | --dataroo | --dataro | --datar)
1149 ac_prev=datarootdir ;;
1150 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1151 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1152 datarootdir=$ac_optarg ;;
1153
1154 -disable-* | --disable-*)
1155 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1159 { (exit 1); exit 1; }; }
1160 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1161 eval enable_$ac_feature=no ;;
1162
1163 -docdir | --docdir | --docdi | --doc | --do)
1164 ac_prev=docdir ;;
1165 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1166 docdir=$ac_optarg ;;
1167
1168 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1169 ac_prev=dvidir ;;
1170 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1171 dvidir=$ac_optarg ;;
1172
1173 -enable-* | --enable-*)
1174 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1177 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1178 { (exit 1); exit 1; }; }
1179 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1180 eval enable_$ac_feature=\$ac_optarg ;;
1181
1182 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184 | --exec | --exe | --ex)
1185 ac_prev=exec_prefix ;;
1186 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188 | --exec=* | --exe=* | --ex=*)
1189 exec_prefix=$ac_optarg ;;
1190
1191 -gas | --gas | --ga | --g)
1192 # Obsolete; use --with-gas.
1193 with_gas=yes ;;
1194
1195 -help | --help | --hel | --he | -h)
1196 ac_init_help=long ;;
1197 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1198 ac_init_help=recursive ;;
1199 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1200 ac_init_help=short ;;
1201
1202 -host | --host | --hos | --ho)
1203 ac_prev=host_alias ;;
1204 -host=* | --host=* | --hos=* | --ho=*)
1205 host_alias=$ac_optarg ;;
1206
1207 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1208 ac_prev=htmldir ;;
1209 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1210 | --ht=*)
1211 htmldir=$ac_optarg ;;
1212
1213 -includedir | --includedir | --includedi | --included | --include \
1214 | --includ | --inclu | --incl | --inc)
1215 ac_prev=includedir ;;
1216 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217 | --includ=* | --inclu=* | --incl=* | --inc=*)
1218 includedir=$ac_optarg ;;
1219
1220 -infodir | --infodir | --infodi | --infod | --info | --inf)
1221 ac_prev=infodir ;;
1222 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223 infodir=$ac_optarg ;;
1224
1225 -libdir | --libdir | --libdi | --libd)
1226 ac_prev=libdir ;;
1227 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228 libdir=$ac_optarg ;;
1229
1230 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231 | --libexe | --libex | --libe)
1232 ac_prev=libexecdir ;;
1233 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234 | --libexe=* | --libex=* | --libe=*)
1235 libexecdir=$ac_optarg ;;
1236
1237 -localedir | --localedir | --localedi | --localed | --locale)
1238 ac_prev=localedir ;;
1239 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240 localedir=$ac_optarg ;;
1241
1242 -localstatedir | --localstatedir | --localstatedi | --localstated \
1243 | --localstate | --localstat | --localsta | --localst | --locals)
1244 ac_prev=localstatedir ;;
1245 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247 localstatedir=$ac_optarg ;;
1248
1249 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1250 ac_prev=mandir ;;
1251 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252 mandir=$ac_optarg ;;
1253
1254 -nfp | --nfp | --nf)
1255 # Obsolete; use --without-fp.
1256 with_fp=no ;;
1257
1258 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259 | --no-cr | --no-c | -n)
1260 no_create=yes ;;
1261
1262 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1264 no_recursion=yes ;;
1265
1266 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268 | --oldin | --oldi | --old | --ol | --o)
1269 ac_prev=oldincludedir ;;
1270 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273 oldincludedir=$ac_optarg ;;
1274
1275 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1276 ac_prev=prefix ;;
1277 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278 prefix=$ac_optarg ;;
1279
1280 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281 | --program-pre | --program-pr | --program-p)
1282 ac_prev=program_prefix ;;
1283 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285 program_prefix=$ac_optarg ;;
1286
1287 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288 | --program-suf | --program-su | --program-s)
1289 ac_prev=program_suffix ;;
1290 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292 program_suffix=$ac_optarg ;;
1293
1294 -program-transform-name | --program-transform-name \
1295 | --program-transform-nam | --program-transform-na \
1296 | --program-transform-n | --program-transform- \
1297 | --program-transform | --program-transfor \
1298 | --program-transfo | --program-transf \
1299 | --program-trans | --program-tran \
1300 | --progr-tra | --program-tr | --program-t)
1301 ac_prev=program_transform_name ;;
1302 -program-transform-name=* | --program-transform-name=* \
1303 | --program-transform-nam=* | --program-transform-na=* \
1304 | --program-transform-n=* | --program-transform-=* \
1305 | --program-transform=* | --program-transfor=* \
1306 | --program-transfo=* | --program-transf=* \
1307 | --program-trans=* | --program-tran=* \
1308 | --progr-tra=* | --program-tr=* | --program-t=*)
1309 program_transform_name=$ac_optarg ;;
1310
1311 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1312 ac_prev=pdfdir ;;
1313 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314 pdfdir=$ac_optarg ;;
1315
1316 -psdir | --psdir | --psdi | --psd | --ps)
1317 ac_prev=psdir ;;
1318 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1319 psdir=$ac_optarg ;;
1320
1321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322 | -silent | --silent | --silen | --sile | --sil)
1323 silent=yes ;;
1324
1325 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1326 ac_prev=sbindir ;;
1327 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1328 | --sbi=* | --sb=*)
1329 sbindir=$ac_optarg ;;
1330
1331 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333 | --sharedst | --shareds | --shared | --share | --shar \
1334 | --sha | --sh)
1335 ac_prev=sharedstatedir ;;
1336 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1339 | --sha=* | --sh=*)
1340 sharedstatedir=$ac_optarg ;;
1341
1342 -site | --site | --sit)
1343 ac_prev=site ;;
1344 -site=* | --site=* | --sit=*)
1345 site=$ac_optarg ;;
1346
1347 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1348 ac_prev=srcdir ;;
1349 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350 srcdir=$ac_optarg ;;
1351
1352 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353 | --syscon | --sysco | --sysc | --sys | --sy)
1354 ac_prev=sysconfdir ;;
1355 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357 sysconfdir=$ac_optarg ;;
1358
1359 -target | --target | --targe | --targ | --tar | --ta | --t)
1360 ac_prev=target_alias ;;
1361 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362 target_alias=$ac_optarg ;;
1363
1364 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1365 verbose=yes ;;
1366
1367 -version | --version | --versio | --versi | --vers | -V)
1368 ac_init_version=: ;;
1369
1370 -with-* | --with-*)
1371 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372 # Reject names that are not valid shell variable names.
1373 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1374 { echo "$as_me: error: invalid package name: $ac_package" >&2
1375 { (exit 1); exit 1; }; }
1376 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1377 eval with_$ac_package=\$ac_optarg ;;
1378
1379 -without-* | --without-*)
1380 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1381 # Reject names that are not valid shell variable names.
1382 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1383 { echo "$as_me: error: invalid package name: $ac_package" >&2
1384 { (exit 1); exit 1; }; }
1385 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1386 eval with_$ac_package=no ;;
1387
1388 --x)
1389 # Obsolete; use --with-x.
1390 with_x=yes ;;
1391
1392 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1393 | --x-incl | --x-inc | --x-in | --x-i)
1394 ac_prev=x_includes ;;
1395 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1396 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1397 x_includes=$ac_optarg ;;
1398
1399 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1400 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1401 ac_prev=x_libraries ;;
1402 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1403 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1404 x_libraries=$ac_optarg ;;
1405
1406 -*) { echo "$as_me: error: unrecognized option: $ac_option
1407 Try \`$0 --help' for more information." >&2
1408 { (exit 1); exit 1; }; }
1409 ;;
1410
1411 *=*)
1412 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1413 # Reject names that are not valid shell variable names.
1414 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1415 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1416 { (exit 1); exit 1; }; }
1417 eval $ac_envvar=\$ac_optarg
1418 export $ac_envvar ;;
1419
1420 *)
1421 # FIXME: should be removed in autoconf 3.0.
1422 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1423 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1424 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1425 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1426 ;;
1427
1428 esac
1429 done
1430
1431 if test -n "$ac_prev"; then
1432 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1433 { echo "$as_me: error: missing argument to $ac_option" >&2
1434 { (exit 1); exit 1; }; }
1435 fi
1436
1437 # Be sure to have absolute directory names.
1438 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1439 datadir sysconfdir sharedstatedir localstatedir includedir \
1440 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1441 libdir localedir mandir
1442 do
1443 eval ac_val=\$$ac_var
1444 case $ac_val in
1445 [\\/$]* | ?:[\\/]* ) continue;;
1446 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1447 esac
1448 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1449 { (exit 1); exit 1; }; }
1450 done
1451
1452 # There might be people who depend on the old broken behavior: `$host'
1453 # used to hold the argument of --host etc.
1454 # FIXME: To remove some day.
1455 build=$build_alias
1456 host=$host_alias
1457 target=$target_alias
1458
1459 # FIXME: To remove some day.
1460 if test "x$host_alias" != x; then
1461 if test "x$build_alias" = x; then
1462 cross_compiling=maybe
1463 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1464 If a cross compiler is detected then cross compile mode will be used." >&2
1465 elif test "x$build_alias" != "x$host_alias"; then
1466 cross_compiling=yes
1467 fi
1468 fi
1469
1470 ac_tool_prefix=
1471 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1472
1473 test "$silent" = yes && exec 6>/dev/null
1474
1475
1476 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1477 ac_ls_di=`ls -di .` &&
1478 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1479 { echo "$as_me: error: Working directory cannot be determined" >&2
1480 { (exit 1); exit 1; }; }
1481 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1482 { echo "$as_me: error: pwd does not report name of working directory" >&2
1483 { (exit 1); exit 1; }; }
1484
1485
1486 # Find the source files, if location was not specified.
1487 if test -z "$srcdir"; then
1488 ac_srcdir_defaulted=yes
1489 # Try the directory containing this script, then the parent directory.
1490 ac_confdir=`$as_dirname -- "$0" ||
1491 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1492 X"$0" : 'X\(//\)[^/]' \| \
1493 X"$0" : 'X\(//\)$' \| \
1494 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1495 echo X"$0" |
1496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1497 s//\1/
1498 q
1499 }
1500 /^X\(\/\/\)[^/].*/{
1501 s//\1/
1502 q
1503 }
1504 /^X\(\/\/\)$/{
1505 s//\1/
1506 q
1507 }
1508 /^X\(\/\).*/{
1509 s//\1/
1510 q
1511 }
1512 s/.*/./; q'`
1513 srcdir=$ac_confdir
1514 if test ! -r "$srcdir/$ac_unique_file"; then
1515 srcdir=..
1516 fi
1517 else
1518 ac_srcdir_defaulted=no
1519 fi
1520 if test ! -r "$srcdir/$ac_unique_file"; then
1521 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1522 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1523 { (exit 1); exit 1; }; }
1524 fi
1525 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1526 ac_abs_confdir=`(
1527 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1528 { (exit 1); exit 1; }; }
1529 pwd)`
1530 # When building in place, set srcdir=.
1531 if test "$ac_abs_confdir" = "$ac_pwd"; then
1532 srcdir=.
1533 fi
1534 # Remove unnecessary trailing slashes from srcdir.
1535 # Double slashes in file names in object file debugging info
1536 # mess up M-x gdb in Emacs.
1537 case $srcdir in
1538 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1539 esac
1540 for ac_var in $ac_precious_vars; do
1541 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1542 eval ac_env_${ac_var}_value=\$${ac_var}
1543 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1544 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1545 done
1546
1547 #
1548 # Report the --help message.
1549 #
1550 if test "$ac_init_help" = "long"; then
1551 # Omit some internal or obsolete options to make the list less imposing.
1552 # This message is too long to be a string in the A/UX 3.1 sh.
1553 cat <<_ACEOF
1554 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1555
1556 Usage: $0 [OPTION]... [VAR=VALUE]...
1557
1558 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1559 VAR=VALUE. See below for descriptions of some of the useful variables.
1560
1561 Defaults for the options are specified in brackets.
1562
1563 Configuration:
1564 -h, --help display this help and exit
1565 --help=short display options specific to this package
1566 --help=recursive display the short help of all the included packages
1567 -V, --version display version information and exit
1568 -q, --quiet, --silent do not print \`checking...' messages
1569 --cache-file=FILE cache test results in FILE [disabled]
1570 -C, --config-cache alias for \`--cache-file=config.cache'
1571 -n, --no-create do not create output files
1572 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1573
1574 Installation directories:
1575 --prefix=PREFIX install architecture-independent files in PREFIX
1576 [$ac_default_prefix]
1577 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1578 [PREFIX]
1579
1580 By default, \`make install' will install all the files in
1581 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1582 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1583 for instance \`--prefix=\$HOME'.
1584
1585 For better control, use the options below.
1586
1587 Fine tuning of the installation directories:
1588 --bindir=DIR user executables [EPREFIX/bin]
1589 --sbindir=DIR system admin executables [EPREFIX/sbin]
1590 --libexecdir=DIR program executables [EPREFIX/libexec]
1591 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1592 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1593 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1594 --libdir=DIR object code libraries [EPREFIX/lib]
1595 --includedir=DIR C header files [PREFIX/include]
1596 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1597 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1598 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1599 --infodir=DIR info documentation [DATAROOTDIR/info]
1600 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1601 --mandir=DIR man documentation [DATAROOTDIR/man]
1602 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1603 --htmldir=DIR html documentation [DOCDIR]
1604 --dvidir=DIR dvi documentation [DOCDIR]
1605 --pdfdir=DIR pdf documentation [DOCDIR]
1606 --psdir=DIR ps documentation [DOCDIR]
1607 _ACEOF
1608
1609 cat <<\_ACEOF
1610
1611 X features:
1612 --x-includes=DIR X include files are in DIR
1613 --x-libraries=DIR X library files are in DIR
1614
1615 System types:
1616 --build=BUILD configure for building on BUILD [guessed]
1617 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1618 --target=TARGET configure for building compilers for TARGET [HOST]
1619 _ACEOF
1620 fi
1621
1622 if test -n "$ac_init_help"; then
1623 case $ac_init_help in
1624 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1625 esac
1626 cat <<\_ACEOF
1627
1628 Optional Features:
1629 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1630 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1631 --disable-gui don't build GUI parts of the library
1632 --enable-monolithic build wxWidgets as single library
1633 --enable-plugins build parts of wxWidgets as loadable components
1634 --enable-official_build official build of wxWidgets (win32 DLL only)
1635 --enable-vendor=VENDOR vendor name (win32 DLL only)
1636 --disable-all-features disable all optional features to build minimal library
1637 --enable-universal use wxWidgets GUI controls instead of native ones
1638 --enable-nanox use NanoX
1639 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1640 --enable-gpe use GNOME PDA Environment features if possible
1641 --disable-shared create static library instead of shared
1642 --disable-optimise create optimised code
1643 --enable-debug same as debug_flag and debug_info
1644 --enable-stl use STL for containers
1645 --enable-std_iostreams use standard C++ stream classes
1646 --enable-std_string use standard C++ string classes
1647 --disable-unicode compile without Unicode support
1648 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1649 --enable-utf8 use UTF-8 representation for strings (Unix only)
1650 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1651 --enable-extended_rtti use extended RTTI (XTI)
1652 --enable-omf use OMF object format
1653 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1654 --enable-debug_info create code with debugging information
1655 --enable-debug_gdb create code with extra GDB debugging information
1656 --enable-debug_cntxt use wxDebugContext
1657 --enable-mem_tracing create code with memory tracing
1658 --enable-profile create code with profiling information
1659 --enable-no_rtti create code without RTTI information
1660 --enable-no_exceptions create code without C++ exceptions handling
1661 --enable-permissive compile code disregarding strict ANSI
1662 --enable-no_deps create code without dependency information
1663 --disable-vararg_macros don't use vararg macros, even if they are supported
1664 --enable-universal_binary create Mac PowerPC and Intel Universal binary
1665 --enable-compat26 enable wxWidgets 2.6 compatibility
1666 --disable-compat28 disable wxWidgets 2.8 compatibility
1667 --disable-rpath disable use of rpath for uninstalled builds
1668 --enable-objc_uniquifying enable Objective-C class name uniquifying
1669 --disable-visibility disable use of ELF symbols visibility even if supported
1670 --enable-intl use internationalization system
1671 --enable-config use wxConfig (and derived) classes
1672 --enable-protocols use wxProtocol and derived classes
1673 --enable-ftp use wxFTP (requires wxProtocol
1674 --enable-http use wxHTTP (requires wxProtocol
1675 --enable-fileproto use wxFileProto class (requires wxProtocol
1676 --enable-sockets use socket/network classes
1677 --enable-ipv6 enable IPv6 support in wxSocket
1678 --enable-ole use OLE classes (Win32 only)
1679 --enable-dataobj use data object classes
1680 --enable-ipc use interprocess communication (wxSocket etc.)
1681 --enable-baseevtloop use event loop in console programs too
1682 --enable-epollloop use wxEpollDispatcher class (Linux only)
1683 --enable-selectloop use wxSelectDispatcher class
1684 --enable-apple_ieee use the Apple IEEE codec
1685 --enable-arcstream use wxArchive streams
1686 --enable-base64 use base64 encoding/decoding functions
1687 --enable-backtrace use wxStackWalker class for getting backtraces
1688 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1689 --enable-cmdline use wxCmdLineParser class
1690 --enable-datetime use wxDateTime class
1691 --enable-debugreport use wxDebugReport class
1692 --enable-dialupman use dialup network classes
1693 --enable-dynlib use wxLibrary class for DLL loading
1694 --enable-dynamicloader use (new) wxDynamicLibrary class
1695 --enable-exceptions build exception-safe library
1696 --enable-ffile use wxFFile class
1697 --enable-file use wxFile class
1698 --enable-filesystem use virtual file systems classes
1699 --enable-fontenum use wxFontEnumerator class
1700 --enable-fontmap use font encodings conversion classes
1701 --enable-fs_archive use virtual archive filesystems
1702 --enable-fs_inet use virtual HTTP/FTP filesystems
1703 --enable-fs_zip now replaced by fs_archive
1704 --enable-geometry use geometry class
1705 --enable-log use logging system
1706 --enable-longlong use wxLongLong class
1707 --enable-mimetype use wxMimeTypesManager
1708 --enable-snglinst use wxSingleInstanceChecker class
1709 --enable-stdpaths use wxStandardPaths class
1710 --enable-stopwatch use wxStopWatch class
1711 --enable-streams use wxStream etc classes
1712 --enable-sysoptions use wxSystemOptions
1713 --enable-tarstream use wxTar streams
1714 --enable-textbuf use wxTextBuffer class
1715 --enable-textfile use wxTextFile class
1716 --enable-timer use wxTimer class
1717 --enable-sound use wxSound class
1718 --enable-mediactrl use wxMediaCtrl class
1719 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1720 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1721 --enable-zipstream use wxZip streams
1722 --enable-url use wxURL class
1723 --enable-variant use wxVariant class
1724 --enable-protocol use wxProtocol class
1725 --enable-protocol-http HTTP support in wxProtocol
1726 --enable-protocol-ftp FTP support in wxProtocol
1727 --enable-protocol-file FILE support in wxProtocol
1728 --enable-threads use threads
1729 --enable-iniconf use wxIniConfig (Win32 only)
1730 --enable-regkey use wxRegKey class (Win32 only)
1731 --enable-docview use document view architecture
1732 --enable-help use help subsystem
1733 --enable-mshtmlhelp use MS HTML Help (win32)
1734 --enable-html use wxHTML sub-library
1735 --enable-htmlhelp use wxHTML-based help
1736 --enable-xrc use XRC resources sub-library
1737 --enable-aui use AUI docking library
1738 --enable-stc use wxStyledTextCtrl library
1739 --enable-constraints use layout-constraints system
1740 --enable-printarch use printing architecture
1741 --enable-mdi use multiple document interface architecture
1742 --enable-mdidoc use docview architecture with MDI
1743 --enable-loggui use standard GUI logger
1744 --enable-logwin use wxLogWindow
1745 --enable-logdialog use wxLogDialog
1746 --enable-webkit use wxWebKitCtrl (Mac)
1747 --enable-richtext use wxRichTextCtrl
1748 --enable-graphics_ctx use graphics context 2D drawing API
1749 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1750 --enable-svg use wxSVGFileDC device context
1751 --enable-clipboard use wxClipboard class
1752 --enable-dnd use Drag'n'Drop classes
1753 --enable-metafile use win32 metafiles
1754 --disable-controls disable compilation of all standard controls
1755 --enable-accel use accelerators
1756 --enable-animatectrl use wxAnimationCtrl class
1757 --enable-button use wxButton class
1758 --enable-bmpbutton use wxBitmapButton class
1759 --enable-bmpcombobox use wxBitmapComboBox class
1760 --enable-calendar use wxCalendarCtrl class
1761 --enable-caret use wxCaret class
1762 --enable-checkbox use wxCheckBox class
1763 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1764 --enable-choice use wxChoice class
1765 --enable-choicebook use wxChoicebook class
1766 --enable-collpane use wxCollapsiblePane class
1767 --enable-colourpicker use wxColourPickerCtrl class
1768 --enable-combobox use wxComboBox class
1769 --enable-comboctrl use wxComboCtrl class
1770 --enable-datepick use wxDatePickerCtrl class
1771 --enable-dirpicker use wxDirPickerCtrl class
1772 --enable-display use wxDisplay class
1773 --enable-detect_sm use code to detect X11 session manager
1774 --enable-editablebox use wxEditableListBox class
1775 --enable-filepicker use wxFilePickerCtrl class
1776 --enable-filectrl use wxFileCtrl class
1777 --enable-fontpicker use wxFontPickerCtrl class
1778 --enable-gauge use wxGauge class
1779 --enable-grid use wxGrid class
1780 --enable-dataviewctrl use wxDataViewCtrl class
1781 --enable-hyperlink use wxHyperlinkCtrl class
1782 --enable-imaglist use wxImageList class
1783 --enable-listbook use wxListbook class
1784 --enable-listbox use wxListBox class
1785 --enable-listctrl use wxListCtrl class
1786 --enable-notebook use wxNotebook class
1787 --enable-notifmsg use wxNotificationMessage class
1788 --enable-odcombobox use wxOwnerDrawnComboBox class
1789 --enable-radiobox use wxRadioBox class
1790 --enable-radiobtn use wxRadioButton class
1791 --enable-sash use wxSashWindow class
1792 --enable-scrollbar use wxScrollBar class and scrollable windows
1793 --enable-searchctrl use wxSearchCtrl class
1794 --enable-slider use wxSlider class
1795 --enable-spinbtn use wxSpinButton class
1796 --enable-spinctrl use wxSpinCtrl class
1797 --enable-splitter use wxSplitterWindow class
1798 --enable-statbmp use wxStaticBitmap class
1799 --enable-statbox use wxStaticBox class
1800 --enable-statline use wxStaticLine class
1801 --enable-stattext use wxStaticText class
1802 --enable-statusbar use wxStatusBar class
1803 --enable-tabdialog use wxTabControl class
1804 --enable-taskbaricon use wxTaskBarIcon class
1805 --enable-textctrl use wxTextCtrl class
1806 --enable-togglebtn use wxToggleButton class
1807 --enable-toolbar use wxToolBar class
1808 --enable-tbarnative use native wxToolBar class
1809 --enable-treebook use wxTreebook class
1810 --enable-toolbook use wxToolbook class
1811 --enable-treectrl use wxTreeCtrl class
1812 --enable-tipwindow use wxTipWindow class
1813 --enable-popupwin use wxPopUpWindow class
1814 --enable-commondlg use all common dialogs
1815 --enable-aboutdlg use wxAboutBox
1816 --enable-choicedlg use wxChoiceDialog
1817 --enable-coldlg use wxColourDialog
1818 --enable-filedlg use wxFileDialog
1819 --enable-finddlg use wxFindReplaceDialog
1820 --enable-fontdlg use wxFontDialog
1821 --enable-dirdlg use wxDirDialog
1822 --enable-msgdlg use wxMessageDialog
1823 --enable-numberdlg use wxNumberEntryDialog
1824 --enable-splash use wxSplashScreen
1825 --enable-textdlg use wxTextDialog
1826 --enable-tipdlg use startup tips
1827 --enable-progressdlg use wxProgressDialog
1828 --enable-wizarddlg use wxWizard
1829 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1830 --enable-miniframe use wxMiniFrame class
1831 --enable-tooltips use wxToolTip class
1832 --enable-splines use spline drawing code
1833 --enable-mousewheel use mousewheel
1834 --enable-validators use wxValidator and derived classes
1835 --enable-busyinfo use wxBusyInfo
1836 --enable-joystick use wxJoystick
1837 --enable-metafiles use wxMetaFile (Win32 only)
1838 --enable-dragimage use wxDragImage
1839 --enable-accessibility enable accessibility support
1840 --enable-palette use wxPalette class
1841 --enable-image use wxImage class
1842 --enable-gif use gif images (GIF file format)
1843 --enable-pcx use pcx images (PCX file format)
1844 --enable-tga use tga images (TGA file format)
1845 --enable-iff use iff images (IFF file format)
1846 --enable-pnm use pnm images (PNM file format)
1847 --enable-xpm use xpm images (XPM file format)
1848 --enable-ico_cur use Windows ICO and CUR formats
1849 --enable-dccache cache temporary wxDC objects (Win32 only)
1850 --enable-ps-in-msw use PS printing in wxMSW (Win32 only)
1851 --enable-ownerdrawn use owner drawn controls (Win32 and OS/2 only)
1852 --enable-uxtheme enable support for Windows XP themed look (Win32 only)
1853 --enable-wxdib use wxDIB class (Win32 only)
1854 --enable-autoidman use automatic ids management
1855 --disable-largefile omit support for large files
1856 --disable-gtktest do not try to compile and run a test GTK+ program
1857 --disable-gtktest Do not try to compile and run a test GTK program
1858 --disable-sdltest Do not try to compile and run a test SDL program
1859 --enable-omf use OMF object format (OS/2)
1860 --disable-dependency-tracking
1861 don't use dependency tracking even if the compiler
1862 can
1863 --disable-precomp-headers
1864 don't use precompiled headers even if compiler can
1865
1866 Optional Packages:
1867 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1868 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1869 --without-subdirs don't generate makefiles for samples/demos/...
1870 --with-flavour=NAME specify a name to identify this build
1871 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1872 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1873 --with-motif use Motif/Lesstif
1874 --with-mac use Mac OS X
1875 --with-cocoa use Cocoa
1876 --with-wine use Wine
1877 --with-msw use MS-Windows
1878 --with-pm use OS/2 Presentation Manager
1879 --with-mgl use SciTech MGL
1880 --with-directfb use DirectFB
1881 --with-microwin use MicroWindows
1882 --with-x11 use X11
1883 --with-libpng use libpng (PNG image format)
1884 --with-libjpeg use libjpeg (JPEG file format)
1885 --with-libtiff use libtiff (TIFF file format)
1886 --with-libxpm use libxpm (XPM file format)
1887 --with-libiconv use libiconv (character conversion)
1888 --with-libmspack use libmspack (CHM help files loading)
1889 --without-gtkprint don't use GTK printing support
1890 --without-gnomeprint don't use GNOME printing libraries
1891 --with-gnomevfs use GNOME VFS for associating MIME types
1892 --with-hildon use Hildon framework for Nokia 770
1893 --with-opengl use OpenGL (or Mesa)
1894 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1895 --with-sdl use SDL for audio on Unix
1896 --with-regex enable support for wxRegEx class
1897 --with-zlib use zlib for LZW compression
1898 --with-expat enable XML support using expat parser
1899 --with-macosx-sdk=PATH use an OS X SDK at PATH
1900 --with-macosx-version-min=VER build binaries which require at least this OS X version
1901 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1902 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1903 --with-x use the X Window System
1904 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1905 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1906 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1907 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1908 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1909
1910 Some influential environment variables:
1911 CC C compiler command
1912 CFLAGS C compiler flags
1913 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1914 nonstandard directory <lib dir>
1915 LIBS libraries to pass to the linker, e.g. -l<library>
1916 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1917 you have headers in a nonstandard directory <include dir>
1918 CPP C preprocessor
1919 CXX C++ compiler command
1920 CXXFLAGS C++ compiler flags
1921 PKG_CONFIG path to pkg-config utility
1922 DIRECTFB_CFLAGS
1923 C compiler flags for DIRECTFB, overriding pkg-config
1924 DIRECTFB_LIBS
1925 linker flags for DIRECTFB, overriding pkg-config
1926 XMKMF Path to xmkmf, Makefile generator for X Window System
1927 PANGOX_CFLAGS
1928 C compiler flags for PANGOX, overriding pkg-config
1929 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1930 PANGOFT2_CFLAGS
1931 C compiler flags for PANGOFT2, overriding pkg-config
1932 PANGOFT2_LIBS
1933 linker flags for PANGOFT2, overriding pkg-config
1934 PANGOXFT_CFLAGS
1935 C compiler flags for PANGOXFT, overriding pkg-config
1936 PANGOXFT_LIBS
1937 linker flags for PANGOXFT, overriding pkg-config
1938 GTKPRINT_CFLAGS
1939 C compiler flags for GTKPRINT, overriding pkg-config
1940 GTKPRINT_LIBS
1941 linker flags for GTKPRINT, overriding pkg-config
1942 LIBGNOMEPRINTUI_CFLAGS
1943 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1944 LIBGNOMEPRINTUI_LIBS
1945 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1946 GNOMEVFS_CFLAGS
1947 C compiler flags for GNOMEVFS, overriding pkg-config
1948 GNOMEVFS_LIBS
1949 linker flags for GNOMEVFS, overriding pkg-config
1950 HILDON_CFLAGS
1951 C compiler flags for HILDON, overriding pkg-config
1952 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1953 CAIRO_CFLAGS
1954 C compiler flags for CAIRO, overriding pkg-config
1955 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1956 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1957 GST_LIBS linker flags for GST, overriding pkg-config
1958
1959 Use these variables to override the choices made by `configure' or to help
1960 it to find libraries and programs with nonstandard names/locations.
1961
1962 Report bugs to <wx-dev@lists.wxwidgets.org>.
1963 _ACEOF
1964 ac_status=$?
1965 fi
1966
1967 if test "$ac_init_help" = "recursive"; then
1968 # If there are subdirs, report their specific --help.
1969 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1970 test -d "$ac_dir" || continue
1971 ac_builddir=.
1972
1973 case "$ac_dir" in
1974 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1975 *)
1976 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1977 # A ".." for each directory in $ac_dir_suffix.
1978 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1979 case $ac_top_builddir_sub in
1980 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1981 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1982 esac ;;
1983 esac
1984 ac_abs_top_builddir=$ac_pwd
1985 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1986 # for backward compatibility:
1987 ac_top_builddir=$ac_top_build_prefix
1988
1989 case $srcdir in
1990 .) # We are building in place.
1991 ac_srcdir=.
1992 ac_top_srcdir=$ac_top_builddir_sub
1993 ac_abs_top_srcdir=$ac_pwd ;;
1994 [\\/]* | ?:[\\/]* ) # Absolute name.
1995 ac_srcdir=$srcdir$ac_dir_suffix;
1996 ac_top_srcdir=$srcdir
1997 ac_abs_top_srcdir=$srcdir ;;
1998 *) # Relative name.
1999 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2000 ac_top_srcdir=$ac_top_build_prefix$srcdir
2001 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2002 esac
2003 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2004
2005 cd "$ac_dir" || { ac_status=$?; continue; }
2006 # Check for guested configure.
2007 if test -f "$ac_srcdir/configure.gnu"; then
2008 echo &&
2009 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2010 elif test -f "$ac_srcdir/configure"; then
2011 echo &&
2012 $SHELL "$ac_srcdir/configure" --help=recursive
2013 else
2014 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2015 fi || ac_status=$?
2016 cd "$ac_pwd" || { ac_status=$?; break; }
2017 done
2018 fi
2019
2020 test -n "$ac_init_help" && exit $ac_status
2021 if $ac_init_version; then
2022 cat <<\_ACEOF
2023 wxWidgets configure 2.9.0
2024 generated by GNU Autoconf 2.61
2025
2026 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2027 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2028 This configure script is free software; the Free Software Foundation
2029 gives unlimited permission to copy, distribute and modify it.
2030 _ACEOF
2031 exit
2032 fi
2033 cat >config.log <<_ACEOF
2034 This file contains any messages produced by compilers while
2035 running configure, to aid debugging if configure makes a mistake.
2036
2037 It was created by wxWidgets $as_me 2.9.0, which was
2038 generated by GNU Autoconf 2.61. Invocation command line was
2039
2040 $ $0 $@
2041
2042 _ACEOF
2043 exec 5>>config.log
2044 {
2045 cat <<_ASUNAME
2046 ## --------- ##
2047 ## Platform. ##
2048 ## --------- ##
2049
2050 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2051 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2052 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2053 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2054 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2055
2056 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2057 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2058
2059 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2060 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2061 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2062 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2063 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2064 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2065 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2066
2067 _ASUNAME
2068
2069 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2070 for as_dir in $PATH
2071 do
2072 IFS=$as_save_IFS
2073 test -z "$as_dir" && as_dir=.
2074 echo "PATH: $as_dir"
2075 done
2076 IFS=$as_save_IFS
2077
2078 } >&5
2079
2080 cat >&5 <<_ACEOF
2081
2082
2083 ## ----------- ##
2084 ## Core tests. ##
2085 ## ----------- ##
2086
2087 _ACEOF
2088
2089
2090 # Keep a trace of the command line.
2091 # Strip out --no-create and --no-recursion so they do not pile up.
2092 # Strip out --silent because we don't want to record it for future runs.
2093 # Also quote any args containing shell meta-characters.
2094 # Make two passes to allow for proper duplicate-argument suppression.
2095 ac_configure_args=
2096 ac_configure_args0=
2097 ac_configure_args1=
2098 ac_must_keep_next=false
2099 for ac_pass in 1 2
2100 do
2101 for ac_arg
2102 do
2103 case $ac_arg in
2104 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2105 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2106 | -silent | --silent | --silen | --sile | --sil)
2107 continue ;;
2108 *\'*)
2109 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2110 esac
2111 case $ac_pass in
2112 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2113 2)
2114 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2115 if test $ac_must_keep_next = true; then
2116 ac_must_keep_next=false # Got value, back to normal.
2117 else
2118 case $ac_arg in
2119 *=* | --config-cache | -C | -disable-* | --disable-* \
2120 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2121 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2122 | -with-* | --with-* | -without-* | --without-* | --x)
2123 case "$ac_configure_args0 " in
2124 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2125 esac
2126 ;;
2127 -* ) ac_must_keep_next=true ;;
2128 esac
2129 fi
2130 ac_configure_args="$ac_configure_args '$ac_arg'"
2131 ;;
2132 esac
2133 done
2134 done
2135 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2136 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2137
2138 # When interrupted or exit'd, cleanup temporary files, and complete
2139 # config.log. We remove comments because anyway the quotes in there
2140 # would cause problems or look ugly.
2141 # WARNING: Use '\'' to represent an apostrophe within the trap.
2142 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2143 trap 'exit_status=$?
2144 # Save into config.log some information that might help in debugging.
2145 {
2146 echo
2147
2148 cat <<\_ASBOX
2149 ## ---------------- ##
2150 ## Cache variables. ##
2151 ## ---------------- ##
2152 _ASBOX
2153 echo
2154 # The following way of writing the cache mishandles newlines in values,
2155 (
2156 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2157 eval ac_val=\$$ac_var
2158 case $ac_val in #(
2159 *${as_nl}*)
2160 case $ac_var in #(
2161 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2162 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2163 esac
2164 case $ac_var in #(
2165 _ | IFS | as_nl) ;; #(
2166 *) $as_unset $ac_var ;;
2167 esac ;;
2168 esac
2169 done
2170 (set) 2>&1 |
2171 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2172 *${as_nl}ac_space=\ *)
2173 sed -n \
2174 "s/'\''/'\''\\\\'\'''\''/g;
2175 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2176 ;; #(
2177 *)
2178 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2179 ;;
2180 esac |
2181 sort
2182 )
2183 echo
2184
2185 cat <<\_ASBOX
2186 ## ----------------- ##
2187 ## Output variables. ##
2188 ## ----------------- ##
2189 _ASBOX
2190 echo
2191 for ac_var in $ac_subst_vars
2192 do
2193 eval ac_val=\$$ac_var
2194 case $ac_val in
2195 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2196 esac
2197 echo "$ac_var='\''$ac_val'\''"
2198 done | sort
2199 echo
2200
2201 if test -n "$ac_subst_files"; then
2202 cat <<\_ASBOX
2203 ## ------------------- ##
2204 ## File substitutions. ##
2205 ## ------------------- ##
2206 _ASBOX
2207 echo
2208 for ac_var in $ac_subst_files
2209 do
2210 eval ac_val=\$$ac_var
2211 case $ac_val in
2212 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2213 esac
2214 echo "$ac_var='\''$ac_val'\''"
2215 done | sort
2216 echo
2217 fi
2218
2219 if test -s confdefs.h; then
2220 cat <<\_ASBOX
2221 ## ----------- ##
2222 ## confdefs.h. ##
2223 ## ----------- ##
2224 _ASBOX
2225 echo
2226 cat confdefs.h
2227 echo
2228 fi
2229 test "$ac_signal" != 0 &&
2230 echo "$as_me: caught signal $ac_signal"
2231 echo "$as_me: exit $exit_status"
2232 } >&5
2233 rm -f core *.core core.conftest.* &&
2234 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2235 exit $exit_status
2236 ' 0
2237 for ac_signal in 1 2 13 15; do
2238 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2239 done
2240 ac_signal=0
2241
2242 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2243 rm -f -r conftest* confdefs.h
2244
2245 # Predefined preprocessor variables.
2246
2247 cat >>confdefs.h <<_ACEOF
2248 #define PACKAGE_NAME "$PACKAGE_NAME"
2249 _ACEOF
2250
2251
2252 cat >>confdefs.h <<_ACEOF
2253 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2254 _ACEOF
2255
2256
2257 cat >>confdefs.h <<_ACEOF
2258 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2259 _ACEOF
2260
2261
2262 cat >>confdefs.h <<_ACEOF
2263 #define PACKAGE_STRING "$PACKAGE_STRING"
2264 _ACEOF
2265
2266
2267 cat >>confdefs.h <<_ACEOF
2268 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2269 _ACEOF
2270
2271
2272 # Let the site file select an alternate cache file if it wants to.
2273 # Prefer explicitly selected file to automatically selected ones.
2274 if test -n "$CONFIG_SITE"; then
2275 set x "$CONFIG_SITE"
2276 elif test "x$prefix" != xNONE; then
2277 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2278 else
2279 set x "$ac_default_prefix/share/config.site" \
2280 "$ac_default_prefix/etc/config.site"
2281 fi
2282 shift
2283 for ac_site_file
2284 do
2285 if test -r "$ac_site_file"; then
2286 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2287 echo "$as_me: loading site script $ac_site_file" >&6;}
2288 sed 's/^/| /' "$ac_site_file" >&5
2289 . "$ac_site_file"
2290 fi
2291 done
2292
2293 if test -r "$cache_file"; then
2294 # Some versions of bash will fail to source /dev/null (special
2295 # files actually), so we avoid doing that.
2296 if test -f "$cache_file"; then
2297 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2298 echo "$as_me: loading cache $cache_file" >&6;}
2299 case $cache_file in
2300 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2301 *) . "./$cache_file";;
2302 esac
2303 fi
2304 else
2305 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2306 echo "$as_me: creating cache $cache_file" >&6;}
2307 >$cache_file
2308 fi
2309
2310 # Check that the precious variables saved in the cache have kept the same
2311 # value.
2312 ac_cache_corrupted=false
2313 for ac_var in $ac_precious_vars; do
2314 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2315 eval ac_new_set=\$ac_env_${ac_var}_set
2316 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2317 eval ac_new_val=\$ac_env_${ac_var}_value
2318 case $ac_old_set,$ac_new_set in
2319 set,)
2320 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2321 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2322 ac_cache_corrupted=: ;;
2323 ,set)
2324 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2325 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2326 ac_cache_corrupted=: ;;
2327 ,);;
2328 *)
2329 if test "x$ac_old_val" != "x$ac_new_val"; then
2330 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2331 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2332 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2333 echo "$as_me: former value: $ac_old_val" >&2;}
2334 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2335 echo "$as_me: current value: $ac_new_val" >&2;}
2336 ac_cache_corrupted=:
2337 fi;;
2338 esac
2339 # Pass precious variables to config.status.
2340 if test "$ac_new_set" = set; then
2341 case $ac_new_val in
2342 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2343 *) ac_arg=$ac_var=$ac_new_val ;;
2344 esac
2345 case " $ac_configure_args " in
2346 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2347 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2348 esac
2349 fi
2350 done
2351 if $ac_cache_corrupted; then
2352 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2353 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2354 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2355 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2356 { (exit 1); exit 1; }; }
2357 fi
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383 ac_ext=c
2384 ac_cpp='$CPP $CPPFLAGS'
2385 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2386 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2387 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2388
2389
2390
2391
2392
2393 ac_aux_dir=
2394 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2395 if test -f "$ac_dir/install-sh"; then
2396 ac_aux_dir=$ac_dir
2397 ac_install_sh="$ac_aux_dir/install-sh -c"
2398 break
2399 elif 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/shtool"; then
2404 ac_aux_dir=$ac_dir
2405 ac_install_sh="$ac_aux_dir/shtool install -c"
2406 break
2407 fi
2408 done
2409 if test -z "$ac_aux_dir"; then
2410 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2411 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2412 { (exit 1); exit 1; }; }
2413 fi
2414
2415 # These three variables are undocumented and unsupported,
2416 # and are intended to be withdrawn in a future Autoconf release.
2417 # They can cause serious problems if a builder's source tree is in a directory
2418 # whose full name contains unusual characters.
2419 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2420 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2421 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2422
2423
2424 # Make sure we can run config.sub.
2425 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2426 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2427 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2428 { (exit 1); exit 1; }; }
2429
2430 { echo "$as_me:$LINENO: checking build system type" >&5
2431 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2432 if test "${ac_cv_build+set}" = set; then
2433 echo $ECHO_N "(cached) $ECHO_C" >&6
2434 else
2435 ac_build_alias=$build_alias
2436 test "x$ac_build_alias" = x &&
2437 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2438 test "x$ac_build_alias" = x &&
2439 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2440 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2441 { (exit 1); exit 1; }; }
2442 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2443 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2444 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2445 { (exit 1); exit 1; }; }
2446
2447 fi
2448 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2449 echo "${ECHO_T}$ac_cv_build" >&6; }
2450 case $ac_cv_build in
2451 *-*-*) ;;
2452 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2453 echo "$as_me: error: invalid value of canonical build" >&2;}
2454 { (exit 1); exit 1; }; };;
2455 esac
2456 build=$ac_cv_build
2457 ac_save_IFS=$IFS; IFS='-'
2458 set x $ac_cv_build
2459 shift
2460 build_cpu=$1
2461 build_vendor=$2
2462 shift; shift
2463 # Remember, the first character of IFS is used to create $*,
2464 # except with old shells:
2465 build_os=$*
2466 IFS=$ac_save_IFS
2467 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2468
2469
2470 { echo "$as_me:$LINENO: checking host system type" >&5
2471 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2472 if test "${ac_cv_host+set}" = set; then
2473 echo $ECHO_N "(cached) $ECHO_C" >&6
2474 else
2475 if test "x$host_alias" = x; then
2476 ac_cv_host=$ac_cv_build
2477 else
2478 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2479 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2480 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2481 { (exit 1); exit 1; }; }
2482 fi
2483
2484 fi
2485 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2486 echo "${ECHO_T}$ac_cv_host" >&6; }
2487 case $ac_cv_host in
2488 *-*-*) ;;
2489 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2490 echo "$as_me: error: invalid value of canonical host" >&2;}
2491 { (exit 1); exit 1; }; };;
2492 esac
2493 host=$ac_cv_host
2494 ac_save_IFS=$IFS; IFS='-'
2495 set x $ac_cv_host
2496 shift
2497 host_cpu=$1
2498 host_vendor=$2
2499 shift; shift
2500 # Remember, the first character of IFS is used to create $*,
2501 # except with old shells:
2502 host_os=$*
2503 IFS=$ac_save_IFS
2504 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2505
2506
2507 { echo "$as_me:$LINENO: checking target system type" >&5
2508 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2509 if test "${ac_cv_target+set}" = set; then
2510 echo $ECHO_N "(cached) $ECHO_C" >&6
2511 else
2512 if test "x$target_alias" = x; then
2513 ac_cv_target=$ac_cv_host
2514 else
2515 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2516 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2517 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2518 { (exit 1); exit 1; }; }
2519 fi
2520
2521 fi
2522 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2523 echo "${ECHO_T}$ac_cv_target" >&6; }
2524 case $ac_cv_target in
2525 *-*-*) ;;
2526 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2527 echo "$as_me: error: invalid value of canonical target" >&2;}
2528 { (exit 1); exit 1; }; };;
2529 esac
2530 target=$ac_cv_target
2531 ac_save_IFS=$IFS; IFS='-'
2532 set x $ac_cv_target
2533 shift
2534 target_cpu=$1
2535 target_vendor=$2
2536 shift; shift
2537 # Remember, the first character of IFS is used to create $*,
2538 # except with old shells:
2539 target_os=$*
2540 IFS=$ac_save_IFS
2541 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2542
2543
2544 # The aliases save the names the user supplied, while $host etc.
2545 # will get canonicalized.
2546 test -n "$target_alias" &&
2547 test "$program_prefix$program_suffix$program_transform_name" = \
2548 NONENONEs,x,x, &&
2549 program_prefix=${target_alias}-
2550
2551
2552
2553 wx_major_version_number=2
2554 wx_minor_version_number=9
2555 wx_release_number=0
2556 wx_subrelease_number=0
2557
2558 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2559 WX_VERSION=$WX_RELEASE.$wx_release_number
2560 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2561
2562 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2563
2564
2565 wx_top_builddir="`pwd`"
2566
2567
2568
2569
2570 USE_UNIX=1
2571 USE_OS2=0
2572 USE_WIN32=0
2573 USE_DOS=0
2574 USE_BEOS=0
2575 USE_MAC=0
2576
2577 USE_AIX=
2578 USE_BSD= USE_DARWIN= USE_FREEBSD=
2579 USE_GNU= USE_HPUX=
2580 USE_LINUX=
2581 USE_NETBSD=
2582 USE_OPENBSD=
2583 USE_OSF= USE_SGI=
2584 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2585 USE_ULTRIX=
2586 USE_UNIXWARE=
2587
2588 USE_ALPHA=
2589
2590 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2591
2592 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2593
2594 DEFAULT_wxUSE_COCOA=0
2595 DEFAULT_wxUSE_GTK=0
2596 DEFAULT_wxUSE_MAC=0
2597 DEFAULT_wxUSE_MGL=0
2598 DEFAULT_wxUSE_MICROWIN=0
2599 DEFAULT_wxUSE_MOTIF=0
2600 DEFAULT_wxUSE_MSW=0
2601 DEFAULT_wxUSE_PM=0
2602 DEFAULT_wxUSE_X11=0
2603 DEFAULT_wxUSE_DFB=0
2604
2605 DEFAULT_DEFAULT_wxUSE_COCOA=0
2606 DEFAULT_DEFAULT_wxUSE_GTK=0
2607 DEFAULT_DEFAULT_wxUSE_MAC=0
2608 DEFAULT_DEFAULT_wxUSE_MGL=0
2609 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2610 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2611 DEFAULT_DEFAULT_wxUSE_MSW=0
2612 DEFAULT_DEFAULT_wxUSE_PM=0
2613 DEFAULT_DEFAULT_wxUSE_X11=0
2614 DEFAULT_DEFAULT_wxUSE_DFB=0
2615
2616 PROGRAM_EXT=
2617 SO_SUFFIX=so
2618 SAMPLES_RPATH_FLAG=
2619 SAMPLES_RPATH_POSTLINK=
2620
2621 DEFAULT_STD_FLAG=yes
2622
2623 case "${host}" in
2624 *-hp-hpux* )
2625 USE_HPUX=1
2626 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2627 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2628 SO_SUFFIX=sl
2629 cat >>confdefs.h <<\_ACEOF
2630 #define __HPUX__ 1
2631 _ACEOF
2632
2633
2634 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2635 ;;
2636 *-*-linux* )
2637 USE_LINUX=1
2638 cat >>confdefs.h <<\_ACEOF
2639 #define __LINUX__ 1
2640 _ACEOF
2641
2642 TMP=`uname -m`
2643 if test "x$TMP" = "xalpha"; then
2644 USE_ALPHA=1
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __ALPHA__ 1
2647 _ACEOF
2648
2649 fi
2650 DEFAULT_DEFAULT_wxUSE_GTK=1
2651 ;;
2652 *-*-gnu* | *-*-k*bsd*-gnu )
2653 USE_GNU=1
2654 TMP=`uname -m`
2655 if test "x$TMP" = "xalpha"; then
2656 USE_ALPHA=1
2657 cat >>confdefs.h <<\_ACEOF
2658 #define __ALPHA__ 1
2659 _ACEOF
2660
2661 fi
2662 DEFAULT_DEFAULT_wxUSE_GTK=1
2663 ;;
2664 *-*-irix5* | *-*-irix6* )
2665 USE_SGI=1
2666 USE_SVR4=1
2667 cat >>confdefs.h <<\_ACEOF
2668 #define __SGI__ 1
2669 _ACEOF
2670
2671 cat >>confdefs.h <<\_ACEOF
2672 #define __SVR4__ 1
2673 _ACEOF
2674
2675 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2676 ;;
2677 *-*-solaris2* )
2678 USE_SUN=1
2679 USE_SOLARIS=1
2680 USE_SVR4=1
2681 cat >>confdefs.h <<\_ACEOF
2682 #define __SUN__ 1
2683 _ACEOF
2684
2685 cat >>confdefs.h <<\_ACEOF
2686 #define __SOLARIS__ 1
2687 _ACEOF
2688
2689 cat >>confdefs.h <<\_ACEOF
2690 #define __SVR4__ 1
2691 _ACEOF
2692
2693 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2694 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2695 ;;
2696 *-*-sunos4* )
2697 USE_SUN=1
2698 USE_SUNOS=1
2699 USE_BSD=1
2700 cat >>confdefs.h <<\_ACEOF
2701 #define __SUN__ 1
2702 _ACEOF
2703
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __SUNOS__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __BSD__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2713 ;;
2714 *-*-freebsd*)
2715 USE_BSD=1
2716 USE_FREEBSD=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __FREEBSD__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 ;;
2727 *-*-openbsd*|*-*-mirbsd*)
2728 USE_BSD=1
2729 USE_OPENBSD=1
2730 cat >>confdefs.h <<\_ACEOF
2731 #define __OPENBSD__ 1
2732 _ACEOF
2733
2734 cat >>confdefs.h <<\_ACEOF
2735 #define __BSD__ 1
2736 _ACEOF
2737
2738 DEFAULT_DEFAULT_wxUSE_GTK=1
2739 ;;
2740 *-*-netbsd*)
2741 USE_BSD=1
2742 USE_NETBSD=1
2743 cat >>confdefs.h <<\_ACEOF
2744 #define __NETBSD__ 1
2745 _ACEOF
2746
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __BSD__ 1
2749 _ACEOF
2750
2751 DEFAULT_DEFAULT_wxUSE_GTK=1
2752 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2753
2754 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2755 ;;
2756 *-*-osf* )
2757 USE_ALPHA=1
2758 USE_OSF=1
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __ALPHA__ 1
2761 _ACEOF
2762
2763 cat >>confdefs.h <<\_ACEOF
2764 #define __OSF__ 1
2765 _ACEOF
2766
2767 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2768 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2769 ;;
2770 *-*-dgux5* )
2771 USE_ALPHA=1
2772 USE_SVR4=1
2773 cat >>confdefs.h <<\_ACEOF
2774 #define __ALPHA__ 1
2775 _ACEOF
2776
2777 cat >>confdefs.h <<\_ACEOF
2778 #define __SVR4__ 1
2779 _ACEOF
2780
2781 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2782 ;;
2783 *-*-sysv5* )
2784 USE_SYSV=1
2785 USE_SVR4=1
2786 cat >>confdefs.h <<\_ACEOF
2787 #define __SYSV__ 1
2788 _ACEOF
2789
2790 cat >>confdefs.h <<\_ACEOF
2791 #define __SVR4__ 1
2792 _ACEOF
2793
2794 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2795 ;;
2796 *-*-aix* )
2797 USE_AIX=1
2798 USE_SYSV=1
2799 USE_SVR4=1
2800 SO_SUFFIX=a
2801 cat >>confdefs.h <<\_ACEOF
2802 #define __AIX__ 1
2803 _ACEOF
2804
2805 cat >>confdefs.h <<\_ACEOF
2806 #define __SYSV__ 1
2807 _ACEOF
2808
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __SVR4__ 1
2811 _ACEOF
2812
2813 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2814 ;;
2815
2816 *-*-*UnixWare*)
2817 USE_SYSV=1
2818 USE_SVR4=1
2819 USE_UNIXWARE=1
2820 cat >>confdefs.h <<\_ACEOF
2821 #define __UNIXWARE__ 1
2822 _ACEOF
2823
2824 ;;
2825
2826 *-*-cygwin* | *-*-mingw32* )
2827 SO_SUFFIX=dll
2828 PROGRAM_EXT=".exe"
2829 DEFAULT_DEFAULT_wxUSE_MSW=1
2830 ;;
2831
2832 *-pc-msdosdjgpp )
2833 USE_UNIX=0
2834 USE_DOS=1
2835 cat >>confdefs.h <<\_ACEOF
2836 #define __DOS__ 1
2837 _ACEOF
2838
2839 PROGRAM_EXT=".exe"
2840 DEFAULT_DEFAULT_wxUSE_MGL=1
2841 ;;
2842
2843 *-pc-os2_emx | *-pc-os2-emx )
2844 cat >>confdefs.h <<\_ACEOF
2845 #define __EMX__ 1
2846 _ACEOF
2847
2848 USE_OS2=1
2849 cat >>confdefs.h <<\_ACEOF
2850 #define __OS2__ 1
2851 _ACEOF
2852
2853 PROGRAM_EXT=".exe"
2854 DEFAULT_DEFAULT_wxUSE_PM=1
2855 CXX=gcc
2856 LDFLAGS="$LDFLAGS -Zcrtdll"
2857 ac_executable_extensions=".exe"
2858 export ac_executable_extensions
2859 ac_save_IFS="$IFS"
2860 IFS='\\'
2861 ac_TEMP_PATH=
2862 for ac_dir in $PATH; do
2863 IFS=$ac_save_IFS
2864 if test -z "$ac_TEMP_PATH"; then
2865 ac_TEMP_PATH="$ac_dir"
2866 else
2867 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2868 fi
2869 done
2870 export PATH="$ac_TEMP_PATH"
2871 unset ac_TEMP_PATH
2872 DEFAULT_STD_FLAG=no
2873 ;;
2874
2875 *-*-darwin* )
2876 USE_BSD=1
2877 USE_DARWIN=1
2878 SO_SUFFIX=dylib
2879 cat >>confdefs.h <<\_ACEOF
2880 #define __BSD__ 1
2881 _ACEOF
2882
2883 cat >>confdefs.h <<\_ACEOF
2884 #define __DARWIN__ 1
2885 _ACEOF
2886
2887 cat >>confdefs.h <<\_ACEOF
2888 #define TARGET_CARBON 1
2889 _ACEOF
2890
2891 DEFAULT_DEFAULT_wxUSE_MAC=1
2892 DEFAULT_STD_FLAG=no
2893 ;;
2894 powerpc-apple-macos* )
2895 USE_UNIX=0
2896 ac_cv_c_bigendian=yes
2897 SO_SUFFIX=shlib
2898 DEFAULT_DEFAULT_wxUSE_MAC=1
2899 DEFAULT_STD_FLAG=no
2900 ;;
2901
2902 *-*-beos* )
2903 USE_BEOS=1
2904 cat >>confdefs.h <<\_ACEOF
2905 #define __BEOS__ 1
2906 _ACEOF
2907
2908 ;;
2909
2910 *)
2911 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2912 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2913 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2914 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2915
2916 DEFAULT_DEFAULT_wxUSE_X11=1
2917 DEFAULT_wxUSE_SHARED=no
2918 esac
2919
2920
2921
2922 DEFAULT_wxUSE_ALL_FEATURES=yes
2923
2924 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
2925 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
2926
2927 DEFAULT_wxUSE_DMALLOC=no
2928 DEFAULT_wxUSE_LIBGNOMEVFS=no
2929 DEFAULT_wxUSE_LIBHILDON=no
2930 DEFAULT_wxUSE_LIBMSPACK=no
2931 DEFAULT_wxUSE_LIBSDL=no
2932 DEFAULT_wxUSE_OPENGL=no
2933
2934 DEFAULT_wxUSE_ACCESSIBILITY=no
2935 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
2936 DEFAULT_wxUSE_IPV6=no
2937 DEFAULT_wxUSE_MEDIACTRL=no
2938 DEFAULT_wxUSE_TAB_DIALOG=no
2939 DEFAULT_wxUSE_GSTREAMER8=no
2940
2941 DEFAULT_wxUSE_UNICODE_UTF8=auto
2942 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
2943
2944 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2945
2946 DEFAULT_wxUSE_OFFICIAL_BUILD=no
2947
2948 DEFAULT_wxUSE_GTK2=yes
2949
2950 DEFAULT_wxUSE_OBJC_UNIQUIFYING=no
2951
2952
2953
2954
2955
2956 enablestring=disable
2957 defaultval=
2958 if test -z "$defaultval"; then
2959 if test x"$enablestring" = xdisable; then
2960 defaultval=yes
2961 else
2962 defaultval=no
2963 fi
2964 fi
2965
2966 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
2967 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
2968 # Check whether --enable-gui was given.
2969 if test "${enable_gui+set}" = set; then
2970 enableval=$enable_gui;
2971 if test "$enableval" = yes; then
2972 wx_cv_use_gui='wxUSE_GUI=yes'
2973 else
2974 wx_cv_use_gui='wxUSE_GUI=no'
2975 fi
2976
2977 else
2978
2979 wx_cv_use_gui='wxUSE_GUI=${'DEFAULT_wxUSE_GUI":-$defaultval}"
2980
2981 fi
2982
2983
2984 eval "$wx_cv_use_gui"
2985
2986 if test x"$enablestring" = xdisable; then
2987 if test $wxUSE_GUI = yes; then
2988 result=no
2989 else
2990 result=yes
2991 fi
2992 else
2993 result=$wxUSE_GUI
2994 fi
2995
2996 { echo "$as_me:$LINENO: result: $result" >&5
2997 echo "${ECHO_T}$result" >&6; }
2998
2999
3000 enablestring=
3001 defaultval=
3002 if test -z "$defaultval"; then
3003 if test x"$enablestring" = xdisable; then
3004 defaultval=yes
3005 else
3006 defaultval=no
3007 fi
3008 fi
3009
3010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3011 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3012 # Check whether --enable-monolithic was given.
3013 if test "${enable_monolithic+set}" = set; then
3014 enableval=$enable_monolithic;
3015 if test "$enableval" = yes; then
3016 wx_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3017 else
3018 wx_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3019 fi
3020
3021 else
3022
3023 wx_cv_use_monolithic='wxUSE_MONOLITHIC=${'DEFAULT_wxUSE_MONOLITHIC":-$defaultval}"
3024
3025 fi
3026
3027
3028 eval "$wx_cv_use_monolithic"
3029
3030 if test x"$enablestring" = xdisable; then
3031 if test $wxUSE_MONOLITHIC = yes; then
3032 result=no
3033 else
3034 result=yes
3035 fi
3036 else
3037 result=$wxUSE_MONOLITHIC
3038 fi
3039
3040 { echo "$as_me:$LINENO: result: $result" >&5
3041 echo "${ECHO_T}$result" >&6; }
3042
3043
3044 enablestring=
3045 defaultval=
3046 if test -z "$defaultval"; then
3047 if test x"$enablestring" = xdisable; then
3048 defaultval=yes
3049 else
3050 defaultval=no
3051 fi
3052 fi
3053
3054 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3055 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3056 # Check whether --enable-plugins was given.
3057 if test "${enable_plugins+set}" = set; then
3058 enableval=$enable_plugins;
3059 if test "$enableval" = yes; then
3060 wx_cv_use_plugins='wxUSE_PLUGINS=yes'
3061 else
3062 wx_cv_use_plugins='wxUSE_PLUGINS=no'
3063 fi
3064
3065 else
3066
3067 wx_cv_use_plugins='wxUSE_PLUGINS=${'DEFAULT_wxUSE_PLUGINS":-$defaultval}"
3068
3069 fi
3070
3071
3072 eval "$wx_cv_use_plugins"
3073
3074 if test x"$enablestring" = xdisable; then
3075 if test $wxUSE_PLUGINS = yes; then
3076 result=no
3077 else
3078 result=yes
3079 fi
3080 else
3081 result=$wxUSE_PLUGINS
3082 fi
3083
3084 { echo "$as_me:$LINENO: result: $result" >&5
3085 echo "${ECHO_T}$result" >&6; }
3086
3087
3088 withstring=without
3089 defaultval=$wxUSE_ALL_FEATURES
3090 if test -z "$defaultval"; then
3091 if test x"$withstring" = xwithout; then
3092 defaultval=yes
3093 else
3094 defaultval=no
3095 fi
3096 fi
3097 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3098 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3099
3100 # Check whether --with-subdirs was given.
3101 if test "${with_subdirs+set}" = set; then
3102 withval=$with_subdirs;
3103 if test "$withval" = yes; then
3104 wx_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3105 else
3106 wx_cv_use_subdirs='wxWITH_SUBDIRS=no'
3107 fi
3108
3109 else
3110
3111 wx_cv_use_subdirs='wxWITH_SUBDIRS=${'DEFAULT_wxWITH_SUBDIRS":-$defaultval}"
3112
3113 fi
3114
3115
3116 eval "$wx_cv_use_subdirs"
3117
3118 if test x"$withstring" = xwithout; then
3119 if test $wxWITH_SUBDIRS = yes; then
3120 result=no
3121 else
3122 result=yes
3123 fi
3124 else
3125 result=$wxWITH_SUBDIRS
3126 fi
3127
3128 { echo "$as_me:$LINENO: result: $result" >&5
3129 echo "${ECHO_T}$result" >&6; }
3130
3131
3132 # Check whether --with-flavour was given.
3133 if test "${with_flavour+set}" = set; then
3134 withval=$with_flavour; WX_FLAVOUR="$withval"
3135 fi
3136
3137
3138 enablestring=
3139 defaultval=
3140 if test -z "$defaultval"; then
3141 if test x"$enablestring" = xdisable; then
3142 defaultval=yes
3143 else
3144 defaultval=no
3145 fi
3146 fi
3147
3148 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
3149 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
3150 # Check whether --enable-official_build was given.
3151 if test "${enable_official_build+set}" = set; then
3152 enableval=$enable_official_build;
3153 if test "$enableval" = yes; then
3154 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
3155 else
3156 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
3157 fi
3158
3159 else
3160
3161 wx_cv_use_official_build='wxUSE_OFFICIAL_BUILD=${'DEFAULT_wxUSE_OFFICIAL_BUILD":-$defaultval}"
3162
3163 fi
3164
3165
3166 eval "$wx_cv_use_official_build"
3167
3168 if test x"$enablestring" = xdisable; then
3169 if test $wxUSE_OFFICIAL_BUILD = yes; then
3170 result=no
3171 else
3172 result=yes
3173 fi
3174 else
3175 result=$wxUSE_OFFICIAL_BUILD
3176 fi
3177
3178 { echo "$as_me:$LINENO: result: $result" >&5
3179 echo "${ECHO_T}$result" >&6; }
3180
3181 # Check whether --enable-vendor was given.
3182 if test "${enable_vendor+set}" = set; then
3183 enableval=$enable_vendor; VENDOR="$enableval"
3184 fi
3185
3186 if test "x$VENDOR" = "x"; then
3187 VENDOR="custom"
3188 fi
3189
3190
3191 enablestring=disable
3192 defaultval=
3193 if test -z "$defaultval"; then
3194 if test x"$enablestring" = xdisable; then
3195 defaultval=yes
3196 else
3197 defaultval=no
3198 fi
3199 fi
3200
3201 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-all-features" >&5
3202 echo $ECHO_N "checking for --${enablestring:-enable}-all-features... $ECHO_C" >&6; }
3203 # Check whether --enable-all-features was given.
3204 if test "${enable_all_features+set}" = set; then
3205 enableval=$enable_all_features;
3206 if test "$enableval" = yes; then
3207 wx_cv_use_all_features='wxUSE_ALL_FEATURES=yes'
3208 else
3209 wx_cv_use_all_features='wxUSE_ALL_FEATURES=no'
3210 fi
3211
3212 else
3213
3214 wx_cv_use_all_features='wxUSE_ALL_FEATURES=${'DEFAULT_wxUSE_ALL_FEATURES":-$defaultval}"
3215
3216 fi
3217
3218
3219 eval "$wx_cv_use_all_features"
3220
3221 if test x"$enablestring" = xdisable; then
3222 if test $wxUSE_ALL_FEATURES = yes; then
3223 result=no
3224 else
3225 result=yes
3226 fi
3227 else
3228 result=$wxUSE_ALL_FEATURES
3229 fi
3230
3231 { echo "$as_me:$LINENO: result: $result" >&5
3232 echo "${ECHO_T}$result" >&6; }
3233
3234
3235
3236 if test "$wxUSE_GUI" = "yes"; then
3237
3238
3239 enablestring=
3240 defaultval=
3241 if test -z "$defaultval"; then
3242 if test x"$enablestring" = xdisable; then
3243 defaultval=yes
3244 else
3245 defaultval=no
3246 fi
3247 fi
3248
3249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3250 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3251 # Check whether --enable-universal was given.
3252 if test "${enable_universal+set}" = set; then
3253 enableval=$enable_universal;
3254 if test "$enableval" = yes; then
3255 wx_cv_use_universal='wxUSE_UNIVERSAL=yes'
3256 else
3257 wx_cv_use_universal='wxUSE_UNIVERSAL=no'
3258 fi
3259
3260 else
3261
3262 wx_cv_use_universal='wxUSE_UNIVERSAL=${'DEFAULT_wxUSE_UNIVERSAL":-$defaultval}"
3263
3264 fi
3265
3266
3267 eval "$wx_cv_use_universal"
3268
3269 if test x"$enablestring" = xdisable; then
3270 if test $wxUSE_UNIVERSAL = yes; then
3271 result=no
3272 else
3273 result=yes
3274 fi
3275 else
3276 result=$wxUSE_UNIVERSAL
3277 fi
3278
3279 { echo "$as_me:$LINENO: result: $result" >&5
3280 echo "${ECHO_T}$result" >&6; }
3281
3282 if test "$wxUSE_UNIVERSAL" = "yes"; then
3283
3284 # Check whether --with-themes was given.
3285 if test "${with_themes+set}" = set; then
3286 withval=$with_themes; wxUNIV_THEMES="$withval"
3287 fi
3288
3289 fi
3290
3291
3292 # Check whether --with-gtk was given.
3293 if test "${with_gtk+set}" = set; then
3294 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3295 fi
3296
3297
3298 # Check whether --with-motif was given.
3299 if test "${with_motif+set}" = set; then
3300 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3301 fi
3302
3303
3304 # Check whether --with-mac was given.
3305 if test "${with_mac+set}" = set; then
3306 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3307 fi
3308
3309
3310 # Check whether --with-cocoa was given.
3311 if test "${with_cocoa+set}" = set; then
3312 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3313 fi
3314
3315
3316 # Check whether --with-wine was given.
3317 if test "${with_wine+set}" = set; then
3318 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3319 fi
3320
3321
3322 # Check whether --with-msw was given.
3323 if test "${with_msw+set}" = set; then
3324 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3325 fi
3326
3327
3328 # Check whether --with-pm was given.
3329 if test "${with_pm+set}" = set; then
3330 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3331 fi
3332
3333
3334 # Check whether --with-mgl was given.
3335 if test "${with_mgl+set}" = set; then
3336 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3337 fi
3338
3339
3340 # Check whether --with-directfb was given.
3341 if test "${with_directfb+set}" = set; then
3342 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3343 fi
3344
3345
3346 # Check whether --with-microwin was given.
3347 if test "${with_microwin+set}" = set; then
3348 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3349 fi
3350
3351
3352 # Check whether --with-x11 was given.
3353 if test "${with_x11+set}" = set; then
3354 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3355 fi
3356
3357
3358 enablestring=
3359 defaultval=
3360 if test -z "$defaultval"; then
3361 if test x"$enablestring" = xdisable; then
3362 defaultval=yes
3363 else
3364 defaultval=no
3365 fi
3366 fi
3367
3368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3369 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3370 # Check whether --enable-nanox was given.
3371 if test "${enable_nanox+set}" = set; then
3372 enableval=$enable_nanox;
3373 if test "$enableval" = yes; then
3374 wx_cv_use_nanox='wxUSE_NANOX=yes'
3375 else
3376 wx_cv_use_nanox='wxUSE_NANOX=no'
3377 fi
3378
3379 else
3380
3381 wx_cv_use_nanox='wxUSE_NANOX=${'DEFAULT_wxUSE_NANOX":-$defaultval}"
3382
3383 fi
3384
3385
3386 eval "$wx_cv_use_nanox"
3387
3388 if test x"$enablestring" = xdisable; then
3389 if test $wxUSE_NANOX = yes; then
3390 result=no
3391 else
3392 result=yes
3393 fi
3394 else
3395 result=$wxUSE_NANOX
3396 fi
3397
3398 { echo "$as_me:$LINENO: result: $result" >&5
3399 echo "${ECHO_T}$result" >&6; }
3400
3401
3402 # Check whether --enable-gtk2 was given.
3403 if test "${enable_gtk2+set}" = set; then
3404 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3405 fi
3406
3407
3408 enablestring=
3409 defaultval=
3410 if test -z "$defaultval"; then
3411 if test x"$enablestring" = xdisable; then
3412 defaultval=yes
3413 else
3414 defaultval=no
3415 fi
3416 fi
3417
3418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3419 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3420 # Check whether --enable-gpe was given.
3421 if test "${enable_gpe+set}" = set; then
3422 enableval=$enable_gpe;
3423 if test "$enableval" = yes; then
3424 wx_cv_use_gpe='wxUSE_GPE=yes'
3425 else
3426 wx_cv_use_gpe='wxUSE_GPE=no'
3427 fi
3428
3429 else
3430
3431 wx_cv_use_gpe='wxUSE_GPE=${'DEFAULT_wxUSE_GPE":-$defaultval}"
3432
3433 fi
3434
3435
3436 eval "$wx_cv_use_gpe"
3437
3438 if test x"$enablestring" = xdisable; then
3439 if test $wxUSE_GPE = yes; then
3440 result=no
3441 else
3442 result=yes
3443 fi
3444 else
3445 result=$wxUSE_GPE
3446 fi
3447
3448 { echo "$as_me:$LINENO: result: $result" >&5
3449 echo "${ECHO_T}$result" >&6; }
3450
3451
3452
3453 { echo "$as_me:$LINENO: checking for toolkit" >&5
3454 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
3455
3456 # In Wine, we need to default to MSW, not GTK or MOTIF
3457 if test "$wxUSE_WINE" = "yes"; then
3458 DEFAULT_DEFAULT_wxUSE_GTK=0
3459 DEFAULT_DEFAULT_wxUSE_MOTIF=0
3460 DEFAULT_DEFAULT_wxUSE_MSW=1
3461 wxUSE_SHARED=no
3462 CC=${CC:-winegcc}
3463 CXX=${CXX:-wineg++}
3464 fi
3465
3466
3467 if test "$wxUSE_GUI" = "yes"; then
3468
3469 if test "$USE_BEOS" = 1; then
3470 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
3471 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
3472 { (exit 1); exit 1; }; }
3473 fi
3474
3475 if test "$TOOLKIT_GIVEN" = 1; then
3476 for toolkit in $ALL_TOOLKITS; do
3477 var=wxUSE_$toolkit
3478 eval "value=\$${var}"
3479 if test "x$value" = "xno"; then
3480 eval "$var=0"
3481 elif test "x$value" != "x"; then
3482 eval "$var=1"
3483 fi
3484
3485 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
3486 eval "wx${toolkit}_VERSION=$value"
3487 fi
3488 done
3489 else
3490 for toolkit in $ALL_TOOLKITS; do
3491 var=DEFAULT_DEFAULT_wxUSE_$toolkit
3492 eval "wxUSE_$toolkit=\$${var}"
3493 done
3494 fi
3495
3496 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
3497 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
3498 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
3499
3500 case "${host}" in
3501 *-pc-os2_emx | *-pc-os2-emx )
3502 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
3503 esac
3504
3505 case "$NUM_TOOLKITS" in
3506 1)
3507 ;;
3508 0)
3509 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
3510 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
3511 { (exit 1); exit 1; }; }
3512 ;;
3513 *)
3514 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit" >&5
3515 echo "$as_me: error: Please specify at most one toolkit" >&2;}
3516 { (exit 1); exit 1; }; }
3517 esac
3518
3519 # to be removed when --disable-gtk2 isn't needed
3520 if test "x$wxUSE_GTK2" = "xyes"; then
3521 wxGTK_VERSION=2
3522 elif test "x$wxUSE_GTK2" = "xno"; then
3523 wxGTK_VERSION=1
3524 fi
3525
3526 for toolkit in $ALL_TOOLKITS; do
3527 var=wxUSE_$toolkit
3528 eval "value=\$${var}"
3529 if test "$value" = 1; then
3530 toolkit_echo=`echo $toolkit | tr '[A-Z]' '[a-z]'`
3531 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
3532 echo "${ECHO_T}$toolkit_echo" >&6; }
3533 fi
3534 done
3535 else
3536 if test "x$host_alias" != "x"; then
3537 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
3538 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
3539 else
3540 { echo "$as_me:$LINENO: result: base only" >&5
3541 echo "${ECHO_T}base only" >&6; }
3542 fi
3543 fi
3544
3545
3546
3547 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3548 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3549
3550 # Check whether --with-libpng was given.
3551 if test "${with_libpng+set}" = set; then
3552 withval=$with_libpng;
3553 if test "$withval" = yes; then
3554 wx_cv_use_libpng='wxUSE_LIBPNG=yes'
3555 elif test "$withval" = no; then
3556 wx_cv_use_libpng='wxUSE_LIBPNG=no'
3557 elif test "$withval" = sys; then
3558 wx_cv_use_libpng='wxUSE_LIBPNG=sys'
3559 elif test "$withval" = builtin; then
3560 wx_cv_use_libpng='wxUSE_LIBPNG=builtin'
3561 else
3562 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3563 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3564 { (exit 1); exit 1; }; }
3565 fi
3566
3567 else
3568
3569 wx_cv_use_libpng='wxUSE_LIBPNG=${'DEFAULT_wxUSE_LIBPNG":-$wxUSE_ALL_FEATURES}"
3570
3571 fi
3572
3573
3574 eval "$wx_cv_use_libpng"
3575
3576 if test "$wxUSE_LIBPNG" = yes; then
3577 { echo "$as_me:$LINENO: result: yes" >&5
3578 echo "${ECHO_T}yes" >&6; }
3579 elif test "$wxUSE_LIBPNG" = no; then
3580 { echo "$as_me:$LINENO: result: no" >&5
3581 echo "${ECHO_T}no" >&6; }
3582 elif test "$wxUSE_LIBPNG" = sys; then
3583 { echo "$as_me:$LINENO: result: system version" >&5
3584 echo "${ECHO_T}system version" >&6; }
3585 elif test "$wxUSE_LIBPNG" = builtin; then
3586 { echo "$as_me:$LINENO: result: builtin version" >&5
3587 echo "${ECHO_T}builtin version" >&6; }
3588 else
3589 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3590 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3591 { (exit 1); exit 1; }; }
3592 fi
3593
3594
3595 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3596 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3597
3598 # Check whether --with-libjpeg was given.
3599 if test "${with_libjpeg+set}" = set; then
3600 withval=$with_libjpeg;
3601 if test "$withval" = yes; then
3602 wx_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3603 elif test "$withval" = no; then
3604 wx_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3605 elif test "$withval" = sys; then
3606 wx_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3607 elif test "$withval" = builtin; then
3608 wx_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3609 else
3610 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3611 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3612 { (exit 1); exit 1; }; }
3613 fi
3614
3615 else
3616
3617 wx_cv_use_libjpeg='wxUSE_LIBJPEG=${'DEFAULT_wxUSE_LIBJPEG":-$wxUSE_ALL_FEATURES}"
3618
3619 fi
3620
3621
3622 eval "$wx_cv_use_libjpeg"
3623
3624 if test "$wxUSE_LIBJPEG" = yes; then
3625 { echo "$as_me:$LINENO: result: yes" >&5
3626 echo "${ECHO_T}yes" >&6; }
3627 elif test "$wxUSE_LIBJPEG" = no; then
3628 { echo "$as_me:$LINENO: result: no" >&5
3629 echo "${ECHO_T}no" >&6; }
3630 elif test "$wxUSE_LIBJPEG" = sys; then
3631 { echo "$as_me:$LINENO: result: system version" >&5
3632 echo "${ECHO_T}system version" >&6; }
3633 elif test "$wxUSE_LIBJPEG" = builtin; then
3634 { echo "$as_me:$LINENO: result: builtin version" >&5
3635 echo "${ECHO_T}builtin version" >&6; }
3636 else
3637 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3638 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3639 { (exit 1); exit 1; }; }
3640 fi
3641
3642
3643 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3644 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3645
3646 # Check whether --with-libtiff was given.
3647 if test "${with_libtiff+set}" = set; then
3648 withval=$with_libtiff;
3649 if test "$withval" = yes; then
3650 wx_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3651 elif test "$withval" = no; then
3652 wx_cv_use_libtiff='wxUSE_LIBTIFF=no'
3653 elif test "$withval" = sys; then
3654 wx_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3655 elif test "$withval" = builtin; then
3656 wx_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3657 else
3658 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3659 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3660 { (exit 1); exit 1; }; }
3661 fi
3662
3663 else
3664
3665 wx_cv_use_libtiff='wxUSE_LIBTIFF=${'DEFAULT_wxUSE_LIBTIFF":-$wxUSE_ALL_FEATURES}"
3666
3667 fi
3668
3669
3670 eval "$wx_cv_use_libtiff"
3671
3672 if test "$wxUSE_LIBTIFF" = yes; then
3673 { echo "$as_me:$LINENO: result: yes" >&5
3674 echo "${ECHO_T}yes" >&6; }
3675 elif test "$wxUSE_LIBTIFF" = no; then
3676 { echo "$as_me:$LINENO: result: no" >&5
3677 echo "${ECHO_T}no" >&6; }
3678 elif test "$wxUSE_LIBTIFF" = sys; then
3679 { echo "$as_me:$LINENO: result: system version" >&5
3680 echo "${ECHO_T}system version" >&6; }
3681 elif test "$wxUSE_LIBTIFF" = builtin; then
3682 { echo "$as_me:$LINENO: result: builtin version" >&5
3683 echo "${ECHO_T}builtin version" >&6; }
3684 else
3685 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3686 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3687 { (exit 1); exit 1; }; }
3688 fi
3689
3690
3691 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3692 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3693
3694 # Check whether --with-libxpm was given.
3695 if test "${with_libxpm+set}" = set; then
3696 withval=$with_libxpm;
3697 if test "$withval" = yes; then
3698 wx_cv_use_libxpm='wxUSE_LIBXPM=yes'
3699 elif test "$withval" = no; then
3700 wx_cv_use_libxpm='wxUSE_LIBXPM=no'
3701 elif test "$withval" = sys; then
3702 wx_cv_use_libxpm='wxUSE_LIBXPM=sys'
3703 elif test "$withval" = builtin; then
3704 wx_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3705 else
3706 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3707 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3708 { (exit 1); exit 1; }; }
3709 fi
3710
3711 else
3712
3713 wx_cv_use_libxpm='wxUSE_LIBXPM=${'DEFAULT_wxUSE_LIBXPM":-$wxUSE_ALL_FEATURES}"
3714
3715 fi
3716
3717
3718 eval "$wx_cv_use_libxpm"
3719
3720 if test "$wxUSE_LIBXPM" = yes; then
3721 { echo "$as_me:$LINENO: result: yes" >&5
3722 echo "${ECHO_T}yes" >&6; }
3723 elif test "$wxUSE_LIBXPM" = no; then
3724 { echo "$as_me:$LINENO: result: no" >&5
3725 echo "${ECHO_T}no" >&6; }
3726 elif test "$wxUSE_LIBXPM" = sys; then
3727 { echo "$as_me:$LINENO: result: system version" >&5
3728 echo "${ECHO_T}system version" >&6; }
3729 elif test "$wxUSE_LIBXPM" = builtin; then
3730 { echo "$as_me:$LINENO: result: builtin version" >&5
3731 echo "${ECHO_T}builtin version" >&6; }
3732 else
3733 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3734 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3735 { (exit 1); exit 1; }; }
3736 fi
3737
3738
3739 withstring=
3740 defaultval=$wxUSE_ALL_FEATURES
3741 if test -z "$defaultval"; then
3742 if test x"$withstring" = xwithout; then
3743 defaultval=yes
3744 else
3745 defaultval=no
3746 fi
3747 fi
3748 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libiconv" >&5
3749 echo $ECHO_N "checking for --${withstring:-with}-libiconv... $ECHO_C" >&6; }
3750
3751 # Check whether --with-libiconv was given.
3752 if test "${with_libiconv+set}" = set; then
3753 withval=$with_libiconv;
3754 if test "$withval" = yes; then
3755 wx_cv_use_libiconv='wxUSE_LIBICONV=yes'
3756 else
3757 wx_cv_use_libiconv='wxUSE_LIBICONV=no'
3758 fi
3759
3760 else
3761
3762 wx_cv_use_libiconv='wxUSE_LIBICONV=${'DEFAULT_wxUSE_LIBICONV":-$defaultval}"
3763
3764 fi
3765
3766
3767 eval "$wx_cv_use_libiconv"
3768
3769 if test x"$withstring" = xwithout; then
3770 if test $wxUSE_LIBICONV = yes; then
3771 result=no
3772 else
3773 result=yes
3774 fi
3775 else
3776 result=$wxUSE_LIBICONV
3777 fi
3778
3779 { echo "$as_me:$LINENO: result: $result" >&5
3780 echo "${ECHO_T}$result" >&6; }
3781
3782
3783 withstring=
3784 defaultval=$wxUSE_ALL_FEATURES
3785 if test -z "$defaultval"; then
3786 if test x"$withstring" = xwithout; then
3787 defaultval=yes
3788 else
3789 defaultval=no
3790 fi
3791 fi
3792 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3793 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3794
3795 # Check whether --with-libmspack was given.
3796 if test "${with_libmspack+set}" = set; then
3797 withval=$with_libmspack;
3798 if test "$withval" = yes; then
3799 wx_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3800 else
3801 wx_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3802 fi
3803
3804 else
3805
3806 wx_cv_use_libmspack='wxUSE_LIBMSPACK=${'DEFAULT_wxUSE_LIBMSPACK":-$defaultval}"
3807
3808 fi
3809
3810
3811 eval "$wx_cv_use_libmspack"
3812
3813 if test x"$withstring" = xwithout; then
3814 if test $wxUSE_LIBMSPACK = yes; then
3815 result=no
3816 else
3817 result=yes
3818 fi
3819 else
3820 result=$wxUSE_LIBMSPACK
3821 fi
3822
3823 { echo "$as_me:$LINENO: result: $result" >&5
3824 echo "${ECHO_T}$result" >&6; }
3825
3826
3827 withstring=without
3828 defaultval=$wxUSE_ALL_FEATURES
3829 if test -z "$defaultval"; then
3830 if test x"$withstring" = xwithout; then
3831 defaultval=yes
3832 else
3833 defaultval=no
3834 fi
3835 fi
3836 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gtkprint" >&5
3837 echo $ECHO_N "checking for --${withstring:-with}-gtkprint... $ECHO_C" >&6; }
3838
3839 # Check whether --with-gtkprint was given.
3840 if test "${with_gtkprint+set}" = set; then
3841 withval=$with_gtkprint;
3842 if test "$withval" = yes; then
3843 wx_cv_use_gtkprint='wxUSE_GTKPRINT=yes'
3844 else
3845 wx_cv_use_gtkprint='wxUSE_GTKPRINT=no'
3846 fi
3847
3848 else
3849
3850 wx_cv_use_gtkprint='wxUSE_GTKPRINT=${'DEFAULT_wxUSE_GTKPRINT":-$defaultval}"
3851
3852 fi
3853
3854
3855 eval "$wx_cv_use_gtkprint"
3856
3857 if test x"$withstring" = xwithout; then
3858 if test $wxUSE_GTKPRINT = yes; then
3859 result=no
3860 else
3861 result=yes
3862 fi
3863 else
3864 result=$wxUSE_GTKPRINT
3865 fi
3866
3867 { echo "$as_me:$LINENO: result: $result" >&5
3868 echo "${ECHO_T}$result" >&6; }
3869
3870
3871 withstring=without
3872 defaultval=$wxUSE_ALL_FEATURES
3873 if test -z "$defaultval"; then
3874 if test x"$withstring" = xwithout; then
3875 defaultval=yes
3876 else
3877 defaultval=no
3878 fi
3879 fi
3880 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
3881 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
3882
3883 # Check whether --with-gnomeprint was given.
3884 if test "${with_gnomeprint+set}" = set; then
3885 withval=$with_gnomeprint;
3886 if test "$withval" = yes; then
3887 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
3888 else
3889 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
3890 fi
3891
3892 else
3893
3894 wx_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=${'DEFAULT_wxUSE_LIBGNOMEPRINT":-$defaultval}"
3895
3896 fi
3897
3898
3899 eval "$wx_cv_use_gnomeprint"
3900
3901 if test x"$withstring" = xwithout; then
3902 if test $wxUSE_LIBGNOMEPRINT = yes; then
3903 result=no
3904 else
3905 result=yes
3906 fi
3907 else
3908 result=$wxUSE_LIBGNOMEPRINT
3909 fi
3910
3911 { echo "$as_me:$LINENO: result: $result" >&5
3912 echo "${ECHO_T}$result" >&6; }
3913
3914
3915 withstring=
3916 defaultval=$wxUSE_ALL_FEATURES
3917 if test -z "$defaultval"; then
3918 if test x"$withstring" = xwithout; then
3919 defaultval=yes
3920 else
3921 defaultval=no
3922 fi
3923 fi
3924 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
3925 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
3926
3927 # Check whether --with-gnomevfs was given.
3928 if test "${with_gnomevfs+set}" = set; then
3929 withval=$with_gnomevfs;
3930 if test "$withval" = yes; then
3931 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
3932 else
3933 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
3934 fi
3935
3936 else
3937
3938 wx_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=${'DEFAULT_wxUSE_LIBGNOMEVFS":-$defaultval}"
3939
3940 fi
3941
3942
3943 eval "$wx_cv_use_gnomevfs"
3944
3945 if test x"$withstring" = xwithout; then
3946 if test $wxUSE_LIBGNOMEVFS = yes; then
3947 result=no
3948 else
3949 result=yes
3950 fi
3951 else
3952 result=$wxUSE_LIBGNOMEVFS
3953 fi
3954
3955 { echo "$as_me:$LINENO: result: $result" >&5
3956 echo "${ECHO_T}$result" >&6; }
3957
3958
3959 withstring=
3960 defaultval=$wxUSE_ALL_FEATURES
3961 if test -z "$defaultval"; then
3962 if test x"$withstring" = xwithout; then
3963 defaultval=yes
3964 else
3965 defaultval=no
3966 fi
3967 fi
3968 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
3969 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
3970
3971 # Check whether --with-hildon was given.
3972 if test "${with_hildon+set}" = set; then
3973 withval=$with_hildon;
3974 if test "$withval" = yes; then
3975 wx_cv_use_hildon='wxUSE_LIBHILDON=yes'
3976 else
3977 wx_cv_use_hildon='wxUSE_LIBHILDON=no'
3978 fi
3979
3980 else
3981
3982 wx_cv_use_hildon='wxUSE_LIBHILDON=${'DEFAULT_wxUSE_LIBHILDON":-$defaultval}"
3983
3984 fi
3985
3986
3987 eval "$wx_cv_use_hildon"
3988
3989 if test x"$withstring" = xwithout; then
3990 if test $wxUSE_LIBHILDON = yes; then
3991 result=no
3992 else
3993 result=yes
3994 fi
3995 else
3996 result=$wxUSE_LIBHILDON
3997 fi
3998
3999 { echo "$as_me:$LINENO: result: $result" >&5
4000 echo "${ECHO_T}$result" >&6; }
4001
4002
4003 withstring=
4004 defaultval=$wxUSE_ALL_FEATURES
4005 if test -z "$defaultval"; then
4006 if test x"$withstring" = xwithout; then
4007 defaultval=yes
4008 else
4009 defaultval=no
4010 fi
4011 fi
4012 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4013 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4014
4015 # Check whether --with-opengl was given.
4016 if test "${with_opengl+set}" = set; then
4017 withval=$with_opengl;
4018 if test "$withval" = yes; then
4019 wx_cv_use_opengl='wxUSE_OPENGL=yes'
4020 else
4021 wx_cv_use_opengl='wxUSE_OPENGL=no'
4022 fi
4023
4024 else
4025
4026 wx_cv_use_opengl='wxUSE_OPENGL=${'DEFAULT_wxUSE_OPENGL":-$defaultval}"
4027
4028 fi
4029
4030
4031 eval "$wx_cv_use_opengl"
4032
4033 if test x"$withstring" = xwithout; then
4034 if test $wxUSE_OPENGL = yes; then
4035 result=no
4036 else
4037 result=yes
4038 fi
4039 else
4040 result=$wxUSE_OPENGL
4041 fi
4042
4043 { echo "$as_me:$LINENO: result: $result" >&5
4044 echo "${ECHO_T}$result" >&6; }
4045
4046
4047 fi
4048
4049
4050 withstring=
4051 defaultval=$wxUSE_ALL_FEATURES
4052 if test -z "$defaultval"; then
4053 if test x"$withstring" = xwithout; then
4054 defaultval=yes
4055 else
4056 defaultval=no
4057 fi
4058 fi
4059 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4060 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4061
4062 # Check whether --with-dmalloc was given.
4063 if test "${with_dmalloc+set}" = set; then
4064 withval=$with_dmalloc;
4065 if test "$withval" = yes; then
4066 wx_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4067 else
4068 wx_cv_use_dmalloc='wxUSE_DMALLOC=no'
4069 fi
4070
4071 else
4072
4073 wx_cv_use_dmalloc='wxUSE_DMALLOC=${'DEFAULT_wxUSE_DMALLOC":-$defaultval}"
4074
4075 fi
4076
4077
4078 eval "$wx_cv_use_dmalloc"
4079
4080 if test x"$withstring" = xwithout; then
4081 if test $wxUSE_DMALLOC = yes; then
4082 result=no
4083 else
4084 result=yes
4085 fi
4086 else
4087 result=$wxUSE_DMALLOC
4088 fi
4089
4090 { echo "$as_me:$LINENO: result: $result" >&5
4091 echo "${ECHO_T}$result" >&6; }
4092
4093
4094 withstring=
4095 defaultval=$wxUSE_ALL_FEATURES
4096 if test -z "$defaultval"; then
4097 if test x"$withstring" = xwithout; then
4098 defaultval=yes
4099 else
4100 defaultval=no
4101 fi
4102 fi
4103 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4104 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4105
4106 # Check whether --with-sdl was given.
4107 if test "${with_sdl+set}" = set; then
4108 withval=$with_sdl;
4109 if test "$withval" = yes; then
4110 wx_cv_use_sdl='wxUSE_LIBSDL=yes'
4111 else
4112 wx_cv_use_sdl='wxUSE_LIBSDL=no'
4113 fi
4114
4115 else
4116
4117 wx_cv_use_sdl='wxUSE_LIBSDL=${'DEFAULT_wxUSE_LIBSDL":-$defaultval}"
4118
4119 fi
4120
4121
4122 eval "$wx_cv_use_sdl"
4123
4124 if test x"$withstring" = xwithout; then
4125 if test $wxUSE_LIBSDL = yes; then
4126 result=no
4127 else
4128 result=yes
4129 fi
4130 else
4131 result=$wxUSE_LIBSDL
4132 fi
4133
4134 { echo "$as_me:$LINENO: result: $result" >&5
4135 echo "${ECHO_T}$result" >&6; }
4136
4137
4138 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4139 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4140
4141 # Check whether --with-regex was given.
4142 if test "${with_regex+set}" = set; then
4143 withval=$with_regex;
4144 if test "$withval" = yes; then
4145 wx_cv_use_regex='wxUSE_REGEX=yes'
4146 elif test "$withval" = no; then
4147 wx_cv_use_regex='wxUSE_REGEX=no'
4148 elif test "$withval" = sys; then
4149 wx_cv_use_regex='wxUSE_REGEX=sys'
4150 elif test "$withval" = builtin; then
4151 wx_cv_use_regex='wxUSE_REGEX=builtin'
4152 else
4153 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4154 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4155 { (exit 1); exit 1; }; }
4156 fi
4157
4158 else
4159
4160 wx_cv_use_regex='wxUSE_REGEX=${'DEFAULT_wxUSE_REGEX":-$wxUSE_ALL_FEATURES}"
4161
4162 fi
4163
4164
4165 eval "$wx_cv_use_regex"
4166
4167 if test "$wxUSE_REGEX" = yes; then
4168 { echo "$as_me:$LINENO: result: yes" >&5
4169 echo "${ECHO_T}yes" >&6; }
4170 elif test "$wxUSE_REGEX" = no; then
4171 { echo "$as_me:$LINENO: result: no" >&5
4172 echo "${ECHO_T}no" >&6; }
4173 elif test "$wxUSE_REGEX" = sys; then
4174 { echo "$as_me:$LINENO: result: system version" >&5
4175 echo "${ECHO_T}system version" >&6; }
4176 elif test "$wxUSE_REGEX" = builtin; then
4177 { echo "$as_me:$LINENO: result: builtin version" >&5
4178 echo "${ECHO_T}builtin version" >&6; }
4179 else
4180 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4181 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4182 { (exit 1); exit 1; }; }
4183 fi
4184
4185
4186 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4187 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4188
4189 # Check whether --with-zlib was given.
4190 if test "${with_zlib+set}" = set; then
4191 withval=$with_zlib;
4192 if test "$withval" = yes; then
4193 wx_cv_use_zlib='wxUSE_ZLIB=yes'
4194 elif test "$withval" = no; then
4195 wx_cv_use_zlib='wxUSE_ZLIB=no'
4196 elif test "$withval" = sys; then
4197 wx_cv_use_zlib='wxUSE_ZLIB=sys'
4198 elif test "$withval" = builtin; then
4199 wx_cv_use_zlib='wxUSE_ZLIB=builtin'
4200 else
4201 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4202 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4203 { (exit 1); exit 1; }; }
4204 fi
4205
4206 else
4207
4208 wx_cv_use_zlib='wxUSE_ZLIB=${'DEFAULT_wxUSE_ZLIB":-$wxUSE_ALL_FEATURES}"
4209
4210 fi
4211
4212
4213 eval "$wx_cv_use_zlib"
4214
4215 if test "$wxUSE_ZLIB" = yes; then
4216 { echo "$as_me:$LINENO: result: yes" >&5
4217 echo "${ECHO_T}yes" >&6; }
4218 elif test "$wxUSE_ZLIB" = no; then
4219 { echo "$as_me:$LINENO: result: no" >&5
4220 echo "${ECHO_T}no" >&6; }
4221 elif test "$wxUSE_ZLIB" = sys; then
4222 { echo "$as_me:$LINENO: result: system version" >&5
4223 echo "${ECHO_T}system version" >&6; }
4224 elif test "$wxUSE_ZLIB" = builtin; then
4225 { echo "$as_me:$LINENO: result: builtin version" >&5
4226 echo "${ECHO_T}builtin version" >&6; }
4227 else
4228 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4229 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4230 { (exit 1); exit 1; }; }
4231 fi
4232
4233
4234 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4235 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4236
4237 # Check whether --with-expat was given.
4238 if test "${with_expat+set}" = set; then
4239 withval=$with_expat;
4240 if test "$withval" = yes; then
4241 wx_cv_use_expat='wxUSE_EXPAT=yes'
4242 elif test "$withval" = no; then
4243 wx_cv_use_expat='wxUSE_EXPAT=no'
4244 elif test "$withval" = sys; then
4245 wx_cv_use_expat='wxUSE_EXPAT=sys'
4246 elif test "$withval" = builtin; then
4247 wx_cv_use_expat='wxUSE_EXPAT=builtin'
4248 else
4249 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4250 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4251 { (exit 1); exit 1; }; }
4252 fi
4253
4254 else
4255
4256 wx_cv_use_expat='wxUSE_EXPAT=${'DEFAULT_wxUSE_EXPAT":-$wxUSE_ALL_FEATURES}"
4257
4258 fi
4259
4260
4261 eval "$wx_cv_use_expat"
4262
4263 if test "$wxUSE_EXPAT" = yes; then
4264 { echo "$as_me:$LINENO: result: yes" >&5
4265 echo "${ECHO_T}yes" >&6; }
4266 elif test "$wxUSE_EXPAT" = no; then
4267 { echo "$as_me:$LINENO: result: no" >&5
4268 echo "${ECHO_T}no" >&6; }
4269 elif test "$wxUSE_EXPAT" = sys; then
4270 { echo "$as_me:$LINENO: result: system version" >&5
4271 echo "${ECHO_T}system version" >&6; }
4272 elif test "$wxUSE_EXPAT" = builtin; then
4273 { echo "$as_me:$LINENO: result: builtin version" >&5
4274 echo "${ECHO_T}builtin version" >&6; }
4275 else
4276 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4277 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4278 { (exit 1); exit 1; }; }
4279 fi
4280
4281
4282 { echo "$as_me:$LINENO: checking for --with-macosx-sdk" >&5
4283 echo $ECHO_N "checking for --with-macosx-sdk... $ECHO_C" >&6; }
4284
4285 # Check whether --with-macosx-sdk was given.
4286 if test "${with_macosx_sdk+set}" = set; then
4287 withval=$with_macosx_sdk;
4288 wxUSE_MACOSX_SDK=$withval
4289 wx_cv_use_macosx_sdk="wxUSE_MACOSX_SDK=$withval"
4290
4291 fi
4292
4293 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_SDK" >&5
4294 echo "${ECHO_T}$wxUSE_MACOSX_SDK" >&6; }
4295
4296 { echo "$as_me:$LINENO: checking for --with-macosx-version-min" >&5
4297 echo $ECHO_N "checking for --with-macosx-version-min... $ECHO_C" >&6; }
4298
4299 # Check whether --with-macosx-version-min was given.
4300 if test "${with_macosx_version_min+set}" = set; then
4301 withval=$with_macosx_version_min;
4302 wxUSE_MACOSX_VERSION_MIN=$withval
4303 wx_cv_use_macosx_version_min="wxUSE_MACOSX_VERSION_MIN=$withval"
4304
4305 fi
4306
4307 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
4308 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
4309
4310
4311
4312 enablestring=disable
4313 defaultval=
4314 if test -z "$defaultval"; then
4315 if test x"$enablestring" = xdisable; then
4316 defaultval=yes
4317 else
4318 defaultval=no
4319 fi
4320 fi
4321
4322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4323 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4324 # Check whether --enable-shared was given.
4325 if test "${enable_shared+set}" = set; then
4326 enableval=$enable_shared;
4327 if test "$enableval" = yes; then
4328 wx_cv_use_shared='wxUSE_SHARED=yes'
4329 else
4330 wx_cv_use_shared='wxUSE_SHARED=no'
4331 fi
4332
4333 else
4334
4335 wx_cv_use_shared='wxUSE_SHARED=${'DEFAULT_wxUSE_SHARED":-$defaultval}"
4336
4337 fi
4338
4339
4340 eval "$wx_cv_use_shared"
4341
4342 if test x"$enablestring" = xdisable; then
4343 if test $wxUSE_SHARED = yes; then
4344 result=no
4345 else
4346 result=yes
4347 fi
4348 else
4349 result=$wxUSE_SHARED
4350 fi
4351
4352 { echo "$as_me:$LINENO: result: $result" >&5
4353 echo "${ECHO_T}$result" >&6; }
4354
4355
4356 enablestring=disable
4357 defaultval=
4358 if test -z "$defaultval"; then
4359 if test x"$enablestring" = xdisable; then
4360 defaultval=yes
4361 else
4362 defaultval=no
4363 fi
4364 fi
4365
4366 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4367 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4368 # Check whether --enable-optimise was given.
4369 if test "${enable_optimise+set}" = set; then
4370 enableval=$enable_optimise;
4371 if test "$enableval" = yes; then
4372 wx_cv_use_optimise='wxUSE_OPTIMISE=yes'
4373 else
4374 wx_cv_use_optimise='wxUSE_OPTIMISE=no'
4375 fi
4376
4377 else
4378
4379 wx_cv_use_optimise='wxUSE_OPTIMISE=${'DEFAULT_wxUSE_OPTIMISE":-$defaultval}"
4380
4381 fi
4382
4383
4384 eval "$wx_cv_use_optimise"
4385
4386 if test x"$enablestring" = xdisable; then
4387 if test $wxUSE_OPTIMISE = yes; then
4388 result=no
4389 else
4390 result=yes
4391 fi
4392 else
4393 result=$wxUSE_OPTIMISE
4394 fi
4395
4396 { echo "$as_me:$LINENO: result: $result" >&5
4397 echo "${ECHO_T}$result" >&6; }
4398
4399
4400 enablestring=
4401 defaultval=
4402 if test -z "$defaultval"; then
4403 if test x"$enablestring" = xdisable; then
4404 defaultval=yes
4405 else
4406 defaultval=no
4407 fi
4408 fi
4409
4410 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4411 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4412 # Check whether --enable-debug was given.
4413 if test "${enable_debug+set}" = set; then
4414 enableval=$enable_debug;
4415 if test "$enableval" = yes; then
4416 wx_cv_use_debug='wxUSE_DEBUG=yes'
4417 else
4418 wx_cv_use_debug='wxUSE_DEBUG=no'
4419 fi
4420
4421 else
4422
4423 wx_cv_use_debug='wxUSE_DEBUG=${'DEFAULT_wxUSE_DEBUG":-$defaultval}"
4424
4425 fi
4426
4427
4428 eval "$wx_cv_use_debug"
4429
4430 if test x"$enablestring" = xdisable; then
4431 if test $wxUSE_DEBUG = yes; then
4432 result=no
4433 else
4434 result=yes
4435 fi
4436 else
4437 result=$wxUSE_DEBUG
4438 fi
4439
4440 { echo "$as_me:$LINENO: result: $result" >&5
4441 echo "${ECHO_T}$result" >&6; }
4442
4443
4444 enablestring=
4445 defaultval=
4446 if test -z "$defaultval"; then
4447 if test x"$enablestring" = xdisable; then
4448 defaultval=yes
4449 else
4450 defaultval=no
4451 fi
4452 fi
4453
4454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4455 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4456 # Check whether --enable-stl was given.
4457 if test "${enable_stl+set}" = set; then
4458 enableval=$enable_stl;
4459 if test "$enableval" = yes; then
4460 wx_cv_use_stl='wxUSE_STL=yes'
4461 else
4462 wx_cv_use_stl='wxUSE_STL=no'
4463 fi
4464
4465 else
4466
4467 wx_cv_use_stl='wxUSE_STL=${'DEFAULT_wxUSE_STL":-$defaultval}"
4468
4469 fi
4470
4471
4472 eval "$wx_cv_use_stl"
4473
4474 if test x"$enablestring" = xdisable; then
4475 if test $wxUSE_STL = yes; then
4476 result=no
4477 else
4478 result=yes
4479 fi
4480 else
4481 result=$wxUSE_STL
4482 fi
4483
4484 { echo "$as_me:$LINENO: result: $result" >&5
4485 echo "${ECHO_T}$result" >&6; }
4486
4487
4488 enablestring=
4489 defaultval=
4490 if test -z "$defaultval"; then
4491 if test x"$enablestring" = xdisable; then
4492 defaultval=yes
4493 else
4494 defaultval=no
4495 fi
4496 fi
4497
4498 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
4499 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
4500 # Check whether --enable-std_iostreams was given.
4501 if test "${enable_std_iostreams+set}" = set; then
4502 enableval=$enable_std_iostreams;
4503 if test "$enableval" = yes; then
4504 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
4505 else
4506 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
4507 fi
4508
4509 else
4510
4511 wx_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=${'DEFAULT_wxUSE_STD_IOSTREAM":-$defaultval}"
4512
4513 fi
4514
4515
4516 eval "$wx_cv_use_std_iostreams"
4517
4518 if test x"$enablestring" = xdisable; then
4519 if test $wxUSE_STD_IOSTREAM = yes; then
4520 result=no
4521 else
4522 result=yes
4523 fi
4524 else
4525 result=$wxUSE_STD_IOSTREAM
4526 fi
4527
4528 { echo "$as_me:$LINENO: result: $result" >&5
4529 echo "${ECHO_T}$result" >&6; }
4530
4531
4532 enablestring=
4533 defaultval=
4534 if test -z "$defaultval"; then
4535 if test x"$enablestring" = xdisable; then
4536 defaultval=yes
4537 else
4538 defaultval=no
4539 fi
4540 fi
4541
4542 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
4543 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
4544 # Check whether --enable-std_string was given.
4545 if test "${enable_std_string+set}" = set; then
4546 enableval=$enable_std_string;
4547 if test "$enableval" = yes; then
4548 wx_cv_use_std_string='wxUSE_STD_STRING=yes'
4549 else
4550 wx_cv_use_std_string='wxUSE_STD_STRING=no'
4551 fi
4552
4553 else
4554
4555 wx_cv_use_std_string='wxUSE_STD_STRING=${'DEFAULT_wxUSE_STD_STRING":-$defaultval}"
4556
4557 fi
4558
4559
4560 eval "$wx_cv_use_std_string"
4561
4562 if test x"$enablestring" = xdisable; then
4563 if test $wxUSE_STD_STRING = yes; then
4564 result=no
4565 else
4566 result=yes
4567 fi
4568 else
4569 result=$wxUSE_STD_STRING
4570 fi
4571
4572 { echo "$as_me:$LINENO: result: $result" >&5
4573 echo "${ECHO_T}$result" >&6; }
4574
4575
4576 enablestring=disable
4577 defaultval=
4578 if test -z "$defaultval"; then
4579 if test x"$enablestring" = xdisable; then
4580 defaultval=yes
4581 else
4582 defaultval=no
4583 fi
4584 fi
4585
4586 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
4587 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
4588 # Check whether --enable-unicode was given.
4589 if test "${enable_unicode+set}" = set; then
4590 enableval=$enable_unicode;
4591 if test "$enableval" = yes; then
4592 wx_cv_use_unicode='wxUSE_UNICODE=yes'
4593 else
4594 wx_cv_use_unicode='wxUSE_UNICODE=no'
4595 fi
4596
4597 else
4598
4599 wx_cv_use_unicode='wxUSE_UNICODE=${'DEFAULT_wxUSE_UNICODE":-$defaultval}"
4600
4601 fi
4602
4603
4604 eval "$wx_cv_use_unicode"
4605
4606 if test x"$enablestring" = xdisable; then
4607 if test $wxUSE_UNICODE = yes; then
4608 result=no
4609 else
4610 result=yes
4611 fi
4612 else
4613 result=$wxUSE_UNICODE
4614 fi
4615
4616 { echo "$as_me:$LINENO: result: $result" >&5
4617 echo "${ECHO_T}$result" >&6; }
4618
4619
4620 enablestring=
4621 defaultval=
4622 if test -z "$defaultval"; then
4623 if test x"$enablestring" = xdisable; then
4624 defaultval=yes
4625 else
4626 defaultval=no
4627 fi
4628 fi
4629
4630 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
4631 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
4632 # Check whether --enable-mslu was given.
4633 if test "${enable_mslu+set}" = set; then
4634 enableval=$enable_mslu;
4635 if test "$enableval" = yes; then
4636 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
4637 else
4638 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
4639 fi
4640
4641 else
4642
4643 wx_cv_use_mslu='wxUSE_UNICODE_MSLU=${'DEFAULT_wxUSE_UNICODE_MSLU":-$defaultval}"
4644
4645 fi
4646
4647
4648 eval "$wx_cv_use_mslu"
4649
4650 if test x"$enablestring" = xdisable; then
4651 if test $wxUSE_UNICODE_MSLU = yes; then
4652 result=no
4653 else
4654 result=yes
4655 fi
4656 else
4657 result=$wxUSE_UNICODE_MSLU
4658 fi
4659
4660 { echo "$as_me:$LINENO: result: $result" >&5
4661 echo "${ECHO_T}$result" >&6; }
4662
4663
4664 enablestring=
4665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
4666 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
4667 # Check whether --enable-utf8 was given.
4668 if test "${enable_utf8+set}" = set; then
4669 enableval=$enable_utf8;
4670 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
4671
4672 else
4673
4674 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
4675
4676 fi
4677
4678
4679 eval "$wx_cv_use_utf8"
4680
4681 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
4682 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
4683
4684
4685 enablestring=
4686 defaultval=
4687 if test -z "$defaultval"; then
4688 if test x"$enablestring" = xdisable; then
4689 defaultval=yes
4690 else
4691 defaultval=no
4692 fi
4693 fi
4694
4695 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
4696 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
4697 # Check whether --enable-utf8only was given.
4698 if test "${enable_utf8only+set}" = set; then
4699 enableval=$enable_utf8only;
4700 if test "$enableval" = yes; then
4701 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
4702 else
4703 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
4704 fi
4705
4706 else
4707
4708 wx_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=${'DEFAULT_wxUSE_UNICODE_UTF8_LOCALE":-$defaultval}"
4709
4710 fi
4711
4712
4713 eval "$wx_cv_use_utf8only"
4714
4715 if test x"$enablestring" = xdisable; then
4716 if test $wxUSE_UNICODE_UTF8_LOCALE = yes; then
4717 result=no
4718 else
4719 result=yes
4720 fi
4721 else
4722 result=$wxUSE_UNICODE_UTF8_LOCALE
4723 fi
4724
4725 { echo "$as_me:$LINENO: result: $result" >&5
4726 echo "${ECHO_T}$result" >&6; }
4727
4728
4729 enablestring=
4730 defaultval=
4731 if test -z "$defaultval"; then
4732 if test x"$enablestring" = xdisable; then
4733 defaultval=yes
4734 else
4735 defaultval=no
4736 fi
4737 fi
4738
4739 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4740 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4741 # Check whether --enable-extended_rtti was given.
4742 if test "${enable_extended_rtti+set}" = set; then
4743 enableval=$enable_extended_rtti;
4744 if test "$enableval" = yes; then
4745 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4746 else
4747 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4748 fi
4749
4750 else
4751
4752 wx_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=${'DEFAULT_wxUSE_EXTENDED_RTTI":-$defaultval}"
4753
4754 fi
4755
4756
4757 eval "$wx_cv_use_extended_rtti"
4758
4759 if test x"$enablestring" = xdisable; then
4760 if test $wxUSE_EXTENDED_RTTI = yes; then
4761 result=no
4762 else
4763 result=yes
4764 fi
4765 else
4766 result=$wxUSE_EXTENDED_RTTI
4767 fi
4768
4769 { echo "$as_me:$LINENO: result: $result" >&5
4770 echo "${ECHO_T}$result" >&6; }
4771
4772 if test "$USE_OS2" = 1; then
4773 DEFAULT_wxUSE_OMF=no
4774
4775 enablestring=
4776 defaultval=
4777 if test -z "$defaultval"; then
4778 if test x"$enablestring" = xdisable; then
4779 defaultval=yes
4780 else
4781 defaultval=no
4782 fi
4783 fi
4784
4785 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4786 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4787 # Check whether --enable-omf was given.
4788 if test "${enable_omf+set}" = set; then
4789 enableval=$enable_omf;
4790 if test "$enableval" = yes; then
4791 wx_cv_use_omf='wxUSE_OMF=yes'
4792 else
4793 wx_cv_use_omf='wxUSE_OMF=no'
4794 fi
4795
4796 else
4797
4798 wx_cv_use_omf='wxUSE_OMF=${'DEFAULT_wxUSE_OMF":-$defaultval}"
4799
4800 fi
4801
4802
4803 eval "$wx_cv_use_omf"
4804
4805 if test x"$enablestring" = xdisable; then
4806 if test $wxUSE_OMF = yes; then
4807 result=no
4808 else
4809 result=yes
4810 fi
4811 else
4812 result=$wxUSE_OMF
4813 fi
4814
4815 { echo "$as_me:$LINENO: result: $result" >&5
4816 echo "${ECHO_T}$result" >&6; }
4817
4818 fi
4819
4820 if test "$wxUSE_DEBUG" = "yes"; then
4821 DEFAULT_wxUSE_DEBUG_FLAG=yes
4822 DEFAULT_wxUSE_DEBUG_INFO=yes
4823 BUILD=debug
4824 elif test "$wxUSE_DEBUG" = "no"; then
4825 DEFAULT_wxUSE_DEBUG_FLAG=no
4826 DEFAULT_wxUSE_DEBUG_INFO=no
4827 BUILD=release
4828 fi
4829
4830
4831 enablestring=
4832 defaultval=
4833 if test -z "$defaultval"; then
4834 if test x"$enablestring" = xdisable; then
4835 defaultval=yes
4836 else
4837 defaultval=no
4838 fi
4839 fi
4840
4841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4842 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4843 # Check whether --enable-debug_flag was given.
4844 if test "${enable_debug_flag+set}" = set; then
4845 enableval=$enable_debug_flag;
4846 if test "$enableval" = yes; then
4847 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4848 else
4849 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4850 fi
4851
4852 else
4853
4854 wx_cv_use_debug_flag='wxUSE_DEBUG_FLAG=${'DEFAULT_wxUSE_DEBUG_FLAG":-$defaultval}"
4855
4856 fi
4857
4858
4859 eval "$wx_cv_use_debug_flag"
4860
4861 if test x"$enablestring" = xdisable; then
4862 if test $wxUSE_DEBUG_FLAG = yes; then
4863 result=no
4864 else
4865 result=yes
4866 fi
4867 else
4868 result=$wxUSE_DEBUG_FLAG
4869 fi
4870
4871 { echo "$as_me:$LINENO: result: $result" >&5
4872 echo "${ECHO_T}$result" >&6; }
4873
4874
4875 enablestring=
4876 defaultval=
4877 if test -z "$defaultval"; then
4878 if test x"$enablestring" = xdisable; then
4879 defaultval=yes
4880 else
4881 defaultval=no
4882 fi
4883 fi
4884
4885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4886 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4887 # Check whether --enable-debug_info was given.
4888 if test "${enable_debug_info+set}" = set; then
4889 enableval=$enable_debug_info;
4890 if test "$enableval" = yes; then
4891 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4892 else
4893 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4894 fi
4895
4896 else
4897
4898 wx_cv_use_debug_info='wxUSE_DEBUG_INFO=${'DEFAULT_wxUSE_DEBUG_INFO":-$defaultval}"
4899
4900 fi
4901
4902
4903 eval "$wx_cv_use_debug_info"
4904
4905 if test x"$enablestring" = xdisable; then
4906 if test $wxUSE_DEBUG_INFO = yes; then
4907 result=no
4908 else
4909 result=yes
4910 fi
4911 else
4912 result=$wxUSE_DEBUG_INFO
4913 fi
4914
4915 { echo "$as_me:$LINENO: result: $result" >&5
4916 echo "${ECHO_T}$result" >&6; }
4917
4918
4919 if test "$wxUSE_DEBUG_FLAG" = "yes" -a "$wxUSE_DEBUG_INFO" = "yes"; then
4920 wxUSE_DEBUG=yes
4921 BUILD=debug
4922 fi
4923
4924
4925 enablestring=
4926 defaultval=
4927 if test -z "$defaultval"; then
4928 if test x"$enablestring" = xdisable; then
4929 defaultval=yes
4930 else
4931 defaultval=no
4932 fi
4933 fi
4934
4935 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4936 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4937 # Check whether --enable-debug_gdb was given.
4938 if test "${enable_debug_gdb+set}" = set; then
4939 enableval=$enable_debug_gdb;
4940 if test "$enableval" = yes; then
4941 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4942 else
4943 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4944 fi
4945
4946 else
4947
4948 wx_cv_use_debug_gdb='wxUSE_DEBUG_GDB=${'DEFAULT_wxUSE_DEBUG_GDB":-$defaultval}"
4949
4950 fi
4951
4952
4953 eval "$wx_cv_use_debug_gdb"
4954
4955 if test x"$enablestring" = xdisable; then
4956 if test $wxUSE_DEBUG_GDB = yes; then
4957 result=no
4958 else
4959 result=yes
4960 fi
4961 else
4962 result=$wxUSE_DEBUG_GDB
4963 fi
4964
4965 { echo "$as_me:$LINENO: result: $result" >&5
4966 echo "${ECHO_T}$result" >&6; }
4967
4968
4969 enablestring=
4970 defaultval=
4971 if test -z "$defaultval"; then
4972 if test x"$enablestring" = xdisable; then
4973 defaultval=yes
4974 else
4975 defaultval=no
4976 fi
4977 fi
4978
4979 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4980 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4981 # Check whether --enable-debug_cntxt was given.
4982 if test "${enable_debug_cntxt+set}" = set; then
4983 enableval=$enable_debug_cntxt;
4984 if test "$enableval" = yes; then
4985 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4986 else
4987 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4988 fi
4989
4990 else
4991
4992 wx_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=${'DEFAULT_wxUSE_DEBUG_CONTEXT":-$defaultval}"
4993
4994 fi
4995
4996
4997 eval "$wx_cv_use_debug_cntxt"
4998
4999 if test x"$enablestring" = xdisable; then
5000 if test $wxUSE_DEBUG_CONTEXT = yes; then
5001 result=no
5002 else
5003 result=yes
5004 fi
5005 else
5006 result=$wxUSE_DEBUG_CONTEXT
5007 fi
5008
5009 { echo "$as_me:$LINENO: result: $result" >&5
5010 echo "${ECHO_T}$result" >&6; }
5011
5012
5013 enablestring=
5014 defaultval=
5015 if test -z "$defaultval"; then
5016 if test x"$enablestring" = xdisable; then
5017 defaultval=yes
5018 else
5019 defaultval=no
5020 fi
5021 fi
5022
5023 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
5024 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
5025 # Check whether --enable-mem_tracing was given.
5026 if test "${enable_mem_tracing+set}" = set; then
5027 enableval=$enable_mem_tracing;
5028 if test "$enableval" = yes; then
5029 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
5030 else
5031 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
5032 fi
5033
5034 else
5035
5036 wx_cv_use_mem_tracing='wxUSE_MEM_TRACING=${'DEFAULT_wxUSE_MEM_TRACING":-$defaultval}"
5037
5038 fi
5039
5040
5041 eval "$wx_cv_use_mem_tracing"
5042
5043 if test x"$enablestring" = xdisable; then
5044 if test $wxUSE_MEM_TRACING = yes; then
5045 result=no
5046 else
5047 result=yes
5048 fi
5049 else
5050 result=$wxUSE_MEM_TRACING
5051 fi
5052
5053 { echo "$as_me:$LINENO: result: $result" >&5
5054 echo "${ECHO_T}$result" >&6; }
5055
5056
5057 enablestring=
5058 defaultval=
5059 if test -z "$defaultval"; then
5060 if test x"$enablestring" = xdisable; then
5061 defaultval=yes
5062 else
5063 defaultval=no
5064 fi
5065 fi
5066
5067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
5068 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
5069 # Check whether --enable-profile was given.
5070 if test "${enable_profile+set}" = set; then
5071 enableval=$enable_profile;
5072 if test "$enableval" = yes; then
5073 wx_cv_use_profile='wxUSE_PROFILE=yes'
5074 else
5075 wx_cv_use_profile='wxUSE_PROFILE=no'
5076 fi
5077
5078 else
5079
5080 wx_cv_use_profile='wxUSE_PROFILE=${'DEFAULT_wxUSE_PROFILE":-$defaultval}"
5081
5082 fi
5083
5084
5085 eval "$wx_cv_use_profile"
5086
5087 if test x"$enablestring" = xdisable; then
5088 if test $wxUSE_PROFILE = yes; then
5089 result=no
5090 else
5091 result=yes
5092 fi
5093 else
5094 result=$wxUSE_PROFILE
5095 fi
5096
5097 { echo "$as_me:$LINENO: result: $result" >&5
5098 echo "${ECHO_T}$result" >&6; }
5099
5100
5101 enablestring=
5102 defaultval=
5103 if test -z "$defaultval"; then
5104 if test x"$enablestring" = xdisable; then
5105 defaultval=yes
5106 else
5107 defaultval=no
5108 fi
5109 fi
5110
5111 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5112 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5113 # Check whether --enable-no_rtti was given.
5114 if test "${enable_no_rtti+set}" = set; then
5115 enableval=$enable_no_rtti;
5116 if test "$enableval" = yes; then
5117 wx_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5118 else
5119 wx_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5120 fi
5121
5122 else
5123
5124 wx_cv_use_no_rtti='wxUSE_NO_RTTI=${'DEFAULT_wxUSE_NO_RTTI":-$defaultval}"
5125
5126 fi
5127
5128
5129 eval "$wx_cv_use_no_rtti"
5130
5131 if test x"$enablestring" = xdisable; then
5132 if test $wxUSE_NO_RTTI = yes; then
5133 result=no
5134 else
5135 result=yes
5136 fi
5137 else
5138 result=$wxUSE_NO_RTTI
5139 fi
5140
5141 { echo "$as_me:$LINENO: result: $result" >&5
5142 echo "${ECHO_T}$result" >&6; }
5143
5144
5145 enablestring=
5146 defaultval=
5147 if test -z "$defaultval"; then
5148 if test x"$enablestring" = xdisable; then
5149 defaultval=yes
5150 else
5151 defaultval=no
5152 fi
5153 fi
5154
5155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5156 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5157 # Check whether --enable-no_exceptions was given.
5158 if test "${enable_no_exceptions+set}" = set; then
5159 enableval=$enable_no_exceptions;
5160 if test "$enableval" = yes; then
5161 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5162 else
5163 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5164 fi
5165
5166 else
5167
5168 wx_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=${'DEFAULT_wxUSE_NO_EXCEPTIONS":-$defaultval}"
5169
5170 fi
5171
5172
5173 eval "$wx_cv_use_no_exceptions"
5174
5175 if test x"$enablestring" = xdisable; then
5176 if test $wxUSE_NO_EXCEPTIONS = yes; then
5177 result=no
5178 else
5179 result=yes
5180 fi
5181 else
5182 result=$wxUSE_NO_EXCEPTIONS
5183 fi
5184
5185 { echo "$as_me:$LINENO: result: $result" >&5
5186 echo "${ECHO_T}$result" >&6; }
5187
5188
5189 enablestring=
5190 defaultval=
5191 if test -z "$defaultval"; then
5192 if test x"$enablestring" = xdisable; then
5193 defaultval=yes
5194 else
5195 defaultval=no
5196 fi
5197 fi
5198
5199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5200 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5201 # Check whether --enable-permissive was given.
5202 if test "${enable_permissive+set}" = set; then
5203 enableval=$enable_permissive;
5204 if test "$enableval" = yes; then
5205 wx_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5206 else
5207 wx_cv_use_permissive='wxUSE_PERMISSIVE=no'
5208 fi
5209
5210 else
5211
5212 wx_cv_use_permissive='wxUSE_PERMISSIVE=${'DEFAULT_wxUSE_PERMISSIVE":-$defaultval}"
5213
5214 fi
5215
5216
5217 eval "$wx_cv_use_permissive"
5218
5219 if test x"$enablestring" = xdisable; then
5220 if test $wxUSE_PERMISSIVE = yes; then
5221 result=no
5222 else
5223 result=yes
5224 fi
5225 else
5226 result=$wxUSE_PERMISSIVE
5227 fi
5228
5229 { echo "$as_me:$LINENO: result: $result" >&5
5230 echo "${ECHO_T}$result" >&6; }
5231
5232
5233 enablestring=
5234 defaultval=
5235 if test -z "$defaultval"; then
5236 if test x"$enablestring" = xdisable; then
5237 defaultval=yes
5238 else
5239 defaultval=no
5240 fi
5241 fi
5242
5243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5244 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5245 # Check whether --enable-no_deps was given.
5246 if test "${enable_no_deps+set}" = set; then
5247 enableval=$enable_no_deps;
5248 if test "$enableval" = yes; then
5249 wx_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5250 else
5251 wx_cv_use_no_deps='wxUSE_NO_DEPS=no'
5252 fi
5253
5254 else
5255
5256 wx_cv_use_no_deps='wxUSE_NO_DEPS=${'DEFAULT_wxUSE_NO_DEPS":-$defaultval}"
5257
5258 fi
5259
5260
5261 eval "$wx_cv_use_no_deps"
5262
5263 if test x"$enablestring" = xdisable; then
5264 if test $wxUSE_NO_DEPS = yes; then
5265 result=no
5266 else
5267 result=yes
5268 fi
5269 else
5270 result=$wxUSE_NO_DEPS
5271 fi
5272
5273 { echo "$as_me:$LINENO: result: $result" >&5
5274 echo "${ECHO_T}$result" >&6; }
5275
5276
5277 enablestring=disable
5278 defaultval=
5279 if test -z "$defaultval"; then
5280 if test x"$enablestring" = xdisable; then
5281 defaultval=yes
5282 else
5283 defaultval=no
5284 fi
5285 fi
5286
5287 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5288 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5289 # Check whether --enable-vararg_macros was given.
5290 if test "${enable_vararg_macros+set}" = set; then
5291 enableval=$enable_vararg_macros;
5292 if test "$enableval" = yes; then
5293 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5294 else
5295 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5296 fi
5297
5298 else
5299
5300 wx_cv_use_vararg_macros='wxUSE_VARARG_MACROS=${'DEFAULT_wxUSE_VARARG_MACROS":-$defaultval}"
5301
5302 fi
5303
5304
5305 eval "$wx_cv_use_vararg_macros"
5306
5307 if test x"$enablestring" = xdisable; then
5308 if test $wxUSE_VARARG_MACROS = yes; then
5309 result=no
5310 else
5311 result=yes
5312 fi
5313 else
5314 result=$wxUSE_VARARG_MACROS
5315 fi
5316
5317 { echo "$as_me:$LINENO: result: $result" >&5
5318 echo "${ECHO_T}$result" >&6; }
5319
5320
5321 enablestring=
5322 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5323 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5324 # Check whether --enable-universal_binary was given.
5325 if test "${enable_universal_binary+set}" = set; then
5326 enableval=$enable_universal_binary;
5327 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5328
5329 else
5330
5331 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5332
5333 fi
5334
5335
5336 eval "$wx_cv_use_universal_binary"
5337
5338 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5339 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5340
5341
5342
5343 enablestring=
5344 defaultval=
5345 if test -z "$defaultval"; then
5346 if test x"$enablestring" = xdisable; then
5347 defaultval=yes
5348 else
5349 defaultval=no
5350 fi
5351 fi
5352
5353 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5354 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5355 # Check whether --enable-compat26 was given.
5356 if test "${enable_compat26+set}" = set; then
5357 enableval=$enable_compat26;
5358 if test "$enableval" = yes; then
5359 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5360 else
5361 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5362 fi
5363
5364 else
5365
5366 wx_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=${'DEFAULT_WXWIN_COMPATIBILITY_2_6":-$defaultval}"
5367
5368 fi
5369
5370
5371 eval "$wx_cv_use_compat26"
5372
5373 if test x"$enablestring" = xdisable; then
5374 if test $WXWIN_COMPATIBILITY_2_6 = yes; then
5375 result=no
5376 else
5377 result=yes
5378 fi
5379 else
5380 result=$WXWIN_COMPATIBILITY_2_6
5381 fi
5382
5383 { echo "$as_me:$LINENO: result: $result" >&5
5384 echo "${ECHO_T}$result" >&6; }
5385
5386
5387 enablestring=disable
5388 defaultval=
5389 if test -z "$defaultval"; then
5390 if test x"$enablestring" = xdisable; then
5391 defaultval=yes
5392 else
5393 defaultval=no
5394 fi
5395 fi
5396
5397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5398 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5399 # Check whether --enable-compat28 was given.
5400 if test "${enable_compat28+set}" = set; then
5401 enableval=$enable_compat28;
5402 if test "$enableval" = yes; then
5403 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5404 else
5405 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5406 fi
5407
5408 else
5409
5410 wx_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=${'DEFAULT_WXWIN_COMPATIBILITY_2_8":-$defaultval}"
5411
5412 fi
5413
5414
5415 eval "$wx_cv_use_compat28"
5416
5417 if test x"$enablestring" = xdisable; then
5418 if test $WXWIN_COMPATIBILITY_2_8 = yes; then
5419 result=no
5420 else
5421 result=yes
5422 fi
5423 else
5424 result=$WXWIN_COMPATIBILITY_2_8
5425 fi
5426
5427 { echo "$as_me:$LINENO: result: $result" >&5
5428 echo "${ECHO_T}$result" >&6; }
5429
5430
5431
5432 enablestring=disable
5433 defaultval=
5434 if test -z "$defaultval"; then
5435 if test x"$enablestring" = xdisable; then
5436 defaultval=yes
5437 else
5438 defaultval=no
5439 fi
5440 fi
5441
5442 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5443 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5444 # Check whether --enable-rpath was given.
5445 if test "${enable_rpath+set}" = set; then
5446 enableval=$enable_rpath;
5447 if test "$enableval" = yes; then
5448 wx_cv_use_rpath='wxUSE_RPATH=yes'
5449 else
5450 wx_cv_use_rpath='wxUSE_RPATH=no'
5451 fi
5452
5453 else
5454
5455 wx_cv_use_rpath='wxUSE_RPATH=${'DEFAULT_wxUSE_RPATH":-$defaultval}"
5456
5457 fi
5458
5459
5460 eval "$wx_cv_use_rpath"
5461
5462 if test x"$enablestring" = xdisable; then
5463 if test $wxUSE_RPATH = yes; then
5464 result=no
5465 else
5466 result=yes
5467 fi
5468 else
5469 result=$wxUSE_RPATH
5470 fi
5471
5472 { echo "$as_me:$LINENO: result: $result" >&5
5473 echo "${ECHO_T}$result" >&6; }
5474
5475
5476
5477 enablestring=
5478 defaultval=
5479 if test -z "$defaultval"; then
5480 if test x"$enablestring" = xdisable; then
5481 defaultval=yes
5482 else
5483 defaultval=no
5484 fi
5485 fi
5486
5487 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-objc_uniquifying" >&5
5488 echo $ECHO_N "checking for --${enablestring:-enable}-objc_uniquifying... $ECHO_C" >&6; }
5489 # Check whether --enable-objc_uniquifying was given.
5490 if test "${enable_objc_uniquifying+set}" = set; then
5491 enableval=$enable_objc_uniquifying;
5492 if test "$enableval" = yes; then
5493 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=yes'
5494 else
5495 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=no'
5496 fi
5497
5498 else
5499
5500 wx_cv_use_objc_uniquifying='wxUSE_OBJC_UNIQUIFYING=${'DEFAULT_wxUSE_OBJC_UNIQUIFYING":-$defaultval}"
5501
5502 fi
5503
5504
5505 eval "$wx_cv_use_objc_uniquifying"
5506
5507 if test x"$enablestring" = xdisable; then
5508 if test $wxUSE_OBJC_UNIQUIFYING = yes; then
5509 result=no
5510 else
5511 result=yes
5512 fi
5513 else
5514 result=$wxUSE_OBJC_UNIQUIFYING
5515 fi
5516
5517 { echo "$as_me:$LINENO: result: $result" >&5
5518 echo "${ECHO_T}$result" >&6; }
5519
5520
5521
5522 enablestring=disable
5523 defaultval=
5524 if test -z "$defaultval"; then
5525 if test x"$enablestring" = xdisable; then
5526 defaultval=yes
5527 else
5528 defaultval=no
5529 fi
5530 fi
5531
5532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-visibility" >&5
5533 echo $ECHO_N "checking for --${enablestring:-enable}-visibility... $ECHO_C" >&6; }
5534 # Check whether --enable-visibility was given.
5535 if test "${enable_visibility+set}" = set; then
5536 enableval=$enable_visibility;
5537 if test "$enableval" = yes; then
5538 wx_cv_use_visibility='wxUSE_VISIBILITY=yes'
5539 else
5540 wx_cv_use_visibility='wxUSE_VISIBILITY=no'
5541 fi
5542
5543 else
5544
5545 wx_cv_use_visibility='wxUSE_VISIBILITY=${'DEFAULT_wxUSE_VISIBILITY":-$defaultval}"
5546
5547 fi
5548
5549
5550 eval "$wx_cv_use_visibility"
5551
5552 if test x"$enablestring" = xdisable; then
5553 if test $wxUSE_VISIBILITY = yes; then
5554 result=no
5555 else
5556 result=yes
5557 fi
5558 else
5559 result=$wxUSE_VISIBILITY
5560 fi
5561
5562 { echo "$as_me:$LINENO: result: $result" >&5
5563 echo "${ECHO_T}$result" >&6; }
5564
5565
5566
5567
5568 enablestring=
5569 defaultval=$wxUSE_ALL_FEATURES
5570 if test -z "$defaultval"; then
5571 if test x"$enablestring" = xdisable; then
5572 defaultval=yes
5573 else
5574 defaultval=no
5575 fi
5576 fi
5577
5578 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5579 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5580 # Check whether --enable-intl was given.
5581 if test "${enable_intl+set}" = set; then
5582 enableval=$enable_intl;
5583 if test "$enableval" = yes; then
5584 wx_cv_use_intl='wxUSE_INTL=yes'
5585 else
5586 wx_cv_use_intl='wxUSE_INTL=no'
5587 fi
5588
5589 else
5590
5591 wx_cv_use_intl='wxUSE_INTL=${'DEFAULT_wxUSE_INTL":-$defaultval}"
5592
5593 fi
5594
5595
5596 eval "$wx_cv_use_intl"
5597
5598 if test x"$enablestring" = xdisable; then
5599 if test $wxUSE_INTL = yes; then
5600 result=no
5601 else
5602 result=yes
5603 fi
5604 else
5605 result=$wxUSE_INTL
5606 fi
5607
5608 { echo "$as_me:$LINENO: result: $result" >&5
5609 echo "${ECHO_T}$result" >&6; }
5610
5611
5612 enablestring=
5613 defaultval=$wxUSE_ALL_FEATURES
5614 if test -z "$defaultval"; then
5615 if test x"$enablestring" = xdisable; then
5616 defaultval=yes
5617 else
5618 defaultval=no
5619 fi
5620 fi
5621
5622 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5623 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5624 # Check whether --enable-config was given.
5625 if test "${enable_config+set}" = set; then
5626 enableval=$enable_config;
5627 if test "$enableval" = yes; then
5628 wx_cv_use_config='wxUSE_CONFIG=yes'
5629 else
5630 wx_cv_use_config='wxUSE_CONFIG=no'
5631 fi
5632
5633 else
5634
5635 wx_cv_use_config='wxUSE_CONFIG=${'DEFAULT_wxUSE_CONFIG":-$defaultval}"
5636
5637 fi
5638
5639
5640 eval "$wx_cv_use_config"
5641
5642 if test x"$enablestring" = xdisable; then
5643 if test $wxUSE_CONFIG = yes; then
5644 result=no
5645 else
5646 result=yes
5647 fi
5648 else
5649 result=$wxUSE_CONFIG
5650 fi
5651
5652 { echo "$as_me:$LINENO: result: $result" >&5
5653 echo "${ECHO_T}$result" >&6; }
5654
5655
5656
5657 enablestring=
5658 defaultval=$wxUSE_ALL_FEATURES
5659 if test -z "$defaultval"; then
5660 if test x"$enablestring" = xdisable; then
5661 defaultval=yes
5662 else
5663 defaultval=no
5664 fi
5665 fi
5666
5667 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5668 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5669 # Check whether --enable-protocols was given.
5670 if test "${enable_protocols+set}" = set; then
5671 enableval=$enable_protocols;
5672 if test "$enableval" = yes; then
5673 wx_cv_use_protocols='wxUSE_PROTOCOL=yes'
5674 else
5675 wx_cv_use_protocols='wxUSE_PROTOCOL=no'
5676 fi
5677
5678 else
5679
5680 wx_cv_use_protocols='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
5681
5682 fi
5683
5684
5685 eval "$wx_cv_use_protocols"
5686
5687 if test x"$enablestring" = xdisable; then
5688 if test $wxUSE_PROTOCOL = yes; then
5689 result=no
5690 else
5691 result=yes
5692 fi
5693 else
5694 result=$wxUSE_PROTOCOL
5695 fi
5696
5697 { echo "$as_me:$LINENO: result: $result" >&5
5698 echo "${ECHO_T}$result" >&6; }
5699
5700
5701 enablestring=
5702 defaultval=$wxUSE_ALL_FEATURES
5703 if test -z "$defaultval"; then
5704 if test x"$enablestring" = xdisable; then
5705 defaultval=yes
5706 else
5707 defaultval=no
5708 fi
5709 fi
5710
5711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5712 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5713 # Check whether --enable-ftp was given.
5714 if test "${enable_ftp+set}" = set; then
5715 enableval=$enable_ftp;
5716 if test "$enableval" = yes; then
5717 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5718 else
5719 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5720 fi
5721
5722 else
5723
5724 wx_cv_use_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
5725
5726 fi
5727
5728
5729 eval "$wx_cv_use_ftp"
5730
5731 if test x"$enablestring" = xdisable; then
5732 if test $wxUSE_PROTOCOL_FTP = yes; then
5733 result=no
5734 else
5735 result=yes
5736 fi
5737 else
5738 result=$wxUSE_PROTOCOL_FTP
5739 fi
5740
5741 { echo "$as_me:$LINENO: result: $result" >&5
5742 echo "${ECHO_T}$result" >&6; }
5743
5744
5745 enablestring=
5746 defaultval=$wxUSE_ALL_FEATURES
5747 if test -z "$defaultval"; then
5748 if test x"$enablestring" = xdisable; then
5749 defaultval=yes
5750 else
5751 defaultval=no
5752 fi
5753 fi
5754
5755 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5756 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5757 # Check whether --enable-http was given.
5758 if test "${enable_http+set}" = set; then
5759 enableval=$enable_http;
5760 if test "$enableval" = yes; then
5761 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5762 else
5763 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5764 fi
5765
5766 else
5767
5768 wx_cv_use_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
5769
5770 fi
5771
5772
5773 eval "$wx_cv_use_http"
5774
5775 if test x"$enablestring" = xdisable; then
5776 if test $wxUSE_PROTOCOL_HTTP = yes; then
5777 result=no
5778 else
5779 result=yes
5780 fi
5781 else
5782 result=$wxUSE_PROTOCOL_HTTP
5783 fi
5784
5785 { echo "$as_me:$LINENO: result: $result" >&5
5786 echo "${ECHO_T}$result" >&6; }
5787
5788
5789 enablestring=
5790 defaultval=$wxUSE_ALL_FEATURES
5791 if test -z "$defaultval"; then
5792 if test x"$enablestring" = xdisable; then
5793 defaultval=yes
5794 else
5795 defaultval=no
5796 fi
5797 fi
5798
5799 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5800 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5801 # Check whether --enable-fileproto was given.
5802 if test "${enable_fileproto+set}" = set; then
5803 enableval=$enable_fileproto;
5804 if test "$enableval" = yes; then
5805 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5806 else
5807 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5808 fi
5809
5810 else
5811
5812 wx_cv_use_fileproto='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
5813
5814 fi
5815
5816
5817 eval "$wx_cv_use_fileproto"
5818
5819 if test x"$enablestring" = xdisable; then
5820 if test $wxUSE_PROTOCOL_FILE = yes; then
5821 result=no
5822 else
5823 result=yes
5824 fi
5825 else
5826 result=$wxUSE_PROTOCOL_FILE
5827 fi
5828
5829 { echo "$as_me:$LINENO: result: $result" >&5
5830 echo "${ECHO_T}$result" >&6; }
5831
5832
5833 enablestring=
5834 defaultval=$wxUSE_ALL_FEATURES
5835 if test -z "$defaultval"; then
5836 if test x"$enablestring" = xdisable; then
5837 defaultval=yes
5838 else
5839 defaultval=no
5840 fi
5841 fi
5842
5843 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5844 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5845 # Check whether --enable-sockets was given.
5846 if test "${enable_sockets+set}" = set; then
5847 enableval=$enable_sockets;
5848 if test "$enableval" = yes; then
5849 wx_cv_use_sockets='wxUSE_SOCKETS=yes'
5850 else
5851 wx_cv_use_sockets='wxUSE_SOCKETS=no'
5852 fi
5853
5854 else
5855
5856 wx_cv_use_sockets='wxUSE_SOCKETS=${'DEFAULT_wxUSE_SOCKETS":-$defaultval}"
5857
5858 fi
5859
5860
5861 eval "$wx_cv_use_sockets"
5862
5863 if test x"$enablestring" = xdisable; then
5864 if test $wxUSE_SOCKETS = yes; then
5865 result=no
5866 else
5867 result=yes
5868 fi
5869 else
5870 result=$wxUSE_SOCKETS
5871 fi
5872
5873 { echo "$as_me:$LINENO: result: $result" >&5
5874 echo "${ECHO_T}$result" >&6; }
5875
5876
5877 enablestring=
5878 defaultval=$wxUSE_ALL_FEATURES
5879 if test -z "$defaultval"; then
5880 if test x"$enablestring" = xdisable; then
5881 defaultval=yes
5882 else
5883 defaultval=no
5884 fi
5885 fi
5886
5887 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipv6" >&5
5888 echo $ECHO_N "checking for --${enablestring:-enable}-ipv6... $ECHO_C" >&6; }
5889 # Check whether --enable-ipv6 was given.
5890 if test "${enable_ipv6+set}" = set; then
5891 enableval=$enable_ipv6;
5892 if test "$enableval" = yes; then
5893 wx_cv_use_ipv6='wxUSE_IPV6=yes'
5894 else
5895 wx_cv_use_ipv6='wxUSE_IPV6=no'
5896 fi
5897
5898 else
5899
5900 wx_cv_use_ipv6='wxUSE_IPV6=${'DEFAULT_wxUSE_IPV6":-$defaultval}"
5901
5902 fi
5903
5904
5905 eval "$wx_cv_use_ipv6"
5906
5907 if test x"$enablestring" = xdisable; then
5908 if test $wxUSE_IPV6 = yes; then
5909 result=no
5910 else
5911 result=yes
5912 fi
5913 else
5914 result=$wxUSE_IPV6
5915 fi
5916
5917 { echo "$as_me:$LINENO: result: $result" >&5
5918 echo "${ECHO_T}$result" >&6; }
5919
5920
5921 enablestring=
5922 defaultval=$wxUSE_ALL_FEATURES
5923 if test -z "$defaultval"; then
5924 if test x"$enablestring" = xdisable; then
5925 defaultval=yes
5926 else
5927 defaultval=no
5928 fi
5929 fi
5930
5931 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5932 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5933 # Check whether --enable-ole was given.
5934 if test "${enable_ole+set}" = set; then
5935 enableval=$enable_ole;
5936 if test "$enableval" = yes; then
5937 wx_cv_use_ole='wxUSE_OLE=yes'
5938 else
5939 wx_cv_use_ole='wxUSE_OLE=no'
5940 fi
5941
5942 else
5943
5944 wx_cv_use_ole='wxUSE_OLE=${'DEFAULT_wxUSE_OLE":-$defaultval}"
5945
5946 fi
5947
5948
5949 eval "$wx_cv_use_ole"
5950
5951 if test x"$enablestring" = xdisable; then
5952 if test $wxUSE_OLE = yes; then
5953 result=no
5954 else
5955 result=yes
5956 fi
5957 else
5958 result=$wxUSE_OLE
5959 fi
5960
5961 { echo "$as_me:$LINENO: result: $result" >&5
5962 echo "${ECHO_T}$result" >&6; }
5963
5964
5965 enablestring=
5966 defaultval=$wxUSE_ALL_FEATURES
5967 if test -z "$defaultval"; then
5968 if test x"$enablestring" = xdisable; then
5969 defaultval=yes
5970 else
5971 defaultval=no
5972 fi
5973 fi
5974
5975 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5976 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5977 # Check whether --enable-dataobj was given.
5978 if test "${enable_dataobj+set}" = set; then
5979 enableval=$enable_dataobj;
5980 if test "$enableval" = yes; then
5981 wx_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5982 else
5983 wx_cv_use_dataobj='wxUSE_DATAOBJ=no'
5984 fi
5985
5986 else
5987
5988 wx_cv_use_dataobj='wxUSE_DATAOBJ=${'DEFAULT_wxUSE_DATAOBJ":-$defaultval}"
5989
5990 fi
5991
5992
5993 eval "$wx_cv_use_dataobj"
5994
5995 if test x"$enablestring" = xdisable; then
5996 if test $wxUSE_DATAOBJ = yes; then
5997 result=no
5998 else
5999 result=yes
6000 fi
6001 else
6002 result=$wxUSE_DATAOBJ
6003 fi
6004
6005 { echo "$as_me:$LINENO: result: $result" >&5
6006 echo "${ECHO_T}$result" >&6; }
6007
6008
6009
6010 enablestring=
6011 defaultval=$wxUSE_ALL_FEATURES
6012 if test -z "$defaultval"; then
6013 if test x"$enablestring" = xdisable; then
6014 defaultval=yes
6015 else
6016 defaultval=no
6017 fi
6018 fi
6019
6020 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
6021 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
6022 # Check whether --enable-ipc was given.
6023 if test "${enable_ipc+set}" = set; then
6024 enableval=$enable_ipc;
6025 if test "$enableval" = yes; then
6026 wx_cv_use_ipc='wxUSE_IPC=yes'
6027 else
6028 wx_cv_use_ipc='wxUSE_IPC=no'
6029 fi
6030
6031 else
6032
6033 wx_cv_use_ipc='wxUSE_IPC=${'DEFAULT_wxUSE_IPC":-$defaultval}"
6034
6035 fi
6036
6037
6038 eval "$wx_cv_use_ipc"
6039
6040 if test x"$enablestring" = xdisable; then
6041 if test $wxUSE_IPC = yes; then
6042 result=no
6043 else
6044 result=yes
6045 fi
6046 else
6047 result=$wxUSE_IPC
6048 fi
6049
6050 { echo "$as_me:$LINENO: result: $result" >&5
6051 echo "${ECHO_T}$result" >&6; }
6052
6053
6054
6055 enablestring=
6056 defaultval=$wxUSE_ALL_FEATURES
6057 if test -z "$defaultval"; then
6058 if test x"$enablestring" = xdisable; then
6059 defaultval=yes
6060 else
6061 defaultval=no
6062 fi
6063 fi
6064
6065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-baseevtloop" >&5
6066 echo $ECHO_N "checking for --${enablestring:-enable}-baseevtloop... $ECHO_C" >&6; }
6067 # Check whether --enable-baseevtloop was given.
6068 if test "${enable_baseevtloop+set}" = set; then
6069 enableval=$enable_baseevtloop;
6070 if test "$enableval" = yes; then
6071 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=yes'
6072 else
6073 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=no'
6074 fi
6075
6076 else
6077
6078 wx_cv_use_baseevtloop='wxUSE_CONSOLE_EVENTLOOP=${'DEFAULT_wxUSE_CONSOLE_EVENTLOOP":-$defaultval}"
6079
6080 fi
6081
6082
6083 eval "$wx_cv_use_baseevtloop"
6084
6085 if test x"$enablestring" = xdisable; then
6086 if test $wxUSE_CONSOLE_EVENTLOOP = yes; then
6087 result=no
6088 else
6089 result=yes
6090 fi
6091 else
6092 result=$wxUSE_CONSOLE_EVENTLOOP
6093 fi
6094
6095 { echo "$as_me:$LINENO: result: $result" >&5
6096 echo "${ECHO_T}$result" >&6; }
6097
6098
6099 enablestring=
6100 defaultval=$wxUSE_ALL_FEATURES
6101 if test -z "$defaultval"; then
6102 if test x"$enablestring" = xdisable; then
6103 defaultval=yes
6104 else
6105 defaultval=no
6106 fi
6107 fi
6108
6109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-epollloop" >&5
6110 echo $ECHO_N "checking for --${enablestring:-enable}-epollloop... $ECHO_C" >&6; }
6111 # Check whether --enable-epollloop was given.
6112 if test "${enable_epollloop+set}" = set; then
6113 enableval=$enable_epollloop;
6114 if test "$enableval" = yes; then
6115 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=yes'
6116 else
6117 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=no'
6118 fi
6119
6120 else
6121
6122 wx_cv_use_epollloop='wxUSE_EPOLL_DISPATCHER=${'DEFAULT_wxUSE_EPOLL_DISPATCHER":-$defaultval}"
6123
6124 fi
6125
6126
6127 eval "$wx_cv_use_epollloop"
6128
6129 if test x"$enablestring" = xdisable; then
6130 if test $wxUSE_EPOLL_DISPATCHER = yes; then
6131 result=no
6132 else
6133 result=yes
6134 fi
6135 else
6136 result=$wxUSE_EPOLL_DISPATCHER
6137 fi
6138
6139 { echo "$as_me:$LINENO: result: $result" >&5
6140 echo "${ECHO_T}$result" >&6; }
6141
6142
6143 enablestring=
6144 defaultval=$wxUSE_ALL_FEATURES
6145 if test -z "$defaultval"; then
6146 if test x"$enablestring" = xdisable; then
6147 defaultval=yes
6148 else
6149 defaultval=no
6150 fi
6151 fi
6152
6153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-selectloop" >&5
6154 echo $ECHO_N "checking for --${enablestring:-enable}-selectloop... $ECHO_C" >&6; }
6155 # Check whether --enable-selectloop was given.
6156 if test "${enable_selectloop+set}" = set; then
6157 enableval=$enable_selectloop;
6158 if test "$enableval" = yes; then
6159 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=yes'
6160 else
6161 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=no'
6162 fi
6163
6164 else
6165
6166 wx_cv_use_selectloop='wxUSE_SELECT_DISPATCHER=${'DEFAULT_wxUSE_SELECT_DISPATCHER":-$defaultval}"
6167
6168 fi
6169
6170
6171 eval "$wx_cv_use_selectloop"
6172
6173 if test x"$enablestring" = xdisable; then
6174 if test $wxUSE_SELECT_DISPATCHER = yes; then
6175 result=no
6176 else
6177 result=yes
6178 fi
6179 else
6180 result=$wxUSE_SELECT_DISPATCHER
6181 fi
6182
6183 { echo "$as_me:$LINENO: result: $result" >&5
6184 echo "${ECHO_T}$result" >&6; }
6185
6186
6187
6188 enablestring=
6189 defaultval=$wxUSE_ALL_FEATURES
6190 if test -z "$defaultval"; then
6191 if test x"$enablestring" = xdisable; then
6192 defaultval=yes
6193 else
6194 defaultval=no
6195 fi
6196 fi
6197
6198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
6199 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
6200 # Check whether --enable-apple_ieee was given.
6201 if test "${enable_apple_ieee+set}" = set; then
6202 enableval=$enable_apple_ieee;
6203 if test "$enableval" = yes; then
6204 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
6205 else
6206 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
6207 fi
6208
6209 else
6210
6211 wx_cv_use_apple_ieee='wxUSE_APPLE_IEEE=${'DEFAULT_wxUSE_APPLE_IEEE":-$defaultval}"
6212
6213 fi
6214
6215
6216 eval "$wx_cv_use_apple_ieee"
6217
6218 if test x"$enablestring" = xdisable; then
6219 if test $wxUSE_APPLE_IEEE = yes; then
6220 result=no
6221 else
6222 result=yes
6223 fi
6224 else
6225 result=$wxUSE_APPLE_IEEE
6226 fi
6227
6228 { echo "$as_me:$LINENO: result: $result" >&5
6229 echo "${ECHO_T}$result" >&6; }
6230
6231
6232 enablestring=
6233 defaultval=$wxUSE_ALL_FEATURES
6234 if test -z "$defaultval"; then
6235 if test x"$enablestring" = xdisable; then
6236 defaultval=yes
6237 else
6238 defaultval=no
6239 fi
6240 fi
6241
6242 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
6243 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
6244 # Check whether --enable-arcstream was given.
6245 if test "${enable_arcstream+set}" = set; then
6246 enableval=$enable_arcstream;
6247 if test "$enableval" = yes; then
6248 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
6249 else
6250 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
6251 fi
6252
6253 else
6254
6255 wx_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=${'DEFAULT_wxUSE_ARCHIVE_STREAMS":-$defaultval}"
6256
6257 fi
6258
6259
6260 eval "$wx_cv_use_arcstream"
6261
6262 if test x"$enablestring" = xdisable; then
6263 if test $wxUSE_ARCHIVE_STREAMS = yes; then
6264 result=no
6265 else
6266 result=yes
6267 fi
6268 else
6269 result=$wxUSE_ARCHIVE_STREAMS
6270 fi
6271
6272 { echo "$as_me:$LINENO: result: $result" >&5
6273 echo "${ECHO_T}$result" >&6; }
6274
6275
6276 enablestring=
6277 defaultval=$wxUSE_ALL_FEATURES
6278 if test -z "$defaultval"; then
6279 if test x"$enablestring" = xdisable; then
6280 defaultval=yes
6281 else
6282 defaultval=no
6283 fi
6284 fi
6285
6286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-base64" >&5
6287 echo $ECHO_N "checking for --${enablestring:-enable}-base64... $ECHO_C" >&6; }
6288 # Check whether --enable-base64 was given.
6289 if test "${enable_base64+set}" = set; then
6290 enableval=$enable_base64;
6291 if test "$enableval" = yes; then
6292 wx_cv_use_base64='wxUSE_BASE64=yes'
6293 else
6294 wx_cv_use_base64='wxUSE_BASE64=no'
6295 fi
6296
6297 else
6298
6299 wx_cv_use_base64='wxUSE_BASE64=${'DEFAULT_wxUSE_BASE64":-$defaultval}"
6300
6301 fi
6302
6303
6304 eval "$wx_cv_use_base64"
6305
6306 if test x"$enablestring" = xdisable; then
6307 if test $wxUSE_BASE64 = yes; then
6308 result=no
6309 else
6310 result=yes
6311 fi
6312 else
6313 result=$wxUSE_BASE64
6314 fi
6315
6316 { echo "$as_me:$LINENO: result: $result" >&5
6317 echo "${ECHO_T}$result" >&6; }
6318
6319
6320 enablestring=
6321 defaultval=$wxUSE_ALL_FEATURES
6322 if test -z "$defaultval"; then
6323 if test x"$enablestring" = xdisable; then
6324 defaultval=yes
6325 else
6326 defaultval=no
6327 fi
6328 fi
6329
6330 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
6331 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
6332 # Check whether --enable-backtrace was given.
6333 if test "${enable_backtrace+set}" = set; then
6334 enableval=$enable_backtrace;
6335 if test "$enableval" = yes; then
6336 wx_cv_use_backtrace='wxUSE_STACKWALKER=yes'
6337 else
6338 wx_cv_use_backtrace='wxUSE_STACKWALKER=no'
6339 fi
6340
6341 else
6342
6343 wx_cv_use_backtrace='wxUSE_STACKWALKER=${'DEFAULT_wxUSE_STACKWALKER":-$defaultval}"
6344
6345 fi
6346
6347
6348 eval "$wx_cv_use_backtrace"
6349
6350 if test x"$enablestring" = xdisable; then
6351 if test $wxUSE_STACKWALKER = yes; then
6352 result=no
6353 else
6354 result=yes
6355 fi
6356 else
6357 result=$wxUSE_STACKWALKER
6358 fi
6359
6360 { echo "$as_me:$LINENO: result: $result" >&5
6361 echo "${ECHO_T}$result" >&6; }
6362
6363
6364 enablestring=
6365 defaultval=$wxUSE_ALL_FEATURES
6366 if test -z "$defaultval"; then
6367 if test x"$enablestring" = xdisable; then
6368 defaultval=yes
6369 else
6370 defaultval=no
6371 fi
6372 fi
6373
6374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
6376 # Check whether --enable-catch_segvs was given.
6377 if test "${enable_catch_segvs+set}" = set; then
6378 enableval=$enable_catch_segvs;
6379 if test "$enableval" = yes; then
6380 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
6381 else
6382 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
6383 fi
6384
6385 else
6386
6387 wx_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=${'DEFAULT_wxUSE_ON_FATAL_EXCEPTION":-$defaultval}"
6388
6389 fi
6390
6391
6392 eval "$wx_cv_use_catch_segvs"
6393
6394 if test x"$enablestring" = xdisable; then
6395 if test $wxUSE_ON_FATAL_EXCEPTION = yes; then
6396 result=no
6397 else
6398 result=yes
6399 fi
6400 else
6401 result=$wxUSE_ON_FATAL_EXCEPTION
6402 fi
6403
6404 { echo "$as_me:$LINENO: result: $result" >&5
6405 echo "${ECHO_T}$result" >&6; }
6406
6407
6408 enablestring=
6409 defaultval=$wxUSE_ALL_FEATURES
6410 if test -z "$defaultval"; then
6411 if test x"$enablestring" = xdisable; then
6412 defaultval=yes
6413 else
6414 defaultval=no
6415 fi
6416 fi
6417
6418 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
6419 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
6420 # Check whether --enable-cmdline was given.
6421 if test "${enable_cmdline+set}" = set; then
6422 enableval=$enable_cmdline;
6423 if test "$enableval" = yes; then
6424 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
6425 else
6426 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
6427 fi
6428
6429 else
6430
6431 wx_cv_use_cmdline='wxUSE_CMDLINE_PARSER=${'DEFAULT_wxUSE_CMDLINE_PARSER":-$defaultval}"
6432
6433 fi
6434
6435
6436 eval "$wx_cv_use_cmdline"
6437
6438 if test x"$enablestring" = xdisable; then
6439 if test $wxUSE_CMDLINE_PARSER = yes; then
6440 result=no
6441 else
6442 result=yes
6443 fi
6444 else
6445 result=$wxUSE_CMDLINE_PARSER
6446 fi
6447
6448 { echo "$as_me:$LINENO: result: $result" >&5
6449 echo "${ECHO_T}$result" >&6; }
6450
6451
6452 enablestring=
6453 defaultval=$wxUSE_ALL_FEATURES
6454 if test -z "$defaultval"; then
6455 if test x"$enablestring" = xdisable; then
6456 defaultval=yes
6457 else
6458 defaultval=no
6459 fi
6460 fi
6461
6462 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6463 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6464 # Check whether --enable-datetime was given.
6465 if test "${enable_datetime+set}" = set; then
6466 enableval=$enable_datetime;
6467 if test "$enableval" = yes; then
6468 wx_cv_use_datetime='wxUSE_DATETIME=yes'
6469 else
6470 wx_cv_use_datetime='wxUSE_DATETIME=no'
6471 fi
6472
6473 else
6474
6475 wx_cv_use_datetime='wxUSE_DATETIME=${'DEFAULT_wxUSE_DATETIME":-$defaultval}"
6476
6477 fi
6478
6479
6480 eval "$wx_cv_use_datetime"
6481
6482 if test x"$enablestring" = xdisable; then
6483 if test $wxUSE_DATETIME = yes; then
6484 result=no
6485 else
6486 result=yes
6487 fi
6488 else
6489 result=$wxUSE_DATETIME
6490 fi
6491
6492 { echo "$as_me:$LINENO: result: $result" >&5
6493 echo "${ECHO_T}$result" >&6; }
6494
6495
6496 enablestring=
6497 defaultval=$wxUSE_ALL_FEATURES
6498 if test -z "$defaultval"; then
6499 if test x"$enablestring" = xdisable; then
6500 defaultval=yes
6501 else
6502 defaultval=no
6503 fi
6504 fi
6505
6506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6507 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6508 # Check whether --enable-debugreport was given.
6509 if test "${enable_debugreport+set}" = set; then
6510 enableval=$enable_debugreport;
6511 if test "$enableval" = yes; then
6512 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6513 else
6514 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6515 fi
6516
6517 else
6518
6519 wx_cv_use_debugreport='wxUSE_DEBUGREPORT=${'DEFAULT_wxUSE_DEBUGREPORT":-$defaultval}"
6520
6521 fi
6522
6523
6524 eval "$wx_cv_use_debugreport"
6525
6526 if test x"$enablestring" = xdisable; then
6527 if test $wxUSE_DEBUGREPORT = yes; then
6528 result=no
6529 else
6530 result=yes
6531 fi
6532 else
6533 result=$wxUSE_DEBUGREPORT
6534 fi
6535
6536 { echo "$as_me:$LINENO: result: $result" >&5
6537 echo "${ECHO_T}$result" >&6; }
6538
6539
6540 enablestring=
6541 defaultval=$wxUSE_ALL_FEATURES
6542 if test -z "$defaultval"; then
6543 if test x"$enablestring" = xdisable; then
6544 defaultval=yes
6545 else
6546 defaultval=no
6547 fi
6548 fi
6549
6550 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6551 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6552 # Check whether --enable-dialupman was given.
6553 if test "${enable_dialupman+set}" = set; then
6554 enableval=$enable_dialupman;
6555 if test "$enableval" = yes; then
6556 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6557 else
6558 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6559 fi
6560
6561 else
6562
6563 wx_cv_use_dialupman='wxUSE_DIALUP_MANAGER=${'DEFAULT_wxUSE_DIALUP_MANAGER":-$defaultval}"
6564
6565 fi
6566
6567
6568 eval "$wx_cv_use_dialupman"
6569
6570 if test x"$enablestring" = xdisable; then
6571 if test $wxUSE_DIALUP_MANAGER = yes; then
6572 result=no
6573 else
6574 result=yes
6575 fi
6576 else
6577 result=$wxUSE_DIALUP_MANAGER
6578 fi
6579
6580 { echo "$as_me:$LINENO: result: $result" >&5
6581 echo "${ECHO_T}$result" >&6; }
6582
6583
6584 enablestring=
6585 defaultval=$wxUSE_ALL_FEATURES
6586 if test -z "$defaultval"; then
6587 if test x"$enablestring" = xdisable; then
6588 defaultval=yes
6589 else
6590 defaultval=no
6591 fi
6592 fi
6593
6594 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6595 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6596 # Check whether --enable-dynlib was given.
6597 if test "${enable_dynlib+set}" = set; then
6598 enableval=$enable_dynlib;
6599 if test "$enableval" = yes; then
6600 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6601 else
6602 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6603 fi
6604
6605 else
6606
6607 wx_cv_use_dynlib='wxUSE_DYNLIB_CLASS=${'DEFAULT_wxUSE_DYNLIB_CLASS":-$defaultval}"
6608
6609 fi
6610
6611
6612 eval "$wx_cv_use_dynlib"
6613
6614 if test x"$enablestring" = xdisable; then
6615 if test $wxUSE_DYNLIB_CLASS = yes; then
6616 result=no
6617 else
6618 result=yes
6619 fi
6620 else
6621 result=$wxUSE_DYNLIB_CLASS
6622 fi
6623
6624 { echo "$as_me:$LINENO: result: $result" >&5
6625 echo "${ECHO_T}$result" >&6; }
6626
6627
6628 enablestring=
6629 defaultval=$wxUSE_ALL_FEATURES
6630 if test -z "$defaultval"; then
6631 if test x"$enablestring" = xdisable; then
6632 defaultval=yes
6633 else
6634 defaultval=no
6635 fi
6636 fi
6637
6638 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6639 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6640 # Check whether --enable-dynamicloader was given.
6641 if test "${enable_dynamicloader+set}" = set; then
6642 enableval=$enable_dynamicloader;
6643 if test "$enableval" = yes; then
6644 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6645 else
6646 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6647 fi
6648
6649 else
6650
6651 wx_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=${'DEFAULT_wxUSE_DYNAMIC_LOADER":-$defaultval}"
6652
6653 fi
6654
6655
6656 eval "$wx_cv_use_dynamicloader"
6657
6658 if test x"$enablestring" = xdisable; then
6659 if test $wxUSE_DYNAMIC_LOADER = yes; then
6660 result=no
6661 else
6662 result=yes
6663 fi
6664 else
6665 result=$wxUSE_DYNAMIC_LOADER
6666 fi
6667
6668 { echo "$as_me:$LINENO: result: $result" >&5
6669 echo "${ECHO_T}$result" >&6; }
6670
6671
6672 enablestring=
6673 defaultval=$wxUSE_ALL_FEATURES
6674 if test -z "$defaultval"; then
6675 if test x"$enablestring" = xdisable; then
6676 defaultval=yes
6677 else
6678 defaultval=no
6679 fi
6680 fi
6681
6682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6683 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6684 # Check whether --enable-exceptions was given.
6685 if test "${enable_exceptions+set}" = set; then
6686 enableval=$enable_exceptions;
6687 if test "$enableval" = yes; then
6688 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6689 else
6690 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6691 fi
6692
6693 else
6694
6695 wx_cv_use_exceptions='wxUSE_EXCEPTIONS=${'DEFAULT_wxUSE_EXCEPTIONS":-$defaultval}"
6696
6697 fi
6698
6699
6700 eval "$wx_cv_use_exceptions"
6701
6702 if test x"$enablestring" = xdisable; then
6703 if test $wxUSE_EXCEPTIONS = yes; then
6704 result=no
6705 else
6706 result=yes
6707 fi
6708 else
6709 result=$wxUSE_EXCEPTIONS
6710 fi
6711
6712 { echo "$as_me:$LINENO: result: $result" >&5
6713 echo "${ECHO_T}$result" >&6; }
6714
6715
6716 enablestring=
6717 defaultval=$wxUSE_ALL_FEATURES
6718 if test -z "$defaultval"; then
6719 if test x"$enablestring" = xdisable; then
6720 defaultval=yes
6721 else
6722 defaultval=no
6723 fi
6724 fi
6725
6726 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6727 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6728 # Check whether --enable-ffile was given.
6729 if test "${enable_ffile+set}" = set; then
6730 enableval=$enable_ffile;
6731 if test "$enableval" = yes; then
6732 wx_cv_use_ffile='wxUSE_FFILE=yes'
6733 else
6734 wx_cv_use_ffile='wxUSE_FFILE=no'
6735 fi
6736
6737 else
6738
6739 wx_cv_use_ffile='wxUSE_FFILE=${'DEFAULT_wxUSE_FFILE":-$defaultval}"
6740
6741 fi
6742
6743
6744 eval "$wx_cv_use_ffile"
6745
6746 if test x"$enablestring" = xdisable; then
6747 if test $wxUSE_FFILE = yes; then
6748 result=no
6749 else
6750 result=yes
6751 fi
6752 else
6753 result=$wxUSE_FFILE
6754 fi
6755
6756 { echo "$as_me:$LINENO: result: $result" >&5
6757 echo "${ECHO_T}$result" >&6; }
6758
6759
6760 enablestring=
6761 defaultval=$wxUSE_ALL_FEATURES
6762 if test -z "$defaultval"; then
6763 if test x"$enablestring" = xdisable; then
6764 defaultval=yes
6765 else
6766 defaultval=no
6767 fi
6768 fi
6769
6770 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6771 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6772 # Check whether --enable-file was given.
6773 if test "${enable_file+set}" = set; then
6774 enableval=$enable_file;
6775 if test "$enableval" = yes; then
6776 wx_cv_use_file='wxUSE_FILE=yes'
6777 else
6778 wx_cv_use_file='wxUSE_FILE=no'
6779 fi
6780
6781 else
6782
6783 wx_cv_use_file='wxUSE_FILE=${'DEFAULT_wxUSE_FILE":-$defaultval}"
6784
6785 fi
6786
6787
6788 eval "$wx_cv_use_file"
6789
6790 if test x"$enablestring" = xdisable; then
6791 if test $wxUSE_FILE = yes; then
6792 result=no
6793 else
6794 result=yes
6795 fi
6796 else
6797 result=$wxUSE_FILE
6798 fi
6799
6800 { echo "$as_me:$LINENO: result: $result" >&5
6801 echo "${ECHO_T}$result" >&6; }
6802
6803
6804 enablestring=
6805 defaultval=$wxUSE_ALL_FEATURES
6806 if test -z "$defaultval"; then
6807 if test x"$enablestring" = xdisable; then
6808 defaultval=yes
6809 else
6810 defaultval=no
6811 fi
6812 fi
6813
6814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6815 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6816 # Check whether --enable-filesystem was given.
6817 if test "${enable_filesystem+set}" = set; then
6818 enableval=$enable_filesystem;
6819 if test "$enableval" = yes; then
6820 wx_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6821 else
6822 wx_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6823 fi
6824
6825 else
6826
6827 wx_cv_use_filesystem='wxUSE_FILESYSTEM=${'DEFAULT_wxUSE_FILESYSTEM":-$defaultval}"
6828
6829 fi
6830
6831
6832 eval "$wx_cv_use_filesystem"
6833
6834 if test x"$enablestring" = xdisable; then
6835 if test $wxUSE_FILESYSTEM = yes; then
6836 result=no
6837 else
6838 result=yes
6839 fi
6840 else
6841 result=$wxUSE_FILESYSTEM
6842 fi
6843
6844 { echo "$as_me:$LINENO: result: $result" >&5
6845 echo "${ECHO_T}$result" >&6; }
6846
6847
6848 enablestring=
6849 defaultval=$wxUSE_ALL_FEATURES
6850 if test -z "$defaultval"; then
6851 if test x"$enablestring" = xdisable; then
6852 defaultval=yes
6853 else
6854 defaultval=no
6855 fi
6856 fi
6857
6858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontenum" >&5
6859 echo $ECHO_N "checking for --${enablestring:-enable}-fontenum... $ECHO_C" >&6; }
6860 # Check whether --enable-fontenum was given.
6861 if test "${enable_fontenum+set}" = set; then
6862 enableval=$enable_fontenum;
6863 if test "$enableval" = yes; then
6864 wx_cv_use_fontenum='wxUSE_FONTENUM=yes'
6865 else
6866 wx_cv_use_fontenum='wxUSE_FONTENUM=no'
6867 fi
6868
6869 else
6870
6871 wx_cv_use_fontenum='wxUSE_FONTENUM=${'DEFAULT_wxUSE_FONTENUM":-$defaultval}"
6872
6873 fi
6874
6875
6876 eval "$wx_cv_use_fontenum"
6877
6878 if test x"$enablestring" = xdisable; then
6879 if test $wxUSE_FONTENUM = yes; then
6880 result=no
6881 else
6882 result=yes
6883 fi
6884 else
6885 result=$wxUSE_FONTENUM
6886 fi
6887
6888 { echo "$as_me:$LINENO: result: $result" >&5
6889 echo "${ECHO_T}$result" >&6; }
6890
6891
6892 enablestring=
6893 defaultval=$wxUSE_ALL_FEATURES
6894 if test -z "$defaultval"; then
6895 if test x"$enablestring" = xdisable; then
6896 defaultval=yes
6897 else
6898 defaultval=no
6899 fi
6900 fi
6901
6902 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6903 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6904 # Check whether --enable-fontmap was given.
6905 if test "${enable_fontmap+set}" = set; then
6906 enableval=$enable_fontmap;
6907 if test "$enableval" = yes; then
6908 wx_cv_use_fontmap='wxUSE_FONTMAP=yes'
6909 else
6910 wx_cv_use_fontmap='wxUSE_FONTMAP=no'
6911 fi
6912
6913 else
6914
6915 wx_cv_use_fontmap='wxUSE_FONTMAP=${'DEFAULT_wxUSE_FONTMAP":-$defaultval}"
6916
6917 fi
6918
6919
6920 eval "$wx_cv_use_fontmap"
6921
6922 if test x"$enablestring" = xdisable; then
6923 if test $wxUSE_FONTMAP = yes; then
6924 result=no
6925 else
6926 result=yes
6927 fi
6928 else
6929 result=$wxUSE_FONTMAP
6930 fi
6931
6932 { echo "$as_me:$LINENO: result: $result" >&5
6933 echo "${ECHO_T}$result" >&6; }
6934
6935
6936 enablestring=
6937 defaultval=$wxUSE_ALL_FEATURES
6938 if test -z "$defaultval"; then
6939 if test x"$enablestring" = xdisable; then
6940 defaultval=yes
6941 else
6942 defaultval=no
6943 fi
6944 fi
6945
6946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6947 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6948 # Check whether --enable-fs_archive was given.
6949 if test "${enable_fs_archive+set}" = set; then
6950 enableval=$enable_fs_archive;
6951 if test "$enableval" = yes; then
6952 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6953 else
6954 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6955 fi
6956
6957 else
6958
6959 wx_cv_use_fs_archive='wxUSE_FS_ARCHIVE=${'DEFAULT_wxUSE_FS_ARCHIVE":-$defaultval}"
6960
6961 fi
6962
6963
6964 eval "$wx_cv_use_fs_archive"
6965
6966 if test x"$enablestring" = xdisable; then
6967 if test $wxUSE_FS_ARCHIVE = yes; then
6968 result=no
6969 else
6970 result=yes
6971 fi
6972 else
6973 result=$wxUSE_FS_ARCHIVE
6974 fi
6975
6976 { echo "$as_me:$LINENO: result: $result" >&5
6977 echo "${ECHO_T}$result" >&6; }
6978
6979
6980 enablestring=
6981 defaultval=$wxUSE_ALL_FEATURES
6982 if test -z "$defaultval"; then
6983 if test x"$enablestring" = xdisable; then
6984 defaultval=yes
6985 else
6986 defaultval=no
6987 fi
6988 fi
6989
6990 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6991 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6992 # Check whether --enable-fs_inet was given.
6993 if test "${enable_fs_inet+set}" = set; then
6994 enableval=$enable_fs_inet;
6995 if test "$enableval" = yes; then
6996 wx_cv_use_fs_inet='wxUSE_FS_INET=yes'
6997 else
6998 wx_cv_use_fs_inet='wxUSE_FS_INET=no'
6999 fi
7000
7001 else
7002
7003 wx_cv_use_fs_inet='wxUSE_FS_INET=${'DEFAULT_wxUSE_FS_INET":-$defaultval}"
7004
7005 fi
7006
7007
7008 eval "$wx_cv_use_fs_inet"
7009
7010 if test x"$enablestring" = xdisable; then
7011 if test $wxUSE_FS_INET = yes; then
7012 result=no
7013 else
7014 result=yes
7015 fi
7016 else
7017 result=$wxUSE_FS_INET
7018 fi
7019
7020 { echo "$as_me:$LINENO: result: $result" >&5
7021 echo "${ECHO_T}$result" >&6; }
7022
7023
7024 enablestring=
7025 defaultval=$wxUSE_ALL_FEATURES
7026 if test -z "$defaultval"; then
7027 if test x"$enablestring" = xdisable; then
7028 defaultval=yes
7029 else
7030 defaultval=no
7031 fi
7032 fi
7033
7034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
7036 # Check whether --enable-fs_zip was given.
7037 if test "${enable_fs_zip+set}" = set; then
7038 enableval=$enable_fs_zip;
7039 if test "$enableval" = yes; then
7040 wx_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
7041 else
7042 wx_cv_use_fs_zip='wxUSE_FS_ZIP=no'
7043 fi
7044
7045 else
7046
7047 wx_cv_use_fs_zip='wxUSE_FS_ZIP=${'DEFAULT_wxUSE_FS_ZIP":-$defaultval}"
7048
7049 fi
7050
7051
7052 eval "$wx_cv_use_fs_zip"
7053
7054 if test x"$enablestring" = xdisable; then
7055 if test $wxUSE_FS_ZIP = yes; then
7056 result=no
7057 else
7058 result=yes
7059 fi
7060 else
7061 result=$wxUSE_FS_ZIP
7062 fi
7063
7064 { echo "$as_me:$LINENO: result: $result" >&5
7065 echo "${ECHO_T}$result" >&6; }
7066
7067
7068 enablestring=
7069 defaultval=$wxUSE_ALL_FEATURES
7070 if test -z "$defaultval"; then
7071 if test x"$enablestring" = xdisable; then
7072 defaultval=yes
7073 else
7074 defaultval=no
7075 fi
7076 fi
7077
7078 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
7079 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
7080 # Check whether --enable-geometry was given.
7081 if test "${enable_geometry+set}" = set; then
7082 enableval=$enable_geometry;
7083 if test "$enableval" = yes; then
7084 wx_cv_use_geometry='wxUSE_GEOMETRY=yes'
7085 else
7086 wx_cv_use_geometry='wxUSE_GEOMETRY=no'
7087 fi
7088
7089 else
7090
7091 wx_cv_use_geometry='wxUSE_GEOMETRY=${'DEFAULT_wxUSE_GEOMETRY":-$defaultval}"
7092
7093 fi
7094
7095
7096 eval "$wx_cv_use_geometry"
7097
7098 if test x"$enablestring" = xdisable; then
7099 if test $wxUSE_GEOMETRY = yes; then
7100 result=no
7101 else
7102 result=yes
7103 fi
7104 else
7105 result=$wxUSE_GEOMETRY
7106 fi
7107
7108 { echo "$as_me:$LINENO: result: $result" >&5
7109 echo "${ECHO_T}$result" >&6; }
7110
7111
7112 enablestring=
7113 defaultval=$wxUSE_ALL_FEATURES
7114 if test -z "$defaultval"; then
7115 if test x"$enablestring" = xdisable; then
7116 defaultval=yes
7117 else
7118 defaultval=no
7119 fi
7120 fi
7121
7122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
7123 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
7124 # Check whether --enable-log was given.
7125 if test "${enable_log+set}" = set; then
7126 enableval=$enable_log;
7127 if test "$enableval" = yes; then
7128 wx_cv_use_log='wxUSE_LOG=yes'
7129 else
7130 wx_cv_use_log='wxUSE_LOG=no'
7131 fi
7132
7133 else
7134
7135 wx_cv_use_log='wxUSE_LOG=${'DEFAULT_wxUSE_LOG":-$defaultval}"
7136
7137 fi
7138
7139
7140 eval "$wx_cv_use_log"
7141
7142 if test x"$enablestring" = xdisable; then
7143 if test $wxUSE_LOG = yes; then
7144 result=no
7145 else
7146 result=yes
7147 fi
7148 else
7149 result=$wxUSE_LOG
7150 fi
7151
7152 { echo "$as_me:$LINENO: result: $result" >&5
7153 echo "${ECHO_T}$result" >&6; }
7154
7155
7156 enablestring=
7157 defaultval=$wxUSE_ALL_FEATURES
7158 if test -z "$defaultval"; then
7159 if test x"$enablestring" = xdisable; then
7160 defaultval=yes
7161 else
7162 defaultval=no
7163 fi
7164 fi
7165
7166 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
7167 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
7168 # Check whether --enable-longlong was given.
7169 if test "${enable_longlong+set}" = set; then
7170 enableval=$enable_longlong;
7171 if test "$enableval" = yes; then
7172 wx_cv_use_longlong='wxUSE_LONGLONG=yes'
7173 else
7174 wx_cv_use_longlong='wxUSE_LONGLONG=no'
7175 fi
7176
7177 else
7178
7179 wx_cv_use_longlong='wxUSE_LONGLONG=${'DEFAULT_wxUSE_LONGLONG":-$defaultval}"
7180
7181 fi
7182
7183
7184 eval "$wx_cv_use_longlong"
7185
7186 if test x"$enablestring" = xdisable; then
7187 if test $wxUSE_LONGLONG = yes; then
7188 result=no
7189 else
7190 result=yes
7191 fi
7192 else
7193 result=$wxUSE_LONGLONG
7194 fi
7195
7196 { echo "$as_me:$LINENO: result: $result" >&5
7197 echo "${ECHO_T}$result" >&6; }
7198
7199
7200 enablestring=
7201 defaultval=$wxUSE_ALL_FEATURES
7202 if test -z "$defaultval"; then
7203 if test x"$enablestring" = xdisable; then
7204 defaultval=yes
7205 else
7206 defaultval=no
7207 fi
7208 fi
7209
7210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
7211 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
7212 # Check whether --enable-mimetype was given.
7213 if test "${enable_mimetype+set}" = set; then
7214 enableval=$enable_mimetype;
7215 if test "$enableval" = yes; then
7216 wx_cv_use_mimetype='wxUSE_MIMETYPE=yes'
7217 else
7218 wx_cv_use_mimetype='wxUSE_MIMETYPE=no'
7219 fi
7220
7221 else
7222
7223 wx_cv_use_mimetype='wxUSE_MIMETYPE=${'DEFAULT_wxUSE_MIMETYPE":-$defaultval}"
7224
7225 fi
7226
7227
7228 eval "$wx_cv_use_mimetype"
7229
7230 if test x"$enablestring" = xdisable; then
7231 if test $wxUSE_MIMETYPE = yes; then
7232 result=no
7233 else
7234 result=yes
7235 fi
7236 else
7237 result=$wxUSE_MIMETYPE
7238 fi
7239
7240 { echo "$as_me:$LINENO: result: $result" >&5
7241 echo "${ECHO_T}$result" >&6; }
7242
7243
7244 enablestring=
7245 defaultval=$wxUSE_ALL_FEATURES
7246 if test -z "$defaultval"; then
7247 if test x"$enablestring" = xdisable; then
7248 defaultval=yes
7249 else
7250 defaultval=no
7251 fi
7252 fi
7253
7254 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
7255 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
7256 # Check whether --enable-snglinst was given.
7257 if test "${enable_snglinst+set}" = set; then
7258 enableval=$enable_snglinst;
7259 if test "$enableval" = yes; then
7260 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
7261 else
7262 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
7263 fi
7264
7265 else
7266
7267 wx_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=${'DEFAULT_wxUSE_SNGLINST_CHECKER":-$defaultval}"
7268
7269 fi
7270
7271
7272 eval "$wx_cv_use_snglinst"
7273
7274 if test x"$enablestring" = xdisable; then
7275 if test $wxUSE_SNGLINST_CHECKER = yes; then
7276 result=no
7277 else
7278 result=yes
7279 fi
7280 else
7281 result=$wxUSE_SNGLINST_CHECKER
7282 fi
7283
7284 { echo "$as_me:$LINENO: result: $result" >&5
7285 echo "${ECHO_T}$result" >&6; }
7286
7287
7288 enablestring=
7289 defaultval=$wxUSE_ALL_FEATURES
7290 if test -z "$defaultval"; then
7291 if test x"$enablestring" = xdisable; then
7292 defaultval=yes
7293 else
7294 defaultval=no
7295 fi
7296 fi
7297
7298 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
7299 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
7300 # Check whether --enable-stdpaths was given.
7301 if test "${enable_stdpaths+set}" = set; then
7302 enableval=$enable_stdpaths;
7303 if test "$enableval" = yes; then
7304 wx_cv_use_stdpaths='wxUSE_STDPATHS=yes'
7305 else
7306 wx_cv_use_stdpaths='wxUSE_STDPATHS=no'
7307 fi
7308
7309 else
7310
7311 wx_cv_use_stdpaths='wxUSE_STDPATHS=${'DEFAULT_wxUSE_STDPATHS":-$defaultval}"
7312
7313 fi
7314
7315
7316 eval "$wx_cv_use_stdpaths"
7317
7318 if test x"$enablestring" = xdisable; then
7319 if test $wxUSE_STDPATHS = yes; then
7320 result=no
7321 else
7322 result=yes
7323 fi
7324 else
7325 result=$wxUSE_STDPATHS
7326 fi
7327
7328 { echo "$as_me:$LINENO: result: $result" >&5
7329 echo "${ECHO_T}$result" >&6; }
7330
7331
7332 enablestring=
7333 defaultval=$wxUSE_ALL_FEATURES
7334 if test -z "$defaultval"; then
7335 if test x"$enablestring" = xdisable; then
7336 defaultval=yes
7337 else
7338 defaultval=no
7339 fi
7340 fi
7341
7342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
7343 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
7344 # Check whether --enable-stopwatch was given.
7345 if test "${enable_stopwatch+set}" = set; then
7346 enableval=$enable_stopwatch;
7347 if test "$enableval" = yes; then
7348 wx_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7349 else
7350 wx_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7351 fi
7352
7353 else
7354
7355 wx_cv_use_stopwatch='wxUSE_STOPWATCH=${'DEFAULT_wxUSE_STOPWATCH":-$defaultval}"
7356
7357 fi
7358
7359
7360 eval "$wx_cv_use_stopwatch"
7361
7362 if test x"$enablestring" = xdisable; then
7363 if test $wxUSE_STOPWATCH = yes; then
7364 result=no
7365 else
7366 result=yes
7367 fi
7368 else
7369 result=$wxUSE_STOPWATCH
7370 fi
7371
7372 { echo "$as_me:$LINENO: result: $result" >&5
7373 echo "${ECHO_T}$result" >&6; }
7374
7375
7376 enablestring=
7377 defaultval=$wxUSE_ALL_FEATURES
7378 if test -z "$defaultval"; then
7379 if test x"$enablestring" = xdisable; then
7380 defaultval=yes
7381 else
7382 defaultval=no
7383 fi
7384 fi
7385
7386 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7387 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7388 # Check whether --enable-streams was given.
7389 if test "${enable_streams+set}" = set; then
7390 enableval=$enable_streams;
7391 if test "$enableval" = yes; then
7392 wx_cv_use_streams='wxUSE_STREAMS=yes'
7393 else
7394 wx_cv_use_streams='wxUSE_STREAMS=no'
7395 fi
7396
7397 else
7398
7399 wx_cv_use_streams='wxUSE_STREAMS=${'DEFAULT_wxUSE_STREAMS":-$defaultval}"
7400
7401 fi
7402
7403
7404 eval "$wx_cv_use_streams"
7405
7406 if test x"$enablestring" = xdisable; then
7407 if test $wxUSE_STREAMS = yes; then
7408 result=no
7409 else
7410 result=yes
7411 fi
7412 else
7413 result=$wxUSE_STREAMS
7414 fi
7415
7416 { echo "$as_me:$LINENO: result: $result" >&5
7417 echo "${ECHO_T}$result" >&6; }
7418
7419
7420 enablestring=
7421 defaultval=$wxUSE_ALL_FEATURES
7422 if test -z "$defaultval"; then
7423 if test x"$enablestring" = xdisable; then
7424 defaultval=yes
7425 else
7426 defaultval=no
7427 fi
7428 fi
7429
7430 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7431 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7432 # Check whether --enable-system_options was given.
7433 if test "${enable_system_options+set}" = set; then
7434 enableval=$enable_system_options;
7435 if test "$enableval" = yes; then
7436 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7437 else
7438 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7439 fi
7440
7441 else
7442
7443 wx_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=${'DEFAULT_wxUSE_SYSTEM_OPTIONS":-$defaultval}"
7444
7445 fi
7446
7447
7448 eval "$wx_cv_use_system_options"
7449
7450 if test x"$enablestring" = xdisable; then
7451 if test $wxUSE_SYSTEM_OPTIONS = yes; then
7452 result=no
7453 else
7454 result=yes
7455 fi
7456 else
7457 result=$wxUSE_SYSTEM_OPTIONS
7458 fi
7459
7460 { echo "$as_me:$LINENO: result: $result" >&5
7461 echo "${ECHO_T}$result" >&6; }
7462
7463
7464 enablestring=
7465 defaultval=$wxUSE_ALL_FEATURES
7466 if test -z "$defaultval"; then
7467 if test x"$enablestring" = xdisable; then
7468 defaultval=yes
7469 else
7470 defaultval=no
7471 fi
7472 fi
7473
7474 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7475 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7476 # Check whether --enable-tarstream was given.
7477 if test "${enable_tarstream+set}" = set; then
7478 enableval=$enable_tarstream;
7479 if test "$enableval" = yes; then
7480 wx_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7481 else
7482 wx_cv_use_tarstream='wxUSE_TARSTREAM=no'
7483 fi
7484
7485 else
7486
7487 wx_cv_use_tarstream='wxUSE_TARSTREAM=${'DEFAULT_wxUSE_TARSTREAM":-$defaultval}"
7488
7489 fi
7490
7491
7492 eval "$wx_cv_use_tarstream"
7493
7494 if test x"$enablestring" = xdisable; then
7495 if test $wxUSE_TARSTREAM = yes; then
7496 result=no
7497 else
7498 result=yes
7499 fi
7500 else
7501 result=$wxUSE_TARSTREAM
7502 fi
7503
7504 { echo "$as_me:$LINENO: result: $result" >&5
7505 echo "${ECHO_T}$result" >&6; }
7506
7507
7508 enablestring=
7509 defaultval=$wxUSE_ALL_FEATURES
7510 if test -z "$defaultval"; then
7511 if test x"$enablestring" = xdisable; then
7512 defaultval=yes
7513 else
7514 defaultval=no
7515 fi
7516 fi
7517
7518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7519 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7520 # Check whether --enable-textbuf was given.
7521 if test "${enable_textbuf+set}" = set; then
7522 enableval=$enable_textbuf;
7523 if test "$enableval" = yes; then
7524 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7525 else
7526 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7527 fi
7528
7529 else
7530
7531 wx_cv_use_textbuf='wxUSE_TEXTBUFFER=${'DEFAULT_wxUSE_TEXTBUFFER":-$defaultval}"
7532
7533 fi
7534
7535
7536 eval "$wx_cv_use_textbuf"
7537
7538 if test x"$enablestring" = xdisable; then
7539 if test $wxUSE_TEXTBUFFER = yes; then
7540 result=no
7541 else
7542 result=yes
7543 fi
7544 else
7545 result=$wxUSE_TEXTBUFFER
7546 fi
7547
7548 { echo "$as_me:$LINENO: result: $result" >&5
7549 echo "${ECHO_T}$result" >&6; }
7550
7551
7552 enablestring=
7553 defaultval=$wxUSE_ALL_FEATURES
7554 if test -z "$defaultval"; then
7555 if test x"$enablestring" = xdisable; then
7556 defaultval=yes
7557 else
7558 defaultval=no
7559 fi
7560 fi
7561
7562 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7563 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7564 # Check whether --enable-textfile was given.
7565 if test "${enable_textfile+set}" = set; then
7566 enableval=$enable_textfile;
7567 if test "$enableval" = yes; then
7568 wx_cv_use_textfile='wxUSE_TEXTFILE=yes'
7569 else
7570 wx_cv_use_textfile='wxUSE_TEXTFILE=no'
7571 fi
7572
7573 else
7574
7575 wx_cv_use_textfile='wxUSE_TEXTFILE=${'DEFAULT_wxUSE_TEXTFILE":-$defaultval}"
7576
7577 fi
7578
7579
7580 eval "$wx_cv_use_textfile"
7581
7582 if test x"$enablestring" = xdisable; then
7583 if test $wxUSE_TEXTFILE = yes; then
7584 result=no
7585 else
7586 result=yes
7587 fi
7588 else
7589 result=$wxUSE_TEXTFILE
7590 fi
7591
7592 { echo "$as_me:$LINENO: result: $result" >&5
7593 echo "${ECHO_T}$result" >&6; }
7594
7595
7596 enablestring=
7597 defaultval=$wxUSE_ALL_FEATURES
7598 if test -z "$defaultval"; then
7599 if test x"$enablestring" = xdisable; then
7600 defaultval=yes
7601 else
7602 defaultval=no
7603 fi
7604 fi
7605
7606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7607 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7608 # Check whether --enable-timer was given.
7609 if test "${enable_timer+set}" = set; then
7610 enableval=$enable_timer;
7611 if test "$enableval" = yes; then
7612 wx_cv_use_timer='wxUSE_TIMER=yes'
7613 else
7614 wx_cv_use_timer='wxUSE_TIMER=no'
7615 fi
7616
7617 else
7618
7619 wx_cv_use_timer='wxUSE_TIMER=${'DEFAULT_wxUSE_TIMER":-$defaultval}"
7620
7621 fi
7622
7623
7624 eval "$wx_cv_use_timer"
7625
7626 if test x"$enablestring" = xdisable; then
7627 if test $wxUSE_TIMER = yes; then
7628 result=no
7629 else
7630 result=yes
7631 fi
7632 else
7633 result=$wxUSE_TIMER
7634 fi
7635
7636 { echo "$as_me:$LINENO: result: $result" >&5
7637 echo "${ECHO_T}$result" >&6; }
7638
7639
7640 enablestring=
7641 defaultval=$wxUSE_ALL_FEATURES
7642 if test -z "$defaultval"; then
7643 if test x"$enablestring" = xdisable; then
7644 defaultval=yes
7645 else
7646 defaultval=no
7647 fi
7648 fi
7649
7650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7651 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7652 # Check whether --enable-sound was given.
7653 if test "${enable_sound+set}" = set; then
7654 enableval=$enable_sound;
7655 if test "$enableval" = yes; then
7656 wx_cv_use_sound='wxUSE_SOUND=yes'
7657 else
7658 wx_cv_use_sound='wxUSE_SOUND=no'
7659 fi
7660
7661 else
7662
7663 wx_cv_use_sound='wxUSE_SOUND=${'DEFAULT_wxUSE_SOUND":-$defaultval}"
7664
7665 fi
7666
7667
7668 eval "$wx_cv_use_sound"
7669
7670 if test x"$enablestring" = xdisable; then
7671 if test $wxUSE_SOUND = yes; then
7672 result=no
7673 else
7674 result=yes
7675 fi
7676 else
7677 result=$wxUSE_SOUND
7678 fi
7679
7680 { echo "$as_me:$LINENO: result: $result" >&5
7681 echo "${ECHO_T}$result" >&6; }
7682
7683
7684 enablestring=
7685 defaultval=$wxUSE_ALL_FEATURES
7686 if test -z "$defaultval"; then
7687 if test x"$enablestring" = xdisable; then
7688 defaultval=yes
7689 else
7690 defaultval=no
7691 fi
7692 fi
7693
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7696 # Check whether --enable-mediactrl was given.
7697 if test "${enable_mediactrl+set}" = set; then
7698 enableval=$enable_mediactrl;
7699 if test "$enableval" = yes; then
7700 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7701 else
7702 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7703 fi
7704
7705 else
7706
7707 wx_cv_use_mediactrl='wxUSE_MEDIACTRL=${'DEFAULT_wxUSE_MEDIACTRL":-$defaultval}"
7708
7709 fi
7710
7711
7712 eval "$wx_cv_use_mediactrl"
7713
7714 if test x"$enablestring" = xdisable; then
7715 if test $wxUSE_MEDIACTRL = yes; then
7716 result=no
7717 else
7718 result=yes
7719 fi
7720 else
7721 result=$wxUSE_MEDIACTRL
7722 fi
7723
7724 { echo "$as_me:$LINENO: result: $result" >&5
7725 echo "${ECHO_T}$result" >&6; }
7726
7727
7728 enablestring=
7729 defaultval=$wxUSE_ALL_FEATURES
7730 if test -z "$defaultval"; then
7731 if test x"$enablestring" = xdisable; then
7732 defaultval=yes
7733 else
7734 defaultval=no
7735 fi
7736 fi
7737
7738 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7739 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7740 # Check whether --enable-gstreamer8 was given.
7741 if test "${enable_gstreamer8+set}" = set; then
7742 enableval=$enable_gstreamer8;
7743 if test "$enableval" = yes; then
7744 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7745 else
7746 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7747 fi
7748
7749 else
7750
7751 wx_cv_use_gstreamer8='wxUSE_GSTREAMER8=${'DEFAULT_wxUSE_GSTREAMER8":-$defaultval}"
7752
7753 fi
7754
7755
7756 eval "$wx_cv_use_gstreamer8"
7757
7758 if test x"$enablestring" = xdisable; then
7759 if test $wxUSE_GSTREAMER8 = yes; then
7760 result=no
7761 else
7762 result=yes
7763 fi
7764 else
7765 result=$wxUSE_GSTREAMER8
7766 fi
7767
7768 { echo "$as_me:$LINENO: result: $result" >&5
7769 echo "${ECHO_T}$result" >&6; }
7770
7771
7772 enablestring=
7773 defaultval=$wxUSE_ALL_FEATURES
7774 if test -z "$defaultval"; then
7775 if test x"$enablestring" = xdisable; then
7776 defaultval=yes
7777 else
7778 defaultval=no
7779 fi
7780 fi
7781
7782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7783 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7784 # Check whether --enable-printfposparam was given.
7785 if test "${enable_printfposparam+set}" = set; then
7786 enableval=$enable_printfposparam;
7787 if test "$enableval" = yes; then
7788 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7789 else
7790 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7791 fi
7792
7793 else
7794
7795 wx_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=${'DEFAULT_wxUSE_PRINTF_POS_PARAMS":-$defaultval}"
7796
7797 fi
7798
7799
7800 eval "$wx_cv_use_printfposparam"
7801
7802 if test x"$enablestring" = xdisable; then
7803 if test $wxUSE_PRINTF_POS_PARAMS = yes; then
7804 result=no
7805 else
7806 result=yes
7807 fi
7808 else
7809 result=$wxUSE_PRINTF_POS_PARAMS
7810 fi
7811
7812 { echo "$as_me:$LINENO: result: $result" >&5
7813 echo "${ECHO_T}$result" >&6; }
7814
7815
7816 enablestring=
7817 defaultval=$wxUSE_ALL_FEATURES
7818 if test -z "$defaultval"; then
7819 if test x"$enablestring" = xdisable; then
7820 defaultval=yes
7821 else
7822 defaultval=no
7823 fi
7824 fi
7825
7826 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7827 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7828 # Check whether --enable-zipstream was given.
7829 if test "${enable_zipstream+set}" = set; then
7830 enableval=$enable_zipstream;
7831 if test "$enableval" = yes; then
7832 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7833 else
7834 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7835 fi
7836
7837 else
7838
7839 wx_cv_use_zipstream='wxUSE_ZIPSTREAM=${'DEFAULT_wxUSE_ZIPSTREAM":-$defaultval}"
7840
7841 fi
7842
7843
7844 eval "$wx_cv_use_zipstream"
7845
7846 if test x"$enablestring" = xdisable; then
7847 if test $wxUSE_ZIPSTREAM = yes; then
7848 result=no
7849 else
7850 result=yes
7851 fi
7852 else
7853 result=$wxUSE_ZIPSTREAM
7854 fi
7855
7856 { echo "$as_me:$LINENO: result: $result" >&5
7857 echo "${ECHO_T}$result" >&6; }
7858
7859
7860
7861 enablestring=
7862 defaultval=$wxUSE_ALL_FEATURES
7863 if test -z "$defaultval"; then
7864 if test x"$enablestring" = xdisable; then
7865 defaultval=yes
7866 else
7867 defaultval=no
7868 fi
7869 fi
7870
7871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7872 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7873 # Check whether --enable-url was given.
7874 if test "${enable_url+set}" = set; then
7875 enableval=$enable_url;
7876 if test "$enableval" = yes; then
7877 wx_cv_use_url='wxUSE_URL=yes'
7878 else
7879 wx_cv_use_url='wxUSE_URL=no'
7880 fi
7881
7882 else
7883
7884 wx_cv_use_url='wxUSE_URL=${'DEFAULT_wxUSE_URL":-$defaultval}"
7885
7886 fi
7887
7888
7889 eval "$wx_cv_use_url"
7890
7891 if test x"$enablestring" = xdisable; then
7892 if test $wxUSE_URL = yes; then
7893 result=no
7894 else
7895 result=yes
7896 fi
7897 else
7898 result=$wxUSE_URL
7899 fi
7900
7901 { echo "$as_me:$LINENO: result: $result" >&5
7902 echo "${ECHO_T}$result" >&6; }
7903
7904
7905 enablestring=
7906 defaultval=$wxUSE_ALL_FEATURES
7907 if test -z "$defaultval"; then
7908 if test x"$enablestring" = xdisable; then
7909 defaultval=yes
7910 else
7911 defaultval=no
7912 fi
7913 fi
7914
7915 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7916 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7917 # Check whether --enable-variant was given.
7918 if test "${enable_variant+set}" = set; then
7919 enableval=$enable_variant;
7920 if test "$enableval" = yes; then
7921 wx_cv_use_variant='wxUSE_VARIANT=yes'
7922 else
7923 wx_cv_use_variant='wxUSE_VARIANT=no'
7924 fi
7925
7926 else
7927
7928 wx_cv_use_variant='wxUSE_VARIANT=${'DEFAULT_wxUSE_VARIANT":-$defaultval}"
7929
7930 fi
7931
7932
7933 eval "$wx_cv_use_variant"
7934
7935 if test x"$enablestring" = xdisable; then
7936 if test $wxUSE_VARIANT = yes; then
7937 result=no
7938 else
7939 result=yes
7940 fi
7941 else
7942 result=$wxUSE_VARIANT
7943 fi
7944
7945 { echo "$as_me:$LINENO: result: $result" >&5
7946 echo "${ECHO_T}$result" >&6; }
7947
7948
7949 enablestring=
7950 defaultval=$wxUSE_ALL_FEATURES
7951 if test -z "$defaultval"; then
7952 if test x"$enablestring" = xdisable; then
7953 defaultval=yes
7954 else
7955 defaultval=no
7956 fi
7957 fi
7958
7959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7960 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7961 # Check whether --enable-protocol was given.
7962 if test "${enable_protocol+set}" = set; then
7963 enableval=$enable_protocol;
7964 if test "$enableval" = yes; then
7965 wx_cv_use_protocol='wxUSE_PROTOCOL=yes'
7966 else
7967 wx_cv_use_protocol='wxUSE_PROTOCOL=no'
7968 fi
7969
7970 else
7971
7972 wx_cv_use_protocol='wxUSE_PROTOCOL=${'DEFAULT_wxUSE_PROTOCOL":-$defaultval}"
7973
7974 fi
7975
7976
7977 eval "$wx_cv_use_protocol"
7978
7979 if test x"$enablestring" = xdisable; then
7980 if test $wxUSE_PROTOCOL = yes; then
7981 result=no
7982 else
7983 result=yes
7984 fi
7985 else
7986 result=$wxUSE_PROTOCOL
7987 fi
7988
7989 { echo "$as_me:$LINENO: result: $result" >&5
7990 echo "${ECHO_T}$result" >&6; }
7991
7992
7993 enablestring=
7994 defaultval=$wxUSE_ALL_FEATURES
7995 if test -z "$defaultval"; then
7996 if test x"$enablestring" = xdisable; then
7997 defaultval=yes
7998 else
7999 defaultval=no
8000 fi
8001 fi
8002
8003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
8004 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
8005 # Check whether --enable-protocol_http was given.
8006 if test "${enable_protocol_http+set}" = set; then
8007 enableval=$enable_protocol_http;
8008 if test "$enableval" = yes; then
8009 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
8010 else
8011 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
8012 fi
8013
8014 else
8015
8016 wx_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=${'DEFAULT_wxUSE_PROTOCOL_HTTP":-$defaultval}"
8017
8018 fi
8019
8020
8021 eval "$wx_cv_use_protocol_http"
8022
8023 if test x"$enablestring" = xdisable; then
8024 if test $wxUSE_PROTOCOL_HTTP = yes; then
8025 result=no
8026 else
8027 result=yes
8028 fi
8029 else
8030 result=$wxUSE_PROTOCOL_HTTP
8031 fi
8032
8033 { echo "$as_me:$LINENO: result: $result" >&5
8034 echo "${ECHO_T}$result" >&6; }
8035
8036
8037 enablestring=
8038 defaultval=$wxUSE_ALL_FEATURES
8039 if test -z "$defaultval"; then
8040 if test x"$enablestring" = xdisable; then
8041 defaultval=yes
8042 else
8043 defaultval=no
8044 fi
8045 fi
8046
8047 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
8048 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
8049 # Check whether --enable-protocol_ftp was given.
8050 if test "${enable_protocol_ftp+set}" = set; then
8051 enableval=$enable_protocol_ftp;
8052 if test "$enableval" = yes; then
8053 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
8054 else
8055 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
8056 fi
8057
8058 else
8059
8060 wx_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=${'DEFAULT_wxUSE_PROTOCOL_FTP":-$defaultval}"
8061
8062 fi
8063
8064
8065 eval "$wx_cv_use_protocol_ftp"
8066
8067 if test x"$enablestring" = xdisable; then
8068 if test $wxUSE_PROTOCOL_FTP = yes; then
8069 result=no
8070 else
8071 result=yes
8072 fi
8073 else
8074 result=$wxUSE_PROTOCOL_FTP
8075 fi
8076
8077 { echo "$as_me:$LINENO: result: $result" >&5
8078 echo "${ECHO_T}$result" >&6; }
8079
8080
8081 enablestring=
8082 defaultval=$wxUSE_ALL_FEATURES
8083 if test -z "$defaultval"; then
8084 if test x"$enablestring" = xdisable; then
8085 defaultval=yes
8086 else
8087 defaultval=no
8088 fi
8089 fi
8090
8091 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
8092 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
8093 # Check whether --enable-protocol_file was given.
8094 if test "${enable_protocol_file+set}" = set; then
8095 enableval=$enable_protocol_file;
8096 if test "$enableval" = yes; then
8097 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
8098 else
8099 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
8100 fi
8101
8102 else
8103
8104 wx_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=${'DEFAULT_wxUSE_PROTOCOL_FILE":-$defaultval}"
8105
8106 fi
8107
8108
8109 eval "$wx_cv_use_protocol_file"
8110
8111 if test x"$enablestring" = xdisable; then
8112 if test $wxUSE_PROTOCOL_FILE = yes; then
8113 result=no
8114 else
8115 result=yes
8116 fi
8117 else
8118 result=$wxUSE_PROTOCOL_FILE
8119 fi
8120
8121 { echo "$as_me:$LINENO: result: $result" >&5
8122 echo "${ECHO_T}$result" >&6; }
8123
8124
8125
8126 enablestring=
8127 defaultval=$wxUSE_ALL_FEATURES
8128 if test -z "$defaultval"; then
8129 if test x"$enablestring" = xdisable; then
8130 defaultval=yes
8131 else
8132 defaultval=no
8133 fi
8134 fi
8135
8136 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
8137 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
8138 # Check whether --enable-threads was given.
8139 if test "${enable_threads+set}" = set; then
8140 enableval=$enable_threads;
8141 if test "$enableval" = yes; then
8142 wx_cv_use_threads='wxUSE_THREADS=yes'
8143 else
8144 wx_cv_use_threads='wxUSE_THREADS=no'
8145 fi
8146
8147 else
8148
8149 wx_cv_use_threads='wxUSE_THREADS=${'DEFAULT_wxUSE_THREADS":-$defaultval}"
8150
8151 fi
8152
8153
8154 eval "$wx_cv_use_threads"
8155
8156 if test x"$enablestring" = xdisable; then
8157 if test $wxUSE_THREADS = yes; then
8158 result=no
8159 else
8160 result=yes
8161 fi
8162 else
8163 result=$wxUSE_THREADS
8164 fi
8165
8166 { echo "$as_me:$LINENO: result: $result" >&5
8167 echo "${ECHO_T}$result" >&6; }
8168
8169
8170
8171 enablestring=
8172 defaultval=
8173 if test -z "$defaultval"; then
8174 if test x"$enablestring" = xdisable; then
8175 defaultval=yes
8176 else
8177 defaultval=no
8178 fi
8179 fi
8180
8181 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iniconf" >&5
8182 echo $ECHO_N "checking for --${enablestring:-enable}-iniconf... $ECHO_C" >&6; }
8183 # Check whether --enable-iniconf was given.
8184 if test "${enable_iniconf+set}" = set; then
8185 enableval=$enable_iniconf;
8186 if test "$enableval" = yes; then
8187 wx_cv_use_iniconf='wxUSE_INICONF=yes'
8188 else
8189 wx_cv_use_iniconf='wxUSE_INICONF=no'
8190 fi
8191
8192 else
8193
8194 wx_cv_use_iniconf='wxUSE_INICONF=${'DEFAULT_wxUSE_INICONF":-$defaultval}"
8195
8196 fi
8197
8198
8199 eval "$wx_cv_use_iniconf"
8200
8201 if test x"$enablestring" = xdisable; then
8202 if test $wxUSE_INICONF = yes; then
8203 result=no
8204 else
8205 result=yes
8206 fi
8207 else
8208 result=$wxUSE_INICONF
8209 fi
8210
8211 { echo "$as_me:$LINENO: result: $result" >&5
8212 echo "${ECHO_T}$result" >&6; }
8213
8214
8215 enablestring=
8216 defaultval=$wxUSE_ALL_FEATURES
8217 if test -z "$defaultval"; then
8218 if test x"$enablestring" = xdisable; then
8219 defaultval=yes
8220 else
8221 defaultval=no
8222 fi
8223 fi
8224
8225 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-regkey" >&5
8226 echo $ECHO_N "checking for --${enablestring:-enable}-regkey... $ECHO_C" >&6; }
8227 # Check whether --enable-regkey was given.
8228 if test "${enable_regkey+set}" = set; then
8229 enableval=$enable_regkey;
8230 if test "$enableval" = yes; then
8231 wx_cv_use_regkey='wxUSE_REGKEY=yes'
8232 else
8233 wx_cv_use_regkey='wxUSE_REGKEY=no'
8234 fi
8235
8236 else
8237
8238 wx_cv_use_regkey='wxUSE_REGKEY=${'DEFAULT_wxUSE_REGKEY":-$defaultval}"
8239
8240 fi
8241
8242
8243 eval "$wx_cv_use_regkey"
8244
8245 if test x"$enablestring" = xdisable; then
8246 if test $wxUSE_REGKEY = yes; then
8247 result=no
8248 else
8249 result=yes
8250 fi
8251 else
8252 result=$wxUSE_REGKEY
8253 fi
8254
8255 { echo "$as_me:$LINENO: result: $result" >&5
8256 echo "${ECHO_T}$result" >&6; }
8257
8258
8259 if test "$wxUSE_GUI" = "yes"; then
8260
8261
8262
8263 enablestring=
8264 defaultval=$wxUSE_ALL_FEATURES
8265 if test -z "$defaultval"; then
8266 if test x"$enablestring" = xdisable; then
8267 defaultval=yes
8268 else
8269 defaultval=no
8270 fi
8271 fi
8272
8273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
8274 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
8275 # Check whether --enable-docview was given.
8276 if test "${enable_docview+set}" = set; then
8277 enableval=$enable_docview;
8278 if test "$enableval" = yes; then
8279 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
8280 else
8281 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
8282 fi
8283
8284 else
8285
8286 wx_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=${'DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE":-$defaultval}"
8287
8288 fi
8289
8290
8291 eval "$wx_cv_use_docview"
8292
8293 if test x"$enablestring" = xdisable; then
8294 if test $wxUSE_DOC_VIEW_ARCHITECTURE = yes; then
8295 result=no
8296 else
8297 result=yes
8298 fi
8299 else
8300 result=$wxUSE_DOC_VIEW_ARCHITECTURE
8301 fi
8302
8303 { echo "$as_me:$LINENO: result: $result" >&5
8304 echo "${ECHO_T}$result" >&6; }
8305
8306
8307 enablestring=
8308 defaultval=$wxUSE_ALL_FEATURES
8309 if test -z "$defaultval"; then
8310 if test x"$enablestring" = xdisable; then
8311 defaultval=yes
8312 else
8313 defaultval=no
8314 fi
8315 fi
8316
8317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
8318 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
8319 # Check whether --enable-help was given.
8320 if test "${enable_help+set}" = set; then
8321 enableval=$enable_help;
8322 if test "$enableval" = yes; then
8323 wx_cv_use_help='wxUSE_HELP=yes'
8324 else
8325 wx_cv_use_help='wxUSE_HELP=no'
8326 fi
8327
8328 else
8329
8330 wx_cv_use_help='wxUSE_HELP=${'DEFAULT_wxUSE_HELP":-$defaultval}"
8331
8332 fi
8333
8334
8335 eval "$wx_cv_use_help"
8336
8337 if test x"$enablestring" = xdisable; then
8338 if test $wxUSE_HELP = yes; then
8339 result=no
8340 else
8341 result=yes
8342 fi
8343 else
8344 result=$wxUSE_HELP
8345 fi
8346
8347 { echo "$as_me:$LINENO: result: $result" >&5
8348 echo "${ECHO_T}$result" >&6; }
8349
8350
8351 enablestring=
8352 defaultval=$wxUSE_ALL_FEATURES
8353 if test -z "$defaultval"; then
8354 if test x"$enablestring" = xdisable; then
8355 defaultval=yes
8356 else
8357 defaultval=no
8358 fi
8359 fi
8360
8361 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
8362 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
8363 # Check whether --enable-mshtmlhelp was given.
8364 if test "${enable_mshtmlhelp+set}" = set; then
8365 enableval=$enable_mshtmlhelp;
8366 if test "$enableval" = yes; then
8367 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
8368 else
8369 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
8370 fi
8371
8372 else
8373
8374 wx_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=${'DEFAULT_wxUSE_MS_HTML_HELP":-$defaultval}"
8375
8376 fi
8377
8378
8379 eval "$wx_cv_use_mshtmlhelp"
8380
8381 if test x"$enablestring" = xdisable; then
8382 if test $wxUSE_MS_HTML_HELP = yes; then
8383 result=no
8384 else
8385 result=yes
8386 fi
8387 else
8388 result=$wxUSE_MS_HTML_HELP
8389 fi
8390
8391 { echo "$as_me:$LINENO: result: $result" >&5
8392 echo "${ECHO_T}$result" >&6; }
8393
8394
8395 enablestring=
8396 defaultval=$wxUSE_ALL_FEATURES
8397 if test -z "$defaultval"; then
8398 if test x"$enablestring" = xdisable; then
8399 defaultval=yes
8400 else
8401 defaultval=no
8402 fi
8403 fi
8404
8405 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
8406 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
8407 # Check whether --enable-html was given.
8408 if test "${enable_html+set}" = set; then
8409 enableval=$enable_html;
8410 if test "$enableval" = yes; then
8411 wx_cv_use_html='wxUSE_HTML=yes'
8412 else
8413 wx_cv_use_html='wxUSE_HTML=no'
8414 fi
8415
8416 else
8417
8418 wx_cv_use_html='wxUSE_HTML=${'DEFAULT_wxUSE_HTML":-$defaultval}"
8419
8420 fi
8421
8422
8423 eval "$wx_cv_use_html"
8424
8425 if test x"$enablestring" = xdisable; then
8426 if test $wxUSE_HTML = yes; then
8427 result=no
8428 else
8429 result=yes
8430 fi
8431 else
8432 result=$wxUSE_HTML
8433 fi
8434
8435 { echo "$as_me:$LINENO: result: $result" >&5
8436 echo "${ECHO_T}$result" >&6; }
8437
8438
8439 enablestring=
8440 defaultval=$wxUSE_ALL_FEATURES
8441 if test -z "$defaultval"; then
8442 if test x"$enablestring" = xdisable; then
8443 defaultval=yes
8444 else
8445 defaultval=no
8446 fi
8447 fi
8448
8449 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
8450 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
8451 # Check whether --enable-htmlhelp was given.
8452 if test "${enable_htmlhelp+set}" = set; then
8453 enableval=$enable_htmlhelp;
8454 if test "$enableval" = yes; then
8455 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
8456 else
8457 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
8458 fi
8459
8460 else
8461
8462 wx_cv_use_htmlhelp='wxUSE_WXHTML_HELP=${'DEFAULT_wxUSE_WXHTML_HELP":-$defaultval}"
8463
8464 fi
8465
8466
8467 eval "$wx_cv_use_htmlhelp"
8468
8469 if test x"$enablestring" = xdisable; then
8470 if test $wxUSE_WXHTML_HELP = yes; then
8471 result=no
8472 else
8473 result=yes
8474 fi
8475 else
8476 result=$wxUSE_WXHTML_HELP
8477 fi
8478
8479 { echo "$as_me:$LINENO: result: $result" >&5
8480 echo "${ECHO_T}$result" >&6; }
8481
8482
8483 enablestring=
8484 defaultval=$wxUSE_ALL_FEATURES
8485 if test -z "$defaultval"; then
8486 if test x"$enablestring" = xdisable; then
8487 defaultval=yes
8488 else
8489 defaultval=no
8490 fi
8491 fi
8492
8493 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8494 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8495 # Check whether --enable-xrc was given.
8496 if test "${enable_xrc+set}" = set; then
8497 enableval=$enable_xrc;
8498 if test "$enableval" = yes; then
8499 wx_cv_use_xrc='wxUSE_XRC=yes'
8500 else
8501 wx_cv_use_xrc='wxUSE_XRC=no'
8502 fi
8503
8504 else
8505
8506 wx_cv_use_xrc='wxUSE_XRC=${'DEFAULT_wxUSE_XRC":-$defaultval}"
8507
8508 fi
8509
8510
8511 eval "$wx_cv_use_xrc"
8512
8513 if test x"$enablestring" = xdisable; then
8514 if test $wxUSE_XRC = yes; then
8515 result=no
8516 else
8517 result=yes
8518 fi
8519 else
8520 result=$wxUSE_XRC
8521 fi
8522
8523 { echo "$as_me:$LINENO: result: $result" >&5
8524 echo "${ECHO_T}$result" >&6; }
8525
8526
8527 enablestring=
8528 defaultval=$wxUSE_ALL_FEATURES
8529 if test -z "$defaultval"; then
8530 if test x"$enablestring" = xdisable; then
8531 defaultval=yes
8532 else
8533 defaultval=no
8534 fi
8535 fi
8536
8537 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8538 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8539 # Check whether --enable-aui was given.
8540 if test "${enable_aui+set}" = set; then
8541 enableval=$enable_aui;
8542 if test "$enableval" = yes; then
8543 wx_cv_use_aui='wxUSE_AUI=yes'
8544 else
8545 wx_cv_use_aui='wxUSE_AUI=no'
8546 fi
8547
8548 else
8549
8550 wx_cv_use_aui='wxUSE_AUI=${'DEFAULT_wxUSE_AUI":-$defaultval}"
8551
8552 fi
8553
8554
8555 eval "$wx_cv_use_aui"
8556
8557 if test x"$enablestring" = xdisable; then
8558 if test $wxUSE_AUI = yes; then
8559 result=no
8560 else
8561 result=yes
8562 fi
8563 else
8564 result=$wxUSE_AUI
8565 fi
8566
8567 { echo "$as_me:$LINENO: result: $result" >&5
8568 echo "${ECHO_T}$result" >&6; }
8569
8570
8571 enablestring=
8572 defaultval=$wxUSE_ALL_FEATURES
8573 if test -z "$defaultval"; then
8574 if test x"$enablestring" = xdisable; then
8575 defaultval=yes
8576 else
8577 defaultval=no
8578 fi
8579 fi
8580
8581 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8582 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8583 # Check whether --enable-stc was given.
8584 if test "${enable_stc+set}" = set; then
8585 enableval=$enable_stc;
8586 if test "$enableval" = yes; then
8587 wx_cv_use_stc='wxUSE_STC=yes'
8588 else
8589 wx_cv_use_stc='wxUSE_STC=no'
8590 fi
8591
8592 else
8593
8594 wx_cv_use_stc='wxUSE_STC=${'DEFAULT_wxUSE_STC":-$defaultval}"
8595
8596 fi
8597
8598
8599 eval "$wx_cv_use_stc"
8600
8601 if test x"$enablestring" = xdisable; then
8602 if test $wxUSE_STC = yes; then
8603 result=no
8604 else
8605 result=yes
8606 fi
8607 else
8608 result=$wxUSE_STC
8609 fi
8610
8611 { echo "$as_me:$LINENO: result: $result" >&5
8612 echo "${ECHO_T}$result" >&6; }
8613
8614
8615 enablestring=
8616 defaultval=$wxUSE_ALL_FEATURES
8617 if test -z "$defaultval"; then
8618 if test x"$enablestring" = xdisable; then
8619 defaultval=yes
8620 else
8621 defaultval=no
8622 fi
8623 fi
8624
8625 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8626 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8627 # Check whether --enable-constraints was given.
8628 if test "${enable_constraints+set}" = set; then
8629 enableval=$enable_constraints;
8630 if test "$enableval" = yes; then
8631 wx_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8632 else
8633 wx_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8634 fi
8635
8636 else
8637
8638 wx_cv_use_constraints='wxUSE_CONSTRAINTS=${'DEFAULT_wxUSE_CONSTRAINTS":-$defaultval}"
8639
8640 fi
8641
8642
8643 eval "$wx_cv_use_constraints"
8644
8645 if test x"$enablestring" = xdisable; then
8646 if test $wxUSE_CONSTRAINTS = yes; then
8647 result=no
8648 else
8649 result=yes
8650 fi
8651 else
8652 result=$wxUSE_CONSTRAINTS
8653 fi
8654
8655 { echo "$as_me:$LINENO: result: $result" >&5
8656 echo "${ECHO_T}$result" >&6; }
8657
8658
8659 enablestring=
8660 defaultval=$wxUSE_ALL_FEATURES
8661 if test -z "$defaultval"; then
8662 if test x"$enablestring" = xdisable; then
8663 defaultval=yes
8664 else
8665 defaultval=no
8666 fi
8667 fi
8668
8669 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8670 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8671 # Check whether --enable-printarch was given.
8672 if test "${enable_printarch+set}" = set; then
8673 enableval=$enable_printarch;
8674 if test "$enableval" = yes; then
8675 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8676 else
8677 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8678 fi
8679
8680 else
8681
8682 wx_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=${'DEFAULT_wxUSE_PRINTING_ARCHITECTURE":-$defaultval}"
8683
8684 fi
8685
8686
8687 eval "$wx_cv_use_printarch"
8688
8689 if test x"$enablestring" = xdisable; then
8690 if test $wxUSE_PRINTING_ARCHITECTURE = yes; then
8691 result=no
8692 else
8693 result=yes
8694 fi
8695 else
8696 result=$wxUSE_PRINTING_ARCHITECTURE
8697 fi
8698
8699 { echo "$as_me:$LINENO: result: $result" >&5
8700 echo "${ECHO_T}$result" >&6; }
8701
8702
8703 enablestring=
8704 defaultval=$wxUSE_ALL_FEATURES
8705 if test -z "$defaultval"; then
8706 if test x"$enablestring" = xdisable; then
8707 defaultval=yes
8708 else
8709 defaultval=no
8710 fi
8711 fi
8712
8713 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8714 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8715 # Check whether --enable-mdi was given.
8716 if test "${enable_mdi+set}" = set; then
8717 enableval=$enable_mdi;
8718 if test "$enableval" = yes; then
8719 wx_cv_use_mdi='wxUSE_MDI=yes'
8720 else
8721 wx_cv_use_mdi='wxUSE_MDI=no'
8722 fi
8723
8724 else
8725
8726 wx_cv_use_mdi='wxUSE_MDI=${'DEFAULT_wxUSE_MDI":-$defaultval}"
8727
8728 fi
8729
8730
8731 eval "$wx_cv_use_mdi"
8732
8733 if test x"$enablestring" = xdisable; then
8734 if test $wxUSE_MDI = yes; then
8735 result=no
8736 else
8737 result=yes
8738 fi
8739 else
8740 result=$wxUSE_MDI
8741 fi
8742
8743 { echo "$as_me:$LINENO: result: $result" >&5
8744 echo "${ECHO_T}$result" >&6; }
8745
8746
8747 enablestring=
8748 defaultval=$wxUSE_ALL_FEATURES
8749 if test -z "$defaultval"; then
8750 if test x"$enablestring" = xdisable; then
8751 defaultval=yes
8752 else
8753 defaultval=no
8754 fi
8755 fi
8756
8757 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8758 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8759 # Check whether --enable-mdidoc was given.
8760 if test "${enable_mdidoc+set}" = set; then
8761 enableval=$enable_mdidoc;
8762 if test "$enableval" = yes; then
8763 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8764 else
8765 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8766 fi
8767
8768 else
8769
8770 wx_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=${'DEFAULT_wxUSE_MDI_ARCHITECTURE":-$defaultval}"
8771
8772 fi
8773
8774
8775 eval "$wx_cv_use_mdidoc"
8776
8777 if test x"$enablestring" = xdisable; then
8778 if test $wxUSE_MDI_ARCHITECTURE = yes; then
8779 result=no
8780 else
8781 result=yes
8782 fi
8783 else
8784 result=$wxUSE_MDI_ARCHITECTURE
8785 fi
8786
8787 { echo "$as_me:$LINENO: result: $result" >&5
8788 echo "${ECHO_T}$result" >&6; }
8789
8790
8791 enablestring=
8792 defaultval=$wxUSE_ALL_FEATURES
8793 if test -z "$defaultval"; then
8794 if test x"$enablestring" = xdisable; then
8795 defaultval=yes
8796 else
8797 defaultval=no
8798 fi
8799 fi
8800
8801 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8802 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8803 # Check whether --enable-loggui was given.
8804 if test "${enable_loggui+set}" = set; then
8805 enableval=$enable_loggui;
8806 if test "$enableval" = yes; then
8807 wx_cv_use_loggui='wxUSE_LOGGUI=yes'
8808 else
8809 wx_cv_use_loggui='wxUSE_LOGGUI=no'
8810 fi
8811
8812 else
8813
8814 wx_cv_use_loggui='wxUSE_LOGGUI=${'DEFAULT_wxUSE_LOGGUI":-$defaultval}"
8815
8816 fi
8817
8818
8819 eval "$wx_cv_use_loggui"
8820
8821 if test x"$enablestring" = xdisable; then
8822 if test $wxUSE_LOGGUI = yes; then
8823 result=no
8824 else
8825 result=yes
8826 fi
8827 else
8828 result=$wxUSE_LOGGUI
8829 fi
8830
8831 { echo "$as_me:$LINENO: result: $result" >&5
8832 echo "${ECHO_T}$result" >&6; }
8833
8834
8835 enablestring=
8836 defaultval=$wxUSE_ALL_FEATURES
8837 if test -z "$defaultval"; then
8838 if test x"$enablestring" = xdisable; then
8839 defaultval=yes
8840 else
8841 defaultval=no
8842 fi
8843 fi
8844
8845 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8846 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8847 # Check whether --enable-logwin was given.
8848 if test "${enable_logwin+set}" = set; then
8849 enableval=$enable_logwin;
8850 if test "$enableval" = yes; then
8851 wx_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8852 else
8853 wx_cv_use_logwin='wxUSE_LOGWINDOW=no'
8854 fi
8855
8856 else
8857
8858 wx_cv_use_logwin='wxUSE_LOGWINDOW=${'DEFAULT_wxUSE_LOGWINDOW":-$defaultval}"
8859
8860 fi
8861
8862
8863 eval "$wx_cv_use_logwin"
8864
8865 if test x"$enablestring" = xdisable; then
8866 if test $wxUSE_LOGWINDOW = yes; then
8867 result=no
8868 else
8869 result=yes
8870 fi
8871 else
8872 result=$wxUSE_LOGWINDOW
8873 fi
8874
8875 { echo "$as_me:$LINENO: result: $result" >&5
8876 echo "${ECHO_T}$result" >&6; }
8877
8878
8879 enablestring=
8880 defaultval=$wxUSE_ALL_FEATURES
8881 if test -z "$defaultval"; then
8882 if test x"$enablestring" = xdisable; then
8883 defaultval=yes
8884 else
8885 defaultval=no
8886 fi
8887 fi
8888
8889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8890 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8891 # Check whether --enable-logdialog was given.
8892 if test "${enable_logdialog+set}" = set; then
8893 enableval=$enable_logdialog;
8894 if test "$enableval" = yes; then
8895 wx_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8896 else
8897 wx_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8898 fi
8899
8900 else
8901
8902 wx_cv_use_logdialog='wxUSE_LOGDIALOG=${'DEFAULT_wxUSE_LOGDIALOG":-$defaultval}"
8903
8904 fi
8905
8906
8907 eval "$wx_cv_use_logdialog"
8908
8909 if test x"$enablestring" = xdisable; then
8910 if test $wxUSE_LOGDIALOG = yes; then
8911 result=no
8912 else
8913 result=yes
8914 fi
8915 else
8916 result=$wxUSE_LOGDIALOG
8917 fi
8918
8919 { echo "$as_me:$LINENO: result: $result" >&5
8920 echo "${ECHO_T}$result" >&6; }
8921
8922
8923 enablestring=
8924 defaultval=$wxUSE_ALL_FEATURES
8925 if test -z "$defaultval"; then
8926 if test x"$enablestring" = xdisable; then
8927 defaultval=yes
8928 else
8929 defaultval=no
8930 fi
8931 fi
8932
8933 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8934 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8935 # Check whether --enable-webkit was given.
8936 if test "${enable_webkit+set}" = set; then
8937 enableval=$enable_webkit;
8938 if test "$enableval" = yes; then
8939 wx_cv_use_webkit='wxUSE_WEBKIT=yes'
8940 else
8941 wx_cv_use_webkit='wxUSE_WEBKIT=no'
8942 fi
8943
8944 else
8945
8946 wx_cv_use_webkit='wxUSE_WEBKIT=${'DEFAULT_wxUSE_WEBKIT":-$defaultval}"
8947
8948 fi
8949
8950
8951 eval "$wx_cv_use_webkit"
8952
8953 if test x"$enablestring" = xdisable; then
8954 if test $wxUSE_WEBKIT = yes; then
8955 result=no
8956 else
8957 result=yes
8958 fi
8959 else
8960 result=$wxUSE_WEBKIT
8961 fi
8962
8963 { echo "$as_me:$LINENO: result: $result" >&5
8964 echo "${ECHO_T}$result" >&6; }
8965
8966
8967 enablestring=
8968 defaultval=$wxUSE_ALL_FEATURES
8969 if test -z "$defaultval"; then
8970 if test x"$enablestring" = xdisable; then
8971 defaultval=yes
8972 else
8973 defaultval=no
8974 fi
8975 fi
8976
8977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8978 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8979 # Check whether --enable-richtext was given.
8980 if test "${enable_richtext+set}" = set; then
8981 enableval=$enable_richtext;
8982 if test "$enableval" = yes; then
8983 wx_cv_use_richtext='wxUSE_RICHTEXT=yes'
8984 else
8985 wx_cv_use_richtext='wxUSE_RICHTEXT=no'
8986 fi
8987
8988 else
8989
8990 wx_cv_use_richtext='wxUSE_RICHTEXT=${'DEFAULT_wxUSE_RICHTEXT":-$defaultval}"
8991
8992 fi
8993
8994
8995 eval "$wx_cv_use_richtext"
8996
8997 if test x"$enablestring" = xdisable; then
8998 if test $wxUSE_RICHTEXT = yes; then
8999 result=no
9000 else
9001 result=yes
9002 fi
9003 else
9004 result=$wxUSE_RICHTEXT
9005 fi
9006
9007 { echo "$as_me:$LINENO: result: $result" >&5
9008 echo "${ECHO_T}$result" >&6; }
9009
9010
9011 enablestring=
9012 defaultval=$wxUSE_ALL_FEATURES
9013 if test -z "$defaultval"; then
9014 if test x"$enablestring" = xdisable; then
9015 defaultval=yes
9016 else
9017 defaultval=no
9018 fi
9019 fi
9020
9021 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
9022 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
9023 # Check whether --enable-graphics_ctx was given.
9024 if test "${enable_graphics_ctx+set}" = set; then
9025 enableval=$enable_graphics_ctx;
9026 if test "$enableval" = yes; then
9027 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
9028 else
9029 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
9030 fi
9031
9032 else
9033
9034 wx_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=${'DEFAULT_wxUSE_GRAPHICS_CONTEXT":-$defaultval}"
9035
9036 fi
9037
9038
9039 eval "$wx_cv_use_graphics_ctx"
9040
9041 if test x"$enablestring" = xdisable; then
9042 if test $wxUSE_GRAPHICS_CONTEXT = yes; then
9043 result=no
9044 else
9045 result=yes
9046 fi
9047 else
9048 result=$wxUSE_GRAPHICS_CONTEXT
9049 fi
9050
9051 { echo "$as_me:$LINENO: result: $result" >&5
9052 echo "${ECHO_T}$result" >&6; }
9053
9054
9055 enablestring=
9056 defaultval=$wxUSE_ALL_FEATURES
9057 if test -z "$defaultval"; then
9058 if test x"$enablestring" = xdisable; then
9059 defaultval=yes
9060 else
9061 defaultval=no
9062 fi
9063 fi
9064
9065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
9066 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
9067 # Check whether --enable-postscript was given.
9068 if test "${enable_postscript+set}" = set; then
9069 enableval=$enable_postscript;
9070 if test "$enableval" = yes; then
9071 wx_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
9072 else
9073 wx_cv_use_postscript='wxUSE_POSTSCRIPT=no'
9074 fi
9075
9076 else
9077
9078 wx_cv_use_postscript='wxUSE_POSTSCRIPT=${'DEFAULT_wxUSE_POSTSCRIPT":-$defaultval}"
9079
9080 fi
9081
9082
9083 eval "$wx_cv_use_postscript"
9084
9085 if test x"$enablestring" = xdisable; then
9086 if test $wxUSE_POSTSCRIPT = yes; then
9087 result=no
9088 else
9089 result=yes
9090 fi
9091 else
9092 result=$wxUSE_POSTSCRIPT
9093 fi
9094
9095 { echo "$as_me:$LINENO: result: $result" >&5
9096 echo "${ECHO_T}$result" >&6; }
9097
9098
9099 enablestring=
9100 defaultval=$wxUSE_ALL_FEATURES
9101 if test -z "$defaultval"; then
9102 if test x"$enablestring" = xdisable; then
9103 defaultval=yes
9104 else
9105 defaultval=no
9106 fi
9107 fi
9108
9109 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-svg" >&5
9110 echo $ECHO_N "checking for --${enablestring:-enable}-svg... $ECHO_C" >&6; }
9111 # Check whether --enable-svg was given.
9112 if test "${enable_svg+set}" = set; then
9113 enableval=$enable_svg;
9114 if test "$enableval" = yes; then
9115 wx_cv_use_svg='wxUSE_SVG=yes'
9116 else
9117 wx_cv_use_svg='wxUSE_SVG=no'
9118 fi
9119
9120 else
9121
9122 wx_cv_use_svg='wxUSE_SVG=${'DEFAULT_wxUSE_SVG":-$defaultval}"
9123
9124 fi
9125
9126
9127 eval "$wx_cv_use_svg"
9128
9129 if test x"$enablestring" = xdisable; then
9130 if test $wxUSE_SVG = yes; then
9131 result=no
9132 else
9133 result=yes
9134 fi
9135 else
9136 result=$wxUSE_SVG
9137 fi
9138
9139 { echo "$as_me:$LINENO: result: $result" >&5
9140 echo "${ECHO_T}$result" >&6; }
9141
9142
9143
9144
9145 enablestring=
9146 defaultval=$wxUSE_ALL_FEATURES
9147 if test -z "$defaultval"; then
9148 if test x"$enablestring" = xdisable; then
9149 defaultval=yes
9150 else
9151 defaultval=no
9152 fi
9153 fi
9154
9155 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
9156 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
9157 # Check whether --enable-clipboard was given.
9158 if test "${enable_clipboard+set}" = set; then
9159 enableval=$enable_clipboard;
9160 if test "$enableval" = yes; then
9161 wx_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
9162 else
9163 wx_cv_use_clipboard='wxUSE_CLIPBOARD=no'
9164 fi
9165
9166 else
9167
9168 wx_cv_use_clipboard='wxUSE_CLIPBOARD=${'DEFAULT_wxUSE_CLIPBOARD":-$defaultval}"
9169
9170 fi
9171
9172
9173 eval "$wx_cv_use_clipboard"
9174
9175 if test x"$enablestring" = xdisable; then
9176 if test $wxUSE_CLIPBOARD = yes; then
9177 result=no
9178 else
9179 result=yes
9180 fi
9181 else
9182 result=$wxUSE_CLIPBOARD
9183 fi
9184
9185 { echo "$as_me:$LINENO: result: $result" >&5
9186 echo "${ECHO_T}$result" >&6; }
9187
9188
9189 enablestring=
9190 defaultval=$wxUSE_ALL_FEATURES
9191 if test -z "$defaultval"; then
9192 if test x"$enablestring" = xdisable; then
9193 defaultval=yes
9194 else
9195 defaultval=no
9196 fi
9197 fi
9198
9199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
9200 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
9201 # Check whether --enable-dnd was given.
9202 if test "${enable_dnd+set}" = set; then
9203 enableval=$enable_dnd;
9204 if test "$enableval" = yes; then
9205 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
9206 else
9207 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
9208 fi
9209
9210 else
9211
9212 wx_cv_use_dnd='wxUSE_DRAG_AND_DROP=${'DEFAULT_wxUSE_DRAG_AND_DROP":-$defaultval}"
9213
9214 fi
9215
9216
9217 eval "$wx_cv_use_dnd"
9218
9219 if test x"$enablestring" = xdisable; then
9220 if test $wxUSE_DRAG_AND_DROP = yes; then
9221 result=no
9222 else
9223 result=yes
9224 fi
9225 else
9226 result=$wxUSE_DRAG_AND_DROP
9227 fi
9228
9229 { echo "$as_me:$LINENO: result: $result" >&5
9230 echo "${ECHO_T}$result" >&6; }
9231
9232
9233 enablestring=
9234 defaultval=$wxUSE_ALL_FEATURES
9235 if test -z "$defaultval"; then
9236 if test x"$enablestring" = xdisable; then
9237 defaultval=yes
9238 else
9239 defaultval=no
9240 fi
9241 fi
9242
9243 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
9244 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
9245 # Check whether --enable-metafile was given.
9246 if test "${enable_metafile+set}" = set; then
9247 enableval=$enable_metafile;
9248 if test "$enableval" = yes; then
9249 wx_cv_use_metafile='wxUSE_METAFILE=yes'
9250 else
9251 wx_cv_use_metafile='wxUSE_METAFILE=no'
9252 fi
9253
9254 else
9255
9256 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
9257
9258 fi
9259
9260
9261 eval "$wx_cv_use_metafile"
9262
9263 if test x"$enablestring" = xdisable; then
9264 if test $wxUSE_METAFILE = yes; then
9265 result=no
9266 else
9267 result=yes
9268 fi
9269 else
9270 result=$wxUSE_METAFILE
9271 fi
9272
9273 { echo "$as_me:$LINENO: result: $result" >&5
9274 echo "${ECHO_T}$result" >&6; }
9275
9276
9277
9278 DEFAULT_wxUSE_CONTROLS=none
9279
9280 enablestring=disable
9281 defaultval=
9282 if test -z "$defaultval"; then
9283 if test x"$enablestring" = xdisable; then
9284 defaultval=yes
9285 else
9286 defaultval=no
9287 fi
9288 fi
9289
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
9292 # Check whether --enable-controls was given.
9293 if test "${enable_controls+set}" = set; then
9294 enableval=$enable_controls;
9295 if test "$enableval" = yes; then
9296 wx_cv_use_controls='wxUSE_CONTROLS=yes'
9297 else
9298 wx_cv_use_controls='wxUSE_CONTROLS=no'
9299 fi
9300
9301 else
9302
9303 wx_cv_use_controls='wxUSE_CONTROLS=${'DEFAULT_wxUSE_CONTROLS":-$defaultval}"
9304
9305 fi
9306
9307
9308 eval "$wx_cv_use_controls"
9309
9310 if test x"$enablestring" = xdisable; then
9311 if test $wxUSE_CONTROLS = yes; then
9312 result=no
9313 else
9314 result=yes
9315 fi
9316 else
9317 result=$wxUSE_CONTROLS
9318 fi
9319
9320 { echo "$as_me:$LINENO: result: $result" >&5
9321 echo "${ECHO_T}$result" >&6; }
9322
9323
9324 if test "$wxUSE_CONTROLS" = "yes"; then
9325 DEFAULT_wxUSE_ACCEL=yes
9326 DEFAULT_wxUSE_ANIMATIONCTRL=yes
9327 DEFAULT_wxUSE_BMPBUTTON=yes
9328 DEFAULT_wxUSE_BUTTON=yes
9329 DEFAULT_wxUSE_CALCTRL=yes
9330 DEFAULT_wxUSE_CARET=yes
9331 DEFAULT_wxUSE_COMBOBOX=yes
9332 DEFAULT_wxUSE_CHECKBOX=yes
9333 DEFAULT_wxUSE_CHECKLISTBOX=yes
9334 DEFAULT_wxUSE_CHOICE=yes
9335 DEFAULT_wxUSE_CHOICEBOOK=yes
9336 DEFAULT_wxUSE_COLLPANE=yes
9337 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
9338 DEFAULT_wxUSE_COMBOBOX=yes
9339 DEFAULT_wxUSE_DATEPICKCTRL=yes
9340 DEFAULT_wxUSE_DISPLAY=yes
9341 DEFAULT_wxUSE_DETECT_SM=yes
9342 DEFAULT_wxUSE_DIRPICKERCTRL=yes
9343 DEFAULT_wxUSE_FILECTRL=yes
9344 DEFAULT_wxUSE_FILEPICKERCTRL=yes
9345 DEFAULT_wxUSE_FONTPICKERCTRL=yes
9346 DEFAULT_wxUSE_GAUGE=yes
9347 DEFAULT_wxUSE_GRID=yes
9348 DEFAULT_wxUSE_HYPERLINKCTRL=yes
9349 DEFAULT_wxUSE_DATAVIEWCTRL=yes
9350 DEFAULT_wxUSE_IMAGLIST=yes
9351 DEFAULT_wxUSE_LISTBOOK=yes
9352 DEFAULT_wxUSE_LISTBOX=yes
9353 DEFAULT_wxUSE_LISTCTRL=yes
9354 DEFAULT_wxUSE_NOTEBOOK=yes
9355 DEFAULT_wxUSE_RADIOBOX=yes
9356 DEFAULT_wxUSE_RADIOBTN=yes
9357 DEFAULT_wxUSE_SASH=yes
9358 DEFAULT_wxUSE_SCROLLBAR=yes
9359 DEFAULT_wxUSE_SEARCHCTRL=yes
9360 DEFAULT_wxUSE_SLIDER=yes
9361 DEFAULT_wxUSE_SPINBTN=yes
9362 DEFAULT_wxUSE_SPINCTRL=yes
9363 DEFAULT_wxUSE_SPLITTER=yes
9364 DEFAULT_wxUSE_STATBMP=yes
9365 DEFAULT_wxUSE_STATBOX=yes
9366 DEFAULT_wxUSE_STATLINE=yes
9367 DEFAULT_wxUSE_STATUSBAR=yes
9368 DEFAULT_wxUSE_TAB_DIALOG=yes
9369 DEFAULT_wxUSE_TOGGLEBTN=yes
9370 DEFAULT_wxUSE_TOOLBAR=yes
9371 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
9372 DEFAULT_wxUSE_TOOLTIPS=yes
9373 DEFAULT_wxUSE_TREEBOOK=yes
9374 DEFAULT_wxUSE_TOOLBOOK=yes
9375 DEFAULT_wxUSE_TREECTRL=yes
9376 DEFAULT_wxUSE_POPUPWIN=yes
9377 DEFAULT_wxUSE_TIPWINDOW=yes
9378 elif test "$wxUSE_CONTROLS" = "no"; then
9379 DEFAULT_wxUSE_ACCEL=no
9380 DEFAULT_wxUSE_ANIMATIONCTRL=no
9381 DEFAULT_wxUSE_BMPBUTTON=no
9382 DEFAULT_wxUSE_BUTTON=no
9383 DEFAULT_wxUSE_CALCTRL=no
9384 DEFAULT_wxUSE_CARET=no
9385 DEFAULT_wxUSE_COLLPANE=no
9386 DEFAULT_wxUSE_COMBOBOX=no
9387 DEFAULT_wxUSE_CHECKBOX=no
9388 DEFAULT_wxUSE_CHECKLISTBOX=no
9389 DEFAULT_wxUSE_CHOICE=no
9390 DEFAULT_wxUSE_CHOICEBOOK=no
9391 DEFAULT_wxUSE_COLOURPICKERCTRL=no
9392 DEFAULT_wxUSE_COMBOBOX=no
9393 DEFAULT_wxUSE_DATEPICKCTRL=no
9394 DEFAULT_wxUSE_DISPLAY=no
9395 DEFAULT_wxUSE_DETECT_SM=no
9396 DEFAULT_wxUSE_DIRPICKERCTRL=no
9397 DEFAULT_wxUSE_FILECTRL=no
9398 DEFAULT_wxUSE_FILEPICKERCTRL=no
9399 DEFAULT_wxUSE_FONTPICKERCTRL=no
9400 DEFAULT_wxUSE_GAUGE=no
9401 DEFAULT_wxUSE_GRID=no
9402 DEFAULT_wxUSE_HYPERLINKCTRL=no
9403 DEFAULT_wxUSE_DATAVIEWCTRL=no
9404 DEFAULT_wxUSE_IMAGLIST=no
9405 DEFAULT_wxUSE_LISTBOOK=no
9406 DEFAULT_wxUSE_LISTBOX=no
9407 DEFAULT_wxUSE_LISTCTRL=no
9408 DEFAULT_wxUSE_NOTEBOOK=no
9409 DEFAULT_wxUSE_RADIOBOX=no
9410 DEFAULT_wxUSE_RADIOBTN=no
9411 DEFAULT_wxUSE_SASH=no
9412 DEFAULT_wxUSE_SCROLLBAR=no
9413 DEFAULT_wxUSE_SEARCHCTRL=no
9414 DEFAULT_wxUSE_SLIDER=no
9415 DEFAULT_wxUSE_SPINBTN=no
9416 DEFAULT_wxUSE_SPINCTRL=no
9417 DEFAULT_wxUSE_SPLITTER=no
9418 DEFAULT_wxUSE_STATBMP=no
9419 DEFAULT_wxUSE_STATBOX=no
9420 DEFAULT_wxUSE_STATLINE=no
9421 DEFAULT_wxUSE_STATUSBAR=no
9422 DEFAULT_wxUSE_TAB_DIALOG=no
9423 DEFAULT_wxUSE_TOGGLEBTN=no
9424 DEFAULT_wxUSE_TOOLBAR=no
9425 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
9426 DEFAULT_wxUSE_TOOLTIPS=no
9427 DEFAULT_wxUSE_TREEBOOK=no
9428 DEFAULT_wxUSE_TOOLBOOK=no
9429 DEFAULT_wxUSE_TREECTRL=no
9430 DEFAULT_wxUSE_POPUPWIN=no
9431 DEFAULT_wxUSE_TIPWINDOW=no
9432 fi
9433
9434
9435 enablestring=
9436 defaultval=$wxUSE_ALL_FEATURES
9437 if test -z "$defaultval"; then
9438 if test x"$enablestring" = xdisable; then
9439 defaultval=yes
9440 else
9441 defaultval=no
9442 fi
9443 fi
9444
9445 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
9446 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
9447 # Check whether --enable-accel was given.
9448 if test "${enable_accel+set}" = set; then
9449 enableval=$enable_accel;
9450 if test "$enableval" = yes; then
9451 wx_cv_use_accel='wxUSE_ACCEL=yes'
9452 else
9453 wx_cv_use_accel='wxUSE_ACCEL=no'
9454 fi
9455
9456 else
9457
9458 wx_cv_use_accel='wxUSE_ACCEL=${'DEFAULT_wxUSE_ACCEL":-$defaultval}"
9459
9460 fi
9461
9462
9463 eval "$wx_cv_use_accel"
9464
9465 if test x"$enablestring" = xdisable; then
9466 if test $wxUSE_ACCEL = yes; then
9467 result=no
9468 else
9469 result=yes
9470 fi
9471 else
9472 result=$wxUSE_ACCEL
9473 fi
9474
9475 { echo "$as_me:$LINENO: result: $result" >&5
9476 echo "${ECHO_T}$result" >&6; }
9477
9478
9479 enablestring=
9480 defaultval=$wxUSE_ALL_FEATURES
9481 if test -z "$defaultval"; then
9482 if test x"$enablestring" = xdisable; then
9483 defaultval=yes
9484 else
9485 defaultval=no
9486 fi
9487 fi
9488
9489 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
9490 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
9491 # Check whether --enable-animatectrl was given.
9492 if test "${enable_animatectrl+set}" = set; then
9493 enableval=$enable_animatectrl;
9494 if test "$enableval" = yes; then
9495 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
9496 else
9497 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
9498 fi
9499
9500 else
9501
9502 wx_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=${'DEFAULT_wxUSE_ANIMATIONCTRL":-$defaultval}"
9503
9504 fi
9505
9506
9507 eval "$wx_cv_use_animatectrl"
9508
9509 if test x"$enablestring" = xdisable; then
9510 if test $wxUSE_ANIMATIONCTRL = yes; then
9511 result=no
9512 else
9513 result=yes
9514 fi
9515 else
9516 result=$wxUSE_ANIMATIONCTRL
9517 fi
9518
9519 { echo "$as_me:$LINENO: result: $result" >&5
9520 echo "${ECHO_T}$result" >&6; }
9521
9522
9523 enablestring=
9524 defaultval=$wxUSE_ALL_FEATURES
9525 if test -z "$defaultval"; then
9526 if test x"$enablestring" = xdisable; then
9527 defaultval=yes
9528 else
9529 defaultval=no
9530 fi
9531 fi
9532
9533 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
9534 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
9535 # Check whether --enable-button was given.
9536 if test "${enable_button+set}" = set; then
9537 enableval=$enable_button;
9538 if test "$enableval" = yes; then
9539 wx_cv_use_button='wxUSE_BUTTON=yes'
9540 else
9541 wx_cv_use_button='wxUSE_BUTTON=no'
9542 fi
9543
9544 else
9545
9546 wx_cv_use_button='wxUSE_BUTTON=${'DEFAULT_wxUSE_BUTTON":-$defaultval}"
9547
9548 fi
9549
9550
9551 eval "$wx_cv_use_button"
9552
9553 if test x"$enablestring" = xdisable; then
9554 if test $wxUSE_BUTTON = yes; then
9555 result=no
9556 else
9557 result=yes
9558 fi
9559 else
9560 result=$wxUSE_BUTTON
9561 fi
9562
9563 { echo "$as_me:$LINENO: result: $result" >&5
9564 echo "${ECHO_T}$result" >&6; }
9565
9566
9567 enablestring=
9568 defaultval=$wxUSE_ALL_FEATURES
9569 if test -z "$defaultval"; then
9570 if test x"$enablestring" = xdisable; then
9571 defaultval=yes
9572 else
9573 defaultval=no
9574 fi
9575 fi
9576
9577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9579 # Check whether --enable-bmpbutton was given.
9580 if test "${enable_bmpbutton+set}" = set; then
9581 enableval=$enable_bmpbutton;
9582 if test "$enableval" = yes; then
9583 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9584 else
9585 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9586 fi
9587
9588 else
9589
9590 wx_cv_use_bmpbutton='wxUSE_BMPBUTTON=${'DEFAULT_wxUSE_BMPBUTTON":-$defaultval}"
9591
9592 fi
9593
9594
9595 eval "$wx_cv_use_bmpbutton"
9596
9597 if test x"$enablestring" = xdisable; then
9598 if test $wxUSE_BMPBUTTON = yes; then
9599 result=no
9600 else
9601 result=yes
9602 fi
9603 else
9604 result=$wxUSE_BMPBUTTON
9605 fi
9606
9607 { echo "$as_me:$LINENO: result: $result" >&5
9608 echo "${ECHO_T}$result" >&6; }
9609
9610
9611 enablestring=
9612 defaultval=$wxUSE_ALL_FEATURES
9613 if test -z "$defaultval"; then
9614 if test x"$enablestring" = xdisable; then
9615 defaultval=yes
9616 else
9617 defaultval=no
9618 fi
9619 fi
9620
9621 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9622 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9623 # Check whether --enable-bmpcombobox was given.
9624 if test "${enable_bmpcombobox+set}" = set; then
9625 enableval=$enable_bmpcombobox;
9626 if test "$enableval" = yes; then
9627 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9628 else
9629 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9630 fi
9631
9632 else
9633
9634 wx_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=${'DEFAULT_wxUSE_BITMAPCOMBOBOX":-$defaultval}"
9635
9636 fi
9637
9638
9639 eval "$wx_cv_use_bmpcombobox"
9640
9641 if test x"$enablestring" = xdisable; then
9642 if test $wxUSE_BITMAPCOMBOBOX = yes; then
9643 result=no
9644 else
9645 result=yes
9646 fi
9647 else
9648 result=$wxUSE_BITMAPCOMBOBOX
9649 fi
9650
9651 { echo "$as_me:$LINENO: result: $result" >&5
9652 echo "${ECHO_T}$result" >&6; }
9653
9654
9655 enablestring=
9656 defaultval=$wxUSE_ALL_FEATURES
9657 if test -z "$defaultval"; then
9658 if test x"$enablestring" = xdisable; then
9659 defaultval=yes
9660 else
9661 defaultval=no
9662 fi
9663 fi
9664
9665 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9666 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9667 # Check whether --enable-calendar was given.
9668 if test "${enable_calendar+set}" = set; then
9669 enableval=$enable_calendar;
9670 if test "$enableval" = yes; then
9671 wx_cv_use_calendar='wxUSE_CALCTRL=yes'
9672 else
9673 wx_cv_use_calendar='wxUSE_CALCTRL=no'
9674 fi
9675
9676 else
9677
9678 wx_cv_use_calendar='wxUSE_CALCTRL=${'DEFAULT_wxUSE_CALCTRL":-$defaultval}"
9679
9680 fi
9681
9682
9683 eval "$wx_cv_use_calendar"
9684
9685 if test x"$enablestring" = xdisable; then
9686 if test $wxUSE_CALCTRL = yes; then
9687 result=no
9688 else
9689 result=yes
9690 fi
9691 else
9692 result=$wxUSE_CALCTRL
9693 fi
9694
9695 { echo "$as_me:$LINENO: result: $result" >&5
9696 echo "${ECHO_T}$result" >&6; }
9697
9698
9699 enablestring=
9700 defaultval=$wxUSE_ALL_FEATURES
9701 if test -z "$defaultval"; then
9702 if test x"$enablestring" = xdisable; then
9703 defaultval=yes
9704 else
9705 defaultval=no
9706 fi
9707 fi
9708
9709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9710 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9711 # Check whether --enable-caret was given.
9712 if test "${enable_caret+set}" = set; then
9713 enableval=$enable_caret;
9714 if test "$enableval" = yes; then
9715 wx_cv_use_caret='wxUSE_CARET=yes'
9716 else
9717 wx_cv_use_caret='wxUSE_CARET=no'
9718 fi
9719
9720 else
9721
9722 wx_cv_use_caret='wxUSE_CARET=${'DEFAULT_wxUSE_CARET":-$defaultval}"
9723
9724 fi
9725
9726
9727 eval "$wx_cv_use_caret"
9728
9729 if test x"$enablestring" = xdisable; then
9730 if test $wxUSE_CARET = yes; then
9731 result=no
9732 else
9733 result=yes
9734 fi
9735 else
9736 result=$wxUSE_CARET
9737 fi
9738
9739 { echo "$as_me:$LINENO: result: $result" >&5
9740 echo "${ECHO_T}$result" >&6; }
9741
9742
9743 enablestring=
9744 defaultval=$wxUSE_ALL_FEATURES
9745 if test -z "$defaultval"; then
9746 if test x"$enablestring" = xdisable; then
9747 defaultval=yes
9748 else
9749 defaultval=no
9750 fi
9751 fi
9752
9753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9754 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9755 # Check whether --enable-checkbox was given.
9756 if test "${enable_checkbox+set}" = set; then
9757 enableval=$enable_checkbox;
9758 if test "$enableval" = yes; then
9759 wx_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9760 else
9761 wx_cv_use_checkbox='wxUSE_CHECKBOX=no'
9762 fi
9763
9764 else
9765
9766 wx_cv_use_checkbox='wxUSE_CHECKBOX=${'DEFAULT_wxUSE_CHECKBOX":-$defaultval}"
9767
9768 fi
9769
9770
9771 eval "$wx_cv_use_checkbox"
9772
9773 if test x"$enablestring" = xdisable; then
9774 if test $wxUSE_CHECKBOX = yes; then
9775 result=no
9776 else
9777 result=yes
9778 fi
9779 else
9780 result=$wxUSE_CHECKBOX
9781 fi
9782
9783 { echo "$as_me:$LINENO: result: $result" >&5
9784 echo "${ECHO_T}$result" >&6; }
9785
9786
9787 enablestring=
9788 defaultval=$wxUSE_ALL_FEATURES
9789 if test -z "$defaultval"; then
9790 if test x"$enablestring" = xdisable; then
9791 defaultval=yes
9792 else
9793 defaultval=no
9794 fi
9795 fi
9796
9797 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9798 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9799 # Check whether --enable-checklst was given.
9800 if test "${enable_checklst+set}" = set; then
9801 enableval=$enable_checklst;
9802 if test "$enableval" = yes; then
9803 wx_cv_use_checklst='wxUSE_CHECKLST=yes'
9804 else
9805 wx_cv_use_checklst='wxUSE_CHECKLST=no'
9806 fi
9807
9808 else
9809
9810 wx_cv_use_checklst='wxUSE_CHECKLST=${'DEFAULT_wxUSE_CHECKLST":-$defaultval}"
9811
9812 fi
9813
9814
9815 eval "$wx_cv_use_checklst"
9816
9817 if test x"$enablestring" = xdisable; then
9818 if test $wxUSE_CHECKLST = yes; then
9819 result=no
9820 else
9821 result=yes
9822 fi
9823 else
9824 result=$wxUSE_CHECKLST
9825 fi
9826
9827 { echo "$as_me:$LINENO: result: $result" >&5
9828 echo "${ECHO_T}$result" >&6; }
9829
9830
9831 enablestring=
9832 defaultval=$wxUSE_ALL_FEATURES
9833 if test -z "$defaultval"; then
9834 if test x"$enablestring" = xdisable; then
9835 defaultval=yes
9836 else
9837 defaultval=no
9838 fi
9839 fi
9840
9841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9842 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9843 # Check whether --enable-choice was given.
9844 if test "${enable_choice+set}" = set; then
9845 enableval=$enable_choice;
9846 if test "$enableval" = yes; then
9847 wx_cv_use_choice='wxUSE_CHOICE=yes'
9848 else
9849 wx_cv_use_choice='wxUSE_CHOICE=no'
9850 fi
9851
9852 else
9853
9854 wx_cv_use_choice='wxUSE_CHOICE=${'DEFAULT_wxUSE_CHOICE":-$defaultval}"
9855
9856 fi
9857
9858
9859 eval "$wx_cv_use_choice"
9860
9861 if test x"$enablestring" = xdisable; then
9862 if test $wxUSE_CHOICE = yes; then
9863 result=no
9864 else
9865 result=yes
9866 fi
9867 else
9868 result=$wxUSE_CHOICE
9869 fi
9870
9871 { echo "$as_me:$LINENO: result: $result" >&5
9872 echo "${ECHO_T}$result" >&6; }
9873
9874
9875 enablestring=
9876 defaultval=$wxUSE_ALL_FEATURES
9877 if test -z "$defaultval"; then
9878 if test x"$enablestring" = xdisable; then
9879 defaultval=yes
9880 else
9881 defaultval=no
9882 fi
9883 fi
9884
9885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9886 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9887 # Check whether --enable-choicebook was given.
9888 if test "${enable_choicebook+set}" = set; then
9889 enableval=$enable_choicebook;
9890 if test "$enableval" = yes; then
9891 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9892 else
9893 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9894 fi
9895
9896 else
9897
9898 wx_cv_use_choicebook='wxUSE_CHOICEBOOK=${'DEFAULT_wxUSE_CHOICEBOOK":-$defaultval}"
9899
9900 fi
9901
9902
9903 eval "$wx_cv_use_choicebook"
9904
9905 if test x"$enablestring" = xdisable; then
9906 if test $wxUSE_CHOICEBOOK = yes; then
9907 result=no
9908 else
9909 result=yes
9910 fi
9911 else
9912 result=$wxUSE_CHOICEBOOK
9913 fi
9914
9915 { echo "$as_me:$LINENO: result: $result" >&5
9916 echo "${ECHO_T}$result" >&6; }
9917
9918
9919 enablestring=
9920 defaultval=$wxUSE_ALL_FEATURES
9921 if test -z "$defaultval"; then
9922 if test x"$enablestring" = xdisable; then
9923 defaultval=yes
9924 else
9925 defaultval=no
9926 fi
9927 fi
9928
9929 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9930 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9931 # Check whether --enable-collpane was given.
9932 if test "${enable_collpane+set}" = set; then
9933 enableval=$enable_collpane;
9934 if test "$enableval" = yes; then
9935 wx_cv_use_collpane='wxUSE_COLLPANE=yes'
9936 else
9937 wx_cv_use_collpane='wxUSE_COLLPANE=no'
9938 fi
9939
9940 else
9941
9942 wx_cv_use_collpane='wxUSE_COLLPANE=${'DEFAULT_wxUSE_COLLPANE":-$defaultval}"
9943
9944 fi
9945
9946
9947 eval "$wx_cv_use_collpane"
9948
9949 if test x"$enablestring" = xdisable; then
9950 if test $wxUSE_COLLPANE = yes; then
9951 result=no
9952 else
9953 result=yes
9954 fi
9955 else
9956 result=$wxUSE_COLLPANE
9957 fi
9958
9959 { echo "$as_me:$LINENO: result: $result" >&5
9960 echo "${ECHO_T}$result" >&6; }
9961
9962
9963 enablestring=
9964 defaultval=$wxUSE_ALL_FEATURES
9965 if test -z "$defaultval"; then
9966 if test x"$enablestring" = xdisable; then
9967 defaultval=yes
9968 else
9969 defaultval=no
9970 fi
9971 fi
9972
9973 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9974 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9975 # Check whether --enable-colourpicker was given.
9976 if test "${enable_colourpicker+set}" = set; then
9977 enableval=$enable_colourpicker;
9978 if test "$enableval" = yes; then
9979 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9980 else
9981 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9982 fi
9983
9984 else
9985
9986 wx_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=${'DEFAULT_wxUSE_COLOURPICKERCTRL":-$defaultval}"
9987
9988 fi
9989
9990
9991 eval "$wx_cv_use_colourpicker"
9992
9993 if test x"$enablestring" = xdisable; then
9994 if test $wxUSE_COLOURPICKERCTRL = yes; then
9995 result=no
9996 else
9997 result=yes
9998 fi
9999 else
10000 result=$wxUSE_COLOURPICKERCTRL
10001 fi
10002
10003 { echo "$as_me:$LINENO: result: $result" >&5
10004 echo "${ECHO_T}$result" >&6; }
10005
10006
10007 enablestring=
10008 defaultval=$wxUSE_ALL_FEATURES
10009 if test -z "$defaultval"; then
10010 if test x"$enablestring" = xdisable; then
10011 defaultval=yes
10012 else
10013 defaultval=no
10014 fi
10015 fi
10016
10017 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
10018 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
10019 # Check whether --enable-combobox was given.
10020 if test "${enable_combobox+set}" = set; then
10021 enableval=$enable_combobox;
10022 if test "$enableval" = yes; then
10023 wx_cv_use_combobox='wxUSE_COMBOBOX=yes'
10024 else
10025 wx_cv_use_combobox='wxUSE_COMBOBOX=no'
10026 fi
10027
10028 else
10029
10030 wx_cv_use_combobox='wxUSE_COMBOBOX=${'DEFAULT_wxUSE_COMBOBOX":-$defaultval}"
10031
10032 fi
10033
10034
10035 eval "$wx_cv_use_combobox"
10036
10037 if test x"$enablestring" = xdisable; then
10038 if test $wxUSE_COMBOBOX = yes; then
10039 result=no
10040 else
10041 result=yes
10042 fi
10043 else
10044 result=$wxUSE_COMBOBOX
10045 fi
10046
10047 { echo "$as_me:$LINENO: result: $result" >&5
10048 echo "${ECHO_T}$result" >&6; }
10049
10050
10051 enablestring=
10052 defaultval=$wxUSE_ALL_FEATURES
10053 if test -z "$defaultval"; then
10054 if test x"$enablestring" = xdisable; then
10055 defaultval=yes
10056 else
10057 defaultval=no
10058 fi
10059 fi
10060
10061 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
10062 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
10063 # Check whether --enable-comboctrl was given.
10064 if test "${enable_comboctrl+set}" = set; then
10065 enableval=$enable_comboctrl;
10066 if test "$enableval" = yes; then
10067 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
10068 else
10069 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
10070 fi
10071
10072 else
10073
10074 wx_cv_use_comboctrl='wxUSE_COMBOCTRL=${'DEFAULT_wxUSE_COMBOCTRL":-$defaultval}"
10075
10076 fi
10077
10078
10079 eval "$wx_cv_use_comboctrl"
10080
10081 if test x"$enablestring" = xdisable; then
10082 if test $wxUSE_COMBOCTRL = yes; then
10083 result=no
10084 else
10085 result=yes
10086 fi
10087 else
10088 result=$wxUSE_COMBOCTRL
10089 fi
10090
10091 { echo "$as_me:$LINENO: result: $result" >&5
10092 echo "${ECHO_T}$result" >&6; }
10093
10094
10095 enablestring=
10096 defaultval=$wxUSE_ALL_FEATURES
10097 if test -z "$defaultval"; then
10098 if test x"$enablestring" = xdisable; then
10099 defaultval=yes
10100 else
10101 defaultval=no
10102 fi
10103 fi
10104
10105 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
10106 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
10107 # Check whether --enable-datepick was given.
10108 if test "${enable_datepick+set}" = set; then
10109 enableval=$enable_datepick;
10110 if test "$enableval" = yes; then
10111 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
10112 else
10113 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
10114 fi
10115
10116 else
10117
10118 wx_cv_use_datepick='wxUSE_DATEPICKCTRL=${'DEFAULT_wxUSE_DATEPICKCTRL":-$defaultval}"
10119
10120 fi
10121
10122
10123 eval "$wx_cv_use_datepick"
10124
10125 if test x"$enablestring" = xdisable; then
10126 if test $wxUSE_DATEPICKCTRL = yes; then
10127 result=no
10128 else
10129 result=yes
10130 fi
10131 else
10132 result=$wxUSE_DATEPICKCTRL
10133 fi
10134
10135 { echo "$as_me:$LINENO: result: $result" >&5
10136 echo "${ECHO_T}$result" >&6; }
10137
10138
10139 enablestring=
10140 defaultval=$wxUSE_ALL_FEATURES
10141 if test -z "$defaultval"; then
10142 if test x"$enablestring" = xdisable; then
10143 defaultval=yes
10144 else
10145 defaultval=no
10146 fi
10147 fi
10148
10149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
10150 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
10151 # Check whether --enable-dirpicker was given.
10152 if test "${enable_dirpicker+set}" = set; then
10153 enableval=$enable_dirpicker;
10154 if test "$enableval" = yes; then
10155 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
10156 else
10157 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
10158 fi
10159
10160 else
10161
10162 wx_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=${'DEFAULT_wxUSE_DIRPICKERCTRL":-$defaultval}"
10163
10164 fi
10165
10166
10167 eval "$wx_cv_use_dirpicker"
10168
10169 if test x"$enablestring" = xdisable; then
10170 if test $wxUSE_DIRPICKERCTRL = yes; then
10171 result=no
10172 else
10173 result=yes
10174 fi
10175 else
10176 result=$wxUSE_DIRPICKERCTRL
10177 fi
10178
10179 { echo "$as_me:$LINENO: result: $result" >&5
10180 echo "${ECHO_T}$result" >&6; }
10181
10182
10183 enablestring=
10184 defaultval=$wxUSE_ALL_FEATURES
10185 if test -z "$defaultval"; then
10186 if test x"$enablestring" = xdisable; then
10187 defaultval=yes
10188 else
10189 defaultval=no
10190 fi
10191 fi
10192
10193 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
10194 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
10195 # Check whether --enable-display was given.
10196 if test "${enable_display+set}" = set; then
10197 enableval=$enable_display;
10198 if test "$enableval" = yes; then
10199 wx_cv_use_display='wxUSE_DISPLAY=yes'
10200 else
10201 wx_cv_use_display='wxUSE_DISPLAY=no'
10202 fi
10203
10204 else
10205
10206 wx_cv_use_display='wxUSE_DISPLAY=${'DEFAULT_wxUSE_DISPLAY":-$defaultval}"
10207
10208 fi
10209
10210
10211 eval "$wx_cv_use_display"
10212
10213 if test x"$enablestring" = xdisable; then
10214 if test $wxUSE_DISPLAY = yes; then
10215 result=no
10216 else
10217 result=yes
10218 fi
10219 else
10220 result=$wxUSE_DISPLAY
10221 fi
10222
10223 { echo "$as_me:$LINENO: result: $result" >&5
10224 echo "${ECHO_T}$result" >&6; }
10225
10226
10227 enablestring=
10228 defaultval=$wxUSE_ALL_FEATURES
10229 if test -z "$defaultval"; then
10230 if test x"$enablestring" = xdisable; then
10231 defaultval=yes
10232 else
10233 defaultval=no
10234 fi
10235 fi
10236
10237 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
10238 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
10239 # Check whether --enable-detect_sm was given.
10240 if test "${enable_detect_sm+set}" = set; then
10241 enableval=$enable_detect_sm;
10242 if test "$enableval" = yes; then
10243 wx_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
10244 else
10245 wx_cv_use_detect_sm='wxUSE_DETECT_SM=no'
10246 fi
10247
10248 else
10249
10250 wx_cv_use_detect_sm='wxUSE_DETECT_SM=${'DEFAULT_wxUSE_DETECT_SM":-$defaultval}"
10251
10252 fi
10253
10254
10255 eval "$wx_cv_use_detect_sm"
10256
10257 if test x"$enablestring" = xdisable; then
10258 if test $wxUSE_DETECT_SM = yes; then
10259 result=no
10260 else
10261 result=yes
10262 fi
10263 else
10264 result=$wxUSE_DETECT_SM
10265 fi
10266
10267 { echo "$as_me:$LINENO: result: $result" >&5
10268 echo "${ECHO_T}$result" >&6; }
10269
10270
10271 enablestring=
10272 defaultval=$wxUSE_ALL_FEATURES
10273 if test -z "$defaultval"; then
10274 if test x"$enablestring" = xdisable; then
10275 defaultval=yes
10276 else
10277 defaultval=no
10278 fi
10279 fi
10280
10281 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
10282 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
10283 # Check whether --enable-editablebox was given.
10284 if test "${enable_editablebox+set}" = set; then
10285 enableval=$enable_editablebox;
10286 if test "$enableval" = yes; then
10287 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
10288 else
10289 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
10290 fi
10291
10292 else
10293
10294 wx_cv_use_editablebox='wxUSE_EDITABLELISTBOX=${'DEFAULT_wxUSE_EDITABLELISTBOX":-$defaultval}"
10295
10296 fi
10297
10298
10299 eval "$wx_cv_use_editablebox"
10300
10301 if test x"$enablestring" = xdisable; then
10302 if test $wxUSE_EDITABLELISTBOX = yes; then
10303 result=no
10304 else
10305 result=yes
10306 fi
10307 else
10308 result=$wxUSE_EDITABLELISTBOX
10309 fi
10310
10311 { echo "$as_me:$LINENO: result: $result" >&5
10312 echo "${ECHO_T}$result" >&6; }
10313
10314
10315 enablestring=
10316 defaultval=$wxUSE_ALL_FEATURES
10317 if test -z "$defaultval"; then
10318 if test x"$enablestring" = xdisable; then
10319 defaultval=yes
10320 else
10321 defaultval=no
10322 fi
10323 fi
10324
10325 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
10326 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
10327 # Check whether --enable-filepicker was given.
10328 if test "${enable_filepicker+set}" = set; then
10329 enableval=$enable_filepicker;
10330 if test "$enableval" = yes; then
10331 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
10332 else
10333 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
10334 fi
10335
10336 else
10337
10338 wx_cv_use_filepicker='wxUSE_FILEPICKERCTRL=${'DEFAULT_wxUSE_FILEPICKERCTRL":-$defaultval}"
10339
10340 fi
10341
10342
10343 eval "$wx_cv_use_filepicker"
10344
10345 if test x"$enablestring" = xdisable; then
10346 if test $wxUSE_FILEPICKERCTRL = yes; then
10347 result=no
10348 else
10349 result=yes
10350 fi
10351 else
10352 result=$wxUSE_FILEPICKERCTRL
10353 fi
10354
10355 { echo "$as_me:$LINENO: result: $result" >&5
10356 echo "${ECHO_T}$result" >&6; }
10357
10358
10359 enablestring=
10360 defaultval=$wxUSE_ALL_FEATURES
10361 if test -z "$defaultval"; then
10362 if test x"$enablestring" = xdisable; then
10363 defaultval=yes
10364 else
10365 defaultval=no
10366 fi
10367 fi
10368
10369 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filectrl" >&5
10370 echo $ECHO_N "checking for --${enablestring:-enable}-filectrl... $ECHO_C" >&6; }
10371 # Check whether --enable-filectrl was given.
10372 if test "${enable_filectrl+set}" = set; then
10373 enableval=$enable_filectrl;
10374 if test "$enableval" = yes; then
10375 wx_cv_use_filectrl='wxUSE_FILECTRL=yes'
10376 else
10377 wx_cv_use_filectrl='wxUSE_FILECTRL=no'
10378 fi
10379
10380 else
10381
10382 wx_cv_use_filectrl='wxUSE_FILECTRL=${'DEFAULT_wxUSE_FILECTRL":-$defaultval}"
10383
10384 fi
10385
10386
10387 eval "$wx_cv_use_filectrl"
10388
10389 if test x"$enablestring" = xdisable; then
10390 if test $wxUSE_FILECTRL = yes; then
10391 result=no
10392 else
10393 result=yes
10394 fi
10395 else
10396 result=$wxUSE_FILECTRL
10397 fi
10398
10399 { echo "$as_me:$LINENO: result: $result" >&5
10400 echo "${ECHO_T}$result" >&6; }
10401
10402
10403 enablestring=
10404 defaultval=$wxUSE_ALL_FEATURES
10405 if test -z "$defaultval"; then
10406 if test x"$enablestring" = xdisable; then
10407 defaultval=yes
10408 else
10409 defaultval=no
10410 fi
10411 fi
10412
10413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
10414 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
10415 # Check whether --enable-fontpicker was given.
10416 if test "${enable_fontpicker+set}" = set; then
10417 enableval=$enable_fontpicker;
10418 if test "$enableval" = yes; then
10419 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
10420 else
10421 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
10422 fi
10423
10424 else
10425
10426 wx_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=${'DEFAULT_wxUSE_FONTPICKERCTRL":-$defaultval}"
10427
10428 fi
10429
10430
10431 eval "$wx_cv_use_fontpicker"
10432
10433 if test x"$enablestring" = xdisable; then
10434 if test $wxUSE_FONTPICKERCTRL = yes; then
10435 result=no
10436 else
10437 result=yes
10438 fi
10439 else
10440 result=$wxUSE_FONTPICKERCTRL
10441 fi
10442
10443 { echo "$as_me:$LINENO: result: $result" >&5
10444 echo "${ECHO_T}$result" >&6; }
10445
10446
10447 enablestring=
10448 defaultval=$wxUSE_ALL_FEATURES
10449 if test -z "$defaultval"; then
10450 if test x"$enablestring" = xdisable; then
10451 defaultval=yes
10452 else
10453 defaultval=no
10454 fi
10455 fi
10456
10457 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
10458 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
10459 # Check whether --enable-gauge was given.
10460 if test "${enable_gauge+set}" = set; then
10461 enableval=$enable_gauge;
10462 if test "$enableval" = yes; then
10463 wx_cv_use_gauge='wxUSE_GAUGE=yes'
10464 else
10465 wx_cv_use_gauge='wxUSE_GAUGE=no'
10466 fi
10467
10468 else
10469
10470 wx_cv_use_gauge='wxUSE_GAUGE=${'DEFAULT_wxUSE_GAUGE":-$defaultval}"
10471
10472 fi
10473
10474
10475 eval "$wx_cv_use_gauge"
10476
10477 if test x"$enablestring" = xdisable; then
10478 if test $wxUSE_GAUGE = yes; then
10479 result=no
10480 else
10481 result=yes
10482 fi
10483 else
10484 result=$wxUSE_GAUGE
10485 fi
10486
10487 { echo "$as_me:$LINENO: result: $result" >&5
10488 echo "${ECHO_T}$result" >&6; }
10489
10490
10491 enablestring=
10492 defaultval=$wxUSE_ALL_FEATURES
10493 if test -z "$defaultval"; then
10494 if test x"$enablestring" = xdisable; then
10495 defaultval=yes
10496 else
10497 defaultval=no
10498 fi
10499 fi
10500
10501 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
10502 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
10503 # Check whether --enable-grid was given.
10504 if test "${enable_grid+set}" = set; then
10505 enableval=$enable_grid;
10506 if test "$enableval" = yes; then
10507 wx_cv_use_grid='wxUSE_GRID=yes'
10508 else
10509 wx_cv_use_grid='wxUSE_GRID=no'
10510 fi
10511
10512 else
10513
10514 wx_cv_use_grid='wxUSE_GRID=${'DEFAULT_wxUSE_GRID":-$defaultval}"
10515
10516 fi
10517
10518
10519 eval "$wx_cv_use_grid"
10520
10521 if test x"$enablestring" = xdisable; then
10522 if test $wxUSE_GRID = yes; then
10523 result=no
10524 else
10525 result=yes
10526 fi
10527 else
10528 result=$wxUSE_GRID
10529 fi
10530
10531 { echo "$as_me:$LINENO: result: $result" >&5
10532 echo "${ECHO_T}$result" >&6; }
10533
10534
10535 enablestring=
10536 defaultval=$wxUSE_ALL_FEATURES
10537 if test -z "$defaultval"; then
10538 if test x"$enablestring" = xdisable; then
10539 defaultval=yes
10540 else
10541 defaultval=no
10542 fi
10543 fi
10544
10545 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
10546 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
10547 # Check whether --enable-dataviewctrl was given.
10548 if test "${enable_dataviewctrl+set}" = set; then
10549 enableval=$enable_dataviewctrl;
10550 if test "$enableval" = yes; then
10551 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
10552 else
10553 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
10554 fi
10555
10556 else
10557
10558 wx_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=${'DEFAULT_wxUSE_DATAVIEWCTRL":-$defaultval}"
10559
10560 fi
10561
10562
10563 eval "$wx_cv_use_dataviewctrl"
10564
10565 if test x"$enablestring" = xdisable; then
10566 if test $wxUSE_DATAVIEWCTRL = yes; then
10567 result=no
10568 else
10569 result=yes
10570 fi
10571 else
10572 result=$wxUSE_DATAVIEWCTRL
10573 fi
10574
10575 { echo "$as_me:$LINENO: result: $result" >&5
10576 echo "${ECHO_T}$result" >&6; }
10577
10578
10579 enablestring=
10580 defaultval=$wxUSE_ALL_FEATURES
10581 if test -z "$defaultval"; then
10582 if test x"$enablestring" = xdisable; then
10583 defaultval=yes
10584 else
10585 defaultval=no
10586 fi
10587 fi
10588
10589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
10590 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
10591 # Check whether --enable-hyperlink was given.
10592 if test "${enable_hyperlink+set}" = set; then
10593 enableval=$enable_hyperlink;
10594 if test "$enableval" = yes; then
10595 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
10596 else
10597 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
10598 fi
10599
10600 else
10601
10602 wx_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=${'DEFAULT_wxUSE_HYPERLINKCTRL":-$defaultval}"
10603
10604 fi
10605
10606
10607 eval "$wx_cv_use_hyperlink"
10608
10609 if test x"$enablestring" = xdisable; then
10610 if test $wxUSE_HYPERLINKCTRL = yes; then
10611 result=no
10612 else
10613 result=yes
10614 fi
10615 else
10616 result=$wxUSE_HYPERLINKCTRL
10617 fi
10618
10619 { echo "$as_me:$LINENO: result: $result" >&5
10620 echo "${ECHO_T}$result" >&6; }
10621
10622
10623 enablestring=
10624 defaultval=$wxUSE_ALL_FEATURES
10625 if test -z "$defaultval"; then
10626 if test x"$enablestring" = xdisable; then
10627 defaultval=yes
10628 else
10629 defaultval=no
10630 fi
10631 fi
10632
10633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
10634 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
10635 # Check whether --enable-imaglist was given.
10636 if test "${enable_imaglist+set}" = set; then
10637 enableval=$enable_imaglist;
10638 if test "$enableval" = yes; then
10639 wx_cv_use_imaglist='wxUSE_IMAGLIST=yes'
10640 else
10641 wx_cv_use_imaglist='wxUSE_IMAGLIST=no'
10642 fi
10643
10644 else
10645
10646 wx_cv_use_imaglist='wxUSE_IMAGLIST=${'DEFAULT_wxUSE_IMAGLIST":-$defaultval}"
10647
10648 fi
10649
10650
10651 eval "$wx_cv_use_imaglist"
10652
10653 if test x"$enablestring" = xdisable; then
10654 if test $wxUSE_IMAGLIST = yes; then
10655 result=no
10656 else
10657 result=yes
10658 fi
10659 else
10660 result=$wxUSE_IMAGLIST
10661 fi
10662
10663 { echo "$as_me:$LINENO: result: $result" >&5
10664 echo "${ECHO_T}$result" >&6; }
10665
10666
10667 enablestring=
10668 defaultval=$wxUSE_ALL_FEATURES
10669 if test -z "$defaultval"; then
10670 if test x"$enablestring" = xdisable; then
10671 defaultval=yes
10672 else
10673 defaultval=no
10674 fi
10675 fi
10676
10677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
10678 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
10679 # Check whether --enable-listbook was given.
10680 if test "${enable_listbook+set}" = set; then
10681 enableval=$enable_listbook;
10682 if test "$enableval" = yes; then
10683 wx_cv_use_listbook='wxUSE_LISTBOOK=yes'
10684 else
10685 wx_cv_use_listbook='wxUSE_LISTBOOK=no'
10686 fi
10687
10688 else
10689
10690 wx_cv_use_listbook='wxUSE_LISTBOOK=${'DEFAULT_wxUSE_LISTBOOK":-$defaultval}"
10691
10692 fi
10693
10694
10695 eval "$wx_cv_use_listbook"
10696
10697 if test x"$enablestring" = xdisable; then
10698 if test $wxUSE_LISTBOOK = yes; then
10699 result=no
10700 else
10701 result=yes
10702 fi
10703 else
10704 result=$wxUSE_LISTBOOK
10705 fi
10706
10707 { echo "$as_me:$LINENO: result: $result" >&5
10708 echo "${ECHO_T}$result" >&6; }
10709
10710
10711 enablestring=
10712 defaultval=$wxUSE_ALL_FEATURES
10713 if test -z "$defaultval"; then
10714 if test x"$enablestring" = xdisable; then
10715 defaultval=yes
10716 else
10717 defaultval=no
10718 fi
10719 fi
10720
10721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10723 # Check whether --enable-listbox was given.
10724 if test "${enable_listbox+set}" = set; then
10725 enableval=$enable_listbox;
10726 if test "$enableval" = yes; then
10727 wx_cv_use_listbox='wxUSE_LISTBOX=yes'
10728 else
10729 wx_cv_use_listbox='wxUSE_LISTBOX=no'
10730 fi
10731
10732 else
10733
10734 wx_cv_use_listbox='wxUSE_LISTBOX=${'DEFAULT_wxUSE_LISTBOX":-$defaultval}"
10735
10736 fi
10737
10738
10739 eval "$wx_cv_use_listbox"
10740
10741 if test x"$enablestring" = xdisable; then
10742 if test $wxUSE_LISTBOX = yes; then
10743 result=no
10744 else
10745 result=yes
10746 fi
10747 else
10748 result=$wxUSE_LISTBOX
10749 fi
10750
10751 { echo "$as_me:$LINENO: result: $result" >&5
10752 echo "${ECHO_T}$result" >&6; }
10753
10754
10755 enablestring=
10756 defaultval=$wxUSE_ALL_FEATURES
10757 if test -z "$defaultval"; then
10758 if test x"$enablestring" = xdisable; then
10759 defaultval=yes
10760 else
10761 defaultval=no
10762 fi
10763 fi
10764
10765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10766 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10767 # Check whether --enable-listctrl was given.
10768 if test "${enable_listctrl+set}" = set; then
10769 enableval=$enable_listctrl;
10770 if test "$enableval" = yes; then
10771 wx_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10772 else
10773 wx_cv_use_listctrl='wxUSE_LISTCTRL=no'
10774 fi
10775
10776 else
10777
10778 wx_cv_use_listctrl='wxUSE_LISTCTRL=${'DEFAULT_wxUSE_LISTCTRL":-$defaultval}"
10779
10780 fi
10781
10782
10783 eval "$wx_cv_use_listctrl"
10784
10785 if test x"$enablestring" = xdisable; then
10786 if test $wxUSE_LISTCTRL = yes; then
10787 result=no
10788 else
10789 result=yes
10790 fi
10791 else
10792 result=$wxUSE_LISTCTRL
10793 fi
10794
10795 { echo "$as_me:$LINENO: result: $result" >&5
10796 echo "${ECHO_T}$result" >&6; }
10797
10798
10799 enablestring=
10800 defaultval=$wxUSE_ALL_FEATURES
10801 if test -z "$defaultval"; then
10802 if test x"$enablestring" = xdisable; then
10803 defaultval=yes
10804 else
10805 defaultval=no
10806 fi
10807 fi
10808
10809 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10810 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10811 # Check whether --enable-notebook was given.
10812 if test "${enable_notebook+set}" = set; then
10813 enableval=$enable_notebook;
10814 if test "$enableval" = yes; then
10815 wx_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10816 else
10817 wx_cv_use_notebook='wxUSE_NOTEBOOK=no'
10818 fi
10819
10820 else
10821
10822 wx_cv_use_notebook='wxUSE_NOTEBOOK=${'DEFAULT_wxUSE_NOTEBOOK":-$defaultval}"
10823
10824 fi
10825
10826
10827 eval "$wx_cv_use_notebook"
10828
10829 if test x"$enablestring" = xdisable; then
10830 if test $wxUSE_NOTEBOOK = yes; then
10831 result=no
10832 else
10833 result=yes
10834 fi
10835 else
10836 result=$wxUSE_NOTEBOOK
10837 fi
10838
10839 { echo "$as_me:$LINENO: result: $result" >&5
10840 echo "${ECHO_T}$result" >&6; }
10841
10842
10843 enablestring=
10844 defaultval=$wxUSE_ALL_FEATURES
10845 if test -z "$defaultval"; then
10846 if test x"$enablestring" = xdisable; then
10847 defaultval=yes
10848 else
10849 defaultval=no
10850 fi
10851 fi
10852
10853 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notifmsg" >&5
10854 echo $ECHO_N "checking for --${enablestring:-enable}-notifmsg... $ECHO_C" >&6; }
10855 # Check whether --enable-notifmsg was given.
10856 if test "${enable_notifmsg+set}" = set; then
10857 enableval=$enable_notifmsg;
10858 if test "$enableval" = yes; then
10859 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=yes'
10860 else
10861 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=no'
10862 fi
10863
10864 else
10865
10866 wx_cv_use_notifmsg='wxUSE_NOTIFICATION_MESSAGE=${'DEFAULT_wxUSE_NOTIFICATION_MESSAGE":-$defaultval}"
10867
10868 fi
10869
10870
10871 eval "$wx_cv_use_notifmsg"
10872
10873 if test x"$enablestring" = xdisable; then
10874 if test $wxUSE_NOTIFICATION_MESSAGE = yes; then
10875 result=no
10876 else
10877 result=yes
10878 fi
10879 else
10880 result=$wxUSE_NOTIFICATION_MESSAGE
10881 fi
10882
10883 { echo "$as_me:$LINENO: result: $result" >&5
10884 echo "${ECHO_T}$result" >&6; }
10885
10886
10887 enablestring=
10888 defaultval=$wxUSE_ALL_FEATURES
10889 if test -z "$defaultval"; then
10890 if test x"$enablestring" = xdisable; then
10891 defaultval=yes
10892 else
10893 defaultval=no
10894 fi
10895 fi
10896
10897 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10898 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10899 # Check whether --enable-odcombobox was given.
10900 if test "${enable_odcombobox+set}" = set; then
10901 enableval=$enable_odcombobox;
10902 if test "$enableval" = yes; then
10903 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10904 else
10905 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10906 fi
10907
10908 else
10909
10910 wx_cv_use_odcombobox='wxUSE_ODCOMBOBOX=${'DEFAULT_wxUSE_ODCOMBOBOX":-$defaultval}"
10911
10912 fi
10913
10914
10915 eval "$wx_cv_use_odcombobox"
10916
10917 if test x"$enablestring" = xdisable; then
10918 if test $wxUSE_ODCOMBOBOX = yes; then
10919 result=no
10920 else
10921 result=yes
10922 fi
10923 else
10924 result=$wxUSE_ODCOMBOBOX
10925 fi
10926
10927 { echo "$as_me:$LINENO: result: $result" >&5
10928 echo "${ECHO_T}$result" >&6; }
10929
10930
10931 enablestring=
10932 defaultval=$wxUSE_ALL_FEATURES
10933 if test -z "$defaultval"; then
10934 if test x"$enablestring" = xdisable; then
10935 defaultval=yes
10936 else
10937 defaultval=no
10938 fi
10939 fi
10940
10941 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10942 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10943 # Check whether --enable-radiobox was given.
10944 if test "${enable_radiobox+set}" = set; then
10945 enableval=$enable_radiobox;
10946 if test "$enableval" = yes; then
10947 wx_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10948 else
10949 wx_cv_use_radiobox='wxUSE_RADIOBOX=no'
10950 fi
10951
10952 else
10953
10954 wx_cv_use_radiobox='wxUSE_RADIOBOX=${'DEFAULT_wxUSE_RADIOBOX":-$defaultval}"
10955
10956 fi
10957
10958
10959 eval "$wx_cv_use_radiobox"
10960
10961 if test x"$enablestring" = xdisable; then
10962 if test $wxUSE_RADIOBOX = yes; then
10963 result=no
10964 else
10965 result=yes
10966 fi
10967 else
10968 result=$wxUSE_RADIOBOX
10969 fi
10970
10971 { echo "$as_me:$LINENO: result: $result" >&5
10972 echo "${ECHO_T}$result" >&6; }
10973
10974
10975 enablestring=
10976 defaultval=$wxUSE_ALL_FEATURES
10977 if test -z "$defaultval"; then
10978 if test x"$enablestring" = xdisable; then
10979 defaultval=yes
10980 else
10981 defaultval=no
10982 fi
10983 fi
10984
10985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10986 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10987 # Check whether --enable-radiobtn was given.
10988 if test "${enable_radiobtn+set}" = set; then
10989 enableval=$enable_radiobtn;
10990 if test "$enableval" = yes; then
10991 wx_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10992 else
10993 wx_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10994 fi
10995
10996 else
10997
10998 wx_cv_use_radiobtn='wxUSE_RADIOBTN=${'DEFAULT_wxUSE_RADIOBTN":-$defaultval}"
10999
11000 fi
11001
11002
11003 eval "$wx_cv_use_radiobtn"
11004
11005 if test x"$enablestring" = xdisable; then
11006 if test $wxUSE_RADIOBTN = yes; then
11007 result=no
11008 else
11009 result=yes
11010 fi
11011 else
11012 result=$wxUSE_RADIOBTN
11013 fi
11014
11015 { echo "$as_me:$LINENO: result: $result" >&5
11016 echo "${ECHO_T}$result" >&6; }
11017
11018
11019 enablestring=
11020 defaultval=$wxUSE_ALL_FEATURES
11021 if test -z "$defaultval"; then
11022 if test x"$enablestring" = xdisable; then
11023 defaultval=yes
11024 else
11025 defaultval=no
11026 fi
11027 fi
11028
11029 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
11030 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
11031 # Check whether --enable-sash was given.
11032 if test "${enable_sash+set}" = set; then
11033 enableval=$enable_sash;
11034 if test "$enableval" = yes; then
11035 wx_cv_use_sash='wxUSE_SASH=yes'
11036 else
11037 wx_cv_use_sash='wxUSE_SASH=no'
11038 fi
11039
11040 else
11041
11042 wx_cv_use_sash='wxUSE_SASH=${'DEFAULT_wxUSE_SASH":-$defaultval}"
11043
11044 fi
11045
11046
11047 eval "$wx_cv_use_sash"
11048
11049 if test x"$enablestring" = xdisable; then
11050 if test $wxUSE_SASH = yes; then
11051 result=no
11052 else
11053 result=yes
11054 fi
11055 else
11056 result=$wxUSE_SASH
11057 fi
11058
11059 { echo "$as_me:$LINENO: result: $result" >&5
11060 echo "${ECHO_T}$result" >&6; }
11061
11062
11063 enablestring=
11064 defaultval=$wxUSE_ALL_FEATURES
11065 if test -z "$defaultval"; then
11066 if test x"$enablestring" = xdisable; then
11067 defaultval=yes
11068 else
11069 defaultval=no
11070 fi
11071 fi
11072
11073 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
11074 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
11075 # Check whether --enable-scrollbar was given.
11076 if test "${enable_scrollbar+set}" = set; then
11077 enableval=$enable_scrollbar;
11078 if test "$enableval" = yes; then
11079 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
11080 else
11081 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
11082 fi
11083
11084 else
11085
11086 wx_cv_use_scrollbar='wxUSE_SCROLLBAR=${'DEFAULT_wxUSE_SCROLLBAR":-$defaultval}"
11087
11088 fi
11089
11090
11091 eval "$wx_cv_use_scrollbar"
11092
11093 if test x"$enablestring" = xdisable; then
11094 if test $wxUSE_SCROLLBAR = yes; then
11095 result=no
11096 else
11097 result=yes
11098 fi
11099 else
11100 result=$wxUSE_SCROLLBAR
11101 fi
11102
11103 { echo "$as_me:$LINENO: result: $result" >&5
11104 echo "${ECHO_T}$result" >&6; }
11105
11106
11107 enablestring=
11108 defaultval=$wxUSE_ALL_FEATURES
11109 if test -z "$defaultval"; then
11110 if test x"$enablestring" = xdisable; then
11111 defaultval=yes
11112 else
11113 defaultval=no
11114 fi
11115 fi
11116
11117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
11118 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
11119 # Check whether --enable-searchctrl was given.
11120 if test "${enable_searchctrl+set}" = set; then
11121 enableval=$enable_searchctrl;
11122 if test "$enableval" = yes; then
11123 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
11124 else
11125 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
11126 fi
11127
11128 else
11129
11130 wx_cv_use_searchctrl='wxUSE_SEARCHCTRL=${'DEFAULT_wxUSE_SEARCHCTRL":-$defaultval}"
11131
11132 fi
11133
11134
11135 eval "$wx_cv_use_searchctrl"
11136
11137 if test x"$enablestring" = xdisable; then
11138 if test $wxUSE_SEARCHCTRL = yes; then
11139 result=no
11140 else
11141 result=yes
11142 fi
11143 else
11144 result=$wxUSE_SEARCHCTRL
11145 fi
11146
11147 { echo "$as_me:$LINENO: result: $result" >&5
11148 echo "${ECHO_T}$result" >&6; }
11149
11150
11151 enablestring=
11152 defaultval=$wxUSE_ALL_FEATURES
11153 if test -z "$defaultval"; then
11154 if test x"$enablestring" = xdisable; then
11155 defaultval=yes
11156 else
11157 defaultval=no
11158 fi
11159 fi
11160
11161 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
11162 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
11163 # Check whether --enable-slider was given.
11164 if test "${enable_slider+set}" = set; then
11165 enableval=$enable_slider;
11166 if test "$enableval" = yes; then
11167 wx_cv_use_slider='wxUSE_SLIDER=yes'
11168 else
11169 wx_cv_use_slider='wxUSE_SLIDER=no'
11170 fi
11171
11172 else
11173
11174 wx_cv_use_slider='wxUSE_SLIDER=${'DEFAULT_wxUSE_SLIDER":-$defaultval}"
11175
11176 fi
11177
11178
11179 eval "$wx_cv_use_slider"
11180
11181 if test x"$enablestring" = xdisable; then
11182 if test $wxUSE_SLIDER = yes; then
11183 result=no
11184 else
11185 result=yes
11186 fi
11187 else
11188 result=$wxUSE_SLIDER
11189 fi
11190
11191 { echo "$as_me:$LINENO: result: $result" >&5
11192 echo "${ECHO_T}$result" >&6; }
11193
11194
11195 enablestring=
11196 defaultval=$wxUSE_ALL_FEATURES
11197 if test -z "$defaultval"; then
11198 if test x"$enablestring" = xdisable; then
11199 defaultval=yes
11200 else
11201 defaultval=no
11202 fi
11203 fi
11204
11205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
11206 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
11207 # Check whether --enable-spinbtn was given.
11208 if test "${enable_spinbtn+set}" = set; then
11209 enableval=$enable_spinbtn;
11210 if test "$enableval" = yes; then
11211 wx_cv_use_spinbtn='wxUSE_SPINBTN=yes'
11212 else
11213 wx_cv_use_spinbtn='wxUSE_SPINBTN=no'
11214 fi
11215
11216 else
11217
11218 wx_cv_use_spinbtn='wxUSE_SPINBTN=${'DEFAULT_wxUSE_SPINBTN":-$defaultval}"
11219
11220 fi
11221
11222
11223 eval "$wx_cv_use_spinbtn"
11224
11225 if test x"$enablestring" = xdisable; then
11226 if test $wxUSE_SPINBTN = yes; then
11227 result=no
11228 else
11229 result=yes
11230 fi
11231 else
11232 result=$wxUSE_SPINBTN
11233 fi
11234
11235 { echo "$as_me:$LINENO: result: $result" >&5
11236 echo "${ECHO_T}$result" >&6; }
11237
11238
11239 enablestring=
11240 defaultval=$wxUSE_ALL_FEATURES
11241 if test -z "$defaultval"; then
11242 if test x"$enablestring" = xdisable; then
11243 defaultval=yes
11244 else
11245 defaultval=no
11246 fi
11247 fi
11248
11249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
11250 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
11251 # Check whether --enable-spinctrl was given.
11252 if test "${enable_spinctrl+set}" = set; then
11253 enableval=$enable_spinctrl;
11254 if test "$enableval" = yes; then
11255 wx_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
11256 else
11257 wx_cv_use_spinctrl='wxUSE_SPINCTRL=no'
11258 fi
11259
11260 else
11261
11262 wx_cv_use_spinctrl='wxUSE_SPINCTRL=${'DEFAULT_wxUSE_SPINCTRL":-$defaultval}"
11263
11264 fi
11265
11266
11267 eval "$wx_cv_use_spinctrl"
11268
11269 if test x"$enablestring" = xdisable; then
11270 if test $wxUSE_SPINCTRL = yes; then
11271 result=no
11272 else
11273 result=yes
11274 fi
11275 else
11276 result=$wxUSE_SPINCTRL
11277 fi
11278
11279 { echo "$as_me:$LINENO: result: $result" >&5
11280 echo "${ECHO_T}$result" >&6; }
11281
11282
11283 enablestring=
11284 defaultval=$wxUSE_ALL_FEATURES
11285 if test -z "$defaultval"; then
11286 if test x"$enablestring" = xdisable; then
11287 defaultval=yes
11288 else
11289 defaultval=no
11290 fi
11291 fi
11292
11293 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
11294 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
11295 # Check whether --enable-splitter was given.
11296 if test "${enable_splitter+set}" = set; then
11297 enableval=$enable_splitter;
11298 if test "$enableval" = yes; then
11299 wx_cv_use_splitter='wxUSE_SPLITTER=yes'
11300 else
11301 wx_cv_use_splitter='wxUSE_SPLITTER=no'
11302 fi
11303
11304 else
11305
11306 wx_cv_use_splitter='wxUSE_SPLITTER=${'DEFAULT_wxUSE_SPLITTER":-$defaultval}"
11307
11308 fi
11309
11310
11311 eval "$wx_cv_use_splitter"
11312
11313 if test x"$enablestring" = xdisable; then
11314 if test $wxUSE_SPLITTER = yes; then
11315 result=no
11316 else
11317 result=yes
11318 fi
11319 else
11320 result=$wxUSE_SPLITTER
11321 fi
11322
11323 { echo "$as_me:$LINENO: result: $result" >&5
11324 echo "${ECHO_T}$result" >&6; }
11325
11326
11327 enablestring=
11328 defaultval=$wxUSE_ALL_FEATURES
11329 if test -z "$defaultval"; then
11330 if test x"$enablestring" = xdisable; then
11331 defaultval=yes
11332 else
11333 defaultval=no
11334 fi
11335 fi
11336
11337 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
11338 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
11339 # Check whether --enable-statbmp was given.
11340 if test "${enable_statbmp+set}" = set; then
11341 enableval=$enable_statbmp;
11342 if test "$enableval" = yes; then
11343 wx_cv_use_statbmp='wxUSE_STATBMP=yes'
11344 else
11345 wx_cv_use_statbmp='wxUSE_STATBMP=no'
11346 fi
11347
11348 else
11349
11350 wx_cv_use_statbmp='wxUSE_STATBMP=${'DEFAULT_wxUSE_STATBMP":-$defaultval}"
11351
11352 fi
11353
11354
11355 eval "$wx_cv_use_statbmp"
11356
11357 if test x"$enablestring" = xdisable; then
11358 if test $wxUSE_STATBMP = yes; then
11359 result=no
11360 else
11361 result=yes
11362 fi
11363 else
11364 result=$wxUSE_STATBMP
11365 fi
11366
11367 { echo "$as_me:$LINENO: result: $result" >&5
11368 echo "${ECHO_T}$result" >&6; }
11369
11370
11371 enablestring=
11372 defaultval=$wxUSE_ALL_FEATURES
11373 if test -z "$defaultval"; then
11374 if test x"$enablestring" = xdisable; then
11375 defaultval=yes
11376 else
11377 defaultval=no
11378 fi
11379 fi
11380
11381 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
11382 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
11383 # Check whether --enable-statbox was given.
11384 if test "${enable_statbox+set}" = set; then
11385 enableval=$enable_statbox;
11386 if test "$enableval" = yes; then
11387 wx_cv_use_statbox='wxUSE_STATBOX=yes'
11388 else
11389 wx_cv_use_statbox='wxUSE_STATBOX=no'
11390 fi
11391
11392 else
11393
11394 wx_cv_use_statbox='wxUSE_STATBOX=${'DEFAULT_wxUSE_STATBOX":-$defaultval}"
11395
11396 fi
11397
11398
11399 eval "$wx_cv_use_statbox"
11400
11401 if test x"$enablestring" = xdisable; then
11402 if test $wxUSE_STATBOX = yes; then
11403 result=no
11404 else
11405 result=yes
11406 fi
11407 else
11408 result=$wxUSE_STATBOX
11409 fi
11410
11411 { echo "$as_me:$LINENO: result: $result" >&5
11412 echo "${ECHO_T}$result" >&6; }
11413
11414
11415 enablestring=
11416 defaultval=$wxUSE_ALL_FEATURES
11417 if test -z "$defaultval"; then
11418 if test x"$enablestring" = xdisable; then
11419 defaultval=yes
11420 else
11421 defaultval=no
11422 fi
11423 fi
11424
11425 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
11426 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
11427 # Check whether --enable-statline was given.
11428 if test "${enable_statline+set}" = set; then
11429 enableval=$enable_statline;
11430 if test "$enableval" = yes; then
11431 wx_cv_use_statline='wxUSE_STATLINE=yes'
11432 else
11433 wx_cv_use_statline='wxUSE_STATLINE=no'
11434 fi
11435
11436 else
11437
11438 wx_cv_use_statline='wxUSE_STATLINE=${'DEFAULT_wxUSE_STATLINE":-$defaultval}"
11439
11440 fi
11441
11442
11443 eval "$wx_cv_use_statline"
11444
11445 if test x"$enablestring" = xdisable; then
11446 if test $wxUSE_STATLINE = yes; then
11447 result=no
11448 else
11449 result=yes
11450 fi
11451 else
11452 result=$wxUSE_STATLINE
11453 fi
11454
11455 { echo "$as_me:$LINENO: result: $result" >&5
11456 echo "${ECHO_T}$result" >&6; }
11457
11458
11459 enablestring=
11460 defaultval=$wxUSE_ALL_FEATURES
11461 if test -z "$defaultval"; then
11462 if test x"$enablestring" = xdisable; then
11463 defaultval=yes
11464 else
11465 defaultval=no
11466 fi
11467 fi
11468
11469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
11470 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
11471 # Check whether --enable-stattext was given.
11472 if test "${enable_stattext+set}" = set; then
11473 enableval=$enable_stattext;
11474 if test "$enableval" = yes; then
11475 wx_cv_use_stattext='wxUSE_STATTEXT=yes'
11476 else
11477 wx_cv_use_stattext='wxUSE_STATTEXT=no'
11478 fi
11479
11480 else
11481
11482 wx_cv_use_stattext='wxUSE_STATTEXT=${'DEFAULT_wxUSE_STATTEXT":-$defaultval}"
11483
11484 fi
11485
11486
11487 eval "$wx_cv_use_stattext"
11488
11489 if test x"$enablestring" = xdisable; then
11490 if test $wxUSE_STATTEXT = yes; then
11491 result=no
11492 else
11493 result=yes
11494 fi
11495 else
11496 result=$wxUSE_STATTEXT
11497 fi
11498
11499 { echo "$as_me:$LINENO: result: $result" >&5
11500 echo "${ECHO_T}$result" >&6; }
11501
11502
11503 enablestring=
11504 defaultval=$wxUSE_ALL_FEATURES
11505 if test -z "$defaultval"; then
11506 if test x"$enablestring" = xdisable; then
11507 defaultval=yes
11508 else
11509 defaultval=no
11510 fi
11511 fi
11512
11513 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
11514 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
11515 # Check whether --enable-statusbar was given.
11516 if test "${enable_statusbar+set}" = set; then
11517 enableval=$enable_statusbar;
11518 if test "$enableval" = yes; then
11519 wx_cv_use_statusbar='wxUSE_STATUSBAR=yes'
11520 else
11521 wx_cv_use_statusbar='wxUSE_STATUSBAR=no'
11522 fi
11523
11524 else
11525
11526 wx_cv_use_statusbar='wxUSE_STATUSBAR=${'DEFAULT_wxUSE_STATUSBAR":-$defaultval}"
11527
11528 fi
11529
11530
11531 eval "$wx_cv_use_statusbar"
11532
11533 if test x"$enablestring" = xdisable; then
11534 if test $wxUSE_STATUSBAR = yes; then
11535 result=no
11536 else
11537 result=yes
11538 fi
11539 else
11540 result=$wxUSE_STATUSBAR
11541 fi
11542
11543 { echo "$as_me:$LINENO: result: $result" >&5
11544 echo "${ECHO_T}$result" >&6; }
11545
11546
11547 enablestring=
11548 defaultval=$wxUSE_ALL_FEATURES
11549 if test -z "$defaultval"; then
11550 if test x"$enablestring" = xdisable; then
11551 defaultval=yes
11552 else
11553 defaultval=no
11554 fi
11555 fi
11556
11557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
11558 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
11559 # Check whether --enable-tabdialog was given.
11560 if test "${enable_tabdialog+set}" = set; then
11561 enableval=$enable_tabdialog;
11562 if test "$enableval" = yes; then
11563 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
11564 else
11565 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
11566 fi
11567
11568 else
11569
11570 wx_cv_use_tabdialog='wxUSE_TAB_DIALOG=${'DEFAULT_wxUSE_TAB_DIALOG":-$defaultval}"
11571
11572 fi
11573
11574
11575 eval "$wx_cv_use_tabdialog"
11576
11577 if test x"$enablestring" = xdisable; then
11578 if test $wxUSE_TAB_DIALOG = yes; then
11579 result=no
11580 else
11581 result=yes
11582 fi
11583 else
11584 result=$wxUSE_TAB_DIALOG
11585 fi
11586
11587 { echo "$as_me:$LINENO: result: $result" >&5
11588 echo "${ECHO_T}$result" >&6; }
11589
11590
11591 enablestring=
11592 defaultval=$wxUSE_ALL_FEATURES
11593 if test -z "$defaultval"; then
11594 if test x"$enablestring" = xdisable; then
11595 defaultval=yes
11596 else
11597 defaultval=no
11598 fi
11599 fi
11600
11601 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-taskbaricon" >&5
11602 echo $ECHO_N "checking for --${enablestring:-enable}-taskbaricon... $ECHO_C" >&6; }
11603 # Check whether --enable-taskbaricon was given.
11604 if test "${enable_taskbaricon+set}" = set; then
11605 enableval=$enable_taskbaricon;
11606 if test "$enableval" = yes; then
11607 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=yes'
11608 else
11609 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=no'
11610 fi
11611
11612 else
11613
11614 wx_cv_use_taskbaricon='wxUSE_TASKBARICON=${'DEFAULT_wxUSE_TASKBARICON":-$defaultval}"
11615
11616 fi
11617
11618
11619 eval "$wx_cv_use_taskbaricon"
11620
11621 if test x"$enablestring" = xdisable; then
11622 if test $wxUSE_TASKBARICON = yes; then
11623 result=no
11624 else
11625 result=yes
11626 fi
11627 else
11628 result=$wxUSE_TASKBARICON
11629 fi
11630
11631 { echo "$as_me:$LINENO: result: $result" >&5
11632 echo "${ECHO_T}$result" >&6; }
11633
11634
11635 enablestring=
11636 defaultval=$wxUSE_ALL_FEATURES
11637 if test -z "$defaultval"; then
11638 if test x"$enablestring" = xdisable; then
11639 defaultval=yes
11640 else
11641 defaultval=no
11642 fi
11643 fi
11644
11645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
11646 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
11647 # Check whether --enable-textctrl was given.
11648 if test "${enable_textctrl+set}" = set; then
11649 enableval=$enable_textctrl;
11650 if test "$enableval" = yes; then
11651 wx_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
11652 else
11653 wx_cv_use_textctrl='wxUSE_TEXTCTRL=no'
11654 fi
11655
11656 else
11657
11658 wx_cv_use_textctrl='wxUSE_TEXTCTRL=${'DEFAULT_wxUSE_TEXTCTRL":-$defaultval}"
11659
11660 fi
11661
11662
11663 eval "$wx_cv_use_textctrl"
11664
11665 if test x"$enablestring" = xdisable; then
11666 if test $wxUSE_TEXTCTRL = yes; then
11667 result=no
11668 else
11669 result=yes
11670 fi
11671 else
11672 result=$wxUSE_TEXTCTRL
11673 fi
11674
11675 { echo "$as_me:$LINENO: result: $result" >&5
11676 echo "${ECHO_T}$result" >&6; }
11677
11678
11679 enablestring=
11680 defaultval=$wxUSE_ALL_FEATURES
11681 if test -z "$defaultval"; then
11682 if test x"$enablestring" = xdisable; then
11683 defaultval=yes
11684 else
11685 defaultval=no
11686 fi
11687 fi
11688
11689 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
11690 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
11691 # Check whether --enable-togglebtn was given.
11692 if test "${enable_togglebtn+set}" = set; then
11693 enableval=$enable_togglebtn;
11694 if test "$enableval" = yes; then
11695 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
11696 else
11697 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
11698 fi
11699
11700 else
11701
11702 wx_cv_use_togglebtn='wxUSE_TOGGLEBTN=${'DEFAULT_wxUSE_TOGGLEBTN":-$defaultval}"
11703
11704 fi
11705
11706
11707 eval "$wx_cv_use_togglebtn"
11708
11709 if test x"$enablestring" = xdisable; then
11710 if test $wxUSE_TOGGLEBTN = yes; then
11711 result=no
11712 else
11713 result=yes
11714 fi
11715 else
11716 result=$wxUSE_TOGGLEBTN
11717 fi
11718
11719 { echo "$as_me:$LINENO: result: $result" >&5
11720 echo "${ECHO_T}$result" >&6; }
11721
11722
11723 enablestring=
11724 defaultval=$wxUSE_ALL_FEATURES
11725 if test -z "$defaultval"; then
11726 if test x"$enablestring" = xdisable; then
11727 defaultval=yes
11728 else
11729 defaultval=no
11730 fi
11731 fi
11732
11733 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
11734 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
11735 # Check whether --enable-toolbar was given.
11736 if test "${enable_toolbar+set}" = set; then
11737 enableval=$enable_toolbar;
11738 if test "$enableval" = yes; then
11739 wx_cv_use_toolbar='wxUSE_TOOLBAR=yes'
11740 else
11741 wx_cv_use_toolbar='wxUSE_TOOLBAR=no'
11742 fi
11743
11744 else
11745
11746 wx_cv_use_toolbar='wxUSE_TOOLBAR=${'DEFAULT_wxUSE_TOOLBAR":-$defaultval}"
11747
11748 fi
11749
11750
11751 eval "$wx_cv_use_toolbar"
11752
11753 if test x"$enablestring" = xdisable; then
11754 if test $wxUSE_TOOLBAR = yes; then
11755 result=no
11756 else
11757 result=yes
11758 fi
11759 else
11760 result=$wxUSE_TOOLBAR
11761 fi
11762
11763 { echo "$as_me:$LINENO: result: $result" >&5
11764 echo "${ECHO_T}$result" >&6; }
11765
11766
11767 enablestring=
11768 defaultval=$wxUSE_ALL_FEATURES
11769 if test -z "$defaultval"; then
11770 if test x"$enablestring" = xdisable; then
11771 defaultval=yes
11772 else
11773 defaultval=no
11774 fi
11775 fi
11776
11777 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
11778 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
11779 # Check whether --enable-tbarnative was given.
11780 if test "${enable_tbarnative+set}" = set; then
11781 enableval=$enable_tbarnative;
11782 if test "$enableval" = yes; then
11783 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
11784 else
11785 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
11786 fi
11787
11788 else
11789
11790 wx_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=${'DEFAULT_wxUSE_TOOLBAR_NATIVE":-$defaultval}"
11791
11792 fi
11793
11794
11795 eval "$wx_cv_use_tbarnative"
11796
11797 if test x"$enablestring" = xdisable; then
11798 if test $wxUSE_TOOLBAR_NATIVE = yes; then
11799 result=no
11800 else
11801 result=yes
11802 fi
11803 else
11804 result=$wxUSE_TOOLBAR_NATIVE
11805 fi
11806
11807 { echo "$as_me:$LINENO: result: $result" >&5
11808 echo "${ECHO_T}$result" >&6; }
11809
11810
11811 enablestring=
11812 defaultval=$wxUSE_ALL_FEATURES
11813 if test -z "$defaultval"; then
11814 if test x"$enablestring" = xdisable; then
11815 defaultval=yes
11816 else
11817 defaultval=no
11818 fi
11819 fi
11820
11821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
11822 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
11823 # Check whether --enable-treebook was given.
11824 if test "${enable_treebook+set}" = set; then
11825 enableval=$enable_treebook;
11826 if test "$enableval" = yes; then
11827 wx_cv_use_treebook='wxUSE_TREEBOOK=yes'
11828 else
11829 wx_cv_use_treebook='wxUSE_TREEBOOK=no'
11830 fi
11831
11832 else
11833
11834 wx_cv_use_treebook='wxUSE_TREEBOOK=${'DEFAULT_wxUSE_TREEBOOK":-$defaultval}"
11835
11836 fi
11837
11838
11839 eval "$wx_cv_use_treebook"
11840
11841 if test x"$enablestring" = xdisable; then
11842 if test $wxUSE_TREEBOOK = yes; then
11843 result=no
11844 else
11845 result=yes
11846 fi
11847 else
11848 result=$wxUSE_TREEBOOK
11849 fi
11850
11851 { echo "$as_me:$LINENO: result: $result" >&5
11852 echo "${ECHO_T}$result" >&6; }
11853
11854
11855 enablestring=
11856 defaultval=$wxUSE_ALL_FEATURES
11857 if test -z "$defaultval"; then
11858 if test x"$enablestring" = xdisable; then
11859 defaultval=yes
11860 else
11861 defaultval=no
11862 fi
11863 fi
11864
11865 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11866 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11867 # Check whether --enable-toolbook was given.
11868 if test "${enable_toolbook+set}" = set; then
11869 enableval=$enable_toolbook;
11870 if test "$enableval" = yes; then
11871 wx_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11872 else
11873 wx_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11874 fi
11875
11876 else
11877
11878 wx_cv_use_toolbook='wxUSE_TOOLBOOK=${'DEFAULT_wxUSE_TOOLBOOK":-$defaultval}"
11879
11880 fi
11881
11882
11883 eval "$wx_cv_use_toolbook"
11884
11885 if test x"$enablestring" = xdisable; then
11886 if test $wxUSE_TOOLBOOK = yes; then
11887 result=no
11888 else
11889 result=yes
11890 fi
11891 else
11892 result=$wxUSE_TOOLBOOK
11893 fi
11894
11895 { echo "$as_me:$LINENO: result: $result" >&5
11896 echo "${ECHO_T}$result" >&6; }
11897
11898
11899 enablestring=
11900 defaultval=$wxUSE_ALL_FEATURES
11901 if test -z "$defaultval"; then
11902 if test x"$enablestring" = xdisable; then
11903 defaultval=yes
11904 else
11905 defaultval=no
11906 fi
11907 fi
11908
11909 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11910 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11911 # Check whether --enable-treectrl was given.
11912 if test "${enable_treectrl+set}" = set; then
11913 enableval=$enable_treectrl;
11914 if test "$enableval" = yes; then
11915 wx_cv_use_treectrl='wxUSE_TREECTRL=yes'
11916 else
11917 wx_cv_use_treectrl='wxUSE_TREECTRL=no'
11918 fi
11919
11920 else
11921
11922 wx_cv_use_treectrl='wxUSE_TREECTRL=${'DEFAULT_wxUSE_TREECTRL":-$defaultval}"
11923
11924 fi
11925
11926
11927 eval "$wx_cv_use_treectrl"
11928
11929 if test x"$enablestring" = xdisable; then
11930 if test $wxUSE_TREECTRL = yes; then
11931 result=no
11932 else
11933 result=yes
11934 fi
11935 else
11936 result=$wxUSE_TREECTRL
11937 fi
11938
11939 { echo "$as_me:$LINENO: result: $result" >&5
11940 echo "${ECHO_T}$result" >&6; }
11941
11942
11943 enablestring=
11944 defaultval=$wxUSE_ALL_FEATURES
11945 if test -z "$defaultval"; then
11946 if test x"$enablestring" = xdisable; then
11947 defaultval=yes
11948 else
11949 defaultval=no
11950 fi
11951 fi
11952
11953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11954 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11955 # Check whether --enable-tipwindow was given.
11956 if test "${enable_tipwindow+set}" = set; then
11957 enableval=$enable_tipwindow;
11958 if test "$enableval" = yes; then
11959 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11960 else
11961 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11962 fi
11963
11964 else
11965
11966 wx_cv_use_tipwindow='wxUSE_TIPWINDOW=${'DEFAULT_wxUSE_TIPWINDOW":-$defaultval}"
11967
11968 fi
11969
11970
11971 eval "$wx_cv_use_tipwindow"
11972
11973 if test x"$enablestring" = xdisable; then
11974 if test $wxUSE_TIPWINDOW = yes; then
11975 result=no
11976 else
11977 result=yes
11978 fi
11979 else
11980 result=$wxUSE_TIPWINDOW
11981 fi
11982
11983 { echo "$as_me:$LINENO: result: $result" >&5
11984 echo "${ECHO_T}$result" >&6; }
11985
11986
11987 enablestring=
11988 defaultval=$wxUSE_ALL_FEATURES
11989 if test -z "$defaultval"; then
11990 if test x"$enablestring" = xdisable; then
11991 defaultval=yes
11992 else
11993 defaultval=no
11994 fi
11995 fi
11996
11997 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11998 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11999 # Check whether --enable-popupwin was given.
12000 if test "${enable_popupwin+set}" = set; then
12001 enableval=$enable_popupwin;
12002 if test "$enableval" = yes; then
12003 wx_cv_use_popupwin='wxUSE_POPUPWIN=yes'
12004 else
12005 wx_cv_use_popupwin='wxUSE_POPUPWIN=no'
12006 fi
12007
12008 else
12009
12010 wx_cv_use_popupwin='wxUSE_POPUPWIN=${'DEFAULT_wxUSE_POPUPWIN":-$defaultval}"
12011
12012 fi
12013
12014
12015 eval "$wx_cv_use_popupwin"
12016
12017 if test x"$enablestring" = xdisable; then
12018 if test $wxUSE_POPUPWIN = yes; then
12019 result=no
12020 else
12021 result=yes
12022 fi
12023 else
12024 result=$wxUSE_POPUPWIN
12025 fi
12026
12027 { echo "$as_me:$LINENO: result: $result" >&5
12028 echo "${ECHO_T}$result" >&6; }
12029
12030
12031
12032
12033 enablestring=
12034 defaultval=$wxUSE_ALL_FEATURES
12035 if test -z "$defaultval"; then
12036 if test x"$enablestring" = xdisable; then
12037 defaultval=yes
12038 else
12039 defaultval=no
12040 fi
12041 fi
12042
12043 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
12044 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
12045 # Check whether --enable-commondlg was given.
12046 if test "${enable_commondlg+set}" = set; then
12047 enableval=$enable_commondlg;
12048 if test "$enableval" = yes; then
12049 wx_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
12050 else
12051 wx_cv_use_commondlg='wxUSE_COMMONDLGS=no'
12052 fi
12053
12054 else
12055
12056 wx_cv_use_commondlg='wxUSE_COMMONDLGS=${'DEFAULT_wxUSE_COMMONDLGS":-$defaultval}"
12057
12058 fi
12059
12060
12061 eval "$wx_cv_use_commondlg"
12062
12063 if test x"$enablestring" = xdisable; then
12064 if test $wxUSE_COMMONDLGS = yes; then
12065 result=no
12066 else
12067 result=yes
12068 fi
12069 else
12070 result=$wxUSE_COMMONDLGS
12071 fi
12072
12073 { echo "$as_me:$LINENO: result: $result" >&5
12074 echo "${ECHO_T}$result" >&6; }
12075
12076
12077 enablestring=
12078 defaultval=$wxUSE_ALL_FEATURES
12079 if test -z "$defaultval"; then
12080 if test x"$enablestring" = xdisable; then
12081 defaultval=yes
12082 else
12083 defaultval=no
12084 fi
12085 fi
12086
12087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
12088 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
12089 # Check whether --enable-aboutdlg was given.
12090 if test "${enable_aboutdlg+set}" = set; then
12091 enableval=$enable_aboutdlg;
12092 if test "$enableval" = yes; then
12093 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
12094 else
12095 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
12096 fi
12097
12098 else
12099
12100 wx_cv_use_aboutdlg='wxUSE_ABOUTDLG=${'DEFAULT_wxUSE_ABOUTDLG":-$defaultval}"
12101
12102 fi
12103
12104
12105 eval "$wx_cv_use_aboutdlg"
12106
12107 if test x"$enablestring" = xdisable; then
12108 if test $wxUSE_ABOUTDLG = yes; then
12109 result=no
12110 else
12111 result=yes
12112 fi
12113 else
12114 result=$wxUSE_ABOUTDLG
12115 fi
12116
12117 { echo "$as_me:$LINENO: result: $result" >&5
12118 echo "${ECHO_T}$result" >&6; }
12119
12120
12121 enablestring=
12122 defaultval=$wxUSE_ALL_FEATURES
12123 if test -z "$defaultval"; then
12124 if test x"$enablestring" = xdisable; then
12125 defaultval=yes
12126 else
12127 defaultval=no
12128 fi
12129 fi
12130
12131 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
12132 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
12133 # Check whether --enable-choicedlg was given.
12134 if test "${enable_choicedlg+set}" = set; then
12135 enableval=$enable_choicedlg;
12136 if test "$enableval" = yes; then
12137 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
12138 else
12139 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
12140 fi
12141
12142 else
12143
12144 wx_cv_use_choicedlg='wxUSE_CHOICEDLG=${'DEFAULT_wxUSE_CHOICEDLG":-$defaultval}"
12145
12146 fi
12147
12148
12149 eval "$wx_cv_use_choicedlg"
12150
12151 if test x"$enablestring" = xdisable; then
12152 if test $wxUSE_CHOICEDLG = yes; then
12153 result=no
12154 else
12155 result=yes
12156 fi
12157 else
12158 result=$wxUSE_CHOICEDLG
12159 fi
12160
12161 { echo "$as_me:$LINENO: result: $result" >&5
12162 echo "${ECHO_T}$result" >&6; }
12163
12164
12165 enablestring=
12166 defaultval=$wxUSE_ALL_FEATURES
12167 if test -z "$defaultval"; then
12168 if test x"$enablestring" = xdisable; then
12169 defaultval=yes
12170 else
12171 defaultval=no
12172 fi
12173 fi
12174
12175 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
12176 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
12177 # Check whether --enable-coldlg was given.
12178 if test "${enable_coldlg+set}" = set; then
12179 enableval=$enable_coldlg;
12180 if test "$enableval" = yes; then
12181 wx_cv_use_coldlg='wxUSE_COLOURDLG=yes'
12182 else
12183 wx_cv_use_coldlg='wxUSE_COLOURDLG=no'
12184 fi
12185
12186 else
12187
12188 wx_cv_use_coldlg='wxUSE_COLOURDLG=${'DEFAULT_wxUSE_COLOURDLG":-$defaultval}"
12189
12190 fi
12191
12192
12193 eval "$wx_cv_use_coldlg"
12194
12195 if test x"$enablestring" = xdisable; then
12196 if test $wxUSE_COLOURDLG = yes; then
12197 result=no
12198 else
12199 result=yes
12200 fi
12201 else
12202 result=$wxUSE_COLOURDLG
12203 fi
12204
12205 { echo "$as_me:$LINENO: result: $result" >&5
12206 echo "${ECHO_T}$result" >&6; }
12207
12208
12209 enablestring=
12210 defaultval=$wxUSE_ALL_FEATURES
12211 if test -z "$defaultval"; then
12212 if test x"$enablestring" = xdisable; then
12213 defaultval=yes
12214 else
12215 defaultval=no
12216 fi
12217 fi
12218
12219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
12220 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
12221 # Check whether --enable-filedlg was given.
12222 if test "${enable_filedlg+set}" = set; then
12223 enableval=$enable_filedlg;
12224 if test "$enableval" = yes; then
12225 wx_cv_use_filedlg='wxUSE_FILEDLG=yes'
12226 else
12227 wx_cv_use_filedlg='wxUSE_FILEDLG=no'
12228 fi
12229
12230 else
12231
12232 wx_cv_use_filedlg='wxUSE_FILEDLG=${'DEFAULT_wxUSE_FILEDLG":-$defaultval}"
12233
12234 fi
12235
12236
12237 eval "$wx_cv_use_filedlg"
12238
12239 if test x"$enablestring" = xdisable; then
12240 if test $wxUSE_FILEDLG = yes; then
12241 result=no
12242 else
12243 result=yes
12244 fi
12245 else
12246 result=$wxUSE_FILEDLG
12247 fi
12248
12249 { echo "$as_me:$LINENO: result: $result" >&5
12250 echo "${ECHO_T}$result" >&6; }
12251
12252
12253 enablestring=
12254 defaultval=$wxUSE_ALL_FEATURES
12255 if test -z "$defaultval"; then
12256 if test x"$enablestring" = xdisable; then
12257 defaultval=yes
12258 else
12259 defaultval=no
12260 fi
12261 fi
12262
12263 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
12264 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
12265 # Check whether --enable-finddlg was given.
12266 if test "${enable_finddlg+set}" = set; then
12267 enableval=$enable_finddlg;
12268 if test "$enableval" = yes; then
12269 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
12270 else
12271 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
12272 fi
12273
12274 else
12275
12276 wx_cv_use_finddlg='wxUSE_FINDREPLDLG=${'DEFAULT_wxUSE_FINDREPLDLG":-$defaultval}"
12277
12278 fi
12279
12280
12281 eval "$wx_cv_use_finddlg"
12282
12283 if test x"$enablestring" = xdisable; then
12284 if test $wxUSE_FINDREPLDLG = yes; then
12285 result=no
12286 else
12287 result=yes
12288 fi
12289 else
12290 result=$wxUSE_FINDREPLDLG
12291 fi
12292
12293 { echo "$as_me:$LINENO: result: $result" >&5
12294 echo "${ECHO_T}$result" >&6; }
12295
12296
12297 enablestring=
12298 defaultval=$wxUSE_ALL_FEATURES
12299 if test -z "$defaultval"; then
12300 if test x"$enablestring" = xdisable; then
12301 defaultval=yes
12302 else
12303 defaultval=no
12304 fi
12305 fi
12306
12307 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
12308 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
12309 # Check whether --enable-fontdlg was given.
12310 if test "${enable_fontdlg+set}" = set; then
12311 enableval=$enable_fontdlg;
12312 if test "$enableval" = yes; then
12313 wx_cv_use_fontdlg='wxUSE_FONTDLG=yes'
12314 else
12315 wx_cv_use_fontdlg='wxUSE_FONTDLG=no'
12316 fi
12317
12318 else
12319
12320 wx_cv_use_fontdlg='wxUSE_FONTDLG=${'DEFAULT_wxUSE_FONTDLG":-$defaultval}"
12321
12322 fi
12323
12324
12325 eval "$wx_cv_use_fontdlg"
12326
12327 if test x"$enablestring" = xdisable; then
12328 if test $wxUSE_FONTDLG = yes; then
12329 result=no
12330 else
12331 result=yes
12332 fi
12333 else
12334 result=$wxUSE_FONTDLG
12335 fi
12336
12337 { echo "$as_me:$LINENO: result: $result" >&5
12338 echo "${ECHO_T}$result" >&6; }
12339
12340
12341 enablestring=
12342 defaultval=$wxUSE_ALL_FEATURES
12343 if test -z "$defaultval"; then
12344 if test x"$enablestring" = xdisable; then
12345 defaultval=yes
12346 else
12347 defaultval=no
12348 fi
12349 fi
12350
12351 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
12352 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
12353 # Check whether --enable-dirdlg was given.
12354 if test "${enable_dirdlg+set}" = set; then
12355 enableval=$enable_dirdlg;
12356 if test "$enableval" = yes; then
12357 wx_cv_use_dirdlg='wxUSE_DIRDLG=yes'
12358 else
12359 wx_cv_use_dirdlg='wxUSE_DIRDLG=no'
12360 fi
12361
12362 else
12363
12364 wx_cv_use_dirdlg='wxUSE_DIRDLG=${'DEFAULT_wxUSE_DIRDLG":-$defaultval}"
12365
12366 fi
12367
12368
12369 eval "$wx_cv_use_dirdlg"
12370
12371 if test x"$enablestring" = xdisable; then
12372 if test $wxUSE_DIRDLG = yes; then
12373 result=no
12374 else
12375 result=yes
12376 fi
12377 else
12378 result=$wxUSE_DIRDLG
12379 fi
12380
12381 { echo "$as_me:$LINENO: result: $result" >&5
12382 echo "${ECHO_T}$result" >&6; }
12383
12384
12385 enablestring=
12386 defaultval=$wxUSE_ALL_FEATURES
12387 if test -z "$defaultval"; then
12388 if test x"$enablestring" = xdisable; then
12389 defaultval=yes
12390 else
12391 defaultval=no
12392 fi
12393 fi
12394
12395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
12396 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
12397 # Check whether --enable-msgdlg was given.
12398 if test "${enable_msgdlg+set}" = set; then
12399 enableval=$enable_msgdlg;
12400 if test "$enableval" = yes; then
12401 wx_cv_use_msgdlg='wxUSE_MSGDLG=yes'
12402 else
12403 wx_cv_use_msgdlg='wxUSE_MSGDLG=no'
12404 fi
12405
12406 else
12407
12408 wx_cv_use_msgdlg='wxUSE_MSGDLG=${'DEFAULT_wxUSE_MSGDLG":-$defaultval}"
12409
12410 fi
12411
12412
12413 eval "$wx_cv_use_msgdlg"
12414
12415 if test x"$enablestring" = xdisable; then
12416 if test $wxUSE_MSGDLG = yes; then
12417 result=no
12418 else
12419 result=yes
12420 fi
12421 else
12422 result=$wxUSE_MSGDLG
12423 fi
12424
12425 { echo "$as_me:$LINENO: result: $result" >&5
12426 echo "${ECHO_T}$result" >&6; }
12427
12428
12429 enablestring=
12430 defaultval=$wxUSE_ALL_FEATURES
12431 if test -z "$defaultval"; then
12432 if test x"$enablestring" = xdisable; then
12433 defaultval=yes
12434 else
12435 defaultval=no
12436 fi
12437 fi
12438
12439 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
12440 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
12441 # Check whether --enable-numberdlg was given.
12442 if test "${enable_numberdlg+set}" = set; then
12443 enableval=$enable_numberdlg;
12444 if test "$enableval" = yes; then
12445 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
12446 else
12447 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
12448 fi
12449
12450 else
12451
12452 wx_cv_use_numberdlg='wxUSE_NUMBERDLG=${'DEFAULT_wxUSE_NUMBERDLG":-$defaultval}"
12453
12454 fi
12455
12456
12457 eval "$wx_cv_use_numberdlg"
12458
12459 if test x"$enablestring" = xdisable; then
12460 if test $wxUSE_NUMBERDLG = yes; then
12461 result=no
12462 else
12463 result=yes
12464 fi
12465 else
12466 result=$wxUSE_NUMBERDLG
12467 fi
12468
12469 { echo "$as_me:$LINENO: result: $result" >&5
12470 echo "${ECHO_T}$result" >&6; }
12471
12472
12473 enablestring=
12474 defaultval=$wxUSE_ALL_FEATURES
12475 if test -z "$defaultval"; then
12476 if test x"$enablestring" = xdisable; then
12477 defaultval=yes
12478 else
12479 defaultval=no
12480 fi
12481 fi
12482
12483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
12484 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
12485 # Check whether --enable-splash was given.
12486 if test "${enable_splash+set}" = set; then
12487 enableval=$enable_splash;
12488 if test "$enableval" = yes; then
12489 wx_cv_use_splash='wxUSE_SPLASH=yes'
12490 else
12491 wx_cv_use_splash='wxUSE_SPLASH=no'
12492 fi
12493
12494 else
12495
12496 wx_cv_use_splash='wxUSE_SPLASH=${'DEFAULT_wxUSE_SPLASH":-$defaultval}"
12497
12498 fi
12499
12500
12501 eval "$wx_cv_use_splash"
12502
12503 if test x"$enablestring" = xdisable; then
12504 if test $wxUSE_SPLASH = yes; then
12505 result=no
12506 else
12507 result=yes
12508 fi
12509 else
12510 result=$wxUSE_SPLASH
12511 fi
12512
12513 { echo "$as_me:$LINENO: result: $result" >&5
12514 echo "${ECHO_T}$result" >&6; }
12515
12516
12517 enablestring=
12518 defaultval=$wxUSE_ALL_FEATURES
12519 if test -z "$defaultval"; then
12520 if test x"$enablestring" = xdisable; then
12521 defaultval=yes
12522 else
12523 defaultval=no
12524 fi
12525 fi
12526
12527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
12528 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
12529 # Check whether --enable-textdlg was given.
12530 if test "${enable_textdlg+set}" = set; then
12531 enableval=$enable_textdlg;
12532 if test "$enableval" = yes; then
12533 wx_cv_use_textdlg='wxUSE_TEXTDLG=yes'
12534 else
12535 wx_cv_use_textdlg='wxUSE_TEXTDLG=no'
12536 fi
12537
12538 else
12539
12540 wx_cv_use_textdlg='wxUSE_TEXTDLG=${'DEFAULT_wxUSE_TEXTDLG":-$defaultval}"
12541
12542 fi
12543
12544
12545 eval "$wx_cv_use_textdlg"
12546
12547 if test x"$enablestring" = xdisable; then
12548 if test $wxUSE_TEXTDLG = yes; then
12549 result=no
12550 else
12551 result=yes
12552 fi
12553 else
12554 result=$wxUSE_TEXTDLG
12555 fi
12556
12557 { echo "$as_me:$LINENO: result: $result" >&5
12558 echo "${ECHO_T}$result" >&6; }
12559
12560
12561 enablestring=
12562 defaultval=$wxUSE_ALL_FEATURES
12563 if test -z "$defaultval"; then
12564 if test x"$enablestring" = xdisable; then
12565 defaultval=yes
12566 else
12567 defaultval=no
12568 fi
12569 fi
12570
12571 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
12572 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
12573 # Check whether --enable-tipdlg was given.
12574 if test "${enable_tipdlg+set}" = set; then
12575 enableval=$enable_tipdlg;
12576 if test "$enableval" = yes; then
12577 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
12578 else
12579 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
12580 fi
12581
12582 else
12583
12584 wx_cv_use_tipdlg='wxUSE_STARTUP_TIPS=${'DEFAULT_wxUSE_STARTUP_TIPS":-$defaultval}"
12585
12586 fi
12587
12588
12589 eval "$wx_cv_use_tipdlg"
12590
12591 if test x"$enablestring" = xdisable; then
12592 if test $wxUSE_STARTUP_TIPS = yes; then
12593 result=no
12594 else
12595 result=yes
12596 fi
12597 else
12598 result=$wxUSE_STARTUP_TIPS
12599 fi
12600
12601 { echo "$as_me:$LINENO: result: $result" >&5
12602 echo "${ECHO_T}$result" >&6; }
12603
12604
12605 enablestring=
12606 defaultval=$wxUSE_ALL_FEATURES
12607 if test -z "$defaultval"; then
12608 if test x"$enablestring" = xdisable; then
12609 defaultval=yes
12610 else
12611 defaultval=no
12612 fi
12613 fi
12614
12615 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
12616 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
12617 # Check whether --enable-progressdlg was given.
12618 if test "${enable_progressdlg+set}" = set; then
12619 enableval=$enable_progressdlg;
12620 if test "$enableval" = yes; then
12621 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
12622 else
12623 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
12624 fi
12625
12626 else
12627
12628 wx_cv_use_progressdlg='wxUSE_PROGRESSDLG=${'DEFAULT_wxUSE_PROGRESSDLG":-$defaultval}"
12629
12630 fi
12631
12632
12633 eval "$wx_cv_use_progressdlg"
12634
12635 if test x"$enablestring" = xdisable; then
12636 if test $wxUSE_PROGRESSDLG = yes; then
12637 result=no
12638 else
12639 result=yes
12640 fi
12641 else
12642 result=$wxUSE_PROGRESSDLG
12643 fi
12644
12645 { echo "$as_me:$LINENO: result: $result" >&5
12646 echo "${ECHO_T}$result" >&6; }
12647
12648
12649 enablestring=
12650 defaultval=$wxUSE_ALL_FEATURES
12651 if test -z "$defaultval"; then
12652 if test x"$enablestring" = xdisable; then
12653 defaultval=yes
12654 else
12655 defaultval=no
12656 fi
12657 fi
12658
12659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
12660 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
12661 # Check whether --enable-wizarddlg was given.
12662 if test "${enable_wizarddlg+set}" = set; then
12663 enableval=$enable_wizarddlg;
12664 if test "$enableval" = yes; then
12665 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
12666 else
12667 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
12668 fi
12669
12670 else
12671
12672 wx_cv_use_wizarddlg='wxUSE_WIZARDDLG=${'DEFAULT_wxUSE_WIZARDDLG":-$defaultval}"
12673
12674 fi
12675
12676
12677 eval "$wx_cv_use_wizarddlg"
12678
12679 if test x"$enablestring" = xdisable; then
12680 if test $wxUSE_WIZARDDLG = yes; then
12681 result=no
12682 else
12683 result=yes
12684 fi
12685 else
12686 result=$wxUSE_WIZARDDLG
12687 fi
12688
12689 { echo "$as_me:$LINENO: result: $result" >&5
12690 echo "${ECHO_T}$result" >&6; }
12691
12692
12693
12694
12695 enablestring=
12696 defaultval=$wxUSE_ALL_FEATURES
12697 if test -z "$defaultval"; then
12698 if test x"$enablestring" = xdisable; then
12699 defaultval=yes
12700 else
12701 defaultval=no
12702 fi
12703 fi
12704
12705 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
12706 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
12707 # Check whether --enable-menus was given.
12708 if test "${enable_menus+set}" = set; then
12709 enableval=$enable_menus;
12710 if test "$enableval" = yes; then
12711 wx_cv_use_menus='wxUSE_MENUS=yes'
12712 else
12713 wx_cv_use_menus='wxUSE_MENUS=no'
12714 fi
12715
12716 else
12717
12718 wx_cv_use_menus='wxUSE_MENUS=${'DEFAULT_wxUSE_MENUS":-$defaultval}"
12719
12720 fi
12721
12722
12723 eval "$wx_cv_use_menus"
12724
12725 if test x"$enablestring" = xdisable; then
12726 if test $wxUSE_MENUS = yes; then
12727 result=no
12728 else
12729 result=yes
12730 fi
12731 else
12732 result=$wxUSE_MENUS
12733 fi
12734
12735 { echo "$as_me:$LINENO: result: $result" >&5
12736 echo "${ECHO_T}$result" >&6; }
12737
12738
12739 enablestring=
12740 defaultval=$wxUSE_ALL_FEATURES
12741 if test -z "$defaultval"; then
12742 if test x"$enablestring" = xdisable; then
12743 defaultval=yes
12744 else
12745 defaultval=no
12746 fi
12747 fi
12748
12749 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
12750 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
12751 # Check whether --enable-miniframe was given.
12752 if test "${enable_miniframe+set}" = set; then
12753 enableval=$enable_miniframe;
12754 if test "$enableval" = yes; then
12755 wx_cv_use_miniframe='wxUSE_MINIFRAME=yes'
12756 else
12757 wx_cv_use_miniframe='wxUSE_MINIFRAME=no'
12758 fi
12759
12760 else
12761
12762 wx_cv_use_miniframe='wxUSE_MINIFRAME=${'DEFAULT_wxUSE_MINIFRAME":-$defaultval}"
12763
12764 fi
12765
12766
12767 eval "$wx_cv_use_miniframe"
12768
12769 if test x"$enablestring" = xdisable; then
12770 if test $wxUSE_MINIFRAME = yes; then
12771 result=no
12772 else
12773 result=yes
12774 fi
12775 else
12776 result=$wxUSE_MINIFRAME
12777 fi
12778
12779 { echo "$as_me:$LINENO: result: $result" >&5
12780 echo "${ECHO_T}$result" >&6; }
12781
12782
12783 enablestring=
12784 defaultval=$wxUSE_ALL_FEATURES
12785 if test -z "$defaultval"; then
12786 if test x"$enablestring" = xdisable; then
12787 defaultval=yes
12788 else
12789 defaultval=no
12790 fi
12791 fi
12792
12793 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
12794 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
12795 # Check whether --enable-tooltips was given.
12796 if test "${enable_tooltips+set}" = set; then
12797 enableval=$enable_tooltips;
12798 if test "$enableval" = yes; then
12799 wx_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
12800 else
12801 wx_cv_use_tooltips='wxUSE_TOOLTIPS=no'
12802 fi
12803
12804 else
12805
12806 wx_cv_use_tooltips='wxUSE_TOOLTIPS=${'DEFAULT_wxUSE_TOOLTIPS":-$defaultval}"
12807
12808 fi
12809
12810
12811 eval "$wx_cv_use_tooltips"
12812
12813 if test x"$enablestring" = xdisable; then
12814 if test $wxUSE_TOOLTIPS = yes; then
12815 result=no
12816 else
12817 result=yes
12818 fi
12819 else
12820 result=$wxUSE_TOOLTIPS
12821 fi
12822
12823 { echo "$as_me:$LINENO: result: $result" >&5
12824 echo "${ECHO_T}$result" >&6; }
12825
12826
12827 enablestring=
12828 defaultval=$wxUSE_ALL_FEATURES
12829 if test -z "$defaultval"; then
12830 if test x"$enablestring" = xdisable; then
12831 defaultval=yes
12832 else
12833 defaultval=no
12834 fi
12835 fi
12836
12837 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
12838 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
12839 # Check whether --enable-splines was given.
12840 if test "${enable_splines+set}" = set; then
12841 enableval=$enable_splines;
12842 if test "$enableval" = yes; then
12843 wx_cv_use_splines='wxUSE_SPLINES=yes'
12844 else
12845 wx_cv_use_splines='wxUSE_SPLINES=no'
12846 fi
12847
12848 else
12849
12850 wx_cv_use_splines='wxUSE_SPLINES=${'DEFAULT_wxUSE_SPLINES":-$defaultval}"
12851
12852 fi
12853
12854
12855 eval "$wx_cv_use_splines"
12856
12857 if test x"$enablestring" = xdisable; then
12858 if test $wxUSE_SPLINES = yes; then
12859 result=no
12860 else
12861 result=yes
12862 fi
12863 else
12864 result=$wxUSE_SPLINES
12865 fi
12866
12867 { echo "$as_me:$LINENO: result: $result" >&5
12868 echo "${ECHO_T}$result" >&6; }
12869
12870
12871 enablestring=
12872 defaultval=$wxUSE_ALL_FEATURES
12873 if test -z "$defaultval"; then
12874 if test x"$enablestring" = xdisable; then
12875 defaultval=yes
12876 else
12877 defaultval=no
12878 fi
12879 fi
12880
12881 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
12882 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
12883 # Check whether --enable-mousewheel was given.
12884 if test "${enable_mousewheel+set}" = set; then
12885 enableval=$enable_mousewheel;
12886 if test "$enableval" = yes; then
12887 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
12888 else
12889 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
12890 fi
12891
12892 else
12893
12894 wx_cv_use_mousewheel='wxUSE_MOUSEWHEEL=${'DEFAULT_wxUSE_MOUSEWHEEL":-$defaultval}"
12895
12896 fi
12897
12898
12899 eval "$wx_cv_use_mousewheel"
12900
12901 if test x"$enablestring" = xdisable; then
12902 if test $wxUSE_MOUSEWHEEL = yes; then
12903 result=no
12904 else
12905 result=yes
12906 fi
12907 else
12908 result=$wxUSE_MOUSEWHEEL
12909 fi
12910
12911 { echo "$as_me:$LINENO: result: $result" >&5
12912 echo "${ECHO_T}$result" >&6; }
12913
12914
12915 enablestring=
12916 defaultval=$wxUSE_ALL_FEATURES
12917 if test -z "$defaultval"; then
12918 if test x"$enablestring" = xdisable; then
12919 defaultval=yes
12920 else
12921 defaultval=no
12922 fi
12923 fi
12924
12925 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12926 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12927 # Check whether --enable-validators was given.
12928 if test "${enable_validators+set}" = set; then
12929 enableval=$enable_validators;
12930 if test "$enableval" = yes; then
12931 wx_cv_use_validators='wxUSE_VALIDATORS=yes'
12932 else
12933 wx_cv_use_validators='wxUSE_VALIDATORS=no'
12934 fi
12935
12936 else
12937
12938 wx_cv_use_validators='wxUSE_VALIDATORS=${'DEFAULT_wxUSE_VALIDATORS":-$defaultval}"
12939
12940 fi
12941
12942
12943 eval "$wx_cv_use_validators"
12944
12945 if test x"$enablestring" = xdisable; then
12946 if test $wxUSE_VALIDATORS = yes; then
12947 result=no
12948 else
12949 result=yes
12950 fi
12951 else
12952 result=$wxUSE_VALIDATORS
12953 fi
12954
12955 { echo "$as_me:$LINENO: result: $result" >&5
12956 echo "${ECHO_T}$result" >&6; }
12957
12958
12959 enablestring=
12960 defaultval=$wxUSE_ALL_FEATURES
12961 if test -z "$defaultval"; then
12962 if test x"$enablestring" = xdisable; then
12963 defaultval=yes
12964 else
12965 defaultval=no
12966 fi
12967 fi
12968
12969 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12970 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12971 # Check whether --enable-busyinfo was given.
12972 if test "${enable_busyinfo+set}" = set; then
12973 enableval=$enable_busyinfo;
12974 if test "$enableval" = yes; then
12975 wx_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12976 else
12977 wx_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12978 fi
12979
12980 else
12981
12982 wx_cv_use_busyinfo='wxUSE_BUSYINFO=${'DEFAULT_wxUSE_BUSYINFO":-$defaultval}"
12983
12984 fi
12985
12986
12987 eval "$wx_cv_use_busyinfo"
12988
12989 if test x"$enablestring" = xdisable; then
12990 if test $wxUSE_BUSYINFO = yes; then
12991 result=no
12992 else
12993 result=yes
12994 fi
12995 else
12996 result=$wxUSE_BUSYINFO
12997 fi
12998
12999 { echo "$as_me:$LINENO: result: $result" >&5
13000 echo "${ECHO_T}$result" >&6; }
13001
13002
13003 enablestring=
13004 defaultval=$wxUSE_ALL_FEATURES
13005 if test -z "$defaultval"; then
13006 if test x"$enablestring" = xdisable; then
13007 defaultval=yes
13008 else
13009 defaultval=no
13010 fi
13011 fi
13012
13013 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
13014 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
13015 # Check whether --enable-joystick was given.
13016 if test "${enable_joystick+set}" = set; then
13017 enableval=$enable_joystick;
13018 if test "$enableval" = yes; then
13019 wx_cv_use_joystick='wxUSE_JOYSTICK=yes'
13020 else
13021 wx_cv_use_joystick='wxUSE_JOYSTICK=no'
13022 fi
13023
13024 else
13025
13026 wx_cv_use_joystick='wxUSE_JOYSTICK=${'DEFAULT_wxUSE_JOYSTICK":-$defaultval}"
13027
13028 fi
13029
13030
13031 eval "$wx_cv_use_joystick"
13032
13033 if test x"$enablestring" = xdisable; then
13034 if test $wxUSE_JOYSTICK = yes; then
13035 result=no
13036 else
13037 result=yes
13038 fi
13039 else
13040 result=$wxUSE_JOYSTICK
13041 fi
13042
13043 { echo "$as_me:$LINENO: result: $result" >&5
13044 echo "${ECHO_T}$result" >&6; }
13045
13046
13047 enablestring=
13048 defaultval=$wxUSE_ALL_FEATURES
13049 if test -z "$defaultval"; then
13050 if test x"$enablestring" = xdisable; then
13051 defaultval=yes
13052 else
13053 defaultval=no
13054 fi
13055 fi
13056
13057 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
13058 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
13059 # Check whether --enable-metafile was given.
13060 if test "${enable_metafile+set}" = set; then
13061 enableval=$enable_metafile;
13062 if test "$enableval" = yes; then
13063 wx_cv_use_metafile='wxUSE_METAFILE=yes'
13064 else
13065 wx_cv_use_metafile='wxUSE_METAFILE=no'
13066 fi
13067
13068 else
13069
13070 wx_cv_use_metafile='wxUSE_METAFILE=${'DEFAULT_wxUSE_METAFILE":-$defaultval}"
13071
13072 fi
13073
13074
13075 eval "$wx_cv_use_metafile"
13076
13077 if test x"$enablestring" = xdisable; then
13078 if test $wxUSE_METAFILE = yes; then
13079 result=no
13080 else
13081 result=yes
13082 fi
13083 else
13084 result=$wxUSE_METAFILE
13085 fi
13086
13087 { echo "$as_me:$LINENO: result: $result" >&5
13088 echo "${ECHO_T}$result" >&6; }
13089
13090
13091 enablestring=
13092 defaultval=$wxUSE_ALL_FEATURES
13093 if test -z "$defaultval"; then
13094 if test x"$enablestring" = xdisable; then
13095 defaultval=yes
13096 else
13097 defaultval=no
13098 fi
13099 fi
13100
13101 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
13102 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
13103 # Check whether --enable-dragimage was given.
13104 if test "${enable_dragimage+set}" = set; then
13105 enableval=$enable_dragimage;
13106 if test "$enableval" = yes; then
13107 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
13108 else
13109 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
13110 fi
13111
13112 else
13113
13114 wx_cv_use_dragimage='wxUSE_DRAGIMAGE=${'DEFAULT_wxUSE_DRAGIMAGE":-$defaultval}"
13115
13116 fi
13117
13118
13119 eval "$wx_cv_use_dragimage"
13120
13121 if test x"$enablestring" = xdisable; then
13122 if test $wxUSE_DRAGIMAGE = yes; then
13123 result=no
13124 else
13125 result=yes
13126 fi
13127 else
13128 result=$wxUSE_DRAGIMAGE
13129 fi
13130
13131 { echo "$as_me:$LINENO: result: $result" >&5
13132 echo "${ECHO_T}$result" >&6; }
13133
13134
13135 enablestring=
13136 defaultval=$wxUSE_ALL_FEATURES
13137 if test -z "$defaultval"; then
13138 if test x"$enablestring" = xdisable; then
13139 defaultval=yes
13140 else
13141 defaultval=no
13142 fi
13143 fi
13144
13145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
13146 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
13147 # Check whether --enable-accessibility was given.
13148 if test "${enable_accessibility+set}" = set; then
13149 enableval=$enable_accessibility;
13150 if test "$enableval" = yes; then
13151 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
13152 else
13153 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
13154 fi
13155
13156 else
13157
13158 wx_cv_use_accessibility='wxUSE_ACCESSIBILITY=${'DEFAULT_wxUSE_ACCESSIBILITY":-$defaultval}"
13159
13160 fi
13161
13162
13163 eval "$wx_cv_use_accessibility"
13164
13165 if test x"$enablestring" = xdisable; then
13166 if test $wxUSE_ACCESSIBILITY = yes; then
13167 result=no
13168 else
13169 result=yes
13170 fi
13171 else
13172 result=$wxUSE_ACCESSIBILITY
13173 fi
13174
13175 { echo "$as_me:$LINENO: result: $result" >&5
13176 echo "${ECHO_T}$result" >&6; }
13177
13178
13179
13180
13181 enablestring=
13182 defaultval=$wxUSE_ALL_FEATURES
13183 if test -z "$defaultval"; then
13184 if test x"$enablestring" = xdisable; then
13185 defaultval=yes
13186 else
13187 defaultval=no
13188 fi
13189 fi
13190
13191 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
13192 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
13193 # Check whether --enable-palette was given.
13194 if test "${enable_palette+set}" = set; then
13195 enableval=$enable_palette;
13196 if test "$enableval" = yes; then
13197 wx_cv_use_palette='wxUSE_PALETTE=yes'
13198 else
13199 wx_cv_use_palette='wxUSE_PALETTE=no'
13200 fi
13201
13202 else
13203
13204 wx_cv_use_palette='wxUSE_PALETTE=${'DEFAULT_wxUSE_PALETTE":-$defaultval}"
13205
13206 fi
13207
13208
13209 eval "$wx_cv_use_palette"
13210
13211 if test x"$enablestring" = xdisable; then
13212 if test $wxUSE_PALETTE = yes; then
13213 result=no
13214 else
13215 result=yes
13216 fi
13217 else
13218 result=$wxUSE_PALETTE
13219 fi
13220
13221 { echo "$as_me:$LINENO: result: $result" >&5
13222 echo "${ECHO_T}$result" >&6; }
13223
13224
13225 enablestring=
13226 defaultval=$wxUSE_ALL_FEATURES
13227 if test -z "$defaultval"; then
13228 if test x"$enablestring" = xdisable; then
13229 defaultval=yes
13230 else
13231 defaultval=no
13232 fi
13233 fi
13234
13235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
13236 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
13237 # Check whether --enable-image was given.
13238 if test "${enable_image+set}" = set; then
13239 enableval=$enable_image;
13240 if test "$enableval" = yes; then
13241 wx_cv_use_image='wxUSE_IMAGE=yes'
13242 else
13243 wx_cv_use_image='wxUSE_IMAGE=no'
13244 fi
13245
13246 else
13247
13248 wx_cv_use_image='wxUSE_IMAGE=${'DEFAULT_wxUSE_IMAGE":-$defaultval}"
13249
13250 fi
13251
13252
13253 eval "$wx_cv_use_image"
13254
13255 if test x"$enablestring" = xdisable; then
13256 if test $wxUSE_IMAGE = yes; then
13257 result=no
13258 else
13259 result=yes
13260 fi
13261 else
13262 result=$wxUSE_IMAGE
13263 fi
13264
13265 { echo "$as_me:$LINENO: result: $result" >&5
13266 echo "${ECHO_T}$result" >&6; }
13267
13268
13269 enablestring=
13270 defaultval=$wxUSE_ALL_FEATURES
13271 if test -z "$defaultval"; then
13272 if test x"$enablestring" = xdisable; then
13273 defaultval=yes
13274 else
13275 defaultval=no
13276 fi
13277 fi
13278
13279 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
13280 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
13281 # Check whether --enable-gif was given.
13282 if test "${enable_gif+set}" = set; then
13283 enableval=$enable_gif;
13284 if test "$enableval" = yes; then
13285 wx_cv_use_gif='wxUSE_GIF=yes'
13286 else
13287 wx_cv_use_gif='wxUSE_GIF=no'
13288 fi
13289
13290 else
13291
13292 wx_cv_use_gif='wxUSE_GIF=${'DEFAULT_wxUSE_GIF":-$defaultval}"
13293
13294 fi
13295
13296
13297 eval "$wx_cv_use_gif"
13298
13299 if test x"$enablestring" = xdisable; then
13300 if test $wxUSE_GIF = yes; then
13301 result=no
13302 else
13303 result=yes
13304 fi
13305 else
13306 result=$wxUSE_GIF
13307 fi
13308
13309 { echo "$as_me:$LINENO: result: $result" >&5
13310 echo "${ECHO_T}$result" >&6; }
13311
13312
13313 enablestring=
13314 defaultval=$wxUSE_ALL_FEATURES
13315 if test -z "$defaultval"; then
13316 if test x"$enablestring" = xdisable; then
13317 defaultval=yes
13318 else
13319 defaultval=no
13320 fi
13321 fi
13322
13323 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
13324 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
13325 # Check whether --enable-pcx was given.
13326 if test "${enable_pcx+set}" = set; then
13327 enableval=$enable_pcx;
13328 if test "$enableval" = yes; then
13329 wx_cv_use_pcx='wxUSE_PCX=yes'
13330 else
13331 wx_cv_use_pcx='wxUSE_PCX=no'
13332 fi
13333
13334 else
13335
13336 wx_cv_use_pcx='wxUSE_PCX=${'DEFAULT_wxUSE_PCX":-$defaultval}"
13337
13338 fi
13339
13340
13341 eval "$wx_cv_use_pcx"
13342
13343 if test x"$enablestring" = xdisable; then
13344 if test $wxUSE_PCX = yes; then
13345 result=no
13346 else
13347 result=yes
13348 fi
13349 else
13350 result=$wxUSE_PCX
13351 fi
13352
13353 { echo "$as_me:$LINENO: result: $result" >&5
13354 echo "${ECHO_T}$result" >&6; }
13355
13356
13357 enablestring=
13358 defaultval=$wxUSE_ALL_FEATURES
13359 if test -z "$defaultval"; then
13360 if test x"$enablestring" = xdisable; then
13361 defaultval=yes
13362 else
13363 defaultval=no
13364 fi
13365 fi
13366
13367 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
13368 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
13369 # Check whether --enable-tga was given.
13370 if test "${enable_tga+set}" = set; then
13371 enableval=$enable_tga;
13372 if test "$enableval" = yes; then
13373 wx_cv_use_tga='wxUSE_TGA=yes'
13374 else
13375 wx_cv_use_tga='wxUSE_TGA=no'
13376 fi
13377
13378 else
13379
13380 wx_cv_use_tga='wxUSE_TGA=${'DEFAULT_wxUSE_TGA":-$defaultval}"
13381
13382 fi
13383
13384
13385 eval "$wx_cv_use_tga"
13386
13387 if test x"$enablestring" = xdisable; then
13388 if test $wxUSE_TGA = yes; then
13389 result=no
13390 else
13391 result=yes
13392 fi
13393 else
13394 result=$wxUSE_TGA
13395 fi
13396
13397 { echo "$as_me:$LINENO: result: $result" >&5
13398 echo "${ECHO_T}$result" >&6; }
13399
13400
13401 enablestring=
13402 defaultval=$wxUSE_ALL_FEATURES
13403 if test -z "$defaultval"; then
13404 if test x"$enablestring" = xdisable; then
13405 defaultval=yes
13406 else
13407 defaultval=no
13408 fi
13409 fi
13410
13411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
13412 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
13413 # Check whether --enable-iff was given.
13414 if test "${enable_iff+set}" = set; then
13415 enableval=$enable_iff;
13416 if test "$enableval" = yes; then
13417 wx_cv_use_iff='wxUSE_IFF=yes'
13418 else
13419 wx_cv_use_iff='wxUSE_IFF=no'
13420 fi
13421
13422 else
13423
13424 wx_cv_use_iff='wxUSE_IFF=${'DEFAULT_wxUSE_IFF":-$defaultval}"
13425
13426 fi
13427
13428
13429 eval "$wx_cv_use_iff"
13430
13431 if test x"$enablestring" = xdisable; then
13432 if test $wxUSE_IFF = yes; then
13433 result=no
13434 else
13435 result=yes
13436 fi
13437 else
13438 result=$wxUSE_IFF
13439 fi
13440
13441 { echo "$as_me:$LINENO: result: $result" >&5
13442 echo "${ECHO_T}$result" >&6; }
13443
13444
13445 enablestring=
13446 defaultval=$wxUSE_ALL_FEATURES
13447 if test -z "$defaultval"; then
13448 if test x"$enablestring" = xdisable; then
13449 defaultval=yes
13450 else
13451 defaultval=no
13452 fi
13453 fi
13454
13455 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
13456 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
13457 # Check whether --enable-pnm was given.
13458 if test "${enable_pnm+set}" = set; then
13459 enableval=$enable_pnm;
13460 if test "$enableval" = yes; then
13461 wx_cv_use_pnm='wxUSE_PNM=yes'
13462 else
13463 wx_cv_use_pnm='wxUSE_PNM=no'
13464 fi
13465
13466 else
13467
13468 wx_cv_use_pnm='wxUSE_PNM=${'DEFAULT_wxUSE_PNM":-$defaultval}"
13469
13470 fi
13471
13472
13473 eval "$wx_cv_use_pnm"
13474
13475 if test x"$enablestring" = xdisable; then
13476 if test $wxUSE_PNM = yes; then
13477 result=no
13478 else
13479 result=yes
13480 fi
13481 else
13482 result=$wxUSE_PNM
13483 fi
13484
13485 { echo "$as_me:$LINENO: result: $result" >&5
13486 echo "${ECHO_T}$result" >&6; }
13487
13488
13489 enablestring=
13490 defaultval=$wxUSE_ALL_FEATURES
13491 if test -z "$defaultval"; then
13492 if test x"$enablestring" = xdisable; then
13493 defaultval=yes
13494 else
13495 defaultval=no
13496 fi
13497 fi
13498
13499 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
13500 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
13501 # Check whether --enable-xpm was given.
13502 if test "${enable_xpm+set}" = set; then
13503 enableval=$enable_xpm;
13504 if test "$enableval" = yes; then
13505 wx_cv_use_xpm='wxUSE_XPM=yes'
13506 else
13507 wx_cv_use_xpm='wxUSE_XPM=no'
13508 fi
13509
13510 else
13511
13512 wx_cv_use_xpm='wxUSE_XPM=${'DEFAULT_wxUSE_XPM":-$defaultval}"
13513
13514 fi
13515
13516
13517 eval "$wx_cv_use_xpm"
13518
13519 if test x"$enablestring" = xdisable; then
13520 if test $wxUSE_XPM = yes; then
13521 result=no
13522 else
13523 result=yes
13524 fi
13525 else
13526 result=$wxUSE_XPM
13527 fi
13528
13529 { echo "$as_me:$LINENO: result: $result" >&5
13530 echo "${ECHO_T}$result" >&6; }
13531
13532
13533 enablestring=
13534 defaultval=$wxUSE_ALL_FEATURES
13535 if test -z "$defaultval"; then
13536 if test x"$enablestring" = xdisable; then
13537 defaultval=yes
13538 else
13539 defaultval=no
13540 fi
13541 fi
13542
13543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
13544 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
13545 # Check whether --enable-ico_cur was given.
13546 if test "${enable_ico_cur+set}" = set; then
13547 enableval=$enable_ico_cur;
13548 if test "$enableval" = yes; then
13549 wx_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
13550 else
13551 wx_cv_use_ico_cur='wxUSE_ICO_CUR=no'
13552 fi
13553
13554 else
13555
13556 wx_cv_use_ico_cur='wxUSE_ICO_CUR=${'DEFAULT_wxUSE_ICO_CUR":-$defaultval}"
13557
13558 fi
13559
13560
13561 eval "$wx_cv_use_ico_cur"
13562
13563 if test x"$enablestring" = xdisable; then
13564 if test $wxUSE_ICO_CUR = yes; then
13565 result=no
13566 else
13567 result=yes
13568 fi
13569 else
13570 result=$wxUSE_ICO_CUR
13571 fi
13572
13573 { echo "$as_me:$LINENO: result: $result" >&5
13574 echo "${ECHO_T}$result" >&6; }
13575
13576
13577
13578
13579 enablestring=
13580 defaultval=$wxUSE_ALL_FEATURES
13581 if test -z "$defaultval"; then
13582 if test x"$enablestring" = xdisable; then
13583 defaultval=yes
13584 else
13585 defaultval=no
13586 fi
13587 fi
13588
13589 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
13590 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
13591 # Check whether --enable-dccache was given.
13592 if test "${enable_dccache+set}" = set; then
13593 enableval=$enable_dccache;
13594 if test "$enableval" = yes; then
13595 wx_cv_use_dccache='wxUSE_DC_CACHEING=yes'
13596 else
13597 wx_cv_use_dccache='wxUSE_DC_CACHEING=no'
13598 fi
13599
13600 else
13601
13602 wx_cv_use_dccache='wxUSE_DC_CACHEING=${'DEFAULT_wxUSE_DC_CACHEING":-$defaultval}"
13603
13604 fi
13605
13606
13607 eval "$wx_cv_use_dccache"
13608
13609 if test x"$enablestring" = xdisable; then
13610 if test $wxUSE_DC_CACHEING = yes; then
13611 result=no
13612 else
13613 result=yes
13614 fi
13615 else
13616 result=$wxUSE_DC_CACHEING
13617 fi
13618
13619 { echo "$as_me:$LINENO: result: $result" >&5
13620 echo "${ECHO_T}$result" >&6; }
13621
13622
13623 enablestring=
13624 defaultval=$wxUSE_ALL_FEATURES
13625 if test -z "$defaultval"; then
13626 if test x"$enablestring" = xdisable; then
13627 defaultval=yes
13628 else
13629 defaultval=no
13630 fi
13631 fi
13632
13633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ps-in-msw" >&5
13634 echo $ECHO_N "checking for --${enablestring:-enable}-ps-in-msw... $ECHO_C" >&6; }
13635 # Check whether --enable-ps-in-msw was given.
13636 if test "${enable_ps_in_msw+set}" = set; then
13637 enableval=$enable_ps_in_msw;
13638 if test "$enableval" = yes; then
13639 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=yes'
13640 else
13641 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=no'
13642 fi
13643
13644 else
13645
13646 wx_cv_use_ps_in_msw='wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW=${'DEFAULT_wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW":-$defaultval}"
13647
13648 fi
13649
13650
13651 eval "$wx_cv_use_ps_in_msw"
13652
13653 if test x"$enablestring" = xdisable; then
13654 if test $wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW = yes; then
13655 result=no
13656 else
13657 result=yes
13658 fi
13659 else
13660 result=$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW
13661 fi
13662
13663 { echo "$as_me:$LINENO: result: $result" >&5
13664 echo "${ECHO_T}$result" >&6; }
13665
13666
13667 enablestring=
13668 defaultval=$wxUSE_ALL_FEATURES
13669 if test -z "$defaultval"; then
13670 if test x"$enablestring" = xdisable; then
13671 defaultval=yes
13672 else
13673 defaultval=no
13674 fi
13675 fi
13676
13677 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ownerdrawn" >&5
13678 echo $ECHO_N "checking for --${enablestring:-enable}-ownerdrawn... $ECHO_C" >&6; }
13679 # Check whether --enable-ownerdrawn was given.
13680 if test "${enable_ownerdrawn+set}" = set; then
13681 enableval=$enable_ownerdrawn;
13682 if test "$enableval" = yes; then
13683 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=yes'
13684 else
13685 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=no'
13686 fi
13687
13688 else
13689
13690 wx_cv_use_ownerdrawn='wxUSE_OWNER_DRAWN=${'DEFAULT_wxUSE_OWNER_DRAWN":-$defaultval}"
13691
13692 fi
13693
13694
13695 eval "$wx_cv_use_ownerdrawn"
13696
13697 if test x"$enablestring" = xdisable; then
13698 if test $wxUSE_OWNER_DRAWN = yes; then
13699 result=no
13700 else
13701 result=yes
13702 fi
13703 else
13704 result=$wxUSE_OWNER_DRAWN
13705 fi
13706
13707 { echo "$as_me:$LINENO: result: $result" >&5
13708 echo "${ECHO_T}$result" >&6; }
13709
13710
13711 enablestring=
13712 defaultval=$wxUSE_ALL_FEATURES
13713 if test -z "$defaultval"; then
13714 if test x"$enablestring" = xdisable; then
13715 defaultval=yes
13716 else
13717 defaultval=no
13718 fi
13719 fi
13720
13721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-uxtheme" >&5
13722 echo $ECHO_N "checking for --${enablestring:-enable}-uxtheme... $ECHO_C" >&6; }
13723 # Check whether --enable-uxtheme was given.
13724 if test "${enable_uxtheme+set}" = set; then
13725 enableval=$enable_uxtheme;
13726 if test "$enableval" = yes; then
13727 wx_cv_use_uxtheme='wxUSE_UXTHEME=yes'
13728 else
13729 wx_cv_use_uxtheme='wxUSE_UXTHEME=no'
13730 fi
13731
13732 else
13733
13734 wx_cv_use_uxtheme='wxUSE_UXTHEME=${'DEFAULT_wxUSE_UXTHEME":-$defaultval}"
13735
13736 fi
13737
13738
13739 eval "$wx_cv_use_uxtheme"
13740
13741 if test x"$enablestring" = xdisable; then
13742 if test $wxUSE_UXTHEME = yes; then
13743 result=no
13744 else
13745 result=yes
13746 fi
13747 else
13748 result=$wxUSE_UXTHEME
13749 fi
13750
13751 { echo "$as_me:$LINENO: result: $result" >&5
13752 echo "${ECHO_T}$result" >&6; }
13753
13754
13755 enablestring=
13756 defaultval=$wxUSE_ALL_FEATURES
13757 if test -z "$defaultval"; then
13758 if test x"$enablestring" = xdisable; then
13759 defaultval=yes
13760 else
13761 defaultval=no
13762 fi
13763 fi
13764
13765 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wxdib" >&5
13766 echo $ECHO_N "checking for --${enablestring:-enable}-wxdib... $ECHO_C" >&6; }
13767 # Check whether --enable-wxdib was given.
13768 if test "${enable_wxdib+set}" = set; then
13769 enableval=$enable_wxdib;
13770 if test "$enableval" = yes; then
13771 wx_cv_use_wxdib='wxUSE_DIB=yes'
13772 else
13773 wx_cv_use_wxdib='wxUSE_DIB=no'
13774 fi
13775
13776 else
13777
13778 wx_cv_use_wxdib='wxUSE_DIB=${'DEFAULT_wxUSE_DIB":-$defaultval}"
13779
13780 fi
13781
13782
13783 eval "$wx_cv_use_wxdib"
13784
13785 if test x"$enablestring" = xdisable; then
13786 if test $wxUSE_DIB = yes; then
13787 result=no
13788 else
13789 result=yes
13790 fi
13791 else
13792 result=$wxUSE_DIB
13793 fi
13794
13795 { echo "$as_me:$LINENO: result: $result" >&5
13796 echo "${ECHO_T}$result" >&6; }
13797
13798
13799 if test "$wxUSE_MSW" != 1; then
13800 DEFAULT_wxUSE_AUTOID_MANAGEMENT=no
13801 fi
13802
13803
13804 enablestring=
13805 defaultval=$wxUSE_ALL_FEATURES
13806 if test -z "$defaultval"; then
13807 if test x"$enablestring" = xdisable; then
13808 defaultval=yes
13809 else
13810 defaultval=no
13811 fi
13812 fi
13813
13814 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-autoidman" >&5
13815 echo $ECHO_N "checking for --${enablestring:-enable}-autoidman... $ECHO_C" >&6; }
13816 # Check whether --enable-autoidman was given.
13817 if test "${enable_autoidman+set}" = set; then
13818 enableval=$enable_autoidman;
13819 if test "$enableval" = yes; then
13820 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=yes'
13821 else
13822 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=no'
13823 fi
13824
13825 else
13826
13827 wx_cv_use_autoidman='wxUSE_AUTOID_MANAGEMENT=${'DEFAULT_wxUSE_AUTOID_MANAGEMENT":-$defaultval}"
13828
13829 fi
13830
13831
13832 eval "$wx_cv_use_autoidman"
13833
13834 if test x"$enablestring" = xdisable; then
13835 if test $wxUSE_AUTOID_MANAGEMENT = yes; then
13836 result=no
13837 else
13838 result=yes
13839 fi
13840 else
13841 result=$wxUSE_AUTOID_MANAGEMENT
13842 fi
13843
13844 { echo "$as_me:$LINENO: result: $result" >&5
13845 echo "${ECHO_T}$result" >&6; }
13846
13847
13848 fi
13849
13850
13851 cat >confcache <<\_ACEOF
13852 # This file is a shell script that caches the results of configure
13853 # tests run on this system so they can be shared between configure
13854 # scripts and configure runs, see configure's option --config-cache.
13855 # It is not useful on other systems. If it contains results you don't
13856 # want to keep, you may remove or edit it.
13857 #
13858 # config.status only pays attention to the cache file if you give it
13859 # the --recheck option to rerun configure.
13860 #
13861 # `ac_cv_env_foo' variables (set or unset) will be overridden when
13862 # loading this file, other *unset* `ac_cv_foo' will be assigned the
13863 # following values.
13864
13865 _ACEOF
13866
13867 # The following way of writing the cache mishandles newlines in values,
13868 # but we know of no workaround that is simple, portable, and efficient.
13869 # So, we kill variables containing newlines.
13870 # Ultrix sh set writes to stderr and can't be redirected directly,
13871 # and sets the high bit in the cache file unless we assign to the vars.
13872 (
13873 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
13874 eval ac_val=\$$ac_var
13875 case $ac_val in #(
13876 *${as_nl}*)
13877 case $ac_var in #(
13878 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
13879 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
13880 esac
13881 case $ac_var in #(
13882 _ | IFS | as_nl) ;; #(
13883 *) $as_unset $ac_var ;;
13884 esac ;;
13885 esac
13886 done
13887
13888 (set) 2>&1 |
13889 case $as_nl`(ac_space=' '; set) 2>&1` in #(
13890 *${as_nl}ac_space=\ *)
13891 # `set' does not quote correctly, so add quotes (double-quote
13892 # substitution turns \\\\ into \\, and sed turns \\ into \).
13893 sed -n \
13894 "s/'/'\\\\''/g;
13895 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
13896 ;; #(
13897 *)
13898 # `set' quotes correctly as required by POSIX, so do not add quotes.
13899 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
13900 ;;
13901 esac |
13902 sort
13903 ) |
13904 sed '
13905 /^ac_cv_env_/b end
13906 t clear
13907 :clear
13908 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
13909 t end
13910 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
13911 :end' >>confcache
13912 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
13913 if test -w "$cache_file"; then
13914 test "x$cache_file" != "x/dev/null" &&
13915 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
13916 echo "$as_me: updating cache $cache_file" >&6;}
13917 cat confcache >$cache_file
13918 else
13919 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
13920 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
13921 fi
13922 fi
13923 rm -f confcache
13924
13925 CFLAGS=${CFLAGS:=}
13926
13927
13928
13929 ac_ext=c
13930 ac_cpp='$CPP $CPPFLAGS'
13931 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13932 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13933 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13934 if test -n "$ac_tool_prefix"; then
13935 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
13936 set dummy ${ac_tool_prefix}gcc; ac_word=$2
13937 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13938 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13939 if test "${ac_cv_prog_CC+set}" = set; then
13940 echo $ECHO_N "(cached) $ECHO_C" >&6
13941 else
13942 if test -n "$CC"; then
13943 ac_cv_prog_CC="$CC" # Let the user override the test.
13944 else
13945 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13946 for as_dir in $PATH
13947 do
13948 IFS=$as_save_IFS
13949 test -z "$as_dir" && as_dir=.
13950 for ac_exec_ext in '' $ac_executable_extensions; do
13951 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13952 ac_cv_prog_CC="${ac_tool_prefix}gcc"
13953 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13954 break 2
13955 fi
13956 done
13957 done
13958 IFS=$as_save_IFS
13959
13960 fi
13961 fi
13962 CC=$ac_cv_prog_CC
13963 if test -n "$CC"; then
13964 { echo "$as_me:$LINENO: result: $CC" >&5
13965 echo "${ECHO_T}$CC" >&6; }
13966 else
13967 { echo "$as_me:$LINENO: result: no" >&5
13968 echo "${ECHO_T}no" >&6; }
13969 fi
13970
13971
13972 fi
13973 if test -z "$ac_cv_prog_CC"; then
13974 ac_ct_CC=$CC
13975 # Extract the first word of "gcc", so it can be a program name with args.
13976 set dummy gcc; ac_word=$2
13977 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13978 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13979 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13980 echo $ECHO_N "(cached) $ECHO_C" >&6
13981 else
13982 if test -n "$ac_ct_CC"; then
13983 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13984 else
13985 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13986 for as_dir in $PATH
13987 do
13988 IFS=$as_save_IFS
13989 test -z "$as_dir" && as_dir=.
13990 for ac_exec_ext in '' $ac_executable_extensions; do
13991 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13992 ac_cv_prog_ac_ct_CC="gcc"
13993 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13994 break 2
13995 fi
13996 done
13997 done
13998 IFS=$as_save_IFS
13999
14000 fi
14001 fi
14002 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14003 if test -n "$ac_ct_CC"; then
14004 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14005 echo "${ECHO_T}$ac_ct_CC" >&6; }
14006 else
14007 { echo "$as_me:$LINENO: result: no" >&5
14008 echo "${ECHO_T}no" >&6; }
14009 fi
14010
14011 if test "x$ac_ct_CC" = x; then
14012 CC=""
14013 else
14014 case $cross_compiling:$ac_tool_warned in
14015 yes:)
14016 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14017 whose name does not start with the host triplet. If you think this
14018 configuration is useful to you, please write to autoconf@gnu.org." >&5
14019 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14020 whose name does not start with the host triplet. If you think this
14021 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14022 ac_tool_warned=yes ;;
14023 esac
14024 CC=$ac_ct_CC
14025 fi
14026 else
14027 CC="$ac_cv_prog_CC"
14028 fi
14029
14030 if test -z "$CC"; then
14031 if test -n "$ac_tool_prefix"; then
14032 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
14033 set dummy ${ac_tool_prefix}cc; ac_word=$2
14034 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14035 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14036 if test "${ac_cv_prog_CC+set}" = set; then
14037 echo $ECHO_N "(cached) $ECHO_C" >&6
14038 else
14039 if test -n "$CC"; then
14040 ac_cv_prog_CC="$CC" # Let the user override the test.
14041 else
14042 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14043 for as_dir in $PATH
14044 do
14045 IFS=$as_save_IFS
14046 test -z "$as_dir" && as_dir=.
14047 for ac_exec_ext in '' $ac_executable_extensions; do
14048 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14049 ac_cv_prog_CC="${ac_tool_prefix}cc"
14050 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14051 break 2
14052 fi
14053 done
14054 done
14055 IFS=$as_save_IFS
14056
14057 fi
14058 fi
14059 CC=$ac_cv_prog_CC
14060 if test -n "$CC"; then
14061 { echo "$as_me:$LINENO: result: $CC" >&5
14062 echo "${ECHO_T}$CC" >&6; }
14063 else
14064 { echo "$as_me:$LINENO: result: no" >&5
14065 echo "${ECHO_T}no" >&6; }
14066 fi
14067
14068
14069 fi
14070 fi
14071 if test -z "$CC"; then
14072 # Extract the first word of "cc", so it can be a program name with args.
14073 set dummy cc; ac_word=$2
14074 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14075 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14076 if test "${ac_cv_prog_CC+set}" = set; then
14077 echo $ECHO_N "(cached) $ECHO_C" >&6
14078 else
14079 if test -n "$CC"; then
14080 ac_cv_prog_CC="$CC" # Let the user override the test.
14081 else
14082 ac_prog_rejected=no
14083 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14084 for as_dir in $PATH
14085 do
14086 IFS=$as_save_IFS
14087 test -z "$as_dir" && as_dir=.
14088 for ac_exec_ext in '' $ac_executable_extensions; do
14089 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14090 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
14091 ac_prog_rejected=yes
14092 continue
14093 fi
14094 ac_cv_prog_CC="cc"
14095 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14096 break 2
14097 fi
14098 done
14099 done
14100 IFS=$as_save_IFS
14101
14102 if test $ac_prog_rejected = yes; then
14103 # We found a bogon in the path, so make sure we never use it.
14104 set dummy $ac_cv_prog_CC
14105 shift
14106 if test $# != 0; then
14107 # We chose a different compiler from the bogus one.
14108 # However, it has the same basename, so the bogon will be chosen
14109 # first if we set CC to just the basename; use the full file name.
14110 shift
14111 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
14112 fi
14113 fi
14114 fi
14115 fi
14116 CC=$ac_cv_prog_CC
14117 if test -n "$CC"; then
14118 { echo "$as_me:$LINENO: result: $CC" >&5
14119 echo "${ECHO_T}$CC" >&6; }
14120 else
14121 { echo "$as_me:$LINENO: result: no" >&5
14122 echo "${ECHO_T}no" >&6; }
14123 fi
14124
14125
14126 fi
14127 if test -z "$CC"; then
14128 if test -n "$ac_tool_prefix"; then
14129 for ac_prog in cl.exe
14130 do
14131 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14132 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14133 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14134 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14135 if test "${ac_cv_prog_CC+set}" = set; then
14136 echo $ECHO_N "(cached) $ECHO_C" >&6
14137 else
14138 if test -n "$CC"; then
14139 ac_cv_prog_CC="$CC" # Let the user override the test.
14140 else
14141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14142 for as_dir in $PATH
14143 do
14144 IFS=$as_save_IFS
14145 test -z "$as_dir" && as_dir=.
14146 for ac_exec_ext in '' $ac_executable_extensions; do
14147 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14148 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
14149 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14150 break 2
14151 fi
14152 done
14153 done
14154 IFS=$as_save_IFS
14155
14156 fi
14157 fi
14158 CC=$ac_cv_prog_CC
14159 if test -n "$CC"; then
14160 { echo "$as_me:$LINENO: result: $CC" >&5
14161 echo "${ECHO_T}$CC" >&6; }
14162 else
14163 { echo "$as_me:$LINENO: result: no" >&5
14164 echo "${ECHO_T}no" >&6; }
14165 fi
14166
14167
14168 test -n "$CC" && break
14169 done
14170 fi
14171 if test -z "$CC"; then
14172 ac_ct_CC=$CC
14173 for ac_prog in cl.exe
14174 do
14175 # Extract the first word of "$ac_prog", so it can be a program name with args.
14176 set dummy $ac_prog; ac_word=$2
14177 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14178 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14179 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
14180 echo $ECHO_N "(cached) $ECHO_C" >&6
14181 else
14182 if test -n "$ac_ct_CC"; then
14183 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
14184 else
14185 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14186 for as_dir in $PATH
14187 do
14188 IFS=$as_save_IFS
14189 test -z "$as_dir" && as_dir=.
14190 for ac_exec_ext in '' $ac_executable_extensions; do
14191 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14192 ac_cv_prog_ac_ct_CC="$ac_prog"
14193 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14194 break 2
14195 fi
14196 done
14197 done
14198 IFS=$as_save_IFS
14199
14200 fi
14201 fi
14202 ac_ct_CC=$ac_cv_prog_ac_ct_CC
14203 if test -n "$ac_ct_CC"; then
14204 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
14205 echo "${ECHO_T}$ac_ct_CC" >&6; }
14206 else
14207 { echo "$as_me:$LINENO: result: no" >&5
14208 echo "${ECHO_T}no" >&6; }
14209 fi
14210
14211
14212 test -n "$ac_ct_CC" && break
14213 done
14214
14215 if test "x$ac_ct_CC" = x; then
14216 CC=""
14217 else
14218 case $cross_compiling:$ac_tool_warned in
14219 yes:)
14220 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
14221 whose name does not start with the host triplet. If you think this
14222 configuration is useful to you, please write to autoconf@gnu.org." >&5
14223 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
14224 whose name does not start with the host triplet. If you think this
14225 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
14226 ac_tool_warned=yes ;;
14227 esac
14228 CC=$ac_ct_CC
14229 fi
14230 fi
14231
14232 fi
14233
14234
14235 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
14236 See \`config.log' for more details." >&5
14237 echo "$as_me: error: no acceptable C compiler found in \$PATH
14238 See \`config.log' for more details." >&2;}
14239 { (exit 1); exit 1; }; }
14240
14241 # Provide some information about the compiler.
14242 echo "$as_me:$LINENO: checking for C compiler version" >&5
14243 ac_compiler=`set X $ac_compile; echo $2`
14244 { (ac_try="$ac_compiler --version >&5"
14245 case "(($ac_try" in
14246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14247 *) ac_try_echo=$ac_try;;
14248 esac
14249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14250 (eval "$ac_compiler --version >&5") 2>&5
14251 ac_status=$?
14252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14253 (exit $ac_status); }
14254 { (ac_try="$ac_compiler -v >&5"
14255 case "(($ac_try" in
14256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14257 *) ac_try_echo=$ac_try;;
14258 esac
14259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14260 (eval "$ac_compiler -v >&5") 2>&5
14261 ac_status=$?
14262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14263 (exit $ac_status); }
14264 { (ac_try="$ac_compiler -V >&5"
14265 case "(($ac_try" in
14266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14267 *) ac_try_echo=$ac_try;;
14268 esac
14269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14270 (eval "$ac_compiler -V >&5") 2>&5
14271 ac_status=$?
14272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14273 (exit $ac_status); }
14274
14275 cat >conftest.$ac_ext <<_ACEOF
14276 /* confdefs.h. */
14277 _ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14281
14282 int
14283 main ()
14284 {
14285
14286 ;
14287 return 0;
14288 }
14289 _ACEOF
14290 ac_clean_files_save=$ac_clean_files
14291 ac_clean_files="$ac_clean_files a.out a.exe b.out"
14292 # Try to create an executable without -o first, disregard a.out.
14293 # It will help us diagnose broken compilers, and finding out an intuition
14294 # of exeext.
14295 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
14296 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
14297 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
14298 #
14299 # List of possible output files, starting from the most likely.
14300 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
14301 # only as a last resort. b.out is created by i960 compilers.
14302 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
14303 #
14304 # The IRIX 6 linker writes into existing files which may not be
14305 # executable, retaining their permissions. Remove them first so a
14306 # subsequent execution test works.
14307 ac_rmfiles=
14308 for ac_file in $ac_files
14309 do
14310 case $ac_file in
14311 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14312 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
14313 esac
14314 done
14315 rm -f $ac_rmfiles
14316
14317 if { (ac_try="$ac_link_default"
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_link_default") 2>&5
14324 ac_status=$?
14325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14326 (exit $ac_status); }; then
14327 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
14328 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
14329 # in a Makefile. We should not override ac_cv_exeext if it was cached,
14330 # so that the user can short-circuit this test for compilers unknown to
14331 # Autoconf.
14332 for ac_file in $ac_files ''
14333 do
14334 test -f "$ac_file" || continue
14335 case $ac_file in
14336 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
14337 ;;
14338 [ab].out )
14339 # We found the default executable, but exeext='' is most
14340 # certainly right.
14341 break;;
14342 *.* )
14343 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
14344 then :; else
14345 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14346 fi
14347 # We set ac_cv_exeext here because the later test for it is not
14348 # safe: cross compilers may not add the suffix if given an `-o'
14349 # argument, so we may need to know it at that point already.
14350 # Even if this section looks crufty: it has the advantage of
14351 # actually working.
14352 break;;
14353 * )
14354 break;;
14355 esac
14356 done
14357 test "$ac_cv_exeext" = no && ac_cv_exeext=
14358
14359 else
14360 ac_file=''
14361 fi
14362
14363 { echo "$as_me:$LINENO: result: $ac_file" >&5
14364 echo "${ECHO_T}$ac_file" >&6; }
14365 if test -z "$ac_file"; then
14366 echo "$as_me: failed program was:" >&5
14367 sed 's/^/| /' conftest.$ac_ext >&5
14368
14369 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
14370 See \`config.log' for more details." >&5
14371 echo "$as_me: error: C compiler cannot create executables
14372 See \`config.log' for more details." >&2;}
14373 { (exit 77); exit 77; }; }
14374 fi
14375
14376 ac_exeext=$ac_cv_exeext
14377
14378 # Check that the compiler produces executables we can run. If not, either
14379 # the compiler is broken, or we cross compile.
14380 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
14381 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
14382 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
14383 # If not cross compiling, check that we can run a simple program.
14384 if test "$cross_compiling" != yes; then
14385 if { ac_try='./$ac_file'
14386 { (case "(($ac_try" in
14387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14388 *) ac_try_echo=$ac_try;;
14389 esac
14390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14391 (eval "$ac_try") 2>&5
14392 ac_status=$?
14393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14394 (exit $ac_status); }; }; then
14395 cross_compiling=no
14396 else
14397 if test "$cross_compiling" = maybe; then
14398 cross_compiling=yes
14399 else
14400 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
14401 If you meant to cross compile, use \`--host'.
14402 See \`config.log' for more details." >&5
14403 echo "$as_me: error: cannot run C compiled programs.
14404 If you meant to cross compile, use \`--host'.
14405 See \`config.log' for more details." >&2;}
14406 { (exit 1); exit 1; }; }
14407 fi
14408 fi
14409 fi
14410 { echo "$as_me:$LINENO: result: yes" >&5
14411 echo "${ECHO_T}yes" >&6; }
14412
14413 rm -f a.out a.exe conftest$ac_cv_exeext b.out
14414 ac_clean_files=$ac_clean_files_save
14415 # Check that the compiler produces executables we can run. If not, either
14416 # the compiler is broken, or we cross compile.
14417 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
14418 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
14419 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
14420 echo "${ECHO_T}$cross_compiling" >&6; }
14421
14422 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
14423 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
14424 if { (ac_try="$ac_link"
14425 case "(($ac_try" in
14426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14427 *) ac_try_echo=$ac_try;;
14428 esac
14429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14430 (eval "$ac_link") 2>&5
14431 ac_status=$?
14432 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14433 (exit $ac_status); }; then
14434 # If both `conftest.exe' and `conftest' are `present' (well, observable)
14435 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
14436 # work properly (i.e., refer to `conftest.exe'), while it won't with
14437 # `rm'.
14438 for ac_file in conftest.exe conftest conftest.*; do
14439 test -f "$ac_file" || continue
14440 case $ac_file in
14441 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
14442 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
14443 break;;
14444 * ) break;;
14445 esac
14446 done
14447 else
14448 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
14449 See \`config.log' for more details." >&5
14450 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
14451 See \`config.log' for more details." >&2;}
14452 { (exit 1); exit 1; }; }
14453 fi
14454
14455 rm -f conftest$ac_cv_exeext
14456 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
14457 echo "${ECHO_T}$ac_cv_exeext" >&6; }
14458
14459 rm -f conftest.$ac_ext
14460 EXEEXT=$ac_cv_exeext
14461 ac_exeext=$EXEEXT
14462 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
14463 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
14464 if test "${ac_cv_objext+set}" = set; then
14465 echo $ECHO_N "(cached) $ECHO_C" >&6
14466 else
14467 cat >conftest.$ac_ext <<_ACEOF
14468 /* confdefs.h. */
14469 _ACEOF
14470 cat confdefs.h >>conftest.$ac_ext
14471 cat >>conftest.$ac_ext <<_ACEOF
14472 /* end confdefs.h. */
14473
14474 int
14475 main ()
14476 {
14477
14478 ;
14479 return 0;
14480 }
14481 _ACEOF
14482 rm -f conftest.o conftest.obj
14483 if { (ac_try="$ac_compile"
14484 case "(($ac_try" in
14485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14486 *) ac_try_echo=$ac_try;;
14487 esac
14488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14489 (eval "$ac_compile") 2>&5
14490 ac_status=$?
14491 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14492 (exit $ac_status); }; then
14493 for ac_file in conftest.o conftest.obj conftest.*; do
14494 test -f "$ac_file" || continue;
14495 case $ac_file in
14496 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
14497 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
14498 break;;
14499 esac
14500 done
14501 else
14502 echo "$as_me: failed program was:" >&5
14503 sed 's/^/| /' conftest.$ac_ext >&5
14504
14505 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
14506 See \`config.log' for more details." >&5
14507 echo "$as_me: error: cannot compute suffix of object files: cannot compile
14508 See \`config.log' for more details." >&2;}
14509 { (exit 1); exit 1; }; }
14510 fi
14511
14512 rm -f conftest.$ac_cv_objext conftest.$ac_ext
14513 fi
14514 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
14515 echo "${ECHO_T}$ac_cv_objext" >&6; }
14516 OBJEXT=$ac_cv_objext
14517 ac_objext=$OBJEXT
14518 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
14519 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
14520 if test "${ac_cv_c_compiler_gnu+set}" = set; then
14521 echo $ECHO_N "(cached) $ECHO_C" >&6
14522 else
14523 cat >conftest.$ac_ext <<_ACEOF
14524 /* confdefs.h. */
14525 _ACEOF
14526 cat confdefs.h >>conftest.$ac_ext
14527 cat >>conftest.$ac_ext <<_ACEOF
14528 /* end confdefs.h. */
14529
14530 int
14531 main ()
14532 {
14533 #ifndef __GNUC__
14534 choke me
14535 #endif
14536
14537 ;
14538 return 0;
14539 }
14540 _ACEOF
14541 rm -f conftest.$ac_objext
14542 if { (ac_try="$ac_compile"
14543 case "(($ac_try" in
14544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14545 *) ac_try_echo=$ac_try;;
14546 esac
14547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14548 (eval "$ac_compile") 2>conftest.er1
14549 ac_status=$?
14550 grep -v '^ *+' conftest.er1 >conftest.err
14551 rm -f conftest.er1
14552 cat conftest.err >&5
14553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14554 (exit $ac_status); } && {
14555 test -z "$ac_c_werror_flag" ||
14556 test ! -s conftest.err
14557 } && test -s conftest.$ac_objext; then
14558 ac_compiler_gnu=yes
14559 else
14560 echo "$as_me: failed program was:" >&5
14561 sed 's/^/| /' conftest.$ac_ext >&5
14562
14563 ac_compiler_gnu=no
14564 fi
14565
14566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14567 ac_cv_c_compiler_gnu=$ac_compiler_gnu
14568
14569 fi
14570 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
14571 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
14572 GCC=`test $ac_compiler_gnu = yes && echo yes`
14573 ac_test_CFLAGS=${CFLAGS+set}
14574 ac_save_CFLAGS=$CFLAGS
14575 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14576 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14577 if test "${ac_cv_prog_cc_g+set}" = set; then
14578 echo $ECHO_N "(cached) $ECHO_C" >&6
14579 else
14580 ac_save_c_werror_flag=$ac_c_werror_flag
14581 ac_c_werror_flag=yes
14582 ac_cv_prog_cc_g=no
14583 CFLAGS="-g"
14584 cat >conftest.$ac_ext <<_ACEOF
14585 /* confdefs.h. */
14586 _ACEOF
14587 cat confdefs.h >>conftest.$ac_ext
14588 cat >>conftest.$ac_ext <<_ACEOF
14589 /* end confdefs.h. */
14590
14591 int
14592 main ()
14593 {
14594
14595 ;
14596 return 0;
14597 }
14598 _ACEOF
14599 rm -f conftest.$ac_objext
14600 if { (ac_try="$ac_compile"
14601 case "(($ac_try" in
14602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14603 *) ac_try_echo=$ac_try;;
14604 esac
14605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14606 (eval "$ac_compile") 2>conftest.er1
14607 ac_status=$?
14608 grep -v '^ *+' conftest.er1 >conftest.err
14609 rm -f conftest.er1
14610 cat conftest.err >&5
14611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14612 (exit $ac_status); } && {
14613 test -z "$ac_c_werror_flag" ||
14614 test ! -s conftest.err
14615 } && test -s conftest.$ac_objext; then
14616 ac_cv_prog_cc_g=yes
14617 else
14618 echo "$as_me: failed program was:" >&5
14619 sed 's/^/| /' conftest.$ac_ext >&5
14620
14621 CFLAGS=""
14622 cat >conftest.$ac_ext <<_ACEOF
14623 /* confdefs.h. */
14624 _ACEOF
14625 cat confdefs.h >>conftest.$ac_ext
14626 cat >>conftest.$ac_ext <<_ACEOF
14627 /* end confdefs.h. */
14628
14629 int
14630 main ()
14631 {
14632
14633 ;
14634 return 0;
14635 }
14636 _ACEOF
14637 rm -f conftest.$ac_objext
14638 if { (ac_try="$ac_compile"
14639 case "(($ac_try" in
14640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14641 *) ac_try_echo=$ac_try;;
14642 esac
14643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14644 (eval "$ac_compile") 2>conftest.er1
14645 ac_status=$?
14646 grep -v '^ *+' conftest.er1 >conftest.err
14647 rm -f conftest.er1
14648 cat conftest.err >&5
14649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14650 (exit $ac_status); } && {
14651 test -z "$ac_c_werror_flag" ||
14652 test ! -s conftest.err
14653 } && test -s conftest.$ac_objext; then
14654 :
14655 else
14656 echo "$as_me: failed program was:" >&5
14657 sed 's/^/| /' conftest.$ac_ext >&5
14658
14659 ac_c_werror_flag=$ac_save_c_werror_flag
14660 CFLAGS="-g"
14661 cat >conftest.$ac_ext <<_ACEOF
14662 /* confdefs.h. */
14663 _ACEOF
14664 cat confdefs.h >>conftest.$ac_ext
14665 cat >>conftest.$ac_ext <<_ACEOF
14666 /* end confdefs.h. */
14667
14668 int
14669 main ()
14670 {
14671
14672 ;
14673 return 0;
14674 }
14675 _ACEOF
14676 rm -f conftest.$ac_objext
14677 if { (ac_try="$ac_compile"
14678 case "(($ac_try" in
14679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14680 *) ac_try_echo=$ac_try;;
14681 esac
14682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14683 (eval "$ac_compile") 2>conftest.er1
14684 ac_status=$?
14685 grep -v '^ *+' conftest.er1 >conftest.err
14686 rm -f conftest.er1
14687 cat conftest.err >&5
14688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14689 (exit $ac_status); } && {
14690 test -z "$ac_c_werror_flag" ||
14691 test ! -s conftest.err
14692 } && test -s conftest.$ac_objext; then
14693 ac_cv_prog_cc_g=yes
14694 else
14695 echo "$as_me: failed program was:" >&5
14696 sed 's/^/| /' conftest.$ac_ext >&5
14697
14698
14699 fi
14700
14701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14702 fi
14703
14704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14705 fi
14706
14707 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14708 ac_c_werror_flag=$ac_save_c_werror_flag
14709 fi
14710 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14711 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14712 if test "$ac_test_CFLAGS" = set; then
14713 CFLAGS=$ac_save_CFLAGS
14714 elif test $ac_cv_prog_cc_g = yes; then
14715 if test "$GCC" = yes; then
14716 CFLAGS="-g -O2"
14717 else
14718 CFLAGS="-g"
14719 fi
14720 else
14721 if test "$GCC" = yes; then
14722 CFLAGS="-O2"
14723 else
14724 CFLAGS=
14725 fi
14726 fi
14727 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
14728 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
14729 if test "${ac_cv_prog_cc_c89+set}" = set; then
14730 echo $ECHO_N "(cached) $ECHO_C" >&6
14731 else
14732 ac_cv_prog_cc_c89=no
14733 ac_save_CC=$CC
14734 cat >conftest.$ac_ext <<_ACEOF
14735 /* confdefs.h. */
14736 _ACEOF
14737 cat confdefs.h >>conftest.$ac_ext
14738 cat >>conftest.$ac_ext <<_ACEOF
14739 /* end confdefs.h. */
14740 #include <stdarg.h>
14741 #include <stdio.h>
14742 #include <sys/types.h>
14743 #include <sys/stat.h>
14744 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
14745 struct buf { int x; };
14746 FILE * (*rcsopen) (struct buf *, struct stat *, int);
14747 static char *e (p, i)
14748 char **p;
14749 int i;
14750 {
14751 return p[i];
14752 }
14753 static char *f (char * (*g) (char **, int), char **p, ...)
14754 {
14755 char *s;
14756 va_list v;
14757 va_start (v,p);
14758 s = g (p, va_arg (v,int));
14759 va_end (v);
14760 return s;
14761 }
14762
14763 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
14764 function prototypes and stuff, but not '\xHH' hex character constants.
14765 These don't provoke an error unfortunately, instead are silently treated
14766 as 'x'. The following induces an error, until -std is added to get
14767 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
14768 array size at least. It's necessary to write '\x00'==0 to get something
14769 that's true only with -std. */
14770 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
14771
14772 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
14773 inside strings and character constants. */
14774 #define FOO(x) 'x'
14775 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
14776
14777 int test (int i, double x);
14778 struct s1 {int (*f) (int a);};
14779 struct s2 {int (*f) (double a);};
14780 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
14781 int argc;
14782 char **argv;
14783 int
14784 main ()
14785 {
14786 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
14787 ;
14788 return 0;
14789 }
14790 _ACEOF
14791 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
14792 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
14793 do
14794 CC="$ac_save_CC $ac_arg"
14795 rm -f conftest.$ac_objext
14796 if { (ac_try="$ac_compile"
14797 case "(($ac_try" in
14798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14799 *) ac_try_echo=$ac_try;;
14800 esac
14801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14802 (eval "$ac_compile") 2>conftest.er1
14803 ac_status=$?
14804 grep -v '^ *+' conftest.er1 >conftest.err
14805 rm -f conftest.er1
14806 cat conftest.err >&5
14807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14808 (exit $ac_status); } && {
14809 test -z "$ac_c_werror_flag" ||
14810 test ! -s conftest.err
14811 } && test -s conftest.$ac_objext; then
14812 ac_cv_prog_cc_c89=$ac_arg
14813 else
14814 echo "$as_me: failed program was:" >&5
14815 sed 's/^/| /' conftest.$ac_ext >&5
14816
14817
14818 fi
14819
14820 rm -f core conftest.err conftest.$ac_objext
14821 test "x$ac_cv_prog_cc_c89" != "xno" && break
14822 done
14823 rm -f conftest.$ac_ext
14824 CC=$ac_save_CC
14825
14826 fi
14827 # AC_CACHE_VAL
14828 case "x$ac_cv_prog_cc_c89" in
14829 x)
14830 { echo "$as_me:$LINENO: result: none needed" >&5
14831 echo "${ECHO_T}none needed" >&6; } ;;
14832 xno)
14833 { echo "$as_me:$LINENO: result: unsupported" >&5
14834 echo "${ECHO_T}unsupported" >&6; } ;;
14835 *)
14836 CC="$CC $ac_cv_prog_cc_c89"
14837 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
14838 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
14839 esac
14840
14841
14842 ac_ext=c
14843 ac_cpp='$CPP $CPPFLAGS'
14844 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14845 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14846 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14847
14848
14849
14850
14851 ac_ext=c
14852 ac_cpp='$CPP $CPPFLAGS'
14853 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14854 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14855 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14856
14857 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
14858 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
14859 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
14860 echo $ECHO_N "(cached) $ECHO_C" >&6
14861 else
14862 cat >conftest.$ac_ext <<_ACEOF
14863 /* confdefs.h. */
14864 _ACEOF
14865 cat confdefs.h >>conftest.$ac_ext
14866 cat >>conftest.$ac_ext <<_ACEOF
14867 /* end confdefs.h. */
14868
14869 int
14870 main ()
14871 {
14872
14873 #ifndef __INTEL_COMPILER
14874 choke me
14875 #endif
14876
14877 ;
14878 return 0;
14879 }
14880 _ACEOF
14881 rm -f conftest.$ac_objext
14882 if { (ac_try="$ac_compile"
14883 case "(($ac_try" in
14884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14885 *) ac_try_echo=$ac_try;;
14886 esac
14887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14888 (eval "$ac_compile") 2>conftest.er1
14889 ac_status=$?
14890 grep -v '^ *+' conftest.er1 >conftest.err
14891 rm -f conftest.er1
14892 cat conftest.err >&5
14893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14894 (exit $ac_status); } && {
14895 test -z "$ac_c_werror_flag" ||
14896 test ! -s conftest.err
14897 } && test -s conftest.$ac_objext; then
14898 bakefile_cv_c_compiler___INTEL_COMPILER=yes
14899 else
14900 echo "$as_me: failed program was:" >&5
14901 sed 's/^/| /' conftest.$ac_ext >&5
14902
14903 bakefile_cv_c_compiler___INTEL_COMPILER=no
14904
14905 fi
14906
14907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14908
14909
14910 fi
14911 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
14912 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
14913 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
14914 :; INTELCC=yes
14915 else
14916 :;
14917 fi
14918 ac_ext=c
14919 ac_cpp='$CPP $CPPFLAGS'
14920 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14921 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14922 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14923
14924
14925
14926
14927 if test "x$GCC" != "xyes"; then
14928 if test "xCC" = "xC"; then
14929 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
14930 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
14931 if test "${bakefile_cv_c_exto+set}" = set; then
14932 echo $ECHO_N "(cached) $ECHO_C" >&6
14933 else
14934 cat >conftest.$ac_ext <<_ACEOF
14935 /* confdefs.h. */
14936 _ACEOF
14937 cat confdefs.h >>conftest.$ac_ext
14938 cat >>conftest.$ac_ext <<_ACEOF
14939 /* end confdefs.h. */
14940
14941 int
14942 main ()
14943 {
14944
14945 ;
14946 return 0;
14947 }
14948 _ACEOF
14949 rm -f conftest.$ac_objext conftest.$ac_ext.o
14950 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
14951 (eval $ac_compile) 2>&5
14952 ac_status=$?
14953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14954 (exit $ac_status); }; then
14955 for ac_file in `(ls conftest.* 2>/dev/null)`; do
14956 case $ac_file in
14957 conftest.$ac_ext.o)
14958 bakefile_cv_c_exto="-ext o"
14959 ;;
14960 *)
14961 ;;
14962 esac
14963 done
14964 else
14965 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
14966 See \`config.log' for more details." >&5
14967 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
14968 See \`config.log' for more details." >&2;}
14969 { (exit 1); exit 1; }; }
14970
14971 fi
14972
14973 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
14974
14975 fi
14976 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
14977 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
14978 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14979 if test "c" = "c"; then
14980 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
14981 fi
14982 if test "c" = "cxx"; then
14983 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
14984 fi
14985 fi
14986
14987 if test "x$bakefile_cv_c_exto" '!=' "x"; then
14988 unset ac_cv_prog_cc_g
14989 ac_test_CFLAGS=${CFLAGS+set}
14990 ac_save_CFLAGS=$CFLAGS
14991 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
14992 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
14993 if test "${ac_cv_prog_cc_g+set}" = set; then
14994 echo $ECHO_N "(cached) $ECHO_C" >&6
14995 else
14996 ac_save_c_werror_flag=$ac_c_werror_flag
14997 ac_c_werror_flag=yes
14998 ac_cv_prog_cc_g=no
14999 CFLAGS="-g"
15000 cat >conftest.$ac_ext <<_ACEOF
15001 /* confdefs.h. */
15002 _ACEOF
15003 cat confdefs.h >>conftest.$ac_ext
15004 cat >>conftest.$ac_ext <<_ACEOF
15005 /* end confdefs.h. */
15006
15007 int
15008 main ()
15009 {
15010
15011 ;
15012 return 0;
15013 }
15014 _ACEOF
15015 rm -f conftest.$ac_objext
15016 if { (ac_try="$ac_compile"
15017 case "(($ac_try" in
15018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15019 *) ac_try_echo=$ac_try;;
15020 esac
15021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15022 (eval "$ac_compile") 2>conftest.er1
15023 ac_status=$?
15024 grep -v '^ *+' conftest.er1 >conftest.err
15025 rm -f conftest.er1
15026 cat conftest.err >&5
15027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15028 (exit $ac_status); } && {
15029 test -z "$ac_c_werror_flag" ||
15030 test ! -s conftest.err
15031 } && test -s conftest.$ac_objext; then
15032 ac_cv_prog_cc_g=yes
15033 else
15034 echo "$as_me: failed program was:" >&5
15035 sed 's/^/| /' conftest.$ac_ext >&5
15036
15037 CFLAGS=""
15038 cat >conftest.$ac_ext <<_ACEOF
15039 /* confdefs.h. */
15040 _ACEOF
15041 cat confdefs.h >>conftest.$ac_ext
15042 cat >>conftest.$ac_ext <<_ACEOF
15043 /* end confdefs.h. */
15044
15045 int
15046 main ()
15047 {
15048
15049 ;
15050 return 0;
15051 }
15052 _ACEOF
15053 rm -f conftest.$ac_objext
15054 if { (ac_try="$ac_compile"
15055 case "(($ac_try" in
15056 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15057 *) ac_try_echo=$ac_try;;
15058 esac
15059 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15060 (eval "$ac_compile") 2>conftest.er1
15061 ac_status=$?
15062 grep -v '^ *+' conftest.er1 >conftest.err
15063 rm -f conftest.er1
15064 cat conftest.err >&5
15065 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15066 (exit $ac_status); } && {
15067 test -z "$ac_c_werror_flag" ||
15068 test ! -s conftest.err
15069 } && test -s conftest.$ac_objext; then
15070 :
15071 else
15072 echo "$as_me: failed program was:" >&5
15073 sed 's/^/| /' conftest.$ac_ext >&5
15074
15075 ac_c_werror_flag=$ac_save_c_werror_flag
15076 CFLAGS="-g"
15077 cat >conftest.$ac_ext <<_ACEOF
15078 /* confdefs.h. */
15079 _ACEOF
15080 cat confdefs.h >>conftest.$ac_ext
15081 cat >>conftest.$ac_ext <<_ACEOF
15082 /* end confdefs.h. */
15083
15084 int
15085 main ()
15086 {
15087
15088 ;
15089 return 0;
15090 }
15091 _ACEOF
15092 rm -f conftest.$ac_objext
15093 if { (ac_try="$ac_compile"
15094 case "(($ac_try" in
15095 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15096 *) ac_try_echo=$ac_try;;
15097 esac
15098 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15099 (eval "$ac_compile") 2>conftest.er1
15100 ac_status=$?
15101 grep -v '^ *+' conftest.er1 >conftest.err
15102 rm -f conftest.er1
15103 cat conftest.err >&5
15104 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15105 (exit $ac_status); } && {
15106 test -z "$ac_c_werror_flag" ||
15107 test ! -s conftest.err
15108 } && test -s conftest.$ac_objext; then
15109 ac_cv_prog_cc_g=yes
15110 else
15111 echo "$as_me: failed program was:" >&5
15112 sed 's/^/| /' conftest.$ac_ext >&5
15113
15114
15115 fi
15116
15117 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15118 fi
15119
15120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 fi
15122
15123 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15124 ac_c_werror_flag=$ac_save_c_werror_flag
15125 fi
15126 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15127 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15128 if test "$ac_test_CFLAGS" = set; then
15129 CFLAGS=$ac_save_CFLAGS
15130 elif test $ac_cv_prog_cc_g = yes; then
15131 if test "$GCC" = yes; then
15132 CFLAGS="-g -O2"
15133 else
15134 CFLAGS="-g"
15135 fi
15136 else
15137 if test "$GCC" = yes; then
15138 CFLAGS="-O2"
15139 else
15140 CFLAGS=
15141 fi
15142 fi
15143 fi
15144 fi
15145
15146 case `uname -s` in
15147 AIX*)
15148
15149
15150 ac_ext=c
15151 ac_cpp='$CPP $CPPFLAGS'
15152 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15153 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15154 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15155
15156 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15157 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15158 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15159 echo $ECHO_N "(cached) $ECHO_C" >&6
15160 else
15161 cat >conftest.$ac_ext <<_ACEOF
15162 /* confdefs.h. */
15163 _ACEOF
15164 cat confdefs.h >>conftest.$ac_ext
15165 cat >>conftest.$ac_ext <<_ACEOF
15166 /* end confdefs.h. */
15167
15168 int
15169 main ()
15170 {
15171
15172 #ifndef __xlC__
15173 choke me
15174 #endif
15175
15176 ;
15177 return 0;
15178 }
15179 _ACEOF
15180 rm -f conftest.$ac_objext
15181 if { (ac_try="$ac_compile"
15182 case "(($ac_try" in
15183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15184 *) ac_try_echo=$ac_try;;
15185 esac
15186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15187 (eval "$ac_compile") 2>conftest.er1
15188 ac_status=$?
15189 grep -v '^ *+' conftest.er1 >conftest.err
15190 rm -f conftest.er1
15191 cat conftest.err >&5
15192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15193 (exit $ac_status); } && {
15194 test -z "$ac_c_werror_flag" ||
15195 test ! -s conftest.err
15196 } && test -s conftest.$ac_objext; then
15197 bakefile_cv_c_compiler___xlC__=yes
15198 else
15199 echo "$as_me: failed program was:" >&5
15200 sed 's/^/| /' conftest.$ac_ext >&5
15201
15202 bakefile_cv_c_compiler___xlC__=no
15203
15204 fi
15205
15206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15207
15208
15209 fi
15210 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15211 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15212 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15213 :; XLCC=yes
15214 else
15215 :;
15216 fi
15217 ac_ext=c
15218 ac_cpp='$CPP $CPPFLAGS'
15219 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15220 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15221 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15222
15223
15224
15225 ;;
15226
15227 Darwin)
15228
15229
15230 ac_ext=c
15231 ac_cpp='$CPP $CPPFLAGS'
15232 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15233 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15234 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15235
15236 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
15237 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
15238 if test "${bakefile_cv_c_compiler___MWERKS__+set}" = set; then
15239 echo $ECHO_N "(cached) $ECHO_C" >&6
15240 else
15241 cat >conftest.$ac_ext <<_ACEOF
15242 /* confdefs.h. */
15243 _ACEOF
15244 cat confdefs.h >>conftest.$ac_ext
15245 cat >>conftest.$ac_ext <<_ACEOF
15246 /* end confdefs.h. */
15247
15248 int
15249 main ()
15250 {
15251
15252 #ifndef __MWERKS__
15253 choke me
15254 #endif
15255
15256 ;
15257 return 0;
15258 }
15259 _ACEOF
15260 rm -f conftest.$ac_objext
15261 if { (ac_try="$ac_compile"
15262 case "(($ac_try" in
15263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15264 *) ac_try_echo=$ac_try;;
15265 esac
15266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15267 (eval "$ac_compile") 2>conftest.er1
15268 ac_status=$?
15269 grep -v '^ *+' conftest.er1 >conftest.err
15270 rm -f conftest.er1
15271 cat conftest.err >&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } && {
15274 test -z "$ac_c_werror_flag" ||
15275 test ! -s conftest.err
15276 } && test -s conftest.$ac_objext; then
15277 bakefile_cv_c_compiler___MWERKS__=yes
15278 else
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.$ac_ext >&5
15281
15282 bakefile_cv_c_compiler___MWERKS__=no
15283
15284 fi
15285
15286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15287
15288
15289 fi
15290 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___MWERKS__" >&5
15291 echo "${ECHO_T}$bakefile_cv_c_compiler___MWERKS__" >&6; }
15292 if test "x$bakefile_cv_c_compiler___MWERKS__" = "xyes"; then
15293 :; MWCC=yes
15294 else
15295 :;
15296 fi
15297 ac_ext=c
15298 ac_cpp='$CPP $CPPFLAGS'
15299 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15300 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15301 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15302
15303
15304
15305
15306
15307 ac_ext=c
15308 ac_cpp='$CPP $CPPFLAGS'
15309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15312
15313 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
15314 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
15315 if test "${bakefile_cv_c_compiler___xlC__+set}" = set; then
15316 echo $ECHO_N "(cached) $ECHO_C" >&6
15317 else
15318 cat >conftest.$ac_ext <<_ACEOF
15319 /* confdefs.h. */
15320 _ACEOF
15321 cat confdefs.h >>conftest.$ac_ext
15322 cat >>conftest.$ac_ext <<_ACEOF
15323 /* end confdefs.h. */
15324
15325 int
15326 main ()
15327 {
15328
15329 #ifndef __xlC__
15330 choke me
15331 #endif
15332
15333 ;
15334 return 0;
15335 }
15336 _ACEOF
15337 rm -f conftest.$ac_objext
15338 if { (ac_try="$ac_compile"
15339 case "(($ac_try" in
15340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15341 *) ac_try_echo=$ac_try;;
15342 esac
15343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15344 (eval "$ac_compile") 2>conftest.er1
15345 ac_status=$?
15346 grep -v '^ *+' conftest.er1 >conftest.err
15347 rm -f conftest.er1
15348 cat conftest.err >&5
15349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15350 (exit $ac_status); } && {
15351 test -z "$ac_c_werror_flag" ||
15352 test ! -s conftest.err
15353 } && test -s conftest.$ac_objext; then
15354 bakefile_cv_c_compiler___xlC__=yes
15355 else
15356 echo "$as_me: failed program was:" >&5
15357 sed 's/^/| /' conftest.$ac_ext >&5
15358
15359 bakefile_cv_c_compiler___xlC__=no
15360
15361 fi
15362
15363 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15364
15365
15366 fi
15367 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___xlC__" >&5
15368 echo "${ECHO_T}$bakefile_cv_c_compiler___xlC__" >&6; }
15369 if test "x$bakefile_cv_c_compiler___xlC__" = "xyes"; then
15370 :; XLCC=yes
15371 else
15372 :;
15373 fi
15374 ac_ext=c
15375 ac_cpp='$CPP $CPPFLAGS'
15376 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15377 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15378 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15379
15380
15381
15382 ;;
15383
15384 IRIX*)
15385
15386
15387 ac_ext=c
15388 ac_cpp='$CPP $CPPFLAGS'
15389 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15390 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15391 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15392
15393 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
15394 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
15395 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
15396 echo $ECHO_N "(cached) $ECHO_C" >&6
15397 else
15398 cat >conftest.$ac_ext <<_ACEOF
15399 /* confdefs.h. */
15400 _ACEOF
15401 cat confdefs.h >>conftest.$ac_ext
15402 cat >>conftest.$ac_ext <<_ACEOF
15403 /* end confdefs.h. */
15404
15405 int
15406 main ()
15407 {
15408
15409 #ifndef _SGI_COMPILER_VERSION
15410 choke me
15411 #endif
15412
15413 ;
15414 return 0;
15415 }
15416 _ACEOF
15417 rm -f conftest.$ac_objext
15418 if { (ac_try="$ac_compile"
15419 case "(($ac_try" in
15420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15421 *) ac_try_echo=$ac_try;;
15422 esac
15423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15424 (eval "$ac_compile") 2>conftest.er1
15425 ac_status=$?
15426 grep -v '^ *+' conftest.er1 >conftest.err
15427 rm -f conftest.er1
15428 cat conftest.err >&5
15429 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15430 (exit $ac_status); } && {
15431 test -z "$ac_c_werror_flag" ||
15432 test ! -s conftest.err
15433 } && test -s conftest.$ac_objext; then
15434 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
15435 else
15436 echo "$as_me: failed program was:" >&5
15437 sed 's/^/| /' conftest.$ac_ext >&5
15438
15439 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
15440
15441 fi
15442
15443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15444
15445
15446 fi
15447 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
15448 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
15449 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15450 :; SGICC=yes
15451 else
15452 :;
15453 fi
15454 ac_ext=c
15455 ac_cpp='$CPP $CPPFLAGS'
15456 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15457 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15458 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15459
15460
15461
15462 ;;
15463
15464 Linux*)
15465
15466
15467 ac_ext=c
15468 ac_cpp='$CPP $CPPFLAGS'
15469 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15470 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15471 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15472
15473 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15474 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15475 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15476 echo $ECHO_N "(cached) $ECHO_C" >&6
15477 else
15478 cat >conftest.$ac_ext <<_ACEOF
15479 /* confdefs.h. */
15480 _ACEOF
15481 cat confdefs.h >>conftest.$ac_ext
15482 cat >>conftest.$ac_ext <<_ACEOF
15483 /* end confdefs.h. */
15484
15485 int
15486 main ()
15487 {
15488
15489 #ifndef __SUNPRO_C
15490 choke me
15491 #endif
15492
15493 ;
15494 return 0;
15495 }
15496 _ACEOF
15497 rm -f conftest.$ac_objext
15498 if { (ac_try="$ac_compile"
15499 case "(($ac_try" in
15500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15501 *) ac_try_echo=$ac_try;;
15502 esac
15503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15504 (eval "$ac_compile") 2>conftest.er1
15505 ac_status=$?
15506 grep -v '^ *+' conftest.er1 >conftest.err
15507 rm -f conftest.er1
15508 cat conftest.err >&5
15509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15510 (exit $ac_status); } && {
15511 test -z "$ac_c_werror_flag" ||
15512 test ! -s conftest.err
15513 } && test -s conftest.$ac_objext; then
15514 bakefile_cv_c_compiler___SUNPRO_C=yes
15515 else
15516 echo "$as_me: failed program was:" >&5
15517 sed 's/^/| /' conftest.$ac_ext >&5
15518
15519 bakefile_cv_c_compiler___SUNPRO_C=no
15520
15521 fi
15522
15523 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15524
15525
15526 fi
15527 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15528 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15529 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15530 :; SUNCC=yes
15531 else
15532 :;
15533 fi
15534 ac_ext=c
15535 ac_cpp='$CPP $CPPFLAGS'
15536 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15537 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15538 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15539
15540
15541
15542 ;;
15543
15544 HP-UX*)
15545
15546
15547 ac_ext=c
15548 ac_cpp='$CPP $CPPFLAGS'
15549 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15550 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15551 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15552
15553 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
15554 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
15555 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
15556 echo $ECHO_N "(cached) $ECHO_C" >&6
15557 else
15558 cat >conftest.$ac_ext <<_ACEOF
15559 /* confdefs.h. */
15560 _ACEOF
15561 cat confdefs.h >>conftest.$ac_ext
15562 cat >>conftest.$ac_ext <<_ACEOF
15563 /* end confdefs.h. */
15564
15565 int
15566 main ()
15567 {
15568
15569 #ifndef __HP_cc
15570 choke me
15571 #endif
15572
15573 ;
15574 return 0;
15575 }
15576 _ACEOF
15577 rm -f conftest.$ac_objext
15578 if { (ac_try="$ac_compile"
15579 case "(($ac_try" in
15580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15581 *) ac_try_echo=$ac_try;;
15582 esac
15583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15584 (eval "$ac_compile") 2>conftest.er1
15585 ac_status=$?
15586 grep -v '^ *+' conftest.er1 >conftest.err
15587 rm -f conftest.er1
15588 cat conftest.err >&5
15589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15590 (exit $ac_status); } && {
15591 test -z "$ac_c_werror_flag" ||
15592 test ! -s conftest.err
15593 } && test -s conftest.$ac_objext; then
15594 bakefile_cv_c_compiler___HP_cc=yes
15595 else
15596 echo "$as_me: failed program was:" >&5
15597 sed 's/^/| /' conftest.$ac_ext >&5
15598
15599 bakefile_cv_c_compiler___HP_cc=no
15600
15601 fi
15602
15603 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15604
15605
15606 fi
15607 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
15608 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
15609 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
15610 :; HPCC=yes
15611 else
15612 :;
15613 fi
15614 ac_ext=c
15615 ac_cpp='$CPP $CPPFLAGS'
15616 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15617 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15618 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15619
15620
15621
15622 ;;
15623
15624 OSF1)
15625
15626
15627 ac_ext=c
15628 ac_cpp='$CPP $CPPFLAGS'
15629 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15630 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15631 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15632
15633 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
15634 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
15635 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
15636 echo $ECHO_N "(cached) $ECHO_C" >&6
15637 else
15638 cat >conftest.$ac_ext <<_ACEOF
15639 /* confdefs.h. */
15640 _ACEOF
15641 cat confdefs.h >>conftest.$ac_ext
15642 cat >>conftest.$ac_ext <<_ACEOF
15643 /* end confdefs.h. */
15644
15645 int
15646 main ()
15647 {
15648
15649 #ifndef __DECC
15650 choke me
15651 #endif
15652
15653 ;
15654 return 0;
15655 }
15656 _ACEOF
15657 rm -f conftest.$ac_objext
15658 if { (ac_try="$ac_compile"
15659 case "(($ac_try" in
15660 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15661 *) ac_try_echo=$ac_try;;
15662 esac
15663 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15664 (eval "$ac_compile") 2>conftest.er1
15665 ac_status=$?
15666 grep -v '^ *+' conftest.er1 >conftest.err
15667 rm -f conftest.er1
15668 cat conftest.err >&5
15669 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15670 (exit $ac_status); } && {
15671 test -z "$ac_c_werror_flag" ||
15672 test ! -s conftest.err
15673 } && test -s conftest.$ac_objext; then
15674 bakefile_cv_c_compiler___DECC=yes
15675 else
15676 echo "$as_me: failed program was:" >&5
15677 sed 's/^/| /' conftest.$ac_ext >&5
15678
15679 bakefile_cv_c_compiler___DECC=no
15680
15681 fi
15682
15683 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15684
15685
15686 fi
15687 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
15688 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
15689 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
15690 :; COMPAQCC=yes
15691 else
15692 :;
15693 fi
15694 ac_ext=c
15695 ac_cpp='$CPP $CPPFLAGS'
15696 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15697 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15698 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15699
15700
15701
15702 ;;
15703
15704 SunOS)
15705
15706
15707 ac_ext=c
15708 ac_cpp='$CPP $CPPFLAGS'
15709 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15710 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15711 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15712
15713 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
15714 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
15715 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
15716 echo $ECHO_N "(cached) $ECHO_C" >&6
15717 else
15718 cat >conftest.$ac_ext <<_ACEOF
15719 /* confdefs.h. */
15720 _ACEOF
15721 cat confdefs.h >>conftest.$ac_ext
15722 cat >>conftest.$ac_ext <<_ACEOF
15723 /* end confdefs.h. */
15724
15725 int
15726 main ()
15727 {
15728
15729 #ifndef __SUNPRO_C
15730 choke me
15731 #endif
15732
15733 ;
15734 return 0;
15735 }
15736 _ACEOF
15737 rm -f conftest.$ac_objext
15738 if { (ac_try="$ac_compile"
15739 case "(($ac_try" in
15740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15741 *) ac_try_echo=$ac_try;;
15742 esac
15743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15744 (eval "$ac_compile") 2>conftest.er1
15745 ac_status=$?
15746 grep -v '^ *+' conftest.er1 >conftest.err
15747 rm -f conftest.er1
15748 cat conftest.err >&5
15749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15750 (exit $ac_status); } && {
15751 test -z "$ac_c_werror_flag" ||
15752 test ! -s conftest.err
15753 } && test -s conftest.$ac_objext; then
15754 bakefile_cv_c_compiler___SUNPRO_C=yes
15755 else
15756 echo "$as_me: failed program was:" >&5
15757 sed 's/^/| /' conftest.$ac_ext >&5
15758
15759 bakefile_cv_c_compiler___SUNPRO_C=no
15760
15761 fi
15762
15763 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15764
15765
15766 fi
15767 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
15768 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
15769 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
15770 :; SUNCC=yes
15771 else
15772 :;
15773 fi
15774 ac_ext=c
15775 ac_cpp='$CPP $CPPFLAGS'
15776 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15777 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15778 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15779
15780
15781
15782 ;;
15783 esac
15784 fi
15785
15786
15787
15788 ac_ext=c
15789 ac_cpp='$CPP $CPPFLAGS'
15790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15793 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
15794 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
15795 # On Suns, sometimes $CPP names a directory.
15796 if test -n "$CPP" && test -d "$CPP"; then
15797 CPP=
15798 fi
15799 if test -z "$CPP"; then
15800 if test "${ac_cv_prog_CPP+set}" = set; then
15801 echo $ECHO_N "(cached) $ECHO_C" >&6
15802 else
15803 # Double quotes because CPP needs to be expanded
15804 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
15805 do
15806 ac_preproc_ok=false
15807 for ac_c_preproc_warn_flag in '' yes
15808 do
15809 # Use a header file that comes with gcc, so configuring glibc
15810 # with a fresh cross-compiler works.
15811 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15812 # <limits.h> exists even on freestanding compilers.
15813 # On the NeXT, cc -E runs the code through the compiler's parser,
15814 # not just through cpp. "Syntax error" is here to catch this case.
15815 cat >conftest.$ac_ext <<_ACEOF
15816 /* confdefs.h. */
15817 _ACEOF
15818 cat confdefs.h >>conftest.$ac_ext
15819 cat >>conftest.$ac_ext <<_ACEOF
15820 /* end confdefs.h. */
15821 #ifdef __STDC__
15822 # include <limits.h>
15823 #else
15824 # include <assert.h>
15825 #endif
15826 Syntax error
15827 _ACEOF
15828 if { (ac_try="$ac_cpp conftest.$ac_ext"
15829 case "(($ac_try" in
15830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15831 *) ac_try_echo=$ac_try;;
15832 esac
15833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15834 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15835 ac_status=$?
15836 grep -v '^ *+' conftest.er1 >conftest.err
15837 rm -f conftest.er1
15838 cat conftest.err >&5
15839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15840 (exit $ac_status); } >/dev/null && {
15841 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15842 test ! -s conftest.err
15843 }; then
15844 :
15845 else
15846 echo "$as_me: failed program was:" >&5
15847 sed 's/^/| /' conftest.$ac_ext >&5
15848
15849 # Broken: fails on valid input.
15850 continue
15851 fi
15852
15853 rm -f conftest.err conftest.$ac_ext
15854
15855 # OK, works on sane cases. Now check whether nonexistent headers
15856 # can be detected and how.
15857 cat >conftest.$ac_ext <<_ACEOF
15858 /* confdefs.h. */
15859 _ACEOF
15860 cat confdefs.h >>conftest.$ac_ext
15861 cat >>conftest.$ac_ext <<_ACEOF
15862 /* end confdefs.h. */
15863 #include <ac_nonexistent.h>
15864 _ACEOF
15865 if { (ac_try="$ac_cpp conftest.$ac_ext"
15866 case "(($ac_try" in
15867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15868 *) ac_try_echo=$ac_try;;
15869 esac
15870 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15871 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15872 ac_status=$?
15873 grep -v '^ *+' conftest.er1 >conftest.err
15874 rm -f conftest.er1
15875 cat conftest.err >&5
15876 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15877 (exit $ac_status); } >/dev/null && {
15878 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15879 test ! -s conftest.err
15880 }; then
15881 # Broken: success on invalid input.
15882 continue
15883 else
15884 echo "$as_me: failed program was:" >&5
15885 sed 's/^/| /' conftest.$ac_ext >&5
15886
15887 # Passes both tests.
15888 ac_preproc_ok=:
15889 break
15890 fi
15891
15892 rm -f conftest.err conftest.$ac_ext
15893
15894 done
15895 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
15896 rm -f conftest.err conftest.$ac_ext
15897 if $ac_preproc_ok; then
15898 break
15899 fi
15900
15901 done
15902 ac_cv_prog_CPP=$CPP
15903
15904 fi
15905 CPP=$ac_cv_prog_CPP
15906 else
15907 ac_cv_prog_CPP=$CPP
15908 fi
15909 { echo "$as_me:$LINENO: result: $CPP" >&5
15910 echo "${ECHO_T}$CPP" >&6; }
15911 ac_preproc_ok=false
15912 for ac_c_preproc_warn_flag in '' yes
15913 do
15914 # Use a header file that comes with gcc, so configuring glibc
15915 # with a fresh cross-compiler works.
15916 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
15917 # <limits.h> exists even on freestanding compilers.
15918 # On the NeXT, cc -E runs the code through the compiler's parser,
15919 # not just through cpp. "Syntax error" is here to catch this case.
15920 cat >conftest.$ac_ext <<_ACEOF
15921 /* confdefs.h. */
15922 _ACEOF
15923 cat confdefs.h >>conftest.$ac_ext
15924 cat >>conftest.$ac_ext <<_ACEOF
15925 /* end confdefs.h. */
15926 #ifdef __STDC__
15927 # include <limits.h>
15928 #else
15929 # include <assert.h>
15930 #endif
15931 Syntax error
15932 _ACEOF
15933 if { (ac_try="$ac_cpp conftest.$ac_ext"
15934 case "(($ac_try" in
15935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15936 *) ac_try_echo=$ac_try;;
15937 esac
15938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15939 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15940 ac_status=$?
15941 grep -v '^ *+' conftest.er1 >conftest.err
15942 rm -f conftest.er1
15943 cat conftest.err >&5
15944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15945 (exit $ac_status); } >/dev/null && {
15946 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15947 test ! -s conftest.err
15948 }; then
15949 :
15950 else
15951 echo "$as_me: failed program was:" >&5
15952 sed 's/^/| /' conftest.$ac_ext >&5
15953
15954 # Broken: fails on valid input.
15955 continue
15956 fi
15957
15958 rm -f conftest.err conftest.$ac_ext
15959
15960 # OK, works on sane cases. Now check whether nonexistent headers
15961 # can be detected and how.
15962 cat >conftest.$ac_ext <<_ACEOF
15963 /* confdefs.h. */
15964 _ACEOF
15965 cat confdefs.h >>conftest.$ac_ext
15966 cat >>conftest.$ac_ext <<_ACEOF
15967 /* end confdefs.h. */
15968 #include <ac_nonexistent.h>
15969 _ACEOF
15970 if { (ac_try="$ac_cpp conftest.$ac_ext"
15971 case "(($ac_try" in
15972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15973 *) ac_try_echo=$ac_try;;
15974 esac
15975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15976 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
15977 ac_status=$?
15978 grep -v '^ *+' conftest.er1 >conftest.err
15979 rm -f conftest.er1
15980 cat conftest.err >&5
15981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15982 (exit $ac_status); } >/dev/null && {
15983 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
15984 test ! -s conftest.err
15985 }; then
15986 # Broken: success on invalid input.
15987 continue
15988 else
15989 echo "$as_me: failed program was:" >&5
15990 sed 's/^/| /' conftest.$ac_ext >&5
15991
15992 # Passes both tests.
15993 ac_preproc_ok=:
15994 break
15995 fi
15996
15997 rm -f conftest.err conftest.$ac_ext
15998
15999 done
16000 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
16001 rm -f conftest.err conftest.$ac_ext
16002 if $ac_preproc_ok; then
16003 :
16004 else
16005 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
16006 See \`config.log' for more details." >&5
16007 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
16008 See \`config.log' for more details." >&2;}
16009 { (exit 1); exit 1; }; }
16010 fi
16011
16012 ac_ext=c
16013 ac_cpp='$CPP $CPPFLAGS'
16014 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16015 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16016 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16017
16018
16019 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
16020 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
16021 if test "${ac_cv_path_GREP+set}" = set; then
16022 echo $ECHO_N "(cached) $ECHO_C" >&6
16023 else
16024 # Extract the first word of "grep ggrep" to use in msg output
16025 if test -z "$GREP"; then
16026 set dummy grep ggrep; ac_prog_name=$2
16027 if test "${ac_cv_path_GREP+set}" = set; then
16028 echo $ECHO_N "(cached) $ECHO_C" >&6
16029 else
16030 ac_path_GREP_found=false
16031 # Loop through the user's path and test for each of PROGNAME-LIST
16032 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16033 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16034 do
16035 IFS=$as_save_IFS
16036 test -z "$as_dir" && as_dir=.
16037 for ac_prog in grep ggrep; do
16038 for ac_exec_ext in '' $ac_executable_extensions; do
16039 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
16040 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
16041 # Check for GNU ac_path_GREP and select it if it is found.
16042 # Check for GNU $ac_path_GREP
16043 case `"$ac_path_GREP" --version 2>&1` in
16044 *GNU*)
16045 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
16046 *)
16047 ac_count=0
16048 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16049 while :
16050 do
16051 cat "conftest.in" "conftest.in" >"conftest.tmp"
16052 mv "conftest.tmp" "conftest.in"
16053 cp "conftest.in" "conftest.nl"
16054 echo 'GREP' >> "conftest.nl"
16055 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16056 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16057 ac_count=`expr $ac_count + 1`
16058 if test $ac_count -gt ${ac_path_GREP_max-0}; then
16059 # Best one so far, save it but keep looking for a better one
16060 ac_cv_path_GREP="$ac_path_GREP"
16061 ac_path_GREP_max=$ac_count
16062 fi
16063 # 10*(2^10) chars as input seems more than enough
16064 test $ac_count -gt 10 && break
16065 done
16066 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16067 esac
16068
16069
16070 $ac_path_GREP_found && break 3
16071 done
16072 done
16073
16074 done
16075 IFS=$as_save_IFS
16076
16077
16078 fi
16079
16080 GREP="$ac_cv_path_GREP"
16081 if test -z "$GREP"; then
16082 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16083 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16084 { (exit 1); exit 1; }; }
16085 fi
16086
16087 else
16088 ac_cv_path_GREP=$GREP
16089 fi
16090
16091
16092 fi
16093 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
16094 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
16095 GREP="$ac_cv_path_GREP"
16096
16097
16098 { echo "$as_me:$LINENO: checking for egrep" >&5
16099 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
16100 if test "${ac_cv_path_EGREP+set}" = set; then
16101 echo $ECHO_N "(cached) $ECHO_C" >&6
16102 else
16103 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
16104 then ac_cv_path_EGREP="$GREP -E"
16105 else
16106 # Extract the first word of "egrep" to use in msg output
16107 if test -z "$EGREP"; then
16108 set dummy egrep; ac_prog_name=$2
16109 if test "${ac_cv_path_EGREP+set}" = set; then
16110 echo $ECHO_N "(cached) $ECHO_C" >&6
16111 else
16112 ac_path_EGREP_found=false
16113 # Loop through the user's path and test for each of PROGNAME-LIST
16114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16115 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
16116 do
16117 IFS=$as_save_IFS
16118 test -z "$as_dir" && as_dir=.
16119 for ac_prog in egrep; do
16120 for ac_exec_ext in '' $ac_executable_extensions; do
16121 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
16122 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
16123 # Check for GNU ac_path_EGREP and select it if it is found.
16124 # Check for GNU $ac_path_EGREP
16125 case `"$ac_path_EGREP" --version 2>&1` in
16126 *GNU*)
16127 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
16128 *)
16129 ac_count=0
16130 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
16131 while :
16132 do
16133 cat "conftest.in" "conftest.in" >"conftest.tmp"
16134 mv "conftest.tmp" "conftest.in"
16135 cp "conftest.in" "conftest.nl"
16136 echo 'EGREP' >> "conftest.nl"
16137 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
16138 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
16139 ac_count=`expr $ac_count + 1`
16140 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
16141 # Best one so far, save it but keep looking for a better one
16142 ac_cv_path_EGREP="$ac_path_EGREP"
16143 ac_path_EGREP_max=$ac_count
16144 fi
16145 # 10*(2^10) chars as input seems more than enough
16146 test $ac_count -gt 10 && break
16147 done
16148 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
16149 esac
16150
16151
16152 $ac_path_EGREP_found && break 3
16153 done
16154 done
16155
16156 done
16157 IFS=$as_save_IFS
16158
16159
16160 fi
16161
16162 EGREP="$ac_cv_path_EGREP"
16163 if test -z "$EGREP"; then
16164 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
16165 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
16166 { (exit 1); exit 1; }; }
16167 fi
16168
16169 else
16170 ac_cv_path_EGREP=$EGREP
16171 fi
16172
16173
16174 fi
16175 fi
16176 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
16177 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
16178 EGREP="$ac_cv_path_EGREP"
16179
16180
16181 if test $ac_cv_c_compiler_gnu = yes; then
16182 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
16183 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
16184 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
16185 echo $ECHO_N "(cached) $ECHO_C" >&6
16186 else
16187 ac_pattern="Autoconf.*'x'"
16188 cat >conftest.$ac_ext <<_ACEOF
16189 /* confdefs.h. */
16190 _ACEOF
16191 cat confdefs.h >>conftest.$ac_ext
16192 cat >>conftest.$ac_ext <<_ACEOF
16193 /* end confdefs.h. */
16194 #include <sgtty.h>
16195 Autoconf TIOCGETP
16196 _ACEOF
16197 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16198 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16199 ac_cv_prog_gcc_traditional=yes
16200 else
16201 ac_cv_prog_gcc_traditional=no
16202 fi
16203 rm -f conftest*
16204
16205
16206 if test $ac_cv_prog_gcc_traditional = no; then
16207 cat >conftest.$ac_ext <<_ACEOF
16208 /* confdefs.h. */
16209 _ACEOF
16210 cat confdefs.h >>conftest.$ac_ext
16211 cat >>conftest.$ac_ext <<_ACEOF
16212 /* end confdefs.h. */
16213 #include <termio.h>
16214 Autoconf TCGETA
16215 _ACEOF
16216 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
16217 $EGREP "$ac_pattern" >/dev/null 2>&1; then
16218 ac_cv_prog_gcc_traditional=yes
16219 fi
16220 rm -f conftest*
16221
16222 fi
16223 fi
16224 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
16225 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
16226 if test $ac_cv_prog_gcc_traditional = yes; then
16227 CC="$CC -traditional"
16228 fi
16229 fi
16230
16231
16232 CXXFLAGS=${CXXFLAGS:=}
16233
16234
16235
16236 ac_ext=cpp
16237 ac_cpp='$CXXCPP $CPPFLAGS'
16238 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16239 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16240 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16241 if test -z "$CXX"; then
16242 if test -n "$CCC"; then
16243 CXX=$CCC
16244 else
16245 if test -n "$ac_tool_prefix"; then
16246 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16247 do
16248 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
16249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
16250 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16251 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16252 if test "${ac_cv_prog_CXX+set}" = set; then
16253 echo $ECHO_N "(cached) $ECHO_C" >&6
16254 else
16255 if test -n "$CXX"; then
16256 ac_cv_prog_CXX="$CXX" # Let the user override the test.
16257 else
16258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16259 for as_dir in $PATH
16260 do
16261 IFS=$as_save_IFS
16262 test -z "$as_dir" && as_dir=.
16263 for ac_exec_ext in '' $ac_executable_extensions; do
16264 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16265 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
16266 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16267 break 2
16268 fi
16269 done
16270 done
16271 IFS=$as_save_IFS
16272
16273 fi
16274 fi
16275 CXX=$ac_cv_prog_CXX
16276 if test -n "$CXX"; then
16277 { echo "$as_me:$LINENO: result: $CXX" >&5
16278 echo "${ECHO_T}$CXX" >&6; }
16279 else
16280 { echo "$as_me:$LINENO: result: no" >&5
16281 echo "${ECHO_T}no" >&6; }
16282 fi
16283
16284
16285 test -n "$CXX" && break
16286 done
16287 fi
16288 if test -z "$CXX"; then
16289 ac_ct_CXX=$CXX
16290 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
16291 do
16292 # Extract the first word of "$ac_prog", so it can be a program name with args.
16293 set dummy $ac_prog; ac_word=$2
16294 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16295 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16296 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
16297 echo $ECHO_N "(cached) $ECHO_C" >&6
16298 else
16299 if test -n "$ac_ct_CXX"; then
16300 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
16301 else
16302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16303 for as_dir in $PATH
16304 do
16305 IFS=$as_save_IFS
16306 test -z "$as_dir" && as_dir=.
16307 for ac_exec_ext in '' $ac_executable_extensions; do
16308 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16309 ac_cv_prog_ac_ct_CXX="$ac_prog"
16310 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16311 break 2
16312 fi
16313 done
16314 done
16315 IFS=$as_save_IFS
16316
16317 fi
16318 fi
16319 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
16320 if test -n "$ac_ct_CXX"; then
16321 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
16322 echo "${ECHO_T}$ac_ct_CXX" >&6; }
16323 else
16324 { echo "$as_me:$LINENO: result: no" >&5
16325 echo "${ECHO_T}no" >&6; }
16326 fi
16327
16328
16329 test -n "$ac_ct_CXX" && break
16330 done
16331
16332 if test "x$ac_ct_CXX" = x; then
16333 CXX="g++"
16334 else
16335 case $cross_compiling:$ac_tool_warned in
16336 yes:)
16337 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16338 whose name does not start with the host triplet. If you think this
16339 configuration is useful to you, please write to autoconf@gnu.org." >&5
16340 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16341 whose name does not start with the host triplet. If you think this
16342 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16343 ac_tool_warned=yes ;;
16344 esac
16345 CXX=$ac_ct_CXX
16346 fi
16347 fi
16348
16349 fi
16350 fi
16351 # Provide some information about the compiler.
16352 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
16353 ac_compiler=`set X $ac_compile; echo $2`
16354 { (ac_try="$ac_compiler --version >&5"
16355 case "(($ac_try" in
16356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16357 *) ac_try_echo=$ac_try;;
16358 esac
16359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16360 (eval "$ac_compiler --version >&5") 2>&5
16361 ac_status=$?
16362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16363 (exit $ac_status); }
16364 { (ac_try="$ac_compiler -v >&5"
16365 case "(($ac_try" in
16366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16367 *) ac_try_echo=$ac_try;;
16368 esac
16369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16370 (eval "$ac_compiler -v >&5") 2>&5
16371 ac_status=$?
16372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16373 (exit $ac_status); }
16374 { (ac_try="$ac_compiler -V >&5"
16375 case "(($ac_try" in
16376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16377 *) ac_try_echo=$ac_try;;
16378 esac
16379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16380 (eval "$ac_compiler -V >&5") 2>&5
16381 ac_status=$?
16382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16383 (exit $ac_status); }
16384
16385 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
16386 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
16387 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
16388 echo $ECHO_N "(cached) $ECHO_C" >&6
16389 else
16390 cat >conftest.$ac_ext <<_ACEOF
16391 /* confdefs.h. */
16392 _ACEOF
16393 cat confdefs.h >>conftest.$ac_ext
16394 cat >>conftest.$ac_ext <<_ACEOF
16395 /* end confdefs.h. */
16396
16397 int
16398 main ()
16399 {
16400 #ifndef __GNUC__
16401 choke me
16402 #endif
16403
16404 ;
16405 return 0;
16406 }
16407 _ACEOF
16408 rm -f conftest.$ac_objext
16409 if { (ac_try="$ac_compile"
16410 case "(($ac_try" in
16411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16412 *) ac_try_echo=$ac_try;;
16413 esac
16414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16415 (eval "$ac_compile") 2>conftest.er1
16416 ac_status=$?
16417 grep -v '^ *+' conftest.er1 >conftest.err
16418 rm -f conftest.er1
16419 cat conftest.err >&5
16420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16421 (exit $ac_status); } && {
16422 test -z "$ac_cxx_werror_flag" ||
16423 test ! -s conftest.err
16424 } && test -s conftest.$ac_objext; then
16425 ac_compiler_gnu=yes
16426 else
16427 echo "$as_me: failed program was:" >&5
16428 sed 's/^/| /' conftest.$ac_ext >&5
16429
16430 ac_compiler_gnu=no
16431 fi
16432
16433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16434 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
16435
16436 fi
16437 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
16438 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
16439 GXX=`test $ac_compiler_gnu = yes && echo yes`
16440 ac_test_CXXFLAGS=${CXXFLAGS+set}
16441 ac_save_CXXFLAGS=$CXXFLAGS
16442 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
16443 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
16444 if test "${ac_cv_prog_cxx_g+set}" = set; then
16445 echo $ECHO_N "(cached) $ECHO_C" >&6
16446 else
16447 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
16448 ac_cxx_werror_flag=yes
16449 ac_cv_prog_cxx_g=no
16450 CXXFLAGS="-g"
16451 cat >conftest.$ac_ext <<_ACEOF
16452 /* confdefs.h. */
16453 _ACEOF
16454 cat confdefs.h >>conftest.$ac_ext
16455 cat >>conftest.$ac_ext <<_ACEOF
16456 /* end confdefs.h. */
16457
16458 int
16459 main ()
16460 {
16461
16462 ;
16463 return 0;
16464 }
16465 _ACEOF
16466 rm -f conftest.$ac_objext
16467 if { (ac_try="$ac_compile"
16468 case "(($ac_try" in
16469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16470 *) ac_try_echo=$ac_try;;
16471 esac
16472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16473 (eval "$ac_compile") 2>conftest.er1
16474 ac_status=$?
16475 grep -v '^ *+' conftest.er1 >conftest.err
16476 rm -f conftest.er1
16477 cat conftest.err >&5
16478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16479 (exit $ac_status); } && {
16480 test -z "$ac_cxx_werror_flag" ||
16481 test ! -s conftest.err
16482 } && test -s conftest.$ac_objext; then
16483 ac_cv_prog_cxx_g=yes
16484 else
16485 echo "$as_me: failed program was:" >&5
16486 sed 's/^/| /' conftest.$ac_ext >&5
16487
16488 CXXFLAGS=""
16489 cat >conftest.$ac_ext <<_ACEOF
16490 /* confdefs.h. */
16491 _ACEOF
16492 cat confdefs.h >>conftest.$ac_ext
16493 cat >>conftest.$ac_ext <<_ACEOF
16494 /* end confdefs.h. */
16495
16496 int
16497 main ()
16498 {
16499
16500 ;
16501 return 0;
16502 }
16503 _ACEOF
16504 rm -f conftest.$ac_objext
16505 if { (ac_try="$ac_compile"
16506 case "(($ac_try" in
16507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16508 *) ac_try_echo=$ac_try;;
16509 esac
16510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16511 (eval "$ac_compile") 2>conftest.er1
16512 ac_status=$?
16513 grep -v '^ *+' conftest.er1 >conftest.err
16514 rm -f conftest.er1
16515 cat conftest.err >&5
16516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16517 (exit $ac_status); } && {
16518 test -z "$ac_cxx_werror_flag" ||
16519 test ! -s conftest.err
16520 } && test -s conftest.$ac_objext; then
16521 :
16522 else
16523 echo "$as_me: failed program was:" >&5
16524 sed 's/^/| /' conftest.$ac_ext >&5
16525
16526 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16527 CXXFLAGS="-g"
16528 cat >conftest.$ac_ext <<_ACEOF
16529 /* confdefs.h. */
16530 _ACEOF
16531 cat confdefs.h >>conftest.$ac_ext
16532 cat >>conftest.$ac_ext <<_ACEOF
16533 /* end confdefs.h. */
16534
16535 int
16536 main ()
16537 {
16538
16539 ;
16540 return 0;
16541 }
16542 _ACEOF
16543 rm -f conftest.$ac_objext
16544 if { (ac_try="$ac_compile"
16545 case "(($ac_try" in
16546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16547 *) ac_try_echo=$ac_try;;
16548 esac
16549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16550 (eval "$ac_compile") 2>conftest.er1
16551 ac_status=$?
16552 grep -v '^ *+' conftest.er1 >conftest.err
16553 rm -f conftest.er1
16554 cat conftest.err >&5
16555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16556 (exit $ac_status); } && {
16557 test -z "$ac_cxx_werror_flag" ||
16558 test ! -s conftest.err
16559 } && test -s conftest.$ac_objext; then
16560 ac_cv_prog_cxx_g=yes
16561 else
16562 echo "$as_me: failed program was:" >&5
16563 sed 's/^/| /' conftest.$ac_ext >&5
16564
16565
16566 fi
16567
16568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16569 fi
16570
16571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16572 fi
16573
16574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16575 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
16576 fi
16577 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
16578 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
16579 if test "$ac_test_CXXFLAGS" = set; then
16580 CXXFLAGS=$ac_save_CXXFLAGS
16581 elif test $ac_cv_prog_cxx_g = yes; then
16582 if test "$GXX" = yes; then
16583 CXXFLAGS="-g -O2"
16584 else
16585 CXXFLAGS="-g"
16586 fi
16587 else
16588 if test "$GXX" = yes; then
16589 CXXFLAGS="-O2"
16590 else
16591 CXXFLAGS=
16592 fi
16593 fi
16594 ac_ext=c
16595 ac_cpp='$CPP $CPPFLAGS'
16596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16599
16600
16601
16602
16603 ac_ext=cpp
16604 ac_cpp='$CXXCPP $CPPFLAGS'
16605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16608
16609 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
16610 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
16611 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
16612 echo $ECHO_N "(cached) $ECHO_C" >&6
16613 else
16614 cat >conftest.$ac_ext <<_ACEOF
16615 /* confdefs.h. */
16616 _ACEOF
16617 cat confdefs.h >>conftest.$ac_ext
16618 cat >>conftest.$ac_ext <<_ACEOF
16619 /* end confdefs.h. */
16620
16621 int
16622 main ()
16623 {
16624
16625 #ifndef __INTEL_COMPILER
16626 choke me
16627 #endif
16628
16629 ;
16630 return 0;
16631 }
16632 _ACEOF
16633 rm -f conftest.$ac_objext
16634 if { (ac_try="$ac_compile"
16635 case "(($ac_try" in
16636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16637 *) ac_try_echo=$ac_try;;
16638 esac
16639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16640 (eval "$ac_compile") 2>conftest.er1
16641 ac_status=$?
16642 grep -v '^ *+' conftest.er1 >conftest.err
16643 rm -f conftest.er1
16644 cat conftest.err >&5
16645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16646 (exit $ac_status); } && {
16647 test -z "$ac_cxx_werror_flag" ||
16648 test ! -s conftest.err
16649 } && test -s conftest.$ac_objext; then
16650 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
16651 else
16652 echo "$as_me: failed program was:" >&5
16653 sed 's/^/| /' conftest.$ac_ext >&5
16654
16655 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
16656
16657 fi
16658
16659 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16660
16661
16662 fi
16663 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
16664 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
16665 if test "x$bakefile_cv_cxx_compiler___INTEL_COMPILER" = "xyes"; then
16666 :; INTELCXX=yes
16667 else
16668 :;
16669 fi
16670 ac_ext=c
16671 ac_cpp='$CPP $CPPFLAGS'
16672 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16673 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16674 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16675
16676
16677
16678
16679 if test "x$GCXX" != "xyes"; then
16680 if test "xCXX" = "xC"; then
16681 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
16682 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
16683 if test "${bakefile_cv_c_exto+set}" = set; then
16684 echo $ECHO_N "(cached) $ECHO_C" >&6
16685 else
16686 cat >conftest.$ac_ext <<_ACEOF
16687 /* confdefs.h. */
16688 _ACEOF
16689 cat confdefs.h >>conftest.$ac_ext
16690 cat >>conftest.$ac_ext <<_ACEOF
16691 /* end confdefs.h. */
16692
16693 int
16694 main ()
16695 {
16696
16697 ;
16698 return 0;
16699 }
16700 _ACEOF
16701 rm -f conftest.$ac_objext conftest.$ac_ext.o
16702 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
16703 (eval $ac_compile) 2>&5
16704 ac_status=$?
16705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16706 (exit $ac_status); }; then
16707 for ac_file in `(ls conftest.* 2>/dev/null)`; do
16708 case $ac_file in
16709 conftest.$ac_ext.o)
16710 bakefile_cv_c_exto="-ext o"
16711 ;;
16712 *)
16713 ;;
16714 esac
16715 done
16716 else
16717 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
16718 See \`config.log' for more details." >&5
16719 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
16720 See \`config.log' for more details." >&2;}
16721 { (exit 1); exit 1; }; }
16722
16723 fi
16724
16725 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
16726
16727 fi
16728 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
16729 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
16730 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16731 if test "c" = "c"; then
16732 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
16733 fi
16734 if test "c" = "cxx"; then
16735 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
16736 fi
16737 fi
16738
16739 if test "x$bakefile_cv_c_exto" '!=' "x"; then
16740 unset ac_cv_prog_cc_g
16741 ac_test_CFLAGS=${CFLAGS+set}
16742 ac_save_CFLAGS=$CFLAGS
16743 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
16744 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
16745 if test "${ac_cv_prog_cc_g+set}" = set; then
16746 echo $ECHO_N "(cached) $ECHO_C" >&6
16747 else
16748 ac_save_c_werror_flag=$ac_c_werror_flag
16749 ac_c_werror_flag=yes
16750 ac_cv_prog_cc_g=no
16751 CFLAGS="-g"
16752 cat >conftest.$ac_ext <<_ACEOF
16753 /* confdefs.h. */
16754 _ACEOF
16755 cat confdefs.h >>conftest.$ac_ext
16756 cat >>conftest.$ac_ext <<_ACEOF
16757 /* end confdefs.h. */
16758
16759 int
16760 main ()
16761 {
16762
16763 ;
16764 return 0;
16765 }
16766 _ACEOF
16767 rm -f conftest.$ac_objext
16768 if { (ac_try="$ac_compile"
16769 case "(($ac_try" in
16770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16771 *) ac_try_echo=$ac_try;;
16772 esac
16773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16774 (eval "$ac_compile") 2>conftest.er1
16775 ac_status=$?
16776 grep -v '^ *+' conftest.er1 >conftest.err
16777 rm -f conftest.er1
16778 cat conftest.err >&5
16779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16780 (exit $ac_status); } && {
16781 test -z "$ac_c_werror_flag" ||
16782 test ! -s conftest.err
16783 } && test -s conftest.$ac_objext; then
16784 ac_cv_prog_cc_g=yes
16785 else
16786 echo "$as_me: failed program was:" >&5
16787 sed 's/^/| /' conftest.$ac_ext >&5
16788
16789 CFLAGS=""
16790 cat >conftest.$ac_ext <<_ACEOF
16791 /* confdefs.h. */
16792 _ACEOF
16793 cat confdefs.h >>conftest.$ac_ext
16794 cat >>conftest.$ac_ext <<_ACEOF
16795 /* end confdefs.h. */
16796
16797 int
16798 main ()
16799 {
16800
16801 ;
16802 return 0;
16803 }
16804 _ACEOF
16805 rm -f conftest.$ac_objext
16806 if { (ac_try="$ac_compile"
16807 case "(($ac_try" in
16808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16809 *) ac_try_echo=$ac_try;;
16810 esac
16811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16812 (eval "$ac_compile") 2>conftest.er1
16813 ac_status=$?
16814 grep -v '^ *+' conftest.er1 >conftest.err
16815 rm -f conftest.er1
16816 cat conftest.err >&5
16817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16818 (exit $ac_status); } && {
16819 test -z "$ac_c_werror_flag" ||
16820 test ! -s conftest.err
16821 } && test -s conftest.$ac_objext; then
16822 :
16823 else
16824 echo "$as_me: failed program was:" >&5
16825 sed 's/^/| /' conftest.$ac_ext >&5
16826
16827 ac_c_werror_flag=$ac_save_c_werror_flag
16828 CFLAGS="-g"
16829 cat >conftest.$ac_ext <<_ACEOF
16830 /* confdefs.h. */
16831 _ACEOF
16832 cat confdefs.h >>conftest.$ac_ext
16833 cat >>conftest.$ac_ext <<_ACEOF
16834 /* end confdefs.h. */
16835
16836 int
16837 main ()
16838 {
16839
16840 ;
16841 return 0;
16842 }
16843 _ACEOF
16844 rm -f conftest.$ac_objext
16845 if { (ac_try="$ac_compile"
16846 case "(($ac_try" in
16847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16848 *) ac_try_echo=$ac_try;;
16849 esac
16850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16851 (eval "$ac_compile") 2>conftest.er1
16852 ac_status=$?
16853 grep -v '^ *+' conftest.er1 >conftest.err
16854 rm -f conftest.er1
16855 cat conftest.err >&5
16856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16857 (exit $ac_status); } && {
16858 test -z "$ac_c_werror_flag" ||
16859 test ! -s conftest.err
16860 } && test -s conftest.$ac_objext; then
16861 ac_cv_prog_cc_g=yes
16862 else
16863 echo "$as_me: failed program was:" >&5
16864 sed 's/^/| /' conftest.$ac_ext >&5
16865
16866
16867 fi
16868
16869 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16870 fi
16871
16872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16873 fi
16874
16875 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16876 ac_c_werror_flag=$ac_save_c_werror_flag
16877 fi
16878 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
16879 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
16880 if test "$ac_test_CFLAGS" = set; then
16881 CFLAGS=$ac_save_CFLAGS
16882 elif test $ac_cv_prog_cc_g = yes; then
16883 if test "$GCC" = yes; then
16884 CFLAGS="-g -O2"
16885 else
16886 CFLAGS="-g"
16887 fi
16888 else
16889 if test "$GCC" = yes; then
16890 CFLAGS="-O2"
16891 else
16892 CFLAGS=
16893 fi
16894 fi
16895 fi
16896 fi
16897
16898 case `uname -s` in
16899 AIX*)
16900
16901
16902 ac_ext=cpp
16903 ac_cpp='$CXXCPP $CPPFLAGS'
16904 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16905 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16906 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16907
16908 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
16909 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
16910 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
16911 echo $ECHO_N "(cached) $ECHO_C" >&6
16912 else
16913 cat >conftest.$ac_ext <<_ACEOF
16914 /* confdefs.h. */
16915 _ACEOF
16916 cat confdefs.h >>conftest.$ac_ext
16917 cat >>conftest.$ac_ext <<_ACEOF
16918 /* end confdefs.h. */
16919
16920 int
16921 main ()
16922 {
16923
16924 #ifndef __xlC__
16925 choke me
16926 #endif
16927
16928 ;
16929 return 0;
16930 }
16931 _ACEOF
16932 rm -f conftest.$ac_objext
16933 if { (ac_try="$ac_compile"
16934 case "(($ac_try" in
16935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16936 *) ac_try_echo=$ac_try;;
16937 esac
16938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16939 (eval "$ac_compile") 2>conftest.er1
16940 ac_status=$?
16941 grep -v '^ *+' conftest.er1 >conftest.err
16942 rm -f conftest.er1
16943 cat conftest.err >&5
16944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16945 (exit $ac_status); } && {
16946 test -z "$ac_cxx_werror_flag" ||
16947 test ! -s conftest.err
16948 } && test -s conftest.$ac_objext; then
16949 bakefile_cv_cxx_compiler___xlC__=yes
16950 else
16951 echo "$as_me: failed program was:" >&5
16952 sed 's/^/| /' conftest.$ac_ext >&5
16953
16954 bakefile_cv_cxx_compiler___xlC__=no
16955
16956 fi
16957
16958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16959
16960
16961 fi
16962 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
16963 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
16964 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
16965 :; XLCXX=yes
16966 else
16967 :;
16968 fi
16969 ac_ext=c
16970 ac_cpp='$CPP $CPPFLAGS'
16971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16974
16975
16976
16977 ;;
16978
16979 Darwin)
16980
16981
16982 ac_ext=cpp
16983 ac_cpp='$CXXCPP $CPPFLAGS'
16984 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16985 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16986 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16987
16988 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
16989 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
16990 if test "${bakefile_cv_cxx_compiler___MWERKS__+set}" = set; then
16991 echo $ECHO_N "(cached) $ECHO_C" >&6
16992 else
16993 cat >conftest.$ac_ext <<_ACEOF
16994 /* confdefs.h. */
16995 _ACEOF
16996 cat confdefs.h >>conftest.$ac_ext
16997 cat >>conftest.$ac_ext <<_ACEOF
16998 /* end confdefs.h. */
16999
17000 int
17001 main ()
17002 {
17003
17004 #ifndef __MWERKS__
17005 choke me
17006 #endif
17007
17008 ;
17009 return 0;
17010 }
17011 _ACEOF
17012 rm -f conftest.$ac_objext
17013 if { (ac_try="$ac_compile"
17014 case "(($ac_try" in
17015 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17016 *) ac_try_echo=$ac_try;;
17017 esac
17018 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17019 (eval "$ac_compile") 2>conftest.er1
17020 ac_status=$?
17021 grep -v '^ *+' conftest.er1 >conftest.err
17022 rm -f conftest.er1
17023 cat conftest.err >&5
17024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17025 (exit $ac_status); } && {
17026 test -z "$ac_cxx_werror_flag" ||
17027 test ! -s conftest.err
17028 } && test -s conftest.$ac_objext; then
17029 bakefile_cv_cxx_compiler___MWERKS__=yes
17030 else
17031 echo "$as_me: failed program was:" >&5
17032 sed 's/^/| /' conftest.$ac_ext >&5
17033
17034 bakefile_cv_cxx_compiler___MWERKS__=no
17035
17036 fi
17037
17038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17039
17040
17041 fi
17042 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___MWERKS__" >&5
17043 echo "${ECHO_T}$bakefile_cv_cxx_compiler___MWERKS__" >&6; }
17044 if test "x$bakefile_cv_cxx_compiler___MWERKS__" = "xyes"; then
17045 :; MWCXX=yes
17046 else
17047 :;
17048 fi
17049 ac_ext=c
17050 ac_cpp='$CPP $CPPFLAGS'
17051 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17052 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17053 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17054
17055
17056
17057
17058
17059 ac_ext=cpp
17060 ac_cpp='$CXXCPP $CPPFLAGS'
17061 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17062 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17063 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17064
17065 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
17066 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
17067 if test "${bakefile_cv_cxx_compiler___xlC__+set}" = set; then
17068 echo $ECHO_N "(cached) $ECHO_C" >&6
17069 else
17070 cat >conftest.$ac_ext <<_ACEOF
17071 /* confdefs.h. */
17072 _ACEOF
17073 cat confdefs.h >>conftest.$ac_ext
17074 cat >>conftest.$ac_ext <<_ACEOF
17075 /* end confdefs.h. */
17076
17077 int
17078 main ()
17079 {
17080
17081 #ifndef __xlC__
17082 choke me
17083 #endif
17084
17085 ;
17086 return 0;
17087 }
17088 _ACEOF
17089 rm -f conftest.$ac_objext
17090 if { (ac_try="$ac_compile"
17091 case "(($ac_try" in
17092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17093 *) ac_try_echo=$ac_try;;
17094 esac
17095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17096 (eval "$ac_compile") 2>conftest.er1
17097 ac_status=$?
17098 grep -v '^ *+' conftest.er1 >conftest.err
17099 rm -f conftest.er1
17100 cat conftest.err >&5
17101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17102 (exit $ac_status); } && {
17103 test -z "$ac_cxx_werror_flag" ||
17104 test ! -s conftest.err
17105 } && test -s conftest.$ac_objext; then
17106 bakefile_cv_cxx_compiler___xlC__=yes
17107 else
17108 echo "$as_me: failed program was:" >&5
17109 sed 's/^/| /' conftest.$ac_ext >&5
17110
17111 bakefile_cv_cxx_compiler___xlC__=no
17112
17113 fi
17114
17115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17116
17117
17118 fi
17119 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___xlC__" >&5
17120 echo "${ECHO_T}$bakefile_cv_cxx_compiler___xlC__" >&6; }
17121 if test "x$bakefile_cv_cxx_compiler___xlC__" = "xyes"; then
17122 :; XLCXX=yes
17123 else
17124 :;
17125 fi
17126 ac_ext=c
17127 ac_cpp='$CPP $CPPFLAGS'
17128 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17129 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17130 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17131
17132
17133
17134 ;;
17135
17136 IRIX*)
17137
17138
17139 ac_ext=cpp
17140 ac_cpp='$CXXCPP $CPPFLAGS'
17141 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17142 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17143 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17144
17145 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
17146 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
17147 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
17148 echo $ECHO_N "(cached) $ECHO_C" >&6
17149 else
17150 cat >conftest.$ac_ext <<_ACEOF
17151 /* confdefs.h. */
17152 _ACEOF
17153 cat confdefs.h >>conftest.$ac_ext
17154 cat >>conftest.$ac_ext <<_ACEOF
17155 /* end confdefs.h. */
17156
17157 int
17158 main ()
17159 {
17160
17161 #ifndef _SGI_COMPILER_VERSION
17162 choke me
17163 #endif
17164
17165 ;
17166 return 0;
17167 }
17168 _ACEOF
17169 rm -f conftest.$ac_objext
17170 if { (ac_try="$ac_compile"
17171 case "(($ac_try" in
17172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17173 *) ac_try_echo=$ac_try;;
17174 esac
17175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17176 (eval "$ac_compile") 2>conftest.er1
17177 ac_status=$?
17178 grep -v '^ *+' conftest.er1 >conftest.err
17179 rm -f conftest.er1
17180 cat conftest.err >&5
17181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17182 (exit $ac_status); } && {
17183 test -z "$ac_cxx_werror_flag" ||
17184 test ! -s conftest.err
17185 } && test -s conftest.$ac_objext; then
17186 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
17187 else
17188 echo "$as_me: failed program was:" >&5
17189 sed 's/^/| /' conftest.$ac_ext >&5
17190
17191 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
17192
17193 fi
17194
17195 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17196
17197
17198 fi
17199 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
17200 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
17201 if test "x$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" = "xyes"; then
17202 :; SGICXX=yes
17203 else
17204 :;
17205 fi
17206 ac_ext=c
17207 ac_cpp='$CPP $CPPFLAGS'
17208 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17209 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17210 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17211
17212
17213
17214 ;;
17215
17216 Linux*)
17217
17218
17219 ac_ext=cpp
17220 ac_cpp='$CXXCPP $CPPFLAGS'
17221 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17222 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17223 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17224
17225 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17226 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17227 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17228 echo $ECHO_N "(cached) $ECHO_C" >&6
17229 else
17230 cat >conftest.$ac_ext <<_ACEOF
17231 /* confdefs.h. */
17232 _ACEOF
17233 cat confdefs.h >>conftest.$ac_ext
17234 cat >>conftest.$ac_ext <<_ACEOF
17235 /* end confdefs.h. */
17236
17237 int
17238 main ()
17239 {
17240
17241 #ifndef __SUNPRO_CC
17242 choke me
17243 #endif
17244
17245 ;
17246 return 0;
17247 }
17248 _ACEOF
17249 rm -f conftest.$ac_objext
17250 if { (ac_try="$ac_compile"
17251 case "(($ac_try" in
17252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17253 *) ac_try_echo=$ac_try;;
17254 esac
17255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17256 (eval "$ac_compile") 2>conftest.er1
17257 ac_status=$?
17258 grep -v '^ *+' conftest.er1 >conftest.err
17259 rm -f conftest.er1
17260 cat conftest.err >&5
17261 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17262 (exit $ac_status); } && {
17263 test -z "$ac_cxx_werror_flag" ||
17264 test ! -s conftest.err
17265 } && test -s conftest.$ac_objext; then
17266 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17267 else
17268 echo "$as_me: failed program was:" >&5
17269 sed 's/^/| /' conftest.$ac_ext >&5
17270
17271 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17272
17273 fi
17274
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276
17277
17278 fi
17279 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17280 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17281 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17282 :; SUNCXX=yes
17283 else
17284 :;
17285 fi
17286 ac_ext=c
17287 ac_cpp='$CPP $CPPFLAGS'
17288 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17289 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17290 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17291
17292
17293
17294 ;;
17295
17296 HP-UX*)
17297
17298
17299 ac_ext=cpp
17300 ac_cpp='$CXXCPP $CPPFLAGS'
17301 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17302 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17303 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17304
17305 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
17306 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
17307 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
17308 echo $ECHO_N "(cached) $ECHO_C" >&6
17309 else
17310 cat >conftest.$ac_ext <<_ACEOF
17311 /* confdefs.h. */
17312 _ACEOF
17313 cat confdefs.h >>conftest.$ac_ext
17314 cat >>conftest.$ac_ext <<_ACEOF
17315 /* end confdefs.h. */
17316
17317 int
17318 main ()
17319 {
17320
17321 #ifndef __HP_aCC
17322 choke me
17323 #endif
17324
17325 ;
17326 return 0;
17327 }
17328 _ACEOF
17329 rm -f conftest.$ac_objext
17330 if { (ac_try="$ac_compile"
17331 case "(($ac_try" in
17332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17333 *) ac_try_echo=$ac_try;;
17334 esac
17335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17336 (eval "$ac_compile") 2>conftest.er1
17337 ac_status=$?
17338 grep -v '^ *+' conftest.er1 >conftest.err
17339 rm -f conftest.er1
17340 cat conftest.err >&5
17341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17342 (exit $ac_status); } && {
17343 test -z "$ac_cxx_werror_flag" ||
17344 test ! -s conftest.err
17345 } && test -s conftest.$ac_objext; then
17346 bakefile_cv_cxx_compiler___HP_aCC=yes
17347 else
17348 echo "$as_me: failed program was:" >&5
17349 sed 's/^/| /' conftest.$ac_ext >&5
17350
17351 bakefile_cv_cxx_compiler___HP_aCC=no
17352
17353 fi
17354
17355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17356
17357
17358 fi
17359 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
17360 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
17361 if test "x$bakefile_cv_cxx_compiler___HP_aCC" = "xyes"; then
17362 :; HPCXX=yes
17363 else
17364 :;
17365 fi
17366 ac_ext=c
17367 ac_cpp='$CPP $CPPFLAGS'
17368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17371
17372
17373
17374 ;;
17375
17376 OSF1)
17377
17378
17379 ac_ext=cpp
17380 ac_cpp='$CXXCPP $CPPFLAGS'
17381 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17382 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17383 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17384
17385 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
17386 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
17387 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
17388 echo $ECHO_N "(cached) $ECHO_C" >&6
17389 else
17390 cat >conftest.$ac_ext <<_ACEOF
17391 /* confdefs.h. */
17392 _ACEOF
17393 cat confdefs.h >>conftest.$ac_ext
17394 cat >>conftest.$ac_ext <<_ACEOF
17395 /* end confdefs.h. */
17396
17397 int
17398 main ()
17399 {
17400
17401 #ifndef __DECCXX
17402 choke me
17403 #endif
17404
17405 ;
17406 return 0;
17407 }
17408 _ACEOF
17409 rm -f conftest.$ac_objext
17410 if { (ac_try="$ac_compile"
17411 case "(($ac_try" in
17412 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17413 *) ac_try_echo=$ac_try;;
17414 esac
17415 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17416 (eval "$ac_compile") 2>conftest.er1
17417 ac_status=$?
17418 grep -v '^ *+' conftest.er1 >conftest.err
17419 rm -f conftest.er1
17420 cat conftest.err >&5
17421 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17422 (exit $ac_status); } && {
17423 test -z "$ac_cxx_werror_flag" ||
17424 test ! -s conftest.err
17425 } && test -s conftest.$ac_objext; then
17426 bakefile_cv_cxx_compiler___DECCXX=yes
17427 else
17428 echo "$as_me: failed program was:" >&5
17429 sed 's/^/| /' conftest.$ac_ext >&5
17430
17431 bakefile_cv_cxx_compiler___DECCXX=no
17432
17433 fi
17434
17435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17436
17437
17438 fi
17439 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
17440 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
17441 if test "x$bakefile_cv_cxx_compiler___DECCXX" = "xyes"; then
17442 :; COMPAQCXX=yes
17443 else
17444 :;
17445 fi
17446 ac_ext=c
17447 ac_cpp='$CPP $CPPFLAGS'
17448 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17449 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17450 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17451
17452
17453
17454 ;;
17455
17456 SunOS)
17457
17458
17459 ac_ext=cpp
17460 ac_cpp='$CXXCPP $CPPFLAGS'
17461 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17462 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17463 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17464
17465 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
17466 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
17467 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
17468 echo $ECHO_N "(cached) $ECHO_C" >&6
17469 else
17470 cat >conftest.$ac_ext <<_ACEOF
17471 /* confdefs.h. */
17472 _ACEOF
17473 cat confdefs.h >>conftest.$ac_ext
17474 cat >>conftest.$ac_ext <<_ACEOF
17475 /* end confdefs.h. */
17476
17477 int
17478 main ()
17479 {
17480
17481 #ifndef __SUNPRO_CC
17482 choke me
17483 #endif
17484
17485 ;
17486 return 0;
17487 }
17488 _ACEOF
17489 rm -f conftest.$ac_objext
17490 if { (ac_try="$ac_compile"
17491 case "(($ac_try" in
17492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17493 *) ac_try_echo=$ac_try;;
17494 esac
17495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17496 (eval "$ac_compile") 2>conftest.er1
17497 ac_status=$?
17498 grep -v '^ *+' conftest.er1 >conftest.err
17499 rm -f conftest.er1
17500 cat conftest.err >&5
17501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17502 (exit $ac_status); } && {
17503 test -z "$ac_cxx_werror_flag" ||
17504 test ! -s conftest.err
17505 } && test -s conftest.$ac_objext; then
17506 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
17507 else
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17510
17511 bakefile_cv_cxx_compiler___SUNPRO_CC=no
17512
17513 fi
17514
17515 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17516
17517
17518 fi
17519 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
17520 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
17521 if test "x$bakefile_cv_cxx_compiler___SUNPRO_CC" = "xyes"; then
17522 :; SUNCXX=yes
17523 else
17524 :;
17525 fi
17526 ac_ext=c
17527 ac_cpp='$CPP $CPPFLAGS'
17528 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17529 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17530 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17531
17532
17533
17534 ;;
17535 esac
17536 fi
17537
17538
17539
17540 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
17541 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
17542 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
17543 { (exit 1); exit 1; }; }
17544 fi
17545
17546 if test "x$SUNCXX" != xyes; then
17547 if test -n "$ac_tool_prefix"; then
17548 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
17549 set dummy ${ac_tool_prefix}ar; ac_word=$2
17550 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17551 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17552 if test "${ac_cv_prog_AR+set}" = set; then
17553 echo $ECHO_N "(cached) $ECHO_C" >&6
17554 else
17555 if test -n "$AR"; then
17556 ac_cv_prog_AR="$AR" # Let the user override the test.
17557 else
17558 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17559 for as_dir in $PATH
17560 do
17561 IFS=$as_save_IFS
17562 test -z "$as_dir" && as_dir=.
17563 for ac_exec_ext in '' $ac_executable_extensions; do
17564 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17565 ac_cv_prog_AR="${ac_tool_prefix}ar"
17566 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17567 break 2
17568 fi
17569 done
17570 done
17571 IFS=$as_save_IFS
17572
17573 fi
17574 fi
17575 AR=$ac_cv_prog_AR
17576 if test -n "$AR"; then
17577 { echo "$as_me:$LINENO: result: $AR" >&5
17578 echo "${ECHO_T}$AR" >&6; }
17579 else
17580 { echo "$as_me:$LINENO: result: no" >&5
17581 echo "${ECHO_T}no" >&6; }
17582 fi
17583
17584
17585 fi
17586 if test -z "$ac_cv_prog_AR"; then
17587 ac_ct_AR=$AR
17588 # Extract the first word of "ar", so it can be a program name with args.
17589 set dummy ar; ac_word=$2
17590 { echo "$as_me:$LINENO: checking for $ac_word" >&5
17591 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
17592 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
17593 echo $ECHO_N "(cached) $ECHO_C" >&6
17594 else
17595 if test -n "$ac_ct_AR"; then
17596 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
17597 else
17598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
17599 for as_dir in $PATH
17600 do
17601 IFS=$as_save_IFS
17602 test -z "$as_dir" && as_dir=.
17603 for ac_exec_ext in '' $ac_executable_extensions; do
17604 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
17605 ac_cv_prog_ac_ct_AR="ar"
17606 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
17607 break 2
17608 fi
17609 done
17610 done
17611 IFS=$as_save_IFS
17612
17613 fi
17614 fi
17615 ac_ct_AR=$ac_cv_prog_ac_ct_AR
17616 if test -n "$ac_ct_AR"; then
17617 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
17618 echo "${ECHO_T}$ac_ct_AR" >&6; }
17619 else
17620 { echo "$as_me:$LINENO: result: no" >&5
17621 echo "${ECHO_T}no" >&6; }
17622 fi
17623
17624 if test "x$ac_ct_AR" = x; then
17625 AR=""
17626 else
17627 case $cross_compiling:$ac_tool_warned in
17628 yes:)
17629 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17630 whose name does not start with the host triplet. If you think this
17631 configuration is useful to you, please write to autoconf@gnu.org." >&5
17632 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17633 whose name does not start with the host triplet. If you think this
17634 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17635 ac_tool_warned=yes ;;
17636 esac
17637 AR=$ac_ct_AR
17638 fi
17639 else
17640 AR="$ac_cv_prog_AR"
17641 fi
17642
17643 if test "x$AR" = "x" ; then
17644 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
17645 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
17646 { (exit 1); exit 1; }; }
17647 fi
17648 fi
17649
17650 retest_macosx_linking=no
17651
17652 #if test "$wxUSE_MAC" = 1; then
17653 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
17654 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
17655 # Implicitly turn on the new --with-macosx-sdk using the default
17656 # SDK which provides the behavior this option has always had.
17657 if test "x$wxUSE_MACOSX_SDK" = "x"; then
17658 { echo "$as_me:$LINENO: WARNING: Enabling default SDK due to --enable-universal_binary." >&5
17659 echo "$as_me: WARNING: Enabling default SDK due to --enable-universal_binary." >&2;}
17660 { echo "$as_me:$LINENO: WARNING: If you don't want this, specify --without-macosx-sdk" >&5
17661 echo "$as_me: WARNING: If you don't want this, specify --without-macosx-sdk" >&2;}
17662 wxUSE_MACOSX_SDK=yes
17663 fi
17664 else
17665 # Complain to user if he specified an argument to --enable-universal_binary
17666 # and also 1) specified --with-macosx-sdk using the default (yes) or
17667 # 2) specified --with-macosx-sdk using a path or 3) specified
17668 # --without-macosx-sdk (no).
17669 if test "x$wxUSE_MACOSX_SDK" != "x" ; then
17670 { { echo "$as_me:$LINENO: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17671 See \`config.log' for more details." >&5
17672 echo "$as_me: error: Please specify the new --with-macosx-sdk=PATH and do not specify an arg to --enable-universal_binary
17673 See \`config.log' for more details." >&2;}
17674 { (exit 1); exit 1; }; }
17675 else
17676 # Put the SDK path into the wxUSE_MACOSX_SDK. We don't have to
17677 # special-case the empty string because the below test simply
17678 # converts "no" to the empty string anyway.
17679 wxUSE_MACOSX_SDK="$wxUSE_UNIVERSAL_BINARY"
17680 { echo "$as_me:$LINENO: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&5
17681 echo "$as_me: WARNING: Please use --with-macosx-sdk=PATH and --enable-universal_binary without an argument" >&2;}
17682 fi
17683 fi
17684 OSX_UNIV_OPTS="-arch ppc -arch i386"
17685 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
17686 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
17687 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
17688 retest_macosx_linking=yes
17689
17690 { echo "$as_me:$LINENO: WARNING: Disabling precompiled headers due to universal binary build." >&5
17691 echo "$as_me: WARNING: Disabling precompiled headers due to universal binary build." >&2;}
17692 bk_use_pch=no
17693 fi
17694 #fi
17695
17696 if test "x$wxUSE_MACOSX_SDK" = "xno"; then
17697 wxUSE_MACOSX_SDK=
17698 elif test "x$wxUSE_MACOSX_SDK" = "xyes"; then
17699 # TODO: Search for most recent SDK and use it.
17700 wxUSE_MACOSX_SDK="/Developer/SDKs/MacOSX10.4u.sdk"
17701 fi
17702
17703
17704 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17705 { echo "$as_me:$LINENO: checking for SDK directory $wxUSE_MACOSX_SDK" >&5
17706 echo $ECHO_N "checking for SDK directory $wxUSE_MACOSX_SDK... $ECHO_C" >&6; }
17707 if ! test -d "$wxUSE_MACOSX_SDK"; then
17708 { { echo "$as_me:$LINENO: error: not found
17709 See \`config.log' for more details." >&5
17710 echo "$as_me: error: not found
17711 See \`config.log' for more details." >&2;}
17712 { (exit 1); exit 1; }; }
17713 else
17714 { echo "$as_me:$LINENO: result: exists" >&5
17715 echo "${ECHO_T}exists" >&6; }
17716 fi
17717 MACOSX_SDK_OPTS="-isysroot $wxUSE_MACOSX_SDK"
17718 eval "CC=\"$CC $MACOSX_SDK_OPTS\""
17719 eval "CXX=\"$CXX $MACOSX_SDK_OPTS\""
17720 eval "LD=\"$LD $MACOSX_SDK_OPTS\""
17721 retest_macosx_linking=yes
17722 fi
17723
17724 if test "x$wxUSE_MACOSX_VERSION_MIN" = "xno"; then
17725 wxUSE_MACOSX_VERSION_MIN=
17726 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "xyes"; then
17727 if test "x$wxUSE_MACOSX_SDK" != "x"; then
17728 { echo "$as_me:$LINENO: checking SDK deployment version" >&5
17729 echo $ECHO_N "checking SDK deployment version... $ECHO_C" >&6; }
17730
17731 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/'`
17732
17733 # If that failed, try again with the new key
17734 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" == "x"; then
17735
17736 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/'`
17737
17738 fi
17739
17740 if test "x$MACOSX_SDK_PLIST_VERSION_MIN" != "x"; then
17741 wxUSE_MACOSX_VERSION_MIN=$MACOSX_SDK_PLIST_VERSION_MIN
17742 { echo "$as_me:$LINENO: result: $wxUSE_MACOSX_VERSION_MIN" >&5
17743 echo "${ECHO_T}$wxUSE_MACOSX_VERSION_MIN" >&6; }
17744 else
17745 { echo "$as_me:$LINENO: WARNING: Could not determine deployment target from SDKSettings.plist" >&5
17746 echo "$as_me: WARNING: Could not determine deployment target from SDKSettings.plist" >&2;}
17747 wxUSE_MACOSX_VERSION_MIN=
17748 fi
17749 else
17750 wxUSE_MACOSX_VERSION_MIN=
17751 fi
17752 elif test "x$wxUSE_MACOSX_VERSION_MIN" = "x"; then
17753 if test "$wxUSE_MAC" = 1; then
17754 # otherwise configure stops on leopard for universal_binary
17755 wxUSE_MACOSX_VERSION_MIN=10.4
17756 fi
17757 fi
17758
17759 if test "x$wxUSE_MACOSX_VERSION_MIN" != "x"; then
17760 MACOSX_VERSION_MIN_OPTS="-mmacosx-version-min=$wxUSE_MACOSX_VERSION_MIN"
17761 eval "CC=\"$CC $MACOSX_VERSION_MIN_OPTS\""
17762 eval "CXX=\"$CXX $MACOSX_VERSION_MIN_OPTS\""
17763 eval "LD=\"$LD $MACOSX_VERSION_MIN_OPTS\""
17764 retest_macosx_linking=yes
17765 fi
17766
17767 if test "x$retest_macosx_linking" = "xyes"; then
17768 ac_ext=c
17769 ac_cpp='$CPP $CPPFLAGS'
17770 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17771 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17772 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17773
17774 { echo "$as_me:$LINENO: checking if C compiler works with SDK/version options" >&5
17775 echo $ECHO_N "checking if C compiler works with SDK/version options... $ECHO_C" >&6; }
17776 cat >conftest.$ac_ext <<_ACEOF
17777 /* confdefs.h. */
17778 _ACEOF
17779 cat confdefs.h >>conftest.$ac_ext
17780 cat >>conftest.$ac_ext <<_ACEOF
17781 /* end confdefs.h. */
17782
17783 int
17784 main ()
17785 {
17786
17787 ;
17788 return 0;
17789 }
17790 _ACEOF
17791 rm -f conftest.$ac_objext conftest$ac_exeext
17792 if { (ac_try="$ac_link"
17793 case "(($ac_try" in
17794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17795 *) ac_try_echo=$ac_try;;
17796 esac
17797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17798 (eval "$ac_link") 2>conftest.er1
17799 ac_status=$?
17800 grep -v '^ *+' conftest.er1 >conftest.err
17801 rm -f conftest.er1
17802 cat conftest.err >&5
17803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17804 (exit $ac_status); } && {
17805 test -z "$ac_c_werror_flag" ||
17806 test ! -s conftest.err
17807 } && test -s conftest$ac_exeext &&
17808 $as_test_x conftest$ac_exeext; then
17809 { echo "$as_me:$LINENO: result: yes" >&5
17810 echo "${ECHO_T}yes" >&6; }
17811 else
17812 echo "$as_me: failed program was:" >&5
17813 sed 's/^/| /' conftest.$ac_ext >&5
17814
17815 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17816 See \`config.log' for more details." >&5
17817 echo "$as_me: error: no. Try a different SDK
17818 See \`config.log' for more details." >&2;}
17819 { (exit 1); exit 1; }; }; exit 1
17820 fi
17821
17822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17823 conftest$ac_exeext conftest.$ac_ext
17824 ac_ext=c
17825 ac_cpp='$CPP $CPPFLAGS'
17826 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17827 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17828 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17829
17830
17831 ac_ext=cpp
17832 ac_cpp='$CXXCPP $CPPFLAGS'
17833 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17834 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17835 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
17836
17837 { echo "$as_me:$LINENO: checking if C++ compiler works with SDK/version options" >&5
17838 echo $ECHO_N "checking if C++ compiler works with SDK/version options... $ECHO_C" >&6; }
17839 cat >conftest.$ac_ext <<_ACEOF
17840 /* confdefs.h. */
17841 _ACEOF
17842 cat confdefs.h >>conftest.$ac_ext
17843 cat >>conftest.$ac_ext <<_ACEOF
17844 /* end confdefs.h. */
17845
17846 int
17847 main ()
17848 {
17849
17850 ;
17851 return 0;
17852 }
17853 _ACEOF
17854 rm -f conftest.$ac_objext conftest$ac_exeext
17855 if { (ac_try="$ac_link"
17856 case "(($ac_try" in
17857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17858 *) ac_try_echo=$ac_try;;
17859 esac
17860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17861 (eval "$ac_link") 2>conftest.er1
17862 ac_status=$?
17863 grep -v '^ *+' conftest.er1 >conftest.err
17864 rm -f conftest.er1
17865 cat conftest.err >&5
17866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17867 (exit $ac_status); } && {
17868 test -z "$ac_cxx_werror_flag" ||
17869 test ! -s conftest.err
17870 } && test -s conftest$ac_exeext &&
17871 $as_test_x conftest$ac_exeext; then
17872 { echo "$as_me:$LINENO: result: yes" >&5
17873 echo "${ECHO_T}yes" >&6; }
17874 else
17875 echo "$as_me: failed program was:" >&5
17876 sed 's/^/| /' conftest.$ac_ext >&5
17877
17878 { { echo "$as_me:$LINENO: error: no. Try a different SDK
17879 See \`config.log' for more details." >&5
17880 echo "$as_me: error: no. Try a different SDK
17881 See \`config.log' for more details." >&2;}
17882 { (exit 1); exit 1; }; }; exit 1
17883 fi
17884
17885 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17886 conftest$ac_exeext conftest.$ac_ext
17887 ac_ext=c
17888 ac_cpp='$CPP $CPPFLAGS'
17889 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
17890 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
17891 ac_compiler_gnu=$ac_cv_c_compiler_gnu
17892
17893 fi
17894
17895
17896 case "${host}" in
17897
17898 *-*-darwin* )
17899 INSTALL_PROGRAM="cp -fp"
17900 INSTALL_DATA="cp -fp"
17901 ;;
17902 *)
17903 ;;
17904 esac
17905
17906
17907 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17908 CXXFLAGS="-qunique $CXXFLAGS"
17909 fi
17910
17911 case "${host}" in
17912 powerpc-*-darwin* )
17913 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17914 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17915 cat >conftest.$ac_ext <<_ACEOF
17916 /* confdefs.h. */
17917 _ACEOF
17918 cat confdefs.h >>conftest.$ac_ext
17919 cat >>conftest.$ac_ext <<_ACEOF
17920 /* end confdefs.h. */
17921
17922 int
17923 main ()
17924 {
17925 #ifndef __POWERPC__
17926 choke me for lack of PowerPC
17927 #endif
17928
17929 ;
17930 return 0;
17931 }
17932 _ACEOF
17933 rm -f conftest.$ac_objext
17934 if { (ac_try="$ac_compile"
17935 case "(($ac_try" in
17936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17937 *) ac_try_echo=$ac_try;;
17938 esac
17939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17940 (eval "$ac_compile") 2>conftest.er1
17941 ac_status=$?
17942 grep -v '^ *+' conftest.er1 >conftest.err
17943 rm -f conftest.er1
17944 cat conftest.err >&5
17945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17946 (exit $ac_status); } && {
17947 test -z "$ac_c_werror_flag" ||
17948 test ! -s conftest.err
17949 } && test -s conftest.$ac_objext; then
17950 { echo "$as_me:$LINENO: result: yes" >&5
17951 echo "${ECHO_T}yes" >&6; }
17952 else
17953 echo "$as_me: failed program was:" >&5
17954 sed 's/^/| /' conftest.$ac_ext >&5
17955
17956 { echo "$as_me:$LINENO: result: no" >&5
17957 echo "${ECHO_T}no" >&6; }
17958 cat >>confdefs.h <<\_ACEOF
17959 #define __POWERPC__ 1
17960 _ACEOF
17961
17962
17963 fi
17964
17965 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17966 ;;
17967 esac
17968
17969 case "${host}" in
17970 *-*-darwin* )
17971 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17972 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17973 cat >conftest.$ac_ext <<_ACEOF
17974 /* confdefs.h. */
17975 _ACEOF
17976 cat confdefs.h >>conftest.$ac_ext
17977 cat >>conftest.$ac_ext <<_ACEOF
17978 /* end confdefs.h. */
17979 #include <CoreFoundation/CFBase.h>
17980
17981 int
17982 main ()
17983 {
17984
17985 ;
17986 return 0;
17987 }
17988 _ACEOF
17989 rm -f conftest.$ac_objext
17990 if { (ac_try="$ac_compile"
17991 case "(($ac_try" in
17992 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17993 *) ac_try_echo=$ac_try;;
17994 esac
17995 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17996 (eval "$ac_compile") 2>conftest.er1
17997 ac_status=$?
17998 grep -v '^ *+' conftest.er1 >conftest.err
17999 rm -f conftest.er1
18000 cat conftest.err >&5
18001 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18002 (exit $ac_status); } && {
18003 test -z "$ac_c_werror_flag" ||
18004 test ! -s conftest.err
18005 } && test -s conftest.$ac_objext; then
18006 { echo "$as_me:$LINENO: result: yes" >&5
18007 echo "${ECHO_T}yes" >&6; }
18008 else
18009 echo "$as_me: failed program was:" >&5
18010 sed 's/^/| /' conftest.$ac_ext >&5
18011
18012 { echo "$as_me:$LINENO: result: no" >&5
18013 echo "${ECHO_T}no" >&6; }
18014 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
18015 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
18016 cat >conftest.$ac_ext <<_ACEOF
18017 /* confdefs.h. */
18018 _ACEOF
18019 cat confdefs.h >>conftest.$ac_ext
18020 cat >>conftest.$ac_ext <<_ACEOF
18021 /* end confdefs.h. */
18022 #define __CF_USE_FRAMEWORK_INCLUDES__
18023 #include <CoreFoundation/CFBase.h>
18024
18025 int
18026 main ()
18027 {
18028
18029 ;
18030 return 0;
18031 }
18032 _ACEOF
18033 rm -f conftest.$ac_objext
18034 if { (ac_try="$ac_compile"
18035 case "(($ac_try" in
18036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18037 *) ac_try_echo=$ac_try;;
18038 esac
18039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18040 (eval "$ac_compile") 2>conftest.er1
18041 ac_status=$?
18042 grep -v '^ *+' conftest.er1 >conftest.err
18043 rm -f conftest.er1
18044 cat conftest.err >&5
18045 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18046 (exit $ac_status); } && {
18047 test -z "$ac_c_werror_flag" ||
18048 test ! -s conftest.err
18049 } && test -s conftest.$ac_objext; then
18050 { echo "$as_me:$LINENO: result: yes" >&5
18051 echo "${ECHO_T}yes" >&6; }
18052 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
18053 else
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18056
18057 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
18058 See \`config.log' for more details." >&5
18059 echo "$as_me: error: no. CoreFoundation not available.
18060 See \`config.log' for more details." >&2;}
18061 { (exit 1); exit 1; }; }
18062
18063 fi
18064
18065 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18066
18067
18068 fi
18069
18070 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18071 ;;
18072 esac
18073
18074 wants_win32=0
18075 doesnt_want_win32=0
18076 case "${host}" in
18077 *-*-cygwin*)
18078 if test "$wxUSE_MSW" = 1 ; then
18079 wants_win32=1
18080 else
18081 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
18082 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
18083 if test "${wx_cv_nocygwin+set}" = set; then
18084 echo $ECHO_N "(cached) $ECHO_C" >&6
18085 else
18086
18087 cat >conftest.$ac_ext <<_ACEOF
18088 /* confdefs.h. */
18089 _ACEOF
18090 cat confdefs.h >>conftest.$ac_ext
18091 cat >>conftest.$ac_ext <<_ACEOF
18092 /* end confdefs.h. */
18093
18094 int
18095 main ()
18096 {
18097
18098 #ifdef __MINGW32__
18099 choke me
18100 #endif
18101
18102 ;
18103 return 0;
18104 }
18105 _ACEOF
18106 rm -f conftest.$ac_objext
18107 if { (ac_try="$ac_compile"
18108 case "(($ac_try" in
18109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18110 *) ac_try_echo=$ac_try;;
18111 esac
18112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18113 (eval "$ac_compile") 2>conftest.er1
18114 ac_status=$?
18115 grep -v '^ *+' conftest.er1 >conftest.err
18116 rm -f conftest.er1
18117 cat conftest.err >&5
18118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18119 (exit $ac_status); } && {
18120 test -z "$ac_c_werror_flag" ||
18121 test ! -s conftest.err
18122 } && test -s conftest.$ac_objext; then
18123 wx_cv_nocygwin=no
18124 else
18125 echo "$as_me: failed program was:" >&5
18126 sed 's/^/| /' conftest.$ac_ext >&5
18127
18128 wx_cv_nocygwin=yes
18129
18130 fi
18131
18132 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18133
18134
18135 fi
18136 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
18137 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
18138
18139 if test "$wx_cv_nocygwin" = "yes"; then
18140 wants_win32=1
18141 else
18142 doesnt_want_win32=1
18143 fi
18144 fi
18145 if test "$wants_win32" = 1 ; then
18146 BAKEFILE_FORCE_PLATFORM=win32
18147 fi
18148 ;;
18149 *-*-mingw*)
18150 wants_win32=1
18151 ;;
18152 esac
18153
18154 if test "$wxUSE_WINE" = "yes"; then
18155 wants_win32=1
18156 LDFLAGS_GUI="-mwindows"
18157 fi
18158
18159 if test "$wants_win32" = 1 ; then
18160 USE_UNIX=0
18161 USE_WIN32=1
18162 cat >>confdefs.h <<\_ACEOF
18163 #define __WIN32__ 1
18164 _ACEOF
18165
18166 cat >>confdefs.h <<\_ACEOF
18167 #define __WIN95__ 1
18168 _ACEOF
18169
18170 cat >>confdefs.h <<\_ACEOF
18171 #define __WINDOWS__ 1
18172 _ACEOF
18173
18174 cat >>confdefs.h <<\_ACEOF
18175 #define __GNUWIN32__ 1
18176 _ACEOF
18177
18178 cat >>confdefs.h <<\_ACEOF
18179 #define STRICT 1
18180 _ACEOF
18181
18182 fi
18183 if test "$doesnt_want_win32" = 1 ; then
18184 USE_UNIX=1
18185 USE_WIN32=0
18186 fi
18187
18188 if test "$USE_UNIX" = 1 ; then
18189 wxUSE_UNIX=yes
18190 cat >>confdefs.h <<\_ACEOF
18191 #define __UNIX__ 1
18192 _ACEOF
18193
18194 fi
18195
18196 case "${host}" in
18197 *-pc-os2_emx | *-pc-os2-emx )
18198 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
18199 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
18200 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
18201 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
18202 echo $ECHO_N "(cached) $ECHO_C" >&6
18203 else
18204 ac_check_lib_save_LIBS=$LIBS
18205 LIBS="-lcExt $LIBS"
18206 cat >conftest.$ac_ext <<_ACEOF
18207 /* confdefs.h. */
18208 _ACEOF
18209 cat confdefs.h >>conftest.$ac_ext
18210 cat >>conftest.$ac_ext <<_ACEOF
18211 /* end confdefs.h. */
18212
18213 /* Override any GCC internal prototype to avoid an error.
18214 Use char because int might match the return type of a GCC
18215 builtin and then its argument prototype would still apply. */
18216 #ifdef __cplusplus
18217 extern "C"
18218 #endif
18219 char drand48 ();
18220 int
18221 main ()
18222 {
18223 return drand48 ();
18224 ;
18225 return 0;
18226 }
18227 _ACEOF
18228 rm -f conftest.$ac_objext conftest$ac_exeext
18229 if { (ac_try="$ac_link"
18230 case "(($ac_try" in
18231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18232 *) ac_try_echo=$ac_try;;
18233 esac
18234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18235 (eval "$ac_link") 2>conftest.er1
18236 ac_status=$?
18237 grep -v '^ *+' conftest.er1 >conftest.err
18238 rm -f conftest.er1
18239 cat conftest.err >&5
18240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18241 (exit $ac_status); } && {
18242 test -z "$ac_c_werror_flag" ||
18243 test ! -s conftest.err
18244 } && test -s conftest$ac_exeext &&
18245 $as_test_x conftest$ac_exeext; then
18246 ac_cv_lib_cExt_drand48=yes
18247 else
18248 echo "$as_me: failed program was:" >&5
18249 sed 's/^/| /' conftest.$ac_ext >&5
18250
18251 ac_cv_lib_cExt_drand48=no
18252 fi
18253
18254 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18255 conftest$ac_exeext conftest.$ac_ext
18256 LIBS=$ac_check_lib_save_LIBS
18257 fi
18258 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
18259 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
18260 if test $ac_cv_lib_cExt_drand48 = yes; then
18261 LIBS="$LIBS -lcExt"
18262 fi
18263
18264 else
18265 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
18266 fi
18267 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
18268 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
18269 if test "${wx_cv_gccversion+set}" = set; then
18270 echo $ECHO_N "(cached) $ECHO_C" >&6
18271 else
18272
18273 if test "$cross_compiling" = yes; then
18274 wx_cv_gccversion="EMX2"
18275
18276 else
18277 cat >conftest.$ac_ext <<_ACEOF
18278 /* confdefs.h. */
18279 _ACEOF
18280 cat confdefs.h >>conftest.$ac_ext
18281 cat >>conftest.$ac_ext <<_ACEOF
18282 /* end confdefs.h. */
18283
18284 #include <stdio.h>
18285
18286 int main()
18287 {
18288 FILE *f=fopen("conftestval", "w");
18289 if (!f) exit(1);
18290 fprintf(f,
18291 #if (__GNUC__ < 3)
18292 "EMX2"
18293 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
18294 "EMX3"
18295 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
18296 "Innotek5"
18297 #else
18298 "Innotek6"
18299 #endif
18300 );
18301 exit(0);
18302 }
18303
18304 _ACEOF
18305 rm -f conftest$ac_exeext
18306 if { (ac_try="$ac_link"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18310 esac
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_link") 2>&5
18313 ac_status=$?
18314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18315 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18316 { (case "(($ac_try" in
18317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18318 *) ac_try_echo=$ac_try;;
18319 esac
18320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18321 (eval "$ac_try") 2>&5
18322 ac_status=$?
18323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18324 (exit $ac_status); }; }; then
18325 wx_cv_gccversion=`cat conftestval`
18326 else
18327 echo "$as_me: program exited with status $ac_status" >&5
18328 echo "$as_me: failed program was:" >&5
18329 sed 's/^/| /' conftest.$ac_ext >&5
18330
18331 ( exit $ac_status )
18332 wx_cv_gccversion="EMX2"
18333 fi
18334 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18335 fi
18336
18337
18338
18339 fi
18340 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
18341 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
18342 if test "$wx_cv_gccversion" = "EMX2"; then
18343 LIBS="$LIBS -lstdcpp"
18344 LDFLAGS="$LDFLAGS -Zsysv-signals"
18345 else
18346 if test "$wx_cv_gccversion" = "EMX3"; then
18347 LIBS="$LIBS -lstdcxx -lgcc"
18348 LDFLAGS="$LDFLAGS -Zsysv-signals"
18349 else
18350 LIBS="$LIBS -lstdc++"
18351 fi
18352 fi
18353 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
18354 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
18355 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
18356 wxUSE_OMF=yes
18357 enable_omf=yes
18358 fi
18359 ;;
18360 *)
18361
18362 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
18363 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
18364 if test "${ac_cv_string_strcasecmp+set}" = set; then
18365 echo $ECHO_N "(cached) $ECHO_C" >&6
18366 else
18367
18368 cat >conftest.$ac_ext <<_ACEOF
18369 /* confdefs.h. */
18370 _ACEOF
18371 cat confdefs.h >>conftest.$ac_ext
18372 cat >>conftest.$ac_ext <<_ACEOF
18373 /* end confdefs.h. */
18374
18375 #include <string.h>
18376
18377 int
18378 main ()
18379 {
18380
18381 strcasecmp("foo", "bar");
18382
18383 ;
18384 return 0;
18385 }
18386 _ACEOF
18387 rm -f conftest.$ac_objext conftest$ac_exeext
18388 if { (ac_try="$ac_link"
18389 case "(($ac_try" in
18390 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18391 *) ac_try_echo=$ac_try;;
18392 esac
18393 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18394 (eval "$ac_link") 2>conftest.er1
18395 ac_status=$?
18396 grep -v '^ *+' conftest.er1 >conftest.err
18397 rm -f conftest.er1
18398 cat conftest.err >&5
18399 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18400 (exit $ac_status); } && {
18401 test -z "$ac_c_werror_flag" ||
18402 test ! -s conftest.err
18403 } && test -s conftest$ac_exeext &&
18404 $as_test_x conftest$ac_exeext; then
18405 ac_cv_string_strcasecmp=yes
18406 else
18407 echo "$as_me: failed program was:" >&5
18408 sed 's/^/| /' conftest.$ac_ext >&5
18409
18410 ac_cv_string_strcasecmp=no
18411
18412 fi
18413
18414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18415 conftest$ac_exeext conftest.$ac_ext
18416
18417 fi
18418 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
18419 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
18420
18421 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
18422 cat >>confdefs.h <<\_ACEOF
18423 #define HAVE_STRCASECMP_IN_STRING_H 1
18424 _ACEOF
18425
18426 else
18427 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
18428 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
18429 if test "${ac_cv_strings_strcasecmp+set}" = set; then
18430 echo $ECHO_N "(cached) $ECHO_C" >&6
18431 else
18432
18433 cat >conftest.$ac_ext <<_ACEOF
18434 /* confdefs.h. */
18435 _ACEOF
18436 cat confdefs.h >>conftest.$ac_ext
18437 cat >>conftest.$ac_ext <<_ACEOF
18438 /* end confdefs.h. */
18439
18440 #include <strings.h>
18441
18442 int
18443 main ()
18444 {
18445
18446 strcasecmp("foo", "bar");
18447
18448 ;
18449 return 0;
18450 }
18451 _ACEOF
18452 rm -f conftest.$ac_objext conftest$ac_exeext
18453 if { (ac_try="$ac_link"
18454 case "(($ac_try" in
18455 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18456 *) ac_try_echo=$ac_try;;
18457 esac
18458 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18459 (eval "$ac_link") 2>conftest.er1
18460 ac_status=$?
18461 grep -v '^ *+' conftest.er1 >conftest.err
18462 rm -f conftest.er1
18463 cat conftest.err >&5
18464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18465 (exit $ac_status); } && {
18466 test -z "$ac_c_werror_flag" ||
18467 test ! -s conftest.err
18468 } && test -s conftest$ac_exeext &&
18469 $as_test_x conftest$ac_exeext; then
18470 ac_cv_strings_strcasecmp=yes
18471 else
18472 echo "$as_me: failed program was:" >&5
18473 sed 's/^/| /' conftest.$ac_ext >&5
18474
18475 ac_cv_strings_strcasecmp=no
18476
18477 fi
18478
18479 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
18480 conftest$ac_exeext conftest.$ac_ext
18481
18482 fi
18483 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
18484 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
18485
18486 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
18487 cat >>confdefs.h <<\_ACEOF
18488 #define HAVE_STRCASECMP_IN_STRINGS_H 1
18489 _ACEOF
18490
18491 else
18492 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
18493 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
18494 { (exit 1); exit 1; }; }
18495 fi
18496 fi
18497
18498 ;;
18499 esac
18500
18501
18502 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
18503 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
18504 if test "${ac_cv_header_stdc+set}" = set; then
18505 echo $ECHO_N "(cached) $ECHO_C" >&6
18506 else
18507 cat >conftest.$ac_ext <<_ACEOF
18508 /* confdefs.h. */
18509 _ACEOF
18510 cat confdefs.h >>conftest.$ac_ext
18511 cat >>conftest.$ac_ext <<_ACEOF
18512 /* end confdefs.h. */
18513 #include <stdlib.h>
18514 #include <stdarg.h>
18515 #include <string.h>
18516 #include <float.h>
18517
18518 int
18519 main ()
18520 {
18521
18522 ;
18523 return 0;
18524 }
18525 _ACEOF
18526 rm -f conftest.$ac_objext
18527 if { (ac_try="$ac_compile"
18528 case "(($ac_try" in
18529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18530 *) ac_try_echo=$ac_try;;
18531 esac
18532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18533 (eval "$ac_compile") 2>conftest.er1
18534 ac_status=$?
18535 grep -v '^ *+' conftest.er1 >conftest.err
18536 rm -f conftest.er1
18537 cat conftest.err >&5
18538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18539 (exit $ac_status); } && {
18540 test -z "$ac_c_werror_flag" ||
18541 test ! -s conftest.err
18542 } && test -s conftest.$ac_objext; then
18543 ac_cv_header_stdc=yes
18544 else
18545 echo "$as_me: failed program was:" >&5
18546 sed 's/^/| /' conftest.$ac_ext >&5
18547
18548 ac_cv_header_stdc=no
18549 fi
18550
18551 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18552
18553 if test $ac_cv_header_stdc = yes; then
18554 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
18555 cat >conftest.$ac_ext <<_ACEOF
18556 /* confdefs.h. */
18557 _ACEOF
18558 cat confdefs.h >>conftest.$ac_ext
18559 cat >>conftest.$ac_ext <<_ACEOF
18560 /* end confdefs.h. */
18561 #include <string.h>
18562
18563 _ACEOF
18564 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18565 $EGREP "memchr" >/dev/null 2>&1; then
18566 :
18567 else
18568 ac_cv_header_stdc=no
18569 fi
18570 rm -f conftest*
18571
18572 fi
18573
18574 if test $ac_cv_header_stdc = yes; then
18575 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
18576 cat >conftest.$ac_ext <<_ACEOF
18577 /* confdefs.h. */
18578 _ACEOF
18579 cat confdefs.h >>conftest.$ac_ext
18580 cat >>conftest.$ac_ext <<_ACEOF
18581 /* end confdefs.h. */
18582 #include <stdlib.h>
18583
18584 _ACEOF
18585 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18586 $EGREP "free" >/dev/null 2>&1; then
18587 :
18588 else
18589 ac_cv_header_stdc=no
18590 fi
18591 rm -f conftest*
18592
18593 fi
18594
18595 if test $ac_cv_header_stdc = yes; then
18596 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
18597 if test "$cross_compiling" = yes; then
18598 :
18599 else
18600 cat >conftest.$ac_ext <<_ACEOF
18601 /* confdefs.h. */
18602 _ACEOF
18603 cat confdefs.h >>conftest.$ac_ext
18604 cat >>conftest.$ac_ext <<_ACEOF
18605 /* end confdefs.h. */
18606 #include <ctype.h>
18607 #include <stdlib.h>
18608 #if ((' ' & 0x0FF) == 0x020)
18609 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
18610 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
18611 #else
18612 # define ISLOWER(c) \
18613 (('a' <= (c) && (c) <= 'i') \
18614 || ('j' <= (c) && (c) <= 'r') \
18615 || ('s' <= (c) && (c) <= 'z'))
18616 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
18617 #endif
18618
18619 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
18620 int
18621 main ()
18622 {
18623 int i;
18624 for (i = 0; i < 256; i++)
18625 if (XOR (islower (i), ISLOWER (i))
18626 || toupper (i) != TOUPPER (i))
18627 return 2;
18628 return 0;
18629 }
18630 _ACEOF
18631 rm -f conftest$ac_exeext
18632 if { (ac_try="$ac_link"
18633 case "(($ac_try" in
18634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18635 *) ac_try_echo=$ac_try;;
18636 esac
18637 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18638 (eval "$ac_link") 2>&5
18639 ac_status=$?
18640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18641 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18642 { (case "(($ac_try" in
18643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18644 *) ac_try_echo=$ac_try;;
18645 esac
18646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18647 (eval "$ac_try") 2>&5
18648 ac_status=$?
18649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18650 (exit $ac_status); }; }; then
18651 :
18652 else
18653 echo "$as_me: program exited with status $ac_status" >&5
18654 echo "$as_me: failed program was:" >&5
18655 sed 's/^/| /' conftest.$ac_ext >&5
18656
18657 ( exit $ac_status )
18658 ac_cv_header_stdc=no
18659 fi
18660 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18661 fi
18662
18663
18664 fi
18665 fi
18666 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
18667 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
18668 if test $ac_cv_header_stdc = yes; then
18669
18670 cat >>confdefs.h <<\_ACEOF
18671 #define STDC_HEADERS 1
18672 _ACEOF
18673
18674 fi
18675
18676 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
18677
18678
18679
18680
18681
18682
18683
18684
18685
18686 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
18687 inttypes.h stdint.h unistd.h
18688 do
18689 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18690 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18691 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18692 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18693 echo $ECHO_N "(cached) $ECHO_C" >&6
18694 else
18695 cat >conftest.$ac_ext <<_ACEOF
18696 /* confdefs.h. */
18697 _ACEOF
18698 cat confdefs.h >>conftest.$ac_ext
18699 cat >>conftest.$ac_ext <<_ACEOF
18700 /* end confdefs.h. */
18701 $ac_includes_default
18702
18703 #include <$ac_header>
18704 _ACEOF
18705 rm -f conftest.$ac_objext
18706 if { (ac_try="$ac_compile"
18707 case "(($ac_try" in
18708 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18709 *) ac_try_echo=$ac_try;;
18710 esac
18711 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18712 (eval "$ac_compile") 2>conftest.er1
18713 ac_status=$?
18714 grep -v '^ *+' conftest.er1 >conftest.err
18715 rm -f conftest.er1
18716 cat conftest.err >&5
18717 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18718 (exit $ac_status); } && {
18719 test -z "$ac_c_werror_flag" ||
18720 test ! -s conftest.err
18721 } && test -s conftest.$ac_objext; then
18722 eval "$as_ac_Header=yes"
18723 else
18724 echo "$as_me: failed program was:" >&5
18725 sed 's/^/| /' conftest.$ac_ext >&5
18726
18727 eval "$as_ac_Header=no"
18728 fi
18729
18730 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18731 fi
18732 ac_res=`eval echo '${'$as_ac_Header'}'`
18733 { echo "$as_me:$LINENO: result: $ac_res" >&5
18734 echo "${ECHO_T}$ac_res" >&6; }
18735 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18736 cat >>confdefs.h <<_ACEOF
18737 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18738 _ACEOF
18739
18740 fi
18741
18742 done
18743
18744
18745
18746
18747 for ac_header in langinfo.h wchar.h
18748 do
18749 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18750 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18751 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18752 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18753 echo $ECHO_N "(cached) $ECHO_C" >&6
18754 else
18755 cat >conftest.$ac_ext <<_ACEOF
18756 /* confdefs.h. */
18757 _ACEOF
18758 cat confdefs.h >>conftest.$ac_ext
18759 cat >>conftest.$ac_ext <<_ACEOF
18760 /* end confdefs.h. */
18761 $ac_includes_default
18762
18763 #include <$ac_header>
18764 _ACEOF
18765 rm -f conftest.$ac_objext
18766 if { (ac_try="$ac_compile"
18767 case "(($ac_try" in
18768 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18769 *) ac_try_echo=$ac_try;;
18770 esac
18771 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18772 (eval "$ac_compile") 2>conftest.er1
18773 ac_status=$?
18774 grep -v '^ *+' conftest.er1 >conftest.err
18775 rm -f conftest.er1
18776 cat conftest.err >&5
18777 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18778 (exit $ac_status); } && {
18779 test -z "$ac_c_werror_flag" ||
18780 test ! -s conftest.err
18781 } && test -s conftest.$ac_objext; then
18782 eval "$as_ac_Header=yes"
18783 else
18784 echo "$as_me: failed program was:" >&5
18785 sed 's/^/| /' conftest.$ac_ext >&5
18786
18787 eval "$as_ac_Header=no"
18788 fi
18789
18790 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18791 fi
18792 ac_res=`eval echo '${'$as_ac_Header'}'`
18793 { echo "$as_me:$LINENO: result: $ac_res" >&5
18794 echo "${ECHO_T}$ac_res" >&6; }
18795 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18796 cat >>confdefs.h <<_ACEOF
18797 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18798 _ACEOF
18799
18800 fi
18801
18802 done
18803
18804
18805 if test "$ac_cv_header_wchar_h" != "yes"; then
18806
18807 for ac_header in wcstr.h
18808 do
18809 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18810 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18811 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18812 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18813 echo $ECHO_N "(cached) $ECHO_C" >&6
18814 else
18815 cat >conftest.$ac_ext <<_ACEOF
18816 /* confdefs.h. */
18817 _ACEOF
18818 cat confdefs.h >>conftest.$ac_ext
18819 cat >>conftest.$ac_ext <<_ACEOF
18820 /* end confdefs.h. */
18821 $ac_includes_default
18822
18823 #include <$ac_header>
18824 _ACEOF
18825 rm -f conftest.$ac_objext
18826 if { (ac_try="$ac_compile"
18827 case "(($ac_try" in
18828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18829 *) ac_try_echo=$ac_try;;
18830 esac
18831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18832 (eval "$ac_compile") 2>conftest.er1
18833 ac_status=$?
18834 grep -v '^ *+' conftest.er1 >conftest.err
18835 rm -f conftest.er1
18836 cat conftest.err >&5
18837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18838 (exit $ac_status); } && {
18839 test -z "$ac_c_werror_flag" ||
18840 test ! -s conftest.err
18841 } && test -s conftest.$ac_objext; then
18842 eval "$as_ac_Header=yes"
18843 else
18844 echo "$as_me: failed program was:" >&5
18845 sed 's/^/| /' conftest.$ac_ext >&5
18846
18847 eval "$as_ac_Header=no"
18848 fi
18849
18850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18851 fi
18852 ac_res=`eval echo '${'$as_ac_Header'}'`
18853 { echo "$as_me:$LINENO: result: $ac_res" >&5
18854 echo "${ECHO_T}$ac_res" >&6; }
18855 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18856 cat >>confdefs.h <<_ACEOF
18857 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18858 _ACEOF
18859
18860 fi
18861
18862 done
18863
18864 fi
18865
18866 case "${host}" in
18867 *-pc-os2_emx | *-pc-os2-emx )
18868 if test $ac_cv_header_langinfo_h = "yes" \
18869 -a \( "$wx_cv_gccversion" = "EMX2" \
18870 -o "$wx_cv_gccversion" = "EMX3" \
18871 -o "$wx_cv_gccversion" = "Innotek5" \); then
18872 LIBS="$LIBS -lintl"
18873 fi
18874 ;;
18875 esac
18876
18877 if test "$USE_UNIX" = 1 ; then
18878
18879 for ac_header in sys/select.h
18880 do
18881 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18882 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18883 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18884 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18885 echo $ECHO_N "(cached) $ECHO_C" >&6
18886 else
18887 cat >conftest.$ac_ext <<_ACEOF
18888 /* confdefs.h. */
18889 _ACEOF
18890 cat confdefs.h >>conftest.$ac_ext
18891 cat >>conftest.$ac_ext <<_ACEOF
18892 /* end confdefs.h. */
18893 $ac_includes_default
18894
18895 #include <$ac_header>
18896 _ACEOF
18897 rm -f conftest.$ac_objext
18898 if { (ac_try="$ac_compile"
18899 case "(($ac_try" in
18900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18901 *) ac_try_echo=$ac_try;;
18902 esac
18903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18904 (eval "$ac_compile") 2>conftest.er1
18905 ac_status=$?
18906 grep -v '^ *+' conftest.er1 >conftest.err
18907 rm -f conftest.er1
18908 cat conftest.err >&5
18909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18910 (exit $ac_status); } && {
18911 test -z "$ac_c_werror_flag" ||
18912 test ! -s conftest.err
18913 } && test -s conftest.$ac_objext; then
18914 eval "$as_ac_Header=yes"
18915 else
18916 echo "$as_me: failed program was:" >&5
18917 sed 's/^/| /' conftest.$ac_ext >&5
18918
18919 eval "$as_ac_Header=no"
18920 fi
18921
18922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18923 fi
18924 ac_res=`eval echo '${'$as_ac_Header'}'`
18925 { echo "$as_me:$LINENO: result: $ac_res" >&5
18926 echo "${ECHO_T}$ac_res" >&6; }
18927 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18928 cat >>confdefs.h <<_ACEOF
18929 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18930 _ACEOF
18931
18932 fi
18933
18934 done
18935
18936 fi
18937
18938
18939 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18940 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18941 if test "${ac_cv_c_const+set}" = set; then
18942 echo $ECHO_N "(cached) $ECHO_C" >&6
18943 else
18944 cat >conftest.$ac_ext <<_ACEOF
18945 /* confdefs.h. */
18946 _ACEOF
18947 cat confdefs.h >>conftest.$ac_ext
18948 cat >>conftest.$ac_ext <<_ACEOF
18949 /* end confdefs.h. */
18950
18951 int
18952 main ()
18953 {
18954 /* FIXME: Include the comments suggested by Paul. */
18955 #ifndef __cplusplus
18956 /* Ultrix mips cc rejects this. */
18957 typedef int charset[2];
18958 const charset cs;
18959 /* SunOS 4.1.1 cc rejects this. */
18960 char const *const *pcpcc;
18961 char **ppc;
18962 /* NEC SVR4.0.2 mips cc rejects this. */
18963 struct point {int x, y;};
18964 static struct point const zero = {0,0};
18965 /* AIX XL C 1.02.0.0 rejects this.
18966 It does not let you subtract one const X* pointer from another in
18967 an arm of an if-expression whose if-part is not a constant
18968 expression */
18969 const char *g = "string";
18970 pcpcc = &g + (g ? g-g : 0);
18971 /* HPUX 7.0 cc rejects these. */
18972 ++pcpcc;
18973 ppc = (char**) pcpcc;
18974 pcpcc = (char const *const *) ppc;
18975 { /* SCO 3.2v4 cc rejects this. */
18976 char *t;
18977 char const *s = 0 ? (char *) 0 : (char const *) 0;
18978
18979 *t++ = 0;
18980 if (s) return 0;
18981 }
18982 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18983 int x[] = {25, 17};
18984 const int *foo = &x[0];
18985 ++foo;
18986 }
18987 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18988 typedef const int *iptr;
18989 iptr p = 0;
18990 ++p;
18991 }
18992 { /* AIX XL C 1.02.0.0 rejects this saying
18993 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18994 struct s { int j; const int *ap[3]; };
18995 struct s *b; b->j = 5;
18996 }
18997 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18998 const int foo = 10;
18999 if (!foo) return 0;
19000 }
19001 return !cs[0] && !zero.x;
19002 #endif
19003
19004 ;
19005 return 0;
19006 }
19007 _ACEOF
19008 rm -f conftest.$ac_objext
19009 if { (ac_try="$ac_compile"
19010 case "(($ac_try" in
19011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19012 *) ac_try_echo=$ac_try;;
19013 esac
19014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19015 (eval "$ac_compile") 2>conftest.er1
19016 ac_status=$?
19017 grep -v '^ *+' conftest.er1 >conftest.err
19018 rm -f conftest.er1
19019 cat conftest.err >&5
19020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19021 (exit $ac_status); } && {
19022 test -z "$ac_c_werror_flag" ||
19023 test ! -s conftest.err
19024 } && test -s conftest.$ac_objext; then
19025 ac_cv_c_const=yes
19026 else
19027 echo "$as_me: failed program was:" >&5
19028 sed 's/^/| /' conftest.$ac_ext >&5
19029
19030 ac_cv_c_const=no
19031 fi
19032
19033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19034 fi
19035 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
19036 echo "${ECHO_T}$ac_cv_c_const" >&6; }
19037 if test $ac_cv_c_const = no; then
19038
19039 cat >>confdefs.h <<\_ACEOF
19040 #define const
19041 _ACEOF
19042
19043 fi
19044
19045 { echo "$as_me:$LINENO: checking for inline" >&5
19046 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
19047 if test "${ac_cv_c_inline+set}" = set; then
19048 echo $ECHO_N "(cached) $ECHO_C" >&6
19049 else
19050 ac_cv_c_inline=no
19051 for ac_kw in inline __inline__ __inline; do
19052 cat >conftest.$ac_ext <<_ACEOF
19053 /* confdefs.h. */
19054 _ACEOF
19055 cat confdefs.h >>conftest.$ac_ext
19056 cat >>conftest.$ac_ext <<_ACEOF
19057 /* end confdefs.h. */
19058 #ifndef __cplusplus
19059 typedef int foo_t;
19060 static $ac_kw foo_t static_foo () {return 0; }
19061 $ac_kw foo_t foo () {return 0; }
19062 #endif
19063
19064 _ACEOF
19065 rm -f conftest.$ac_objext
19066 if { (ac_try="$ac_compile"
19067 case "(($ac_try" in
19068 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19069 *) ac_try_echo=$ac_try;;
19070 esac
19071 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19072 (eval "$ac_compile") 2>conftest.er1
19073 ac_status=$?
19074 grep -v '^ *+' conftest.er1 >conftest.err
19075 rm -f conftest.er1
19076 cat conftest.err >&5
19077 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19078 (exit $ac_status); } && {
19079 test -z "$ac_c_werror_flag" ||
19080 test ! -s conftest.err
19081 } && test -s conftest.$ac_objext; then
19082 ac_cv_c_inline=$ac_kw
19083 else
19084 echo "$as_me: failed program was:" >&5
19085 sed 's/^/| /' conftest.$ac_ext >&5
19086
19087
19088 fi
19089
19090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19091 test "$ac_cv_c_inline" != no && break
19092 done
19093
19094 fi
19095 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
19096 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
19097
19098
19099 case $ac_cv_c_inline in
19100 inline | yes) ;;
19101 *)
19102 case $ac_cv_c_inline in
19103 no) ac_val=;;
19104 *) ac_val=$ac_cv_c_inline;;
19105 esac
19106 cat >>confdefs.h <<_ACEOF
19107 #ifndef __cplusplus
19108 #define inline $ac_val
19109 #endif
19110 _ACEOF
19111 ;;
19112 esac
19113
19114
19115 { echo "$as_me:$LINENO: checking for short" >&5
19116 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
19117 if test "${ac_cv_type_short+set}" = set; then
19118 echo $ECHO_N "(cached) $ECHO_C" >&6
19119 else
19120 cat >conftest.$ac_ext <<_ACEOF
19121 /* confdefs.h. */
19122 _ACEOF
19123 cat confdefs.h >>conftest.$ac_ext
19124 cat >>conftest.$ac_ext <<_ACEOF
19125 /* end confdefs.h. */
19126 $ac_includes_default
19127 typedef short ac__type_new_;
19128 int
19129 main ()
19130 {
19131 if ((ac__type_new_ *) 0)
19132 return 0;
19133 if (sizeof (ac__type_new_))
19134 return 0;
19135 ;
19136 return 0;
19137 }
19138 _ACEOF
19139 rm -f conftest.$ac_objext
19140 if { (ac_try="$ac_compile"
19141 case "(($ac_try" in
19142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19143 *) ac_try_echo=$ac_try;;
19144 esac
19145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19146 (eval "$ac_compile") 2>conftest.er1
19147 ac_status=$?
19148 grep -v '^ *+' conftest.er1 >conftest.err
19149 rm -f conftest.er1
19150 cat conftest.err >&5
19151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19152 (exit $ac_status); } && {
19153 test -z "$ac_c_werror_flag" ||
19154 test ! -s conftest.err
19155 } && test -s conftest.$ac_objext; then
19156 ac_cv_type_short=yes
19157 else
19158 echo "$as_me: failed program was:" >&5
19159 sed 's/^/| /' conftest.$ac_ext >&5
19160
19161 ac_cv_type_short=no
19162 fi
19163
19164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19165 fi
19166 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
19167 echo "${ECHO_T}$ac_cv_type_short" >&6; }
19168
19169 # The cast to long int works around a bug in the HP C Compiler
19170 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19171 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19172 # This bug is HP SR number 8606223364.
19173 { echo "$as_me:$LINENO: checking size of short" >&5
19174 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
19175 if test "${ac_cv_sizeof_short+set}" = set; then
19176 echo $ECHO_N "(cached) $ECHO_C" >&6
19177 else
19178 if test "$cross_compiling" = yes; then
19179 # Depending upon the size, compute the lo and hi bounds.
19180 cat >conftest.$ac_ext <<_ACEOF
19181 /* confdefs.h. */
19182 _ACEOF
19183 cat confdefs.h >>conftest.$ac_ext
19184 cat >>conftest.$ac_ext <<_ACEOF
19185 /* end confdefs.h. */
19186 $ac_includes_default
19187 typedef short ac__type_sizeof_;
19188 int
19189 main ()
19190 {
19191 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19192 test_array [0] = 0
19193
19194 ;
19195 return 0;
19196 }
19197 _ACEOF
19198 rm -f conftest.$ac_objext
19199 if { (ac_try="$ac_compile"
19200 case "(($ac_try" in
19201 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19202 *) ac_try_echo=$ac_try;;
19203 esac
19204 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19205 (eval "$ac_compile") 2>conftest.er1
19206 ac_status=$?
19207 grep -v '^ *+' conftest.er1 >conftest.err
19208 rm -f conftest.er1
19209 cat conftest.err >&5
19210 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19211 (exit $ac_status); } && {
19212 test -z "$ac_c_werror_flag" ||
19213 test ! -s conftest.err
19214 } && test -s conftest.$ac_objext; then
19215 ac_lo=0 ac_mid=0
19216 while :; do
19217 cat >conftest.$ac_ext <<_ACEOF
19218 /* confdefs.h. */
19219 _ACEOF
19220 cat confdefs.h >>conftest.$ac_ext
19221 cat >>conftest.$ac_ext <<_ACEOF
19222 /* end confdefs.h. */
19223 $ac_includes_default
19224 typedef short ac__type_sizeof_;
19225 int
19226 main ()
19227 {
19228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19229 test_array [0] = 0
19230
19231 ;
19232 return 0;
19233 }
19234 _ACEOF
19235 rm -f conftest.$ac_objext
19236 if { (ac_try="$ac_compile"
19237 case "(($ac_try" in
19238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19239 *) ac_try_echo=$ac_try;;
19240 esac
19241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19242 (eval "$ac_compile") 2>conftest.er1
19243 ac_status=$?
19244 grep -v '^ *+' conftest.er1 >conftest.err
19245 rm -f conftest.er1
19246 cat conftest.err >&5
19247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19248 (exit $ac_status); } && {
19249 test -z "$ac_c_werror_flag" ||
19250 test ! -s conftest.err
19251 } && test -s conftest.$ac_objext; then
19252 ac_hi=$ac_mid; break
19253 else
19254 echo "$as_me: failed program was:" >&5
19255 sed 's/^/| /' conftest.$ac_ext >&5
19256
19257 ac_lo=`expr $ac_mid + 1`
19258 if test $ac_lo -le $ac_mid; then
19259 ac_lo= ac_hi=
19260 break
19261 fi
19262 ac_mid=`expr 2 '*' $ac_mid + 1`
19263 fi
19264
19265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19266 done
19267 else
19268 echo "$as_me: failed program was:" >&5
19269 sed 's/^/| /' conftest.$ac_ext >&5
19270
19271 cat >conftest.$ac_ext <<_ACEOF
19272 /* confdefs.h. */
19273 _ACEOF
19274 cat confdefs.h >>conftest.$ac_ext
19275 cat >>conftest.$ac_ext <<_ACEOF
19276 /* end confdefs.h. */
19277 $ac_includes_default
19278 typedef short ac__type_sizeof_;
19279 int
19280 main ()
19281 {
19282 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19283 test_array [0] = 0
19284
19285 ;
19286 return 0;
19287 }
19288 _ACEOF
19289 rm -f conftest.$ac_objext
19290 if { (ac_try="$ac_compile"
19291 case "(($ac_try" in
19292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19293 *) ac_try_echo=$ac_try;;
19294 esac
19295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19296 (eval "$ac_compile") 2>conftest.er1
19297 ac_status=$?
19298 grep -v '^ *+' conftest.er1 >conftest.err
19299 rm -f conftest.er1
19300 cat conftest.err >&5
19301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19302 (exit $ac_status); } && {
19303 test -z "$ac_c_werror_flag" ||
19304 test ! -s conftest.err
19305 } && test -s conftest.$ac_objext; then
19306 ac_hi=-1 ac_mid=-1
19307 while :; do
19308 cat >conftest.$ac_ext <<_ACEOF
19309 /* confdefs.h. */
19310 _ACEOF
19311 cat confdefs.h >>conftest.$ac_ext
19312 cat >>conftest.$ac_ext <<_ACEOF
19313 /* end confdefs.h. */
19314 $ac_includes_default
19315 typedef short ac__type_sizeof_;
19316 int
19317 main ()
19318 {
19319 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19320 test_array [0] = 0
19321
19322 ;
19323 return 0;
19324 }
19325 _ACEOF
19326 rm -f conftest.$ac_objext
19327 if { (ac_try="$ac_compile"
19328 case "(($ac_try" in
19329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19330 *) ac_try_echo=$ac_try;;
19331 esac
19332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19333 (eval "$ac_compile") 2>conftest.er1
19334 ac_status=$?
19335 grep -v '^ *+' conftest.er1 >conftest.err
19336 rm -f conftest.er1
19337 cat conftest.err >&5
19338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19339 (exit $ac_status); } && {
19340 test -z "$ac_c_werror_flag" ||
19341 test ! -s conftest.err
19342 } && test -s conftest.$ac_objext; then
19343 ac_lo=$ac_mid; break
19344 else
19345 echo "$as_me: failed program was:" >&5
19346 sed 's/^/| /' conftest.$ac_ext >&5
19347
19348 ac_hi=`expr '(' $ac_mid ')' - 1`
19349 if test $ac_mid -le $ac_hi; then
19350 ac_lo= ac_hi=
19351 break
19352 fi
19353 ac_mid=`expr 2 '*' $ac_mid`
19354 fi
19355
19356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19357 done
19358 else
19359 echo "$as_me: failed program was:" >&5
19360 sed 's/^/| /' conftest.$ac_ext >&5
19361
19362 ac_lo= ac_hi=
19363 fi
19364
19365 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19366 fi
19367
19368 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19369 # Binary search between lo and hi bounds.
19370 while test "x$ac_lo" != "x$ac_hi"; do
19371 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19372 cat >conftest.$ac_ext <<_ACEOF
19373 /* confdefs.h. */
19374 _ACEOF
19375 cat confdefs.h >>conftest.$ac_ext
19376 cat >>conftest.$ac_ext <<_ACEOF
19377 /* end confdefs.h. */
19378 $ac_includes_default
19379 typedef short ac__type_sizeof_;
19380 int
19381 main ()
19382 {
19383 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19384 test_array [0] = 0
19385
19386 ;
19387 return 0;
19388 }
19389 _ACEOF
19390 rm -f conftest.$ac_objext
19391 if { (ac_try="$ac_compile"
19392 case "(($ac_try" in
19393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19394 *) ac_try_echo=$ac_try;;
19395 esac
19396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19397 (eval "$ac_compile") 2>conftest.er1
19398 ac_status=$?
19399 grep -v '^ *+' conftest.er1 >conftest.err
19400 rm -f conftest.er1
19401 cat conftest.err >&5
19402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19403 (exit $ac_status); } && {
19404 test -z "$ac_c_werror_flag" ||
19405 test ! -s conftest.err
19406 } && test -s conftest.$ac_objext; then
19407 ac_hi=$ac_mid
19408 else
19409 echo "$as_me: failed program was:" >&5
19410 sed 's/^/| /' conftest.$ac_ext >&5
19411
19412 ac_lo=`expr '(' $ac_mid ')' + 1`
19413 fi
19414
19415 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19416 done
19417 case $ac_lo in
19418 ?*) ac_cv_sizeof_short=$ac_lo;;
19419 '') if test "$ac_cv_type_short" = yes; then
19420 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19421 See \`config.log' for more details." >&5
19422 echo "$as_me: error: cannot compute sizeof (short)
19423 See \`config.log' for more details." >&2;}
19424 { (exit 77); exit 77; }; }
19425 else
19426 ac_cv_sizeof_short=0
19427 fi ;;
19428 esac
19429 else
19430 cat >conftest.$ac_ext <<_ACEOF
19431 /* confdefs.h. */
19432 _ACEOF
19433 cat confdefs.h >>conftest.$ac_ext
19434 cat >>conftest.$ac_ext <<_ACEOF
19435 /* end confdefs.h. */
19436 $ac_includes_default
19437 typedef short ac__type_sizeof_;
19438 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19439 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19440 #include <stdio.h>
19441 #include <stdlib.h>
19442 int
19443 main ()
19444 {
19445
19446 FILE *f = fopen ("conftest.val", "w");
19447 if (! f)
19448 return 1;
19449 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19450 {
19451 long int i = longval ();
19452 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19453 return 1;
19454 fprintf (f, "%ld\n", i);
19455 }
19456 else
19457 {
19458 unsigned long int i = ulongval ();
19459 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19460 return 1;
19461 fprintf (f, "%lu\n", i);
19462 }
19463 return ferror (f) || fclose (f) != 0;
19464
19465 ;
19466 return 0;
19467 }
19468 _ACEOF
19469 rm -f conftest$ac_exeext
19470 if { (ac_try="$ac_link"
19471 case "(($ac_try" in
19472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19473 *) ac_try_echo=$ac_try;;
19474 esac
19475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19476 (eval "$ac_link") 2>&5
19477 ac_status=$?
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19480 { (case "(($ac_try" in
19481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19482 *) ac_try_echo=$ac_try;;
19483 esac
19484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19485 (eval "$ac_try") 2>&5
19486 ac_status=$?
19487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19488 (exit $ac_status); }; }; then
19489 ac_cv_sizeof_short=`cat conftest.val`
19490 else
19491 echo "$as_me: program exited with status $ac_status" >&5
19492 echo "$as_me: failed program was:" >&5
19493 sed 's/^/| /' conftest.$ac_ext >&5
19494
19495 ( exit $ac_status )
19496 if test "$ac_cv_type_short" = yes; then
19497 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
19498 See \`config.log' for more details." >&5
19499 echo "$as_me: error: cannot compute sizeof (short)
19500 See \`config.log' for more details." >&2;}
19501 { (exit 77); exit 77; }; }
19502 else
19503 ac_cv_sizeof_short=0
19504 fi
19505 fi
19506 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19507 fi
19508 rm -f conftest.val
19509 fi
19510 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
19511 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
19512
19513
19514
19515 cat >>confdefs.h <<_ACEOF
19516 #define SIZEOF_SHORT $ac_cv_sizeof_short
19517 _ACEOF
19518
19519
19520 { echo "$as_me:$LINENO: checking for void *" >&5
19521 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
19522 if test "${ac_cv_type_void_p+set}" = set; then
19523 echo $ECHO_N "(cached) $ECHO_C" >&6
19524 else
19525 cat >conftest.$ac_ext <<_ACEOF
19526 /* confdefs.h. */
19527 _ACEOF
19528 cat confdefs.h >>conftest.$ac_ext
19529 cat >>conftest.$ac_ext <<_ACEOF
19530 /* end confdefs.h. */
19531 $ac_includes_default
19532 typedef void * ac__type_new_;
19533 int
19534 main ()
19535 {
19536 if ((ac__type_new_ *) 0)
19537 return 0;
19538 if (sizeof (ac__type_new_))
19539 return 0;
19540 ;
19541 return 0;
19542 }
19543 _ACEOF
19544 rm -f conftest.$ac_objext
19545 if { (ac_try="$ac_compile"
19546 case "(($ac_try" in
19547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19548 *) ac_try_echo=$ac_try;;
19549 esac
19550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19551 (eval "$ac_compile") 2>conftest.er1
19552 ac_status=$?
19553 grep -v '^ *+' conftest.er1 >conftest.err
19554 rm -f conftest.er1
19555 cat conftest.err >&5
19556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19557 (exit $ac_status); } && {
19558 test -z "$ac_c_werror_flag" ||
19559 test ! -s conftest.err
19560 } && test -s conftest.$ac_objext; then
19561 ac_cv_type_void_p=yes
19562 else
19563 echo "$as_me: failed program was:" >&5
19564 sed 's/^/| /' conftest.$ac_ext >&5
19565
19566 ac_cv_type_void_p=no
19567 fi
19568
19569 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19570 fi
19571 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
19572 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
19573
19574 # The cast to long int works around a bug in the HP C Compiler
19575 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19576 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19577 # This bug is HP SR number 8606223364.
19578 { echo "$as_me:$LINENO: checking size of void *" >&5
19579 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
19580 if test "${ac_cv_sizeof_void_p+set}" = set; then
19581 echo $ECHO_N "(cached) $ECHO_C" >&6
19582 else
19583 if test "$cross_compiling" = yes; then
19584 # Depending upon the size, compute the lo and hi bounds.
19585 cat >conftest.$ac_ext <<_ACEOF
19586 /* confdefs.h. */
19587 _ACEOF
19588 cat confdefs.h >>conftest.$ac_ext
19589 cat >>conftest.$ac_ext <<_ACEOF
19590 /* end confdefs.h. */
19591 $ac_includes_default
19592 typedef void * ac__type_sizeof_;
19593 int
19594 main ()
19595 {
19596 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19597 test_array [0] = 0
19598
19599 ;
19600 return 0;
19601 }
19602 _ACEOF
19603 rm -f conftest.$ac_objext
19604 if { (ac_try="$ac_compile"
19605 case "(($ac_try" in
19606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19607 *) ac_try_echo=$ac_try;;
19608 esac
19609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19610 (eval "$ac_compile") 2>conftest.er1
19611 ac_status=$?
19612 grep -v '^ *+' conftest.er1 >conftest.err
19613 rm -f conftest.er1
19614 cat conftest.err >&5
19615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19616 (exit $ac_status); } && {
19617 test -z "$ac_c_werror_flag" ||
19618 test ! -s conftest.err
19619 } && test -s conftest.$ac_objext; then
19620 ac_lo=0 ac_mid=0
19621 while :; do
19622 cat >conftest.$ac_ext <<_ACEOF
19623 /* confdefs.h. */
19624 _ACEOF
19625 cat confdefs.h >>conftest.$ac_ext
19626 cat >>conftest.$ac_ext <<_ACEOF
19627 /* end confdefs.h. */
19628 $ac_includes_default
19629 typedef void * ac__type_sizeof_;
19630 int
19631 main ()
19632 {
19633 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19634 test_array [0] = 0
19635
19636 ;
19637 return 0;
19638 }
19639 _ACEOF
19640 rm -f conftest.$ac_objext
19641 if { (ac_try="$ac_compile"
19642 case "(($ac_try" in
19643 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19644 *) ac_try_echo=$ac_try;;
19645 esac
19646 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19647 (eval "$ac_compile") 2>conftest.er1
19648 ac_status=$?
19649 grep -v '^ *+' conftest.er1 >conftest.err
19650 rm -f conftest.er1
19651 cat conftest.err >&5
19652 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19653 (exit $ac_status); } && {
19654 test -z "$ac_c_werror_flag" ||
19655 test ! -s conftest.err
19656 } && test -s conftest.$ac_objext; then
19657 ac_hi=$ac_mid; break
19658 else
19659 echo "$as_me: failed program was:" >&5
19660 sed 's/^/| /' conftest.$ac_ext >&5
19661
19662 ac_lo=`expr $ac_mid + 1`
19663 if test $ac_lo -le $ac_mid; then
19664 ac_lo= ac_hi=
19665 break
19666 fi
19667 ac_mid=`expr 2 '*' $ac_mid + 1`
19668 fi
19669
19670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19671 done
19672 else
19673 echo "$as_me: failed program was:" >&5
19674 sed 's/^/| /' conftest.$ac_ext >&5
19675
19676 cat >conftest.$ac_ext <<_ACEOF
19677 /* confdefs.h. */
19678 _ACEOF
19679 cat confdefs.h >>conftest.$ac_ext
19680 cat >>conftest.$ac_ext <<_ACEOF
19681 /* end confdefs.h. */
19682 $ac_includes_default
19683 typedef void * ac__type_sizeof_;
19684 int
19685 main ()
19686 {
19687 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19688 test_array [0] = 0
19689
19690 ;
19691 return 0;
19692 }
19693 _ACEOF
19694 rm -f conftest.$ac_objext
19695 if { (ac_try="$ac_compile"
19696 case "(($ac_try" in
19697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19698 *) ac_try_echo=$ac_try;;
19699 esac
19700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19701 (eval "$ac_compile") 2>conftest.er1
19702 ac_status=$?
19703 grep -v '^ *+' conftest.er1 >conftest.err
19704 rm -f conftest.er1
19705 cat conftest.err >&5
19706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19707 (exit $ac_status); } && {
19708 test -z "$ac_c_werror_flag" ||
19709 test ! -s conftest.err
19710 } && test -s conftest.$ac_objext; then
19711 ac_hi=-1 ac_mid=-1
19712 while :; do
19713 cat >conftest.$ac_ext <<_ACEOF
19714 /* confdefs.h. */
19715 _ACEOF
19716 cat confdefs.h >>conftest.$ac_ext
19717 cat >>conftest.$ac_ext <<_ACEOF
19718 /* end confdefs.h. */
19719 $ac_includes_default
19720 typedef void * ac__type_sizeof_;
19721 int
19722 main ()
19723 {
19724 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19725 test_array [0] = 0
19726
19727 ;
19728 return 0;
19729 }
19730 _ACEOF
19731 rm -f conftest.$ac_objext
19732 if { (ac_try="$ac_compile"
19733 case "(($ac_try" in
19734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19735 *) ac_try_echo=$ac_try;;
19736 esac
19737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19738 (eval "$ac_compile") 2>conftest.er1
19739 ac_status=$?
19740 grep -v '^ *+' conftest.er1 >conftest.err
19741 rm -f conftest.er1
19742 cat conftest.err >&5
19743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19744 (exit $ac_status); } && {
19745 test -z "$ac_c_werror_flag" ||
19746 test ! -s conftest.err
19747 } && test -s conftest.$ac_objext; then
19748 ac_lo=$ac_mid; break
19749 else
19750 echo "$as_me: failed program was:" >&5
19751 sed 's/^/| /' conftest.$ac_ext >&5
19752
19753 ac_hi=`expr '(' $ac_mid ')' - 1`
19754 if test $ac_mid -le $ac_hi; then
19755 ac_lo= ac_hi=
19756 break
19757 fi
19758 ac_mid=`expr 2 '*' $ac_mid`
19759 fi
19760
19761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19762 done
19763 else
19764 echo "$as_me: failed program was:" >&5
19765 sed 's/^/| /' conftest.$ac_ext >&5
19766
19767 ac_lo= ac_hi=
19768 fi
19769
19770 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19771 fi
19772
19773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19774 # Binary search between lo and hi bounds.
19775 while test "x$ac_lo" != "x$ac_hi"; do
19776 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19777 cat >conftest.$ac_ext <<_ACEOF
19778 /* confdefs.h. */
19779 _ACEOF
19780 cat confdefs.h >>conftest.$ac_ext
19781 cat >>conftest.$ac_ext <<_ACEOF
19782 /* end confdefs.h. */
19783 $ac_includes_default
19784 typedef void * ac__type_sizeof_;
19785 int
19786 main ()
19787 {
19788 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19789 test_array [0] = 0
19790
19791 ;
19792 return 0;
19793 }
19794 _ACEOF
19795 rm -f conftest.$ac_objext
19796 if { (ac_try="$ac_compile"
19797 case "(($ac_try" in
19798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19799 *) ac_try_echo=$ac_try;;
19800 esac
19801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19802 (eval "$ac_compile") 2>conftest.er1
19803 ac_status=$?
19804 grep -v '^ *+' conftest.er1 >conftest.err
19805 rm -f conftest.er1
19806 cat conftest.err >&5
19807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19808 (exit $ac_status); } && {
19809 test -z "$ac_c_werror_flag" ||
19810 test ! -s conftest.err
19811 } && test -s conftest.$ac_objext; then
19812 ac_hi=$ac_mid
19813 else
19814 echo "$as_me: failed program was:" >&5
19815 sed 's/^/| /' conftest.$ac_ext >&5
19816
19817 ac_lo=`expr '(' $ac_mid ')' + 1`
19818 fi
19819
19820 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19821 done
19822 case $ac_lo in
19823 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19824 '') if test "$ac_cv_type_void_p" = yes; then
19825 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19826 See \`config.log' for more details." >&5
19827 echo "$as_me: error: cannot compute sizeof (void *)
19828 See \`config.log' for more details." >&2;}
19829 { (exit 77); exit 77; }; }
19830 else
19831 ac_cv_sizeof_void_p=0
19832 fi ;;
19833 esac
19834 else
19835 cat >conftest.$ac_ext <<_ACEOF
19836 /* confdefs.h. */
19837 _ACEOF
19838 cat confdefs.h >>conftest.$ac_ext
19839 cat >>conftest.$ac_ext <<_ACEOF
19840 /* end confdefs.h. */
19841 $ac_includes_default
19842 typedef void * ac__type_sizeof_;
19843 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19844 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19845 #include <stdio.h>
19846 #include <stdlib.h>
19847 int
19848 main ()
19849 {
19850
19851 FILE *f = fopen ("conftest.val", "w");
19852 if (! f)
19853 return 1;
19854 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19855 {
19856 long int i = longval ();
19857 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19858 return 1;
19859 fprintf (f, "%ld\n", i);
19860 }
19861 else
19862 {
19863 unsigned long int i = ulongval ();
19864 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19865 return 1;
19866 fprintf (f, "%lu\n", i);
19867 }
19868 return ferror (f) || fclose (f) != 0;
19869
19870 ;
19871 return 0;
19872 }
19873 _ACEOF
19874 rm -f conftest$ac_exeext
19875 if { (ac_try="$ac_link"
19876 case "(($ac_try" in
19877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19878 *) ac_try_echo=$ac_try;;
19879 esac
19880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19881 (eval "$ac_link") 2>&5
19882 ac_status=$?
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19885 { (case "(($ac_try" in
19886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19887 *) ac_try_echo=$ac_try;;
19888 esac
19889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19890 (eval "$ac_try") 2>&5
19891 ac_status=$?
19892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19893 (exit $ac_status); }; }; then
19894 ac_cv_sizeof_void_p=`cat conftest.val`
19895 else
19896 echo "$as_me: program exited with status $ac_status" >&5
19897 echo "$as_me: failed program was:" >&5
19898 sed 's/^/| /' conftest.$ac_ext >&5
19899
19900 ( exit $ac_status )
19901 if test "$ac_cv_type_void_p" = yes; then
19902 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19903 See \`config.log' for more details." >&5
19904 echo "$as_me: error: cannot compute sizeof (void *)
19905 See \`config.log' for more details." >&2;}
19906 { (exit 77); exit 77; }; }
19907 else
19908 ac_cv_sizeof_void_p=0
19909 fi
19910 fi
19911 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19912 fi
19913 rm -f conftest.val
19914 fi
19915 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19916 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19917
19918
19919
19920 cat >>confdefs.h <<_ACEOF
19921 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19922 _ACEOF
19923
19924
19925 { echo "$as_me:$LINENO: checking for int" >&5
19926 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19927 if test "${ac_cv_type_int+set}" = set; then
19928 echo $ECHO_N "(cached) $ECHO_C" >&6
19929 else
19930 cat >conftest.$ac_ext <<_ACEOF
19931 /* confdefs.h. */
19932 _ACEOF
19933 cat confdefs.h >>conftest.$ac_ext
19934 cat >>conftest.$ac_ext <<_ACEOF
19935 /* end confdefs.h. */
19936 $ac_includes_default
19937 typedef int ac__type_new_;
19938 int
19939 main ()
19940 {
19941 if ((ac__type_new_ *) 0)
19942 return 0;
19943 if (sizeof (ac__type_new_))
19944 return 0;
19945 ;
19946 return 0;
19947 }
19948 _ACEOF
19949 rm -f conftest.$ac_objext
19950 if { (ac_try="$ac_compile"
19951 case "(($ac_try" in
19952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19953 *) ac_try_echo=$ac_try;;
19954 esac
19955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19956 (eval "$ac_compile") 2>conftest.er1
19957 ac_status=$?
19958 grep -v '^ *+' conftest.er1 >conftest.err
19959 rm -f conftest.er1
19960 cat conftest.err >&5
19961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19962 (exit $ac_status); } && {
19963 test -z "$ac_c_werror_flag" ||
19964 test ! -s conftest.err
19965 } && test -s conftest.$ac_objext; then
19966 ac_cv_type_int=yes
19967 else
19968 echo "$as_me: failed program was:" >&5
19969 sed 's/^/| /' conftest.$ac_ext >&5
19970
19971 ac_cv_type_int=no
19972 fi
19973
19974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19975 fi
19976 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19977 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19978
19979 # The cast to long int works around a bug in the HP C Compiler
19980 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19981 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19982 # This bug is HP SR number 8606223364.
19983 { echo "$as_me:$LINENO: checking size of int" >&5
19984 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19985 if test "${ac_cv_sizeof_int+set}" = set; then
19986 echo $ECHO_N "(cached) $ECHO_C" >&6
19987 else
19988 if test "$cross_compiling" = yes; then
19989 # Depending upon the size, compute the lo and hi bounds.
19990 cat >conftest.$ac_ext <<_ACEOF
19991 /* confdefs.h. */
19992 _ACEOF
19993 cat confdefs.h >>conftest.$ac_ext
19994 cat >>conftest.$ac_ext <<_ACEOF
19995 /* end confdefs.h. */
19996 $ac_includes_default
19997 typedef int ac__type_sizeof_;
19998 int
19999 main ()
20000 {
20001 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20002 test_array [0] = 0
20003
20004 ;
20005 return 0;
20006 }
20007 _ACEOF
20008 rm -f conftest.$ac_objext
20009 if { (ac_try="$ac_compile"
20010 case "(($ac_try" in
20011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20012 *) ac_try_echo=$ac_try;;
20013 esac
20014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20015 (eval "$ac_compile") 2>conftest.er1
20016 ac_status=$?
20017 grep -v '^ *+' conftest.er1 >conftest.err
20018 rm -f conftest.er1
20019 cat conftest.err >&5
20020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20021 (exit $ac_status); } && {
20022 test -z "$ac_c_werror_flag" ||
20023 test ! -s conftest.err
20024 } && test -s conftest.$ac_objext; then
20025 ac_lo=0 ac_mid=0
20026 while :; do
20027 cat >conftest.$ac_ext <<_ACEOF
20028 /* confdefs.h. */
20029 _ACEOF
20030 cat confdefs.h >>conftest.$ac_ext
20031 cat >>conftest.$ac_ext <<_ACEOF
20032 /* end confdefs.h. */
20033 $ac_includes_default
20034 typedef int ac__type_sizeof_;
20035 int
20036 main ()
20037 {
20038 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20039 test_array [0] = 0
20040
20041 ;
20042 return 0;
20043 }
20044 _ACEOF
20045 rm -f conftest.$ac_objext
20046 if { (ac_try="$ac_compile"
20047 case "(($ac_try" in
20048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20049 *) ac_try_echo=$ac_try;;
20050 esac
20051 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20052 (eval "$ac_compile") 2>conftest.er1
20053 ac_status=$?
20054 grep -v '^ *+' conftest.er1 >conftest.err
20055 rm -f conftest.er1
20056 cat conftest.err >&5
20057 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20058 (exit $ac_status); } && {
20059 test -z "$ac_c_werror_flag" ||
20060 test ! -s conftest.err
20061 } && test -s conftest.$ac_objext; then
20062 ac_hi=$ac_mid; break
20063 else
20064 echo "$as_me: failed program was:" >&5
20065 sed 's/^/| /' conftest.$ac_ext >&5
20066
20067 ac_lo=`expr $ac_mid + 1`
20068 if test $ac_lo -le $ac_mid; then
20069 ac_lo= ac_hi=
20070 break
20071 fi
20072 ac_mid=`expr 2 '*' $ac_mid + 1`
20073 fi
20074
20075 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20076 done
20077 else
20078 echo "$as_me: failed program was:" >&5
20079 sed 's/^/| /' conftest.$ac_ext >&5
20080
20081 cat >conftest.$ac_ext <<_ACEOF
20082 /* confdefs.h. */
20083 _ACEOF
20084 cat confdefs.h >>conftest.$ac_ext
20085 cat >>conftest.$ac_ext <<_ACEOF
20086 /* end confdefs.h. */
20087 $ac_includes_default
20088 typedef int ac__type_sizeof_;
20089 int
20090 main ()
20091 {
20092 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20093 test_array [0] = 0
20094
20095 ;
20096 return 0;
20097 }
20098 _ACEOF
20099 rm -f conftest.$ac_objext
20100 if { (ac_try="$ac_compile"
20101 case "(($ac_try" in
20102 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20103 *) ac_try_echo=$ac_try;;
20104 esac
20105 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20106 (eval "$ac_compile") 2>conftest.er1
20107 ac_status=$?
20108 grep -v '^ *+' conftest.er1 >conftest.err
20109 rm -f conftest.er1
20110 cat conftest.err >&5
20111 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20112 (exit $ac_status); } && {
20113 test -z "$ac_c_werror_flag" ||
20114 test ! -s conftest.err
20115 } && test -s conftest.$ac_objext; then
20116 ac_hi=-1 ac_mid=-1
20117 while :; do
20118 cat >conftest.$ac_ext <<_ACEOF
20119 /* confdefs.h. */
20120 _ACEOF
20121 cat confdefs.h >>conftest.$ac_ext
20122 cat >>conftest.$ac_ext <<_ACEOF
20123 /* end confdefs.h. */
20124 $ac_includes_default
20125 typedef int ac__type_sizeof_;
20126 int
20127 main ()
20128 {
20129 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20130 test_array [0] = 0
20131
20132 ;
20133 return 0;
20134 }
20135 _ACEOF
20136 rm -f conftest.$ac_objext
20137 if { (ac_try="$ac_compile"
20138 case "(($ac_try" in
20139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20140 *) ac_try_echo=$ac_try;;
20141 esac
20142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20143 (eval "$ac_compile") 2>conftest.er1
20144 ac_status=$?
20145 grep -v '^ *+' conftest.er1 >conftest.err
20146 rm -f conftest.er1
20147 cat conftest.err >&5
20148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20149 (exit $ac_status); } && {
20150 test -z "$ac_c_werror_flag" ||
20151 test ! -s conftest.err
20152 } && test -s conftest.$ac_objext; then
20153 ac_lo=$ac_mid; break
20154 else
20155 echo "$as_me: failed program was:" >&5
20156 sed 's/^/| /' conftest.$ac_ext >&5
20157
20158 ac_hi=`expr '(' $ac_mid ')' - 1`
20159 if test $ac_mid -le $ac_hi; then
20160 ac_lo= ac_hi=
20161 break
20162 fi
20163 ac_mid=`expr 2 '*' $ac_mid`
20164 fi
20165
20166 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20167 done
20168 else
20169 echo "$as_me: failed program was:" >&5
20170 sed 's/^/| /' conftest.$ac_ext >&5
20171
20172 ac_lo= ac_hi=
20173 fi
20174
20175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20176 fi
20177
20178 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20179 # Binary search between lo and hi bounds.
20180 while test "x$ac_lo" != "x$ac_hi"; do
20181 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20182 cat >conftest.$ac_ext <<_ACEOF
20183 /* confdefs.h. */
20184 _ACEOF
20185 cat confdefs.h >>conftest.$ac_ext
20186 cat >>conftest.$ac_ext <<_ACEOF
20187 /* end confdefs.h. */
20188 $ac_includes_default
20189 typedef int ac__type_sizeof_;
20190 int
20191 main ()
20192 {
20193 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20194 test_array [0] = 0
20195
20196 ;
20197 return 0;
20198 }
20199 _ACEOF
20200 rm -f conftest.$ac_objext
20201 if { (ac_try="$ac_compile"
20202 case "(($ac_try" in
20203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20204 *) ac_try_echo=$ac_try;;
20205 esac
20206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20207 (eval "$ac_compile") 2>conftest.er1
20208 ac_status=$?
20209 grep -v '^ *+' conftest.er1 >conftest.err
20210 rm -f conftest.er1
20211 cat conftest.err >&5
20212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20213 (exit $ac_status); } && {
20214 test -z "$ac_c_werror_flag" ||
20215 test ! -s conftest.err
20216 } && test -s conftest.$ac_objext; then
20217 ac_hi=$ac_mid
20218 else
20219 echo "$as_me: failed program was:" >&5
20220 sed 's/^/| /' conftest.$ac_ext >&5
20221
20222 ac_lo=`expr '(' $ac_mid ')' + 1`
20223 fi
20224
20225 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20226 done
20227 case $ac_lo in
20228 ?*) ac_cv_sizeof_int=$ac_lo;;
20229 '') if test "$ac_cv_type_int" = yes; then
20230 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20231 See \`config.log' for more details." >&5
20232 echo "$as_me: error: cannot compute sizeof (int)
20233 See \`config.log' for more details." >&2;}
20234 { (exit 77); exit 77; }; }
20235 else
20236 ac_cv_sizeof_int=0
20237 fi ;;
20238 esac
20239 else
20240 cat >conftest.$ac_ext <<_ACEOF
20241 /* confdefs.h. */
20242 _ACEOF
20243 cat confdefs.h >>conftest.$ac_ext
20244 cat >>conftest.$ac_ext <<_ACEOF
20245 /* end confdefs.h. */
20246 $ac_includes_default
20247 typedef int ac__type_sizeof_;
20248 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20249 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20250 #include <stdio.h>
20251 #include <stdlib.h>
20252 int
20253 main ()
20254 {
20255
20256 FILE *f = fopen ("conftest.val", "w");
20257 if (! f)
20258 return 1;
20259 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20260 {
20261 long int i = longval ();
20262 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20263 return 1;
20264 fprintf (f, "%ld\n", i);
20265 }
20266 else
20267 {
20268 unsigned long int i = ulongval ();
20269 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20270 return 1;
20271 fprintf (f, "%lu\n", i);
20272 }
20273 return ferror (f) || fclose (f) != 0;
20274
20275 ;
20276 return 0;
20277 }
20278 _ACEOF
20279 rm -f conftest$ac_exeext
20280 if { (ac_try="$ac_link"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20284 esac
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_link") 2>&5
20287 ac_status=$?
20288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20289 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20290 { (case "(($ac_try" in
20291 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20292 *) ac_try_echo=$ac_try;;
20293 esac
20294 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20295 (eval "$ac_try") 2>&5
20296 ac_status=$?
20297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20298 (exit $ac_status); }; }; then
20299 ac_cv_sizeof_int=`cat conftest.val`
20300 else
20301 echo "$as_me: program exited with status $ac_status" >&5
20302 echo "$as_me: failed program was:" >&5
20303 sed 's/^/| /' conftest.$ac_ext >&5
20304
20305 ( exit $ac_status )
20306 if test "$ac_cv_type_int" = yes; then
20307 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
20308 See \`config.log' for more details." >&5
20309 echo "$as_me: error: cannot compute sizeof (int)
20310 See \`config.log' for more details." >&2;}
20311 { (exit 77); exit 77; }; }
20312 else
20313 ac_cv_sizeof_int=0
20314 fi
20315 fi
20316 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20317 fi
20318 rm -f conftest.val
20319 fi
20320 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
20321 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
20322
20323
20324
20325 cat >>confdefs.h <<_ACEOF
20326 #define SIZEOF_INT $ac_cv_sizeof_int
20327 _ACEOF
20328
20329
20330 { echo "$as_me:$LINENO: checking for long" >&5
20331 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
20332 if test "${ac_cv_type_long+set}" = set; then
20333 echo $ECHO_N "(cached) $ECHO_C" >&6
20334 else
20335 cat >conftest.$ac_ext <<_ACEOF
20336 /* confdefs.h. */
20337 _ACEOF
20338 cat confdefs.h >>conftest.$ac_ext
20339 cat >>conftest.$ac_ext <<_ACEOF
20340 /* end confdefs.h. */
20341 $ac_includes_default
20342 typedef long ac__type_new_;
20343 int
20344 main ()
20345 {
20346 if ((ac__type_new_ *) 0)
20347 return 0;
20348 if (sizeof (ac__type_new_))
20349 return 0;
20350 ;
20351 return 0;
20352 }
20353 _ACEOF
20354 rm -f conftest.$ac_objext
20355 if { (ac_try="$ac_compile"
20356 case "(($ac_try" in
20357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20358 *) ac_try_echo=$ac_try;;
20359 esac
20360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20361 (eval "$ac_compile") 2>conftest.er1
20362 ac_status=$?
20363 grep -v '^ *+' conftest.er1 >conftest.err
20364 rm -f conftest.er1
20365 cat conftest.err >&5
20366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20367 (exit $ac_status); } && {
20368 test -z "$ac_c_werror_flag" ||
20369 test ! -s conftest.err
20370 } && test -s conftest.$ac_objext; then
20371 ac_cv_type_long=yes
20372 else
20373 echo "$as_me: failed program was:" >&5
20374 sed 's/^/| /' conftest.$ac_ext >&5
20375
20376 ac_cv_type_long=no
20377 fi
20378
20379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20380 fi
20381 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
20382 echo "${ECHO_T}$ac_cv_type_long" >&6; }
20383
20384 # The cast to long int works around a bug in the HP C Compiler
20385 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20386 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20387 # This bug is HP SR number 8606223364.
20388 { echo "$as_me:$LINENO: checking size of long" >&5
20389 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
20390 if test "${ac_cv_sizeof_long+set}" = set; then
20391 echo $ECHO_N "(cached) $ECHO_C" >&6
20392 else
20393 if test "$cross_compiling" = yes; then
20394 # Depending upon the size, compute the lo and hi bounds.
20395 cat >conftest.$ac_ext <<_ACEOF
20396 /* confdefs.h. */
20397 _ACEOF
20398 cat confdefs.h >>conftest.$ac_ext
20399 cat >>conftest.$ac_ext <<_ACEOF
20400 /* end confdefs.h. */
20401 $ac_includes_default
20402 typedef long ac__type_sizeof_;
20403 int
20404 main ()
20405 {
20406 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20407 test_array [0] = 0
20408
20409 ;
20410 return 0;
20411 }
20412 _ACEOF
20413 rm -f conftest.$ac_objext
20414 if { (ac_try="$ac_compile"
20415 case "(($ac_try" in
20416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20417 *) ac_try_echo=$ac_try;;
20418 esac
20419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20420 (eval "$ac_compile") 2>conftest.er1
20421 ac_status=$?
20422 grep -v '^ *+' conftest.er1 >conftest.err
20423 rm -f conftest.er1
20424 cat conftest.err >&5
20425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20426 (exit $ac_status); } && {
20427 test -z "$ac_c_werror_flag" ||
20428 test ! -s conftest.err
20429 } && test -s conftest.$ac_objext; then
20430 ac_lo=0 ac_mid=0
20431 while :; do
20432 cat >conftest.$ac_ext <<_ACEOF
20433 /* confdefs.h. */
20434 _ACEOF
20435 cat confdefs.h >>conftest.$ac_ext
20436 cat >>conftest.$ac_ext <<_ACEOF
20437 /* end confdefs.h. */
20438 $ac_includes_default
20439 typedef long ac__type_sizeof_;
20440 int
20441 main ()
20442 {
20443 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20444 test_array [0] = 0
20445
20446 ;
20447 return 0;
20448 }
20449 _ACEOF
20450 rm -f conftest.$ac_objext
20451 if { (ac_try="$ac_compile"
20452 case "(($ac_try" in
20453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20454 *) ac_try_echo=$ac_try;;
20455 esac
20456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20457 (eval "$ac_compile") 2>conftest.er1
20458 ac_status=$?
20459 grep -v '^ *+' conftest.er1 >conftest.err
20460 rm -f conftest.er1
20461 cat conftest.err >&5
20462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20463 (exit $ac_status); } && {
20464 test -z "$ac_c_werror_flag" ||
20465 test ! -s conftest.err
20466 } && test -s conftest.$ac_objext; then
20467 ac_hi=$ac_mid; break
20468 else
20469 echo "$as_me: failed program was:" >&5
20470 sed 's/^/| /' conftest.$ac_ext >&5
20471
20472 ac_lo=`expr $ac_mid + 1`
20473 if test $ac_lo -le $ac_mid; then
20474 ac_lo= ac_hi=
20475 break
20476 fi
20477 ac_mid=`expr 2 '*' $ac_mid + 1`
20478 fi
20479
20480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20481 done
20482 else
20483 echo "$as_me: failed program was:" >&5
20484 sed 's/^/| /' conftest.$ac_ext >&5
20485
20486 cat >conftest.$ac_ext <<_ACEOF
20487 /* confdefs.h. */
20488 _ACEOF
20489 cat confdefs.h >>conftest.$ac_ext
20490 cat >>conftest.$ac_ext <<_ACEOF
20491 /* end confdefs.h. */
20492 $ac_includes_default
20493 typedef long ac__type_sizeof_;
20494 int
20495 main ()
20496 {
20497 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20498 test_array [0] = 0
20499
20500 ;
20501 return 0;
20502 }
20503 _ACEOF
20504 rm -f conftest.$ac_objext
20505 if { (ac_try="$ac_compile"
20506 case "(($ac_try" in
20507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20508 *) ac_try_echo=$ac_try;;
20509 esac
20510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20511 (eval "$ac_compile") 2>conftest.er1
20512 ac_status=$?
20513 grep -v '^ *+' conftest.er1 >conftest.err
20514 rm -f conftest.er1
20515 cat conftest.err >&5
20516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20517 (exit $ac_status); } && {
20518 test -z "$ac_c_werror_flag" ||
20519 test ! -s conftest.err
20520 } && test -s conftest.$ac_objext; then
20521 ac_hi=-1 ac_mid=-1
20522 while :; do
20523 cat >conftest.$ac_ext <<_ACEOF
20524 /* confdefs.h. */
20525 _ACEOF
20526 cat confdefs.h >>conftest.$ac_ext
20527 cat >>conftest.$ac_ext <<_ACEOF
20528 /* end confdefs.h. */
20529 $ac_includes_default
20530 typedef long ac__type_sizeof_;
20531 int
20532 main ()
20533 {
20534 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20535 test_array [0] = 0
20536
20537 ;
20538 return 0;
20539 }
20540 _ACEOF
20541 rm -f conftest.$ac_objext
20542 if { (ac_try="$ac_compile"
20543 case "(($ac_try" in
20544 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20545 *) ac_try_echo=$ac_try;;
20546 esac
20547 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20548 (eval "$ac_compile") 2>conftest.er1
20549 ac_status=$?
20550 grep -v '^ *+' conftest.er1 >conftest.err
20551 rm -f conftest.er1
20552 cat conftest.err >&5
20553 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20554 (exit $ac_status); } && {
20555 test -z "$ac_c_werror_flag" ||
20556 test ! -s conftest.err
20557 } && test -s conftest.$ac_objext; then
20558 ac_lo=$ac_mid; break
20559 else
20560 echo "$as_me: failed program was:" >&5
20561 sed 's/^/| /' conftest.$ac_ext >&5
20562
20563 ac_hi=`expr '(' $ac_mid ')' - 1`
20564 if test $ac_mid -le $ac_hi; then
20565 ac_lo= ac_hi=
20566 break
20567 fi
20568 ac_mid=`expr 2 '*' $ac_mid`
20569 fi
20570
20571 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20572 done
20573 else
20574 echo "$as_me: failed program was:" >&5
20575 sed 's/^/| /' conftest.$ac_ext >&5
20576
20577 ac_lo= ac_hi=
20578 fi
20579
20580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20581 fi
20582
20583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20584 # Binary search between lo and hi bounds.
20585 while test "x$ac_lo" != "x$ac_hi"; do
20586 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20587 cat >conftest.$ac_ext <<_ACEOF
20588 /* confdefs.h. */
20589 _ACEOF
20590 cat confdefs.h >>conftest.$ac_ext
20591 cat >>conftest.$ac_ext <<_ACEOF
20592 /* end confdefs.h. */
20593 $ac_includes_default
20594 typedef long ac__type_sizeof_;
20595 int
20596 main ()
20597 {
20598 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20599 test_array [0] = 0
20600
20601 ;
20602 return 0;
20603 }
20604 _ACEOF
20605 rm -f conftest.$ac_objext
20606 if { (ac_try="$ac_compile"
20607 case "(($ac_try" in
20608 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20609 *) ac_try_echo=$ac_try;;
20610 esac
20611 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20612 (eval "$ac_compile") 2>conftest.er1
20613 ac_status=$?
20614 grep -v '^ *+' conftest.er1 >conftest.err
20615 rm -f conftest.er1
20616 cat conftest.err >&5
20617 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20618 (exit $ac_status); } && {
20619 test -z "$ac_c_werror_flag" ||
20620 test ! -s conftest.err
20621 } && test -s conftest.$ac_objext; then
20622 ac_hi=$ac_mid
20623 else
20624 echo "$as_me: failed program was:" >&5
20625 sed 's/^/| /' conftest.$ac_ext >&5
20626
20627 ac_lo=`expr '(' $ac_mid ')' + 1`
20628 fi
20629
20630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20631 done
20632 case $ac_lo in
20633 ?*) ac_cv_sizeof_long=$ac_lo;;
20634 '') if test "$ac_cv_type_long" = yes; then
20635 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20636 See \`config.log' for more details." >&5
20637 echo "$as_me: error: cannot compute sizeof (long)
20638 See \`config.log' for more details." >&2;}
20639 { (exit 77); exit 77; }; }
20640 else
20641 ac_cv_sizeof_long=0
20642 fi ;;
20643 esac
20644 else
20645 cat >conftest.$ac_ext <<_ACEOF
20646 /* confdefs.h. */
20647 _ACEOF
20648 cat confdefs.h >>conftest.$ac_ext
20649 cat >>conftest.$ac_ext <<_ACEOF
20650 /* end confdefs.h. */
20651 $ac_includes_default
20652 typedef long ac__type_sizeof_;
20653 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20654 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20655 #include <stdio.h>
20656 #include <stdlib.h>
20657 int
20658 main ()
20659 {
20660
20661 FILE *f = fopen ("conftest.val", "w");
20662 if (! f)
20663 return 1;
20664 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20665 {
20666 long int i = longval ();
20667 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20668 return 1;
20669 fprintf (f, "%ld\n", i);
20670 }
20671 else
20672 {
20673 unsigned long int i = ulongval ();
20674 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20675 return 1;
20676 fprintf (f, "%lu\n", i);
20677 }
20678 return ferror (f) || fclose (f) != 0;
20679
20680 ;
20681 return 0;
20682 }
20683 _ACEOF
20684 rm -f conftest$ac_exeext
20685 if { (ac_try="$ac_link"
20686 case "(($ac_try" in
20687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20688 *) ac_try_echo=$ac_try;;
20689 esac
20690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20691 (eval "$ac_link") 2>&5
20692 ac_status=$?
20693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20695 { (case "(($ac_try" in
20696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20697 *) ac_try_echo=$ac_try;;
20698 esac
20699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20700 (eval "$ac_try") 2>&5
20701 ac_status=$?
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); }; }; then
20704 ac_cv_sizeof_long=`cat conftest.val`
20705 else
20706 echo "$as_me: program exited with status $ac_status" >&5
20707 echo "$as_me: failed program was:" >&5
20708 sed 's/^/| /' conftest.$ac_ext >&5
20709
20710 ( exit $ac_status )
20711 if test "$ac_cv_type_long" = yes; then
20712 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20713 See \`config.log' for more details." >&5
20714 echo "$as_me: error: cannot compute sizeof (long)
20715 See \`config.log' for more details." >&2;}
20716 { (exit 77); exit 77; }; }
20717 else
20718 ac_cv_sizeof_long=0
20719 fi
20720 fi
20721 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20722 fi
20723 rm -f conftest.val
20724 fi
20725 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20726 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20727
20728
20729
20730 cat >>confdefs.h <<_ACEOF
20731 #define SIZEOF_LONG $ac_cv_sizeof_long
20732 _ACEOF
20733
20734
20735 { echo "$as_me:$LINENO: checking for size_t" >&5
20736 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20737 if test "${ac_cv_type_size_t+set}" = set; then
20738 echo $ECHO_N "(cached) $ECHO_C" >&6
20739 else
20740 cat >conftest.$ac_ext <<_ACEOF
20741 /* confdefs.h. */
20742 _ACEOF
20743 cat confdefs.h >>conftest.$ac_ext
20744 cat >>conftest.$ac_ext <<_ACEOF
20745 /* end confdefs.h. */
20746 $ac_includes_default
20747 typedef size_t ac__type_new_;
20748 int
20749 main ()
20750 {
20751 if ((ac__type_new_ *) 0)
20752 return 0;
20753 if (sizeof (ac__type_new_))
20754 return 0;
20755 ;
20756 return 0;
20757 }
20758 _ACEOF
20759 rm -f conftest.$ac_objext
20760 if { (ac_try="$ac_compile"
20761 case "(($ac_try" in
20762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20763 *) ac_try_echo=$ac_try;;
20764 esac
20765 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20766 (eval "$ac_compile") 2>conftest.er1
20767 ac_status=$?
20768 grep -v '^ *+' conftest.er1 >conftest.err
20769 rm -f conftest.er1
20770 cat conftest.err >&5
20771 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20772 (exit $ac_status); } && {
20773 test -z "$ac_c_werror_flag" ||
20774 test ! -s conftest.err
20775 } && test -s conftest.$ac_objext; then
20776 ac_cv_type_size_t=yes
20777 else
20778 echo "$as_me: failed program was:" >&5
20779 sed 's/^/| /' conftest.$ac_ext >&5
20780
20781 ac_cv_type_size_t=no
20782 fi
20783
20784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20785 fi
20786 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20787 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20788
20789 # The cast to long int works around a bug in the HP C Compiler
20790 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20791 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20792 # This bug is HP SR number 8606223364.
20793 { echo "$as_me:$LINENO: checking size of size_t" >&5
20794 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20795 if test "${ac_cv_sizeof_size_t+set}" = set; then
20796 echo $ECHO_N "(cached) $ECHO_C" >&6
20797 else
20798 if test "$cross_compiling" = yes; then
20799 # Depending upon the size, compute the lo and hi bounds.
20800 cat >conftest.$ac_ext <<_ACEOF
20801 /* confdefs.h. */
20802 _ACEOF
20803 cat confdefs.h >>conftest.$ac_ext
20804 cat >>conftest.$ac_ext <<_ACEOF
20805 /* end confdefs.h. */
20806 $ac_includes_default
20807 typedef size_t ac__type_sizeof_;
20808 int
20809 main ()
20810 {
20811 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20812 test_array [0] = 0
20813
20814 ;
20815 return 0;
20816 }
20817 _ACEOF
20818 rm -f conftest.$ac_objext
20819 if { (ac_try="$ac_compile"
20820 case "(($ac_try" in
20821 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20822 *) ac_try_echo=$ac_try;;
20823 esac
20824 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20825 (eval "$ac_compile") 2>conftest.er1
20826 ac_status=$?
20827 grep -v '^ *+' conftest.er1 >conftest.err
20828 rm -f conftest.er1
20829 cat conftest.err >&5
20830 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20831 (exit $ac_status); } && {
20832 test -z "$ac_c_werror_flag" ||
20833 test ! -s conftest.err
20834 } && test -s conftest.$ac_objext; then
20835 ac_lo=0 ac_mid=0
20836 while :; do
20837 cat >conftest.$ac_ext <<_ACEOF
20838 /* confdefs.h. */
20839 _ACEOF
20840 cat confdefs.h >>conftest.$ac_ext
20841 cat >>conftest.$ac_ext <<_ACEOF
20842 /* end confdefs.h. */
20843 $ac_includes_default
20844 typedef size_t ac__type_sizeof_;
20845 int
20846 main ()
20847 {
20848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20849 test_array [0] = 0
20850
20851 ;
20852 return 0;
20853 }
20854 _ACEOF
20855 rm -f conftest.$ac_objext
20856 if { (ac_try="$ac_compile"
20857 case "(($ac_try" in
20858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20859 *) ac_try_echo=$ac_try;;
20860 esac
20861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20862 (eval "$ac_compile") 2>conftest.er1
20863 ac_status=$?
20864 grep -v '^ *+' conftest.er1 >conftest.err
20865 rm -f conftest.er1
20866 cat conftest.err >&5
20867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20868 (exit $ac_status); } && {
20869 test -z "$ac_c_werror_flag" ||
20870 test ! -s conftest.err
20871 } && test -s conftest.$ac_objext; then
20872 ac_hi=$ac_mid; break
20873 else
20874 echo "$as_me: failed program was:" >&5
20875 sed 's/^/| /' conftest.$ac_ext >&5
20876
20877 ac_lo=`expr $ac_mid + 1`
20878 if test $ac_lo -le $ac_mid; then
20879 ac_lo= ac_hi=
20880 break
20881 fi
20882 ac_mid=`expr 2 '*' $ac_mid + 1`
20883 fi
20884
20885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20886 done
20887 else
20888 echo "$as_me: failed program was:" >&5
20889 sed 's/^/| /' conftest.$ac_ext >&5
20890
20891 cat >conftest.$ac_ext <<_ACEOF
20892 /* confdefs.h. */
20893 _ACEOF
20894 cat confdefs.h >>conftest.$ac_ext
20895 cat >>conftest.$ac_ext <<_ACEOF
20896 /* end confdefs.h. */
20897 $ac_includes_default
20898 typedef size_t ac__type_sizeof_;
20899 int
20900 main ()
20901 {
20902 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20903 test_array [0] = 0
20904
20905 ;
20906 return 0;
20907 }
20908 _ACEOF
20909 rm -f conftest.$ac_objext
20910 if { (ac_try="$ac_compile"
20911 case "(($ac_try" in
20912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20913 *) ac_try_echo=$ac_try;;
20914 esac
20915 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20916 (eval "$ac_compile") 2>conftest.er1
20917 ac_status=$?
20918 grep -v '^ *+' conftest.er1 >conftest.err
20919 rm -f conftest.er1
20920 cat conftest.err >&5
20921 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20922 (exit $ac_status); } && {
20923 test -z "$ac_c_werror_flag" ||
20924 test ! -s conftest.err
20925 } && test -s conftest.$ac_objext; then
20926 ac_hi=-1 ac_mid=-1
20927 while :; do
20928 cat >conftest.$ac_ext <<_ACEOF
20929 /* confdefs.h. */
20930 _ACEOF
20931 cat confdefs.h >>conftest.$ac_ext
20932 cat >>conftest.$ac_ext <<_ACEOF
20933 /* end confdefs.h. */
20934 $ac_includes_default
20935 typedef size_t ac__type_sizeof_;
20936 int
20937 main ()
20938 {
20939 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20940 test_array [0] = 0
20941
20942 ;
20943 return 0;
20944 }
20945 _ACEOF
20946 rm -f conftest.$ac_objext
20947 if { (ac_try="$ac_compile"
20948 case "(($ac_try" in
20949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20950 *) ac_try_echo=$ac_try;;
20951 esac
20952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20953 (eval "$ac_compile") 2>conftest.er1
20954 ac_status=$?
20955 grep -v '^ *+' conftest.er1 >conftest.err
20956 rm -f conftest.er1
20957 cat conftest.err >&5
20958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20959 (exit $ac_status); } && {
20960 test -z "$ac_c_werror_flag" ||
20961 test ! -s conftest.err
20962 } && test -s conftest.$ac_objext; then
20963 ac_lo=$ac_mid; break
20964 else
20965 echo "$as_me: failed program was:" >&5
20966 sed 's/^/| /' conftest.$ac_ext >&5
20967
20968 ac_hi=`expr '(' $ac_mid ')' - 1`
20969 if test $ac_mid -le $ac_hi; then
20970 ac_lo= ac_hi=
20971 break
20972 fi
20973 ac_mid=`expr 2 '*' $ac_mid`
20974 fi
20975
20976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20977 done
20978 else
20979 echo "$as_me: failed program was:" >&5
20980 sed 's/^/| /' conftest.$ac_ext >&5
20981
20982 ac_lo= ac_hi=
20983 fi
20984
20985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20986 fi
20987
20988 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20989 # Binary search between lo and hi bounds.
20990 while test "x$ac_lo" != "x$ac_hi"; do
20991 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20992 cat >conftest.$ac_ext <<_ACEOF
20993 /* confdefs.h. */
20994 _ACEOF
20995 cat confdefs.h >>conftest.$ac_ext
20996 cat >>conftest.$ac_ext <<_ACEOF
20997 /* end confdefs.h. */
20998 $ac_includes_default
20999 typedef size_t ac__type_sizeof_;
21000 int
21001 main ()
21002 {
21003 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21004 test_array [0] = 0
21005
21006 ;
21007 return 0;
21008 }
21009 _ACEOF
21010 rm -f conftest.$ac_objext
21011 if { (ac_try="$ac_compile"
21012 case "(($ac_try" in
21013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21014 *) ac_try_echo=$ac_try;;
21015 esac
21016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21017 (eval "$ac_compile") 2>conftest.er1
21018 ac_status=$?
21019 grep -v '^ *+' conftest.er1 >conftest.err
21020 rm -f conftest.er1
21021 cat conftest.err >&5
21022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21023 (exit $ac_status); } && {
21024 test -z "$ac_c_werror_flag" ||
21025 test ! -s conftest.err
21026 } && test -s conftest.$ac_objext; then
21027 ac_hi=$ac_mid
21028 else
21029 echo "$as_me: failed program was:" >&5
21030 sed 's/^/| /' conftest.$ac_ext >&5
21031
21032 ac_lo=`expr '(' $ac_mid ')' + 1`
21033 fi
21034
21035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21036 done
21037 case $ac_lo in
21038 ?*) ac_cv_sizeof_size_t=$ac_lo;;
21039 '') if test "$ac_cv_type_size_t" = yes; then
21040 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21041 See \`config.log' for more details." >&5
21042 echo "$as_me: error: cannot compute sizeof (size_t)
21043 See \`config.log' for more details." >&2;}
21044 { (exit 77); exit 77; }; }
21045 else
21046 ac_cv_sizeof_size_t=0
21047 fi ;;
21048 esac
21049 else
21050 cat >conftest.$ac_ext <<_ACEOF
21051 /* confdefs.h. */
21052 _ACEOF
21053 cat confdefs.h >>conftest.$ac_ext
21054 cat >>conftest.$ac_ext <<_ACEOF
21055 /* end confdefs.h. */
21056 $ac_includes_default
21057 typedef size_t ac__type_sizeof_;
21058 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21059 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21060 #include <stdio.h>
21061 #include <stdlib.h>
21062 int
21063 main ()
21064 {
21065
21066 FILE *f = fopen ("conftest.val", "w");
21067 if (! f)
21068 return 1;
21069 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21070 {
21071 long int i = longval ();
21072 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21073 return 1;
21074 fprintf (f, "%ld\n", i);
21075 }
21076 else
21077 {
21078 unsigned long int i = ulongval ();
21079 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21080 return 1;
21081 fprintf (f, "%lu\n", i);
21082 }
21083 return ferror (f) || fclose (f) != 0;
21084
21085 ;
21086 return 0;
21087 }
21088 _ACEOF
21089 rm -f conftest$ac_exeext
21090 if { (ac_try="$ac_link"
21091 case "(($ac_try" in
21092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21093 *) ac_try_echo=$ac_try;;
21094 esac
21095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21096 (eval "$ac_link") 2>&5
21097 ac_status=$?
21098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21099 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21100 { (case "(($ac_try" in
21101 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21102 *) ac_try_echo=$ac_try;;
21103 esac
21104 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21105 (eval "$ac_try") 2>&5
21106 ac_status=$?
21107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21108 (exit $ac_status); }; }; then
21109 ac_cv_sizeof_size_t=`cat conftest.val`
21110 else
21111 echo "$as_me: program exited with status $ac_status" >&5
21112 echo "$as_me: failed program was:" >&5
21113 sed 's/^/| /' conftest.$ac_ext >&5
21114
21115 ( exit $ac_status )
21116 if test "$ac_cv_type_size_t" = yes; then
21117 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
21118 See \`config.log' for more details." >&5
21119 echo "$as_me: error: cannot compute sizeof (size_t)
21120 See \`config.log' for more details." >&2;}
21121 { (exit 77); exit 77; }; }
21122 else
21123 ac_cv_sizeof_size_t=0
21124 fi
21125 fi
21126 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21127 fi
21128 rm -f conftest.val
21129 fi
21130 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
21131 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
21132
21133
21134
21135 cat >>confdefs.h <<_ACEOF
21136 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
21137 _ACEOF
21138
21139
21140
21141 case "${host}" in
21142 arm-*-linux* )
21143 { echo "$as_me:$LINENO: checking for long long" >&5
21144 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21145 if test "${ac_cv_type_long_long+set}" = set; then
21146 echo $ECHO_N "(cached) $ECHO_C" >&6
21147 else
21148 cat >conftest.$ac_ext <<_ACEOF
21149 /* confdefs.h. */
21150 _ACEOF
21151 cat confdefs.h >>conftest.$ac_ext
21152 cat >>conftest.$ac_ext <<_ACEOF
21153 /* end confdefs.h. */
21154 $ac_includes_default
21155 typedef long long ac__type_new_;
21156 int
21157 main ()
21158 {
21159 if ((ac__type_new_ *) 0)
21160 return 0;
21161 if (sizeof (ac__type_new_))
21162 return 0;
21163 ;
21164 return 0;
21165 }
21166 _ACEOF
21167 rm -f conftest.$ac_objext
21168 if { (ac_try="$ac_compile"
21169 case "(($ac_try" in
21170 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21171 *) ac_try_echo=$ac_try;;
21172 esac
21173 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21174 (eval "$ac_compile") 2>conftest.er1
21175 ac_status=$?
21176 grep -v '^ *+' conftest.er1 >conftest.err
21177 rm -f conftest.er1
21178 cat conftest.err >&5
21179 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21180 (exit $ac_status); } && {
21181 test -z "$ac_c_werror_flag" ||
21182 test ! -s conftest.err
21183 } && test -s conftest.$ac_objext; then
21184 ac_cv_type_long_long=yes
21185 else
21186 echo "$as_me: failed program was:" >&5
21187 sed 's/^/| /' conftest.$ac_ext >&5
21188
21189 ac_cv_type_long_long=no
21190 fi
21191
21192 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21193 fi
21194 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21195 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21196
21197 # The cast to long int works around a bug in the HP C Compiler
21198 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21199 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21200 # This bug is HP SR number 8606223364.
21201 { echo "$as_me:$LINENO: checking size of long long" >&5
21202 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21203 if test "${ac_cv_sizeof_long_long+set}" = set; then
21204 echo $ECHO_N "(cached) $ECHO_C" >&6
21205 else
21206 if test "$cross_compiling" = yes; then
21207 # Depending upon the size, compute the lo and hi bounds.
21208 cat >conftest.$ac_ext <<_ACEOF
21209 /* confdefs.h. */
21210 _ACEOF
21211 cat confdefs.h >>conftest.$ac_ext
21212 cat >>conftest.$ac_ext <<_ACEOF
21213 /* end confdefs.h. */
21214 $ac_includes_default
21215 typedef long long ac__type_sizeof_;
21216 int
21217 main ()
21218 {
21219 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21220 test_array [0] = 0
21221
21222 ;
21223 return 0;
21224 }
21225 _ACEOF
21226 rm -f conftest.$ac_objext
21227 if { (ac_try="$ac_compile"
21228 case "(($ac_try" in
21229 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21230 *) ac_try_echo=$ac_try;;
21231 esac
21232 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21233 (eval "$ac_compile") 2>conftest.er1
21234 ac_status=$?
21235 grep -v '^ *+' conftest.er1 >conftest.err
21236 rm -f conftest.er1
21237 cat conftest.err >&5
21238 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21239 (exit $ac_status); } && {
21240 test -z "$ac_c_werror_flag" ||
21241 test ! -s conftest.err
21242 } && test -s conftest.$ac_objext; then
21243 ac_lo=0 ac_mid=0
21244 while :; do
21245 cat >conftest.$ac_ext <<_ACEOF
21246 /* confdefs.h. */
21247 _ACEOF
21248 cat confdefs.h >>conftest.$ac_ext
21249 cat >>conftest.$ac_ext <<_ACEOF
21250 /* end confdefs.h. */
21251 $ac_includes_default
21252 typedef long long ac__type_sizeof_;
21253 int
21254 main ()
21255 {
21256 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21257 test_array [0] = 0
21258
21259 ;
21260 return 0;
21261 }
21262 _ACEOF
21263 rm -f conftest.$ac_objext
21264 if { (ac_try="$ac_compile"
21265 case "(($ac_try" in
21266 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21267 *) ac_try_echo=$ac_try;;
21268 esac
21269 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21270 (eval "$ac_compile") 2>conftest.er1
21271 ac_status=$?
21272 grep -v '^ *+' conftest.er1 >conftest.err
21273 rm -f conftest.er1
21274 cat conftest.err >&5
21275 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21276 (exit $ac_status); } && {
21277 test -z "$ac_c_werror_flag" ||
21278 test ! -s conftest.err
21279 } && test -s conftest.$ac_objext; then
21280 ac_hi=$ac_mid; break
21281 else
21282 echo "$as_me: failed program was:" >&5
21283 sed 's/^/| /' conftest.$ac_ext >&5
21284
21285 ac_lo=`expr $ac_mid + 1`
21286 if test $ac_lo -le $ac_mid; then
21287 ac_lo= ac_hi=
21288 break
21289 fi
21290 ac_mid=`expr 2 '*' $ac_mid + 1`
21291 fi
21292
21293 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21294 done
21295 else
21296 echo "$as_me: failed program was:" >&5
21297 sed 's/^/| /' conftest.$ac_ext >&5
21298
21299 cat >conftest.$ac_ext <<_ACEOF
21300 /* confdefs.h. */
21301 _ACEOF
21302 cat confdefs.h >>conftest.$ac_ext
21303 cat >>conftest.$ac_ext <<_ACEOF
21304 /* end confdefs.h. */
21305 $ac_includes_default
21306 typedef long long ac__type_sizeof_;
21307 int
21308 main ()
21309 {
21310 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21311 test_array [0] = 0
21312
21313 ;
21314 return 0;
21315 }
21316 _ACEOF
21317 rm -f conftest.$ac_objext
21318 if { (ac_try="$ac_compile"
21319 case "(($ac_try" in
21320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21321 *) ac_try_echo=$ac_try;;
21322 esac
21323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21324 (eval "$ac_compile") 2>conftest.er1
21325 ac_status=$?
21326 grep -v '^ *+' conftest.er1 >conftest.err
21327 rm -f conftest.er1
21328 cat conftest.err >&5
21329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21330 (exit $ac_status); } && {
21331 test -z "$ac_c_werror_flag" ||
21332 test ! -s conftest.err
21333 } && test -s conftest.$ac_objext; then
21334 ac_hi=-1 ac_mid=-1
21335 while :; do
21336 cat >conftest.$ac_ext <<_ACEOF
21337 /* confdefs.h. */
21338 _ACEOF
21339 cat confdefs.h >>conftest.$ac_ext
21340 cat >>conftest.$ac_ext <<_ACEOF
21341 /* end confdefs.h. */
21342 $ac_includes_default
21343 typedef long long ac__type_sizeof_;
21344 int
21345 main ()
21346 {
21347 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21348 test_array [0] = 0
21349
21350 ;
21351 return 0;
21352 }
21353 _ACEOF
21354 rm -f conftest.$ac_objext
21355 if { (ac_try="$ac_compile"
21356 case "(($ac_try" in
21357 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21358 *) ac_try_echo=$ac_try;;
21359 esac
21360 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21361 (eval "$ac_compile") 2>conftest.er1
21362 ac_status=$?
21363 grep -v '^ *+' conftest.er1 >conftest.err
21364 rm -f conftest.er1
21365 cat conftest.err >&5
21366 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21367 (exit $ac_status); } && {
21368 test -z "$ac_c_werror_flag" ||
21369 test ! -s conftest.err
21370 } && test -s conftest.$ac_objext; then
21371 ac_lo=$ac_mid; break
21372 else
21373 echo "$as_me: failed program was:" >&5
21374 sed 's/^/| /' conftest.$ac_ext >&5
21375
21376 ac_hi=`expr '(' $ac_mid ')' - 1`
21377 if test $ac_mid -le $ac_hi; then
21378 ac_lo= ac_hi=
21379 break
21380 fi
21381 ac_mid=`expr 2 '*' $ac_mid`
21382 fi
21383
21384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21385 done
21386 else
21387 echo "$as_me: failed program was:" >&5
21388 sed 's/^/| /' conftest.$ac_ext >&5
21389
21390 ac_lo= ac_hi=
21391 fi
21392
21393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21394 fi
21395
21396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21397 # Binary search between lo and hi bounds.
21398 while test "x$ac_lo" != "x$ac_hi"; do
21399 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21400 cat >conftest.$ac_ext <<_ACEOF
21401 /* confdefs.h. */
21402 _ACEOF
21403 cat confdefs.h >>conftest.$ac_ext
21404 cat >>conftest.$ac_ext <<_ACEOF
21405 /* end confdefs.h. */
21406 $ac_includes_default
21407 typedef long long ac__type_sizeof_;
21408 int
21409 main ()
21410 {
21411 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21412 test_array [0] = 0
21413
21414 ;
21415 return 0;
21416 }
21417 _ACEOF
21418 rm -f conftest.$ac_objext
21419 if { (ac_try="$ac_compile"
21420 case "(($ac_try" in
21421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21422 *) ac_try_echo=$ac_try;;
21423 esac
21424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21425 (eval "$ac_compile") 2>conftest.er1
21426 ac_status=$?
21427 grep -v '^ *+' conftest.er1 >conftest.err
21428 rm -f conftest.er1
21429 cat conftest.err >&5
21430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21431 (exit $ac_status); } && {
21432 test -z "$ac_c_werror_flag" ||
21433 test ! -s conftest.err
21434 } && test -s conftest.$ac_objext; then
21435 ac_hi=$ac_mid
21436 else
21437 echo "$as_me: failed program was:" >&5
21438 sed 's/^/| /' conftest.$ac_ext >&5
21439
21440 ac_lo=`expr '(' $ac_mid ')' + 1`
21441 fi
21442
21443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21444 done
21445 case $ac_lo in
21446 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21447 '') if test "$ac_cv_type_long_long" = yes; then
21448 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21449 See \`config.log' for more details." >&5
21450 echo "$as_me: error: cannot compute sizeof (long long)
21451 See \`config.log' for more details." >&2;}
21452 { (exit 77); exit 77; }; }
21453 else
21454 ac_cv_sizeof_long_long=0
21455 fi ;;
21456 esac
21457 else
21458 cat >conftest.$ac_ext <<_ACEOF
21459 /* confdefs.h. */
21460 _ACEOF
21461 cat confdefs.h >>conftest.$ac_ext
21462 cat >>conftest.$ac_ext <<_ACEOF
21463 /* end confdefs.h. */
21464 $ac_includes_default
21465 typedef long long ac__type_sizeof_;
21466 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21467 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21468 #include <stdio.h>
21469 #include <stdlib.h>
21470 int
21471 main ()
21472 {
21473
21474 FILE *f = fopen ("conftest.val", "w");
21475 if (! f)
21476 return 1;
21477 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21478 {
21479 long int i = longval ();
21480 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21481 return 1;
21482 fprintf (f, "%ld\n", i);
21483 }
21484 else
21485 {
21486 unsigned long int i = ulongval ();
21487 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21488 return 1;
21489 fprintf (f, "%lu\n", i);
21490 }
21491 return ferror (f) || fclose (f) != 0;
21492
21493 ;
21494 return 0;
21495 }
21496 _ACEOF
21497 rm -f conftest$ac_exeext
21498 if { (ac_try="$ac_link"
21499 case "(($ac_try" in
21500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21501 *) ac_try_echo=$ac_try;;
21502 esac
21503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21504 (eval "$ac_link") 2>&5
21505 ac_status=$?
21506 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21507 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21508 { (case "(($ac_try" in
21509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21510 *) ac_try_echo=$ac_try;;
21511 esac
21512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21513 (eval "$ac_try") 2>&5
21514 ac_status=$?
21515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21516 (exit $ac_status); }; }; then
21517 ac_cv_sizeof_long_long=`cat conftest.val`
21518 else
21519 echo "$as_me: program exited with status $ac_status" >&5
21520 echo "$as_me: failed program was:" >&5
21521 sed 's/^/| /' conftest.$ac_ext >&5
21522
21523 ( exit $ac_status )
21524 if test "$ac_cv_type_long_long" = yes; then
21525 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21526 See \`config.log' for more details." >&5
21527 echo "$as_me: error: cannot compute sizeof (long long)
21528 See \`config.log' for more details." >&2;}
21529 { (exit 77); exit 77; }; }
21530 else
21531 ac_cv_sizeof_long_long=0
21532 fi
21533 fi
21534 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21535 fi
21536 rm -f conftest.val
21537 fi
21538 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21539 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21540
21541
21542
21543 cat >>confdefs.h <<_ACEOF
21544 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21545 _ACEOF
21546
21547
21548 ;;
21549 *-hp-hpux* )
21550 { echo "$as_me:$LINENO: checking for long long" >&5
21551 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21552 if test "${ac_cv_type_long_long+set}" = set; then
21553 echo $ECHO_N "(cached) $ECHO_C" >&6
21554 else
21555 cat >conftest.$ac_ext <<_ACEOF
21556 /* confdefs.h. */
21557 _ACEOF
21558 cat confdefs.h >>conftest.$ac_ext
21559 cat >>conftest.$ac_ext <<_ACEOF
21560 /* end confdefs.h. */
21561 $ac_includes_default
21562 typedef long long ac__type_new_;
21563 int
21564 main ()
21565 {
21566 if ((ac__type_new_ *) 0)
21567 return 0;
21568 if (sizeof (ac__type_new_))
21569 return 0;
21570 ;
21571 return 0;
21572 }
21573 _ACEOF
21574 rm -f conftest.$ac_objext
21575 if { (ac_try="$ac_compile"
21576 case "(($ac_try" in
21577 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21578 *) ac_try_echo=$ac_try;;
21579 esac
21580 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21581 (eval "$ac_compile") 2>conftest.er1
21582 ac_status=$?
21583 grep -v '^ *+' conftest.er1 >conftest.err
21584 rm -f conftest.er1
21585 cat conftest.err >&5
21586 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21587 (exit $ac_status); } && {
21588 test -z "$ac_c_werror_flag" ||
21589 test ! -s conftest.err
21590 } && test -s conftest.$ac_objext; then
21591 ac_cv_type_long_long=yes
21592 else
21593 echo "$as_me: failed program was:" >&5
21594 sed 's/^/| /' conftest.$ac_ext >&5
21595
21596 ac_cv_type_long_long=no
21597 fi
21598
21599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21600 fi
21601 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21602 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21603
21604 # The cast to long int works around a bug in the HP C Compiler
21605 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21606 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21607 # This bug is HP SR number 8606223364.
21608 { echo "$as_me:$LINENO: checking size of long long" >&5
21609 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21610 if test "${ac_cv_sizeof_long_long+set}" = set; then
21611 echo $ECHO_N "(cached) $ECHO_C" >&6
21612 else
21613 if test "$cross_compiling" = yes; then
21614 # Depending upon the size, compute the lo and hi bounds.
21615 cat >conftest.$ac_ext <<_ACEOF
21616 /* confdefs.h. */
21617 _ACEOF
21618 cat confdefs.h >>conftest.$ac_ext
21619 cat >>conftest.$ac_ext <<_ACEOF
21620 /* end confdefs.h. */
21621 $ac_includes_default
21622 typedef long long ac__type_sizeof_;
21623 int
21624 main ()
21625 {
21626 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21627 test_array [0] = 0
21628
21629 ;
21630 return 0;
21631 }
21632 _ACEOF
21633 rm -f conftest.$ac_objext
21634 if { (ac_try="$ac_compile"
21635 case "(($ac_try" in
21636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21637 *) ac_try_echo=$ac_try;;
21638 esac
21639 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21640 (eval "$ac_compile") 2>conftest.er1
21641 ac_status=$?
21642 grep -v '^ *+' conftest.er1 >conftest.err
21643 rm -f conftest.er1
21644 cat conftest.err >&5
21645 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21646 (exit $ac_status); } && {
21647 test -z "$ac_c_werror_flag" ||
21648 test ! -s conftest.err
21649 } && test -s conftest.$ac_objext; then
21650 ac_lo=0 ac_mid=0
21651 while :; do
21652 cat >conftest.$ac_ext <<_ACEOF
21653 /* confdefs.h. */
21654 _ACEOF
21655 cat confdefs.h >>conftest.$ac_ext
21656 cat >>conftest.$ac_ext <<_ACEOF
21657 /* end confdefs.h. */
21658 $ac_includes_default
21659 typedef long long ac__type_sizeof_;
21660 int
21661 main ()
21662 {
21663 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21664 test_array [0] = 0
21665
21666 ;
21667 return 0;
21668 }
21669 _ACEOF
21670 rm -f conftest.$ac_objext
21671 if { (ac_try="$ac_compile"
21672 case "(($ac_try" in
21673 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21674 *) ac_try_echo=$ac_try;;
21675 esac
21676 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21677 (eval "$ac_compile") 2>conftest.er1
21678 ac_status=$?
21679 grep -v '^ *+' conftest.er1 >conftest.err
21680 rm -f conftest.er1
21681 cat conftest.err >&5
21682 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21683 (exit $ac_status); } && {
21684 test -z "$ac_c_werror_flag" ||
21685 test ! -s conftest.err
21686 } && test -s conftest.$ac_objext; then
21687 ac_hi=$ac_mid; break
21688 else
21689 echo "$as_me: failed program was:" >&5
21690 sed 's/^/| /' conftest.$ac_ext >&5
21691
21692 ac_lo=`expr $ac_mid + 1`
21693 if test $ac_lo -le $ac_mid; then
21694 ac_lo= ac_hi=
21695 break
21696 fi
21697 ac_mid=`expr 2 '*' $ac_mid + 1`
21698 fi
21699
21700 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21701 done
21702 else
21703 echo "$as_me: failed program was:" >&5
21704 sed 's/^/| /' conftest.$ac_ext >&5
21705
21706 cat >conftest.$ac_ext <<_ACEOF
21707 /* confdefs.h. */
21708 _ACEOF
21709 cat confdefs.h >>conftest.$ac_ext
21710 cat >>conftest.$ac_ext <<_ACEOF
21711 /* end confdefs.h. */
21712 $ac_includes_default
21713 typedef long long ac__type_sizeof_;
21714 int
21715 main ()
21716 {
21717 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21718 test_array [0] = 0
21719
21720 ;
21721 return 0;
21722 }
21723 _ACEOF
21724 rm -f conftest.$ac_objext
21725 if { (ac_try="$ac_compile"
21726 case "(($ac_try" in
21727 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21728 *) ac_try_echo=$ac_try;;
21729 esac
21730 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21731 (eval "$ac_compile") 2>conftest.er1
21732 ac_status=$?
21733 grep -v '^ *+' conftest.er1 >conftest.err
21734 rm -f conftest.er1
21735 cat conftest.err >&5
21736 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21737 (exit $ac_status); } && {
21738 test -z "$ac_c_werror_flag" ||
21739 test ! -s conftest.err
21740 } && test -s conftest.$ac_objext; then
21741 ac_hi=-1 ac_mid=-1
21742 while :; do
21743 cat >conftest.$ac_ext <<_ACEOF
21744 /* confdefs.h. */
21745 _ACEOF
21746 cat confdefs.h >>conftest.$ac_ext
21747 cat >>conftest.$ac_ext <<_ACEOF
21748 /* end confdefs.h. */
21749 $ac_includes_default
21750 typedef long long ac__type_sizeof_;
21751 int
21752 main ()
21753 {
21754 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21755 test_array [0] = 0
21756
21757 ;
21758 return 0;
21759 }
21760 _ACEOF
21761 rm -f conftest.$ac_objext
21762 if { (ac_try="$ac_compile"
21763 case "(($ac_try" in
21764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21765 *) ac_try_echo=$ac_try;;
21766 esac
21767 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21768 (eval "$ac_compile") 2>conftest.er1
21769 ac_status=$?
21770 grep -v '^ *+' conftest.er1 >conftest.err
21771 rm -f conftest.er1
21772 cat conftest.err >&5
21773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21774 (exit $ac_status); } && {
21775 test -z "$ac_c_werror_flag" ||
21776 test ! -s conftest.err
21777 } && test -s conftest.$ac_objext; then
21778 ac_lo=$ac_mid; break
21779 else
21780 echo "$as_me: failed program was:" >&5
21781 sed 's/^/| /' conftest.$ac_ext >&5
21782
21783 ac_hi=`expr '(' $ac_mid ')' - 1`
21784 if test $ac_mid -le $ac_hi; then
21785 ac_lo= ac_hi=
21786 break
21787 fi
21788 ac_mid=`expr 2 '*' $ac_mid`
21789 fi
21790
21791 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21792 done
21793 else
21794 echo "$as_me: failed program was:" >&5
21795 sed 's/^/| /' conftest.$ac_ext >&5
21796
21797 ac_lo= ac_hi=
21798 fi
21799
21800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21801 fi
21802
21803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21804 # Binary search between lo and hi bounds.
21805 while test "x$ac_lo" != "x$ac_hi"; do
21806 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21807 cat >conftest.$ac_ext <<_ACEOF
21808 /* confdefs.h. */
21809 _ACEOF
21810 cat confdefs.h >>conftest.$ac_ext
21811 cat >>conftest.$ac_ext <<_ACEOF
21812 /* end confdefs.h. */
21813 $ac_includes_default
21814 typedef long long ac__type_sizeof_;
21815 int
21816 main ()
21817 {
21818 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21819 test_array [0] = 0
21820
21821 ;
21822 return 0;
21823 }
21824 _ACEOF
21825 rm -f conftest.$ac_objext
21826 if { (ac_try="$ac_compile"
21827 case "(($ac_try" in
21828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21829 *) ac_try_echo=$ac_try;;
21830 esac
21831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21832 (eval "$ac_compile") 2>conftest.er1
21833 ac_status=$?
21834 grep -v '^ *+' conftest.er1 >conftest.err
21835 rm -f conftest.er1
21836 cat conftest.err >&5
21837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21838 (exit $ac_status); } && {
21839 test -z "$ac_c_werror_flag" ||
21840 test ! -s conftest.err
21841 } && test -s conftest.$ac_objext; then
21842 ac_hi=$ac_mid
21843 else
21844 echo "$as_me: failed program was:" >&5
21845 sed 's/^/| /' conftest.$ac_ext >&5
21846
21847 ac_lo=`expr '(' $ac_mid ')' + 1`
21848 fi
21849
21850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21851 done
21852 case $ac_lo in
21853 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21854 '') if test "$ac_cv_type_long_long" = yes; then
21855 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21856 See \`config.log' for more details." >&5
21857 echo "$as_me: error: cannot compute sizeof (long long)
21858 See \`config.log' for more details." >&2;}
21859 { (exit 77); exit 77; }; }
21860 else
21861 ac_cv_sizeof_long_long=0
21862 fi ;;
21863 esac
21864 else
21865 cat >conftest.$ac_ext <<_ACEOF
21866 /* confdefs.h. */
21867 _ACEOF
21868 cat confdefs.h >>conftest.$ac_ext
21869 cat >>conftest.$ac_ext <<_ACEOF
21870 /* end confdefs.h. */
21871 $ac_includes_default
21872 typedef long long ac__type_sizeof_;
21873 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21874 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21875 #include <stdio.h>
21876 #include <stdlib.h>
21877 int
21878 main ()
21879 {
21880
21881 FILE *f = fopen ("conftest.val", "w");
21882 if (! f)
21883 return 1;
21884 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21885 {
21886 long int i = longval ();
21887 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21888 return 1;
21889 fprintf (f, "%ld\n", i);
21890 }
21891 else
21892 {
21893 unsigned long int i = ulongval ();
21894 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21895 return 1;
21896 fprintf (f, "%lu\n", i);
21897 }
21898 return ferror (f) || fclose (f) != 0;
21899
21900 ;
21901 return 0;
21902 }
21903 _ACEOF
21904 rm -f conftest$ac_exeext
21905 if { (ac_try="$ac_link"
21906 case "(($ac_try" in
21907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21908 *) ac_try_echo=$ac_try;;
21909 esac
21910 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21911 (eval "$ac_link") 2>&5
21912 ac_status=$?
21913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21914 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21915 { (case "(($ac_try" in
21916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21917 *) ac_try_echo=$ac_try;;
21918 esac
21919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21920 (eval "$ac_try") 2>&5
21921 ac_status=$?
21922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21923 (exit $ac_status); }; }; then
21924 ac_cv_sizeof_long_long=`cat conftest.val`
21925 else
21926 echo "$as_me: program exited with status $ac_status" >&5
21927 echo "$as_me: failed program was:" >&5
21928 sed 's/^/| /' conftest.$ac_ext >&5
21929
21930 ( exit $ac_status )
21931 if test "$ac_cv_type_long_long" = yes; then
21932 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21933 See \`config.log' for more details." >&5
21934 echo "$as_me: error: cannot compute sizeof (long long)
21935 See \`config.log' for more details." >&2;}
21936 { (exit 77); exit 77; }; }
21937 else
21938 ac_cv_sizeof_long_long=0
21939 fi
21940 fi
21941 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21942 fi
21943 rm -f conftest.val
21944 fi
21945 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21946 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21947
21948
21949
21950 cat >>confdefs.h <<_ACEOF
21951 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21952 _ACEOF
21953
21954
21955 if test "$ac_cv_sizeof_long_long" != 0; then
21956 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21957 fi
21958 ;;
21959 * )
21960 { echo "$as_me:$LINENO: checking for long long" >&5
21961 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21962 if test "${ac_cv_type_long_long+set}" = set; then
21963 echo $ECHO_N "(cached) $ECHO_C" >&6
21964 else
21965 cat >conftest.$ac_ext <<_ACEOF
21966 /* confdefs.h. */
21967 _ACEOF
21968 cat confdefs.h >>conftest.$ac_ext
21969 cat >>conftest.$ac_ext <<_ACEOF
21970 /* end confdefs.h. */
21971 $ac_includes_default
21972 typedef long long ac__type_new_;
21973 int
21974 main ()
21975 {
21976 if ((ac__type_new_ *) 0)
21977 return 0;
21978 if (sizeof (ac__type_new_))
21979 return 0;
21980 ;
21981 return 0;
21982 }
21983 _ACEOF
21984 rm -f conftest.$ac_objext
21985 if { (ac_try="$ac_compile"
21986 case "(($ac_try" in
21987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21988 *) ac_try_echo=$ac_try;;
21989 esac
21990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21991 (eval "$ac_compile") 2>conftest.er1
21992 ac_status=$?
21993 grep -v '^ *+' conftest.er1 >conftest.err
21994 rm -f conftest.er1
21995 cat conftest.err >&5
21996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21997 (exit $ac_status); } && {
21998 test -z "$ac_c_werror_flag" ||
21999 test ! -s conftest.err
22000 } && test -s conftest.$ac_objext; then
22001 ac_cv_type_long_long=yes
22002 else
22003 echo "$as_me: failed program was:" >&5
22004 sed 's/^/| /' conftest.$ac_ext >&5
22005
22006 ac_cv_type_long_long=no
22007 fi
22008
22009 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22010 fi
22011 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
22012 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
22013
22014 # The cast to long int works around a bug in the HP C Compiler
22015 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22016 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22017 # This bug is HP SR number 8606223364.
22018 { echo "$as_me:$LINENO: checking size of long long" >&5
22019 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
22020 if test "${ac_cv_sizeof_long_long+set}" = set; then
22021 echo $ECHO_N "(cached) $ECHO_C" >&6
22022 else
22023 if test "$cross_compiling" = yes; then
22024 # Depending upon the size, compute the lo and hi bounds.
22025 cat >conftest.$ac_ext <<_ACEOF
22026 /* confdefs.h. */
22027 _ACEOF
22028 cat confdefs.h >>conftest.$ac_ext
22029 cat >>conftest.$ac_ext <<_ACEOF
22030 /* end confdefs.h. */
22031 $ac_includes_default
22032 typedef long long ac__type_sizeof_;
22033 int
22034 main ()
22035 {
22036 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22037 test_array [0] = 0
22038
22039 ;
22040 return 0;
22041 }
22042 _ACEOF
22043 rm -f conftest.$ac_objext
22044 if { (ac_try="$ac_compile"
22045 case "(($ac_try" in
22046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22047 *) ac_try_echo=$ac_try;;
22048 esac
22049 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22050 (eval "$ac_compile") 2>conftest.er1
22051 ac_status=$?
22052 grep -v '^ *+' conftest.er1 >conftest.err
22053 rm -f conftest.er1
22054 cat conftest.err >&5
22055 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22056 (exit $ac_status); } && {
22057 test -z "$ac_c_werror_flag" ||
22058 test ! -s conftest.err
22059 } && test -s conftest.$ac_objext; then
22060 ac_lo=0 ac_mid=0
22061 while :; do
22062 cat >conftest.$ac_ext <<_ACEOF
22063 /* confdefs.h. */
22064 _ACEOF
22065 cat confdefs.h >>conftest.$ac_ext
22066 cat >>conftest.$ac_ext <<_ACEOF
22067 /* end confdefs.h. */
22068 $ac_includes_default
22069 typedef long long ac__type_sizeof_;
22070 int
22071 main ()
22072 {
22073 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22074 test_array [0] = 0
22075
22076 ;
22077 return 0;
22078 }
22079 _ACEOF
22080 rm -f conftest.$ac_objext
22081 if { (ac_try="$ac_compile"
22082 case "(($ac_try" in
22083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22084 *) ac_try_echo=$ac_try;;
22085 esac
22086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22087 (eval "$ac_compile") 2>conftest.er1
22088 ac_status=$?
22089 grep -v '^ *+' conftest.er1 >conftest.err
22090 rm -f conftest.er1
22091 cat conftest.err >&5
22092 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22093 (exit $ac_status); } && {
22094 test -z "$ac_c_werror_flag" ||
22095 test ! -s conftest.err
22096 } && test -s conftest.$ac_objext; then
22097 ac_hi=$ac_mid; break
22098 else
22099 echo "$as_me: failed program was:" >&5
22100 sed 's/^/| /' conftest.$ac_ext >&5
22101
22102 ac_lo=`expr $ac_mid + 1`
22103 if test $ac_lo -le $ac_mid; then
22104 ac_lo= ac_hi=
22105 break
22106 fi
22107 ac_mid=`expr 2 '*' $ac_mid + 1`
22108 fi
22109
22110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22111 done
22112 else
22113 echo "$as_me: failed program was:" >&5
22114 sed 's/^/| /' conftest.$ac_ext >&5
22115
22116 cat >conftest.$ac_ext <<_ACEOF
22117 /* confdefs.h. */
22118 _ACEOF
22119 cat confdefs.h >>conftest.$ac_ext
22120 cat >>conftest.$ac_ext <<_ACEOF
22121 /* end confdefs.h. */
22122 $ac_includes_default
22123 typedef long long ac__type_sizeof_;
22124 int
22125 main ()
22126 {
22127 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22128 test_array [0] = 0
22129
22130 ;
22131 return 0;
22132 }
22133 _ACEOF
22134 rm -f conftest.$ac_objext
22135 if { (ac_try="$ac_compile"
22136 case "(($ac_try" in
22137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22138 *) ac_try_echo=$ac_try;;
22139 esac
22140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22141 (eval "$ac_compile") 2>conftest.er1
22142 ac_status=$?
22143 grep -v '^ *+' conftest.er1 >conftest.err
22144 rm -f conftest.er1
22145 cat conftest.err >&5
22146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22147 (exit $ac_status); } && {
22148 test -z "$ac_c_werror_flag" ||
22149 test ! -s conftest.err
22150 } && test -s conftest.$ac_objext; then
22151 ac_hi=-1 ac_mid=-1
22152 while :; do
22153 cat >conftest.$ac_ext <<_ACEOF
22154 /* confdefs.h. */
22155 _ACEOF
22156 cat confdefs.h >>conftest.$ac_ext
22157 cat >>conftest.$ac_ext <<_ACEOF
22158 /* end confdefs.h. */
22159 $ac_includes_default
22160 typedef long long ac__type_sizeof_;
22161 int
22162 main ()
22163 {
22164 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22165 test_array [0] = 0
22166
22167 ;
22168 return 0;
22169 }
22170 _ACEOF
22171 rm -f conftest.$ac_objext
22172 if { (ac_try="$ac_compile"
22173 case "(($ac_try" in
22174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22175 *) ac_try_echo=$ac_try;;
22176 esac
22177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22178 (eval "$ac_compile") 2>conftest.er1
22179 ac_status=$?
22180 grep -v '^ *+' conftest.er1 >conftest.err
22181 rm -f conftest.er1
22182 cat conftest.err >&5
22183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22184 (exit $ac_status); } && {
22185 test -z "$ac_c_werror_flag" ||
22186 test ! -s conftest.err
22187 } && test -s conftest.$ac_objext; then
22188 ac_lo=$ac_mid; break
22189 else
22190 echo "$as_me: failed program was:" >&5
22191 sed 's/^/| /' conftest.$ac_ext >&5
22192
22193 ac_hi=`expr '(' $ac_mid ')' - 1`
22194 if test $ac_mid -le $ac_hi; then
22195 ac_lo= ac_hi=
22196 break
22197 fi
22198 ac_mid=`expr 2 '*' $ac_mid`
22199 fi
22200
22201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22202 done
22203 else
22204 echo "$as_me: failed program was:" >&5
22205 sed 's/^/| /' conftest.$ac_ext >&5
22206
22207 ac_lo= ac_hi=
22208 fi
22209
22210 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22211 fi
22212
22213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22214 # Binary search between lo and hi bounds.
22215 while test "x$ac_lo" != "x$ac_hi"; do
22216 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22217 cat >conftest.$ac_ext <<_ACEOF
22218 /* confdefs.h. */
22219 _ACEOF
22220 cat confdefs.h >>conftest.$ac_ext
22221 cat >>conftest.$ac_ext <<_ACEOF
22222 /* end confdefs.h. */
22223 $ac_includes_default
22224 typedef long long ac__type_sizeof_;
22225 int
22226 main ()
22227 {
22228 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22229 test_array [0] = 0
22230
22231 ;
22232 return 0;
22233 }
22234 _ACEOF
22235 rm -f conftest.$ac_objext
22236 if { (ac_try="$ac_compile"
22237 case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22240 esac
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_compile") 2>conftest.er1
22243 ac_status=$?
22244 grep -v '^ *+' conftest.er1 >conftest.err
22245 rm -f conftest.er1
22246 cat conftest.err >&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && {
22249 test -z "$ac_c_werror_flag" ||
22250 test ! -s conftest.err
22251 } && test -s conftest.$ac_objext; then
22252 ac_hi=$ac_mid
22253 else
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22256
22257 ac_lo=`expr '(' $ac_mid ')' + 1`
22258 fi
22259
22260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22261 done
22262 case $ac_lo in
22263 ?*) ac_cv_sizeof_long_long=$ac_lo;;
22264 '') if test "$ac_cv_type_long_long" = yes; then
22265 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22266 See \`config.log' for more details." >&5
22267 echo "$as_me: error: cannot compute sizeof (long long)
22268 See \`config.log' for more details." >&2;}
22269 { (exit 77); exit 77; }; }
22270 else
22271 ac_cv_sizeof_long_long=0
22272 fi ;;
22273 esac
22274 else
22275 cat >conftest.$ac_ext <<_ACEOF
22276 /* confdefs.h. */
22277 _ACEOF
22278 cat confdefs.h >>conftest.$ac_ext
22279 cat >>conftest.$ac_ext <<_ACEOF
22280 /* end confdefs.h. */
22281 $ac_includes_default
22282 typedef long long ac__type_sizeof_;
22283 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22284 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22285 #include <stdio.h>
22286 #include <stdlib.h>
22287 int
22288 main ()
22289 {
22290
22291 FILE *f = fopen ("conftest.val", "w");
22292 if (! f)
22293 return 1;
22294 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22295 {
22296 long int i = longval ();
22297 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22298 return 1;
22299 fprintf (f, "%ld\n", i);
22300 }
22301 else
22302 {
22303 unsigned long int i = ulongval ();
22304 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22305 return 1;
22306 fprintf (f, "%lu\n", i);
22307 }
22308 return ferror (f) || fclose (f) != 0;
22309
22310 ;
22311 return 0;
22312 }
22313 _ACEOF
22314 rm -f conftest$ac_exeext
22315 if { (ac_try="$ac_link"
22316 case "(($ac_try" in
22317 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22318 *) ac_try_echo=$ac_try;;
22319 esac
22320 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22321 (eval "$ac_link") 2>&5
22322 ac_status=$?
22323 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22324 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22325 { (case "(($ac_try" in
22326 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22327 *) ac_try_echo=$ac_try;;
22328 esac
22329 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22330 (eval "$ac_try") 2>&5
22331 ac_status=$?
22332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22333 (exit $ac_status); }; }; then
22334 ac_cv_sizeof_long_long=`cat conftest.val`
22335 else
22336 echo "$as_me: program exited with status $ac_status" >&5
22337 echo "$as_me: failed program was:" >&5
22338 sed 's/^/| /' conftest.$ac_ext >&5
22339
22340 ( exit $ac_status )
22341 if test "$ac_cv_type_long_long" = yes; then
22342 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
22343 See \`config.log' for more details." >&5
22344 echo "$as_me: error: cannot compute sizeof (long long)
22345 See \`config.log' for more details." >&2;}
22346 { (exit 77); exit 77; }; }
22347 else
22348 ac_cv_sizeof_long_long=0
22349 fi
22350 fi
22351 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22352 fi
22353 rm -f conftest.val
22354 fi
22355 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
22356 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
22357
22358
22359
22360 cat >>confdefs.h <<_ACEOF
22361 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
22362 _ACEOF
22363
22364
22365 esac
22366
22367 { echo "$as_me:$LINENO: checking for wchar_t" >&5
22368 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
22369 if test "${ac_cv_type_wchar_t+set}" = set; then
22370 echo $ECHO_N "(cached) $ECHO_C" >&6
22371 else
22372 cat >conftest.$ac_ext <<_ACEOF
22373 /* confdefs.h. */
22374 _ACEOF
22375 cat confdefs.h >>conftest.$ac_ext
22376 cat >>conftest.$ac_ext <<_ACEOF
22377 /* end confdefs.h. */
22378
22379 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22380 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22381 # error "fake wchar_t"
22382 #endif
22383 #ifdef HAVE_WCHAR_H
22384 # ifdef __CYGWIN__
22385 # include <stddef.h>
22386 # endif
22387 # include <wchar.h>
22388 #endif
22389 #ifdef HAVE_STDLIB_H
22390 # include <stdlib.h>
22391 #endif
22392 #include <stdio.h>
22393
22394
22395
22396 typedef wchar_t ac__type_new_;
22397 int
22398 main ()
22399 {
22400 if ((ac__type_new_ *) 0)
22401 return 0;
22402 if (sizeof (ac__type_new_))
22403 return 0;
22404 ;
22405 return 0;
22406 }
22407 _ACEOF
22408 rm -f conftest.$ac_objext
22409 if { (ac_try="$ac_compile"
22410 case "(($ac_try" in
22411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22412 *) ac_try_echo=$ac_try;;
22413 esac
22414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22415 (eval "$ac_compile") 2>conftest.er1
22416 ac_status=$?
22417 grep -v '^ *+' conftest.er1 >conftest.err
22418 rm -f conftest.er1
22419 cat conftest.err >&5
22420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22421 (exit $ac_status); } && {
22422 test -z "$ac_c_werror_flag" ||
22423 test ! -s conftest.err
22424 } && test -s conftest.$ac_objext; then
22425 ac_cv_type_wchar_t=yes
22426 else
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22429
22430 ac_cv_type_wchar_t=no
22431 fi
22432
22433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22434 fi
22435 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
22436 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
22437
22438 # The cast to long int works around a bug in the HP C Compiler
22439 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
22440 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
22441 # This bug is HP SR number 8606223364.
22442 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
22443 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
22444 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
22445 echo $ECHO_N "(cached) $ECHO_C" >&6
22446 else
22447 if test "$cross_compiling" = yes; then
22448 # Depending upon the size, compute the lo and hi bounds.
22449 cat >conftest.$ac_ext <<_ACEOF
22450 /* confdefs.h. */
22451 _ACEOF
22452 cat confdefs.h >>conftest.$ac_ext
22453 cat >>conftest.$ac_ext <<_ACEOF
22454 /* end confdefs.h. */
22455
22456 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22457 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22458 # error "fake wchar_t"
22459 #endif
22460 #ifdef HAVE_WCHAR_H
22461 # ifdef __CYGWIN__
22462 # include <stddef.h>
22463 # endif
22464 # include <wchar.h>
22465 #endif
22466 #ifdef HAVE_STDLIB_H
22467 # include <stdlib.h>
22468 #endif
22469 #include <stdio.h>
22470
22471
22472
22473 typedef wchar_t ac__type_sizeof_;
22474 int
22475 main ()
22476 {
22477 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
22478 test_array [0] = 0
22479
22480 ;
22481 return 0;
22482 }
22483 _ACEOF
22484 rm -f conftest.$ac_objext
22485 if { (ac_try="$ac_compile"
22486 case "(($ac_try" in
22487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22488 *) ac_try_echo=$ac_try;;
22489 esac
22490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22491 (eval "$ac_compile") 2>conftest.er1
22492 ac_status=$?
22493 grep -v '^ *+' conftest.er1 >conftest.err
22494 rm -f conftest.er1
22495 cat conftest.err >&5
22496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22497 (exit $ac_status); } && {
22498 test -z "$ac_c_werror_flag" ||
22499 test ! -s conftest.err
22500 } && test -s conftest.$ac_objext; then
22501 ac_lo=0 ac_mid=0
22502 while :; do
22503 cat >conftest.$ac_ext <<_ACEOF
22504 /* confdefs.h. */
22505 _ACEOF
22506 cat confdefs.h >>conftest.$ac_ext
22507 cat >>conftest.$ac_ext <<_ACEOF
22508 /* end confdefs.h. */
22509
22510 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22511 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22512 # error "fake wchar_t"
22513 #endif
22514 #ifdef HAVE_WCHAR_H
22515 # ifdef __CYGWIN__
22516 # include <stddef.h>
22517 # endif
22518 # include <wchar.h>
22519 #endif
22520 #ifdef HAVE_STDLIB_H
22521 # include <stdlib.h>
22522 #endif
22523 #include <stdio.h>
22524
22525
22526
22527 typedef wchar_t ac__type_sizeof_;
22528 int
22529 main ()
22530 {
22531 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22532 test_array [0] = 0
22533
22534 ;
22535 return 0;
22536 }
22537 _ACEOF
22538 rm -f conftest.$ac_objext
22539 if { (ac_try="$ac_compile"
22540 case "(($ac_try" in
22541 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22542 *) ac_try_echo=$ac_try;;
22543 esac
22544 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22545 (eval "$ac_compile") 2>conftest.er1
22546 ac_status=$?
22547 grep -v '^ *+' conftest.er1 >conftest.err
22548 rm -f conftest.er1
22549 cat conftest.err >&5
22550 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22551 (exit $ac_status); } && {
22552 test -z "$ac_c_werror_flag" ||
22553 test ! -s conftest.err
22554 } && test -s conftest.$ac_objext; then
22555 ac_hi=$ac_mid; break
22556 else
22557 echo "$as_me: failed program was:" >&5
22558 sed 's/^/| /' conftest.$ac_ext >&5
22559
22560 ac_lo=`expr $ac_mid + 1`
22561 if test $ac_lo -le $ac_mid; then
22562 ac_lo= ac_hi=
22563 break
22564 fi
22565 ac_mid=`expr 2 '*' $ac_mid + 1`
22566 fi
22567
22568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22569 done
22570 else
22571 echo "$as_me: failed program was:" >&5
22572 sed 's/^/| /' conftest.$ac_ext >&5
22573
22574 cat >conftest.$ac_ext <<_ACEOF
22575 /* confdefs.h. */
22576 _ACEOF
22577 cat confdefs.h >>conftest.$ac_ext
22578 cat >>conftest.$ac_ext <<_ACEOF
22579 /* end confdefs.h. */
22580
22581 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22582 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22583 # error "fake wchar_t"
22584 #endif
22585 #ifdef HAVE_WCHAR_H
22586 # ifdef __CYGWIN__
22587 # include <stddef.h>
22588 # endif
22589 # include <wchar.h>
22590 #endif
22591 #ifdef HAVE_STDLIB_H
22592 # include <stdlib.h>
22593 #endif
22594 #include <stdio.h>
22595
22596
22597
22598 typedef wchar_t ac__type_sizeof_;
22599 int
22600 main ()
22601 {
22602 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
22603 test_array [0] = 0
22604
22605 ;
22606 return 0;
22607 }
22608 _ACEOF
22609 rm -f conftest.$ac_objext
22610 if { (ac_try="$ac_compile"
22611 case "(($ac_try" in
22612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22613 *) ac_try_echo=$ac_try;;
22614 esac
22615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22616 (eval "$ac_compile") 2>conftest.er1
22617 ac_status=$?
22618 grep -v '^ *+' conftest.er1 >conftest.err
22619 rm -f conftest.er1
22620 cat conftest.err >&5
22621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22622 (exit $ac_status); } && {
22623 test -z "$ac_c_werror_flag" ||
22624 test ! -s conftest.err
22625 } && test -s conftest.$ac_objext; then
22626 ac_hi=-1 ac_mid=-1
22627 while :; do
22628 cat >conftest.$ac_ext <<_ACEOF
22629 /* confdefs.h. */
22630 _ACEOF
22631 cat confdefs.h >>conftest.$ac_ext
22632 cat >>conftest.$ac_ext <<_ACEOF
22633 /* end confdefs.h. */
22634
22635 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22636 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22637 # error "fake wchar_t"
22638 #endif
22639 #ifdef HAVE_WCHAR_H
22640 # ifdef __CYGWIN__
22641 # include <stddef.h>
22642 # endif
22643 # include <wchar.h>
22644 #endif
22645 #ifdef HAVE_STDLIB_H
22646 # include <stdlib.h>
22647 #endif
22648 #include <stdio.h>
22649
22650
22651
22652 typedef wchar_t ac__type_sizeof_;
22653 int
22654 main ()
22655 {
22656 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
22657 test_array [0] = 0
22658
22659 ;
22660 return 0;
22661 }
22662 _ACEOF
22663 rm -f conftest.$ac_objext
22664 if { (ac_try="$ac_compile"
22665 case "(($ac_try" in
22666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22667 *) ac_try_echo=$ac_try;;
22668 esac
22669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22670 (eval "$ac_compile") 2>conftest.er1
22671 ac_status=$?
22672 grep -v '^ *+' conftest.er1 >conftest.err
22673 rm -f conftest.er1
22674 cat conftest.err >&5
22675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22676 (exit $ac_status); } && {
22677 test -z "$ac_c_werror_flag" ||
22678 test ! -s conftest.err
22679 } && test -s conftest.$ac_objext; then
22680 ac_lo=$ac_mid; break
22681 else
22682 echo "$as_me: failed program was:" >&5
22683 sed 's/^/| /' conftest.$ac_ext >&5
22684
22685 ac_hi=`expr '(' $ac_mid ')' - 1`
22686 if test $ac_mid -le $ac_hi; then
22687 ac_lo= ac_hi=
22688 break
22689 fi
22690 ac_mid=`expr 2 '*' $ac_mid`
22691 fi
22692
22693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22694 done
22695 else
22696 echo "$as_me: failed program was:" >&5
22697 sed 's/^/| /' conftest.$ac_ext >&5
22698
22699 ac_lo= ac_hi=
22700 fi
22701
22702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22703 fi
22704
22705 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22706 # Binary search between lo and hi bounds.
22707 while test "x$ac_lo" != "x$ac_hi"; do
22708 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22709 cat >conftest.$ac_ext <<_ACEOF
22710 /* confdefs.h. */
22711 _ACEOF
22712 cat confdefs.h >>conftest.$ac_ext
22713 cat >>conftest.$ac_ext <<_ACEOF
22714 /* end confdefs.h. */
22715
22716 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22717 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22718 # error "fake wchar_t"
22719 #endif
22720 #ifdef HAVE_WCHAR_H
22721 # ifdef __CYGWIN__
22722 # include <stddef.h>
22723 # endif
22724 # include <wchar.h>
22725 #endif
22726 #ifdef HAVE_STDLIB_H
22727 # include <stdlib.h>
22728 #endif
22729 #include <stdio.h>
22730
22731
22732
22733 typedef wchar_t ac__type_sizeof_;
22734 int
22735 main ()
22736 {
22737 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
22738 test_array [0] = 0
22739
22740 ;
22741 return 0;
22742 }
22743 _ACEOF
22744 rm -f conftest.$ac_objext
22745 if { (ac_try="$ac_compile"
22746 case "(($ac_try" in
22747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22748 *) ac_try_echo=$ac_try;;
22749 esac
22750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22751 (eval "$ac_compile") 2>conftest.er1
22752 ac_status=$?
22753 grep -v '^ *+' conftest.er1 >conftest.err
22754 rm -f conftest.er1
22755 cat conftest.err >&5
22756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22757 (exit $ac_status); } && {
22758 test -z "$ac_c_werror_flag" ||
22759 test ! -s conftest.err
22760 } && test -s conftest.$ac_objext; then
22761 ac_hi=$ac_mid
22762 else
22763 echo "$as_me: failed program was:" >&5
22764 sed 's/^/| /' conftest.$ac_ext >&5
22765
22766 ac_lo=`expr '(' $ac_mid ')' + 1`
22767 fi
22768
22769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22770 done
22771 case $ac_lo in
22772 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22773 '') if test "$ac_cv_type_wchar_t" = yes; then
22774 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22775 See \`config.log' for more details." >&5
22776 echo "$as_me: error: cannot compute sizeof (wchar_t)
22777 See \`config.log' for more details." >&2;}
22778 { (exit 77); exit 77; }; }
22779 else
22780 ac_cv_sizeof_wchar_t=0
22781 fi ;;
22782 esac
22783 else
22784 cat >conftest.$ac_ext <<_ACEOF
22785 /* confdefs.h. */
22786 _ACEOF
22787 cat confdefs.h >>conftest.$ac_ext
22788 cat >>conftest.$ac_ext <<_ACEOF
22789 /* end confdefs.h. */
22790
22791 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22792 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22793 # error "fake wchar_t"
22794 #endif
22795 #ifdef HAVE_WCHAR_H
22796 # ifdef __CYGWIN__
22797 # include <stddef.h>
22798 # endif
22799 # include <wchar.h>
22800 #endif
22801 #ifdef HAVE_STDLIB_H
22802 # include <stdlib.h>
22803 #endif
22804 #include <stdio.h>
22805
22806
22807
22808 typedef wchar_t ac__type_sizeof_;
22809 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22810 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22811 #include <stdio.h>
22812 #include <stdlib.h>
22813 int
22814 main ()
22815 {
22816
22817 FILE *f = fopen ("conftest.val", "w");
22818 if (! f)
22819 return 1;
22820 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22821 {
22822 long int i = longval ();
22823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22824 return 1;
22825 fprintf (f, "%ld\n", i);
22826 }
22827 else
22828 {
22829 unsigned long int i = ulongval ();
22830 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22831 return 1;
22832 fprintf (f, "%lu\n", i);
22833 }
22834 return ferror (f) || fclose (f) != 0;
22835
22836 ;
22837 return 0;
22838 }
22839 _ACEOF
22840 rm -f conftest$ac_exeext
22841 if { (ac_try="$ac_link"
22842 case "(($ac_try" in
22843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22844 *) ac_try_echo=$ac_try;;
22845 esac
22846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22847 (eval "$ac_link") 2>&5
22848 ac_status=$?
22849 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22850 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22851 { (case "(($ac_try" in
22852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22853 *) ac_try_echo=$ac_try;;
22854 esac
22855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22856 (eval "$ac_try") 2>&5
22857 ac_status=$?
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); }; }; then
22860 ac_cv_sizeof_wchar_t=`cat conftest.val`
22861 else
22862 echo "$as_me: program exited with status $ac_status" >&5
22863 echo "$as_me: failed program was:" >&5
22864 sed 's/^/| /' conftest.$ac_ext >&5
22865
22866 ( exit $ac_status )
22867 if test "$ac_cv_type_wchar_t" = yes; then
22868 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22869 See \`config.log' for more details." >&5
22870 echo "$as_me: error: cannot compute sizeof (wchar_t)
22871 See \`config.log' for more details." >&2;}
22872 { (exit 77); exit 77; }; }
22873 else
22874 ac_cv_sizeof_wchar_t=0
22875 fi
22876 fi
22877 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22878 fi
22879 rm -f conftest.val
22880 fi
22881 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22882 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22883
22884
22885
22886 cat >>confdefs.h <<_ACEOF
22887 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22888 _ACEOF
22889
22890
22891 if test "$ac_cv_sizeof_wchar_t" != 0; then
22892 wxUSE_WCHAR_T=yes
22893 else
22894 wxUSE_WCHAR_T=no
22895 fi
22896
22897 { echo "$as_me:$LINENO: checking for va_copy" >&5
22898 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22899 if test "${wx_cv_func_va_copy+set}" = set; then
22900 echo $ECHO_N "(cached) $ECHO_C" >&6
22901 else
22902
22903 ac_ext=cpp
22904 ac_cpp='$CXXCPP $CPPFLAGS'
22905 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22906 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22907 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22908
22909 cat >conftest.$ac_ext <<_ACEOF
22910
22911 #include <stdarg.h>
22912 void foo(char *f, ...)
22913 {
22914 va_list ap1, ap2;
22915 va_start(ap1, f);
22916 va_copy(ap2, ap1);
22917 va_end(ap2);
22918 va_end(ap1);
22919 }
22920 int main()
22921 {
22922 foo("hi", 17);
22923 return 0;
22924 }
22925 _ACEOF
22926 rm -f conftest.$ac_objext conftest$ac_exeext
22927 if { (ac_try="$ac_link"
22928 case "(($ac_try" in
22929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22930 *) ac_try_echo=$ac_try;;
22931 esac
22932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22933 (eval "$ac_link") 2>conftest.er1
22934 ac_status=$?
22935 grep -v '^ *+' conftest.er1 >conftest.err
22936 rm -f conftest.er1
22937 cat conftest.err >&5
22938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22939 (exit $ac_status); } && {
22940 test -z "$ac_cxx_werror_flag" ||
22941 test ! -s conftest.err
22942 } && test -s conftest$ac_exeext &&
22943 $as_test_x conftest$ac_exeext; then
22944 wx_cv_func_va_copy=yes
22945 else
22946 echo "$as_me: failed program was:" >&5
22947 sed 's/^/| /' conftest.$ac_ext >&5
22948
22949 wx_cv_func_va_copy=no
22950
22951 fi
22952
22953 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22954 conftest$ac_exeext conftest.$ac_ext
22955 ac_ext=c
22956 ac_cpp='$CPP $CPPFLAGS'
22957 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22958 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22959 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22960
22961
22962
22963 fi
22964 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22965 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22966
22967 if test $wx_cv_func_va_copy = "yes"; then
22968 cat >>confdefs.h <<\_ACEOF
22969 #define HAVE_VA_COPY 1
22970 _ACEOF
22971
22972 else
22973 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22974 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22975 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22976 echo $ECHO_N "(cached) $ECHO_C" >&6
22977 else
22978
22979 if test "$cross_compiling" = yes; then
22980 wx_cv_type_va_list_lvalue=yes
22981
22982 else
22983 cat >conftest.$ac_ext <<_ACEOF
22984
22985 #include <stdarg.h>
22986 int foo(char *f, ...)
22987 {
22988 va_list ap1, ap2;
22989 va_start(ap1, f);
22990 ap2 = ap1;
22991 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22992 return 1;
22993 va_end(ap2);
22994 va_end(ap1);
22995 return 0;
22996 }
22997 int main()
22998 {
22999 return foo("hi", 17);
23000 }
23001 _ACEOF
23002 rm -f conftest$ac_exeext
23003 if { (ac_try="$ac_link"
23004 case "(($ac_try" in
23005 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23006 *) ac_try_echo=$ac_try;;
23007 esac
23008 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23009 (eval "$ac_link") 2>&5
23010 ac_status=$?
23011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23012 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23013 { (case "(($ac_try" in
23014 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23015 *) ac_try_echo=$ac_try;;
23016 esac
23017 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23018 (eval "$ac_try") 2>&5
23019 ac_status=$?
23020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23021 (exit $ac_status); }; }; then
23022 wx_cv_type_va_list_lvalue=yes
23023 else
23024 echo "$as_me: program exited with status $ac_status" >&5
23025 echo "$as_me: failed program was:" >&5
23026 sed 's/^/| /' conftest.$ac_ext >&5
23027
23028 ( exit $ac_status )
23029 wx_cv_type_va_list_lvalue=no
23030 fi
23031 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23032 fi
23033
23034
23035
23036
23037 fi
23038 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
23039 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
23040
23041 if test $wx_cv_type_va_list_lvalue != "yes"; then
23042 cat >>confdefs.h <<\_ACEOF
23043 #define VA_LIST_IS_ARRAY 1
23044 _ACEOF
23045
23046 fi
23047 fi
23048
23049 if test "$wxUSE_VARARG_MACROS" = "yes"; then
23050
23051 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
23052 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
23053 if test "${wx_cv_have_variadic_macros+set}" = set; then
23054 echo $ECHO_N "(cached) $ECHO_C" >&6
23055 else
23056
23057 ac_ext=cpp
23058 ac_cpp='$CXXCPP $CPPFLAGS'
23059 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23060 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23061 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23062
23063 cat >conftest.$ac_ext <<_ACEOF
23064 /* confdefs.h. */
23065 _ACEOF
23066 cat confdefs.h >>conftest.$ac_ext
23067 cat >>conftest.$ac_ext <<_ACEOF
23068 /* end confdefs.h. */
23069
23070 #include <stdio.h>
23071 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
23072
23073 int
23074 main ()
23075 {
23076
23077 test("%s %d %p", "test", 1, 0);
23078
23079
23080 ;
23081 return 0;
23082 }
23083 _ACEOF
23084 rm -f conftest.$ac_objext
23085 if { (ac_try="$ac_compile"
23086 case "(($ac_try" in
23087 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23088 *) ac_try_echo=$ac_try;;
23089 esac
23090 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23091 (eval "$ac_compile") 2>conftest.er1
23092 ac_status=$?
23093 grep -v '^ *+' conftest.er1 >conftest.err
23094 rm -f conftest.er1
23095 cat conftest.err >&5
23096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23097 (exit $ac_status); } && {
23098 test -z "$ac_cxx_werror_flag" ||
23099 test ! -s conftest.err
23100 } && test -s conftest.$ac_objext; then
23101 wx_cv_have_variadic_macros=yes
23102 else
23103 echo "$as_me: failed program was:" >&5
23104 sed 's/^/| /' conftest.$ac_ext >&5
23105
23106 wx_cv_have_variadic_macros=no
23107
23108 fi
23109
23110 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23111 ac_ext=c
23112 ac_cpp='$CPP $CPPFLAGS'
23113 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23114 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23115 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23116
23117
23118
23119 fi
23120 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
23121 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
23122
23123 if test $wx_cv_have_variadic_macros = "yes"; then
23124 cat >>confdefs.h <<\_ACEOF
23125 #define HAVE_VARIADIC_MACROS 1
23126 _ACEOF
23127
23128 fi
23129
23130 fi
23131 # Check whether --enable-largefile was given.
23132 if test "${enable_largefile+set}" = set; then
23133 enableval=$enable_largefile;
23134 fi
23135
23136 if test "$enable_largefile" != no; then
23137 wx_largefile=no
23138
23139 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
23140 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
23141 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
23142 echo $ECHO_N "(cached) $ECHO_C" >&6
23143 else
23144
23145 cat >conftest.$ac_ext <<_ACEOF
23146 /* confdefs.h. */
23147 _ACEOF
23148 cat confdefs.h >>conftest.$ac_ext
23149 cat >>conftest.$ac_ext <<_ACEOF
23150 /* end confdefs.h. */
23151 #define _FILE_OFFSET_BITS 64
23152 #include <sys/types.h>
23153 int
23154 main ()
23155 {
23156 typedef struct {
23157 unsigned int field: sizeof(off_t) == 8;
23158 } wxlf;
23159
23160 ;
23161 return 0;
23162 }
23163 _ACEOF
23164 rm -f conftest.$ac_objext
23165 if { (ac_try="$ac_compile"
23166 case "(($ac_try" in
23167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23168 *) ac_try_echo=$ac_try;;
23169 esac
23170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23171 (eval "$ac_compile") 2>conftest.er1
23172 ac_status=$?
23173 grep -v '^ *+' conftest.er1 >conftest.err
23174 rm -f conftest.er1
23175 cat conftest.err >&5
23176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23177 (exit $ac_status); } && {
23178 test -z "$ac_c_werror_flag" ||
23179 test ! -s conftest.err
23180 } && test -s conftest.$ac_objext; then
23181 ac_cv_sys_file_offset_bits=64
23182 else
23183 echo "$as_me: failed program was:" >&5
23184 sed 's/^/| /' conftest.$ac_ext >&5
23185
23186 ac_cv_sys_file_offset_bits=no
23187 fi
23188
23189 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23190
23191
23192 fi
23193 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
23194 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
23195
23196 if test "$ac_cv_sys_file_offset_bits" != no; then
23197 wx_largefile=yes
23198 cat >>confdefs.h <<_ACEOF
23199 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
23200 _ACEOF
23201
23202 fi
23203
23204 if test "x$wx_largefile" != "xyes"; then
23205
23206 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
23207 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
23208 if test "${ac_cv_sys_large_files+set}" = set; then
23209 echo $ECHO_N "(cached) $ECHO_C" >&6
23210 else
23211
23212 cat >conftest.$ac_ext <<_ACEOF
23213 /* confdefs.h. */
23214 _ACEOF
23215 cat confdefs.h >>conftest.$ac_ext
23216 cat >>conftest.$ac_ext <<_ACEOF
23217 /* end confdefs.h. */
23218 #define _LARGE_FILES 1
23219 #include <sys/types.h>
23220 int
23221 main ()
23222 {
23223 typedef struct {
23224 unsigned int field: sizeof(off_t) == 8;
23225 } wxlf;
23226
23227 ;
23228 return 0;
23229 }
23230 _ACEOF
23231 rm -f conftest.$ac_objext
23232 if { (ac_try="$ac_compile"
23233 case "(($ac_try" in
23234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23235 *) ac_try_echo=$ac_try;;
23236 esac
23237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23238 (eval "$ac_compile") 2>conftest.er1
23239 ac_status=$?
23240 grep -v '^ *+' conftest.er1 >conftest.err
23241 rm -f conftest.er1
23242 cat conftest.err >&5
23243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23244 (exit $ac_status); } && {
23245 test -z "$ac_c_werror_flag" ||
23246 test ! -s conftest.err
23247 } && test -s conftest.$ac_objext; then
23248 ac_cv_sys_large_files=1
23249 else
23250 echo "$as_me: failed program was:" >&5
23251 sed 's/^/| /' conftest.$ac_ext >&5
23252
23253 ac_cv_sys_large_files=no
23254 fi
23255
23256 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23257
23258
23259 fi
23260 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
23261 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
23262
23263 if test "$ac_cv_sys_large_files" != no; then
23264 wx_largefile=yes
23265 cat >>confdefs.h <<_ACEOF
23266 #define _LARGE_FILES $ac_cv_sys_large_files
23267 _ACEOF
23268
23269 fi
23270
23271 fi
23272
23273 { echo "$as_me:$LINENO: checking if large file support is available" >&5
23274 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
23275 if test "x$wx_largefile" = "xyes"; then
23276 cat >>confdefs.h <<\_ACEOF
23277 #define HAVE_LARGEFILE_SUPPORT 1
23278 _ACEOF
23279
23280 fi
23281 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
23282 echo "${ECHO_T}$wx_largefile" >&6; }
23283 fi
23284
23285
23286 if test "x$wx_largefile" = "xyes"; then
23287 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
23288 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
23289
23290 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
23291 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
23292 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
23293 if test "${wx_cv_STDC_EXT_required+set}" = set; then
23294 echo $ECHO_N "(cached) $ECHO_C" >&6
23295 else
23296
23297 ac_ext=cpp
23298 ac_cpp='$CXXCPP $CPPFLAGS'
23299 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23300 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23301 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23302
23303 cat >conftest.$ac_ext <<_ACEOF
23304 /* confdefs.h. */
23305 _ACEOF
23306 cat confdefs.h >>conftest.$ac_ext
23307 cat >>conftest.$ac_ext <<_ACEOF
23308 /* end confdefs.h. */
23309
23310 int
23311 main ()
23312 {
23313
23314 #ifndef __STDC_EXT__
23315 choke me
23316 #endif
23317
23318 ;
23319 return 0;
23320 }
23321 _ACEOF
23322 rm -f conftest.$ac_objext
23323 if { (ac_try="$ac_compile"
23324 case "(($ac_try" in
23325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23326 *) ac_try_echo=$ac_try;;
23327 esac
23328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23329 (eval "$ac_compile") 2>conftest.er1
23330 ac_status=$?
23331 grep -v '^ *+' conftest.er1 >conftest.err
23332 rm -f conftest.er1
23333 cat conftest.err >&5
23334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23335 (exit $ac_status); } && {
23336 test -z "$ac_cxx_werror_flag" ||
23337 test ! -s conftest.err
23338 } && test -s conftest.$ac_objext; then
23339 wx_cv_STDC_EXT_required=no
23340 else
23341 echo "$as_me: failed program was:" >&5
23342 sed 's/^/| /' conftest.$ac_ext >&5
23343
23344 wx_cv_STDC_EXT_required=yes
23345
23346 fi
23347
23348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23349 ac_ext=c
23350 ac_cpp='$CPP $CPPFLAGS'
23351 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23352 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23353 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23354
23355
23356
23357 fi
23358 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
23359 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
23360 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
23361 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
23362 fi
23363 fi
23364 else
23365 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
23366 fi
23367 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
23368 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
23369 if test "${ac_cv_sys_largefile_source+set}" = set; then
23370 echo $ECHO_N "(cached) $ECHO_C" >&6
23371 else
23372 while :; do
23373 cat >conftest.$ac_ext <<_ACEOF
23374 /* confdefs.h. */
23375 _ACEOF
23376 cat confdefs.h >>conftest.$ac_ext
23377 cat >>conftest.$ac_ext <<_ACEOF
23378 /* end confdefs.h. */
23379 #include <sys/types.h> /* for off_t */
23380 #include <stdio.h>
23381 int
23382 main ()
23383 {
23384 int (*fp) (FILE *, off_t, int) = fseeko;
23385 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23386 ;
23387 return 0;
23388 }
23389 _ACEOF
23390 rm -f conftest.$ac_objext conftest$ac_exeext
23391 if { (ac_try="$ac_link"
23392 case "(($ac_try" in
23393 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23394 *) ac_try_echo=$ac_try;;
23395 esac
23396 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23397 (eval "$ac_link") 2>conftest.er1
23398 ac_status=$?
23399 grep -v '^ *+' conftest.er1 >conftest.err
23400 rm -f conftest.er1
23401 cat conftest.err >&5
23402 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23403 (exit $ac_status); } && {
23404 test -z "$ac_c_werror_flag" ||
23405 test ! -s conftest.err
23406 } && test -s conftest$ac_exeext &&
23407 $as_test_x conftest$ac_exeext; then
23408 ac_cv_sys_largefile_source=no; break
23409 else
23410 echo "$as_me: failed program was:" >&5
23411 sed 's/^/| /' conftest.$ac_ext >&5
23412
23413
23414 fi
23415
23416 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23417 conftest$ac_exeext conftest.$ac_ext
23418 cat >conftest.$ac_ext <<_ACEOF
23419 /* confdefs.h. */
23420 _ACEOF
23421 cat confdefs.h >>conftest.$ac_ext
23422 cat >>conftest.$ac_ext <<_ACEOF
23423 /* end confdefs.h. */
23424 #define _LARGEFILE_SOURCE 1
23425 #include <sys/types.h> /* for off_t */
23426 #include <stdio.h>
23427 int
23428 main ()
23429 {
23430 int (*fp) (FILE *, off_t, int) = fseeko;
23431 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
23432 ;
23433 return 0;
23434 }
23435 _ACEOF
23436 rm -f conftest.$ac_objext conftest$ac_exeext
23437 if { (ac_try="$ac_link"
23438 case "(($ac_try" in
23439 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23440 *) ac_try_echo=$ac_try;;
23441 esac
23442 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23443 (eval "$ac_link") 2>conftest.er1
23444 ac_status=$?
23445 grep -v '^ *+' conftest.er1 >conftest.err
23446 rm -f conftest.er1
23447 cat conftest.err >&5
23448 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23449 (exit $ac_status); } && {
23450 test -z "$ac_c_werror_flag" ||
23451 test ! -s conftest.err
23452 } && test -s conftest$ac_exeext &&
23453 $as_test_x conftest$ac_exeext; then
23454 ac_cv_sys_largefile_source=1; break
23455 else
23456 echo "$as_me: failed program was:" >&5
23457 sed 's/^/| /' conftest.$ac_ext >&5
23458
23459
23460 fi
23461
23462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23463 conftest$ac_exeext conftest.$ac_ext
23464 ac_cv_sys_largefile_source=unknown
23465 break
23466 done
23467 fi
23468 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
23469 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
23470 case $ac_cv_sys_largefile_source in #(
23471 no | unknown) ;;
23472 *)
23473 cat >>confdefs.h <<_ACEOF
23474 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
23475 _ACEOF
23476 ;;
23477 esac
23478 rm -f conftest*
23479
23480 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
23481 # in glibc 2.1.3, but that breaks too many other things.
23482 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
23483 if test $ac_cv_sys_largefile_source != unknown; then
23484
23485 cat >>confdefs.h <<\_ACEOF
23486 #define HAVE_FSEEKO 1
23487 _ACEOF
23488
23489 fi
23490
23491 if test "$ac_cv_sys_largefile_source" != no; then
23492 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
23493 fi
23494 fi
23495
23496 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
23497 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
23498 if test "${ac_cv_c_bigendian+set}" = set; then
23499 echo $ECHO_N "(cached) $ECHO_C" >&6
23500 else
23501 ac_cv_c_bigendian=unknown
23502 # See if sys/param.h defines the BYTE_ORDER macro.
23503 cat >conftest.$ac_ext <<_ACEOF
23504 /* confdefs.h. */
23505 _ACEOF
23506 cat confdefs.h >>conftest.$ac_ext
23507 cat >>conftest.$ac_ext <<_ACEOF
23508 /* end confdefs.h. */
23509 #include <sys/types.h>
23510 #include <sys/param.h>
23511 int
23512 main ()
23513 {
23514
23515 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
23516 bogus endian macros
23517 #endif
23518 ;
23519 return 0;
23520 }
23521 _ACEOF
23522 rm -f conftest.$ac_objext
23523 if { (ac_try="$ac_compile"
23524 case "(($ac_try" in
23525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23526 *) ac_try_echo=$ac_try;;
23527 esac
23528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23529 (eval "$ac_compile") 2>conftest.er1
23530 ac_status=$?
23531 grep -v '^ *+' conftest.er1 >conftest.err
23532 rm -f conftest.er1
23533 cat conftest.err >&5
23534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23535 (exit $ac_status); } && {
23536 test -z "$ac_c_werror_flag" ||
23537 test ! -s conftest.err
23538 } && test -s conftest.$ac_objext; then
23539 # It does; now see whether it defined to BIG_ENDIAN or not.
23540 cat >conftest.$ac_ext <<_ACEOF
23541 /* confdefs.h. */
23542 _ACEOF
23543 cat confdefs.h >>conftest.$ac_ext
23544 cat >>conftest.$ac_ext <<_ACEOF
23545 /* end confdefs.h. */
23546 #include <sys/types.h>
23547 #include <sys/param.h>
23548 int
23549 main ()
23550 {
23551
23552 #if BYTE_ORDER != BIG_ENDIAN
23553 not big endian
23554 #endif
23555 ;
23556 return 0;
23557 }
23558 _ACEOF
23559 rm -f conftest.$ac_objext
23560 if { (ac_try="$ac_compile"
23561 case "(($ac_try" in
23562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23563 *) ac_try_echo=$ac_try;;
23564 esac
23565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23566 (eval "$ac_compile") 2>conftest.er1
23567 ac_status=$?
23568 grep -v '^ *+' conftest.er1 >conftest.err
23569 rm -f conftest.er1
23570 cat conftest.err >&5
23571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23572 (exit $ac_status); } && {
23573 test -z "$ac_c_werror_flag" ||
23574 test ! -s conftest.err
23575 } && test -s conftest.$ac_objext; then
23576 ac_cv_c_bigendian=yes
23577 else
23578 echo "$as_me: failed program was:" >&5
23579 sed 's/^/| /' conftest.$ac_ext >&5
23580
23581 ac_cv_c_bigendian=no
23582 fi
23583
23584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23585 else
23586 echo "$as_me: failed program was:" >&5
23587 sed 's/^/| /' conftest.$ac_ext >&5
23588
23589
23590 fi
23591
23592 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23593 if test $ac_cv_c_bigendian = unknown; then
23594 if test "$cross_compiling" = yes; then
23595 ac_cv_c_bigendian=unknown
23596 else
23597 cat >conftest.$ac_ext <<_ACEOF
23598 /* confdefs.h. */
23599 _ACEOF
23600 cat confdefs.h >>conftest.$ac_ext
23601 cat >>conftest.$ac_ext <<_ACEOF
23602 /* end confdefs.h. */
23603 main () {
23604 /* Are we little or big endian? From Harbison&Steele. */
23605 union
23606 {
23607 long l;
23608 char c[sizeof (long)];
23609 } u;
23610 u.l = 1;
23611 exit (u.c[sizeof (long) - 1] == 1);
23612 }
23613 _ACEOF
23614 rm -f conftest$ac_exeext
23615 if { (ac_try="$ac_link"
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_link") 2>&5
23622 ac_status=$?
23623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23624 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
23625 { (case "(($ac_try" in
23626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23627 *) ac_try_echo=$ac_try;;
23628 esac
23629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23630 (eval "$ac_try") 2>&5
23631 ac_status=$?
23632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23633 (exit $ac_status); }; }; then
23634 ac_cv_c_bigendian=no
23635 else
23636 echo "$as_me: program exited with status $ac_status" >&5
23637 echo "$as_me: failed program was:" >&5
23638 sed 's/^/| /' conftest.$ac_ext >&5
23639
23640 ( exit $ac_status )
23641 ac_cv_c_bigendian=yes
23642 fi
23643 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
23644 fi
23645
23646
23647 fi
23648 fi
23649 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
23650 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
23651 if test $ac_cv_c_bigendian = unknown; then
23652 { 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
23653 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;}
23654 fi
23655 if test $ac_cv_c_bigendian = yes; then
23656 cat >>confdefs.h <<\_ACEOF
23657 #define WORDS_BIGENDIAN 1
23658 _ACEOF
23659
23660 fi
23661
23662
23663
23664
23665 ac_ext=cpp
23666 ac_cpp='$CXXCPP $CPPFLAGS'
23667 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23668 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23669 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23670
23671
23672
23673 for ac_header in iostream
23674 do
23675 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
23676 { echo "$as_me:$LINENO: checking for $ac_header" >&5
23677 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
23678 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
23679 echo $ECHO_N "(cached) $ECHO_C" >&6
23680 else
23681 cat >conftest.$ac_ext <<_ACEOF
23682 /* confdefs.h. */
23683 _ACEOF
23684 cat confdefs.h >>conftest.$ac_ext
23685 cat >>conftest.$ac_ext <<_ACEOF
23686 /* end confdefs.h. */
23687
23688
23689 #include <$ac_header>
23690 _ACEOF
23691 rm -f conftest.$ac_objext
23692 if { (ac_try="$ac_compile"
23693 case "(($ac_try" in
23694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23695 *) ac_try_echo=$ac_try;;
23696 esac
23697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23698 (eval "$ac_compile") 2>conftest.er1
23699 ac_status=$?
23700 grep -v '^ *+' conftest.er1 >conftest.err
23701 rm -f conftest.er1
23702 cat conftest.err >&5
23703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23704 (exit $ac_status); } && {
23705 test -z "$ac_cxx_werror_flag" ||
23706 test ! -s conftest.err
23707 } && test -s conftest.$ac_objext; then
23708 eval "$as_ac_Header=yes"
23709 else
23710 echo "$as_me: failed program was:" >&5
23711 sed 's/^/| /' conftest.$ac_ext >&5
23712
23713 eval "$as_ac_Header=no"
23714 fi
23715
23716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23717 fi
23718 ac_res=`eval echo '${'$as_ac_Header'}'`
23719 { echo "$as_me:$LINENO: result: $ac_res" >&5
23720 echo "${ECHO_T}$ac_res" >&6; }
23721 if test `eval echo '${'$as_ac_Header'}'` = yes; then
23722 cat >>confdefs.h <<_ACEOF
23723 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
23724 _ACEOF
23725
23726 fi
23727
23728 done
23729
23730
23731 if test "$ac_cv_header_iostream" = "yes" ; then
23732 :
23733 else
23734 cat >>confdefs.h <<\_ACEOF
23735 #define wxUSE_IOSTREAMH 1
23736 _ACEOF
23737
23738 fi
23739
23740 ac_ext=c
23741 ac_cpp='$CPP $CPPFLAGS'
23742 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23743 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23744 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23745
23746
23747
23748
23749 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23750 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23751 if test "${wx_cv_cpp_bool+set}" = set; then
23752 echo $ECHO_N "(cached) $ECHO_C" >&6
23753 else
23754
23755
23756 ac_ext=cpp
23757 ac_cpp='$CXXCPP $CPPFLAGS'
23758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23761
23762
23763 cat >conftest.$ac_ext <<_ACEOF
23764 /* confdefs.h. */
23765 _ACEOF
23766 cat confdefs.h >>conftest.$ac_ext
23767 cat >>conftest.$ac_ext <<_ACEOF
23768 /* end confdefs.h. */
23769
23770
23771 int
23772 main ()
23773 {
23774
23775 bool b = true;
23776
23777 return 0;
23778
23779 ;
23780 return 0;
23781 }
23782 _ACEOF
23783 rm -f conftest.$ac_objext
23784 if { (ac_try="$ac_compile"
23785 case "(($ac_try" in
23786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23787 *) ac_try_echo=$ac_try;;
23788 esac
23789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23790 (eval "$ac_compile") 2>conftest.er1
23791 ac_status=$?
23792 grep -v '^ *+' conftest.er1 >conftest.err
23793 rm -f conftest.er1
23794 cat conftest.err >&5
23795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23796 (exit $ac_status); } && {
23797 test -z "$ac_cxx_werror_flag" ||
23798 test ! -s conftest.err
23799 } && test -s conftest.$ac_objext; then
23800
23801 wx_cv_cpp_bool=yes
23802
23803 else
23804 echo "$as_me: failed program was:" >&5
23805 sed 's/^/| /' conftest.$ac_ext >&5
23806
23807
23808 wx_cv_cpp_bool=no
23809
23810
23811 fi
23812
23813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23814
23815 ac_ext=c
23816 ac_cpp='$CPP $CPPFLAGS'
23817 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23818 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23819 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23820
23821
23822 fi
23823 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23824 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23825
23826 if test "$wx_cv_cpp_bool" = "yes"; then
23827 cat >>confdefs.h <<\_ACEOF
23828 #define HAVE_BOOL 1
23829 _ACEOF
23830
23831 fi
23832
23833
23834
23835 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23836 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23837 if test "${wx_cv_explicit+set}" = set; then
23838 echo $ECHO_N "(cached) $ECHO_C" >&6
23839 else
23840
23841
23842 ac_ext=cpp
23843 ac_cpp='$CXXCPP $CPPFLAGS'
23844 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23845 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23846 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23847
23848
23849 cat >conftest.$ac_ext <<_ACEOF
23850 /* confdefs.h. */
23851 _ACEOF
23852 cat confdefs.h >>conftest.$ac_ext
23853 cat >>conftest.$ac_ext <<_ACEOF
23854 /* end confdefs.h. */
23855
23856 class Foo { public: explicit Foo(int) {} };
23857
23858 int
23859 main ()
23860 {
23861
23862 return 0;
23863
23864 ;
23865 return 0;
23866 }
23867 _ACEOF
23868 rm -f conftest.$ac_objext
23869 if { (ac_try="$ac_compile"
23870 case "(($ac_try" in
23871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23872 *) ac_try_echo=$ac_try;;
23873 esac
23874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23875 (eval "$ac_compile") 2>conftest.er1
23876 ac_status=$?
23877 grep -v '^ *+' conftest.er1 >conftest.err
23878 rm -f conftest.er1
23879 cat conftest.err >&5
23880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23881 (exit $ac_status); } && {
23882 test -z "$ac_cxx_werror_flag" ||
23883 test ! -s conftest.err
23884 } && test -s conftest.$ac_objext; then
23885
23886 cat >conftest.$ac_ext <<_ACEOF
23887 /* confdefs.h. */
23888 _ACEOF
23889 cat confdefs.h >>conftest.$ac_ext
23890 cat >>conftest.$ac_ext <<_ACEOF
23891 /* end confdefs.h. */
23892
23893 class Foo { public: explicit Foo(int) {} };
23894 static void TakeFoo(const Foo& foo) { }
23895
23896 int
23897 main ()
23898 {
23899
23900 TakeFoo(17);
23901 return 0;
23902
23903 ;
23904 return 0;
23905 }
23906 _ACEOF
23907 rm -f conftest.$ac_objext
23908 if { (ac_try="$ac_compile"
23909 case "(($ac_try" in
23910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23911 *) ac_try_echo=$ac_try;;
23912 esac
23913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23914 (eval "$ac_compile") 2>conftest.er1
23915 ac_status=$?
23916 grep -v '^ *+' conftest.er1 >conftest.err
23917 rm -f conftest.er1
23918 cat conftest.err >&5
23919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23920 (exit $ac_status); } && {
23921 test -z "$ac_cxx_werror_flag" ||
23922 test ! -s conftest.err
23923 } && test -s conftest.$ac_objext; then
23924 wx_cv_explicit=no
23925 else
23926 echo "$as_me: failed program was:" >&5
23927 sed 's/^/| /' conftest.$ac_ext >&5
23928
23929 wx_cv_explicit=yes
23930
23931 fi
23932
23933 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23934
23935 else
23936 echo "$as_me: failed program was:" >&5
23937 sed 's/^/| /' conftest.$ac_ext >&5
23938
23939 wx_cv_explicit=no
23940
23941 fi
23942
23943 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23944
23945 ac_ext=c
23946 ac_cpp='$CPP $CPPFLAGS'
23947 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23948 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23949 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23950
23951
23952 fi
23953 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23954 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23955
23956 if test "$wx_cv_explicit" = "yes"; then
23957 cat >>confdefs.h <<\_ACEOF
23958 #define HAVE_EXPLICIT 1
23959 _ACEOF
23960
23961 fi
23962
23963
23964 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23965 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23966 if test "${ac_cv_cxx_const_cast+set}" = set; then
23967 echo $ECHO_N "(cached) $ECHO_C" >&6
23968 else
23969
23970 ac_ext=cpp
23971 ac_cpp='$CXXCPP $CPPFLAGS'
23972 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23973 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23974 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23975
23976 cat >conftest.$ac_ext <<_ACEOF
23977 /* confdefs.h. */
23978 _ACEOF
23979 cat confdefs.h >>conftest.$ac_ext
23980 cat >>conftest.$ac_ext <<_ACEOF
23981 /* end confdefs.h. */
23982
23983 int
23984 main ()
23985 {
23986 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23987 ;
23988 return 0;
23989 }
23990 _ACEOF
23991 rm -f conftest.$ac_objext
23992 if { (ac_try="$ac_compile"
23993 case "(($ac_try" in
23994 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23995 *) ac_try_echo=$ac_try;;
23996 esac
23997 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23998 (eval "$ac_compile") 2>conftest.er1
23999 ac_status=$?
24000 grep -v '^ *+' conftest.er1 >conftest.err
24001 rm -f conftest.er1
24002 cat conftest.err >&5
24003 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24004 (exit $ac_status); } && {
24005 test -z "$ac_cxx_werror_flag" ||
24006 test ! -s conftest.err
24007 } && test -s conftest.$ac_objext; then
24008 ac_cv_cxx_const_cast=yes
24009 else
24010 echo "$as_me: failed program was:" >&5
24011 sed 's/^/| /' conftest.$ac_ext >&5
24012
24013 ac_cv_cxx_const_cast=no
24014 fi
24015
24016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24017 ac_ext=c
24018 ac_cpp='$CPP $CPPFLAGS'
24019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24022
24023
24024 fi
24025 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
24026 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
24027 if test "$ac_cv_cxx_const_cast" = yes; then
24028
24029 cat >>confdefs.h <<\_ACEOF
24030 #define HAVE_CONST_CAST
24031 _ACEOF
24032
24033 fi
24034
24035 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
24036 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
24037 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
24038 echo $ECHO_N "(cached) $ECHO_C" >&6
24039 else
24040
24041 ac_ext=cpp
24042 ac_cpp='$CXXCPP $CPPFLAGS'
24043 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24044 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24045 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24046
24047 cat >conftest.$ac_ext <<_ACEOF
24048 /* confdefs.h. */
24049 _ACEOF
24050 cat confdefs.h >>conftest.$ac_ext
24051 cat >>conftest.$ac_ext <<_ACEOF
24052 /* end confdefs.h. */
24053 #include <typeinfo>
24054 class Base { public : Base () {} virtual void f () = 0;};
24055 class Derived : public Base { public : Derived () {} virtual void f () {} };
24056 class Unrelated { public : Unrelated () {} };
24057 int g (Unrelated&) { return 0; }
24058 int
24059 main ()
24060 {
24061
24062 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
24063 ;
24064 return 0;
24065 }
24066 _ACEOF
24067 rm -f conftest.$ac_objext
24068 if { (ac_try="$ac_compile"
24069 case "(($ac_try" in
24070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24071 *) ac_try_echo=$ac_try;;
24072 esac
24073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24074 (eval "$ac_compile") 2>conftest.er1
24075 ac_status=$?
24076 grep -v '^ *+' conftest.er1 >conftest.err
24077 rm -f conftest.er1
24078 cat conftest.err >&5
24079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24080 (exit $ac_status); } && {
24081 test -z "$ac_cxx_werror_flag" ||
24082 test ! -s conftest.err
24083 } && test -s conftest.$ac_objext; then
24084 ac_cv_cxx_reinterpret_cast=yes
24085 else
24086 echo "$as_me: failed program was:" >&5
24087 sed 's/^/| /' conftest.$ac_ext >&5
24088
24089 ac_cv_cxx_reinterpret_cast=no
24090 fi
24091
24092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24093 ac_ext=c
24094 ac_cpp='$CPP $CPPFLAGS'
24095 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24096 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24097 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24098
24099
24100 fi
24101 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
24102 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
24103 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
24104
24105 cat >>confdefs.h <<\_ACEOF
24106 #define HAVE_REINTERPRET_CAST
24107 _ACEOF
24108
24109 fi
24110
24111 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
24112 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
24113 if test "${ac_cv_cxx_static_cast+set}" = set; then
24114 echo $ECHO_N "(cached) $ECHO_C" >&6
24115 else
24116
24117 ac_ext=cpp
24118 ac_cpp='$CXXCPP $CPPFLAGS'
24119 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24120 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24121 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24122
24123 cat >conftest.$ac_ext <<_ACEOF
24124 /* confdefs.h. */
24125 _ACEOF
24126 cat confdefs.h >>conftest.$ac_ext
24127 cat >>conftest.$ac_ext <<_ACEOF
24128 /* end confdefs.h. */
24129 #include <typeinfo>
24130 class Base { public : Base () {} virtual void f () = 0; };
24131 class Derived : public Base { public : Derived () {} virtual void f () {} };
24132 int g (Derived&) { return 0; }
24133 int
24134 main ()
24135 {
24136
24137 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
24138 ;
24139 return 0;
24140 }
24141 _ACEOF
24142 rm -f conftest.$ac_objext
24143 if { (ac_try="$ac_compile"
24144 case "(($ac_try" in
24145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24146 *) ac_try_echo=$ac_try;;
24147 esac
24148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24149 (eval "$ac_compile") 2>conftest.er1
24150 ac_status=$?
24151 grep -v '^ *+' conftest.er1 >conftest.err
24152 rm -f conftest.er1
24153 cat conftest.err >&5
24154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24155 (exit $ac_status); } && {
24156 test -z "$ac_cxx_werror_flag" ||
24157 test ! -s conftest.err
24158 } && test -s conftest.$ac_objext; then
24159 ac_cv_cxx_static_cast=yes
24160 else
24161 echo "$as_me: failed program was:" >&5
24162 sed 's/^/| /' conftest.$ac_ext >&5
24163
24164 ac_cv_cxx_static_cast=no
24165 fi
24166
24167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24168 ac_ext=c
24169 ac_cpp='$CPP $CPPFLAGS'
24170 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24171 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24172 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24173
24174
24175 fi
24176 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
24177 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
24178 if test "$ac_cv_cxx_static_cast" = yes; then
24179
24180 cat >>confdefs.h <<\_ACEOF
24181 #define HAVE_STATIC_CAST
24182 _ACEOF
24183
24184 fi
24185
24186
24187 if test "x$SUNCXX" = xyes; then
24188 CXXFLAGS="-features=tmplife $CXXFLAGS"
24189 fi
24190
24191 if test "x$SUNCC" = xyes; then
24192 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
24193 fi
24194
24195 if test "x$SGICC" = "xyes"; then
24196 CFLAGS="-woff 3970 $CFLAGS"
24197 fi
24198 if test "x$SGICXX" = "xyes"; then
24199 CXXFLAGS="-woff 3970 $CXXFLAGS"
24200 fi
24201
24202 if test "x$HPCC" = "xyes"; then
24203 CFLAGS="+W 2011,2450 $CFLAGS"
24204 fi
24205 if test "x$HPCXX" = "xyes"; then
24206 CXXFLAGS="+W 2340 $CXXFLAGS"
24207 fi
24208
24209 if test "x$COMPAQCXX" = "xyes"; then
24210 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
24211 fi
24212
24213 ac_ext=cpp
24214 ac_cpp='$CXXCPP $CPPFLAGS'
24215 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24216 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24217 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24218
24219
24220 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
24221 if test "$wxUSE_UNICODE" = "yes"; then
24222 std_string="std::wstring"
24223 char_type="wchar_t"
24224 else
24225 std_string="std::string"
24226 char_type="char"
24227 fi
24228
24229 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
24230 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
24231 if test "${wx_cv_class_stdstring+set}" = set; then
24232 echo $ECHO_N "(cached) $ECHO_C" >&6
24233 else
24234
24235 cat >conftest.$ac_ext <<_ACEOF
24236 /* confdefs.h. */
24237 _ACEOF
24238 cat confdefs.h >>conftest.$ac_ext
24239 cat >>conftest.$ac_ext <<_ACEOF
24240 /* end confdefs.h. */
24241 #include <string>
24242 int
24243 main ()
24244 {
24245 $std_string foo;
24246 ;
24247 return 0;
24248 }
24249 _ACEOF
24250 rm -f conftest.$ac_objext
24251 if { (ac_try="$ac_compile"
24252 case "(($ac_try" in
24253 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24254 *) ac_try_echo=$ac_try;;
24255 esac
24256 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24257 (eval "$ac_compile") 2>conftest.er1
24258 ac_status=$?
24259 grep -v '^ *+' conftest.er1 >conftest.err
24260 rm -f conftest.er1
24261 cat conftest.err >&5
24262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24263 (exit $ac_status); } && {
24264 test -z "$ac_cxx_werror_flag" ||
24265 test ! -s conftest.err
24266 } && test -s conftest.$ac_objext; then
24267 wx_cv_class_stdstring=yes
24268 else
24269 echo "$as_me: failed program was:" >&5
24270 sed 's/^/| /' conftest.$ac_ext >&5
24271
24272 wx_cv_class_stdstring=no
24273
24274 fi
24275
24276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24277
24278
24279 fi
24280 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
24281 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
24282
24283 if test "$wx_cv_class_stdstring" = yes; then
24284 if test "$wxUSE_UNICODE" = "yes"; then
24285 cat >>confdefs.h <<\_ACEOF
24286 #define HAVE_STD_WSTRING 1
24287 _ACEOF
24288
24289 fi
24290 else
24291 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
24292 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
24293 if test "${wx_cv_class_stdbasicstring+set}" = set; then
24294 echo $ECHO_N "(cached) $ECHO_C" >&6
24295 else
24296
24297 cat >conftest.$ac_ext <<_ACEOF
24298 /* confdefs.h. */
24299 _ACEOF
24300 cat confdefs.h >>conftest.$ac_ext
24301 cat >>conftest.$ac_ext <<_ACEOF
24302 /* end confdefs.h. */
24303
24304 #ifdef HAVE_WCHAR_H
24305 # ifdef __CYGWIN__
24306 # include <stddef.h>
24307 # endif
24308 # include <wchar.h>
24309 #endif
24310 #ifdef HAVE_STDLIB_H
24311 # include <stdlib.h>
24312 #endif
24313 #include <stdio.h>
24314 #include <string>
24315
24316 int
24317 main ()
24318 {
24319 std::basic_string<$char_type> foo;
24320 const $char_type* dummy = foo.c_str();
24321 ;
24322 return 0;
24323 }
24324 _ACEOF
24325 rm -f conftest.$ac_objext
24326 if { (ac_try="$ac_compile"
24327 case "(($ac_try" in
24328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24329 *) ac_try_echo=$ac_try;;
24330 esac
24331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24332 (eval "$ac_compile") 2>conftest.er1
24333 ac_status=$?
24334 grep -v '^ *+' conftest.er1 >conftest.err
24335 rm -f conftest.er1
24336 cat conftest.err >&5
24337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24338 (exit $ac_status); } && {
24339 test -z "$ac_cxx_werror_flag" ||
24340 test ! -s conftest.err
24341 } && test -s conftest.$ac_objext; then
24342 wx_cv_class_stdbasicstring=yes
24343 else
24344 echo "$as_me: failed program was:" >&5
24345 sed 's/^/| /' conftest.$ac_ext >&5
24346
24347 wx_cv_class_stdbasicstring=no
24348
24349 fi
24350
24351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24352
24353
24354 fi
24355 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
24356 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
24357
24358 if test "$wx_cv_class_stdbasicstring" != yes; then
24359 if test "$wxUSE_STL" = "yes"; then
24360 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
24361 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
24362 { (exit 1); exit 1; }; }
24363 elif test "$wxUSE_STD_STRING" = "yes"; then
24364 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
24365 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
24366 { (exit 1); exit 1; }; }
24367 else
24368 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
24369 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
24370 wxUSE_STD_STRING=no
24371 fi
24372 fi
24373 fi
24374 fi
24375
24376 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24377 { echo "$as_me:$LINENO: checking for std::istream" >&5
24378 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
24379 if test "${ac_cv_type_std__istream+set}" = set; then
24380 echo $ECHO_N "(cached) $ECHO_C" >&6
24381 else
24382 cat >conftest.$ac_ext <<_ACEOF
24383 /* confdefs.h. */
24384 _ACEOF
24385 cat confdefs.h >>conftest.$ac_ext
24386 cat >>conftest.$ac_ext <<_ACEOF
24387 /* end confdefs.h. */
24388 #include <iostream>
24389
24390 typedef std::istream ac__type_new_;
24391 int
24392 main ()
24393 {
24394 if ((ac__type_new_ *) 0)
24395 return 0;
24396 if (sizeof (ac__type_new_))
24397 return 0;
24398 ;
24399 return 0;
24400 }
24401 _ACEOF
24402 rm -f conftest.$ac_objext
24403 if { (ac_try="$ac_compile"
24404 case "(($ac_try" in
24405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24406 *) ac_try_echo=$ac_try;;
24407 esac
24408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24409 (eval "$ac_compile") 2>conftest.er1
24410 ac_status=$?
24411 grep -v '^ *+' conftest.er1 >conftest.err
24412 rm -f conftest.er1
24413 cat conftest.err >&5
24414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24415 (exit $ac_status); } && {
24416 test -z "$ac_cxx_werror_flag" ||
24417 test ! -s conftest.err
24418 } && test -s conftest.$ac_objext; then
24419 ac_cv_type_std__istream=yes
24420 else
24421 echo "$as_me: failed program was:" >&5
24422 sed 's/^/| /' conftest.$ac_ext >&5
24423
24424 ac_cv_type_std__istream=no
24425 fi
24426
24427 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24428 fi
24429 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
24430 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
24431 if test $ac_cv_type_std__istream = yes; then
24432
24433 cat >>confdefs.h <<_ACEOF
24434 #define HAVE_STD__ISTREAM 1
24435 _ACEOF
24436
24437
24438 else
24439 wxUSE_STD_IOSTREAM=no
24440 fi
24441 { echo "$as_me:$LINENO: checking for std::ostream" >&5
24442 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
24443 if test "${ac_cv_type_std__ostream+set}" = set; then
24444 echo $ECHO_N "(cached) $ECHO_C" >&6
24445 else
24446 cat >conftest.$ac_ext <<_ACEOF
24447 /* confdefs.h. */
24448 _ACEOF
24449 cat confdefs.h >>conftest.$ac_ext
24450 cat >>conftest.$ac_ext <<_ACEOF
24451 /* end confdefs.h. */
24452 #include <iostream>
24453
24454 typedef std::ostream ac__type_new_;
24455 int
24456 main ()
24457 {
24458 if ((ac__type_new_ *) 0)
24459 return 0;
24460 if (sizeof (ac__type_new_))
24461 return 0;
24462 ;
24463 return 0;
24464 }
24465 _ACEOF
24466 rm -f conftest.$ac_objext
24467 if { (ac_try="$ac_compile"
24468 case "(($ac_try" in
24469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24470 *) ac_try_echo=$ac_try;;
24471 esac
24472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24473 (eval "$ac_compile") 2>conftest.er1
24474 ac_status=$?
24475 grep -v '^ *+' conftest.er1 >conftest.err
24476 rm -f conftest.er1
24477 cat conftest.err >&5
24478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24479 (exit $ac_status); } && {
24480 test -z "$ac_cxx_werror_flag" ||
24481 test ! -s conftest.err
24482 } && test -s conftest.$ac_objext; then
24483 ac_cv_type_std__ostream=yes
24484 else
24485 echo "$as_me: failed program was:" >&5
24486 sed 's/^/| /' conftest.$ac_ext >&5
24487
24488 ac_cv_type_std__ostream=no
24489 fi
24490
24491 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24492 fi
24493 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
24494 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
24495 if test $ac_cv_type_std__ostream = yes; then
24496
24497 cat >>confdefs.h <<_ACEOF
24498 #define HAVE_STD__OSTREAM 1
24499 _ACEOF
24500
24501
24502 else
24503 wxUSE_STD_IOSTREAM=no
24504 fi
24505
24506
24507 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
24508 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
24509 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
24510 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
24511 { (exit 1); exit 1; }; }
24512 else
24513 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
24514 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
24515 fi
24516 fi
24517 fi
24518
24519 if test "$wxUSE_STL" = "yes"; then
24520 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
24521 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
24522 if test "${wx_cv_lib_stl+set}" = set; then
24523 echo $ECHO_N "(cached) $ECHO_C" >&6
24524 else
24525 cat >conftest.$ac_ext <<_ACEOF
24526 /* confdefs.h. */
24527 _ACEOF
24528 cat confdefs.h >>conftest.$ac_ext
24529 cat >>conftest.$ac_ext <<_ACEOF
24530 /* end confdefs.h. */
24531 #include <string>
24532 #include <functional>
24533 #include <algorithm>
24534 #include <vector>
24535 #include <list>
24536 int
24537 main ()
24538 {
24539 std::vector<int> moo;
24540 std::list<int> foo;
24541 std::vector<int>::iterator it =
24542 std::find_if(moo.begin(), moo.end(),
24543 std::bind2nd(std::less<int>(), 3));
24544 ;
24545 return 0;
24546 }
24547 _ACEOF
24548 rm -f conftest.$ac_objext
24549 if { (ac_try="$ac_compile"
24550 case "(($ac_try" in
24551 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24552 *) ac_try_echo=$ac_try;;
24553 esac
24554 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24555 (eval "$ac_compile") 2>conftest.er1
24556 ac_status=$?
24557 grep -v '^ *+' conftest.er1 >conftest.err
24558 rm -f conftest.er1
24559 cat conftest.err >&5
24560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24561 (exit $ac_status); } && {
24562 test -z "$ac_cxx_werror_flag" ||
24563 test ! -s conftest.err
24564 } && test -s conftest.$ac_objext; then
24565 wx_cv_lib_stl=yes
24566 else
24567 echo "$as_me: failed program was:" >&5
24568 sed 's/^/| /' conftest.$ac_ext >&5
24569
24570 wx_cv_lib_stl=no
24571
24572 fi
24573
24574 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24575
24576 fi
24577 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
24578 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
24579
24580 if test "$wx_cv_lib_stl" != yes; then
24581 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
24582 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
24583 { (exit 1); exit 1; }; }
24584 fi
24585
24586 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
24587 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
24588 if test "${wx_cv_func_stdstring_compare+set}" = set; then
24589 echo $ECHO_N "(cached) $ECHO_C" >&6
24590 else
24591 cat >conftest.$ac_ext <<_ACEOF
24592 /* confdefs.h. */
24593 _ACEOF
24594 cat confdefs.h >>conftest.$ac_ext
24595 cat >>conftest.$ac_ext <<_ACEOF
24596 /* end confdefs.h. */
24597 #include <string>
24598 int
24599 main ()
24600 {
24601 std::string foo, bar;
24602 foo.compare(bar);
24603 foo.compare(1, 1, bar);
24604 foo.compare(1, 1, bar, 1, 1);
24605 foo.compare("");
24606 foo.compare(1, 1, "");
24607 foo.compare(1, 1, "", 2);
24608 ;
24609 return 0;
24610 }
24611 _ACEOF
24612 rm -f conftest.$ac_objext
24613 if { (ac_try="$ac_compile"
24614 case "(($ac_try" in
24615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24616 *) ac_try_echo=$ac_try;;
24617 esac
24618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24619 (eval "$ac_compile") 2>conftest.er1
24620 ac_status=$?
24621 grep -v '^ *+' conftest.er1 >conftest.err
24622 rm -f conftest.er1
24623 cat conftest.err >&5
24624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24625 (exit $ac_status); } && {
24626 test -z "$ac_cxx_werror_flag" ||
24627 test ! -s conftest.err
24628 } && test -s conftest.$ac_objext; then
24629 wx_cv_func_stdstring_compare=yes
24630 else
24631 echo "$as_me: failed program was:" >&5
24632 sed 's/^/| /' conftest.$ac_ext >&5
24633
24634 wx_cv_func_stdstring_compare=no
24635
24636 fi
24637
24638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24639
24640 fi
24641 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
24642 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
24643
24644 if test "$wx_cv_func_stdstring_compare" = yes; then
24645 cat >>confdefs.h <<\_ACEOF
24646 #define HAVE_STD_STRING_COMPARE 1
24647 _ACEOF
24648
24649 fi
24650
24651 { echo "$as_me:$LINENO: checking for hash_map" >&5
24652 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
24653 if test "${ac_cv_header_hash_map+set}" = set; then
24654 echo $ECHO_N "(cached) $ECHO_C" >&6
24655 else
24656 cat >conftest.$ac_ext <<_ACEOF
24657 /* confdefs.h. */
24658 _ACEOF
24659 cat confdefs.h >>conftest.$ac_ext
24660 cat >>conftest.$ac_ext <<_ACEOF
24661 /* end confdefs.h. */
24662
24663
24664
24665 #include <hash_map>
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 ac_cv_header_hash_map=yes
24685 else
24686 echo "$as_me: failed program was:" >&5
24687 sed 's/^/| /' conftest.$ac_ext >&5
24688
24689 ac_cv_header_hash_map=no
24690 fi
24691
24692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24693 fi
24694 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24695 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24696 if test $ac_cv_header_hash_map = yes; then
24697 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24698 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24699 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24700 echo $ECHO_N "(cached) $ECHO_C" >&6
24701 else
24702 cat >conftest.$ac_ext <<_ACEOF
24703 /* confdefs.h. */
24704 _ACEOF
24705 cat confdefs.h >>conftest.$ac_ext
24706 cat >>conftest.$ac_ext <<_ACEOF
24707 /* end confdefs.h. */
24708 #include <hash_map>
24709 #include <hash_set>
24710 int
24711 main ()
24712 {
24713 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24714 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24715 ;
24716 return 0;
24717 }
24718 _ACEOF
24719 rm -f conftest.$ac_objext
24720 if { (ac_try="$ac_compile"
24721 case "(($ac_try" in
24722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24723 *) ac_try_echo=$ac_try;;
24724 esac
24725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24726 (eval "$ac_compile") 2>conftest.er1
24727 ac_status=$?
24728 grep -v '^ *+' conftest.er1 >conftest.err
24729 rm -f conftest.er1
24730 cat conftest.err >&5
24731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24732 (exit $ac_status); } && {
24733 test -z "$ac_cxx_werror_flag" ||
24734 test ! -s conftest.err
24735 } && test -s conftest.$ac_objext; then
24736 wx_cv_class_stdhashmapset=yes
24737 else
24738 echo "$as_me: failed program was:" >&5
24739 sed 's/^/| /' conftest.$ac_ext >&5
24740
24741 wx_cv_class_stdhashmapset=no
24742 fi
24743
24744 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24745
24746
24747 fi
24748 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24749 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24750 fi
24751
24752
24753
24754 if test "$wx_cv_class_stdhashmapset" = yes; then
24755 cat >>confdefs.h <<\_ACEOF
24756 #define HAVE_HASH_MAP 1
24757 _ACEOF
24758
24759 cat >>confdefs.h <<\_ACEOF
24760 #define HAVE_STD_HASH_MAP 1
24761 _ACEOF
24762
24763 fi
24764
24765 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24766 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24767 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24768 echo $ECHO_N "(cached) $ECHO_C" >&6
24769 else
24770 cat >conftest.$ac_ext <<_ACEOF
24771 /* confdefs.h. */
24772 _ACEOF
24773 cat confdefs.h >>conftest.$ac_ext
24774 cat >>conftest.$ac_ext <<_ACEOF
24775 /* end confdefs.h. */
24776
24777
24778
24779 #include <ext/hash_map>
24780 _ACEOF
24781 rm -f conftest.$ac_objext
24782 if { (ac_try="$ac_compile"
24783 case "(($ac_try" in
24784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24785 *) ac_try_echo=$ac_try;;
24786 esac
24787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24788 (eval "$ac_compile") 2>conftest.er1
24789 ac_status=$?
24790 grep -v '^ *+' conftest.er1 >conftest.err
24791 rm -f conftest.er1
24792 cat conftest.err >&5
24793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24794 (exit $ac_status); } && {
24795 test -z "$ac_cxx_werror_flag" ||
24796 test ! -s conftest.err
24797 } && test -s conftest.$ac_objext; then
24798 ac_cv_header_ext_hash_map=yes
24799 else
24800 echo "$as_me: failed program was:" >&5
24801 sed 's/^/| /' conftest.$ac_ext >&5
24802
24803 ac_cv_header_ext_hash_map=no
24804 fi
24805
24806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24807 fi
24808 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24809 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24810 if test $ac_cv_header_ext_hash_map = yes; then
24811 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24812 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24813 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24814 echo $ECHO_N "(cached) $ECHO_C" >&6
24815 else
24816 cat >conftest.$ac_ext <<_ACEOF
24817 /* confdefs.h. */
24818 _ACEOF
24819 cat confdefs.h >>conftest.$ac_ext
24820 cat >>conftest.$ac_ext <<_ACEOF
24821 /* end confdefs.h. */
24822 #include <ext/hash_map>
24823 #include <ext/hash_set>
24824 int
24825 main ()
24826 {
24827 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24828 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24829 ;
24830 return 0;
24831 }
24832 _ACEOF
24833 rm -f conftest.$ac_objext
24834 if { (ac_try="$ac_compile"
24835 case "(($ac_try" in
24836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24837 *) ac_try_echo=$ac_try;;
24838 esac
24839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24840 (eval "$ac_compile") 2>conftest.er1
24841 ac_status=$?
24842 grep -v '^ *+' conftest.er1 >conftest.err
24843 rm -f conftest.er1
24844 cat conftest.err >&5
24845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24846 (exit $ac_status); } && {
24847 test -z "$ac_cxx_werror_flag" ||
24848 test ! -s conftest.err
24849 } && test -s conftest.$ac_objext; then
24850 wx_cv_class_gnuhashmapset=yes
24851 else
24852 echo "$as_me: failed program was:" >&5
24853 sed 's/^/| /' conftest.$ac_ext >&5
24854
24855 wx_cv_class_gnuhashmapset=no
24856 fi
24857
24858 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24859
24860
24861 fi
24862 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24863 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24864 fi
24865
24866
24867
24868 if test "$wx_cv_class_gnuhashmapset" = yes; then
24869 cat >>confdefs.h <<\_ACEOF
24870 #define HAVE_EXT_HASH_MAP 1
24871 _ACEOF
24872
24873 cat >>confdefs.h <<\_ACEOF
24874 #define HAVE_GNU_CXX_HASH_MAP 1
24875 _ACEOF
24876
24877 fi
24878 fi
24879
24880
24881
24882 if test -n "$GCC"; then
24883 { echo "$as_me:$LINENO: checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins" >&5
24884 echo $ECHO_N "checking for __sync_fetch_and_add and __sync_sub_and_fetch builtins... $ECHO_C" >&6; }
24885 if test "${wx_cv_cc_gcc_atomic_builtins+set}" = set; then
24886 echo $ECHO_N "(cached) $ECHO_C" >&6
24887 else
24888
24889 cat >conftest.$ac_ext <<_ACEOF
24890 /* confdefs.h. */
24891 _ACEOF
24892 cat confdefs.h >>conftest.$ac_ext
24893 cat >>conftest.$ac_ext <<_ACEOF
24894 /* end confdefs.h. */
24895
24896 int
24897 main ()
24898 {
24899
24900 unsigned int value=0;
24901 /* wxAtomicInc doesn't use return value here */
24902 __sync_fetch_and_add(&value, 2);
24903 __sync_sub_and_fetch(&value, 1);
24904 /* but wxAtomicDec does, so mimic that: */
24905 unsigned int r2 = __sync_sub_and_fetch(&value, 1);
24906
24907 ;
24908 return 0;
24909 }
24910 _ACEOF
24911 rm -f conftest.$ac_objext conftest$ac_exeext
24912 if { (ac_try="$ac_link"
24913 case "(($ac_try" in
24914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24915 *) ac_try_echo=$ac_try;;
24916 esac
24917 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24918 (eval "$ac_link") 2>conftest.er1
24919 ac_status=$?
24920 grep -v '^ *+' conftest.er1 >conftest.err
24921 rm -f conftest.er1
24922 cat conftest.err >&5
24923 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24924 (exit $ac_status); } && {
24925 test -z "$ac_cxx_werror_flag" ||
24926 test ! -s conftest.err
24927 } && test -s conftest$ac_exeext &&
24928 $as_test_x conftest$ac_exeext; then
24929 wx_cv_cc_gcc_atomic_builtins=yes
24930 else
24931 echo "$as_me: failed program was:" >&5
24932 sed 's/^/| /' conftest.$ac_ext >&5
24933
24934 wx_cv_cc_gcc_atomic_builtins=no
24935 fi
24936
24937 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24938 conftest$ac_exeext conftest.$ac_ext
24939
24940 fi
24941
24942 { echo "$as_me:$LINENO: result: $wx_cv_cc_gcc_atomic_builtins" >&5
24943 echo "${ECHO_T}$wx_cv_cc_gcc_atomic_builtins" >&6; }
24944 if test $wx_cv_cc_gcc_atomic_builtins = yes; then
24945 cat >>confdefs.h <<\_ACEOF
24946 #define HAVE_GCC_ATOMIC_BUILTINS 1
24947 _ACEOF
24948
24949 fi
24950 fi
24951
24952
24953 ac_ext=c
24954 ac_cpp='$CPP $CPPFLAGS'
24955 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24956 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24957 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24958
24959
24960
24961 SEARCH_INCLUDE="\
24962 /usr/local/include \
24963 \
24964 /usr/Motif-2.1/include \
24965 /usr/Motif-1.2/include \
24966 /usr/include/Motif1.2 \
24967 \
24968 /usr/dt/include \
24969 /usr/openwin/include \
24970 \
24971 /usr/include/Xm \
24972 \
24973 /usr/X11R6/include \
24974 /usr/X11R6.4/include \
24975 /usr/X11R5/include \
24976 /usr/X11R4/include \
24977 \
24978 /usr/include/X11R6 \
24979 /usr/include/X11R5 \
24980 /usr/include/X11R4 \
24981 \
24982 /usr/local/X11R6/include \
24983 /usr/local/X11R5/include \
24984 /usr/local/X11R4/include \
24985 \
24986 /usr/local/include/X11R6 \
24987 /usr/local/include/X11R5 \
24988 /usr/local/include/X11R4 \
24989 \
24990 /usr/X11/include \
24991 /usr/include/X11 \
24992 /usr/local/X11/include \
24993 /usr/local/include/X11 \
24994 \
24995 /usr/XFree86/include/X11 \
24996 /usr/pkg/include \
24997 \
24998 /usr/openwin/share/include"
24999
25000 { echo "$as_me:$LINENO: checking for libraries directory" >&5
25001 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
25002
25003 case "${host}" in
25004 *-*-irix6* )
25005 if test "${wx_cv_std_libpath+set}" = set; then
25006 echo $ECHO_N "(cached) $ECHO_C" >&6
25007 else
25008
25009 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
25010 for e in a so sl dylib dll.a; do
25011 libc="$d/libc.$e"
25012 if test -f $libc; then
25013 save_LIBS="$LIBS"
25014 LIBS="$libc"
25015 cat >conftest.$ac_ext <<_ACEOF
25016 int main() { return 0; }
25017 _ACEOF
25018 rm -f conftest.$ac_objext conftest$ac_exeext
25019 if { (ac_try="$ac_link"
25020 case "(($ac_try" in
25021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25023 esac
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_link") 2>conftest.er1
25026 ac_status=$?
25027 grep -v '^ *+' conftest.er1 >conftest.err
25028 rm -f conftest.er1
25029 cat conftest.err >&5
25030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25031 (exit $ac_status); } && {
25032 test -z "$ac_c_werror_flag" ||
25033 test ! -s conftest.err
25034 } && test -s conftest$ac_exeext &&
25035 $as_test_x conftest$ac_exeext; then
25036 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
25037 else
25038 echo "$as_me: failed program was:" >&5
25039 sed 's/^/| /' conftest.$ac_ext >&5
25040
25041
25042 fi
25043
25044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25045 conftest$ac_exeext conftest.$ac_ext
25046 LIBS="$save_LIBS"
25047 if test "x$wx_cv_std_libpath" != "x"; then
25048 break 2
25049 fi
25050 fi
25051 done
25052 done
25053 if test "x$wx_cv_std_libpath" = "x"; then
25054 wx_cv_std_libpath="lib"
25055 fi
25056
25057
25058 fi
25059
25060 ;;
25061
25062 *-*-solaris2* )
25063 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
25064 wx_cv_std_libpath="lib/64"
25065 else
25066 wx_cv_std_libpath="lib"
25067 fi
25068 ;;
25069
25070 *-*-linux* )
25071 if test "$ac_cv_sizeof_void_p" = 8 -a \
25072 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
25073 wx_cv_std_libpath="lib64"
25074 else
25075 wx_cv_std_libpath="lib"
25076 fi
25077 ;;
25078
25079 *)
25080 wx_cv_std_libpath="lib";
25081 ;;
25082 esac
25083
25084 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
25085 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
25086
25087 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
25088
25089 if test "$build" != "$host" -a "$GCC" = yes; then
25090 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
25091 cross_root=`dirname $cross_root`
25092 cross_root=`dirname $cross_root`
25093
25094 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25095 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
25096 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
25097
25098 if test -z "$PKG_CONFIG_PATH"; then
25099 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
25100 export PKG_CONFIG_PATH
25101 fi
25102
25103 if test -z "$x_includes" -o "$x_includes" = NONE; then
25104
25105 ac_find_includes=
25106 for ac_dir in $SEARCH_INCLUDE /usr/include;
25107 do
25108 if test -f "$ac_dir/X11/Intrinsic.h"; then
25109 ac_find_includes=$ac_dir
25110 break
25111 fi
25112 done
25113
25114 x_includes=$ac_find_includes
25115 fi
25116 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
25117
25118 ac_find_libraries=
25119 for ac_dir in $SEARCH_LIB;
25120 do
25121 for ac_extension in a so sl dylib dll.a; do
25122 if test -f "$ac_dir/libXt.$ac_extension"; then
25123 ac_find_libraries=$ac_dir
25124 break 2
25125 fi
25126 done
25127 done
25128
25129 x_libraries=$ac_find_libraries
25130 fi
25131 fi
25132 fi
25133
25134
25135 cat >confcache <<\_ACEOF
25136 # This file is a shell script that caches the results of configure
25137 # tests run on this system so they can be shared between configure
25138 # scripts and configure runs, see configure's option --config-cache.
25139 # It is not useful on other systems. If it contains results you don't
25140 # want to keep, you may remove or edit it.
25141 #
25142 # config.status only pays attention to the cache file if you give it
25143 # the --recheck option to rerun configure.
25144 #
25145 # `ac_cv_env_foo' variables (set or unset) will be overridden when
25146 # loading this file, other *unset* `ac_cv_foo' will be assigned the
25147 # following values.
25148
25149 _ACEOF
25150
25151 # The following way of writing the cache mishandles newlines in values,
25152 # but we know of no workaround that is simple, portable, and efficient.
25153 # So, we kill variables containing newlines.
25154 # Ultrix sh set writes to stderr and can't be redirected directly,
25155 # and sets the high bit in the cache file unless we assign to the vars.
25156 (
25157 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
25158 eval ac_val=\$$ac_var
25159 case $ac_val in #(
25160 *${as_nl}*)
25161 case $ac_var in #(
25162 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
25163 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
25164 esac
25165 case $ac_var in #(
25166 _ | IFS | as_nl) ;; #(
25167 *) $as_unset $ac_var ;;
25168 esac ;;
25169 esac
25170 done
25171
25172 (set) 2>&1 |
25173 case $as_nl`(ac_space=' '; set) 2>&1` in #(
25174 *${as_nl}ac_space=\ *)
25175 # `set' does not quote correctly, so add quotes (double-quote
25176 # substitution turns \\\\ into \\, and sed turns \\ into \).
25177 sed -n \
25178 "s/'/'\\\\''/g;
25179 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
25180 ;; #(
25181 *)
25182 # `set' quotes correctly as required by POSIX, so do not add quotes.
25183 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
25184 ;;
25185 esac |
25186 sort
25187 ) |
25188 sed '
25189 /^ac_cv_env_/b end
25190 t clear
25191 :clear
25192 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
25193 t end
25194 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
25195 :end' >>confcache
25196 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
25197 if test -w "$cache_file"; then
25198 test "x$cache_file" != "x/dev/null" &&
25199 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
25200 echo "$as_me: updating cache $cache_file" >&6;}
25201 cat confcache >$cache_file
25202 else
25203 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
25204 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
25205 fi
25206 fi
25207 rm -f confcache
25208
25209 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
25210 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
25211 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
25212 if test "${wx_cv_lib_glibc21+set}" = set; then
25213 echo $ECHO_N "(cached) $ECHO_C" >&6
25214 else
25215
25216 cat >conftest.$ac_ext <<_ACEOF
25217 /* confdefs.h. */
25218 _ACEOF
25219 cat confdefs.h >>conftest.$ac_ext
25220 cat >>conftest.$ac_ext <<_ACEOF
25221 /* end confdefs.h. */
25222 #include <features.h>
25223 int
25224 main ()
25225 {
25226
25227 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
25228 not glibc 2.1
25229 #endif
25230
25231 ;
25232 return 0;
25233 }
25234 _ACEOF
25235 rm -f conftest.$ac_objext
25236 if { (ac_try="$ac_compile"
25237 case "(($ac_try" in
25238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25239 *) ac_try_echo=$ac_try;;
25240 esac
25241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25242 (eval "$ac_compile") 2>conftest.er1
25243 ac_status=$?
25244 grep -v '^ *+' conftest.er1 >conftest.err
25245 rm -f conftest.er1
25246 cat conftest.err >&5
25247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25248 (exit $ac_status); } && {
25249 test -z "$ac_c_werror_flag" ||
25250 test ! -s conftest.err
25251 } && test -s conftest.$ac_objext; then
25252
25253 wx_cv_lib_glibc21=yes
25254
25255 else
25256 echo "$as_me: failed program was:" >&5
25257 sed 's/^/| /' conftest.$ac_ext >&5
25258
25259
25260 wx_cv_lib_glibc21=no
25261
25262
25263 fi
25264
25265 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25266
25267 fi
25268 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
25269 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
25270 if test "$wx_cv_lib_glibc21" = "yes"; then
25271 cat >>confdefs.h <<\_ACEOF
25272 #define wxHAVE_GLIBC2 1
25273 _ACEOF
25274
25275 fi
25276 fi
25277
25278 if test "x$wx_cv_lib_glibc21" = "xyes"; then
25279 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
25280 cat >>confdefs.h <<\_ACEOF
25281 #define _GNU_SOURCE 1
25282 _ACEOF
25283
25284 fi
25285 fi
25286
25287 have_cos=0
25288 have_floor=0
25289
25290 for ac_func in cos
25291 do
25292 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25293 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25294 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25295 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25296 echo $ECHO_N "(cached) $ECHO_C" >&6
25297 else
25298 cat >conftest.$ac_ext <<_ACEOF
25299 /* confdefs.h. */
25300 _ACEOF
25301 cat confdefs.h >>conftest.$ac_ext
25302 cat >>conftest.$ac_ext <<_ACEOF
25303 /* end confdefs.h. */
25304 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25305 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25306 #define $ac_func innocuous_$ac_func
25307
25308 /* System header to define __stub macros and hopefully few prototypes,
25309 which can conflict with char $ac_func (); below.
25310 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25311 <limits.h> exists even on freestanding compilers. */
25312
25313 #ifdef __STDC__
25314 # include <limits.h>
25315 #else
25316 # include <assert.h>
25317 #endif
25318
25319 #undef $ac_func
25320
25321 /* Override any GCC internal prototype to avoid an error.
25322 Use char because int might match the return type of a GCC
25323 builtin and then its argument prototype would still apply. */
25324 #ifdef __cplusplus
25325 extern "C"
25326 #endif
25327 char $ac_func ();
25328 /* The GNU C library defines this for functions which it implements
25329 to always fail with ENOSYS. Some functions are actually named
25330 something starting with __ and the normal name is an alias. */
25331 #if defined __stub_$ac_func || defined __stub___$ac_func
25332 choke me
25333 #endif
25334
25335 int
25336 main ()
25337 {
25338 return $ac_func ();
25339 ;
25340 return 0;
25341 }
25342 _ACEOF
25343 rm -f conftest.$ac_objext conftest$ac_exeext
25344 if { (ac_try="$ac_link"
25345 case "(($ac_try" in
25346 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25347 *) ac_try_echo=$ac_try;;
25348 esac
25349 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25350 (eval "$ac_link") 2>conftest.er1
25351 ac_status=$?
25352 grep -v '^ *+' conftest.er1 >conftest.err
25353 rm -f conftest.er1
25354 cat conftest.err >&5
25355 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25356 (exit $ac_status); } && {
25357 test -z "$ac_c_werror_flag" ||
25358 test ! -s conftest.err
25359 } && test -s conftest$ac_exeext &&
25360 $as_test_x conftest$ac_exeext; then
25361 eval "$as_ac_var=yes"
25362 else
25363 echo "$as_me: failed program was:" >&5
25364 sed 's/^/| /' conftest.$ac_ext >&5
25365
25366 eval "$as_ac_var=no"
25367 fi
25368
25369 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25370 conftest$ac_exeext conftest.$ac_ext
25371 fi
25372 ac_res=`eval echo '${'$as_ac_var'}'`
25373 { echo "$as_me:$LINENO: result: $ac_res" >&5
25374 echo "${ECHO_T}$ac_res" >&6; }
25375 if test `eval echo '${'$as_ac_var'}'` = yes; then
25376 cat >>confdefs.h <<_ACEOF
25377 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25378 _ACEOF
25379 have_cos=1
25380 fi
25381 done
25382
25383
25384 for ac_func in floor
25385 do
25386 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25387 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25388 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25389 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25390 echo $ECHO_N "(cached) $ECHO_C" >&6
25391 else
25392 cat >conftest.$ac_ext <<_ACEOF
25393 /* confdefs.h. */
25394 _ACEOF
25395 cat confdefs.h >>conftest.$ac_ext
25396 cat >>conftest.$ac_ext <<_ACEOF
25397 /* end confdefs.h. */
25398 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25399 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25400 #define $ac_func innocuous_$ac_func
25401
25402 /* System header to define __stub macros and hopefully few prototypes,
25403 which can conflict with char $ac_func (); below.
25404 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25405 <limits.h> exists even on freestanding compilers. */
25406
25407 #ifdef __STDC__
25408 # include <limits.h>
25409 #else
25410 # include <assert.h>
25411 #endif
25412
25413 #undef $ac_func
25414
25415 /* Override any GCC internal prototype to avoid an error.
25416 Use char because int might match the return type of a GCC
25417 builtin and then its argument prototype would still apply. */
25418 #ifdef __cplusplus
25419 extern "C"
25420 #endif
25421 char $ac_func ();
25422 /* The GNU C library defines this for functions which it implements
25423 to always fail with ENOSYS. Some functions are actually named
25424 something starting with __ and the normal name is an alias. */
25425 #if defined __stub_$ac_func || defined __stub___$ac_func
25426 choke me
25427 #endif
25428
25429 int
25430 main ()
25431 {
25432 return $ac_func ();
25433 ;
25434 return 0;
25435 }
25436 _ACEOF
25437 rm -f conftest.$ac_objext conftest$ac_exeext
25438 if { (ac_try="$ac_link"
25439 case "(($ac_try" in
25440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25441 *) ac_try_echo=$ac_try;;
25442 esac
25443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25444 (eval "$ac_link") 2>conftest.er1
25445 ac_status=$?
25446 grep -v '^ *+' conftest.er1 >conftest.err
25447 rm -f conftest.er1
25448 cat conftest.err >&5
25449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25450 (exit $ac_status); } && {
25451 test -z "$ac_c_werror_flag" ||
25452 test ! -s conftest.err
25453 } && test -s conftest$ac_exeext &&
25454 $as_test_x conftest$ac_exeext; then
25455 eval "$as_ac_var=yes"
25456 else
25457 echo "$as_me: failed program was:" >&5
25458 sed 's/^/| /' conftest.$ac_ext >&5
25459
25460 eval "$as_ac_var=no"
25461 fi
25462
25463 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25464 conftest$ac_exeext conftest.$ac_ext
25465 fi
25466 ac_res=`eval echo '${'$as_ac_var'}'`
25467 { echo "$as_me:$LINENO: result: $ac_res" >&5
25468 echo "${ECHO_T}$ac_res" >&6; }
25469 if test `eval echo '${'$as_ac_var'}'` = yes; then
25470 cat >>confdefs.h <<_ACEOF
25471 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25472 _ACEOF
25473 have_floor=1
25474 fi
25475 done
25476
25477 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
25478 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
25479 if test "$have_cos" = 1 -a "$have_floor" = 1; then
25480 { echo "$as_me:$LINENO: result: yes" >&5
25481 echo "${ECHO_T}yes" >&6; }
25482 else
25483 { echo "$as_me:$LINENO: result: no" >&5
25484 echo "${ECHO_T}no" >&6; }
25485 LIBS="$LIBS -lm"
25486 # use different functions to avoid configure caching
25487 have_sin=0
25488 have_ceil=0
25489
25490 for ac_func in sin
25491 do
25492 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25493 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25494 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25495 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25496 echo $ECHO_N "(cached) $ECHO_C" >&6
25497 else
25498 cat >conftest.$ac_ext <<_ACEOF
25499 /* confdefs.h. */
25500 _ACEOF
25501 cat confdefs.h >>conftest.$ac_ext
25502 cat >>conftest.$ac_ext <<_ACEOF
25503 /* end confdefs.h. */
25504 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25505 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25506 #define $ac_func innocuous_$ac_func
25507
25508 /* System header to define __stub macros and hopefully few prototypes,
25509 which can conflict with char $ac_func (); below.
25510 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25511 <limits.h> exists even on freestanding compilers. */
25512
25513 #ifdef __STDC__
25514 # include <limits.h>
25515 #else
25516 # include <assert.h>
25517 #endif
25518
25519 #undef $ac_func
25520
25521 /* Override any GCC internal prototype to avoid an error.
25522 Use char because int might match the return type of a GCC
25523 builtin and then its argument prototype would still apply. */
25524 #ifdef __cplusplus
25525 extern "C"
25526 #endif
25527 char $ac_func ();
25528 /* The GNU C library defines this for functions which it implements
25529 to always fail with ENOSYS. Some functions are actually named
25530 something starting with __ and the normal name is an alias. */
25531 #if defined __stub_$ac_func || defined __stub___$ac_func
25532 choke me
25533 #endif
25534
25535 int
25536 main ()
25537 {
25538 return $ac_func ();
25539 ;
25540 return 0;
25541 }
25542 _ACEOF
25543 rm -f conftest.$ac_objext conftest$ac_exeext
25544 if { (ac_try="$ac_link"
25545 case "(($ac_try" in
25546 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25547 *) ac_try_echo=$ac_try;;
25548 esac
25549 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25550 (eval "$ac_link") 2>conftest.er1
25551 ac_status=$?
25552 grep -v '^ *+' conftest.er1 >conftest.err
25553 rm -f conftest.er1
25554 cat conftest.err >&5
25555 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25556 (exit $ac_status); } && {
25557 test -z "$ac_c_werror_flag" ||
25558 test ! -s conftest.err
25559 } && test -s conftest$ac_exeext &&
25560 $as_test_x conftest$ac_exeext; then
25561 eval "$as_ac_var=yes"
25562 else
25563 echo "$as_me: failed program was:" >&5
25564 sed 's/^/| /' conftest.$ac_ext >&5
25565
25566 eval "$as_ac_var=no"
25567 fi
25568
25569 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25570 conftest$ac_exeext conftest.$ac_ext
25571 fi
25572 ac_res=`eval echo '${'$as_ac_var'}'`
25573 { echo "$as_me:$LINENO: result: $ac_res" >&5
25574 echo "${ECHO_T}$ac_res" >&6; }
25575 if test `eval echo '${'$as_ac_var'}'` = yes; then
25576 cat >>confdefs.h <<_ACEOF
25577 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25578 _ACEOF
25579 have_sin=1
25580 fi
25581 done
25582
25583
25584 for ac_func in ceil
25585 do
25586 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25587 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25588 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25589 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25590 echo $ECHO_N "(cached) $ECHO_C" >&6
25591 else
25592 cat >conftest.$ac_ext <<_ACEOF
25593 /* confdefs.h. */
25594 _ACEOF
25595 cat confdefs.h >>conftest.$ac_ext
25596 cat >>conftest.$ac_ext <<_ACEOF
25597 /* end confdefs.h. */
25598 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25599 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25600 #define $ac_func innocuous_$ac_func
25601
25602 /* System header to define __stub macros and hopefully few prototypes,
25603 which can conflict with char $ac_func (); below.
25604 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25605 <limits.h> exists even on freestanding compilers. */
25606
25607 #ifdef __STDC__
25608 # include <limits.h>
25609 #else
25610 # include <assert.h>
25611 #endif
25612
25613 #undef $ac_func
25614
25615 /* Override any GCC internal prototype to avoid an error.
25616 Use char because int might match the return type of a GCC
25617 builtin and then its argument prototype would still apply. */
25618 #ifdef __cplusplus
25619 extern "C"
25620 #endif
25621 char $ac_func ();
25622 /* The GNU C library defines this for functions which it implements
25623 to always fail with ENOSYS. Some functions are actually named
25624 something starting with __ and the normal name is an alias. */
25625 #if defined __stub_$ac_func || defined __stub___$ac_func
25626 choke me
25627 #endif
25628
25629 int
25630 main ()
25631 {
25632 return $ac_func ();
25633 ;
25634 return 0;
25635 }
25636 _ACEOF
25637 rm -f conftest.$ac_objext conftest$ac_exeext
25638 if { (ac_try="$ac_link"
25639 case "(($ac_try" in
25640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25641 *) ac_try_echo=$ac_try;;
25642 esac
25643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25644 (eval "$ac_link") 2>conftest.er1
25645 ac_status=$?
25646 grep -v '^ *+' conftest.er1 >conftest.err
25647 rm -f conftest.er1
25648 cat conftest.err >&5
25649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25650 (exit $ac_status); } && {
25651 test -z "$ac_c_werror_flag" ||
25652 test ! -s conftest.err
25653 } && test -s conftest$ac_exeext &&
25654 $as_test_x conftest$ac_exeext; then
25655 eval "$as_ac_var=yes"
25656 else
25657 echo "$as_me: failed program was:" >&5
25658 sed 's/^/| /' conftest.$ac_ext >&5
25659
25660 eval "$as_ac_var=no"
25661 fi
25662
25663 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25664 conftest$ac_exeext conftest.$ac_ext
25665 fi
25666 ac_res=`eval echo '${'$as_ac_var'}'`
25667 { echo "$as_me:$LINENO: result: $ac_res" >&5
25668 echo "${ECHO_T}$ac_res" >&6; }
25669 if test `eval echo '${'$as_ac_var'}'` = yes; then
25670 cat >>confdefs.h <<_ACEOF
25671 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25672 _ACEOF
25673 have_ceil=1
25674 fi
25675 done
25676
25677 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
25678 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
25679 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
25680 { echo "$as_me:$LINENO: result: yes" >&5
25681 echo "${ECHO_T}yes" >&6; }
25682 else
25683 { echo "$as_me:$LINENO: result: no" >&5
25684 echo "${ECHO_T}no" >&6; }
25685 # not sure we should warn the user, crash, etc.
25686 fi
25687 fi
25688
25689 ac_ext=cpp
25690 ac_cpp='$CXXCPP $CPPFLAGS'
25691 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25692 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25693 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
25694
25695 if test "wxUSE_UNICODE" = "yes"; then
25696
25697 for wx_func in wcstoull
25698 do
25699 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25700 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25701 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25702 echo $ECHO_N "(cached) $ECHO_C" >&6
25703 else
25704
25705 cat >conftest.$ac_ext <<_ACEOF
25706
25707 /* confdefs.h. */
25708 _ACEOF
25709 cat confdefs.h >>conftest.$ac_ext
25710 cat >>conftest.$ac_ext <<_ACEOF
25711 /* end confdefs.h. */
25712
25713
25714 $ac_includes_default
25715
25716 int
25717 main ()
25718 {
25719
25720 #ifndef $wx_func
25721 &$wx_func;
25722 #endif
25723
25724
25725 ;
25726 return 0;
25727 }
25728
25729 _ACEOF
25730 rm -f conftest.$ac_objext conftest$ac_exeext
25731 if { (ac_try="$ac_link"
25732 case "(($ac_try" in
25733 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25734 *) ac_try_echo=$ac_try;;
25735 esac
25736 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25737 (eval "$ac_link") 2>conftest.er1
25738 ac_status=$?
25739 grep -v '^ *+' conftest.er1 >conftest.err
25740 rm -f conftest.er1
25741 cat conftest.err >&5
25742 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25743 (exit $ac_status); } && {
25744 test -z "$ac_cxx_werror_flag" ||
25745 test ! -s conftest.err
25746 } && test -s conftest$ac_exeext &&
25747 $as_test_x conftest$ac_exeext; then
25748 eval wx_cv_func_$wx_func=yes
25749 else
25750 echo "$as_me: failed program was:" >&5
25751 sed 's/^/| /' conftest.$ac_ext >&5
25752
25753 eval wx_cv_func_$wx_func=no
25754 fi
25755
25756 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25757 conftest$ac_exeext conftest.$ac_ext
25758
25759 fi
25760 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25761 { echo "$as_me:$LINENO: result: $ac_res" >&5
25762 echo "${ECHO_T}$ac_res" >&6; }
25763
25764 if eval test \$wx_cv_func_$wx_func = yes
25765 then
25766 cat >>confdefs.h <<_ACEOF
25767 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25768 _ACEOF
25769
25770
25771 else
25772 :
25773
25774 fi
25775 done
25776
25777 else
25778
25779 for wx_func in strtoull
25780 do
25781 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25782 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25783 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25784 echo $ECHO_N "(cached) $ECHO_C" >&6
25785 else
25786
25787 cat >conftest.$ac_ext <<_ACEOF
25788
25789 /* confdefs.h. */
25790 _ACEOF
25791 cat confdefs.h >>conftest.$ac_ext
25792 cat >>conftest.$ac_ext <<_ACEOF
25793 /* end confdefs.h. */
25794
25795
25796 $ac_includes_default
25797
25798 int
25799 main ()
25800 {
25801
25802 #ifndef $wx_func
25803 &$wx_func;
25804 #endif
25805
25806
25807 ;
25808 return 0;
25809 }
25810
25811 _ACEOF
25812 rm -f conftest.$ac_objext conftest$ac_exeext
25813 if { (ac_try="$ac_link"
25814 case "(($ac_try" in
25815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25816 *) ac_try_echo=$ac_try;;
25817 esac
25818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25819 (eval "$ac_link") 2>conftest.er1
25820 ac_status=$?
25821 grep -v '^ *+' conftest.er1 >conftest.err
25822 rm -f conftest.er1
25823 cat conftest.err >&5
25824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25825 (exit $ac_status); } && {
25826 test -z "$ac_cxx_werror_flag" ||
25827 test ! -s conftest.err
25828 } && test -s conftest$ac_exeext &&
25829 $as_test_x conftest$ac_exeext; then
25830 eval wx_cv_func_$wx_func=yes
25831 else
25832 echo "$as_me: failed program was:" >&5
25833 sed 's/^/| /' conftest.$ac_ext >&5
25834
25835 eval wx_cv_func_$wx_func=no
25836 fi
25837
25838 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25839 conftest$ac_exeext conftest.$ac_ext
25840
25841 fi
25842 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25843 { echo "$as_me:$LINENO: result: $ac_res" >&5
25844 echo "${ECHO_T}$ac_res" >&6; }
25845
25846 if eval test \$wx_cv_func_$wx_func = yes
25847 then
25848 cat >>confdefs.h <<_ACEOF
25849 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
25850 _ACEOF
25851
25852
25853 else
25854 :
25855
25856 fi
25857 done
25858
25859 fi
25860 ac_ext=c
25861 ac_cpp='$CPP $CPPFLAGS'
25862 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25863 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25864 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25865
25866
25867
25868
25869 if test "$wxUSE_REGEX" != "no"; then
25870 cat >>confdefs.h <<\_ACEOF
25871 #define wxUSE_REGEX 1
25872 _ACEOF
25873
25874
25875 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25876 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25877 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25878 wxUSE_REGEX=builtin
25879 fi
25880
25881 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25882 { echo "$as_me:$LINENO: checking for regex.h" >&5
25883 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25884 if test "${ac_cv_header_regex_h+set}" = set; then
25885 echo $ECHO_N "(cached) $ECHO_C" >&6
25886 else
25887 cat >conftest.$ac_ext <<_ACEOF
25888 /* confdefs.h. */
25889 _ACEOF
25890 cat confdefs.h >>conftest.$ac_ext
25891 cat >>conftest.$ac_ext <<_ACEOF
25892 /* end confdefs.h. */
25893
25894
25895 #include <regex.h>
25896 _ACEOF
25897 rm -f conftest.$ac_objext
25898 if { (ac_try="$ac_compile"
25899 case "(($ac_try" in
25900 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25901 *) ac_try_echo=$ac_try;;
25902 esac
25903 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25904 (eval "$ac_compile") 2>conftest.er1
25905 ac_status=$?
25906 grep -v '^ *+' conftest.er1 >conftest.err
25907 rm -f conftest.er1
25908 cat conftest.err >&5
25909 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25910 (exit $ac_status); } && {
25911 test -z "$ac_c_werror_flag" ||
25912 test ! -s conftest.err
25913 } && test -s conftest.$ac_objext; then
25914 ac_cv_header_regex_h=yes
25915 else
25916 echo "$as_me: failed program was:" >&5
25917 sed 's/^/| /' conftest.$ac_ext >&5
25918
25919 ac_cv_header_regex_h=no
25920 fi
25921
25922 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25923 fi
25924 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25925 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25926 if test $ac_cv_header_regex_h = yes; then
25927
25928
25929 for ac_func in regcomp re_search
25930 do
25931 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25932 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25933 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25934 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25935 echo $ECHO_N "(cached) $ECHO_C" >&6
25936 else
25937 cat >conftest.$ac_ext <<_ACEOF
25938 /* confdefs.h. */
25939 _ACEOF
25940 cat confdefs.h >>conftest.$ac_ext
25941 cat >>conftest.$ac_ext <<_ACEOF
25942 /* end confdefs.h. */
25943 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25944 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25945 #define $ac_func innocuous_$ac_func
25946
25947 /* System header to define __stub macros and hopefully few prototypes,
25948 which can conflict with char $ac_func (); below.
25949 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25950 <limits.h> exists even on freestanding compilers. */
25951
25952 #ifdef __STDC__
25953 # include <limits.h>
25954 #else
25955 # include <assert.h>
25956 #endif
25957
25958 #undef $ac_func
25959
25960 /* Override any GCC internal prototype to avoid an error.
25961 Use char because int might match the return type of a GCC
25962 builtin and then its argument prototype would still apply. */
25963 #ifdef __cplusplus
25964 extern "C"
25965 #endif
25966 char $ac_func ();
25967 /* The GNU C library defines this for functions which it implements
25968 to always fail with ENOSYS. Some functions are actually named
25969 something starting with __ and the normal name is an alias. */
25970 #if defined __stub_$ac_func || defined __stub___$ac_func
25971 choke me
25972 #endif
25973
25974 int
25975 main ()
25976 {
25977 return $ac_func ();
25978 ;
25979 return 0;
25980 }
25981 _ACEOF
25982 rm -f conftest.$ac_objext conftest$ac_exeext
25983 if { (ac_try="$ac_link"
25984 case "(($ac_try" in
25985 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25986 *) ac_try_echo=$ac_try;;
25987 esac
25988 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25989 (eval "$ac_link") 2>conftest.er1
25990 ac_status=$?
25991 grep -v '^ *+' conftest.er1 >conftest.err
25992 rm -f conftest.er1
25993 cat conftest.err >&5
25994 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25995 (exit $ac_status); } && {
25996 test -z "$ac_c_werror_flag" ||
25997 test ! -s conftest.err
25998 } && test -s conftest$ac_exeext &&
25999 $as_test_x conftest$ac_exeext; then
26000 eval "$as_ac_var=yes"
26001 else
26002 echo "$as_me: failed program was:" >&5
26003 sed 's/^/| /' conftest.$ac_ext >&5
26004
26005 eval "$as_ac_var=no"
26006 fi
26007
26008 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26009 conftest$ac_exeext conftest.$ac_ext
26010 fi
26011 ac_res=`eval echo '${'$as_ac_var'}'`
26012 { echo "$as_me:$LINENO: result: $ac_res" >&5
26013 echo "${ECHO_T}$ac_res" >&6; }
26014 if test `eval echo '${'$as_ac_var'}'` = yes; then
26015 cat >>confdefs.h <<_ACEOF
26016 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
26017 _ACEOF
26018
26019 fi
26020 done
26021
26022 fi
26023
26024
26025
26026 if test "x$ac_cv_func_regcomp" != "xyes"; then
26027 if test "$wxUSE_REGEX" = "sys" ; then
26028 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
26029 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
26030 { (exit 1); exit 1; }; }
26031 else
26032 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
26033 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
26034 wxUSE_REGEX=builtin
26035 fi
26036 else
26037 wxUSE_REGEX=sys
26038 cat >>confdefs.h <<\_ACEOF
26039 #define WX_NO_REGEX_ADVANCED 1
26040 _ACEOF
26041
26042 fi
26043 fi
26044 fi
26045
26046
26047 ZLIB_LINK=
26048 if test "$wxUSE_ZLIB" != "no" ; then
26049 cat >>confdefs.h <<\_ACEOF
26050 #define wxUSE_ZLIB 1
26051 _ACEOF
26052
26053
26054 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
26055 if test "$USE_DARWIN" = 1; then
26056 system_zlib_h_ok="yes"
26057 else
26058 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
26059 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
26060 if test "${ac_cv_header_zlib_h+set}" = set; then
26061 echo $ECHO_N "(cached) $ECHO_C" >&6
26062 else
26063 if test "$cross_compiling" = yes; then
26064 unset ac_cv_header_zlib_h
26065
26066 else
26067 cat >conftest.$ac_ext <<_ACEOF
26068 /* confdefs.h. */
26069 _ACEOF
26070 cat confdefs.h >>conftest.$ac_ext
26071 cat >>conftest.$ac_ext <<_ACEOF
26072 /* end confdefs.h. */
26073
26074 #include <zlib.h>
26075 #include <stdio.h>
26076
26077 int main()
26078 {
26079 FILE *f=fopen("conftestval", "w");
26080 if (!f) exit(1);
26081 fprintf(f, "%s",
26082 ZLIB_VERSION[0] == '1' &&
26083 (ZLIB_VERSION[2] > '1' ||
26084 (ZLIB_VERSION[2] == '1' &&
26085 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
26086 exit(0);
26087 }
26088
26089 _ACEOF
26090 rm -f conftest$ac_exeext
26091 if { (ac_try="$ac_link"
26092 case "(($ac_try" in
26093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26094 *) ac_try_echo=$ac_try;;
26095 esac
26096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26097 (eval "$ac_link") 2>&5
26098 ac_status=$?
26099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26100 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
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_try") 2>&5
26107 ac_status=$?
26108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26109 (exit $ac_status); }; }; then
26110 ac_cv_header_zlib_h=`cat conftestval`
26111 else
26112 echo "$as_me: program exited with status $ac_status" >&5
26113 echo "$as_me: failed program was:" >&5
26114 sed 's/^/| /' conftest.$ac_ext >&5
26115
26116 ( exit $ac_status )
26117 ac_cv_header_zlib_h=no
26118 fi
26119 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26120 fi
26121
26122
26123
26124 fi
26125 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26126 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26127 { echo "$as_me:$LINENO: checking for zlib.h" >&5
26128 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
26129 if test "${ac_cv_header_zlib_h+set}" = set; then
26130 echo $ECHO_N "(cached) $ECHO_C" >&6
26131 else
26132 cat >conftest.$ac_ext <<_ACEOF
26133 /* confdefs.h. */
26134 _ACEOF
26135 cat confdefs.h >>conftest.$ac_ext
26136 cat >>conftest.$ac_ext <<_ACEOF
26137 /* end confdefs.h. */
26138
26139
26140 #include <zlib.h>
26141 _ACEOF
26142 rm -f conftest.$ac_objext
26143 if { (ac_try="$ac_compile"
26144 case "(($ac_try" in
26145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26146 *) ac_try_echo=$ac_try;;
26147 esac
26148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26149 (eval "$ac_compile") 2>conftest.er1
26150 ac_status=$?
26151 grep -v '^ *+' conftest.er1 >conftest.err
26152 rm -f conftest.er1
26153 cat conftest.err >&5
26154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26155 (exit $ac_status); } && {
26156 test -z "$ac_c_werror_flag" ||
26157 test ! -s conftest.err
26158 } && test -s conftest.$ac_objext; then
26159 ac_cv_header_zlib_h=yes
26160 else
26161 echo "$as_me: failed program was:" >&5
26162 sed 's/^/| /' conftest.$ac_ext >&5
26163
26164 ac_cv_header_zlib_h=no
26165 fi
26166
26167 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26168 fi
26169 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
26170 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
26171
26172
26173
26174 system_zlib_h_ok=$ac_cv_header_zlib_h
26175 fi
26176
26177 if test "$system_zlib_h_ok" = "yes"; then
26178 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
26179 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
26180 if test "${ac_cv_lib_z_deflate+set}" = set; then
26181 echo $ECHO_N "(cached) $ECHO_C" >&6
26182 else
26183 ac_check_lib_save_LIBS=$LIBS
26184 LIBS="-lz $LIBS"
26185 cat >conftest.$ac_ext <<_ACEOF
26186 /* confdefs.h. */
26187 _ACEOF
26188 cat confdefs.h >>conftest.$ac_ext
26189 cat >>conftest.$ac_ext <<_ACEOF
26190 /* end confdefs.h. */
26191
26192 /* Override any GCC internal prototype to avoid an error.
26193 Use char because int might match the return type of a GCC
26194 builtin and then its argument prototype would still apply. */
26195 #ifdef __cplusplus
26196 extern "C"
26197 #endif
26198 char deflate ();
26199 int
26200 main ()
26201 {
26202 return deflate ();
26203 ;
26204 return 0;
26205 }
26206 _ACEOF
26207 rm -f conftest.$ac_objext conftest$ac_exeext
26208 if { (ac_try="$ac_link"
26209 case "(($ac_try" in
26210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26211 *) ac_try_echo=$ac_try;;
26212 esac
26213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26214 (eval "$ac_link") 2>conftest.er1
26215 ac_status=$?
26216 grep -v '^ *+' conftest.er1 >conftest.err
26217 rm -f conftest.er1
26218 cat conftest.err >&5
26219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26220 (exit $ac_status); } && {
26221 test -z "$ac_c_werror_flag" ||
26222 test ! -s conftest.err
26223 } && test -s conftest$ac_exeext &&
26224 $as_test_x conftest$ac_exeext; then
26225 ac_cv_lib_z_deflate=yes
26226 else
26227 echo "$as_me: failed program was:" >&5
26228 sed 's/^/| /' conftest.$ac_ext >&5
26229
26230 ac_cv_lib_z_deflate=no
26231 fi
26232
26233 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26234 conftest$ac_exeext conftest.$ac_ext
26235 LIBS=$ac_check_lib_save_LIBS
26236 fi
26237 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
26238 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
26239 if test $ac_cv_lib_z_deflate = yes; then
26240 ZLIB_LINK=" -lz"
26241 fi
26242
26243 fi
26244
26245 if test "x$ZLIB_LINK" = "x" ; then
26246 if test "$wxUSE_ZLIB" = "sys" ; then
26247 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
26248 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
26249 { (exit 1); exit 1; }; }
26250 else
26251 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
26252 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
26253 wxUSE_ZLIB=builtin
26254 fi
26255 else
26256 wxUSE_ZLIB=sys
26257 fi
26258 fi
26259 fi
26260
26261
26262 PNG_LINK=
26263 if test "$wxUSE_LIBPNG" != "no" ; then
26264 cat >>confdefs.h <<\_ACEOF
26265 #define wxUSE_LIBPNG 1
26266 _ACEOF
26267
26268
26269 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
26270 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
26271 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
26272 wxUSE_LIBPNG=sys
26273 fi
26274
26275 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
26276 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
26277 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
26278 wxUSE_LIBPNG=builtin
26279 fi
26280
26281 if test "$wxUSE_MGL" != 1 ; then
26282 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
26283 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
26284 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
26285 if test "${ac_cv_header_png_h+set}" = set; then
26286 echo $ECHO_N "(cached) $ECHO_C" >&6
26287 else
26288 if test "$cross_compiling" = yes; then
26289 unset ac_cv_header_png_h
26290
26291 else
26292 cat >conftest.$ac_ext <<_ACEOF
26293 /* confdefs.h. */
26294 _ACEOF
26295 cat confdefs.h >>conftest.$ac_ext
26296 cat >>conftest.$ac_ext <<_ACEOF
26297 /* end confdefs.h. */
26298
26299 #include <png.h>
26300 #include <stdio.h>
26301
26302 int main()
26303 {
26304 FILE *f=fopen("conftestval", "w");
26305 if (!f) exit(1);
26306 fprintf(f, "%s",
26307 PNG_LIBPNG_VER > 90 ? "yes" : "no");
26308 exit(0);
26309 }
26310
26311 _ACEOF
26312 rm -f conftest$ac_exeext
26313 if { (ac_try="$ac_link"
26314 case "(($ac_try" in
26315 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26316 *) ac_try_echo=$ac_try;;
26317 esac
26318 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26319 (eval "$ac_link") 2>&5
26320 ac_status=$?
26321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26322 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26323 { (case "(($ac_try" in
26324 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26325 *) ac_try_echo=$ac_try;;
26326 esac
26327 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26328 (eval "$ac_try") 2>&5
26329 ac_status=$?
26330 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26331 (exit $ac_status); }; }; then
26332 ac_cv_header_png_h=`cat conftestval`
26333 else
26334 echo "$as_me: program exited with status $ac_status" >&5
26335 echo "$as_me: failed program was:" >&5
26336 sed 's/^/| /' conftest.$ac_ext >&5
26337
26338 ( exit $ac_status )
26339 ac_cv_header_png_h=no
26340 fi
26341 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26342 fi
26343
26344
26345
26346 fi
26347 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26348 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26349 { echo "$as_me:$LINENO: checking for png.h" >&5
26350 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
26351 if test "${ac_cv_header_png_h+set}" = set; then
26352 echo $ECHO_N "(cached) $ECHO_C" >&6
26353 else
26354 cat >conftest.$ac_ext <<_ACEOF
26355 /* confdefs.h. */
26356 _ACEOF
26357 cat confdefs.h >>conftest.$ac_ext
26358 cat >>conftest.$ac_ext <<_ACEOF
26359 /* end confdefs.h. */
26360
26361
26362 #include <png.h>
26363 _ACEOF
26364 rm -f conftest.$ac_objext
26365 if { (ac_try="$ac_compile"
26366 case "(($ac_try" in
26367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26368 *) ac_try_echo=$ac_try;;
26369 esac
26370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26371 (eval "$ac_compile") 2>conftest.er1
26372 ac_status=$?
26373 grep -v '^ *+' conftest.er1 >conftest.err
26374 rm -f conftest.er1
26375 cat conftest.err >&5
26376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26377 (exit $ac_status); } && {
26378 test -z "$ac_c_werror_flag" ||
26379 test ! -s conftest.err
26380 } && test -s conftest.$ac_objext; then
26381 ac_cv_header_png_h=yes
26382 else
26383 echo "$as_me: failed program was:" >&5
26384 sed 's/^/| /' conftest.$ac_ext >&5
26385
26386 ac_cv_header_png_h=no
26387 fi
26388
26389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26390 fi
26391 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
26392 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
26393
26394
26395
26396 if test "$ac_cv_header_png_h" = "yes"; then
26397 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
26398 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
26399 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
26400 echo $ECHO_N "(cached) $ECHO_C" >&6
26401 else
26402 ac_check_lib_save_LIBS=$LIBS
26403 LIBS="-lpng -lz -lm $LIBS"
26404 cat >conftest.$ac_ext <<_ACEOF
26405 /* confdefs.h. */
26406 _ACEOF
26407 cat confdefs.h >>conftest.$ac_ext
26408 cat >>conftest.$ac_ext <<_ACEOF
26409 /* end confdefs.h. */
26410
26411 /* Override any GCC internal prototype to avoid an error.
26412 Use char because int might match the return type of a GCC
26413 builtin and then its argument prototype would still apply. */
26414 #ifdef __cplusplus
26415 extern "C"
26416 #endif
26417 char png_check_sig ();
26418 int
26419 main ()
26420 {
26421 return png_check_sig ();
26422 ;
26423 return 0;
26424 }
26425 _ACEOF
26426 rm -f conftest.$ac_objext conftest$ac_exeext
26427 if { (ac_try="$ac_link"
26428 case "(($ac_try" in
26429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26430 *) ac_try_echo=$ac_try;;
26431 esac
26432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26433 (eval "$ac_link") 2>conftest.er1
26434 ac_status=$?
26435 grep -v '^ *+' conftest.er1 >conftest.err
26436 rm -f conftest.er1
26437 cat conftest.err >&5
26438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26439 (exit $ac_status); } && {
26440 test -z "$ac_c_werror_flag" ||
26441 test ! -s conftest.err
26442 } && test -s conftest$ac_exeext &&
26443 $as_test_x conftest$ac_exeext; then
26444 ac_cv_lib_png_png_check_sig=yes
26445 else
26446 echo "$as_me: failed program was:" >&5
26447 sed 's/^/| /' conftest.$ac_ext >&5
26448
26449 ac_cv_lib_png_png_check_sig=no
26450 fi
26451
26452 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26453 conftest$ac_exeext conftest.$ac_ext
26454 LIBS=$ac_check_lib_save_LIBS
26455 fi
26456 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
26457 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
26458 if test $ac_cv_lib_png_png_check_sig = yes; then
26459 PNG_LINK=" -lpng -lz"
26460 fi
26461
26462 fi
26463
26464 if test "x$PNG_LINK" = "x" ; then
26465 if test "$wxUSE_LIBPNG" = "sys" ; then
26466 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
26467 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
26468 { (exit 1); exit 1; }; }
26469 else
26470 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
26471 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
26472 wxUSE_LIBPNG=builtin
26473 fi
26474 else
26475 wxUSE_LIBPNG=sys
26476 fi
26477 fi
26478 fi
26479 fi
26480
26481
26482 JPEG_LINK=
26483 if test "$wxUSE_LIBJPEG" != "no" ; then
26484 cat >>confdefs.h <<\_ACEOF
26485 #define wxUSE_LIBJPEG 1
26486 _ACEOF
26487
26488
26489 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
26490 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
26491 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
26492 wxUSE_LIBJPEG=sys
26493 fi
26494
26495 if test "$wxUSE_MGL" != 1 ; then
26496 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
26497 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
26498 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
26499 if test "${ac_cv_header_jpeglib_h+set}" = set; then
26500 echo $ECHO_N "(cached) $ECHO_C" >&6
26501 else
26502 cat >conftest.$ac_ext <<_ACEOF
26503 /* confdefs.h. */
26504 _ACEOF
26505 cat confdefs.h >>conftest.$ac_ext
26506 cat >>conftest.$ac_ext <<_ACEOF
26507 /* end confdefs.h. */
26508
26509 #undef HAVE_STDLIB_H
26510 #include <stdio.h>
26511 #include <jpeglib.h>
26512
26513 int
26514 main ()
26515 {
26516
26517
26518 ;
26519 return 0;
26520 }
26521 _ACEOF
26522 rm -f conftest.$ac_objext
26523 if { (ac_try="$ac_compile"
26524 case "(($ac_try" in
26525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26526 *) ac_try_echo=$ac_try;;
26527 esac
26528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26529 (eval "$ac_compile") 2>conftest.er1
26530 ac_status=$?
26531 grep -v '^ *+' conftest.er1 >conftest.err
26532 rm -f conftest.er1
26533 cat conftest.err >&5
26534 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26535 (exit $ac_status); } && {
26536 test -z "$ac_c_werror_flag" ||
26537 test ! -s conftest.err
26538 } && test -s conftest.$ac_objext; then
26539 ac_cv_header_jpeglib_h=yes
26540 else
26541 echo "$as_me: failed program was:" >&5
26542 sed 's/^/| /' conftest.$ac_ext >&5
26543
26544 ac_cv_header_jpeglib_h=no
26545
26546 fi
26547
26548 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26549
26550 fi
26551
26552 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
26553 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
26554
26555 if test "$ac_cv_header_jpeglib_h" = "yes"; then
26556 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
26557 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
26558 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
26559 echo $ECHO_N "(cached) $ECHO_C" >&6
26560 else
26561 ac_check_lib_save_LIBS=$LIBS
26562 LIBS="-ljpeg $LIBS"
26563 cat >conftest.$ac_ext <<_ACEOF
26564 /* confdefs.h. */
26565 _ACEOF
26566 cat confdefs.h >>conftest.$ac_ext
26567 cat >>conftest.$ac_ext <<_ACEOF
26568 /* end confdefs.h. */
26569
26570 /* Override any GCC internal prototype to avoid an error.
26571 Use char because int might match the return type of a GCC
26572 builtin and then its argument prototype would still apply. */
26573 #ifdef __cplusplus
26574 extern "C"
26575 #endif
26576 char jpeg_read_header ();
26577 int
26578 main ()
26579 {
26580 return jpeg_read_header ();
26581 ;
26582 return 0;
26583 }
26584 _ACEOF
26585 rm -f conftest.$ac_objext conftest$ac_exeext
26586 if { (ac_try="$ac_link"
26587 case "(($ac_try" in
26588 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26589 *) ac_try_echo=$ac_try;;
26590 esac
26591 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26592 (eval "$ac_link") 2>conftest.er1
26593 ac_status=$?
26594 grep -v '^ *+' conftest.er1 >conftest.err
26595 rm -f conftest.er1
26596 cat conftest.err >&5
26597 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26598 (exit $ac_status); } && {
26599 test -z "$ac_c_werror_flag" ||
26600 test ! -s conftest.err
26601 } && test -s conftest$ac_exeext &&
26602 $as_test_x conftest$ac_exeext; then
26603 ac_cv_lib_jpeg_jpeg_read_header=yes
26604 else
26605 echo "$as_me: failed program was:" >&5
26606 sed 's/^/| /' conftest.$ac_ext >&5
26607
26608 ac_cv_lib_jpeg_jpeg_read_header=no
26609 fi
26610
26611 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26612 conftest$ac_exeext conftest.$ac_ext
26613 LIBS=$ac_check_lib_save_LIBS
26614 fi
26615 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
26616 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
26617 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
26618 JPEG_LINK=" -ljpeg"
26619 fi
26620
26621 fi
26622
26623 if test "x$JPEG_LINK" = "x" ; then
26624 if test "$wxUSE_LIBJPEG" = "sys" ; then
26625 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
26626 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
26627 { (exit 1); exit 1; }; }
26628 else
26629 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
26630 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
26631 wxUSE_LIBJPEG=builtin
26632 fi
26633 else
26634 wxUSE_LIBJPEG=sys
26635
26636 if test "$wxUSE_MSW" = 1; then
26637 { echo "$as_me:$LINENO: checking for boolean" >&5
26638 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26639 if test "${ac_cv_type_boolean+set}" = set; then
26640 echo $ECHO_N "(cached) $ECHO_C" >&6
26641 else
26642 cat >conftest.$ac_ext <<_ACEOF
26643 /* confdefs.h. */
26644 _ACEOF
26645 cat confdefs.h >>conftest.$ac_ext
26646 cat >>conftest.$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26648 #include <windows.h>
26649
26650 typedef boolean ac__type_new_;
26651 int
26652 main ()
26653 {
26654 if ((ac__type_new_ *) 0)
26655 return 0;
26656 if (sizeof (ac__type_new_))
26657 return 0;
26658 ;
26659 return 0;
26660 }
26661 _ACEOF
26662 rm -f conftest.$ac_objext
26663 if { (ac_try="$ac_compile"
26664 case "(($ac_try" in
26665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26666 *) ac_try_echo=$ac_try;;
26667 esac
26668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26669 (eval "$ac_compile") 2>conftest.er1
26670 ac_status=$?
26671 grep -v '^ *+' conftest.er1 >conftest.err
26672 rm -f conftest.er1
26673 cat conftest.err >&5
26674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26675 (exit $ac_status); } && {
26676 test -z "$ac_c_werror_flag" ||
26677 test ! -s conftest.err
26678 } && test -s conftest.$ac_objext; then
26679 ac_cv_type_boolean=yes
26680 else
26681 echo "$as_me: failed program was:" >&5
26682 sed 's/^/| /' conftest.$ac_ext >&5
26683
26684 ac_cv_type_boolean=no
26685 fi
26686
26687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26688 fi
26689 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26690 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26691 if test $ac_cv_type_boolean = yes; then
26692
26693 cat >>confdefs.h <<_ACEOF
26694 #define HAVE_BOOLEAN 1
26695 _ACEOF
26696
26697
26698 { echo "$as_me:$LINENO: checking for boolean" >&5
26699 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
26700 if test "${ac_cv_type_boolean+set}" = set; then
26701 echo $ECHO_N "(cached) $ECHO_C" >&6
26702 else
26703 cat >conftest.$ac_ext <<_ACEOF
26704 /* confdefs.h. */
26705 _ACEOF
26706 cat confdefs.h >>conftest.$ac_ext
26707 cat >>conftest.$ac_ext <<_ACEOF
26708 /* end confdefs.h. */
26709
26710 #undef HAVE_BOOLEAN
26711 #include <stdio.h>
26712 #include <jpeglib.h>
26713
26714
26715 typedef boolean ac__type_new_;
26716 int
26717 main ()
26718 {
26719 if ((ac__type_new_ *) 0)
26720 return 0;
26721 if (sizeof (ac__type_new_))
26722 return 0;
26723 ;
26724 return 0;
26725 }
26726 _ACEOF
26727 rm -f conftest.$ac_objext
26728 if { (ac_try="$ac_compile"
26729 case "(($ac_try" in
26730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26731 *) ac_try_echo=$ac_try;;
26732 esac
26733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26734 (eval "$ac_compile") 2>conftest.er1
26735 ac_status=$?
26736 grep -v '^ *+' conftest.er1 >conftest.err
26737 rm -f conftest.er1
26738 cat conftest.err >&5
26739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26740 (exit $ac_status); } && {
26741 test -z "$ac_c_werror_flag" ||
26742 test ! -s conftest.err
26743 } && test -s conftest.$ac_objext; then
26744 ac_cv_type_boolean=yes
26745 else
26746 echo "$as_me: failed program was:" >&5
26747 sed 's/^/| /' conftest.$ac_ext >&5
26748
26749 ac_cv_type_boolean=no
26750 fi
26751
26752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26753 fi
26754 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
26755 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
26756
26757 # The cast to long int works around a bug in the HP C Compiler
26758 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26759 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26760 # This bug is HP SR number 8606223364.
26761 { echo "$as_me:$LINENO: checking size of boolean" >&5
26762 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26763 if test "${ac_cv_sizeof_boolean+set}" = set; then
26764 echo $ECHO_N "(cached) $ECHO_C" >&6
26765 else
26766 if test "$cross_compiling" = yes; then
26767 # Depending upon the size, compute the lo and hi bounds.
26768 cat >conftest.$ac_ext <<_ACEOF
26769 /* confdefs.h. */
26770 _ACEOF
26771 cat confdefs.h >>conftest.$ac_ext
26772 cat >>conftest.$ac_ext <<_ACEOF
26773 /* end confdefs.h. */
26774
26775 #undef HAVE_BOOLEAN
26776 #include <stdio.h>
26777 #include <jpeglib.h>
26778
26779
26780 typedef boolean ac__type_sizeof_;
26781 int
26782 main ()
26783 {
26784 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26785 test_array [0] = 0
26786
26787 ;
26788 return 0;
26789 }
26790 _ACEOF
26791 rm -f conftest.$ac_objext
26792 if { (ac_try="$ac_compile"
26793 case "(($ac_try" in
26794 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26795 *) ac_try_echo=$ac_try;;
26796 esac
26797 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26798 (eval "$ac_compile") 2>conftest.er1
26799 ac_status=$?
26800 grep -v '^ *+' conftest.er1 >conftest.err
26801 rm -f conftest.er1
26802 cat conftest.err >&5
26803 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26804 (exit $ac_status); } && {
26805 test -z "$ac_c_werror_flag" ||
26806 test ! -s conftest.err
26807 } && test -s conftest.$ac_objext; then
26808 ac_lo=0 ac_mid=0
26809 while :; do
26810 cat >conftest.$ac_ext <<_ACEOF
26811 /* confdefs.h. */
26812 _ACEOF
26813 cat confdefs.h >>conftest.$ac_ext
26814 cat >>conftest.$ac_ext <<_ACEOF
26815 /* end confdefs.h. */
26816
26817 #undef HAVE_BOOLEAN
26818 #include <stdio.h>
26819 #include <jpeglib.h>
26820
26821
26822 typedef boolean ac__type_sizeof_;
26823 int
26824 main ()
26825 {
26826 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26827 test_array [0] = 0
26828
26829 ;
26830 return 0;
26831 }
26832 _ACEOF
26833 rm -f conftest.$ac_objext
26834 if { (ac_try="$ac_compile"
26835 case "(($ac_try" in
26836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26837 *) ac_try_echo=$ac_try;;
26838 esac
26839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26840 (eval "$ac_compile") 2>conftest.er1
26841 ac_status=$?
26842 grep -v '^ *+' conftest.er1 >conftest.err
26843 rm -f conftest.er1
26844 cat conftest.err >&5
26845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26846 (exit $ac_status); } && {
26847 test -z "$ac_c_werror_flag" ||
26848 test ! -s conftest.err
26849 } && test -s conftest.$ac_objext; then
26850 ac_hi=$ac_mid; break
26851 else
26852 echo "$as_me: failed program was:" >&5
26853 sed 's/^/| /' conftest.$ac_ext >&5
26854
26855 ac_lo=`expr $ac_mid + 1`
26856 if test $ac_lo -le $ac_mid; then
26857 ac_lo= ac_hi=
26858 break
26859 fi
26860 ac_mid=`expr 2 '*' $ac_mid + 1`
26861 fi
26862
26863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26864 done
26865 else
26866 echo "$as_me: failed program was:" >&5
26867 sed 's/^/| /' conftest.$ac_ext >&5
26868
26869 cat >conftest.$ac_ext <<_ACEOF
26870 /* confdefs.h. */
26871 _ACEOF
26872 cat confdefs.h >>conftest.$ac_ext
26873 cat >>conftest.$ac_ext <<_ACEOF
26874 /* end confdefs.h. */
26875
26876 #undef HAVE_BOOLEAN
26877 #include <stdio.h>
26878 #include <jpeglib.h>
26879
26880
26881 typedef boolean ac__type_sizeof_;
26882 int
26883 main ()
26884 {
26885 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26886 test_array [0] = 0
26887
26888 ;
26889 return 0;
26890 }
26891 _ACEOF
26892 rm -f conftest.$ac_objext
26893 if { (ac_try="$ac_compile"
26894 case "(($ac_try" in
26895 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26896 *) ac_try_echo=$ac_try;;
26897 esac
26898 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26899 (eval "$ac_compile") 2>conftest.er1
26900 ac_status=$?
26901 grep -v '^ *+' conftest.er1 >conftest.err
26902 rm -f conftest.er1
26903 cat conftest.err >&5
26904 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26905 (exit $ac_status); } && {
26906 test -z "$ac_c_werror_flag" ||
26907 test ! -s conftest.err
26908 } && test -s conftest.$ac_objext; then
26909 ac_hi=-1 ac_mid=-1
26910 while :; do
26911 cat >conftest.$ac_ext <<_ACEOF
26912 /* confdefs.h. */
26913 _ACEOF
26914 cat confdefs.h >>conftest.$ac_ext
26915 cat >>conftest.$ac_ext <<_ACEOF
26916 /* end confdefs.h. */
26917
26918 #undef HAVE_BOOLEAN
26919 #include <stdio.h>
26920 #include <jpeglib.h>
26921
26922
26923 typedef boolean ac__type_sizeof_;
26924 int
26925 main ()
26926 {
26927 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26928 test_array [0] = 0
26929
26930 ;
26931 return 0;
26932 }
26933 _ACEOF
26934 rm -f conftest.$ac_objext
26935 if { (ac_try="$ac_compile"
26936 case "(($ac_try" in
26937 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26938 *) ac_try_echo=$ac_try;;
26939 esac
26940 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26941 (eval "$ac_compile") 2>conftest.er1
26942 ac_status=$?
26943 grep -v '^ *+' conftest.er1 >conftest.err
26944 rm -f conftest.er1
26945 cat conftest.err >&5
26946 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26947 (exit $ac_status); } && {
26948 test -z "$ac_c_werror_flag" ||
26949 test ! -s conftest.err
26950 } && test -s conftest.$ac_objext; then
26951 ac_lo=$ac_mid; break
26952 else
26953 echo "$as_me: failed program was:" >&5
26954 sed 's/^/| /' conftest.$ac_ext >&5
26955
26956 ac_hi=`expr '(' $ac_mid ')' - 1`
26957 if test $ac_mid -le $ac_hi; then
26958 ac_lo= ac_hi=
26959 break
26960 fi
26961 ac_mid=`expr 2 '*' $ac_mid`
26962 fi
26963
26964 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26965 done
26966 else
26967 echo "$as_me: failed program was:" >&5
26968 sed 's/^/| /' conftest.$ac_ext >&5
26969
26970 ac_lo= ac_hi=
26971 fi
26972
26973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26974 fi
26975
26976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26977 # Binary search between lo and hi bounds.
26978 while test "x$ac_lo" != "x$ac_hi"; do
26979 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26980 cat >conftest.$ac_ext <<_ACEOF
26981 /* confdefs.h. */
26982 _ACEOF
26983 cat confdefs.h >>conftest.$ac_ext
26984 cat >>conftest.$ac_ext <<_ACEOF
26985 /* end confdefs.h. */
26986
26987 #undef HAVE_BOOLEAN
26988 #include <stdio.h>
26989 #include <jpeglib.h>
26990
26991
26992 typedef boolean ac__type_sizeof_;
26993 int
26994 main ()
26995 {
26996 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26997 test_array [0] = 0
26998
26999 ;
27000 return 0;
27001 }
27002 _ACEOF
27003 rm -f conftest.$ac_objext
27004 if { (ac_try="$ac_compile"
27005 case "(($ac_try" in
27006 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27007 *) ac_try_echo=$ac_try;;
27008 esac
27009 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27010 (eval "$ac_compile") 2>conftest.er1
27011 ac_status=$?
27012 grep -v '^ *+' conftest.er1 >conftest.err
27013 rm -f conftest.er1
27014 cat conftest.err >&5
27015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27016 (exit $ac_status); } && {
27017 test -z "$ac_c_werror_flag" ||
27018 test ! -s conftest.err
27019 } && test -s conftest.$ac_objext; then
27020 ac_hi=$ac_mid
27021 else
27022 echo "$as_me: failed program was:" >&5
27023 sed 's/^/| /' conftest.$ac_ext >&5
27024
27025 ac_lo=`expr '(' $ac_mid ')' + 1`
27026 fi
27027
27028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27029 done
27030 case $ac_lo in
27031 ?*) ac_cv_sizeof_boolean=$ac_lo;;
27032 '') if test "$ac_cv_type_boolean" = yes; then
27033 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27034 See \`config.log' for more details." >&5
27035 echo "$as_me: error: cannot compute sizeof (boolean)
27036 See \`config.log' for more details." >&2;}
27037 { (exit 77); exit 77; }; }
27038 else
27039 ac_cv_sizeof_boolean=0
27040 fi ;;
27041 esac
27042 else
27043 cat >conftest.$ac_ext <<_ACEOF
27044 /* confdefs.h. */
27045 _ACEOF
27046 cat confdefs.h >>conftest.$ac_ext
27047 cat >>conftest.$ac_ext <<_ACEOF
27048 /* end confdefs.h. */
27049
27050 #undef HAVE_BOOLEAN
27051 #include <stdio.h>
27052 #include <jpeglib.h>
27053
27054
27055 typedef boolean ac__type_sizeof_;
27056 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
27057 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
27058 #include <stdio.h>
27059 #include <stdlib.h>
27060 int
27061 main ()
27062 {
27063
27064 FILE *f = fopen ("conftest.val", "w");
27065 if (! f)
27066 return 1;
27067 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
27068 {
27069 long int i = longval ();
27070 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27071 return 1;
27072 fprintf (f, "%ld\n", i);
27073 }
27074 else
27075 {
27076 unsigned long int i = ulongval ();
27077 if (i != ((long int) (sizeof (ac__type_sizeof_))))
27078 return 1;
27079 fprintf (f, "%lu\n", i);
27080 }
27081 return ferror (f) || fclose (f) != 0;
27082
27083 ;
27084 return 0;
27085 }
27086 _ACEOF
27087 rm -f conftest$ac_exeext
27088 if { (ac_try="$ac_link"
27089 case "(($ac_try" in
27090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27091 *) ac_try_echo=$ac_try;;
27092 esac
27093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27094 (eval "$ac_link") 2>&5
27095 ac_status=$?
27096 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27097 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27098 { (case "(($ac_try" in
27099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27100 *) ac_try_echo=$ac_try;;
27101 esac
27102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27103 (eval "$ac_try") 2>&5
27104 ac_status=$?
27105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27106 (exit $ac_status); }; }; then
27107 ac_cv_sizeof_boolean=`cat conftest.val`
27108 else
27109 echo "$as_me: program exited with status $ac_status" >&5
27110 echo "$as_me: failed program was:" >&5
27111 sed 's/^/| /' conftest.$ac_ext >&5
27112
27113 ( exit $ac_status )
27114 if test "$ac_cv_type_boolean" = yes; then
27115 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
27116 See \`config.log' for more details." >&5
27117 echo "$as_me: error: cannot compute sizeof (boolean)
27118 See \`config.log' for more details." >&2;}
27119 { (exit 77); exit 77; }; }
27120 else
27121 ac_cv_sizeof_boolean=0
27122 fi
27123 fi
27124 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27125 fi
27126 rm -f conftest.val
27127 fi
27128 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
27129 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
27130
27131
27132
27133 cat >>confdefs.h <<_ACEOF
27134 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
27135 _ACEOF
27136
27137
27138 cat >>confdefs.h <<_ACEOF
27139 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
27140 _ACEOF
27141
27142
27143 fi
27144
27145 fi
27146 fi
27147 fi
27148 fi
27149 fi
27150
27151
27152 TIFF_LINK=
27153 TIFF_PREREQ_LINKS=-lm
27154 if test "$wxUSE_LIBTIFF" != "no" ; then
27155 cat >>confdefs.h <<\_ACEOF
27156 #define wxUSE_LIBTIFF 1
27157 _ACEOF
27158
27159
27160 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
27161 if test "$wxUSE_LIBJPEG" = "sys"; then
27162 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
27163 fi
27164 if test "$wxUSE_ZLIB" = "sys"; then
27165 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
27166 fi
27167 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
27168 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
27169 if test "${ac_cv_header_tiffio_h+set}" = set; then
27170 echo $ECHO_N "(cached) $ECHO_C" >&6
27171 else
27172 cat >conftest.$ac_ext <<_ACEOF
27173 /* confdefs.h. */
27174 _ACEOF
27175 cat confdefs.h >>conftest.$ac_ext
27176 cat >>conftest.$ac_ext <<_ACEOF
27177 /* end confdefs.h. */
27178
27179
27180
27181 #include <tiffio.h>
27182 _ACEOF
27183 rm -f conftest.$ac_objext
27184 if { (ac_try="$ac_compile"
27185 case "(($ac_try" in
27186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27187 *) ac_try_echo=$ac_try;;
27188 esac
27189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27190 (eval "$ac_compile") 2>conftest.er1
27191 ac_status=$?
27192 grep -v '^ *+' conftest.er1 >conftest.err
27193 rm -f conftest.er1
27194 cat conftest.err >&5
27195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27196 (exit $ac_status); } && {
27197 test -z "$ac_c_werror_flag" ||
27198 test ! -s conftest.err
27199 } && test -s conftest.$ac_objext; then
27200 ac_cv_header_tiffio_h=yes
27201 else
27202 echo "$as_me: failed program was:" >&5
27203 sed 's/^/| /' conftest.$ac_ext >&5
27204
27205 ac_cv_header_tiffio_h=no
27206 fi
27207
27208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27209 fi
27210 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
27211 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
27212 if test $ac_cv_header_tiffio_h = yes; then
27213
27214 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
27215 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
27216 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
27217 echo $ECHO_N "(cached) $ECHO_C" >&6
27218 else
27219 ac_check_lib_save_LIBS=$LIBS
27220 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
27221 cat >conftest.$ac_ext <<_ACEOF
27222 /* confdefs.h. */
27223 _ACEOF
27224 cat confdefs.h >>conftest.$ac_ext
27225 cat >>conftest.$ac_ext <<_ACEOF
27226 /* end confdefs.h. */
27227
27228 /* Override any GCC internal prototype to avoid an error.
27229 Use char because int might match the return type of a GCC
27230 builtin and then its argument prototype would still apply. */
27231 #ifdef __cplusplus
27232 extern "C"
27233 #endif
27234 char TIFFError ();
27235 int
27236 main ()
27237 {
27238 return TIFFError ();
27239 ;
27240 return 0;
27241 }
27242 _ACEOF
27243 rm -f conftest.$ac_objext conftest$ac_exeext
27244 if { (ac_try="$ac_link"
27245 case "(($ac_try" in
27246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27247 *) ac_try_echo=$ac_try;;
27248 esac
27249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27250 (eval "$ac_link") 2>conftest.er1
27251 ac_status=$?
27252 grep -v '^ *+' conftest.er1 >conftest.err
27253 rm -f conftest.er1
27254 cat conftest.err >&5
27255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27256 (exit $ac_status); } && {
27257 test -z "$ac_c_werror_flag" ||
27258 test ! -s conftest.err
27259 } && test -s conftest$ac_exeext &&
27260 $as_test_x conftest$ac_exeext; then
27261 ac_cv_lib_tiff_TIFFError=yes
27262 else
27263 echo "$as_me: failed program was:" >&5
27264 sed 's/^/| /' conftest.$ac_ext >&5
27265
27266 ac_cv_lib_tiff_TIFFError=no
27267 fi
27268
27269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27270 conftest$ac_exeext conftest.$ac_ext
27271 LIBS=$ac_check_lib_save_LIBS
27272 fi
27273 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
27274 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
27275 if test $ac_cv_lib_tiff_TIFFError = yes; then
27276 TIFF_LINK=" -ltiff"
27277 fi
27278
27279
27280 fi
27281
27282
27283
27284 if test "x$TIFF_LINK" = "x" ; then
27285 if test "$wxUSE_LIBTIFF" = "sys" ; then
27286 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
27287 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
27288 { (exit 1); exit 1; }; }
27289 else
27290 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
27291 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
27292 wxUSE_LIBTIFF=builtin
27293 fi
27294 else
27295 wxUSE_LIBTIFF=sys
27296 fi
27297 fi
27298 if test "$wxUSE_LIBTIFF" = "builtin" ; then
27299 if test "$wxUSE_LIBJPEG" = "no"; then
27300 ac_configure_args="$ac_configure_args --disable-jpeg"
27301 fi
27302 subdirs="$subdirs src/tiff"
27303
27304 fi
27305 fi
27306
27307
27308 if test "$wxUSE_WCHAR_T" != "yes"; then
27309 if test "$wxUSE_EXPAT" != "no"; then
27310 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
27311 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
27312 wxUSE_EXPAT=no
27313 fi
27314 if test "$wxUSE_XML" != "no"; then
27315 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
27316 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
27317 wxUSE_XML=no
27318 fi
27319 fi
27320
27321 if test "$wxUSE_EXPAT" != "no"; then
27322 wxUSE_XML=yes
27323 cat >>confdefs.h <<\_ACEOF
27324 #define wxUSE_EXPAT 1
27325 _ACEOF
27326
27327 cat >>confdefs.h <<\_ACEOF
27328 #define wxUSE_XML 1
27329 _ACEOF
27330
27331
27332 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
27333 { echo "$as_me:$LINENO: checking for expat.h" >&5
27334 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
27335 if test "${ac_cv_header_expat_h+set}" = set; then
27336 echo $ECHO_N "(cached) $ECHO_C" >&6
27337 else
27338 cat >conftest.$ac_ext <<_ACEOF
27339 /* confdefs.h. */
27340 _ACEOF
27341 cat confdefs.h >>conftest.$ac_ext
27342 cat >>conftest.$ac_ext <<_ACEOF
27343 /* end confdefs.h. */
27344
27345
27346 #include <expat.h>
27347 _ACEOF
27348 rm -f conftest.$ac_objext
27349 if { (ac_try="$ac_compile"
27350 case "(($ac_try" in
27351 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27352 *) ac_try_echo=$ac_try;;
27353 esac
27354 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27355 (eval "$ac_compile") 2>conftest.er1
27356 ac_status=$?
27357 grep -v '^ *+' conftest.er1 >conftest.err
27358 rm -f conftest.er1
27359 cat conftest.err >&5
27360 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27361 (exit $ac_status); } && {
27362 test -z "$ac_c_werror_flag" ||
27363 test ! -s conftest.err
27364 } && test -s conftest.$ac_objext; then
27365 ac_cv_header_expat_h=yes
27366 else
27367 echo "$as_me: failed program was:" >&5
27368 sed 's/^/| /' conftest.$ac_ext >&5
27369
27370 ac_cv_header_expat_h=no
27371 fi
27372
27373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27374 fi
27375 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
27376 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
27377 if test $ac_cv_header_expat_h = yes; then
27378 found_expat_h=1
27379 fi
27380
27381
27382 if test "x$found_expat_h" = "x1"; then
27383 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
27384 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
27385 if test "${wx_cv_expat_is_not_broken+set}" = set; then
27386 echo $ECHO_N "(cached) $ECHO_C" >&6
27387 else
27388
27389 ac_ext=cpp
27390 ac_cpp='$CXXCPP $CPPFLAGS'
27391 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27392 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27393 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
27394
27395 cat >conftest.$ac_ext <<_ACEOF
27396 /* confdefs.h. */
27397 _ACEOF
27398 cat confdefs.h >>conftest.$ac_ext
27399 cat >>conftest.$ac_ext <<_ACEOF
27400 /* end confdefs.h. */
27401 #include <expat.h>
27402 int
27403 main ()
27404 {
27405
27406 ;
27407 return 0;
27408 }
27409 _ACEOF
27410 rm -f conftest.$ac_objext
27411 if { (ac_try="$ac_compile"
27412 case "(($ac_try" in
27413 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27414 *) ac_try_echo=$ac_try;;
27415 esac
27416 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27417 (eval "$ac_compile") 2>conftest.er1
27418 ac_status=$?
27419 grep -v '^ *+' conftest.er1 >conftest.err
27420 rm -f conftest.er1
27421 cat conftest.err >&5
27422 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27423 (exit $ac_status); } && {
27424 test -z "$ac_cxx_werror_flag" ||
27425 test ! -s conftest.err
27426 } && test -s conftest.$ac_objext; then
27427 wx_cv_expat_is_not_broken=yes
27428 else
27429 echo "$as_me: failed program was:" >&5
27430 sed 's/^/| /' conftest.$ac_ext >&5
27431
27432 wx_cv_expat_is_not_broken=no
27433
27434 fi
27435
27436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27437 ac_ext=c
27438 ac_cpp='$CPP $CPPFLAGS'
27439 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
27440 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
27441 ac_compiler_gnu=$ac_cv_c_compiler_gnu
27442
27443
27444
27445 fi
27446 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
27447 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
27448 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
27449 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
27450 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
27451 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
27452 echo $ECHO_N "(cached) $ECHO_C" >&6
27453 else
27454 ac_check_lib_save_LIBS=$LIBS
27455 LIBS="-lexpat $LIBS"
27456 cat >conftest.$ac_ext <<_ACEOF
27457 /* confdefs.h. */
27458 _ACEOF
27459 cat confdefs.h >>conftest.$ac_ext
27460 cat >>conftest.$ac_ext <<_ACEOF
27461 /* end confdefs.h. */
27462
27463 /* Override any GCC internal prototype to avoid an error.
27464 Use char because int might match the return type of a GCC
27465 builtin and then its argument prototype would still apply. */
27466 #ifdef __cplusplus
27467 extern "C"
27468 #endif
27469 char XML_ParserCreate ();
27470 int
27471 main ()
27472 {
27473 return XML_ParserCreate ();
27474 ;
27475 return 0;
27476 }
27477 _ACEOF
27478 rm -f conftest.$ac_objext conftest$ac_exeext
27479 if { (ac_try="$ac_link"
27480 case "(($ac_try" in
27481 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27482 *) ac_try_echo=$ac_try;;
27483 esac
27484 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27485 (eval "$ac_link") 2>conftest.er1
27486 ac_status=$?
27487 grep -v '^ *+' conftest.er1 >conftest.err
27488 rm -f conftest.er1
27489 cat conftest.err >&5
27490 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27491 (exit $ac_status); } && {
27492 test -z "$ac_c_werror_flag" ||
27493 test ! -s conftest.err
27494 } && test -s conftest$ac_exeext &&
27495 $as_test_x conftest$ac_exeext; then
27496 ac_cv_lib_expat_XML_ParserCreate=yes
27497 else
27498 echo "$as_me: failed program was:" >&5
27499 sed 's/^/| /' conftest.$ac_ext >&5
27500
27501 ac_cv_lib_expat_XML_ParserCreate=no
27502 fi
27503
27504 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27505 conftest$ac_exeext conftest.$ac_ext
27506 LIBS=$ac_check_lib_save_LIBS
27507 fi
27508 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
27509 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
27510 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
27511 EXPAT_LINK=" -lexpat"
27512 fi
27513
27514 fi
27515 fi
27516 if test "x$EXPAT_LINK" = "x" ; then
27517 if test "$wxUSE_EXPAT" = "sys" ; then
27518 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
27519 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
27520 { (exit 1); exit 1; }; }
27521 else
27522 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
27523 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
27524 wxUSE_EXPAT=builtin
27525 fi
27526 else
27527 wxUSE_EXPAT=sys
27528 fi
27529 fi
27530 if test "$wxUSE_EXPAT" = "builtin" ; then
27531 subdirs="$subdirs src/expat"
27532
27533 fi
27534 fi
27535
27536
27537
27538 if test "$wxUSE_LIBMSPACK" != "no"; then
27539 { echo "$as_me:$LINENO: checking for mspack.h" >&5
27540 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
27541 if test "${ac_cv_header_mspack_h+set}" = set; then
27542 echo $ECHO_N "(cached) $ECHO_C" >&6
27543 else
27544 cat >conftest.$ac_ext <<_ACEOF
27545 /* confdefs.h. */
27546 _ACEOF
27547 cat confdefs.h >>conftest.$ac_ext
27548 cat >>conftest.$ac_ext <<_ACEOF
27549 /* end confdefs.h. */
27550
27551
27552 #include <mspack.h>
27553 _ACEOF
27554 rm -f conftest.$ac_objext
27555 if { (ac_try="$ac_compile"
27556 case "(($ac_try" in
27557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27558 *) ac_try_echo=$ac_try;;
27559 esac
27560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27561 (eval "$ac_compile") 2>conftest.er1
27562 ac_status=$?
27563 grep -v '^ *+' conftest.er1 >conftest.err
27564 rm -f conftest.er1
27565 cat conftest.err >&5
27566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27567 (exit $ac_status); } && {
27568 test -z "$ac_c_werror_flag" ||
27569 test ! -s conftest.err
27570 } && test -s conftest.$ac_objext; then
27571 ac_cv_header_mspack_h=yes
27572 else
27573 echo "$as_me: failed program was:" >&5
27574 sed 's/^/| /' conftest.$ac_ext >&5
27575
27576 ac_cv_header_mspack_h=no
27577 fi
27578
27579 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27580 fi
27581 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
27582 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
27583 if test $ac_cv_header_mspack_h = yes; then
27584 found_mspack_h=1
27585 fi
27586
27587
27588 if test "x$found_mspack_h" = "x1"; then
27589 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
27590 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
27591 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
27592 echo $ECHO_N "(cached) $ECHO_C" >&6
27593 else
27594 ac_check_lib_save_LIBS=$LIBS
27595 LIBS="-lmspack $LIBS"
27596 cat >conftest.$ac_ext <<_ACEOF
27597 /* confdefs.h. */
27598 _ACEOF
27599 cat confdefs.h >>conftest.$ac_ext
27600 cat >>conftest.$ac_ext <<_ACEOF
27601 /* end confdefs.h. */
27602
27603 /* Override any GCC internal prototype to avoid an error.
27604 Use char because int might match the return type of a GCC
27605 builtin and then its argument prototype would still apply. */
27606 #ifdef __cplusplus
27607 extern "C"
27608 #endif
27609 char mspack_create_chm_decompressor ();
27610 int
27611 main ()
27612 {
27613 return mspack_create_chm_decompressor ();
27614 ;
27615 return 0;
27616 }
27617 _ACEOF
27618 rm -f conftest.$ac_objext conftest$ac_exeext
27619 if { (ac_try="$ac_link"
27620 case "(($ac_try" in
27621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27622 *) ac_try_echo=$ac_try;;
27623 esac
27624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27625 (eval "$ac_link") 2>conftest.er1
27626 ac_status=$?
27627 grep -v '^ *+' conftest.er1 >conftest.err
27628 rm -f conftest.er1
27629 cat conftest.err >&5
27630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27631 (exit $ac_status); } && {
27632 test -z "$ac_c_werror_flag" ||
27633 test ! -s conftest.err
27634 } && test -s conftest$ac_exeext &&
27635 $as_test_x conftest$ac_exeext; then
27636 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
27637 else
27638 echo "$as_me: failed program was:" >&5
27639 sed 's/^/| /' conftest.$ac_ext >&5
27640
27641 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
27642 fi
27643
27644 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27645 conftest$ac_exeext conftest.$ac_ext
27646 LIBS=$ac_check_lib_save_LIBS
27647 fi
27648 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
27649 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
27650 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
27651 MSPACK_LINK=" -lmspack"
27652 fi
27653
27654 fi
27655 if test "x$MSPACK_LINK" = "x" ; then
27656 wxUSE_LIBMSPACK=no
27657 fi
27658 fi
27659
27660 if test "$wxUSE_LIBMSPACK" != "no"; then
27661 cat >>confdefs.h <<\_ACEOF
27662 #define wxUSE_LIBMSPACK 1
27663 _ACEOF
27664
27665 fi
27666
27667
27668
27669 AFMINSTALL=
27670 WIN32INSTALL=
27671
27672 TOOLKIT=
27673 TOOLKIT_INCLUDE=
27674 WIDGET_SET=
27675
27676 if test "$USE_WIN32" = 1 ; then
27677
27678 for ac_header in w32api.h
27679 do
27680 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
27681 { echo "$as_me:$LINENO: checking for $ac_header" >&5
27682 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
27683 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
27684 echo $ECHO_N "(cached) $ECHO_C" >&6
27685 else
27686 cat >conftest.$ac_ext <<_ACEOF
27687 /* confdefs.h. */
27688 _ACEOF
27689 cat confdefs.h >>conftest.$ac_ext
27690 cat >>conftest.$ac_ext <<_ACEOF
27691 /* end confdefs.h. */
27692
27693
27694 #include <$ac_header>
27695 _ACEOF
27696 rm -f conftest.$ac_objext
27697 if { (ac_try="$ac_compile"
27698 case "(($ac_try" in
27699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27700 *) ac_try_echo=$ac_try;;
27701 esac
27702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27703 (eval "$ac_compile") 2>conftest.er1
27704 ac_status=$?
27705 grep -v '^ *+' conftest.er1 >conftest.err
27706 rm -f conftest.er1
27707 cat conftest.err >&5
27708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27709 (exit $ac_status); } && {
27710 test -z "$ac_c_werror_flag" ||
27711 test ! -s conftest.err
27712 } && test -s conftest.$ac_objext; then
27713 eval "$as_ac_Header=yes"
27714 else
27715 echo "$as_me: failed program was:" >&5
27716 sed 's/^/| /' conftest.$ac_ext >&5
27717
27718 eval "$as_ac_Header=no"
27719 fi
27720
27721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27722 fi
27723 ac_res=`eval echo '${'$as_ac_Header'}'`
27724 { echo "$as_me:$LINENO: result: $ac_res" >&5
27725 echo "${ECHO_T}$ac_res" >&6; }
27726 if test `eval echo '${'$as_ac_Header'}'` = yes; then
27727 cat >>confdefs.h <<_ACEOF
27728 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
27729 _ACEOF
27730
27731 fi
27732
27733 done
27734
27735 { echo "$as_me:$LINENO: checking for windows.h" >&5
27736 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
27737 if test "${ac_cv_header_windows_h+set}" = set; then
27738 echo $ECHO_N "(cached) $ECHO_C" >&6
27739 else
27740 cat >conftest.$ac_ext <<_ACEOF
27741 /* confdefs.h. */
27742 _ACEOF
27743 cat confdefs.h >>conftest.$ac_ext
27744 cat >>conftest.$ac_ext <<_ACEOF
27745 /* end confdefs.h. */
27746
27747
27748 #include <windows.h>
27749 _ACEOF
27750 rm -f conftest.$ac_objext
27751 if { (ac_try="$ac_compile"
27752 case "(($ac_try" in
27753 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27754 *) ac_try_echo=$ac_try;;
27755 esac
27756 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27757 (eval "$ac_compile") 2>conftest.er1
27758 ac_status=$?
27759 grep -v '^ *+' conftest.er1 >conftest.err
27760 rm -f conftest.er1
27761 cat conftest.err >&5
27762 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27763 (exit $ac_status); } && {
27764 test -z "$ac_c_werror_flag" ||
27765 test ! -s conftest.err
27766 } && test -s conftest.$ac_objext; then
27767 ac_cv_header_windows_h=yes
27768 else
27769 echo "$as_me: failed program was:" >&5
27770 sed 's/^/| /' conftest.$ac_ext >&5
27771
27772 ac_cv_header_windows_h=no
27773 fi
27774
27775 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27776 fi
27777 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27778 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27779 if test $ac_cv_header_windows_h = yes; then
27780 :
27781 else
27782
27783 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27784 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27785 { (exit 1); exit 1; }; }
27786
27787 fi
27788
27789
27790
27791 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27792
27793 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27794 LIBS="$LIBS -loleacc"
27795 fi
27796
27797 case "${host}" in
27798 *-*-cygwin* )
27799 LIBS="$LIBS -lkernel32 -luser32"
27800 esac
27801
27802 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27803 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27804
27805 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27806
27807 WIN32INSTALL=win32install
27808
27809 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27810 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27811 if test "${ac_cv_header_pbt_h+set}" = set; then
27812 echo $ECHO_N "(cached) $ECHO_C" >&6
27813 else
27814 cat >conftest.$ac_ext <<_ACEOF
27815 /* confdefs.h. */
27816 _ACEOF
27817 cat confdefs.h >>conftest.$ac_ext
27818 cat >>conftest.$ac_ext <<_ACEOF
27819 /* end confdefs.h. */
27820
27821
27822 #include <pbt.h>
27823 _ACEOF
27824 rm -f conftest.$ac_objext
27825 if { (ac_try="$ac_compile"
27826 case "(($ac_try" in
27827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27828 *) ac_try_echo=$ac_try;;
27829 esac
27830 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27831 (eval "$ac_compile") 2>conftest.er1
27832 ac_status=$?
27833 grep -v '^ *+' conftest.er1 >conftest.err
27834 rm -f conftest.er1
27835 cat conftest.err >&5
27836 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27837 (exit $ac_status); } && {
27838 test -z "$ac_c_werror_flag" ||
27839 test ! -s conftest.err
27840 } && test -s conftest.$ac_objext; then
27841 ac_cv_header_pbt_h=yes
27842 else
27843 echo "$as_me: failed program was:" >&5
27844 sed 's/^/| /' conftest.$ac_ext >&5
27845
27846 ac_cv_header_pbt_h=no
27847 fi
27848
27849 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27850 fi
27851 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27852 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27853 if test $ac_cv_header_pbt_h = yes; then
27854 :
27855 else
27856 cat >>confdefs.h <<\_ACEOF
27857 #define NEED_PBT_H 1
27858 _ACEOF
27859
27860 fi
27861
27862
27863 fi
27864
27865 if test "$wxUSE_GUI" = "yes"; then
27866 USE_GUI=1
27867
27868 GUI_TK_LIBRARY=
27869
27870 WXGTK12=
27871 WXGTK127=
27872 WXGTK2=
27873 WXGPE=
27874
27875 if test "$wxUSE_COCOA" = 1 ; then
27876 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27877 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27878 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27879 wxUSE_PRINTING_ARCHITECTURE=no
27880 fi
27881 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27882 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27883 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27884 wxUSE_DRAG_AND_DROP=no
27885 fi
27886 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27887 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27888 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27889 wxUSE_DRAGIMAGE=no
27890 fi
27891 fi
27892
27893 if test "$wxUSE_MSW" = 1 ; then
27894 TOOLKIT=MSW
27895 GUIDIST=MSW_DIST
27896
27897 case "${host}" in
27898 *-*-mingw32* )
27899 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27900 esac
27901 fi
27902
27903 if test "$wxUSE_GTK" = 1; then
27904 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27905 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27906
27907 gtk_version_cached=1
27908 if test "${wx_cv_lib_gtk+set}" = set; then
27909 echo $ECHO_N "(cached) $ECHO_C" >&6
27910 else
27911
27912 gtk_version_cached=0
27913 { echo "$as_me:$LINENO: result: " >&5
27914 echo "${ECHO_T}" >&6; }
27915
27916 GTK_MODULES=
27917 if test "$wxUSE_THREADS" = "yes"; then
27918 GTK_MODULES=gthread
27919 fi
27920
27921 wx_cv_lib_gtk=
27922 if test "x$wxGTK_VERSION" != "x1"
27923 then
27924 case "${host}" in
27925 *-*-solaris2* )
27926 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27927 enable_gtktest=no
27928 fi
27929 esac
27930
27931 # Check whether --enable-gtktest was given.
27932 if test "${enable_gtktest+set}" = set; then
27933 enableval=$enable_gtktest;
27934 else
27935 enable_gtktest=yes
27936 fi
27937
27938
27939 pkg_config_args=gtk+-2.0
27940 for module in . $GTK_MODULES
27941 do
27942 case "$module" in
27943 gthread)
27944 pkg_config_args="$pkg_config_args gthread-2.0"
27945 ;;
27946 esac
27947 done
27948
27949 no_gtk=""
27950
27951 # Extract the first word of "pkg-config", so it can be a program name with args.
27952 set dummy pkg-config; ac_word=$2
27953 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27954 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27955 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27956 echo $ECHO_N "(cached) $ECHO_C" >&6
27957 else
27958 case $PKG_CONFIG in
27959 [\\/]* | ?:[\\/]*)
27960 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27961 ;;
27962 *)
27963 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27964 for as_dir in $PATH
27965 do
27966 IFS=$as_save_IFS
27967 test -z "$as_dir" && as_dir=.
27968 for ac_exec_ext in '' $ac_executable_extensions; do
27969 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27970 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27971 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27972 break 2
27973 fi
27974 done
27975 done
27976 IFS=$as_save_IFS
27977
27978 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27979 ;;
27980 esac
27981 fi
27982 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27983 if test -n "$PKG_CONFIG"; then
27984 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27985 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27986 else
27987 { echo "$as_me:$LINENO: result: no" >&5
27988 echo "${ECHO_T}no" >&6; }
27989 fi
27990
27991
27992
27993 if test x$PKG_CONFIG != xno ; then
27994 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27995 :
27996 else
27997 echo "*** pkg-config too old; version 0.7 or better required."
27998 no_gtk=yes
27999 PKG_CONFIG=no
28000 fi
28001 else
28002 no_gtk=yes
28003 fi
28004
28005 min_gtk_version=2.4.0
28006 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
28007 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
28008
28009 if test x$PKG_CONFIG != xno ; then
28010 ## don't try to run the test against uninstalled libtool libs
28011 if $PKG_CONFIG --uninstalled $pkg_config_args; then
28012 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
28013 enable_gtktest=no
28014 fi
28015
28016 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
28017 :
28018 else
28019 no_gtk=yes
28020 fi
28021 fi
28022
28023 if test x"$no_gtk" = x ; then
28024 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
28025 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
28026 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28027 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28028 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28029 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28030 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
28031 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28032 if test "x$enable_gtktest" = "xyes" ; then
28033 ac_save_CFLAGS="$CFLAGS"
28034 ac_save_LIBS="$LIBS"
28035 CFLAGS="$CFLAGS $GTK_CFLAGS"
28036 LIBS="$GTK_LIBS $LIBS"
28037 rm -f conf.gtktest
28038 if test "$cross_compiling" = yes; then
28039 echo $ac_n "cross compiling; assumed OK... $ac_c"
28040 else
28041 cat >conftest.$ac_ext <<_ACEOF
28042 /* confdefs.h. */
28043 _ACEOF
28044 cat confdefs.h >>conftest.$ac_ext
28045 cat >>conftest.$ac_ext <<_ACEOF
28046 /* end confdefs.h. */
28047
28048 #include <gtk/gtk.h>
28049 #include <stdio.h>
28050 #include <stdlib.h>
28051
28052 int
28053 main ()
28054 {
28055 int major, minor, micro;
28056 char *tmp_version;
28057
28058 system ("touch conf.gtktest");
28059
28060 /* HP/UX 9 (%@#!) writes to sscanf strings */
28061 tmp_version = g_strdup("$min_gtk_version");
28062 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28063 printf("%s, bad version string\n", "$min_gtk_version");
28064 exit(1);
28065 }
28066
28067 if ((gtk_major_version != $gtk_config_major_version) ||
28068 (gtk_minor_version != $gtk_config_minor_version) ||
28069 (gtk_micro_version != $gtk_config_micro_version))
28070 {
28071 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28072 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28073 gtk_major_version, gtk_minor_version, gtk_micro_version);
28074 printf ("*** was found! If pkg-config was correct, then it is best\n");
28075 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28076 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28077 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28078 printf("*** required on your system.\n");
28079 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
28080 printf("*** to point to the correct configuration files\n");
28081 }
28082 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28083 (gtk_minor_version != GTK_MINOR_VERSION) ||
28084 (gtk_micro_version != GTK_MICRO_VERSION))
28085 {
28086 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28087 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28088 printf("*** library (version %d.%d.%d)\n",
28089 gtk_major_version, gtk_minor_version, gtk_micro_version);
28090 }
28091 else
28092 {
28093 if ((gtk_major_version > major) ||
28094 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28095 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28096 {
28097 return 0;
28098 }
28099 else
28100 {
28101 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28102 gtk_major_version, gtk_minor_version, gtk_micro_version);
28103 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28104 major, minor, micro);
28105 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28106 printf("***\n");
28107 printf("*** If you have already installed a sufficiently new version, this error\n");
28108 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
28109 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28110 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
28111 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
28112 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28113 printf("*** so that the correct libraries are found at run-time))\n");
28114 }
28115 }
28116 return 1;
28117 }
28118
28119 _ACEOF
28120 rm -f conftest$ac_exeext
28121 if { (ac_try="$ac_link"
28122 case "(($ac_try" in
28123 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28124 *) ac_try_echo=$ac_try;;
28125 esac
28126 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28127 (eval "$ac_link") 2>&5
28128 ac_status=$?
28129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28130 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28131 { (case "(($ac_try" in
28132 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28133 *) ac_try_echo=$ac_try;;
28134 esac
28135 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28136 (eval "$ac_try") 2>&5
28137 ac_status=$?
28138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28139 (exit $ac_status); }; }; then
28140 :
28141 else
28142 echo "$as_me: program exited with status $ac_status" >&5
28143 echo "$as_me: failed program was:" >&5
28144 sed 's/^/| /' conftest.$ac_ext >&5
28145
28146 ( exit $ac_status )
28147 no_gtk=yes
28148 fi
28149 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28150 fi
28151
28152
28153 CFLAGS="$ac_save_CFLAGS"
28154 LIBS="$ac_save_LIBS"
28155 fi
28156 fi
28157 if test "x$no_gtk" = x ; then
28158 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
28159 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
28160 wx_cv_lib_gtk=2.0
28161 else
28162 { echo "$as_me:$LINENO: result: no" >&5
28163 echo "${ECHO_T}no" >&6; }
28164 if test "$PKG_CONFIG" = "no" ; then
28165 echo "*** A new enough version of pkg-config was not found."
28166 echo "*** See http://pkgconfig.sourceforge.net"
28167 else
28168 if test -f conf.gtktest ; then
28169 :
28170 else
28171 echo "*** Could not run GTK+ test program, checking why..."
28172 ac_save_CFLAGS="$CFLAGS"
28173 ac_save_LIBS="$LIBS"
28174 CFLAGS="$CFLAGS $GTK_CFLAGS"
28175 LIBS="$LIBS $GTK_LIBS"
28176 cat >conftest.$ac_ext <<_ACEOF
28177 /* confdefs.h. */
28178 _ACEOF
28179 cat confdefs.h >>conftest.$ac_ext
28180 cat >>conftest.$ac_ext <<_ACEOF
28181 /* end confdefs.h. */
28182
28183 #include <gtk/gtk.h>
28184 #include <stdio.h>
28185
28186 int
28187 main ()
28188 {
28189 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28190 ;
28191 return 0;
28192 }
28193 _ACEOF
28194 rm -f conftest.$ac_objext conftest$ac_exeext
28195 if { (ac_try="$ac_link"
28196 case "(($ac_try" in
28197 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28198 *) ac_try_echo=$ac_try;;
28199 esac
28200 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28201 (eval "$ac_link") 2>conftest.er1
28202 ac_status=$?
28203 grep -v '^ *+' conftest.er1 >conftest.err
28204 rm -f conftest.er1
28205 cat conftest.err >&5
28206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28207 (exit $ac_status); } && {
28208 test -z "$ac_c_werror_flag" ||
28209 test ! -s conftest.err
28210 } && test -s conftest$ac_exeext &&
28211 $as_test_x conftest$ac_exeext; then
28212 echo "*** The test program compiled, but did not run. This usually means"
28213 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
28214 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
28215 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28216 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28217 echo "*** is required on your system"
28218 echo "***"
28219 echo "*** If you have an old version installed, it is best to remove it, although"
28220 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28221 else
28222 echo "$as_me: failed program was:" >&5
28223 sed 's/^/| /' conftest.$ac_ext >&5
28224
28225 echo "*** The test program failed to compile or link. See the file config.log for the"
28226 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
28227 fi
28228
28229 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28230 conftest$ac_exeext conftest.$ac_ext
28231 CFLAGS="$ac_save_CFLAGS"
28232 LIBS="$ac_save_LIBS"
28233 fi
28234 fi
28235 GTK_CFLAGS=""
28236 GTK_LIBS=""
28237 :
28238 fi
28239
28240
28241 rm -f conf.gtktest
28242
28243
28244 case "${host}" in
28245 *-*-solaris2* )
28246 if test "$wxUSE_SHARED" != "yes"; then
28247 GTK_LIBS="$GTK_LIBS -lX11"
28248 fi
28249 esac
28250 fi
28251
28252 if test -z "$wx_cv_lib_gtk"; then
28253 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
28254
28255 # Check whether --with-gtk-prefix was given.
28256 if test "${with_gtk_prefix+set}" = set; then
28257 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28258 else
28259 gtk_config_prefix=""
28260 fi
28261
28262
28263 # Check whether --with-gtk-exec-prefix was given.
28264 if test "${with_gtk_exec_prefix+set}" = set; then
28265 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28266 else
28267 gtk_config_exec_prefix=""
28268 fi
28269
28270 # Check whether --enable-gtktest was given.
28271 if test "${enable_gtktest+set}" = set; then
28272 enableval=$enable_gtktest;
28273 else
28274 enable_gtktest=yes
28275 fi
28276
28277
28278 for module in . $GTK_MODULES
28279 do
28280 case "$module" in
28281 gthread)
28282 gtk_config_args="$gtk_config_args gthread"
28283 ;;
28284 esac
28285 done
28286
28287 if test x$gtk_config_exec_prefix != x ; then
28288 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28289 if test x${GTK_CONFIG+set} != xset ; then
28290 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28291 fi
28292 fi
28293 if test x$gtk_config_prefix != x ; then
28294 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28295 if test x${GTK_CONFIG+set} != xset ; then
28296 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28297 fi
28298 fi
28299
28300 # Extract the first word of "gtk-config", so it can be a program name with args.
28301 set dummy gtk-config; ac_word=$2
28302 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28303 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28304 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28305 echo $ECHO_N "(cached) $ECHO_C" >&6
28306 else
28307 case $GTK_CONFIG in
28308 [\\/]* | ?:[\\/]*)
28309 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28310 ;;
28311 *)
28312 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28313 for as_dir in $PATH
28314 do
28315 IFS=$as_save_IFS
28316 test -z "$as_dir" && as_dir=.
28317 for ac_exec_ext in '' $ac_executable_extensions; do
28318 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28319 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28320 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28321 break 2
28322 fi
28323 done
28324 done
28325 IFS=$as_save_IFS
28326
28327 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28328 ;;
28329 esac
28330 fi
28331 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28332 if test -n "$GTK_CONFIG"; then
28333 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28334 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28335 else
28336 { echo "$as_me:$LINENO: result: no" >&5
28337 echo "${ECHO_T}no" >&6; }
28338 fi
28339
28340
28341 min_gtk_version=1.2.7
28342 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28343 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28344 no_gtk=""
28345 if test "$GTK_CONFIG" = "no" ; then
28346 no_gtk=yes
28347 else
28348 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28349 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28350 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28351 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28352 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28353 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28354 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28355 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28356 if test "x$enable_gtktest" = "xyes" ; then
28357 ac_save_CFLAGS="$CFLAGS"
28358 ac_save_LIBS="$LIBS"
28359 CFLAGS="$CFLAGS $GTK_CFLAGS"
28360 LIBS="$GTK_LIBS $LIBS"
28361 rm -f conf.gtktest
28362 if test "$cross_compiling" = yes; then
28363 echo $ac_n "cross compiling; assumed OK... $ac_c"
28364 else
28365 cat >conftest.$ac_ext <<_ACEOF
28366 /* confdefs.h. */
28367 _ACEOF
28368 cat confdefs.h >>conftest.$ac_ext
28369 cat >>conftest.$ac_ext <<_ACEOF
28370 /* end confdefs.h. */
28371
28372 #include <gtk/gtk.h>
28373 #include <stdio.h>
28374 #include <stdlib.h>
28375
28376 int
28377 main ()
28378 {
28379 int major, minor, micro;
28380 char *tmp_version;
28381
28382 system ("touch conf.gtktest");
28383
28384 /* HP/UX 9 (%@#!) writes to sscanf strings */
28385 tmp_version = g_strdup("$min_gtk_version");
28386 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28387 printf("%s, bad version string\n", "$min_gtk_version");
28388 exit(1);
28389 }
28390
28391 if ((gtk_major_version != $gtk_config_major_version) ||
28392 (gtk_minor_version != $gtk_config_minor_version) ||
28393 (gtk_micro_version != $gtk_config_micro_version))
28394 {
28395 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28396 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28397 gtk_major_version, gtk_minor_version, gtk_micro_version);
28398 printf ("*** was found! If gtk-config was correct, then it is best\n");
28399 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28400 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28401 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28402 printf("*** required on your system.\n");
28403 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28404 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28405 printf("*** before re-running configure\n");
28406 }
28407 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28408 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28409 (gtk_minor_version != GTK_MINOR_VERSION) ||
28410 (gtk_micro_version != GTK_MICRO_VERSION))
28411 {
28412 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28413 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28414 printf("*** library (version %d.%d.%d)\n",
28415 gtk_major_version, gtk_minor_version, gtk_micro_version);
28416 }
28417 #endif /* defined (GTK_MAJOR_VERSION) ... */
28418 else
28419 {
28420 if ((gtk_major_version > major) ||
28421 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28422 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28423 {
28424 return 0;
28425 }
28426 else
28427 {
28428 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28429 gtk_major_version, gtk_minor_version, gtk_micro_version);
28430 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28431 major, minor, micro);
28432 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28433 printf("***\n");
28434 printf("*** If you have already installed a sufficiently new version, this error\n");
28435 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28436 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28437 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28438 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28439 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28440 printf("*** so that the correct libraries are found at run-time))\n");
28441 }
28442 }
28443 return 1;
28444 }
28445
28446 _ACEOF
28447 rm -f conftest$ac_exeext
28448 if { (ac_try="$ac_link"
28449 case "(($ac_try" in
28450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28451 *) ac_try_echo=$ac_try;;
28452 esac
28453 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28454 (eval "$ac_link") 2>&5
28455 ac_status=$?
28456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28457 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28458 { (case "(($ac_try" in
28459 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28460 *) ac_try_echo=$ac_try;;
28461 esac
28462 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28463 (eval "$ac_try") 2>&5
28464 ac_status=$?
28465 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28466 (exit $ac_status); }; }; then
28467 :
28468 else
28469 echo "$as_me: program exited with status $ac_status" >&5
28470 echo "$as_me: failed program was:" >&5
28471 sed 's/^/| /' conftest.$ac_ext >&5
28472
28473 ( exit $ac_status )
28474 no_gtk=yes
28475 fi
28476 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28477 fi
28478
28479
28480 CFLAGS="$ac_save_CFLAGS"
28481 LIBS="$ac_save_LIBS"
28482 fi
28483 fi
28484 if test "x$no_gtk" = x ; then
28485 { echo "$as_me:$LINENO: result: yes" >&5
28486 echo "${ECHO_T}yes" >&6; }
28487 wx_cv_lib_gtk=1.2.7
28488 else
28489 { echo "$as_me:$LINENO: result: no" >&5
28490 echo "${ECHO_T}no" >&6; }
28491 if test "$GTK_CONFIG" = "no" ; then
28492 echo "*** The gtk-config script installed by GTK could not be found"
28493 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28494 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28495 echo "*** full path to gtk-config."
28496 else
28497 if test -f conf.gtktest ; then
28498 :
28499 else
28500 echo "*** Could not run GTK test program, checking why..."
28501 CFLAGS="$CFLAGS $GTK_CFLAGS"
28502 LIBS="$LIBS $GTK_LIBS"
28503 cat >conftest.$ac_ext <<_ACEOF
28504 /* confdefs.h. */
28505 _ACEOF
28506 cat confdefs.h >>conftest.$ac_ext
28507 cat >>conftest.$ac_ext <<_ACEOF
28508 /* end confdefs.h. */
28509
28510 #include <gtk/gtk.h>
28511 #include <stdio.h>
28512
28513 int
28514 main ()
28515 {
28516 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28517 ;
28518 return 0;
28519 }
28520 _ACEOF
28521 rm -f conftest.$ac_objext conftest$ac_exeext
28522 if { (ac_try="$ac_link"
28523 case "(($ac_try" in
28524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28525 *) ac_try_echo=$ac_try;;
28526 esac
28527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28528 (eval "$ac_link") 2>conftest.er1
28529 ac_status=$?
28530 grep -v '^ *+' conftest.er1 >conftest.err
28531 rm -f conftest.er1
28532 cat conftest.err >&5
28533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28534 (exit $ac_status); } && {
28535 test -z "$ac_c_werror_flag" ||
28536 test ! -s conftest.err
28537 } && test -s conftest$ac_exeext &&
28538 $as_test_x conftest$ac_exeext; then
28539 echo "*** The test program compiled, but did not run. This usually means"
28540 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28541 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28542 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28543 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28544 echo "*** is required on your system"
28545 echo "***"
28546 echo "*** If you have an old version installed, it is best to remove it, although"
28547 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28548 echo "***"
28549 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28550 echo "*** came with the system with the command"
28551 echo "***"
28552 echo "*** rpm --erase --nodeps gtk gtk-devel"
28553 else
28554 echo "$as_me: failed program was:" >&5
28555 sed 's/^/| /' conftest.$ac_ext >&5
28556
28557 echo "*** The test program failed to compile or link. See the file config.log for the"
28558 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28559 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28560 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28561 fi
28562
28563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28564 conftest$ac_exeext conftest.$ac_ext
28565 CFLAGS="$ac_save_CFLAGS"
28566 LIBS="$ac_save_LIBS"
28567 fi
28568 fi
28569 GTK_CFLAGS=""
28570 GTK_LIBS=""
28571 :
28572 fi
28573
28574
28575 rm -f conf.gtktest
28576
28577
28578 if test -z "$wx_cv_lib_gtk"; then
28579
28580 # Check whether --with-gtk-prefix was given.
28581 if test "${with_gtk_prefix+set}" = set; then
28582 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
28583 else
28584 gtk_config_prefix=""
28585 fi
28586
28587
28588 # Check whether --with-gtk-exec-prefix was given.
28589 if test "${with_gtk_exec_prefix+set}" = set; then
28590 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
28591 else
28592 gtk_config_exec_prefix=""
28593 fi
28594
28595 # Check whether --enable-gtktest was given.
28596 if test "${enable_gtktest+set}" = set; then
28597 enableval=$enable_gtktest;
28598 else
28599 enable_gtktest=yes
28600 fi
28601
28602
28603 for module in . $GTK_MODULES
28604 do
28605 case "$module" in
28606 gthread)
28607 gtk_config_args="$gtk_config_args gthread"
28608 ;;
28609 esac
28610 done
28611
28612 if test x$gtk_config_exec_prefix != x ; then
28613 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
28614 if test x${GTK_CONFIG+set} != xset ; then
28615 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
28616 fi
28617 fi
28618 if test x$gtk_config_prefix != x ; then
28619 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
28620 if test x${GTK_CONFIG+set} != xset ; then
28621 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
28622 fi
28623 fi
28624
28625 # Extract the first word of "gtk-config", so it can be a program name with args.
28626 set dummy gtk-config; ac_word=$2
28627 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28628 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28629 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
28630 echo $ECHO_N "(cached) $ECHO_C" >&6
28631 else
28632 case $GTK_CONFIG in
28633 [\\/]* | ?:[\\/]*)
28634 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
28635 ;;
28636 *)
28637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28638 for as_dir in $PATH
28639 do
28640 IFS=$as_save_IFS
28641 test -z "$as_dir" && as_dir=.
28642 for ac_exec_ext in '' $ac_executable_extensions; do
28643 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28644 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28645 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28646 break 2
28647 fi
28648 done
28649 done
28650 IFS=$as_save_IFS
28651
28652 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
28653 ;;
28654 esac
28655 fi
28656 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
28657 if test -n "$GTK_CONFIG"; then
28658 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
28659 echo "${ECHO_T}$GTK_CONFIG" >&6; }
28660 else
28661 { echo "$as_me:$LINENO: result: no" >&5
28662 echo "${ECHO_T}no" >&6; }
28663 fi
28664
28665
28666 min_gtk_version=1.2.3
28667 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
28668 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
28669 no_gtk=""
28670 if test "$GTK_CONFIG" = "no" ; then
28671 no_gtk=yes
28672 else
28673 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
28674 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
28675 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
28676 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
28677 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
28678 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
28679 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
28680 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
28681 if test "x$enable_gtktest" = "xyes" ; then
28682 ac_save_CFLAGS="$CFLAGS"
28683 ac_save_LIBS="$LIBS"
28684 CFLAGS="$CFLAGS $GTK_CFLAGS"
28685 LIBS="$GTK_LIBS $LIBS"
28686 rm -f conf.gtktest
28687 if test "$cross_compiling" = yes; then
28688 echo $ac_n "cross compiling; assumed OK... $ac_c"
28689 else
28690 cat >conftest.$ac_ext <<_ACEOF
28691 /* confdefs.h. */
28692 _ACEOF
28693 cat confdefs.h >>conftest.$ac_ext
28694 cat >>conftest.$ac_ext <<_ACEOF
28695 /* end confdefs.h. */
28696
28697 #include <gtk/gtk.h>
28698 #include <stdio.h>
28699 #include <stdlib.h>
28700
28701 int
28702 main ()
28703 {
28704 int major, minor, micro;
28705 char *tmp_version;
28706
28707 system ("touch conf.gtktest");
28708
28709 /* HP/UX 9 (%@#!) writes to sscanf strings */
28710 tmp_version = g_strdup("$min_gtk_version");
28711 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
28712 printf("%s, bad version string\n", "$min_gtk_version");
28713 exit(1);
28714 }
28715
28716 if ((gtk_major_version != $gtk_config_major_version) ||
28717 (gtk_minor_version != $gtk_config_minor_version) ||
28718 (gtk_micro_version != $gtk_config_micro_version))
28719 {
28720 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
28721 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
28722 gtk_major_version, gtk_minor_version, gtk_micro_version);
28723 printf ("*** was found! If gtk-config was correct, then it is best\n");
28724 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
28725 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
28726 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
28727 printf("*** required on your system.\n");
28728 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
28729 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
28730 printf("*** before re-running configure\n");
28731 }
28732 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
28733 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
28734 (gtk_minor_version != GTK_MINOR_VERSION) ||
28735 (gtk_micro_version != GTK_MICRO_VERSION))
28736 {
28737 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
28738 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
28739 printf("*** library (version %d.%d.%d)\n",
28740 gtk_major_version, gtk_minor_version, gtk_micro_version);
28741 }
28742 #endif /* defined (GTK_MAJOR_VERSION) ... */
28743 else
28744 {
28745 if ((gtk_major_version > major) ||
28746 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
28747 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
28748 {
28749 return 0;
28750 }
28751 else
28752 {
28753 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
28754 gtk_major_version, gtk_minor_version, gtk_micro_version);
28755 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
28756 major, minor, micro);
28757 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
28758 printf("***\n");
28759 printf("*** If you have already installed a sufficiently new version, this error\n");
28760 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
28761 printf("*** being found. The easiest way to fix this is to remove the old version\n");
28762 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28763 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28764 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28765 printf("*** so that the correct libraries are found at run-time))\n");
28766 }
28767 }
28768 return 1;
28769 }
28770
28771 _ACEOF
28772 rm -f conftest$ac_exeext
28773 if { (ac_try="$ac_link"
28774 case "(($ac_try" in
28775 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28776 *) ac_try_echo=$ac_try;;
28777 esac
28778 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28779 (eval "$ac_link") 2>&5
28780 ac_status=$?
28781 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28782 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28783 { (case "(($ac_try" in
28784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28785 *) ac_try_echo=$ac_try;;
28786 esac
28787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28788 (eval "$ac_try") 2>&5
28789 ac_status=$?
28790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28791 (exit $ac_status); }; }; then
28792 :
28793 else
28794 echo "$as_me: program exited with status $ac_status" >&5
28795 echo "$as_me: failed program was:" >&5
28796 sed 's/^/| /' conftest.$ac_ext >&5
28797
28798 ( exit $ac_status )
28799 no_gtk=yes
28800 fi
28801 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28802 fi
28803
28804
28805 CFLAGS="$ac_save_CFLAGS"
28806 LIBS="$ac_save_LIBS"
28807 fi
28808 fi
28809 if test "x$no_gtk" = x ; then
28810 { echo "$as_me:$LINENO: result: yes" >&5
28811 echo "${ECHO_T}yes" >&6; }
28812 wx_cv_lib_gtk=1.2.3
28813 else
28814 { echo "$as_me:$LINENO: result: no" >&5
28815 echo "${ECHO_T}no" >&6; }
28816 if test "$GTK_CONFIG" = "no" ; then
28817 echo "*** The gtk-config script installed by GTK could not be found"
28818 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28819 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28820 echo "*** full path to gtk-config."
28821 else
28822 if test -f conf.gtktest ; then
28823 :
28824 else
28825 echo "*** Could not run GTK test program, checking why..."
28826 CFLAGS="$CFLAGS $GTK_CFLAGS"
28827 LIBS="$LIBS $GTK_LIBS"
28828 cat >conftest.$ac_ext <<_ACEOF
28829 /* confdefs.h. */
28830 _ACEOF
28831 cat confdefs.h >>conftest.$ac_ext
28832 cat >>conftest.$ac_ext <<_ACEOF
28833 /* end confdefs.h. */
28834
28835 #include <gtk/gtk.h>
28836 #include <stdio.h>
28837
28838 int
28839 main ()
28840 {
28841 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28842 ;
28843 return 0;
28844 }
28845 _ACEOF
28846 rm -f conftest.$ac_objext conftest$ac_exeext
28847 if { (ac_try="$ac_link"
28848 case "(($ac_try" in
28849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28850 *) ac_try_echo=$ac_try;;
28851 esac
28852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28853 (eval "$ac_link") 2>conftest.er1
28854 ac_status=$?
28855 grep -v '^ *+' conftest.er1 >conftest.err
28856 rm -f conftest.er1
28857 cat conftest.err >&5
28858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28859 (exit $ac_status); } && {
28860 test -z "$ac_c_werror_flag" ||
28861 test ! -s conftest.err
28862 } && test -s conftest$ac_exeext &&
28863 $as_test_x conftest$ac_exeext; then
28864 echo "*** The test program compiled, but did not run. This usually means"
28865 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28866 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28867 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28868 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28869 echo "*** is required on your system"
28870 echo "***"
28871 echo "*** If you have an old version installed, it is best to remove it, although"
28872 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28873 echo "***"
28874 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28875 echo "*** came with the system with the command"
28876 echo "***"
28877 echo "*** rpm --erase --nodeps gtk gtk-devel"
28878 else
28879 echo "$as_me: failed program was:" >&5
28880 sed 's/^/| /' conftest.$ac_ext >&5
28881
28882 echo "*** The test program failed to compile or link. See the file config.log for the"
28883 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28884 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28885 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28886 fi
28887
28888 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28889 conftest$ac_exeext conftest.$ac_ext
28890 CFLAGS="$ac_save_CFLAGS"
28891 LIBS="$ac_save_LIBS"
28892 fi
28893 fi
28894 GTK_CFLAGS=""
28895 GTK_LIBS=""
28896 :
28897 fi
28898
28899
28900 rm -f conf.gtktest
28901
28902 fi
28903 fi
28904 fi
28905
28906 if test -z "$wx_cv_lib_gtk"; then
28907 wx_cv_lib_gtk=none
28908 else
28909 wx_cv_cflags_gtk=$GTK_CFLAGS
28910 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28911 fi
28912
28913
28914 fi
28915
28916
28917 if test "$gtk_version_cached" = 1; then
28918 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28919 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28920 fi
28921
28922 case "$wx_cv_lib_gtk" in
28923 2.0) WXGTK2=1
28924 TOOLKIT_VERSION=2
28925 ;;
28926 1.2.7) WXGTK127=1
28927 WXGTK12=1
28928 ;;
28929 1.2.3) WXGTK12=1
28930 ;;
28931 *) { { echo "$as_me:$LINENO: error:
28932 The development files for GTK+ were not found. For GTK+ 2, please
28933 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28934 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28935 and that the version is 1.2.3 or above. Also check that the
28936 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28937 --libs' are in the LD_LIBRARY_PATH or equivalent.
28938 " >&5
28939 echo "$as_me: error:
28940 The development files for GTK+ were not found. For GTK+ 2, please
28941 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28942 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28943 and that the version is 1.2.3 or above. Also check that the
28944 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28945 --libs' are in the LD_LIBRARY_PATH or equivalent.
28946 " >&2;}
28947 { (exit 1); exit 1; }; }
28948 ;;
28949 esac
28950
28951 if test "$WXGTK2" = 1; then
28952 save_CFLAGS="$CFLAGS"
28953 save_LIBS="$LIBS"
28954 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28955 LIBS="$LIBS $wx_cv_libs_gtk"
28956
28957 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28958 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28959 cat >conftest.$ac_ext <<_ACEOF
28960 /* confdefs.h. */
28961 _ACEOF
28962 cat confdefs.h >>conftest.$ac_ext
28963 cat >>conftest.$ac_ext <<_ACEOF
28964 /* end confdefs.h. */
28965
28966 #include <gtk/gtk.h>
28967
28968 int
28969 main ()
28970 {
28971
28972 #if !GTK_CHECK_VERSION(2,10,0)
28973 Not GTK+ 2.10
28974 #endif
28975
28976 ;
28977 return 0;
28978 }
28979 _ACEOF
28980 rm -f conftest.$ac_objext
28981 if { (ac_try="$ac_compile"
28982 case "(($ac_try" in
28983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28984 *) ac_try_echo=$ac_try;;
28985 esac
28986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28987 (eval "$ac_compile") 2>conftest.er1
28988 ac_status=$?
28989 grep -v '^ *+' conftest.er1 >conftest.err
28990 rm -f conftest.er1
28991 cat conftest.err >&5
28992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28993 (exit $ac_status); } && {
28994 test -z "$ac_c_werror_flag" ||
28995 test ! -s conftest.err
28996 } && test -s conftest.$ac_objext; then
28997
28998 cat >>confdefs.h <<\_ACEOF
28999 #define __WXGTK210__ 1
29000 _ACEOF
29001
29002 cat >>confdefs.h <<\_ACEOF
29003 #define __WXGTK26__ 1
29004 _ACEOF
29005
29006 { echo "$as_me:$LINENO: result: yes" >&5
29007 echo "${ECHO_T}yes" >&6; }
29008 ac_wxgtk210=1
29009
29010 else
29011 echo "$as_me: failed program was:" >&5
29012 sed 's/^/| /' conftest.$ac_ext >&5
29013
29014
29015 { echo "$as_me:$LINENO: result: no" >&5
29016 echo "${ECHO_T}no" >&6; }
29017 ac_wxgtk210=0
29018
29019 fi
29020
29021 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29022
29023 if test "$ac_wxgtk210" = 0; then
29024 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
29025 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
29026 cat >conftest.$ac_ext <<_ACEOF
29027 /* confdefs.h. */
29028 _ACEOF
29029 cat confdefs.h >>conftest.$ac_ext
29030 cat >>conftest.$ac_ext <<_ACEOF
29031 /* end confdefs.h. */
29032
29033 #include <gtk/gtk.h>
29034
29035 int
29036 main ()
29037 {
29038
29039 #if !GTK_CHECK_VERSION(2,6,0)
29040 Not GTK+ 2.6
29041 #endif
29042
29043 ;
29044 return 0;
29045 }
29046 _ACEOF
29047 rm -f conftest.$ac_objext
29048 if { (ac_try="$ac_compile"
29049 case "(($ac_try" in
29050 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29051 *) ac_try_echo=$ac_try;;
29052 esac
29053 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29054 (eval "$ac_compile") 2>conftest.er1
29055 ac_status=$?
29056 grep -v '^ *+' conftest.er1 >conftest.err
29057 rm -f conftest.er1
29058 cat conftest.err >&5
29059 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29060 (exit $ac_status); } && {
29061 test -z "$ac_c_werror_flag" ||
29062 test ! -s conftest.err
29063 } && test -s conftest.$ac_objext; then
29064
29065 cat >>confdefs.h <<\_ACEOF
29066 #define __WXGTK26__ 1
29067 _ACEOF
29068
29069 { echo "$as_me:$LINENO: result: yes" >&5
29070 echo "${ECHO_T}yes" >&6; }
29071 ac_wxgtk26=1
29072
29073 else
29074 echo "$as_me: failed program was:" >&5
29075 sed 's/^/| /' conftest.$ac_ext >&5
29076
29077
29078 { echo "$as_me:$LINENO: result: no" >&5
29079 echo "${ECHO_T}no" >&6; }
29080 ac_wxgtk26=0
29081
29082 fi
29083
29084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
29085 fi
29086
29087 CFLAGS="$save_CFLAGS"
29088 LIBS="$save_LIBS"
29089 else
29090 if test "$wxUSE_UNICODE" = "yes"; then
29091 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
29092 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
29093 wxUSE_UNICODE=no
29094 fi
29095
29096 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
29097 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
29098 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
29099 echo $ECHO_N "(cached) $ECHO_C" >&6
29100 else
29101 ac_check_lib_save_LIBS=$LIBS
29102 LIBS="-lgdk $LIBS"
29103 cat >conftest.$ac_ext <<_ACEOF
29104 /* confdefs.h. */
29105 _ACEOF
29106 cat confdefs.h >>conftest.$ac_ext
29107 cat >>conftest.$ac_ext <<_ACEOF
29108 /* end confdefs.h. */
29109
29110 /* Override any GCC internal prototype to avoid an error.
29111 Use char because int might match the return type of a GCC
29112 builtin and then its argument prototype would still apply. */
29113 #ifdef __cplusplus
29114 extern "C"
29115 #endif
29116 char gdk_im_open ();
29117 int
29118 main ()
29119 {
29120 return gdk_im_open ();
29121 ;
29122 return 0;
29123 }
29124 _ACEOF
29125 rm -f conftest.$ac_objext conftest$ac_exeext
29126 if { (ac_try="$ac_link"
29127 case "(($ac_try" in
29128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29129 *) ac_try_echo=$ac_try;;
29130 esac
29131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29132 (eval "$ac_link") 2>conftest.er1
29133 ac_status=$?
29134 grep -v '^ *+' conftest.er1 >conftest.err
29135 rm -f conftest.er1
29136 cat conftest.err >&5
29137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29138 (exit $ac_status); } && {
29139 test -z "$ac_c_werror_flag" ||
29140 test ! -s conftest.err
29141 } && test -s conftest$ac_exeext &&
29142 $as_test_x conftest$ac_exeext; then
29143 ac_cv_lib_gdk_gdk_im_open=yes
29144 else
29145 echo "$as_me: failed program was:" >&5
29146 sed 's/^/| /' conftest.$ac_ext >&5
29147
29148 ac_cv_lib_gdk_gdk_im_open=no
29149 fi
29150
29151 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29152 conftest$ac_exeext conftest.$ac_ext
29153 LIBS=$ac_check_lib_save_LIBS
29154 fi
29155 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
29156 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
29157 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
29158 cat >>confdefs.h <<\_ACEOF
29159 #define HAVE_XIM 1
29160 _ACEOF
29161
29162 fi
29163
29164
29165 if test "$USE_DARWIN" != 1; then
29166
29167 for ac_func in poll
29168 do
29169 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
29170 { echo "$as_me:$LINENO: checking for $ac_func" >&5
29171 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
29172 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
29173 echo $ECHO_N "(cached) $ECHO_C" >&6
29174 else
29175 cat >conftest.$ac_ext <<_ACEOF
29176 /* confdefs.h. */
29177 _ACEOF
29178 cat confdefs.h >>conftest.$ac_ext
29179 cat >>conftest.$ac_ext <<_ACEOF
29180 /* end confdefs.h. */
29181 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
29182 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29183 #define $ac_func innocuous_$ac_func
29184
29185 /* System header to define __stub macros and hopefully few prototypes,
29186 which can conflict with char $ac_func (); below.
29187 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29188 <limits.h> exists even on freestanding compilers. */
29189
29190 #ifdef __STDC__
29191 # include <limits.h>
29192 #else
29193 # include <assert.h>
29194 #endif
29195
29196 #undef $ac_func
29197
29198 /* Override any GCC internal prototype to avoid an error.
29199 Use char because int might match the return type of a GCC
29200 builtin and then its argument prototype would still apply. */
29201 #ifdef __cplusplus
29202 extern "C"
29203 #endif
29204 char $ac_func ();
29205 /* The GNU C library defines this for functions which it implements
29206 to always fail with ENOSYS. Some functions are actually named
29207 something starting with __ and the normal name is an alias. */
29208 #if defined __stub_$ac_func || defined __stub___$ac_func
29209 choke me
29210 #endif
29211
29212 int
29213 main ()
29214 {
29215 return $ac_func ();
29216 ;
29217 return 0;
29218 }
29219 _ACEOF
29220 rm -f conftest.$ac_objext conftest$ac_exeext
29221 if { (ac_try="$ac_link"
29222 case "(($ac_try" in
29223 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29224 *) ac_try_echo=$ac_try;;
29225 esac
29226 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29227 (eval "$ac_link") 2>conftest.er1
29228 ac_status=$?
29229 grep -v '^ *+' conftest.er1 >conftest.err
29230 rm -f conftest.er1
29231 cat conftest.err >&5
29232 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29233 (exit $ac_status); } && {
29234 test -z "$ac_c_werror_flag" ||
29235 test ! -s conftest.err
29236 } && test -s conftest$ac_exeext &&
29237 $as_test_x conftest$ac_exeext; then
29238 eval "$as_ac_var=yes"
29239 else
29240 echo "$as_me: failed program was:" >&5
29241 sed 's/^/| /' conftest.$ac_ext >&5
29242
29243 eval "$as_ac_var=no"
29244 fi
29245
29246 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29247 conftest$ac_exeext conftest.$ac_ext
29248 fi
29249 ac_res=`eval echo '${'$as_ac_var'}'`
29250 { echo "$as_me:$LINENO: result: $ac_res" >&5
29251 echo "${ECHO_T}$ac_res" >&6; }
29252 if test `eval echo '${'$as_ac_var'}'` = yes; then
29253 cat >>confdefs.h <<_ACEOF
29254 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
29255 _ACEOF
29256
29257 fi
29258 done
29259
29260 fi
29261 fi
29262
29263 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
29264 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
29265
29266 AFMINSTALL=afminstall
29267 TOOLKIT=GTK
29268 GUIDIST=GTK_DIST
29269
29270 if test "$wxUSE_GPE" = "yes"; then
29271 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
29272 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
29273
29274 ac_find_libraries=
29275 for ac_dir in $SEARCH_LIB;
29276 do
29277 for ac_extension in a so sl dylib dll.a; do
29278 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
29279 ac_find_libraries=$ac_dir
29280 break 2
29281 fi
29282 done
29283 done
29284
29285 if test "$ac_find_libraries" != "" ; then
29286
29287 if test "$ac_find_libraries" = "default location"; then
29288 ac_path_to_link=""
29289 else
29290 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
29291 result=$?
29292 if test $result = 0; then
29293 ac_path_to_link=""
29294 else
29295 ac_path_to_link=" -L$ac_find_libraries"
29296 fi
29297 fi
29298
29299 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
29300 WXGPE=1
29301 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
29302 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
29303 else
29304 { echo "$as_me:$LINENO: result: not found" >&5
29305 echo "${ECHO_T}not found" >&6; }
29306 fi
29307
29308 fi
29309 fi
29310
29311 if test "$wxUSE_MGL" = 1; then
29312 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
29313 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
29314 if test "x$MGL_ROOT" = x ; then
29315 { echo "$as_me:$LINENO: result: not found" >&5
29316 echo "${ECHO_T}not found" >&6; }
29317 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
29318 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
29319 { (exit 1); exit 1; }; }
29320 else
29321 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
29322 echo "${ECHO_T}$MGL_ROOT" >&6; }
29323 fi
29324
29325 { echo "$as_me:$LINENO: checking for libmgl location" >&5
29326 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
29327 case "${host}" in
29328 *-*-linux* )
29329 if test "x$wxUSE_SHARED" = xyes ; then
29330 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
29331 else
29332 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
29333 fi
29334 ;;
29335 *-pc-msdosdjgpp )
29336 mgl_os_candidates="dos32/dj2"
29337 ;;
29338 *)
29339 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
29340 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
29341 { (exit 1); exit 1; }; }
29342 esac
29343
29344 mgl_lib_type=""
29345 mgl_os=""
29346
29347 for mgl_os_i in $mgl_os_candidates ; do
29348 if test "x$mgl_os" = x ; then
29349 if test "$wxUSE_DEBUG_FLAG" = yes ; then
29350 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
29351 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
29352 mgl_lib_type=debug
29353 mgl_os=$mgl_os_i
29354 fi
29355 fi
29356 if test "x$mgl_lib_type" = x ; then
29357 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
29358 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
29359 mgl_lib_type=release
29360 mgl_os=$mgl_os_i
29361 fi
29362 fi
29363 fi
29364 done
29365
29366 if test "x$mgl_os" = x ; then
29367 { echo "$as_me:$LINENO: result: not found" >&5
29368 echo "${ECHO_T}not found" >&6; }
29369 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
29370 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
29371 { (exit 1); exit 1; }; }
29372 fi
29373 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
29374 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
29375
29376 wxUSE_UNIVERSAL="yes"
29377
29378 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
29379 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
29380
29381 AFMINSTALL=afminstall
29382 TOOLKIT=MGL
29383 GUIDIST=MGL_DIST
29384 fi
29385
29386 if test "$wxUSE_DFB" = 1; then
29387
29388
29389 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
29390 if test -n "$ac_tool_prefix"; then
29391 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
29392 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
29393 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29394 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29395 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
29396 echo $ECHO_N "(cached) $ECHO_C" >&6
29397 else
29398 case $PKG_CONFIG in
29399 [\\/]* | ?:[\\/]*)
29400 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
29401 ;;
29402 *)
29403 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29404 for as_dir in $PATH
29405 do
29406 IFS=$as_save_IFS
29407 test -z "$as_dir" && as_dir=.
29408 for ac_exec_ext in '' $ac_executable_extensions; do
29409 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29410 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29411 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29412 break 2
29413 fi
29414 done
29415 done
29416 IFS=$as_save_IFS
29417
29418 ;;
29419 esac
29420 fi
29421 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
29422 if test -n "$PKG_CONFIG"; then
29423 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
29424 echo "${ECHO_T}$PKG_CONFIG" >&6; }
29425 else
29426 { echo "$as_me:$LINENO: result: no" >&5
29427 echo "${ECHO_T}no" >&6; }
29428 fi
29429
29430
29431 fi
29432 if test -z "$ac_cv_path_PKG_CONFIG"; then
29433 ac_pt_PKG_CONFIG=$PKG_CONFIG
29434 # Extract the first word of "pkg-config", so it can be a program name with args.
29435 set dummy pkg-config; ac_word=$2
29436 { echo "$as_me:$LINENO: checking for $ac_word" >&5
29437 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
29438 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
29439 echo $ECHO_N "(cached) $ECHO_C" >&6
29440 else
29441 case $ac_pt_PKG_CONFIG in
29442 [\\/]* | ?:[\\/]*)
29443 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
29444 ;;
29445 *)
29446 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
29447 for as_dir in $PATH
29448 do
29449 IFS=$as_save_IFS
29450 test -z "$as_dir" && as_dir=.
29451 for ac_exec_ext in '' $ac_executable_extensions; do
29452 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
29453 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
29454 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
29455 break 2
29456 fi
29457 done
29458 done
29459 IFS=$as_save_IFS
29460
29461 ;;
29462 esac
29463 fi
29464 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
29465 if test -n "$ac_pt_PKG_CONFIG"; then
29466 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
29467 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
29468 else
29469 { echo "$as_me:$LINENO: result: no" >&5
29470 echo "${ECHO_T}no" >&6; }
29471 fi
29472
29473 if test "x$ac_pt_PKG_CONFIG" = x; then
29474 PKG_CONFIG=""
29475 else
29476 case $cross_compiling:$ac_tool_warned in
29477 yes:)
29478 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
29479 whose name does not start with the host triplet. If you think this
29480 configuration is useful to you, please write to autoconf@gnu.org." >&5
29481 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
29482 whose name does not start with the host triplet. If you think this
29483 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
29484 ac_tool_warned=yes ;;
29485 esac
29486 PKG_CONFIG=$ac_pt_PKG_CONFIG
29487 fi
29488 else
29489 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
29490 fi
29491
29492 fi
29493 if test -n "$PKG_CONFIG"; then
29494 _pkg_min_version=0.9.0
29495 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
29496 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
29497 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
29498 { echo "$as_me:$LINENO: result: yes" >&5
29499 echo "${ECHO_T}yes" >&6; }
29500 else
29501 { echo "$as_me:$LINENO: result: no" >&5
29502 echo "${ECHO_T}no" >&6; }
29503 PKG_CONFIG=""
29504 fi
29505
29506 fi
29507
29508
29509 pkg_failed=no
29510 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
29511 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
29512
29513 if test -n "$PKG_CONFIG"; then
29514 if test -n "$DIRECTFB_CFLAGS"; then
29515 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
29516 else
29517 if test -n "$PKG_CONFIG" && \
29518 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29519 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29520 ac_status=$?
29521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29522 (exit $ac_status); }; then
29523 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
29524 else
29525 pkg_failed=yes
29526 fi
29527 fi
29528 else
29529 pkg_failed=untried
29530 fi
29531 if test -n "$PKG_CONFIG"; then
29532 if test -n "$DIRECTFB_LIBS"; then
29533 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
29534 else
29535 if test -n "$PKG_CONFIG" && \
29536 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
29537 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
29538 ac_status=$?
29539 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29540 (exit $ac_status); }; then
29541 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
29542 else
29543 pkg_failed=yes
29544 fi
29545 fi
29546 else
29547 pkg_failed=untried
29548 fi
29549
29550
29551
29552 if test $pkg_failed = yes; then
29553
29554 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
29555 _pkg_short_errors_supported=yes
29556 else
29557 _pkg_short_errors_supported=no
29558 fi
29559 if test $_pkg_short_errors_supported = yes; then
29560 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29561 else
29562 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
29563 fi
29564 # Put the nasty error message in config.log where it belongs
29565 echo "$DIRECTFB_PKG_ERRORS" >&5
29566
29567
29568 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29569 echo "$as_me: error: DirectFB not found." >&2;}
29570 { (exit 1); exit 1; }; }
29571
29572
29573 elif test $pkg_failed = untried; then
29574
29575 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
29576 echo "$as_me: error: DirectFB not found." >&2;}
29577 { (exit 1); exit 1; }; }
29578
29579
29580 else
29581 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
29582 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
29583 { echo "$as_me:$LINENO: result: yes" >&5
29584 echo "${ECHO_T}yes" >&6; }
29585
29586 wxUSE_UNIVERSAL="yes"
29587 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
29588 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
29589 TOOLKIT=DFB
29590 GUIDIST=DFB_DIST
29591
29592 fi
29593 fi
29594
29595 if test "$wxUSE_MICROWIN" = 1; then
29596 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
29597 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
29598 if test "x$MICROWINDOWS" = x ; then
29599 { echo "$as_me:$LINENO: result: not found" >&5
29600 echo "${ECHO_T}not found" >&6; }
29601 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
29602 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
29603 { (exit 1); exit 1; }; }
29604 else
29605 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
29606 echo "${ECHO_T}$MICROWINDOWS" >&6; }
29607 fi
29608
29609 if test -f $MICROWINDOWS/lib/libmwin.a; then
29610 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
29611 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
29612 else
29613 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
29614 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
29615 { (exit 1); exit 1; }; }
29616 fi
29617
29618 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29619 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29620
29621 wxUSE_UNIVERSAL="yes"
29622
29623 AFMINSTALL=afminstall
29624 TOOLKIT=MICROWIN
29625 GUIDIST=MICROWIN_DIST
29626
29627 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29628 fi
29629
29630 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29631 { echo "$as_me:$LINENO: checking for X" >&5
29632 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29633
29634
29635 # Check whether --with-x was given.
29636 if test "${with_x+set}" = set; then
29637 withval=$with_x;
29638 fi
29639
29640 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29641 if test "x$with_x" = xno; then
29642 # The user explicitly disabled X.
29643 have_x=disabled
29644 else
29645 case $x_includes,$x_libraries in #(
29646 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29647 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29648 { (exit 1); exit 1; }; };; #(
29649 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29650 echo $ECHO_N "(cached) $ECHO_C" >&6
29651 else
29652 # One or both of the vars are not set, and there is no cached value.
29653 ac_x_includes=no ac_x_libraries=no
29654 rm -f -r conftest.dir
29655 if mkdir conftest.dir; then
29656 cd conftest.dir
29657 cat >Imakefile <<'_ACEOF'
29658 incroot:
29659 @echo incroot='${INCROOT}'
29660 usrlibdir:
29661 @echo usrlibdir='${USRLIBDIR}'
29662 libdir:
29663 @echo libdir='${LIBDIR}'
29664 _ACEOF
29665 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29666 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29667 for ac_var in incroot usrlibdir libdir; do
29668 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29669 done
29670 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29671 for ac_extension in a so sl; do
29672 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29673 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29674 ac_im_usrlibdir=$ac_im_libdir; break
29675 fi
29676 done
29677 # Screen out bogus values from the imake configuration. They are
29678 # bogus both because they are the default anyway, and because
29679 # using them would break gcc on systems where it needs fixed includes.
29680 case $ac_im_incroot in
29681 /usr/include) ac_x_includes= ;;
29682 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29683 esac
29684 case $ac_im_usrlibdir in
29685 /usr/lib | /lib) ;;
29686 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29687 esac
29688 fi
29689 cd ..
29690 rm -f -r conftest.dir
29691 fi
29692
29693 # Standard set of common directories for X headers.
29694 # Check X11 before X11Rn because it is often a symlink to the current release.
29695 ac_x_header_dirs='
29696 /usr/X11/include
29697 /usr/X11R6/include
29698 /usr/X11R5/include
29699 /usr/X11R4/include
29700
29701 /usr/include/X11
29702 /usr/include/X11R6
29703 /usr/include/X11R5
29704 /usr/include/X11R4
29705
29706 /usr/local/X11/include
29707 /usr/local/X11R6/include
29708 /usr/local/X11R5/include
29709 /usr/local/X11R4/include
29710
29711 /usr/local/include/X11
29712 /usr/local/include/X11R6
29713 /usr/local/include/X11R5
29714 /usr/local/include/X11R4
29715
29716 /usr/X386/include
29717 /usr/x386/include
29718 /usr/XFree86/include/X11
29719
29720 /usr/include
29721 /usr/local/include
29722 /usr/unsupported/include
29723 /usr/athena/include
29724 /usr/local/x11r5/include
29725 /usr/lpp/Xamples/include
29726
29727 /usr/openwin/include
29728 /usr/openwin/share/include'
29729
29730 if test "$ac_x_includes" = no; then
29731 # Guess where to find include files, by looking for Xlib.h.
29732 # First, try using that file with no special directory specified.
29733 cat >conftest.$ac_ext <<_ACEOF
29734 /* confdefs.h. */
29735 _ACEOF
29736 cat confdefs.h >>conftest.$ac_ext
29737 cat >>conftest.$ac_ext <<_ACEOF
29738 /* end confdefs.h. */
29739 #include <X11/Xlib.h>
29740 _ACEOF
29741 if { (ac_try="$ac_cpp conftest.$ac_ext"
29742 case "(($ac_try" in
29743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29744 *) ac_try_echo=$ac_try;;
29745 esac
29746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29747 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29748 ac_status=$?
29749 grep -v '^ *+' conftest.er1 >conftest.err
29750 rm -f conftest.er1
29751 cat conftest.err >&5
29752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29753 (exit $ac_status); } >/dev/null && {
29754 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29755 test ! -s conftest.err
29756 }; then
29757 # We can compile using X headers with no special include directory.
29758 ac_x_includes=
29759 else
29760 echo "$as_me: failed program was:" >&5
29761 sed 's/^/| /' conftest.$ac_ext >&5
29762
29763 for ac_dir in $ac_x_header_dirs; do
29764 if test -r "$ac_dir/X11/Xlib.h"; then
29765 ac_x_includes=$ac_dir
29766 break
29767 fi
29768 done
29769 fi
29770
29771 rm -f conftest.err conftest.$ac_ext
29772 fi # $ac_x_includes = no
29773
29774 if test "$ac_x_libraries" = no; then
29775 # Check for the libraries.
29776 # See if we find them without any special options.
29777 # Don't add to $LIBS permanently.
29778 ac_save_LIBS=$LIBS
29779 LIBS="-lX11 $LIBS"
29780 cat >conftest.$ac_ext <<_ACEOF
29781 /* confdefs.h. */
29782 _ACEOF
29783 cat confdefs.h >>conftest.$ac_ext
29784 cat >>conftest.$ac_ext <<_ACEOF
29785 /* end confdefs.h. */
29786 #include <X11/Xlib.h>
29787 int
29788 main ()
29789 {
29790 XrmInitialize ()
29791 ;
29792 return 0;
29793 }
29794 _ACEOF
29795 rm -f conftest.$ac_objext conftest$ac_exeext
29796 if { (ac_try="$ac_link"
29797 case "(($ac_try" in
29798 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29799 *) ac_try_echo=$ac_try;;
29800 esac
29801 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29802 (eval "$ac_link") 2>conftest.er1
29803 ac_status=$?
29804 grep -v '^ *+' conftest.er1 >conftest.err
29805 rm -f conftest.er1
29806 cat conftest.err >&5
29807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29808 (exit $ac_status); } && {
29809 test -z "$ac_c_werror_flag" ||
29810 test ! -s conftest.err
29811 } && test -s conftest$ac_exeext &&
29812 $as_test_x conftest$ac_exeext; then
29813 LIBS=$ac_save_LIBS
29814 # We can link X programs with no special library path.
29815 ac_x_libraries=
29816 else
29817 echo "$as_me: failed program was:" >&5
29818 sed 's/^/| /' conftest.$ac_ext >&5
29819
29820 LIBS=$ac_save_LIBS
29821 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29822 do
29823 # Don't even attempt the hair of trying to link an X program!
29824 for ac_extension in a so sl; do
29825 if test -r "$ac_dir/libX11.$ac_extension"; then
29826 ac_x_libraries=$ac_dir
29827 break 2
29828 fi
29829 done
29830 done
29831 fi
29832
29833 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29834 conftest$ac_exeext conftest.$ac_ext
29835 fi # $ac_x_libraries = no
29836
29837 case $ac_x_includes,$ac_x_libraries in #(
29838 no,* | *,no | *\'*)
29839 # Didn't find X, or a directory has "'" in its name.
29840 ac_cv_have_x="have_x=no";; #(
29841 *)
29842 # Record where we found X for the cache.
29843 ac_cv_have_x="have_x=yes\
29844 ac_x_includes='$ac_x_includes'\
29845 ac_x_libraries='$ac_x_libraries'"
29846 esac
29847 fi
29848 ;; #(
29849 *) have_x=yes;;
29850 esac
29851 eval "$ac_cv_have_x"
29852 fi # $with_x != no
29853
29854 if test "$have_x" != yes; then
29855 { echo "$as_me:$LINENO: result: $have_x" >&5
29856 echo "${ECHO_T}$have_x" >&6; }
29857 no_x=yes
29858 else
29859 # If each of the values was on the command line, it overrides each guess.
29860 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29861 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29862 # Update the cache value to reflect the command line values.
29863 ac_cv_have_x="have_x=yes\
29864 ac_x_includes='$x_includes'\
29865 ac_x_libraries='$x_libraries'"
29866 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29867 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29868 fi
29869
29870 if test "$no_x" = yes; then
29871 # Not all programs may use this symbol, but it does not hurt to define it.
29872
29873 cat >>confdefs.h <<\_ACEOF
29874 #define X_DISPLAY_MISSING 1
29875 _ACEOF
29876
29877 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29878 else
29879 if test -n "$x_includes"; then
29880 X_CFLAGS="$X_CFLAGS -I$x_includes"
29881 fi
29882
29883 # It would also be nice to do this for all -L options, not just this one.
29884 if test -n "$x_libraries"; then
29885 X_LIBS="$X_LIBS -L$x_libraries"
29886 # For Solaris; some versions of Sun CC require a space after -R and
29887 # others require no space. Words are not sufficient . . . .
29888 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29889 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29890 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29891 ac_xsave_c_werror_flag=$ac_c_werror_flag
29892 ac_c_werror_flag=yes
29893 cat >conftest.$ac_ext <<_ACEOF
29894 /* confdefs.h. */
29895 _ACEOF
29896 cat confdefs.h >>conftest.$ac_ext
29897 cat >>conftest.$ac_ext <<_ACEOF
29898 /* end confdefs.h. */
29899
29900 int
29901 main ()
29902 {
29903
29904 ;
29905 return 0;
29906 }
29907 _ACEOF
29908 rm -f conftest.$ac_objext conftest$ac_exeext
29909 if { (ac_try="$ac_link"
29910 case "(($ac_try" in
29911 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29912 *) ac_try_echo=$ac_try;;
29913 esac
29914 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29915 (eval "$ac_link") 2>conftest.er1
29916 ac_status=$?
29917 grep -v '^ *+' conftest.er1 >conftest.err
29918 rm -f conftest.er1
29919 cat conftest.err >&5
29920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29921 (exit $ac_status); } && {
29922 test -z "$ac_c_werror_flag" ||
29923 test ! -s conftest.err
29924 } && test -s conftest$ac_exeext &&
29925 $as_test_x conftest$ac_exeext; then
29926 { echo "$as_me:$LINENO: result: no" >&5
29927 echo "${ECHO_T}no" >&6; }
29928 X_LIBS="$X_LIBS -R$x_libraries"
29929 else
29930 echo "$as_me: failed program was:" >&5
29931 sed 's/^/| /' conftest.$ac_ext >&5
29932
29933 LIBS="$ac_xsave_LIBS -R $x_libraries"
29934 cat >conftest.$ac_ext <<_ACEOF
29935 /* confdefs.h. */
29936 _ACEOF
29937 cat confdefs.h >>conftest.$ac_ext
29938 cat >>conftest.$ac_ext <<_ACEOF
29939 /* end confdefs.h. */
29940
29941 int
29942 main ()
29943 {
29944
29945 ;
29946 return 0;
29947 }
29948 _ACEOF
29949 rm -f conftest.$ac_objext conftest$ac_exeext
29950 if { (ac_try="$ac_link"
29951 case "(($ac_try" in
29952 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29953 *) ac_try_echo=$ac_try;;
29954 esac
29955 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29956 (eval "$ac_link") 2>conftest.er1
29957 ac_status=$?
29958 grep -v '^ *+' conftest.er1 >conftest.err
29959 rm -f conftest.er1
29960 cat conftest.err >&5
29961 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29962 (exit $ac_status); } && {
29963 test -z "$ac_c_werror_flag" ||
29964 test ! -s conftest.err
29965 } && test -s conftest$ac_exeext &&
29966 $as_test_x conftest$ac_exeext; then
29967 { echo "$as_me:$LINENO: result: yes" >&5
29968 echo "${ECHO_T}yes" >&6; }
29969 X_LIBS="$X_LIBS -R $x_libraries"
29970 else
29971 echo "$as_me: failed program was:" >&5
29972 sed 's/^/| /' conftest.$ac_ext >&5
29973
29974 { echo "$as_me:$LINENO: result: neither works" >&5
29975 echo "${ECHO_T}neither works" >&6; }
29976 fi
29977
29978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29979 conftest$ac_exeext conftest.$ac_ext
29980 fi
29981
29982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29983 conftest$ac_exeext conftest.$ac_ext
29984 ac_c_werror_flag=$ac_xsave_c_werror_flag
29985 LIBS=$ac_xsave_LIBS
29986 fi
29987
29988 # Check for system-dependent libraries X programs must link with.
29989 # Do this before checking for the system-independent R6 libraries
29990 # (-lICE), since we may need -lsocket or whatever for X linking.
29991
29992 if test "$ISC" = yes; then
29993 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29994 else
29995 # Martyn Johnson says this is needed for Ultrix, if the X
29996 # libraries were built with DECnet support. And Karl Berry says
29997 # the Alpha needs dnet_stub (dnet does not exist).
29998 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29999 cat >conftest.$ac_ext <<_ACEOF
30000 /* confdefs.h. */
30001 _ACEOF
30002 cat confdefs.h >>conftest.$ac_ext
30003 cat >>conftest.$ac_ext <<_ACEOF
30004 /* end confdefs.h. */
30005
30006 /* Override any GCC internal prototype to avoid an error.
30007 Use char because int might match the return type of a GCC
30008 builtin and then its argument prototype would still apply. */
30009 #ifdef __cplusplus
30010 extern "C"
30011 #endif
30012 char XOpenDisplay ();
30013 int
30014 main ()
30015 {
30016 return XOpenDisplay ();
30017 ;
30018 return 0;
30019 }
30020 _ACEOF
30021 rm -f conftest.$ac_objext conftest$ac_exeext
30022 if { (ac_try="$ac_link"
30023 case "(($ac_try" in
30024 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30025 *) ac_try_echo=$ac_try;;
30026 esac
30027 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30028 (eval "$ac_link") 2>conftest.er1
30029 ac_status=$?
30030 grep -v '^ *+' conftest.er1 >conftest.err
30031 rm -f conftest.er1
30032 cat conftest.err >&5
30033 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30034 (exit $ac_status); } && {
30035 test -z "$ac_c_werror_flag" ||
30036 test ! -s conftest.err
30037 } && test -s conftest$ac_exeext &&
30038 $as_test_x conftest$ac_exeext; then
30039 :
30040 else
30041 echo "$as_me: failed program was:" >&5
30042 sed 's/^/| /' conftest.$ac_ext >&5
30043
30044 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
30045 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
30046 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
30047 echo $ECHO_N "(cached) $ECHO_C" >&6
30048 else
30049 ac_check_lib_save_LIBS=$LIBS
30050 LIBS="-ldnet $LIBS"
30051 cat >conftest.$ac_ext <<_ACEOF
30052 /* confdefs.h. */
30053 _ACEOF
30054 cat confdefs.h >>conftest.$ac_ext
30055 cat >>conftest.$ac_ext <<_ACEOF
30056 /* end confdefs.h. */
30057
30058 /* Override any GCC internal prototype to avoid an error.
30059 Use char because int might match the return type of a GCC
30060 builtin and then its argument prototype would still apply. */
30061 #ifdef __cplusplus
30062 extern "C"
30063 #endif
30064 char dnet_ntoa ();
30065 int
30066 main ()
30067 {
30068 return dnet_ntoa ();
30069 ;
30070 return 0;
30071 }
30072 _ACEOF
30073 rm -f conftest.$ac_objext conftest$ac_exeext
30074 if { (ac_try="$ac_link"
30075 case "(($ac_try" in
30076 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30077 *) ac_try_echo=$ac_try;;
30078 esac
30079 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30080 (eval "$ac_link") 2>conftest.er1
30081 ac_status=$?
30082 grep -v '^ *+' conftest.er1 >conftest.err
30083 rm -f conftest.er1
30084 cat conftest.err >&5
30085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30086 (exit $ac_status); } && {
30087 test -z "$ac_c_werror_flag" ||
30088 test ! -s conftest.err
30089 } && test -s conftest$ac_exeext &&
30090 $as_test_x conftest$ac_exeext; then
30091 ac_cv_lib_dnet_dnet_ntoa=yes
30092 else
30093 echo "$as_me: failed program was:" >&5
30094 sed 's/^/| /' conftest.$ac_ext >&5
30095
30096 ac_cv_lib_dnet_dnet_ntoa=no
30097 fi
30098
30099 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30100 conftest$ac_exeext conftest.$ac_ext
30101 LIBS=$ac_check_lib_save_LIBS
30102 fi
30103 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
30104 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
30105 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
30106 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
30107 fi
30108
30109 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
30110 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
30111 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
30112 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
30113 echo $ECHO_N "(cached) $ECHO_C" >&6
30114 else
30115 ac_check_lib_save_LIBS=$LIBS
30116 LIBS="-ldnet_stub $LIBS"
30117 cat >conftest.$ac_ext <<_ACEOF
30118 /* confdefs.h. */
30119 _ACEOF
30120 cat confdefs.h >>conftest.$ac_ext
30121 cat >>conftest.$ac_ext <<_ACEOF
30122 /* end confdefs.h. */
30123
30124 /* Override any GCC internal prototype to avoid an error.
30125 Use char because int might match the return type of a GCC
30126 builtin and then its argument prototype would still apply. */
30127 #ifdef __cplusplus
30128 extern "C"
30129 #endif
30130 char dnet_ntoa ();
30131 int
30132 main ()
30133 {
30134 return dnet_ntoa ();
30135 ;
30136 return 0;
30137 }
30138 _ACEOF
30139 rm -f conftest.$ac_objext conftest$ac_exeext
30140 if { (ac_try="$ac_link"
30141 case "(($ac_try" in
30142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30143 *) ac_try_echo=$ac_try;;
30144 esac
30145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30146 (eval "$ac_link") 2>conftest.er1
30147 ac_status=$?
30148 grep -v '^ *+' conftest.er1 >conftest.err
30149 rm -f conftest.er1
30150 cat conftest.err >&5
30151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30152 (exit $ac_status); } && {
30153 test -z "$ac_c_werror_flag" ||
30154 test ! -s conftest.err
30155 } && test -s conftest$ac_exeext &&
30156 $as_test_x conftest$ac_exeext; then
30157 ac_cv_lib_dnet_stub_dnet_ntoa=yes
30158 else
30159 echo "$as_me: failed program was:" >&5
30160 sed 's/^/| /' conftest.$ac_ext >&5
30161
30162 ac_cv_lib_dnet_stub_dnet_ntoa=no
30163 fi
30164
30165 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30166 conftest$ac_exeext conftest.$ac_ext
30167 LIBS=$ac_check_lib_save_LIBS
30168 fi
30169 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
30170 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
30171 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
30172 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
30173 fi
30174
30175 fi
30176 fi
30177
30178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30179 conftest$ac_exeext conftest.$ac_ext
30180 LIBS="$ac_xsave_LIBS"
30181
30182 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
30183 # to get the SysV transport functions.
30184 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
30185 # needs -lnsl.
30186 # The nsl library prevents programs from opening the X display
30187 # on Irix 5.2, according to T.E. Dickey.
30188 # The functions gethostbyname, getservbyname, and inet_addr are
30189 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
30190 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
30191 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
30192 if test "${ac_cv_func_gethostbyname+set}" = set; then
30193 echo $ECHO_N "(cached) $ECHO_C" >&6
30194 else
30195 cat >conftest.$ac_ext <<_ACEOF
30196 /* confdefs.h. */
30197 _ACEOF
30198 cat confdefs.h >>conftest.$ac_ext
30199 cat >>conftest.$ac_ext <<_ACEOF
30200 /* end confdefs.h. */
30201 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
30202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30203 #define gethostbyname innocuous_gethostbyname
30204
30205 /* System header to define __stub macros and hopefully few prototypes,
30206 which can conflict with char gethostbyname (); below.
30207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30208 <limits.h> exists even on freestanding compilers. */
30209
30210 #ifdef __STDC__
30211 # include <limits.h>
30212 #else
30213 # include <assert.h>
30214 #endif
30215
30216 #undef gethostbyname
30217
30218 /* Override any GCC internal prototype to avoid an error.
30219 Use char because int might match the return type of a GCC
30220 builtin and then its argument prototype would still apply. */
30221 #ifdef __cplusplus
30222 extern "C"
30223 #endif
30224 char gethostbyname ();
30225 /* The GNU C library defines this for functions which it implements
30226 to always fail with ENOSYS. Some functions are actually named
30227 something starting with __ and the normal name is an alias. */
30228 #if defined __stub_gethostbyname || defined __stub___gethostbyname
30229 choke me
30230 #endif
30231
30232 int
30233 main ()
30234 {
30235 return gethostbyname ();
30236 ;
30237 return 0;
30238 }
30239 _ACEOF
30240 rm -f conftest.$ac_objext conftest$ac_exeext
30241 if { (ac_try="$ac_link"
30242 case "(($ac_try" in
30243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30244 *) ac_try_echo=$ac_try;;
30245 esac
30246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30247 (eval "$ac_link") 2>conftest.er1
30248 ac_status=$?
30249 grep -v '^ *+' conftest.er1 >conftest.err
30250 rm -f conftest.er1
30251 cat conftest.err >&5
30252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30253 (exit $ac_status); } && {
30254 test -z "$ac_c_werror_flag" ||
30255 test ! -s conftest.err
30256 } && test -s conftest$ac_exeext &&
30257 $as_test_x conftest$ac_exeext; then
30258 ac_cv_func_gethostbyname=yes
30259 else
30260 echo "$as_me: failed program was:" >&5
30261 sed 's/^/| /' conftest.$ac_ext >&5
30262
30263 ac_cv_func_gethostbyname=no
30264 fi
30265
30266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30267 conftest$ac_exeext conftest.$ac_ext
30268 fi
30269 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
30270 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
30271
30272 if test $ac_cv_func_gethostbyname = no; then
30273 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
30274 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
30275 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
30276 echo $ECHO_N "(cached) $ECHO_C" >&6
30277 else
30278 ac_check_lib_save_LIBS=$LIBS
30279 LIBS="-lnsl $LIBS"
30280 cat >conftest.$ac_ext <<_ACEOF
30281 /* confdefs.h. */
30282 _ACEOF
30283 cat confdefs.h >>conftest.$ac_ext
30284 cat >>conftest.$ac_ext <<_ACEOF
30285 /* end confdefs.h. */
30286
30287 /* Override any GCC internal prototype to avoid an error.
30288 Use char because int might match the return type of a GCC
30289 builtin and then its argument prototype would still apply. */
30290 #ifdef __cplusplus
30291 extern "C"
30292 #endif
30293 char gethostbyname ();
30294 int
30295 main ()
30296 {
30297 return gethostbyname ();
30298 ;
30299 return 0;
30300 }
30301 _ACEOF
30302 rm -f conftest.$ac_objext conftest$ac_exeext
30303 if { (ac_try="$ac_link"
30304 case "(($ac_try" in
30305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30306 *) ac_try_echo=$ac_try;;
30307 esac
30308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30309 (eval "$ac_link") 2>conftest.er1
30310 ac_status=$?
30311 grep -v '^ *+' conftest.er1 >conftest.err
30312 rm -f conftest.er1
30313 cat conftest.err >&5
30314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30315 (exit $ac_status); } && {
30316 test -z "$ac_c_werror_flag" ||
30317 test ! -s conftest.err
30318 } && test -s conftest$ac_exeext &&
30319 $as_test_x conftest$ac_exeext; then
30320 ac_cv_lib_nsl_gethostbyname=yes
30321 else
30322 echo "$as_me: failed program was:" >&5
30323 sed 's/^/| /' conftest.$ac_ext >&5
30324
30325 ac_cv_lib_nsl_gethostbyname=no
30326 fi
30327
30328 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30329 conftest$ac_exeext conftest.$ac_ext
30330 LIBS=$ac_check_lib_save_LIBS
30331 fi
30332 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
30333 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
30334 if test $ac_cv_lib_nsl_gethostbyname = yes; then
30335 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
30336 fi
30337
30338 if test $ac_cv_lib_nsl_gethostbyname = no; then
30339 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
30340 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
30341 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
30342 echo $ECHO_N "(cached) $ECHO_C" >&6
30343 else
30344 ac_check_lib_save_LIBS=$LIBS
30345 LIBS="-lbsd $LIBS"
30346 cat >conftest.$ac_ext <<_ACEOF
30347 /* confdefs.h. */
30348 _ACEOF
30349 cat confdefs.h >>conftest.$ac_ext
30350 cat >>conftest.$ac_ext <<_ACEOF
30351 /* end confdefs.h. */
30352
30353 /* Override any GCC internal prototype to avoid an error.
30354 Use char because int might match the return type of a GCC
30355 builtin and then its argument prototype would still apply. */
30356 #ifdef __cplusplus
30357 extern "C"
30358 #endif
30359 char gethostbyname ();
30360 int
30361 main ()
30362 {
30363 return gethostbyname ();
30364 ;
30365 return 0;
30366 }
30367 _ACEOF
30368 rm -f conftest.$ac_objext conftest$ac_exeext
30369 if { (ac_try="$ac_link"
30370 case "(($ac_try" in
30371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30372 *) ac_try_echo=$ac_try;;
30373 esac
30374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30375 (eval "$ac_link") 2>conftest.er1
30376 ac_status=$?
30377 grep -v '^ *+' conftest.er1 >conftest.err
30378 rm -f conftest.er1
30379 cat conftest.err >&5
30380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30381 (exit $ac_status); } && {
30382 test -z "$ac_c_werror_flag" ||
30383 test ! -s conftest.err
30384 } && test -s conftest$ac_exeext &&
30385 $as_test_x conftest$ac_exeext; then
30386 ac_cv_lib_bsd_gethostbyname=yes
30387 else
30388 echo "$as_me: failed program was:" >&5
30389 sed 's/^/| /' conftest.$ac_ext >&5
30390
30391 ac_cv_lib_bsd_gethostbyname=no
30392 fi
30393
30394 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30395 conftest$ac_exeext conftest.$ac_ext
30396 LIBS=$ac_check_lib_save_LIBS
30397 fi
30398 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
30399 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
30400 if test $ac_cv_lib_bsd_gethostbyname = yes; then
30401 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
30402 fi
30403
30404 fi
30405 fi
30406
30407 # lieder@skyler.mavd.honeywell.com says without -lsocket,
30408 # socket/setsockopt and other routines are undefined under SCO ODT
30409 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
30410 # on later versions), says Simon Leinen: it contains gethostby*
30411 # variants that don't use the name server (or something). -lsocket
30412 # must be given before -lnsl if both are needed. We assume that
30413 # if connect needs -lnsl, so does gethostbyname.
30414 { echo "$as_me:$LINENO: checking for connect" >&5
30415 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
30416 if test "${ac_cv_func_connect+set}" = set; then
30417 echo $ECHO_N "(cached) $ECHO_C" >&6
30418 else
30419 cat >conftest.$ac_ext <<_ACEOF
30420 /* confdefs.h. */
30421 _ACEOF
30422 cat confdefs.h >>conftest.$ac_ext
30423 cat >>conftest.$ac_ext <<_ACEOF
30424 /* end confdefs.h. */
30425 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
30426 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30427 #define connect innocuous_connect
30428
30429 /* System header to define __stub macros and hopefully few prototypes,
30430 which can conflict with char connect (); below.
30431 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30432 <limits.h> exists even on freestanding compilers. */
30433
30434 #ifdef __STDC__
30435 # include <limits.h>
30436 #else
30437 # include <assert.h>
30438 #endif
30439
30440 #undef connect
30441
30442 /* Override any GCC internal prototype to avoid an error.
30443 Use char because int might match the return type of a GCC
30444 builtin and then its argument prototype would still apply. */
30445 #ifdef __cplusplus
30446 extern "C"
30447 #endif
30448 char connect ();
30449 /* The GNU C library defines this for functions which it implements
30450 to always fail with ENOSYS. Some functions are actually named
30451 something starting with __ and the normal name is an alias. */
30452 #if defined __stub_connect || defined __stub___connect
30453 choke me
30454 #endif
30455
30456 int
30457 main ()
30458 {
30459 return connect ();
30460 ;
30461 return 0;
30462 }
30463 _ACEOF
30464 rm -f conftest.$ac_objext conftest$ac_exeext
30465 if { (ac_try="$ac_link"
30466 case "(($ac_try" in
30467 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30468 *) ac_try_echo=$ac_try;;
30469 esac
30470 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30471 (eval "$ac_link") 2>conftest.er1
30472 ac_status=$?
30473 grep -v '^ *+' conftest.er1 >conftest.err
30474 rm -f conftest.er1
30475 cat conftest.err >&5
30476 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30477 (exit $ac_status); } && {
30478 test -z "$ac_c_werror_flag" ||
30479 test ! -s conftest.err
30480 } && test -s conftest$ac_exeext &&
30481 $as_test_x conftest$ac_exeext; then
30482 ac_cv_func_connect=yes
30483 else
30484 echo "$as_me: failed program was:" >&5
30485 sed 's/^/| /' conftest.$ac_ext >&5
30486
30487 ac_cv_func_connect=no
30488 fi
30489
30490 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30491 conftest$ac_exeext conftest.$ac_ext
30492 fi
30493 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
30494 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
30495
30496 if test $ac_cv_func_connect = no; then
30497 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
30498 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
30499 if test "${ac_cv_lib_socket_connect+set}" = set; then
30500 echo $ECHO_N "(cached) $ECHO_C" >&6
30501 else
30502 ac_check_lib_save_LIBS=$LIBS
30503 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
30504 cat >conftest.$ac_ext <<_ACEOF
30505 /* confdefs.h. */
30506 _ACEOF
30507 cat confdefs.h >>conftest.$ac_ext
30508 cat >>conftest.$ac_ext <<_ACEOF
30509 /* end confdefs.h. */
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 connect ();
30518 int
30519 main ()
30520 {
30521 return connect ();
30522 ;
30523 return 0;
30524 }
30525 _ACEOF
30526 rm -f conftest.$ac_objext conftest$ac_exeext
30527 if { (ac_try="$ac_link"
30528 case "(($ac_try" in
30529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30530 *) ac_try_echo=$ac_try;;
30531 esac
30532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30533 (eval "$ac_link") 2>conftest.er1
30534 ac_status=$?
30535 grep -v '^ *+' conftest.er1 >conftest.err
30536 rm -f conftest.er1
30537 cat conftest.err >&5
30538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30539 (exit $ac_status); } && {
30540 test -z "$ac_c_werror_flag" ||
30541 test ! -s conftest.err
30542 } && test -s conftest$ac_exeext &&
30543 $as_test_x conftest$ac_exeext; then
30544 ac_cv_lib_socket_connect=yes
30545 else
30546 echo "$as_me: failed program was:" >&5
30547 sed 's/^/| /' conftest.$ac_ext >&5
30548
30549 ac_cv_lib_socket_connect=no
30550 fi
30551
30552 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30553 conftest$ac_exeext conftest.$ac_ext
30554 LIBS=$ac_check_lib_save_LIBS
30555 fi
30556 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
30557 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
30558 if test $ac_cv_lib_socket_connect = yes; then
30559 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
30560 fi
30561
30562 fi
30563
30564 # Guillermo Gomez says -lposix is necessary on A/UX.
30565 { echo "$as_me:$LINENO: checking for remove" >&5
30566 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
30567 if test "${ac_cv_func_remove+set}" = set; then
30568 echo $ECHO_N "(cached) $ECHO_C" >&6
30569 else
30570 cat >conftest.$ac_ext <<_ACEOF
30571 /* confdefs.h. */
30572 _ACEOF
30573 cat confdefs.h >>conftest.$ac_ext
30574 cat >>conftest.$ac_ext <<_ACEOF
30575 /* end confdefs.h. */
30576 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
30577 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30578 #define remove innocuous_remove
30579
30580 /* System header to define __stub macros and hopefully few prototypes,
30581 which can conflict with char remove (); below.
30582 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30583 <limits.h> exists even on freestanding compilers. */
30584
30585 #ifdef __STDC__
30586 # include <limits.h>
30587 #else
30588 # include <assert.h>
30589 #endif
30590
30591 #undef remove
30592
30593 /* Override any GCC internal prototype to avoid an error.
30594 Use char because int might match the return type of a GCC
30595 builtin and then its argument prototype would still apply. */
30596 #ifdef __cplusplus
30597 extern "C"
30598 #endif
30599 char remove ();
30600 /* The GNU C library defines this for functions which it implements
30601 to always fail with ENOSYS. Some functions are actually named
30602 something starting with __ and the normal name is an alias. */
30603 #if defined __stub_remove || defined __stub___remove
30604 choke me
30605 #endif
30606
30607 int
30608 main ()
30609 {
30610 return remove ();
30611 ;
30612 return 0;
30613 }
30614 _ACEOF
30615 rm -f conftest.$ac_objext conftest$ac_exeext
30616 if { (ac_try="$ac_link"
30617 case "(($ac_try" in
30618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30619 *) ac_try_echo=$ac_try;;
30620 esac
30621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30622 (eval "$ac_link") 2>conftest.er1
30623 ac_status=$?
30624 grep -v '^ *+' conftest.er1 >conftest.err
30625 rm -f conftest.er1
30626 cat conftest.err >&5
30627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30628 (exit $ac_status); } && {
30629 test -z "$ac_c_werror_flag" ||
30630 test ! -s conftest.err
30631 } && test -s conftest$ac_exeext &&
30632 $as_test_x conftest$ac_exeext; then
30633 ac_cv_func_remove=yes
30634 else
30635 echo "$as_me: failed program was:" >&5
30636 sed 's/^/| /' conftest.$ac_ext >&5
30637
30638 ac_cv_func_remove=no
30639 fi
30640
30641 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30642 conftest$ac_exeext conftest.$ac_ext
30643 fi
30644 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30645 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30646
30647 if test $ac_cv_func_remove = no; then
30648 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30649 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30650 if test "${ac_cv_lib_posix_remove+set}" = set; then
30651 echo $ECHO_N "(cached) $ECHO_C" >&6
30652 else
30653 ac_check_lib_save_LIBS=$LIBS
30654 LIBS="-lposix $LIBS"
30655 cat >conftest.$ac_ext <<_ACEOF
30656 /* confdefs.h. */
30657 _ACEOF
30658 cat confdefs.h >>conftest.$ac_ext
30659 cat >>conftest.$ac_ext <<_ACEOF
30660 /* end confdefs.h. */
30661
30662 /* Override any GCC internal prototype to avoid an error.
30663 Use char because int might match the return type of a GCC
30664 builtin and then its argument prototype would still apply. */
30665 #ifdef __cplusplus
30666 extern "C"
30667 #endif
30668 char remove ();
30669 int
30670 main ()
30671 {
30672 return remove ();
30673 ;
30674 return 0;
30675 }
30676 _ACEOF
30677 rm -f conftest.$ac_objext conftest$ac_exeext
30678 if { (ac_try="$ac_link"
30679 case "(($ac_try" in
30680 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30681 *) ac_try_echo=$ac_try;;
30682 esac
30683 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30684 (eval "$ac_link") 2>conftest.er1
30685 ac_status=$?
30686 grep -v '^ *+' conftest.er1 >conftest.err
30687 rm -f conftest.er1
30688 cat conftest.err >&5
30689 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30690 (exit $ac_status); } && {
30691 test -z "$ac_c_werror_flag" ||
30692 test ! -s conftest.err
30693 } && test -s conftest$ac_exeext &&
30694 $as_test_x conftest$ac_exeext; then
30695 ac_cv_lib_posix_remove=yes
30696 else
30697 echo "$as_me: failed program was:" >&5
30698 sed 's/^/| /' conftest.$ac_ext >&5
30699
30700 ac_cv_lib_posix_remove=no
30701 fi
30702
30703 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30704 conftest$ac_exeext conftest.$ac_ext
30705 LIBS=$ac_check_lib_save_LIBS
30706 fi
30707 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30708 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30709 if test $ac_cv_lib_posix_remove = yes; then
30710 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30711 fi
30712
30713 fi
30714
30715 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30716 { echo "$as_me:$LINENO: checking for shmat" >&5
30717 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30718 if test "${ac_cv_func_shmat+set}" = set; then
30719 echo $ECHO_N "(cached) $ECHO_C" >&6
30720 else
30721 cat >conftest.$ac_ext <<_ACEOF
30722 /* confdefs.h. */
30723 _ACEOF
30724 cat confdefs.h >>conftest.$ac_ext
30725 cat >>conftest.$ac_ext <<_ACEOF
30726 /* end confdefs.h. */
30727 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30728 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30729 #define shmat innocuous_shmat
30730
30731 /* System header to define __stub macros and hopefully few prototypes,
30732 which can conflict with char shmat (); below.
30733 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30734 <limits.h> exists even on freestanding compilers. */
30735
30736 #ifdef __STDC__
30737 # include <limits.h>
30738 #else
30739 # include <assert.h>
30740 #endif
30741
30742 #undef shmat
30743
30744 /* Override any GCC internal prototype to avoid an error.
30745 Use char because int might match the return type of a GCC
30746 builtin and then its argument prototype would still apply. */
30747 #ifdef __cplusplus
30748 extern "C"
30749 #endif
30750 char shmat ();
30751 /* The GNU C library defines this for functions which it implements
30752 to always fail with ENOSYS. Some functions are actually named
30753 something starting with __ and the normal name is an alias. */
30754 #if defined __stub_shmat || defined __stub___shmat
30755 choke me
30756 #endif
30757
30758 int
30759 main ()
30760 {
30761 return shmat ();
30762 ;
30763 return 0;
30764 }
30765 _ACEOF
30766 rm -f conftest.$ac_objext conftest$ac_exeext
30767 if { (ac_try="$ac_link"
30768 case "(($ac_try" in
30769 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30770 *) ac_try_echo=$ac_try;;
30771 esac
30772 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30773 (eval "$ac_link") 2>conftest.er1
30774 ac_status=$?
30775 grep -v '^ *+' conftest.er1 >conftest.err
30776 rm -f conftest.er1
30777 cat conftest.err >&5
30778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30779 (exit $ac_status); } && {
30780 test -z "$ac_c_werror_flag" ||
30781 test ! -s conftest.err
30782 } && test -s conftest$ac_exeext &&
30783 $as_test_x conftest$ac_exeext; then
30784 ac_cv_func_shmat=yes
30785 else
30786 echo "$as_me: failed program was:" >&5
30787 sed 's/^/| /' conftest.$ac_ext >&5
30788
30789 ac_cv_func_shmat=no
30790 fi
30791
30792 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30793 conftest$ac_exeext conftest.$ac_ext
30794 fi
30795 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30796 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30797
30798 if test $ac_cv_func_shmat = no; then
30799 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30800 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30801 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30802 echo $ECHO_N "(cached) $ECHO_C" >&6
30803 else
30804 ac_check_lib_save_LIBS=$LIBS
30805 LIBS="-lipc $LIBS"
30806 cat >conftest.$ac_ext <<_ACEOF
30807 /* confdefs.h. */
30808 _ACEOF
30809 cat confdefs.h >>conftest.$ac_ext
30810 cat >>conftest.$ac_ext <<_ACEOF
30811 /* end confdefs.h. */
30812
30813 /* Override any GCC internal prototype to avoid an error.
30814 Use char because int might match the return type of a GCC
30815 builtin and then its argument prototype would still apply. */
30816 #ifdef __cplusplus
30817 extern "C"
30818 #endif
30819 char shmat ();
30820 int
30821 main ()
30822 {
30823 return shmat ();
30824 ;
30825 return 0;
30826 }
30827 _ACEOF
30828 rm -f conftest.$ac_objext conftest$ac_exeext
30829 if { (ac_try="$ac_link"
30830 case "(($ac_try" in
30831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30832 *) ac_try_echo=$ac_try;;
30833 esac
30834 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30835 (eval "$ac_link") 2>conftest.er1
30836 ac_status=$?
30837 grep -v '^ *+' conftest.er1 >conftest.err
30838 rm -f conftest.er1
30839 cat conftest.err >&5
30840 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30841 (exit $ac_status); } && {
30842 test -z "$ac_c_werror_flag" ||
30843 test ! -s conftest.err
30844 } && test -s conftest$ac_exeext &&
30845 $as_test_x conftest$ac_exeext; then
30846 ac_cv_lib_ipc_shmat=yes
30847 else
30848 echo "$as_me: failed program was:" >&5
30849 sed 's/^/| /' conftest.$ac_ext >&5
30850
30851 ac_cv_lib_ipc_shmat=no
30852 fi
30853
30854 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30855 conftest$ac_exeext conftest.$ac_ext
30856 LIBS=$ac_check_lib_save_LIBS
30857 fi
30858 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30859 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30860 if test $ac_cv_lib_ipc_shmat = yes; then
30861 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30862 fi
30863
30864 fi
30865 fi
30866
30867 # Check for libraries that X11R6 Xt/Xaw programs need.
30868 ac_save_LDFLAGS=$LDFLAGS
30869 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30870 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30871 # check for ICE first), but we must link in the order -lSM -lICE or
30872 # we get undefined symbols. So assume we have SM if we have ICE.
30873 # These have to be linked with before -lX11, unlike the other
30874 # libraries we check for below, so use a different variable.
30875 # John Interrante, Karl Berry
30876 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30877 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30878 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30879 echo $ECHO_N "(cached) $ECHO_C" >&6
30880 else
30881 ac_check_lib_save_LIBS=$LIBS
30882 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30883 cat >conftest.$ac_ext <<_ACEOF
30884 /* confdefs.h. */
30885 _ACEOF
30886 cat confdefs.h >>conftest.$ac_ext
30887 cat >>conftest.$ac_ext <<_ACEOF
30888 /* end confdefs.h. */
30889
30890 /* Override any GCC internal prototype to avoid an error.
30891 Use char because int might match the return type of a GCC
30892 builtin and then its argument prototype would still apply. */
30893 #ifdef __cplusplus
30894 extern "C"
30895 #endif
30896 char IceConnectionNumber ();
30897 int
30898 main ()
30899 {
30900 return IceConnectionNumber ();
30901 ;
30902 return 0;
30903 }
30904 _ACEOF
30905 rm -f conftest.$ac_objext conftest$ac_exeext
30906 if { (ac_try="$ac_link"
30907 case "(($ac_try" in
30908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30909 *) ac_try_echo=$ac_try;;
30910 esac
30911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30912 (eval "$ac_link") 2>conftest.er1
30913 ac_status=$?
30914 grep -v '^ *+' conftest.er1 >conftest.err
30915 rm -f conftest.er1
30916 cat conftest.err >&5
30917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30918 (exit $ac_status); } && {
30919 test -z "$ac_c_werror_flag" ||
30920 test ! -s conftest.err
30921 } && test -s conftest$ac_exeext &&
30922 $as_test_x conftest$ac_exeext; then
30923 ac_cv_lib_ICE_IceConnectionNumber=yes
30924 else
30925 echo "$as_me: failed program was:" >&5
30926 sed 's/^/| /' conftest.$ac_ext >&5
30927
30928 ac_cv_lib_ICE_IceConnectionNumber=no
30929 fi
30930
30931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30932 conftest$ac_exeext conftest.$ac_ext
30933 LIBS=$ac_check_lib_save_LIBS
30934 fi
30935 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30936 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30937 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30938 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30939 fi
30940
30941 LDFLAGS=$ac_save_LDFLAGS
30942
30943 fi
30944
30945
30946 if test "$no_x" = "yes"; then
30947 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30948 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30949 { (exit 1); exit 1; }; }
30950 fi
30951
30952 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30953 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30954 AFMINSTALL=afminstall
30955 COMPILED_X_PROGRAM=0
30956
30957 fi
30958
30959 if test "$wxUSE_X11" = 1; then
30960 if test "$wxUSE_NANOX" = "yes"; then
30961 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30962 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30963 if test "x$MICROWIN" = x ; then
30964 { echo "$as_me:$LINENO: result: not found" >&5
30965 echo "${ECHO_T}not found" >&6; }
30966 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30967 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30968 { (exit 1); exit 1; }; }
30969 else
30970 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30971 echo "${ECHO_T}$MICROWIN" >&6; }
30972 cat >>confdefs.h <<\_ACEOF
30973 #define wxUSE_NANOX 1
30974 _ACEOF
30975
30976 fi
30977 fi
30978
30979 if test "$wxUSE_UNICODE" = "yes"; then
30980
30981
30982 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30983 if test -n "$ac_tool_prefix"; then
30984 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30985 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30986 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30987 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30988 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30989 echo $ECHO_N "(cached) $ECHO_C" >&6
30990 else
30991 case $PKG_CONFIG in
30992 [\\/]* | ?:[\\/]*)
30993 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30994 ;;
30995 *)
30996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30997 for as_dir in $PATH
30998 do
30999 IFS=$as_save_IFS
31000 test -z "$as_dir" && as_dir=.
31001 for ac_exec_ext in '' $ac_executable_extensions; do
31002 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31003 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31004 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31005 break 2
31006 fi
31007 done
31008 done
31009 IFS=$as_save_IFS
31010
31011 ;;
31012 esac
31013 fi
31014 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
31015 if test -n "$PKG_CONFIG"; then
31016 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
31017 echo "${ECHO_T}$PKG_CONFIG" >&6; }
31018 else
31019 { echo "$as_me:$LINENO: result: no" >&5
31020 echo "${ECHO_T}no" >&6; }
31021 fi
31022
31023
31024 fi
31025 if test -z "$ac_cv_path_PKG_CONFIG"; then
31026 ac_pt_PKG_CONFIG=$PKG_CONFIG
31027 # Extract the first word of "pkg-config", so it can be a program name with args.
31028 set dummy pkg-config; ac_word=$2
31029 { echo "$as_me:$LINENO: checking for $ac_word" >&5
31030 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
31031 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
31032 echo $ECHO_N "(cached) $ECHO_C" >&6
31033 else
31034 case $ac_pt_PKG_CONFIG in
31035 [\\/]* | ?:[\\/]*)
31036 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
31037 ;;
31038 *)
31039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
31040 for as_dir in $PATH
31041 do
31042 IFS=$as_save_IFS
31043 test -z "$as_dir" && as_dir=.
31044 for ac_exec_ext in '' $ac_executable_extensions; do
31045 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
31046 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
31047 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
31048 break 2
31049 fi
31050 done
31051 done
31052 IFS=$as_save_IFS
31053
31054 ;;
31055 esac
31056 fi
31057 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
31058 if test -n "$ac_pt_PKG_CONFIG"; then
31059 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
31060 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
31061 else
31062 { echo "$as_me:$LINENO: result: no" >&5
31063 echo "${ECHO_T}no" >&6; }
31064 fi
31065
31066 if test "x$ac_pt_PKG_CONFIG" = x; then
31067 PKG_CONFIG=""
31068 else
31069 case $cross_compiling:$ac_tool_warned in
31070 yes:)
31071 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
31072 whose name does not start with the host triplet. If you think this
31073 configuration is useful to you, please write to autoconf@gnu.org." >&5
31074 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
31075 whose name does not start with the host triplet. If you think this
31076 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
31077 ac_tool_warned=yes ;;
31078 esac
31079 PKG_CONFIG=$ac_pt_PKG_CONFIG
31080 fi
31081 else
31082 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
31083 fi
31084
31085 fi
31086 if test -n "$PKG_CONFIG"; then
31087 _pkg_min_version=0.9.0
31088 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
31089 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
31090 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
31091 { echo "$as_me:$LINENO: result: yes" >&5
31092 echo "${ECHO_T}yes" >&6; }
31093 else
31094 { echo "$as_me:$LINENO: result: no" >&5
31095 echo "${ECHO_T}no" >&6; }
31096 PKG_CONFIG=""
31097 fi
31098
31099 fi
31100
31101
31102 pkg_failed=no
31103 { echo "$as_me:$LINENO: checking for PANGOX" >&5
31104 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
31105
31106 if test -n "$PKG_CONFIG"; then
31107 if test -n "$PANGOX_CFLAGS"; then
31108 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
31109 else
31110 if test -n "$PKG_CONFIG" && \
31111 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31112 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31113 ac_status=$?
31114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31115 (exit $ac_status); }; then
31116 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
31117 else
31118 pkg_failed=yes
31119 fi
31120 fi
31121 else
31122 pkg_failed=untried
31123 fi
31124 if test -n "$PKG_CONFIG"; then
31125 if test -n "$PANGOX_LIBS"; then
31126 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
31127 else
31128 if test -n "$PKG_CONFIG" && \
31129 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
31130 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
31131 ac_status=$?
31132 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31133 (exit $ac_status); }; then
31134 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
31135 else
31136 pkg_failed=yes
31137 fi
31138 fi
31139 else
31140 pkg_failed=untried
31141 fi
31142
31143
31144
31145 if test $pkg_failed = yes; then
31146
31147 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31148 _pkg_short_errors_supported=yes
31149 else
31150 _pkg_short_errors_supported=no
31151 fi
31152 if test $_pkg_short_errors_supported = yes; then
31153 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
31154 else
31155 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
31156 fi
31157 # Put the nasty error message in config.log where it belongs
31158 echo "$PANGOX_PKG_ERRORS" >&5
31159
31160
31161 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31162 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31163 { (exit 1); exit 1; }; }
31164
31165
31166 elif test $pkg_failed = untried; then
31167
31168 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
31169 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
31170 { (exit 1); exit 1; }; }
31171
31172
31173 else
31174 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
31175 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
31176 { echo "$as_me:$LINENO: result: yes" >&5
31177 echo "${ECHO_T}yes" >&6; }
31178
31179 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
31180 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
31181 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
31182
31183 fi
31184
31185 pkg_failed=no
31186 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
31187 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
31188
31189 if test -n "$PKG_CONFIG"; then
31190 if test -n "$PANGOFT2_CFLAGS"; then
31191 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
31192 else
31193 if test -n "$PKG_CONFIG" && \
31194 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31195 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31196 ac_status=$?
31197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31198 (exit $ac_status); }; then
31199 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
31200 else
31201 pkg_failed=yes
31202 fi
31203 fi
31204 else
31205 pkg_failed=untried
31206 fi
31207 if test -n "$PKG_CONFIG"; then
31208 if test -n "$PANGOFT2_LIBS"; then
31209 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
31210 else
31211 if test -n "$PKG_CONFIG" && \
31212 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
31213 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
31214 ac_status=$?
31215 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31216 (exit $ac_status); }; then
31217 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
31218 else
31219 pkg_failed=yes
31220 fi
31221 fi
31222 else
31223 pkg_failed=untried
31224 fi
31225
31226
31227
31228 if test $pkg_failed = yes; then
31229
31230 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31231 _pkg_short_errors_supported=yes
31232 else
31233 _pkg_short_errors_supported=no
31234 fi
31235 if test $_pkg_short_errors_supported = yes; then
31236 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
31237 else
31238 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
31239 fi
31240 # Put the nasty error message in config.log where it belongs
31241 echo "$PANGOFT2_PKG_ERRORS" >&5
31242
31243
31244 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31245 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31246 wxUSE_PRINTING_ARCHITECTURE="no"
31247
31248
31249 elif test $pkg_failed = untried; then
31250
31251 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
31252 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
31253 wxUSE_PRINTING_ARCHITECTURE="no"
31254
31255
31256 else
31257 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
31258 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
31259 { echo "$as_me:$LINENO: result: yes" >&5
31260 echo "${ECHO_T}yes" >&6; }
31261
31262 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
31263 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
31264 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
31265
31266 fi
31267
31268 pkg_failed=no
31269 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
31270 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
31271
31272 if test -n "$PKG_CONFIG"; then
31273 if test -n "$PANGOXFT_CFLAGS"; then
31274 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
31275 else
31276 if test -n "$PKG_CONFIG" && \
31277 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31278 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31279 ac_status=$?
31280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31281 (exit $ac_status); }; then
31282 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
31283 else
31284 pkg_failed=yes
31285 fi
31286 fi
31287 else
31288 pkg_failed=untried
31289 fi
31290 if test -n "$PKG_CONFIG"; then
31291 if test -n "$PANGOXFT_LIBS"; then
31292 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
31293 else
31294 if test -n "$PKG_CONFIG" && \
31295 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
31296 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
31297 ac_status=$?
31298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31299 (exit $ac_status); }; then
31300 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
31301 else
31302 pkg_failed=yes
31303 fi
31304 fi
31305 else
31306 pkg_failed=untried
31307 fi
31308
31309
31310
31311 if test $pkg_failed = yes; then
31312
31313 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
31314 _pkg_short_errors_supported=yes
31315 else
31316 _pkg_short_errors_supported=no
31317 fi
31318 if test $_pkg_short_errors_supported = yes; then
31319 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
31320 else
31321 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
31322 fi
31323 # Put the nasty error message in config.log where it belongs
31324 echo "$PANGOXFT_PKG_ERRORS" >&5
31325
31326
31327 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31328 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31329
31330
31331 elif test $pkg_failed = untried; then
31332
31333 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
31334 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
31335
31336
31337 else
31338 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
31339 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
31340 { echo "$as_me:$LINENO: result: yes" >&5
31341 echo "${ECHO_T}yes" >&6; }
31342
31343 cat >>confdefs.h <<\_ACEOF
31344 #define HAVE_PANGO_XFT 1
31345 _ACEOF
31346
31347 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
31348 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
31349 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
31350
31351 fi
31352 save_LIBS="$LIBS"
31353 LIBS="$LIBS $PANGOX_LIBS"
31354
31355 for ac_func in pango_font_family_is_monospace
31356 do
31357 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
31358 { echo "$as_me:$LINENO: checking for $ac_func" >&5
31359 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
31360 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
31361 echo $ECHO_N "(cached) $ECHO_C" >&6
31362 else
31363 cat >conftest.$ac_ext <<_ACEOF
31364 /* confdefs.h. */
31365 _ACEOF
31366 cat confdefs.h >>conftest.$ac_ext
31367 cat >>conftest.$ac_ext <<_ACEOF
31368 /* end confdefs.h. */
31369 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
31370 For example, HP-UX 11i <limits.h> declares gettimeofday. */
31371 #define $ac_func innocuous_$ac_func
31372
31373 /* System header to define __stub macros and hopefully few prototypes,
31374 which can conflict with char $ac_func (); below.
31375 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
31376 <limits.h> exists even on freestanding compilers. */
31377
31378 #ifdef __STDC__
31379 # include <limits.h>
31380 #else
31381 # include <assert.h>
31382 #endif
31383
31384 #undef $ac_func
31385
31386 /* Override any GCC internal prototype to avoid an error.
31387 Use char because int might match the return type of a GCC
31388 builtin and then its argument prototype would still apply. */
31389 #ifdef __cplusplus
31390 extern "C"
31391 #endif
31392 char $ac_func ();
31393 /* The GNU C library defines this for functions which it implements
31394 to always fail with ENOSYS. Some functions are actually named
31395 something starting with __ and the normal name is an alias. */
31396 #if defined __stub_$ac_func || defined __stub___$ac_func
31397 choke me
31398 #endif
31399
31400 int
31401 main ()
31402 {
31403 return $ac_func ();
31404 ;
31405 return 0;
31406 }
31407 _ACEOF
31408 rm -f conftest.$ac_objext conftest$ac_exeext
31409 if { (ac_try="$ac_link"
31410 case "(($ac_try" in
31411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31412 *) ac_try_echo=$ac_try;;
31413 esac
31414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31415 (eval "$ac_link") 2>conftest.er1
31416 ac_status=$?
31417 grep -v '^ *+' conftest.er1 >conftest.err
31418 rm -f conftest.er1
31419 cat conftest.err >&5
31420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31421 (exit $ac_status); } && {
31422 test -z "$ac_c_werror_flag" ||
31423 test ! -s conftest.err
31424 } && test -s conftest$ac_exeext &&
31425 $as_test_x conftest$ac_exeext; then
31426 eval "$as_ac_var=yes"
31427 else
31428 echo "$as_me: failed program was:" >&5
31429 sed 's/^/| /' conftest.$ac_ext >&5
31430
31431 eval "$as_ac_var=no"
31432 fi
31433
31434 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31435 conftest$ac_exeext conftest.$ac_ext
31436 fi
31437 ac_res=`eval echo '${'$as_ac_var'}'`
31438 { echo "$as_me:$LINENO: result: $ac_res" >&5
31439 echo "${ECHO_T}$ac_res" >&6; }
31440 if test `eval echo '${'$as_ac_var'}'` = yes; then
31441 cat >>confdefs.h <<_ACEOF
31442 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
31443 _ACEOF
31444
31445 fi
31446 done
31447
31448 LIBS="$save_LIBS"
31449 fi
31450
31451 wxUSE_UNIVERSAL="yes"
31452
31453 if test "$wxUSE_NANOX" = "yes"; then
31454 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
31455 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"
31456 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
31457 else
31458 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
31459 fi
31460
31461 TOOLKIT=X11
31462 GUIDIST=X11_DIST
31463 fi
31464
31465 if test "$wxUSE_MOTIF" = 1; then
31466 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
31467 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
31468
31469 ac_find_includes=
31470 for ac_dir in $SEARCH_INCLUDE /usr/include;
31471 do
31472 if test -f "$ac_dir/Xm/Xm.h"; then
31473 ac_find_includes=$ac_dir
31474 break
31475 fi
31476 done
31477
31478 if test "$ac_find_includes" != "" ; then
31479 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
31480 echo "${ECHO_T}found in $ac_find_includes" >&6; }
31481
31482 if test "x$ac_find_includes" = "x/usr/include"; then
31483 ac_path_to_include=""
31484 else
31485 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
31486 result=$?
31487 if test $result = 0; then
31488 ac_path_to_include=""
31489 else
31490 ac_path_to_include=" -I$ac_find_includes"
31491 fi
31492 fi
31493
31494 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
31495 else
31496 save_CFLAGS=$CFLAGS
31497 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31498
31499 cat >conftest.$ac_ext <<_ACEOF
31500 /* confdefs.h. */
31501 _ACEOF
31502 cat confdefs.h >>conftest.$ac_ext
31503 cat >>conftest.$ac_ext <<_ACEOF
31504 /* end confdefs.h. */
31505
31506 #include <Xm/Xm.h>
31507
31508 int
31509 main ()
31510 {
31511
31512 int version;
31513 version = xmUseVersion;
31514
31515 ;
31516 return 0;
31517 }
31518 _ACEOF
31519 rm -f conftest.$ac_objext
31520 if { (ac_try="$ac_compile"
31521 case "(($ac_try" in
31522 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31523 *) ac_try_echo=$ac_try;;
31524 esac
31525 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31526 (eval "$ac_compile") 2>conftest.er1
31527 ac_status=$?
31528 grep -v '^ *+' conftest.er1 >conftest.err
31529 rm -f conftest.er1
31530 cat conftest.err >&5
31531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31532 (exit $ac_status); } && {
31533 test -z "$ac_c_werror_flag" ||
31534 test ! -s conftest.err
31535 } && test -s conftest.$ac_objext; then
31536
31537 { echo "$as_me:$LINENO: result: found in default search path" >&5
31538 echo "${ECHO_T}found in default search path" >&6; }
31539 COMPILED_X_PROGRAM=1
31540
31541 else
31542 echo "$as_me: failed program was:" >&5
31543 sed 's/^/| /' conftest.$ac_ext >&5
31544
31545
31546 { echo "$as_me:$LINENO: result: no" >&5
31547 echo "${ECHO_T}no" >&6; }
31548 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
31549 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
31550 { (exit 1); exit 1; }; }
31551
31552
31553 fi
31554
31555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31556
31557 CFLAGS=$save_CFLAGS
31558 fi
31559
31560
31561 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
31562 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
31563
31564 ac_find_libraries=
31565 for ac_dir in $SEARCH_LIB;
31566 do
31567 for ac_extension in a so sl dylib dll.a; do
31568 if test -f "$ac_dir/libXm.$ac_extension"; then
31569 ac_find_libraries=$ac_dir
31570 break 2
31571 fi
31572 done
31573 done
31574
31575
31576 if test "x$ac_find_libraries" != "x" ; then
31577 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31578 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31579
31580
31581 if test "$ac_find_libraries" = "default location"; then
31582 ac_path_to_link=""
31583 else
31584 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31585 result=$?
31586 if test $result = 0; then
31587 ac_path_to_link=""
31588 else
31589 ac_path_to_link=" -L$ac_find_libraries"
31590 fi
31591 fi
31592
31593 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31594 else
31595 save_CFLAGS=$CFLAGS
31596 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31597 save_LIBS="$LIBS"
31598 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
31599
31600 cat >conftest.$ac_ext <<_ACEOF
31601 /* confdefs.h. */
31602 _ACEOF
31603 cat confdefs.h >>conftest.$ac_ext
31604 cat >>conftest.$ac_ext <<_ACEOF
31605 /* end confdefs.h. */
31606
31607 #include <Xm/Xm.h>
31608
31609 int
31610 main ()
31611 {
31612
31613 int version;
31614 version = xmUseVersion;
31615
31616 ;
31617 return 0;
31618 }
31619 _ACEOF
31620 rm -f conftest.$ac_objext conftest$ac_exeext
31621 if { (ac_try="$ac_link"
31622 case "(($ac_try" in
31623 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31624 *) ac_try_echo=$ac_try;;
31625 esac
31626 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31627 (eval "$ac_link") 2>conftest.er1
31628 ac_status=$?
31629 grep -v '^ *+' conftest.er1 >conftest.err
31630 rm -f conftest.er1
31631 cat conftest.err >&5
31632 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31633 (exit $ac_status); } && {
31634 test -z "$ac_c_werror_flag" ||
31635 test ! -s conftest.err
31636 } && test -s conftest$ac_exeext &&
31637 $as_test_x conftest$ac_exeext; then
31638
31639 { echo "$as_me:$LINENO: result: found in default search path" >&5
31640 echo "${ECHO_T}found in default search path" >&6; }
31641 COMPILED_X_PROGRAM=1
31642
31643 else
31644 echo "$as_me: failed program was:" >&5
31645 sed 's/^/| /' conftest.$ac_ext >&5
31646
31647
31648 { echo "$as_me:$LINENO: result: no" >&5
31649 echo "${ECHO_T}no" >&6; }
31650 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31651 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31652 { (exit 1); exit 1; }; }
31653
31654
31655 fi
31656
31657 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31658 conftest$ac_exeext conftest.$ac_ext
31659
31660 CFLAGS=$save_CFLAGS
31661 LIBS="$save_LIBS"
31662 fi
31663
31664 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31665 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31666 libp_link=""
31667 libsm_ice_link=""
31668 libs_found=0
31669 for libp in "" " -lXp"; do
31670 if test "$libs_found" = 0; then
31671 for libsm_ice in "" " -lSM -lICE"; do
31672 if test "$libs_found" = 0; then
31673 save_LIBS="$LIBS"
31674 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31675 save_CFLAGS=$CFLAGS
31676 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31677
31678 cat >conftest.$ac_ext <<_ACEOF
31679 /* confdefs.h. */
31680 _ACEOF
31681 cat confdefs.h >>conftest.$ac_ext
31682 cat >>conftest.$ac_ext <<_ACEOF
31683 /* end confdefs.h. */
31684
31685 #include <Xm/Xm.h>
31686 #include <Xm/List.h>
31687
31688 int
31689 main ()
31690 {
31691
31692 XmString string = NULL;
31693 Widget w = NULL;
31694 int position = 0;
31695 XmListAddItem(w, string, position);
31696
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
31720 libp_link="$libp"
31721 libsm_ice_link="$libsm_ice"
31722 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31723 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31724 libs_found=1
31725
31726 else
31727 echo "$as_me: failed program was:" >&5
31728 sed 's/^/| /' conftest.$ac_ext >&5
31729
31730
31731
31732 fi
31733
31734 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31735 conftest$ac_exeext conftest.$ac_ext
31736
31737 LIBS="$save_LIBS"
31738 CFLAGS=$save_CFLAGS
31739 fi
31740 done
31741 fi
31742 done
31743
31744 if test "$libs_found" = 0; then
31745 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31746 echo "${ECHO_T}can't find the right libraries" >&6; }
31747 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31748 echo "$as_me: error: can't link a simple motif program" >&2;}
31749 { (exit 1); exit 1; }; }
31750 fi
31751
31752 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31753 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31754 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31755 echo $ECHO_N "(cached) $ECHO_C" >&6
31756 else
31757 ac_check_lib_save_LIBS=$LIBS
31758 LIBS="-lSgm $LIBS"
31759 cat >conftest.$ac_ext <<_ACEOF
31760 /* confdefs.h. */
31761 _ACEOF
31762 cat confdefs.h >>conftest.$ac_ext
31763 cat >>conftest.$ac_ext <<_ACEOF
31764 /* end confdefs.h. */
31765
31766 /* Override any GCC internal prototype to avoid an error.
31767 Use char because int might match the return type of a GCC
31768 builtin and then its argument prototype would still apply. */
31769 #ifdef __cplusplus
31770 extern "C"
31771 #endif
31772 char SgCreateList ();
31773 int
31774 main ()
31775 {
31776 return SgCreateList ();
31777 ;
31778 return 0;
31779 }
31780 _ACEOF
31781 rm -f conftest.$ac_objext conftest$ac_exeext
31782 if { (ac_try="$ac_link"
31783 case "(($ac_try" in
31784 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31785 *) ac_try_echo=$ac_try;;
31786 esac
31787 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31788 (eval "$ac_link") 2>conftest.er1
31789 ac_status=$?
31790 grep -v '^ *+' conftest.er1 >conftest.err
31791 rm -f conftest.er1
31792 cat conftest.err >&5
31793 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31794 (exit $ac_status); } && {
31795 test -z "$ac_c_werror_flag" ||
31796 test ! -s conftest.err
31797 } && test -s conftest$ac_exeext &&
31798 $as_test_x conftest$ac_exeext; then
31799 ac_cv_lib_Sgm_SgCreateList=yes
31800 else
31801 echo "$as_me: failed program was:" >&5
31802 sed 's/^/| /' conftest.$ac_ext >&5
31803
31804 ac_cv_lib_Sgm_SgCreateList=no
31805 fi
31806
31807 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31808 conftest$ac_exeext conftest.$ac_ext
31809 LIBS=$ac_check_lib_save_LIBS
31810 fi
31811 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31812 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31813 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31814 libsgm_link=" -lSgm"
31815 fi
31816
31817
31818 save_CFLAGS=$CFLAGS
31819 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31820
31821 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31822 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31823 if test "${wx_cv_lib_motif2+set}" = set; then
31824 echo $ECHO_N "(cached) $ECHO_C" >&6
31825 else
31826 cat >conftest.$ac_ext <<_ACEOF
31827 /* confdefs.h. */
31828 _ACEOF
31829 cat confdefs.h >>conftest.$ac_ext
31830 cat >>conftest.$ac_ext <<_ACEOF
31831 /* end confdefs.h. */
31832
31833 #include <Xm/Xm.h>
31834
31835 int
31836 main ()
31837 {
31838
31839 #if XmVersion < 2000
31840 Not Motif 2
31841 #endif
31842
31843 ;
31844 return 0;
31845 }
31846 _ACEOF
31847 rm -f conftest.$ac_objext
31848 if { (ac_try="$ac_compile"
31849 case "(($ac_try" in
31850 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31851 *) ac_try_echo=$ac_try;;
31852 esac
31853 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31854 (eval "$ac_compile") 2>conftest.er1
31855 ac_status=$?
31856 grep -v '^ *+' conftest.er1 >conftest.err
31857 rm -f conftest.er1
31858 cat conftest.err >&5
31859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31860 (exit $ac_status); } && {
31861 test -z "$ac_c_werror_flag" ||
31862 test ! -s conftest.err
31863 } && test -s conftest.$ac_objext; then
31864 wx_cv_lib_motif2="yes"
31865 else
31866 echo "$as_me: failed program was:" >&5
31867 sed 's/^/| /' conftest.$ac_ext >&5
31868
31869 wx_cv_lib_motif2="no"
31870 fi
31871
31872 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31873 fi
31874 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31875 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31876 if test "$wx_cv_lib_motif2" = "yes"; then
31877 cat >>confdefs.h <<\_ACEOF
31878 #define __WXMOTIF20__ 1
31879 _ACEOF
31880
31881 else
31882 cat >>confdefs.h <<\_ACEOF
31883 #define __WXMOTIF20__ 0
31884 _ACEOF
31885
31886 fi
31887
31888 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31889 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31890 if test "${wx_cv_lib_lesstif+set}" = set; then
31891 echo $ECHO_N "(cached) $ECHO_C" >&6
31892 else
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 #if !defined(LesstifVersion) || LesstifVersion <= 0
31907 Not Lesstif
31908 #endif
31909
31910 ;
31911 return 0;
31912 }
31913 _ACEOF
31914 rm -f conftest.$ac_objext
31915 if { (ac_try="$ac_compile"
31916 case "(($ac_try" in
31917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31918 *) ac_try_echo=$ac_try;;
31919 esac
31920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31921 (eval "$ac_compile") 2>conftest.er1
31922 ac_status=$?
31923 grep -v '^ *+' conftest.er1 >conftest.err
31924 rm -f conftest.er1
31925 cat conftest.err >&5
31926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31927 (exit $ac_status); } && {
31928 test -z "$ac_c_werror_flag" ||
31929 test ! -s conftest.err
31930 } && test -s conftest.$ac_objext; then
31931 wx_cv_lib_lesstif="yes"
31932 else
31933 echo "$as_me: failed program was:" >&5
31934 sed 's/^/| /' conftest.$ac_ext >&5
31935
31936 wx_cv_lib_lesstif="no"
31937 fi
31938
31939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31940
31941 fi
31942 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31943 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31944 if test "$wx_cv_lib_lesstif" = "yes"; then
31945 cat >>confdefs.h <<\_ACEOF
31946 #define __WXLESSTIF__ 1
31947 _ACEOF
31948
31949 else
31950 cat >>confdefs.h <<\_ACEOF
31951 #define __WXLESSTIF__ 0
31952 _ACEOF
31953
31954 fi
31955
31956 CFLAGS=$save_CFLAGS
31957
31958 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31959 TOOLKIT=MOTIF
31960 GUIDIST=MOTIF_DIST
31961 fi
31962
31963 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31964 if test "$wxUSE_LIBXPM" = "sys"; then
31965 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31966 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31967
31968 ac_find_libraries=
31969 for ac_dir in $SEARCH_LIB;
31970 do
31971 for ac_extension in a so sl dylib dll.a; do
31972 if test -f "$ac_dir/libXpm.$ac_extension"; then
31973 ac_find_libraries=$ac_dir
31974 break 2
31975 fi
31976 done
31977 done
31978
31979 if test "$ac_find_libraries" != "" ; then
31980
31981 if test "$ac_find_libraries" = "default location"; then
31982 ac_path_to_link=""
31983 else
31984 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31985 result=$?
31986 if test $result = 0; then
31987 ac_path_to_link=""
31988 else
31989 ac_path_to_link=" -L$ac_find_libraries"
31990 fi
31991 fi
31992
31993 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31994 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31995 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31996
31997 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31998 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31999 if test "${wx_cv_x11_xpm_h+set}" = set; then
32000 echo $ECHO_N "(cached) $ECHO_C" >&6
32001 else
32002
32003 save_CFLAGS=$CFLAGS
32004 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32005
32006 cat >conftest.$ac_ext <<_ACEOF
32007 /* confdefs.h. */
32008 _ACEOF
32009 cat confdefs.h >>conftest.$ac_ext
32010 cat >>conftest.$ac_ext <<_ACEOF
32011 /* end confdefs.h. */
32012
32013 #include <X11/xpm.h>
32014
32015 int
32016 main ()
32017 {
32018
32019 int version;
32020 version = XpmLibraryVersion();
32021
32022 ;
32023 return 0;
32024 }
32025 _ACEOF
32026 rm -f conftest.$ac_objext
32027 if { (ac_try="$ac_compile"
32028 case "(($ac_try" in
32029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32030 *) ac_try_echo=$ac_try;;
32031 esac
32032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32033 (eval "$ac_compile") 2>conftest.er1
32034 ac_status=$?
32035 grep -v '^ *+' conftest.er1 >conftest.err
32036 rm -f conftest.er1
32037 cat conftest.err >&5
32038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32039 (exit $ac_status); } && {
32040 test -z "$ac_c_werror_flag" ||
32041 test ! -s conftest.err
32042 } && test -s conftest.$ac_objext; then
32043 wx_cv_x11_xpm_h=yes
32044 else
32045 echo "$as_me: failed program was:" >&5
32046 sed 's/^/| /' conftest.$ac_ext >&5
32047
32048 wx_cv_x11_xpm_h=no
32049
32050 fi
32051
32052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32053
32054 CFLAGS=$save_CFLAGS
32055
32056
32057 fi
32058 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
32059 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
32060
32061 if test $wx_cv_x11_xpm_h = "yes"; then
32062 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
32063 cat >>confdefs.h <<\_ACEOF
32064 #define wxHAVE_LIB_XPM 1
32065 _ACEOF
32066
32067 else
32068 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
32069 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
32070 fi
32071 fi
32072
32073 fi
32074
32075 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
32076 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
32077 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
32078 echo $ECHO_N "(cached) $ECHO_C" >&6
32079 else
32080 ac_check_lib_save_LIBS=$LIBS
32081 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
32082 cat >conftest.$ac_ext <<_ACEOF
32083 /* confdefs.h. */
32084 _ACEOF
32085 cat confdefs.h >>conftest.$ac_ext
32086 cat >>conftest.$ac_ext <<_ACEOF
32087 /* end confdefs.h. */
32088
32089 /* Override any GCC internal prototype to avoid an error.
32090 Use char because int might match the return type of a GCC
32091 builtin and then its argument prototype would still apply. */
32092 #ifdef __cplusplus
32093 extern "C"
32094 #endif
32095 char XShapeQueryExtension ();
32096 int
32097 main ()
32098 {
32099 return XShapeQueryExtension ();
32100 ;
32101 return 0;
32102 }
32103 _ACEOF
32104 rm -f conftest.$ac_objext conftest$ac_exeext
32105 if { (ac_try="$ac_link"
32106 case "(($ac_try" in
32107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32108 *) ac_try_echo=$ac_try;;
32109 esac
32110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32111 (eval "$ac_link") 2>conftest.er1
32112 ac_status=$?
32113 grep -v '^ *+' conftest.er1 >conftest.err
32114 rm -f conftest.er1
32115 cat conftest.err >&5
32116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32117 (exit $ac_status); } && {
32118 test -z "$ac_c_werror_flag" ||
32119 test ! -s conftest.err
32120 } && test -s conftest$ac_exeext &&
32121 $as_test_x conftest$ac_exeext; then
32122 ac_cv_lib_Xext_XShapeQueryExtension=yes
32123 else
32124 echo "$as_me: failed program was:" >&5
32125 sed 's/^/| /' conftest.$ac_ext >&5
32126
32127 ac_cv_lib_Xext_XShapeQueryExtension=no
32128 fi
32129
32130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32131 conftest$ac_exeext conftest.$ac_ext
32132 LIBS=$ac_check_lib_save_LIBS
32133 fi
32134 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
32135 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
32136 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
32137
32138 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
32139 wxHAVE_XEXT_LIB=1
32140
32141 fi
32142
32143
32144 if test "$wxHAVE_XEXT_LIB" = 1; then
32145 save_CFLAGS="$CFLAGS"
32146 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
32147
32148 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
32149 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
32150 cat >conftest.$ac_ext <<_ACEOF
32151 /* confdefs.h. */
32152 _ACEOF
32153 cat confdefs.h >>conftest.$ac_ext
32154 cat >>conftest.$ac_ext <<_ACEOF
32155 /* end confdefs.h. */
32156
32157 #include <X11/Xlib.h>
32158 #include <X11/extensions/shape.h>
32159
32160 int
32161 main ()
32162 {
32163
32164 int dummy1, dummy2;
32165 XShapeQueryExtension((Display*)NULL,
32166 (int*)NULL, (int*)NULL);
32167
32168 ;
32169 return 0;
32170 }
32171 _ACEOF
32172 rm -f conftest.$ac_objext
32173 if { (ac_try="$ac_compile"
32174 case "(($ac_try" in
32175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32176 *) ac_try_echo=$ac_try;;
32177 esac
32178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32179 (eval "$ac_compile") 2>conftest.er1
32180 ac_status=$?
32181 grep -v '^ *+' conftest.er1 >conftest.err
32182 rm -f conftest.er1
32183 cat conftest.err >&5
32184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32185 (exit $ac_status); } && {
32186 test -z "$ac_c_werror_flag" ||
32187 test ! -s conftest.err
32188 } && test -s conftest.$ac_objext; then
32189
32190 cat >>confdefs.h <<\_ACEOF
32191 #define HAVE_XSHAPE 1
32192 _ACEOF
32193
32194 { echo "$as_me:$LINENO: result: found" >&5
32195 echo "${ECHO_T}found" >&6; }
32196
32197 else
32198 echo "$as_me: failed program was:" >&5
32199 sed 's/^/| /' conftest.$ac_ext >&5
32200
32201
32202 { echo "$as_me:$LINENO: result: not found" >&5
32203 echo "${ECHO_T}not found" >&6; }
32204
32205 fi
32206
32207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32208 CFLAGS="$save_CFLAGS"
32209
32210 fi
32211 fi
32212
32213 if test "$wxUSE_MAC" = 1; then
32214 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
32215 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
32216 if test "$GCC" = yes; then
32217 { echo "$as_me:$LINENO: result: gcc" >&5
32218 echo "${ECHO_T}gcc" >&6; }
32219 CPPFLAGS_PASCAL="-fpascal-strings"
32220 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
32221 { echo "$as_me:$LINENO: result: xlc" >&5
32222 echo "${ECHO_T}xlc" >&6; }
32223 CPPFLAGS_PASCAL="-qmacpstr"
32224 else
32225 { echo "$as_me:$LINENO: result: none" >&5
32226 echo "${ECHO_T}none" >&6; }
32227 fi
32228
32229 if test "x$wxUSE_UNIX" = "xyes"; then
32230 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
32231 else
32232 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
32233 fi
32234
32235 TOOLKIT=MAC
32236 GUIDIST=MACX_DIST
32237 WXBASEPORT="_carbon"
32238 fi
32239
32240 if test "$wxUSE_COCOA" = 1; then
32241 TOOLKIT=COCOA
32242 GUIDIST=COCOA_DIST
32243 fi
32244
32245 if test "$wxUSE_PM" = 1; then
32246 TOOLKIT=PM
32247 GUIDIST=PM_DIST
32248 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
32249 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
32250 if test "${wx_cv_spbcdata+set}" = set; then
32251 echo $ECHO_N "(cached) $ECHO_C" >&6
32252 else
32253
32254 cat >conftest.$ac_ext <<_ACEOF
32255 /* confdefs.h. */
32256 _ACEOF
32257 cat confdefs.h >>conftest.$ac_ext
32258 cat >>conftest.$ac_ext <<_ACEOF
32259 /* end confdefs.h. */
32260
32261 #define INCL_PM
32262 #include <os2.h>
32263
32264 int
32265 main ()
32266 {
32267
32268 SPBCDATA test;
32269
32270 ;
32271 return 0;
32272 }
32273 _ACEOF
32274 rm -f conftest.$ac_objext
32275 if { (ac_try="$ac_compile"
32276 case "(($ac_try" in
32277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32278 *) ac_try_echo=$ac_try;;
32279 esac
32280 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32281 (eval "$ac_compile") 2>conftest.er1
32282 ac_status=$?
32283 grep -v '^ *+' conftest.er1 >conftest.err
32284 rm -f conftest.er1
32285 cat conftest.err >&5
32286 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32287 (exit $ac_status); } && {
32288 test -z "$ac_c_werror_flag" ||
32289 test ! -s conftest.err
32290 } && test -s conftest.$ac_objext; then
32291 wx_cv_spbcdata=yes
32292 else
32293 echo "$as_me: failed program was:" >&5
32294 sed 's/^/| /' conftest.$ac_ext >&5
32295
32296 wx_cv_spbcdata=no
32297
32298 fi
32299
32300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32301
32302
32303 fi
32304 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
32305 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
32306
32307 if test $wx_cv_spbcdata = "yes"; then
32308 cat >>confdefs.h <<\_ACEOF
32309 #define HAVE_SPBCDATA 1
32310 _ACEOF
32311
32312 fi
32313 fi
32314
32315 if test "$TOOLKIT" = "PM" ; then
32316 TOOLKIT_DIR="os2"
32317 else
32318 TOOLKIT_DIR=`echo ${TOOLKIT} | tr '[A-Z]' '[a-z]'`
32319 fi
32320
32321 if test "$wxUSE_UNIVERSAL" = "yes"; then
32322 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
32323 WIDGET_SET=univ
32324 fi
32325
32326 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
32327 DISTDIR="wx\$(TOOLKIT)"
32328 else
32329 USE_GUI=0
32330
32331 TOOLKIT_DIR="base"
32332
32333 if test "$USE_WIN32" = 1 ; then
32334 TOOLKIT="MSW"
32335 fi
32336
32337 GUIDIST="BASE_DIST"
32338 DISTDIR="wxBase"
32339 fi
32340
32341
32342
32343 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
32344 if test "$USE_UNIX" = 1 -a "$wxUSE_DARWIN" != 1 ; then
32345 wxUSE_UNICODE_UTF8=yes
32346 elif test "$USE_OS2" = 1 ; then
32347 wxUSE_UNICODE_UTF8=yes
32348 else
32349 wxUSE_UNICODE_UTF8=no
32350 fi
32351 fi
32352
32353
32354 if test "$wxUSE_GUI" = "yes"; then
32355 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
32356
32357 for ac_header in X11/Xlib.h
32358 do
32359 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32360 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32361 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32362 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32363 echo $ECHO_N "(cached) $ECHO_C" >&6
32364 else
32365 cat >conftest.$ac_ext <<_ACEOF
32366 /* confdefs.h. */
32367 _ACEOF
32368 cat confdefs.h >>conftest.$ac_ext
32369 cat >>conftest.$ac_ext <<_ACEOF
32370 /* end confdefs.h. */
32371
32372
32373 #include <$ac_header>
32374 _ACEOF
32375 rm -f conftest.$ac_objext
32376 if { (ac_try="$ac_compile"
32377 case "(($ac_try" in
32378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32379 *) ac_try_echo=$ac_try;;
32380 esac
32381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32382 (eval "$ac_compile") 2>conftest.er1
32383 ac_status=$?
32384 grep -v '^ *+' conftest.er1 >conftest.err
32385 rm -f conftest.er1
32386 cat conftest.err >&5
32387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32388 (exit $ac_status); } && {
32389 test -z "$ac_c_werror_flag" ||
32390 test ! -s conftest.err
32391 } && test -s conftest.$ac_objext; then
32392 eval "$as_ac_Header=yes"
32393 else
32394 echo "$as_me: failed program was:" >&5
32395 sed 's/^/| /' conftest.$ac_ext >&5
32396
32397 eval "$as_ac_Header=no"
32398 fi
32399
32400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32401 fi
32402 ac_res=`eval echo '${'$as_ac_Header'}'`
32403 { echo "$as_me:$LINENO: result: $ac_res" >&5
32404 echo "${ECHO_T}$ac_res" >&6; }
32405 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32406 cat >>confdefs.h <<_ACEOF
32407 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32408 _ACEOF
32409
32410 fi
32411
32412 done
32413
32414
32415 for ac_header in X11/XKBlib.h
32416 do
32417 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32418 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32419 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32420 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32421 echo $ECHO_N "(cached) $ECHO_C" >&6
32422 else
32423 cat >conftest.$ac_ext <<_ACEOF
32424 /* confdefs.h. */
32425 _ACEOF
32426 cat confdefs.h >>conftest.$ac_ext
32427 cat >>conftest.$ac_ext <<_ACEOF
32428 /* end confdefs.h. */
32429
32430 #if HAVE_X11_XLIB_H
32431 #include <X11/Xlib.h>
32432 #endif
32433
32434
32435 #include <$ac_header>
32436 _ACEOF
32437 rm -f conftest.$ac_objext
32438 if { (ac_try="$ac_compile"
32439 case "(($ac_try" in
32440 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32441 *) ac_try_echo=$ac_try;;
32442 esac
32443 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32444 (eval "$ac_compile") 2>conftest.er1
32445 ac_status=$?
32446 grep -v '^ *+' conftest.er1 >conftest.err
32447 rm -f conftest.er1
32448 cat conftest.err >&5
32449 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32450 (exit $ac_status); } && {
32451 test -z "$ac_c_werror_flag" ||
32452 test ! -s conftest.err
32453 } && test -s conftest.$ac_objext; then
32454 eval "$as_ac_Header=yes"
32455 else
32456 echo "$as_me: failed program was:" >&5
32457 sed 's/^/| /' conftest.$ac_ext >&5
32458
32459 eval "$as_ac_Header=no"
32460 fi
32461
32462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32463 fi
32464 ac_res=`eval echo '${'$as_ac_Header'}'`
32465 { echo "$as_me:$LINENO: result: $ac_res" >&5
32466 echo "${ECHO_T}$ac_res" >&6; }
32467 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32468 cat >>confdefs.h <<_ACEOF
32469 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32470 _ACEOF
32471
32472 fi
32473
32474 done
32475
32476 fi
32477 fi
32478
32479
32480
32481 if test "$wxUSE_DISPLAY" = "yes"; then
32482 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32483 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32484 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32485
32486 ac_find_libraries=
32487 for ac_dir in $SEARCH_LIB;
32488 do
32489 for ac_extension in a so sl dylib dll.a; do
32490 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32491 ac_find_libraries=$ac_dir
32492 break 2
32493 fi
32494 done
32495 done
32496
32497 if test "$ac_find_libraries" != "" ; then
32498
32499 if test "$ac_find_libraries" = "default location"; then
32500 ac_path_to_link=""
32501 else
32502 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32503 result=$?
32504 if test $result = 0; then
32505 ac_path_to_link=""
32506 else
32507 ac_path_to_link=" -L$ac_find_libraries"
32508 fi
32509 fi
32510
32511 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32512 LDFLAGS="$LDFLAGS $ac_path_to_link"
32513 fi
32514 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32515 { echo "$as_me:$LINENO: result: yes" >&5
32516 echo "${ECHO_T}yes" >&6; }
32517
32518 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32519 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32520
32521 ac_find_libraries=
32522 for ac_dir in $SEARCH_LIB;
32523 do
32524 for ac_extension in a so sl dylib dll.a; do
32525 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32526 ac_find_libraries=$ac_dir
32527 break 2
32528 fi
32529 done
32530 done
32531
32532 if test "$ac_find_libraries" != "" ; then
32533 { echo "$as_me:$LINENO: result: yes" >&5
32534 echo "${ECHO_T}yes" >&6; }
32535
32536 for ac_header in X11/extensions/xf86vmode.h
32537 do
32538 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
32539 { echo "$as_me:$LINENO: checking for $ac_header" >&5
32540 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
32541 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
32542 echo $ECHO_N "(cached) $ECHO_C" >&6
32543 else
32544 cat >conftest.$ac_ext <<_ACEOF
32545 /* confdefs.h. */
32546 _ACEOF
32547 cat confdefs.h >>conftest.$ac_ext
32548 cat >>conftest.$ac_ext <<_ACEOF
32549 /* end confdefs.h. */
32550
32551 #if HAVE_X11_XLIB_H
32552 #include <X11/Xlib.h>
32553 #endif
32554
32555
32556 #include <$ac_header>
32557 _ACEOF
32558 rm -f conftest.$ac_objext
32559 if { (ac_try="$ac_compile"
32560 case "(($ac_try" in
32561 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32562 *) ac_try_echo=$ac_try;;
32563 esac
32564 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32565 (eval "$ac_compile") 2>conftest.er1
32566 ac_status=$?
32567 grep -v '^ *+' conftest.er1 >conftest.err
32568 rm -f conftest.er1
32569 cat conftest.err >&5
32570 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32571 (exit $ac_status); } && {
32572 test -z "$ac_c_werror_flag" ||
32573 test ! -s conftest.err
32574 } && test -s conftest.$ac_objext; then
32575 eval "$as_ac_Header=yes"
32576 else
32577 echo "$as_me: failed program was:" >&5
32578 sed 's/^/| /' conftest.$ac_ext >&5
32579
32580 eval "$as_ac_Header=no"
32581 fi
32582
32583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32584 fi
32585 ac_res=`eval echo '${'$as_ac_Header'}'`
32586 { echo "$as_me:$LINENO: result: $ac_res" >&5
32587 echo "${ECHO_T}$ac_res" >&6; }
32588 if test `eval echo '${'$as_ac_Header'}'` = yes; then
32589 cat >>confdefs.h <<_ACEOF
32590 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
32591 _ACEOF
32592
32593 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32594
32595 fi
32596
32597 done
32598
32599 else
32600 { echo "$as_me:$LINENO: result: no" >&5
32601 echo "${ECHO_T}no" >&6; }
32602 fi
32603
32604 else
32605 { echo "$as_me:$LINENO: result: no" >&5
32606 echo "${ECHO_T}no" >&6; }
32607 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32608 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32609 wxUSE_DISPLAY="no"
32610 fi
32611 elif test "$wxUSE_MSW" = 1; then
32612 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32613 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32614 if test "${ac_cv_header_ddraw_h+set}" = set; then
32615 echo $ECHO_N "(cached) $ECHO_C" >&6
32616 else
32617 cat >conftest.$ac_ext <<_ACEOF
32618 /* confdefs.h. */
32619 _ACEOF
32620 cat confdefs.h >>conftest.$ac_ext
32621 cat >>conftest.$ac_ext <<_ACEOF
32622 /* end confdefs.h. */
32623 #include <windows.h>
32624
32625 #include <ddraw.h>
32626 _ACEOF
32627 rm -f conftest.$ac_objext
32628 if { (ac_try="$ac_compile"
32629 case "(($ac_try" in
32630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32631 *) ac_try_echo=$ac_try;;
32632 esac
32633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32634 (eval "$ac_compile") 2>conftest.er1
32635 ac_status=$?
32636 grep -v '^ *+' conftest.er1 >conftest.err
32637 rm -f conftest.er1
32638 cat conftest.err >&5
32639 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32640 (exit $ac_status); } && {
32641 test -z "$ac_c_werror_flag" ||
32642 test ! -s conftest.err
32643 } && test -s conftest.$ac_objext; then
32644 ac_cv_header_ddraw_h=yes
32645 else
32646 echo "$as_me: failed program was:" >&5
32647 sed 's/^/| /' conftest.$ac_ext >&5
32648
32649 ac_cv_header_ddraw_h=no
32650 fi
32651
32652 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32653 fi
32654 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32655 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32656
32657
32658 fi
32659 fi
32660
32661 if test "$wxUSE_DETECT_SM" = "yes"; then
32662 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32663 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32664 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32665
32666 ac_find_libraries=
32667 for ac_dir in $SEARCH_LIB;
32668 do
32669 for ac_extension in a so sl dylib dll.a; do
32670 if test -f "$ac_dir/libSM.$ac_extension"; then
32671 ac_find_libraries=$ac_dir
32672 break 2
32673 fi
32674 done
32675 done
32676
32677 if test "$ac_find_libraries" != "" ; then
32678
32679 if test "$ac_find_libraries" = "default location"; then
32680 ac_path_to_link=""
32681 else
32682 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32683 result=$?
32684 if test $result = 0; then
32685 ac_path_to_link=""
32686 else
32687 ac_path_to_link=" -L$ac_find_libraries"
32688 fi
32689 fi
32690
32691 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32692 LDFLAGS="$LDFLAGS $ac_path_to_link"
32693 fi
32694 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32695 { echo "$as_me:$LINENO: result: yes" >&5
32696 echo "${ECHO_T}yes" >&6; }
32697 else
32698 { echo "$as_me:$LINENO: result: no" >&5
32699 echo "${ECHO_T}no" >&6; }
32700 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32701 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32702 wxUSE_DETECT_SM="no"
32703 fi
32704 else
32705 wxUSE_DETECT_SM="no"
32706 fi
32707 fi
32708
32709
32710
32711 USE_OPENGL=0
32712 if test "$wxUSE_OPENGL" = "yes"; then
32713 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
32714 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32715 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32716 wxUSE_OPENGL="no"
32717 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32718 OPENGL_LIBS="-framework OpenGL -framework AGL"
32719 elif test "$wxUSE_MSW" = 1; then
32720 OPENGL_LIBS="-lopengl32 -lglu32"
32721 else
32722 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32723 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32724
32725 ac_find_includes=
32726 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32727 do
32728 if test -f "$ac_dir/GL/gl.h"; then
32729 ac_find_includes=$ac_dir
32730 break
32731 fi
32732 done
32733
32734 if test "$ac_find_includes" != "" ; then
32735 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32736 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32737
32738 if test "x$ac_find_includes" = "x/usr/include"; then
32739 ac_path_to_include=""
32740 else
32741 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32742 result=$?
32743 if test $result = 0; then
32744 ac_path_to_include=""
32745 else
32746 ac_path_to_include=" -I$ac_find_includes"
32747 fi
32748 fi
32749
32750 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32751 else
32752 { echo "$as_me:$LINENO: result: not found" >&5
32753 echo "${ECHO_T}not found" >&6; }
32754 fi
32755
32756 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32757 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32758 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32759 echo $ECHO_N "(cached) $ECHO_C" >&6
32760 else
32761 cat >conftest.$ac_ext <<_ACEOF
32762 /* confdefs.h. */
32763 _ACEOF
32764 cat confdefs.h >>conftest.$ac_ext
32765 cat >>conftest.$ac_ext <<_ACEOF
32766 /* end confdefs.h. */
32767
32768
32769 #include <GL/gl.h>
32770 _ACEOF
32771 rm -f conftest.$ac_objext
32772 if { (ac_try="$ac_compile"
32773 case "(($ac_try" in
32774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32775 *) ac_try_echo=$ac_try;;
32776 esac
32777 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32778 (eval "$ac_compile") 2>conftest.er1
32779 ac_status=$?
32780 grep -v '^ *+' conftest.er1 >conftest.err
32781 rm -f conftest.er1
32782 cat conftest.err >&5
32783 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32784 (exit $ac_status); } && {
32785 test -z "$ac_c_werror_flag" ||
32786 test ! -s conftest.err
32787 } && test -s conftest.$ac_objext; then
32788 ac_cv_header_GL_gl_h=yes
32789 else
32790 echo "$as_me: failed program was:" >&5
32791 sed 's/^/| /' conftest.$ac_ext >&5
32792
32793 ac_cv_header_GL_gl_h=no
32794 fi
32795
32796 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32797 fi
32798 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32799 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32800 if test $ac_cv_header_GL_gl_h = yes; then
32801
32802 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32803 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32804 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32805 echo $ECHO_N "(cached) $ECHO_C" >&6
32806 else
32807 cat >conftest.$ac_ext <<_ACEOF
32808 /* confdefs.h. */
32809 _ACEOF
32810 cat confdefs.h >>conftest.$ac_ext
32811 cat >>conftest.$ac_ext <<_ACEOF
32812 /* end confdefs.h. */
32813
32814
32815 #include <GL/glu.h>
32816 _ACEOF
32817 rm -f conftest.$ac_objext
32818 if { (ac_try="$ac_compile"
32819 case "(($ac_try" in
32820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32821 *) ac_try_echo=$ac_try;;
32822 esac
32823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32824 (eval "$ac_compile") 2>conftest.er1
32825 ac_status=$?
32826 grep -v '^ *+' conftest.er1 >conftest.err
32827 rm -f conftest.er1
32828 cat conftest.err >&5
32829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32830 (exit $ac_status); } && {
32831 test -z "$ac_c_werror_flag" ||
32832 test ! -s conftest.err
32833 } && test -s conftest.$ac_objext; then
32834 ac_cv_header_GL_glu_h=yes
32835 else
32836 echo "$as_me: failed program was:" >&5
32837 sed 's/^/| /' conftest.$ac_ext >&5
32838
32839 ac_cv_header_GL_glu_h=no
32840 fi
32841
32842 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32843 fi
32844 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32845 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32846 if test $ac_cv_header_GL_glu_h = yes; then
32847
32848 found_gl=0
32849
32850 { echo "$as_me:$LINENO: checking for -lGL" >&5
32851 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32852
32853 ac_find_libraries=
32854 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32855 do
32856 for ac_extension in a so sl dylib dll.a; do
32857 if test -f "$ac_dir/libGL.$ac_extension"; then
32858 ac_find_libraries=$ac_dir
32859 break 2
32860 fi
32861 done
32862 done
32863
32864 if test "$ac_find_libraries" != "" ; then
32865 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32866 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32867
32868
32869 if test "$ac_find_libraries" = "default location"; then
32870 ac_path_to_link=""
32871 else
32872 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32873 result=$?
32874 if test $result = 0; then
32875 ac_path_to_link=""
32876 else
32877 ac_path_to_link=" -L$ac_find_libraries"
32878 fi
32879 fi
32880
32881 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32882 LDFLAGS_GL="$ac_path_to_link"
32883 fi
32884
32885 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32886 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32887
32888 ac_find_libraries=
32889 for ac_dir in $SEARCH_LIB;
32890 do
32891 for ac_extension in a so sl dylib dll.a; do
32892 if test -f "$ac_dir/libGLU.$ac_extension"; then
32893 ac_find_libraries=$ac_dir
32894 break 2
32895 fi
32896 done
32897 done
32898
32899 if test "$ac_find_libraries" != "" ; then
32900
32901 if test "$ac_find_libraries" = "default location"; then
32902 ac_path_to_link=""
32903 else
32904 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32905 result=$?
32906 if test $result = 0; then
32907 ac_path_to_link=""
32908 else
32909 ac_path_to_link=" -L$ac_find_libraries"
32910 fi
32911 fi
32912
32913 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32914 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32915 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32916 fi
32917
32918 found_gl=1
32919 OPENGL_LIBS="-lGL -lGLU"
32920 { echo "$as_me:$LINENO: result: yes" >&5
32921 echo "${ECHO_T}yes" >&6; }
32922 else
32923 { echo "$as_me:$LINENO: result: no" >&5
32924 echo "${ECHO_T}no" >&6; }
32925 fi
32926 else
32927 { echo "$as_me:$LINENO: result: no" >&5
32928 echo "${ECHO_T}no" >&6; }
32929 fi
32930
32931 if test "$found_gl" != 1; then
32932 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32933 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32934
32935 ac_find_libraries=
32936 for ac_dir in $SEARCH_LIB;
32937 do
32938 for ac_extension in a so sl dylib dll.a; do
32939 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32940 ac_find_libraries=$ac_dir
32941 break 2
32942 fi
32943 done
32944 done
32945
32946 if test "$ac_find_libraries" != "" ; then
32947
32948 if test "$ac_find_libraries" = "default location"; then
32949 ac_path_to_link=""
32950 else
32951 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32952 result=$?
32953 if test $result = 0; then
32954 ac_path_to_link=""
32955 else
32956 ac_path_to_link=" -L$ac_find_libraries"
32957 fi
32958 fi
32959
32960 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32961 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32962 { echo "$as_me:$LINENO: result: yes" >&5
32963 echo "${ECHO_T}yes" >&6; }
32964 else
32965 { echo "$as_me:$LINENO: result: no" >&5
32966 echo "${ECHO_T}no" >&6; }
32967 fi
32968 fi
32969
32970 fi
32971
32972
32973
32974 fi
32975
32976
32977
32978 if test "x$OPENGL_LIBS" = "x"; then
32979 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32980 echo "$as_me: error: OpenGL libraries not available" >&2;}
32981 { (exit 1); exit 1; }; }
32982 fi
32983 fi
32984
32985 if test "$wxUSE_OPENGL" = "yes"; then
32986 USE_OPENGL=1
32987 cat >>confdefs.h <<\_ACEOF
32988 #define wxUSE_OPENGL 1
32989 _ACEOF
32990
32991 cat >>confdefs.h <<\_ACEOF
32992 #define wxUSE_GLCANVAS 1
32993 _ACEOF
32994
32995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32996 fi
32997 fi
32998
32999
33000 if test -n "$TOOLKIT" ; then
33001 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
33002 fi
33003
33004
33005
33006 if test "$wxUSE_SHARED" = "yes"; then
33007 case "${host}" in
33008 *-pc-msdosdjgpp )
33009 wxUSE_SHARED=no
33010 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
33011 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
33012 ;;
33013 esac
33014 fi
33015
33016 if test "$wxUSE_SHARED" = "yes"; then
33017
33018
33019 case "${host}" in
33020 *-*-cygwin* | *-*-mingw* )
33021 wx_cv_version_script=no
33022 ;;
33023
33024 *)
33025 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
33026 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
33027 if test "${wx_cv_version_script+set}" = set; then
33028 echo $ECHO_N "(cached) $ECHO_C" >&6
33029 else
33030
33031 echo "VER_1 { *; };" >conftest.sym
33032 echo "int main() { return 0; }" >conftest.cpp
33033
33034 if { ac_try='
33035 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33036 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
33037 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33038 (eval $ac_try) 2>&5
33039 ac_status=$?
33040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33041 (exit $ac_status); }; } ; then
33042 if test -s conftest.stderr ; then
33043 wx_cv_version_script=no
33044 else
33045 wx_cv_version_script=yes
33046 fi
33047 else
33048 wx_cv_version_script=no
33049 fi
33050
33051 if test $wx_cv_version_script = yes
33052 then
33053 echo "struct B { virtual ~B() { } }; \
33054 struct D : public B { }; \
33055 void F() { D d; }" > conftest.cpp
33056
33057 if { ac_try='
33058 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33059 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
33060 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33061 (eval $ac_try) 2>&5
33062 ac_status=$?
33063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33064 (exit $ac_status); }; } &&
33065 { ac_try='
33066 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33067 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
33068 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33069 (eval $ac_try) 2>&5
33070 ac_status=$?
33071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33072 (exit $ac_status); }; }
33073 then
33074 if { ac_try='
33075 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
33076 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
33077 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
33078 (eval $ac_try) 2>&5
33079 ac_status=$?
33080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33081 (exit $ac_status); }; }
33082 then
33083 wx_cv_version_script=yes
33084 else
33085 wx_cv_version_script=no
33086 fi
33087 fi
33088 fi
33089
33090 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
33091 rm -f conftest1.output conftest2.output conftest3.output
33092
33093 fi
33094 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
33095 echo "${ECHO_T}$wx_cv_version_script" >&6; }
33096
33097 if test $wx_cv_version_script = yes ; then
33098 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
33099 fi
33100 ;;
33101 esac
33102
33103
33104 if test "$wxUSE_VISIBILITY" != "no"; then
33105
33106
33107 if test -n "$GCC"; then
33108 CFLAGS_VISIBILITY="-fvisibility=hidden"
33109 CXXFLAGS_VISIBILITY="-fvisibility=hidden -fvisibility-inlines-hidden"
33110 { echo "$as_me:$LINENO: checking for symbols visibility support" >&5
33111 echo $ECHO_N "checking for symbols visibility support... $ECHO_C" >&6; }
33112 if test "${wx_cv_cc_visibility+set}" = set; then
33113 echo $ECHO_N "(cached) $ECHO_C" >&6
33114 else
33115
33116 wx_save_CXXFLAGS="$CXXFLAGS"
33117 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33118 ac_ext=cpp
33119 ac_cpp='$CXXCPP $CPPFLAGS'
33120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33123
33124 cat >conftest.$ac_ext <<_ACEOF
33125 /* confdefs.h. */
33126 _ACEOF
33127 cat confdefs.h >>conftest.$ac_ext
33128 cat >>conftest.$ac_ext <<_ACEOF
33129 /* end confdefs.h. */
33130
33131 /* we need gcc >= 4.0, older versions with visibility support
33132 didn't have class visibility: */
33133 #if defined(__GNUC__) && __GNUC__ < 4
33134 error this gcc is too old;
33135 #endif
33136
33137 /* visibility only makes sense for ELF shared libs: */
33138 #if !defined(__ELF__) && !defined(__APPLE__)
33139 error this platform has no visibility;
33140 #endif
33141
33142 extern __attribute__((__visibility__("hidden"))) int hiddenvar;
33143 extern __attribute__((__visibility__("default"))) int exportedvar;
33144 extern __attribute__((__visibility__("hidden"))) int hiddenfunc (void);
33145 extern __attribute__((__visibility__("default"))) int exportedfunc (void);
33146 class __attribute__((__visibility__("default"))) Foo {
33147 Foo() {}
33148 };
33149
33150 int
33151 main ()
33152 {
33153
33154 ;
33155 return 0;
33156 }
33157 _ACEOF
33158 rm -f conftest.$ac_objext
33159 if { (ac_try="$ac_compile"
33160 case "(($ac_try" in
33161 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33162 *) ac_try_echo=$ac_try;;
33163 esac
33164 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33165 (eval "$ac_compile") 2>conftest.er1
33166 ac_status=$?
33167 grep -v '^ *+' conftest.er1 >conftest.err
33168 rm -f conftest.er1
33169 cat conftest.err >&5
33170 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33171 (exit $ac_status); } && {
33172 test -z "$ac_cxx_werror_flag" ||
33173 test ! -s conftest.err
33174 } && test -s conftest.$ac_objext; then
33175 wx_cv_cc_visibility=yes
33176 else
33177 echo "$as_me: failed program was:" >&5
33178 sed 's/^/| /' conftest.$ac_ext >&5
33179
33180 wx_cv_cc_visibility=no
33181 fi
33182
33183 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33184 ac_ext=c
33185 ac_cpp='$CPP $CPPFLAGS'
33186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33189
33190 CXXFLAGS="$wx_save_CXXFLAGS"
33191 fi
33192
33193 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility" >&5
33194 echo "${ECHO_T}$wx_cv_cc_visibility" >&6; }
33195 if test $wx_cv_cc_visibility = yes; then
33196 { echo "$as_me:$LINENO: checking for broken libstdc++ visibility" >&5
33197 echo $ECHO_N "checking for broken libstdc++ visibility... $ECHO_C" >&6; }
33198 if test "${wx_cv_cc_broken_libstdcxx_visibility+set}" = set; then
33199 echo $ECHO_N "(cached) $ECHO_C" >&6
33200 else
33201
33202 wx_save_CXXFLAGS="$CXXFLAGS"
33203 wx_save_LDFLAGS="$LDFLAGS"
33204 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
33205 LDFLAGS="$LDFLAGS -shared -fPIC"
33206 ac_ext=cpp
33207 ac_cpp='$CXXCPP $CPPFLAGS'
33208 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33209 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33210 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33211
33212 cat >conftest.$ac_ext <<_ACEOF
33213 /* confdefs.h. */
33214 _ACEOF
33215 cat confdefs.h >>conftest.$ac_ext
33216 cat >>conftest.$ac_ext <<_ACEOF
33217 /* end confdefs.h. */
33218
33219 #include <string>
33220
33221 int
33222 main ()
33223 {
33224
33225 std::string s("hello");
33226 return s.length();
33227
33228 ;
33229 return 0;
33230 }
33231 _ACEOF
33232 rm -f conftest.$ac_objext conftest$ac_exeext
33233 if { (ac_try="$ac_link"
33234 case "(($ac_try" in
33235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33236 *) ac_try_echo=$ac_try;;
33237 esac
33238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33239 (eval "$ac_link") 2>conftest.er1
33240 ac_status=$?
33241 grep -v '^ *+' conftest.er1 >conftest.err
33242 rm -f conftest.er1
33243 cat conftest.err >&5
33244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33245 (exit $ac_status); } && {
33246 test -z "$ac_cxx_werror_flag" ||
33247 test ! -s conftest.err
33248 } && test -s conftest$ac_exeext &&
33249 $as_test_x conftest$ac_exeext; then
33250 wx_cv_cc_broken_libstdcxx_visibility=no
33251 else
33252 echo "$as_me: failed program was:" >&5
33253 sed 's/^/| /' conftest.$ac_ext >&5
33254
33255 wx_cv_cc_broken_libstdcxx_visibility=yes
33256 fi
33257
33258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33259 conftest$ac_exeext conftest.$ac_ext
33260 ac_ext=c
33261 ac_cpp='$CPP $CPPFLAGS'
33262 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33263 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33264 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33265
33266 CXXFLAGS="$wx_save_CXXFLAGS"
33267 LDFLAGS="$wx_save_LDFLAGS"
33268 fi
33269
33270 { echo "$as_me:$LINENO: result: $wx_cv_cc_broken_libstdcxx_visibility" >&5
33271 echo "${ECHO_T}$wx_cv_cc_broken_libstdcxx_visibility" >&6; }
33272
33273 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33274 { echo "$as_me:$LINENO: checking whether we can work around it" >&5
33275 echo $ECHO_N "checking whether we can work around it... $ECHO_C" >&6; }
33276 if test "${wx_cv_cc_visibility_workaround+set}" = set; then
33277 echo $ECHO_N "(cached) $ECHO_C" >&6
33278 else
33279
33280 ac_ext=cpp
33281 ac_cpp='$CXXCPP $CPPFLAGS'
33282 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33283 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33284 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33285
33286 cat >conftest.$ac_ext <<_ACEOF
33287 /* confdefs.h. */
33288 _ACEOF
33289 cat confdefs.h >>conftest.$ac_ext
33290 cat >>conftest.$ac_ext <<_ACEOF
33291 /* end confdefs.h. */
33292
33293 #pragma GCC visibility push(default)
33294 #include <string>
33295 #pragma GCC visibility pop
33296
33297 int
33298 main ()
33299 {
33300
33301 std::string s("hello");
33302 return s.length();
33303
33304 ;
33305 return 0;
33306 }
33307 _ACEOF
33308 rm -f conftest.$ac_objext conftest$ac_exeext
33309 if { (ac_try="$ac_link"
33310 case "(($ac_try" in
33311 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33312 *) ac_try_echo=$ac_try;;
33313 esac
33314 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33315 (eval "$ac_link") 2>conftest.er1
33316 ac_status=$?
33317 grep -v '^ *+' conftest.er1 >conftest.err
33318 rm -f conftest.er1
33319 cat conftest.err >&5
33320 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33321 (exit $ac_status); } && {
33322 test -z "$ac_cxx_werror_flag" ||
33323 test ! -s conftest.err
33324 } && test -s conftest$ac_exeext &&
33325 $as_test_x conftest$ac_exeext; then
33326 wx_cv_cc_visibility_workaround=no
33327 else
33328 echo "$as_me: failed program was:" >&5
33329 sed 's/^/| /' conftest.$ac_ext >&5
33330
33331 wx_cv_cc_visibility_workaround=yes
33332 fi
33333
33334 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33335 conftest$ac_exeext conftest.$ac_ext
33336 ac_ext=c
33337 ac_cpp='$CPP $CPPFLAGS'
33338 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33339 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33340 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33341
33342
33343 fi
33344
33345 { echo "$as_me:$LINENO: result: $wx_cv_cc_visibility_workaround" >&5
33346 echo "${ECHO_T}$wx_cv_cc_visibility_workaround" >&6; }
33347
33348 if test $wx_cv_cc_visibility_workaround = no; then
33349 wx_cv_cc_visibility=no
33350 fi
33351 fi
33352 fi
33353
33354 if test $wx_cv_cc_visibility = yes; then
33355 cat >>confdefs.h <<\_ACEOF
33356 #define HAVE_VISIBILITY 1
33357 _ACEOF
33358
33359 if test $wx_cv_cc_broken_libstdcxx_visibility = yes; then
33360 cat >>confdefs.h <<\_ACEOF
33361 #define HAVE_BROKEN_LIBSTDCXX_VISIBILITY 1
33362 _ACEOF
33363
33364 fi
33365 else
33366 CFLAGS_VISIBILITY=""
33367 CXXFLAGS_VISIBILITY=""
33368 fi
33369
33370
33371 fi
33372
33373 fi
33374
33375 if test "x$SUNCXX" = xyes; then
33376 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
33377 WXCONFIG_RPATH="-R\$libdir"
33378 else
33379 case "${host}" in
33380 *-*-linux* | *-*-gnu* )
33381 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33382 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33383 ;;
33384
33385 *-*-solaris2* )
33386
33387 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
33388
33389 saveLdflags="$LDFLAGS"
33390 LDFLAGS="$saveLdflags -Wl,-rpath,/"
33391 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
33392 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
33393 cat >conftest.$ac_ext <<_ACEOF
33394 /* confdefs.h. */
33395 _ACEOF
33396 cat confdefs.h >>conftest.$ac_ext
33397 cat >>conftest.$ac_ext <<_ACEOF
33398 /* end confdefs.h. */
33399
33400 int
33401 main ()
33402 {
33403
33404 ;
33405 return 0;
33406 }
33407 _ACEOF
33408 rm -f conftest.$ac_objext conftest$ac_exeext
33409 if { (ac_try="$ac_link"
33410 case "(($ac_try" in
33411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33412 *) ac_try_echo=$ac_try;;
33413 esac
33414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33415 (eval "$ac_link") 2>conftest.er1
33416 ac_status=$?
33417 grep -v '^ *+' conftest.er1 >conftest.err
33418 rm -f conftest.er1
33419 cat conftest.err >&5
33420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33421 (exit $ac_status); } && {
33422 test -z "$ac_c_werror_flag" ||
33423 test ! -s conftest.err
33424 } && test -s conftest$ac_exeext &&
33425 $as_test_x conftest$ac_exeext; then
33426
33427 { echo "$as_me:$LINENO: result: yes" >&5
33428 echo "${ECHO_T}yes" >&6; }
33429 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
33430 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
33431
33432 else
33433 echo "$as_me: failed program was:" >&5
33434 sed 's/^/| /' conftest.$ac_ext >&5
33435
33436
33437 { echo "$as_me:$LINENO: result: no" >&5
33438 echo "${ECHO_T}no" >&6; }
33439 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
33440 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
33441 LDFLAGS="$saveLdflags -Wl,-R,/"
33442 cat >conftest.$ac_ext <<_ACEOF
33443 /* confdefs.h. */
33444 _ACEOF
33445 cat confdefs.h >>conftest.$ac_ext
33446 cat >>conftest.$ac_ext <<_ACEOF
33447 /* end confdefs.h. */
33448
33449 int
33450 main ()
33451 {
33452
33453 ;
33454 return 0;
33455 }
33456 _ACEOF
33457 rm -f conftest.$ac_objext conftest$ac_exeext
33458 if { (ac_try="$ac_link"
33459 case "(($ac_try" in
33460 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33461 *) ac_try_echo=$ac_try;;
33462 esac
33463 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33464 (eval "$ac_link") 2>conftest.er1
33465 ac_status=$?
33466 grep -v '^ *+' conftest.er1 >conftest.err
33467 rm -f conftest.er1
33468 cat conftest.err >&5
33469 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33470 (exit $ac_status); } && {
33471 test -z "$ac_c_werror_flag" ||
33472 test ! -s conftest.err
33473 } && test -s conftest$ac_exeext &&
33474 $as_test_x conftest$ac_exeext; then
33475
33476 { echo "$as_me:$LINENO: result: yes" >&5
33477 echo "${ECHO_T}yes" >&6; }
33478 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
33479 WXCONFIG_RPATH="-Wl,-R,\$libdir"
33480
33481 else
33482 echo "$as_me: failed program was:" >&5
33483 sed 's/^/| /' conftest.$ac_ext >&5
33484
33485
33486 { echo "$as_me:$LINENO: result: no" >&5
33487 echo "${ECHO_T}no" >&6; }
33488
33489 fi
33490
33491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33492 conftest$ac_exeext conftest.$ac_ext
33493
33494 fi
33495
33496 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33497 conftest$ac_exeext conftest.$ac_ext
33498 LDFLAGS="$saveLdflags"
33499 ;;
33500
33501 *-*-darwin* )
33502 install_name_tool=`which install_name_tool`
33503 if test "$install_name_tool" -a -x "$install_name_tool"; then
33504 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
33505 cat <<EOF >change-install-names
33506 #!/bin/sh
33507 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
33508 inst_cmd="install_name_tool "
33509 for i in \${libnames} ; do
33510 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
33511 done
33512 \${inst_cmd} \${3}
33513 EOF
33514 chmod +x change-install-names
33515 fi
33516 ;;
33517
33518 *-*-cygwin* | *-*-mingw32* )
33519 ;;
33520
33521 *-*-hpux* )
33522 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
33523 WXCONFIG_RPATH="-Wl,+b,\$libdir"
33524 ;;
33525
33526 esac
33527 fi
33528
33529 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
33530
33531 if test $wxUSE_RPATH = "no"; then
33532 SAMPLES_RPATH_FLAG=''
33533 SAMPLES_RPATH_POSTLINK=''
33534 WXCONFIG_RPATH=''
33535 fi
33536
33537 SHARED=1
33538
33539 else
33540
33541 config_linkage_component="-static"
33542 SHARED=0
33543
33544 fi
33545
33546
33547 UNICODE=0
33548 lib_unicode_suffix=
33549 WX_CHARTYPE="ansi"
33550 if test "$wxUSE_UNICODE" = "yes"; then
33551 lib_unicode_suffix=u
33552 WX_CHARTYPE="unicode"
33553 UNICODE=1
33554 fi
33555
33556 lib_debug_suffix=
33557 WX_DEBUGTYPE="release"
33558 DEBUG_FLAG=0
33559 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33560 lib_debug_suffix=d
33561 WX_DEBUGTYPE="debug"
33562 DEBUG_FLAG=1
33563 fi
33564
33565 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33566 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33567
33568 DEBUG_INFO=0
33569 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33570 DEBUG_INFO=1
33571 fi
33572
33573 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr '[a-z]' '[A-Z]'`
33574
33575 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33576
33577 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33578
33579 if test "$cross_compiling" = "yes"; then
33580 HOST_SUFFIX="-$host_alias"
33581 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33582 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33583 fi
33584
33585 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33586 if test "${TOOLKIT_DIR}" = "os2"; then
33587 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33588 else
33589 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33590 fi
33591
33592
33593
33594 if test "$wxUSE_COCOA" = 1; then
33595
33596 ac_ext=c
33597 ac_cpp='$CPP $CPPFLAGS'
33598 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33599 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33600 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33601
33602 ac_ext=m
33603
33604 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33605 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33606 cat >conftest.$ac_ext <<_ACEOF
33607 /* confdefs.h. */
33608 _ACEOF
33609 cat confdefs.h >>conftest.$ac_ext
33610 cat >>conftest.$ac_ext <<_ACEOF
33611 /* end confdefs.h. */
33612 #include <AppKit/NSEvent.h>
33613 #include <CoreFoundation/CoreFoundation.h>
33614
33615 int
33616 main ()
33617 {
33618
33619 ;
33620 return 0;
33621 }
33622 _ACEOF
33623 rm -f conftest.$ac_objext
33624 if { (ac_try="$ac_compile"
33625 case "(($ac_try" in
33626 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33627 *) ac_try_echo=$ac_try;;
33628 esac
33629 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33630 (eval "$ac_compile") 2>conftest.er1
33631 ac_status=$?
33632 grep -v '^ *+' conftest.er1 >conftest.err
33633 rm -f conftest.er1
33634 cat conftest.err >&5
33635 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33636 (exit $ac_status); } && {
33637 test -z "$ac_c_werror_flag" ||
33638 test ! -s conftest.err
33639 } && test -s conftest.$ac_objext; then
33640 { echo "$as_me:$LINENO: result: no" >&5
33641 echo "${ECHO_T}no" >&6; }
33642 else
33643 echo "$as_me: failed program was:" >&5
33644 sed 's/^/| /' conftest.$ac_ext >&5
33645
33646 { echo "$as_me:$LINENO: result: yes" >&5
33647 echo "${ECHO_T}yes" >&6; }
33648 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33649 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33650 cat >conftest.$ac_ext <<_ACEOF
33651 /* confdefs.h. */
33652 _ACEOF
33653 cat confdefs.h >>conftest.$ac_ext
33654 cat >>conftest.$ac_ext <<_ACEOF
33655 /* end confdefs.h. */
33656 #define __Point__ 1
33657 #include <AppKit/NSEvent.h>
33658 #include <CoreFoundation/CoreFoundation.h>
33659
33660 int
33661 main ()
33662 {
33663
33664 ;
33665 return 0;
33666 }
33667 _ACEOF
33668 rm -f conftest.$ac_objext
33669 if { (ac_try="$ac_compile"
33670 case "(($ac_try" in
33671 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33672 *) ac_try_echo=$ac_try;;
33673 esac
33674 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33675 (eval "$ac_compile") 2>conftest.er1
33676 ac_status=$?
33677 grep -v '^ *+' conftest.er1 >conftest.err
33678 rm -f conftest.er1
33679 cat conftest.err >&5
33680 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33681 (exit $ac_status); } && {
33682 test -z "$ac_c_werror_flag" ||
33683 test ! -s conftest.err
33684 } && test -s conftest.$ac_objext; then
33685 { echo "$as_me:$LINENO: result: yes" >&5
33686 echo "${ECHO_T}yes" >&6; }
33687 cat >>confdefs.h <<\_ACEOF
33688 #define __Point__ 1
33689 _ACEOF
33690
33691
33692 else
33693 echo "$as_me: failed program was:" >&5
33694 sed 's/^/| /' conftest.$ac_ext >&5
33695
33696 { { echo "$as_me:$LINENO: error: no
33697 See \`config.log' for more details." >&5
33698 echo "$as_me: error: no
33699 See \`config.log' for more details." >&2;}
33700 { (exit 1); exit 1; }; }
33701
33702 fi
33703
33704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33705
33706 fi
33707
33708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33709 ac_ext=c
33710 ac_cpp='$CPP $CPPFLAGS'
33711 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33712 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33713 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33714
33715 fi
33716
33717
33718 { echo "$as_me:$LINENO: checking for mode_t" >&5
33719 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33720 if test "${ac_cv_type_mode_t+set}" = set; then
33721 echo $ECHO_N "(cached) $ECHO_C" >&6
33722 else
33723 cat >conftest.$ac_ext <<_ACEOF
33724 /* confdefs.h. */
33725 _ACEOF
33726 cat confdefs.h >>conftest.$ac_ext
33727 cat >>conftest.$ac_ext <<_ACEOF
33728 /* end confdefs.h. */
33729 $ac_includes_default
33730 typedef mode_t ac__type_new_;
33731 int
33732 main ()
33733 {
33734 if ((ac__type_new_ *) 0)
33735 return 0;
33736 if (sizeof (ac__type_new_))
33737 return 0;
33738 ;
33739 return 0;
33740 }
33741 _ACEOF
33742 rm -f conftest.$ac_objext
33743 if { (ac_try="$ac_compile"
33744 case "(($ac_try" in
33745 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33746 *) ac_try_echo=$ac_try;;
33747 esac
33748 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33749 (eval "$ac_compile") 2>conftest.er1
33750 ac_status=$?
33751 grep -v '^ *+' conftest.er1 >conftest.err
33752 rm -f conftest.er1
33753 cat conftest.err >&5
33754 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33755 (exit $ac_status); } && {
33756 test -z "$ac_c_werror_flag" ||
33757 test ! -s conftest.err
33758 } && test -s conftest.$ac_objext; then
33759 ac_cv_type_mode_t=yes
33760 else
33761 echo "$as_me: failed program was:" >&5
33762 sed 's/^/| /' conftest.$ac_ext >&5
33763
33764 ac_cv_type_mode_t=no
33765 fi
33766
33767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33768 fi
33769 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33770 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33771 if test $ac_cv_type_mode_t = yes; then
33772 :
33773 else
33774
33775 cat >>confdefs.h <<_ACEOF
33776 #define mode_t int
33777 _ACEOF
33778
33779 fi
33780
33781 { echo "$as_me:$LINENO: checking for off_t" >&5
33782 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33783 if test "${ac_cv_type_off_t+set}" = set; then
33784 echo $ECHO_N "(cached) $ECHO_C" >&6
33785 else
33786 cat >conftest.$ac_ext <<_ACEOF
33787 /* confdefs.h. */
33788 _ACEOF
33789 cat confdefs.h >>conftest.$ac_ext
33790 cat >>conftest.$ac_ext <<_ACEOF
33791 /* end confdefs.h. */
33792 $ac_includes_default
33793 typedef off_t ac__type_new_;
33794 int
33795 main ()
33796 {
33797 if ((ac__type_new_ *) 0)
33798 return 0;
33799 if (sizeof (ac__type_new_))
33800 return 0;
33801 ;
33802 return 0;
33803 }
33804 _ACEOF
33805 rm -f conftest.$ac_objext
33806 if { (ac_try="$ac_compile"
33807 case "(($ac_try" in
33808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33809 *) ac_try_echo=$ac_try;;
33810 esac
33811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33812 (eval "$ac_compile") 2>conftest.er1
33813 ac_status=$?
33814 grep -v '^ *+' conftest.er1 >conftest.err
33815 rm -f conftest.er1
33816 cat conftest.err >&5
33817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33818 (exit $ac_status); } && {
33819 test -z "$ac_c_werror_flag" ||
33820 test ! -s conftest.err
33821 } && test -s conftest.$ac_objext; then
33822 ac_cv_type_off_t=yes
33823 else
33824 echo "$as_me: failed program was:" >&5
33825 sed 's/^/| /' conftest.$ac_ext >&5
33826
33827 ac_cv_type_off_t=no
33828 fi
33829
33830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33831 fi
33832 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33833 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33834 if test $ac_cv_type_off_t = yes; then
33835 :
33836 else
33837
33838 cat >>confdefs.h <<_ACEOF
33839 #define off_t long int
33840 _ACEOF
33841
33842 fi
33843
33844 { echo "$as_me:$LINENO: checking for pid_t" >&5
33845 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33846 if test "${ac_cv_type_pid_t+set}" = set; then
33847 echo $ECHO_N "(cached) $ECHO_C" >&6
33848 else
33849 cat >conftest.$ac_ext <<_ACEOF
33850 /* confdefs.h. */
33851 _ACEOF
33852 cat confdefs.h >>conftest.$ac_ext
33853 cat >>conftest.$ac_ext <<_ACEOF
33854 /* end confdefs.h. */
33855 $ac_includes_default
33856 typedef pid_t ac__type_new_;
33857 int
33858 main ()
33859 {
33860 if ((ac__type_new_ *) 0)
33861 return 0;
33862 if (sizeof (ac__type_new_))
33863 return 0;
33864 ;
33865 return 0;
33866 }
33867 _ACEOF
33868 rm -f conftest.$ac_objext
33869 if { (ac_try="$ac_compile"
33870 case "(($ac_try" in
33871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33872 *) ac_try_echo=$ac_try;;
33873 esac
33874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33875 (eval "$ac_compile") 2>conftest.er1
33876 ac_status=$?
33877 grep -v '^ *+' conftest.er1 >conftest.err
33878 rm -f conftest.er1
33879 cat conftest.err >&5
33880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33881 (exit $ac_status); } && {
33882 test -z "$ac_c_werror_flag" ||
33883 test ! -s conftest.err
33884 } && test -s conftest.$ac_objext; then
33885 ac_cv_type_pid_t=yes
33886 else
33887 echo "$as_me: failed program was:" >&5
33888 sed 's/^/| /' conftest.$ac_ext >&5
33889
33890 ac_cv_type_pid_t=no
33891 fi
33892
33893 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33894 fi
33895 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33896 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33897 if test $ac_cv_type_pid_t = yes; then
33898 :
33899 else
33900
33901 cat >>confdefs.h <<_ACEOF
33902 #define pid_t int
33903 _ACEOF
33904
33905 fi
33906
33907 { echo "$as_me:$LINENO: checking for size_t" >&5
33908 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33909 if test "${ac_cv_type_size_t+set}" = set; then
33910 echo $ECHO_N "(cached) $ECHO_C" >&6
33911 else
33912 cat >conftest.$ac_ext <<_ACEOF
33913 /* confdefs.h. */
33914 _ACEOF
33915 cat confdefs.h >>conftest.$ac_ext
33916 cat >>conftest.$ac_ext <<_ACEOF
33917 /* end confdefs.h. */
33918 $ac_includes_default
33919 typedef size_t ac__type_new_;
33920 int
33921 main ()
33922 {
33923 if ((ac__type_new_ *) 0)
33924 return 0;
33925 if (sizeof (ac__type_new_))
33926 return 0;
33927 ;
33928 return 0;
33929 }
33930 _ACEOF
33931 rm -f conftest.$ac_objext
33932 if { (ac_try="$ac_compile"
33933 case "(($ac_try" in
33934 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33935 *) ac_try_echo=$ac_try;;
33936 esac
33937 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33938 (eval "$ac_compile") 2>conftest.er1
33939 ac_status=$?
33940 grep -v '^ *+' conftest.er1 >conftest.err
33941 rm -f conftest.er1
33942 cat conftest.err >&5
33943 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33944 (exit $ac_status); } && {
33945 test -z "$ac_c_werror_flag" ||
33946 test ! -s conftest.err
33947 } && test -s conftest.$ac_objext; then
33948 ac_cv_type_size_t=yes
33949 else
33950 echo "$as_me: failed program was:" >&5
33951 sed 's/^/| /' conftest.$ac_ext >&5
33952
33953 ac_cv_type_size_t=no
33954 fi
33955
33956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33957 fi
33958 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33959 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33960 if test $ac_cv_type_size_t = yes; then
33961 :
33962 else
33963
33964 cat >>confdefs.h <<_ACEOF
33965 #define size_t unsigned int
33966 _ACEOF
33967
33968 fi
33969
33970
33971 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33972 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33973 if test "${ac_cv_type_ssize_t+set}" = set; then
33974 echo $ECHO_N "(cached) $ECHO_C" >&6
33975 else
33976 cat >conftest.$ac_ext <<_ACEOF
33977 /* confdefs.h. */
33978 _ACEOF
33979 cat confdefs.h >>conftest.$ac_ext
33980 cat >>conftest.$ac_ext <<_ACEOF
33981 /* end confdefs.h. */
33982 $ac_includes_default
33983 typedef ssize_t ac__type_new_;
33984 int
33985 main ()
33986 {
33987 if ((ac__type_new_ *) 0)
33988 return 0;
33989 if (sizeof (ac__type_new_))
33990 return 0;
33991 ;
33992 return 0;
33993 }
33994 _ACEOF
33995 rm -f conftest.$ac_objext
33996 if { (ac_try="$ac_compile"
33997 case "(($ac_try" in
33998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33999 *) ac_try_echo=$ac_try;;
34000 esac
34001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34002 (eval "$ac_compile") 2>conftest.er1
34003 ac_status=$?
34004 grep -v '^ *+' conftest.er1 >conftest.err
34005 rm -f conftest.er1
34006 cat conftest.err >&5
34007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34008 (exit $ac_status); } && {
34009 test -z "$ac_c_werror_flag" ||
34010 test ! -s conftest.err
34011 } && test -s conftest.$ac_objext; then
34012 ac_cv_type_ssize_t=yes
34013 else
34014 echo "$as_me: failed program was:" >&5
34015 sed 's/^/| /' conftest.$ac_ext >&5
34016
34017 ac_cv_type_ssize_t=no
34018 fi
34019
34020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34021 fi
34022 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
34023 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
34024 if test $ac_cv_type_ssize_t = yes; then
34025
34026 cat >>confdefs.h <<_ACEOF
34027 #define HAVE_SSIZE_T 1
34028 _ACEOF
34029
34030
34031 fi
34032
34033
34034 ac_ext=cpp
34035 ac_cpp='$CXXCPP $CPPFLAGS'
34036 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34037 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34038 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
34039 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
34040 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
34041 if test "${wx_cv_size_t_is_uint+set}" = set; then
34042 echo $ECHO_N "(cached) $ECHO_C" >&6
34043 else
34044
34045 cat >conftest.$ac_ext <<_ACEOF
34046 /* confdefs.h. */
34047 _ACEOF
34048 cat confdefs.h >>conftest.$ac_ext
34049 cat >>conftest.$ac_ext <<_ACEOF
34050 /* end confdefs.h. */
34051 #include <stddef.h>
34052 int
34053 main ()
34054 {
34055
34056 return 0; }
34057
34058 struct Foo { void foo(size_t); void foo(unsigned int); };
34059
34060 int bar() {
34061
34062 ;
34063 return 0;
34064 }
34065 _ACEOF
34066 rm -f conftest.$ac_objext
34067 if { (ac_try="$ac_compile"
34068 case "(($ac_try" in
34069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34070 *) ac_try_echo=$ac_try;;
34071 esac
34072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34073 (eval "$ac_compile") 2>conftest.er1
34074 ac_status=$?
34075 grep -v '^ *+' conftest.er1 >conftest.err
34076 rm -f conftest.er1
34077 cat conftest.err >&5
34078 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34079 (exit $ac_status); } && {
34080 test -z "$ac_cxx_werror_flag" ||
34081 test ! -s conftest.err
34082 } && test -s conftest.$ac_objext; then
34083 wx_cv_size_t_is_uint=no
34084 else
34085 echo "$as_me: failed program was:" >&5
34086 sed 's/^/| /' conftest.$ac_ext >&5
34087
34088 wx_cv_size_t_is_uint=yes
34089
34090 fi
34091
34092 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34093
34094
34095 fi
34096 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
34097 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
34098
34099 if test "$wx_cv_size_t_is_uint" = "yes"; then
34100 cat >>confdefs.h <<\_ACEOF
34101 #define wxSIZE_T_IS_UINT 1
34102 _ACEOF
34103
34104 else
34105 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
34106 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
34107 if test "${wx_cv_size_t_is_ulong+set}" = set; then
34108 echo $ECHO_N "(cached) $ECHO_C" >&6
34109 else
34110 cat >conftest.$ac_ext <<_ACEOF
34111 /* confdefs.h. */
34112 _ACEOF
34113 cat confdefs.h >>conftest.$ac_ext
34114 cat >>conftest.$ac_ext <<_ACEOF
34115 /* end confdefs.h. */
34116 #include <stddef.h>
34117 int
34118 main ()
34119 {
34120
34121 return 0; }
34122
34123 struct Foo { void foo(size_t); void foo(unsigned long); };
34124
34125 int bar() {
34126
34127 ;
34128 return 0;
34129 }
34130 _ACEOF
34131 rm -f conftest.$ac_objext
34132 if { (ac_try="$ac_compile"
34133 case "(($ac_try" in
34134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34135 *) ac_try_echo=$ac_try;;
34136 esac
34137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34138 (eval "$ac_compile") 2>conftest.er1
34139 ac_status=$?
34140 grep -v '^ *+' conftest.er1 >conftest.err
34141 rm -f conftest.er1
34142 cat conftest.err >&5
34143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34144 (exit $ac_status); } && {
34145 test -z "$ac_cxx_werror_flag" ||
34146 test ! -s conftest.err
34147 } && test -s conftest.$ac_objext; then
34148 wx_cv_size_t_is_ulong=no
34149 else
34150 echo "$as_me: failed program was:" >&5
34151 sed 's/^/| /' conftest.$ac_ext >&5
34152
34153 wx_cv_size_t_is_ulong=yes
34154
34155 fi
34156
34157 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34158
34159 fi
34160 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
34161 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
34162
34163 if test "$wx_cv_size_t_is_ulong" = "yes"; then
34164 cat >>confdefs.h <<\_ACEOF
34165 #define wxSIZE_T_IS_ULONG 1
34166 _ACEOF
34167
34168 fi
34169 fi
34170
34171 { echo "$as_me:$LINENO: checking if wchar_t is separate type" >&5
34172 echo $ECHO_N "checking if wchar_t is separate type... $ECHO_C" >&6; }
34173 if test "${wx_cv_wchar_t_is_separate_type+set}" = set; then
34174 echo $ECHO_N "(cached) $ECHO_C" >&6
34175 else
34176 cat >conftest.$ac_ext <<_ACEOF
34177 /* confdefs.h. */
34178 _ACEOF
34179 cat confdefs.h >>conftest.$ac_ext
34180 cat >>conftest.$ac_ext <<_ACEOF
34181 /* end confdefs.h. */
34182 #include <wchar.h>
34183 int
34184 main ()
34185 {
34186
34187 return 0; }
34188
34189 struct Foo { void foo(wchar_t);
34190 void foo(unsigned short);
34191 void foo(unsigned int);
34192 void foo(unsigned long); };
34193
34194 int bar() {
34195
34196 ;
34197 return 0;
34198 }
34199 _ACEOF
34200 rm -f conftest.$ac_objext
34201 if { (ac_try="$ac_compile"
34202 case "(($ac_try" in
34203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34204 *) ac_try_echo=$ac_try;;
34205 esac
34206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34207 (eval "$ac_compile") 2>conftest.er1
34208 ac_status=$?
34209 grep -v '^ *+' conftest.er1 >conftest.err
34210 rm -f conftest.er1
34211 cat conftest.err >&5
34212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34213 (exit $ac_status); } && {
34214 test -z "$ac_cxx_werror_flag" ||
34215 test ! -s conftest.err
34216 } && test -s conftest.$ac_objext; then
34217 wx_cv_wchar_t_is_separate_type=yes
34218 else
34219 echo "$as_me: failed program was:" >&5
34220 sed 's/^/| /' conftest.$ac_ext >&5
34221
34222 wx_cv_wchar_t_is_separate_type=no
34223
34224 fi
34225
34226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34227
34228 fi
34229 { echo "$as_me:$LINENO: result: $wx_cv_wchar_t_is_separate_type" >&5
34230 echo "${ECHO_T}$wx_cv_wchar_t_is_separate_type" >&6; }
34231
34232 if test "$wx_cv_wchar_t_is_separate_type" = "yes"; then
34233 cat >>confdefs.h <<\_ACEOF
34234 #define wxWCHAR_T_IS_REAL_TYPE 1
34235 _ACEOF
34236
34237 else
34238 cat >>confdefs.h <<\_ACEOF
34239 #define wxWCHAR_T_IS_REAL_TYPE 0
34240 _ACEOF
34241
34242 fi
34243
34244 ac_ext=c
34245 ac_cpp='$CPP $CPPFLAGS'
34246 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
34247 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
34248 ac_compiler_gnu=$ac_cv_c_compiler_gnu
34249
34250
34251 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
34252 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
34253 if test "${wx_cv_struct_pw_gecos+set}" = set; then
34254 echo $ECHO_N "(cached) $ECHO_C" >&6
34255 else
34256
34257 cat >conftest.$ac_ext <<_ACEOF
34258 /* confdefs.h. */
34259 _ACEOF
34260 cat confdefs.h >>conftest.$ac_ext
34261 cat >>conftest.$ac_ext <<_ACEOF
34262 /* end confdefs.h. */
34263 #include <pwd.h>
34264 int
34265 main ()
34266 {
34267
34268 char *p;
34269 struct passwd *pw;
34270 p = pw->pw_gecos;
34271
34272 ;
34273 return 0;
34274 }
34275 _ACEOF
34276 rm -f conftest.$ac_objext
34277 if { (ac_try="$ac_compile"
34278 case "(($ac_try" in
34279 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34280 *) ac_try_echo=$ac_try;;
34281 esac
34282 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34283 (eval "$ac_compile") 2>conftest.er1
34284 ac_status=$?
34285 grep -v '^ *+' conftest.er1 >conftest.err
34286 rm -f conftest.er1
34287 cat conftest.err >&5
34288 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34289 (exit $ac_status); } && {
34290 test -z "$ac_c_werror_flag" ||
34291 test ! -s conftest.err
34292 } && test -s conftest.$ac_objext; then
34293
34294 wx_cv_struct_pw_gecos=yes
34295
34296 else
34297 echo "$as_me: failed program was:" >&5
34298 sed 's/^/| /' conftest.$ac_ext >&5
34299
34300
34301 wx_cv_struct_pw_gecos=no
34302
34303
34304 fi
34305
34306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34307
34308
34309 fi
34310 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
34311 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
34312
34313 if test "$wx_cv_struct_pw_gecos" = "yes"; then
34314 cat >>confdefs.h <<\_ACEOF
34315 #define HAVE_PW_GECOS 1
34316 _ACEOF
34317
34318 fi
34319
34320
34321 if test "$wxUSE_WCHAR_T" = "yes"; then
34322 cat >>confdefs.h <<\_ACEOF
34323 #define wxUSE_WCHAR_T 1
34324 _ACEOF
34325
34326
34327 WCSLEN_FOUND=0
34328 WCHAR_LINK=
34329
34330 for ac_func in wcslen
34331 do
34332 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34333 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34334 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34335 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34336 echo $ECHO_N "(cached) $ECHO_C" >&6
34337 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34345 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34346 #define $ac_func innocuous_$ac_func
34347
34348 /* System header to define __stub macros and hopefully few prototypes,
34349 which can conflict with char $ac_func (); below.
34350 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34351 <limits.h> exists even on freestanding compilers. */
34352
34353 #ifdef __STDC__
34354 # include <limits.h>
34355 #else
34356 # include <assert.h>
34357 #endif
34358
34359 #undef $ac_func
34360
34361 /* Override any GCC internal prototype to avoid an error.
34362 Use char because int might match the return type of a GCC
34363 builtin and then its argument prototype would still apply. */
34364 #ifdef __cplusplus
34365 extern "C"
34366 #endif
34367 char $ac_func ();
34368 /* The GNU C library defines this for functions which it implements
34369 to always fail with ENOSYS. Some functions are actually named
34370 something starting with __ and the normal name is an alias. */
34371 #if defined __stub_$ac_func || defined __stub___$ac_func
34372 choke me
34373 #endif
34374
34375 int
34376 main ()
34377 {
34378 return $ac_func ();
34379 ;
34380 return 0;
34381 }
34382 _ACEOF
34383 rm -f conftest.$ac_objext conftest$ac_exeext
34384 if { (ac_try="$ac_link"
34385 case "(($ac_try" in
34386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34387 *) ac_try_echo=$ac_try;;
34388 esac
34389 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34390 (eval "$ac_link") 2>conftest.er1
34391 ac_status=$?
34392 grep -v '^ *+' conftest.er1 >conftest.err
34393 rm -f conftest.er1
34394 cat conftest.err >&5
34395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34396 (exit $ac_status); } && {
34397 test -z "$ac_c_werror_flag" ||
34398 test ! -s conftest.err
34399 } && test -s conftest$ac_exeext &&
34400 $as_test_x conftest$ac_exeext; then
34401 eval "$as_ac_var=yes"
34402 else
34403 echo "$as_me: failed program was:" >&5
34404 sed 's/^/| /' conftest.$ac_ext >&5
34405
34406 eval "$as_ac_var=no"
34407 fi
34408
34409 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34410 conftest$ac_exeext conftest.$ac_ext
34411 fi
34412 ac_res=`eval echo '${'$as_ac_var'}'`
34413 { echo "$as_me:$LINENO: result: $ac_res" >&5
34414 echo "${ECHO_T}$ac_res" >&6; }
34415 if test `eval echo '${'$as_ac_var'}'` = yes; then
34416 cat >>confdefs.h <<_ACEOF
34417 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34418 _ACEOF
34419 WCSLEN_FOUND=1
34420 fi
34421 done
34422
34423
34424 if test "$WCSLEN_FOUND" = 0; then
34425 if test "$TOOLKIT" = "MSW"; then
34426 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34427 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34428 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34429 echo $ECHO_N "(cached) $ECHO_C" >&6
34430 else
34431 ac_check_lib_save_LIBS=$LIBS
34432 LIBS="-lmsvcrt $LIBS"
34433 cat >conftest.$ac_ext <<_ACEOF
34434 /* confdefs.h. */
34435 _ACEOF
34436 cat confdefs.h >>conftest.$ac_ext
34437 cat >>conftest.$ac_ext <<_ACEOF
34438 /* end confdefs.h. */
34439
34440 /* Override any GCC internal prototype to avoid an error.
34441 Use char because int might match the return type of a GCC
34442 builtin and then its argument prototype would still apply. */
34443 #ifdef __cplusplus
34444 extern "C"
34445 #endif
34446 char wcslen ();
34447 int
34448 main ()
34449 {
34450 return wcslen ();
34451 ;
34452 return 0;
34453 }
34454 _ACEOF
34455 rm -f conftest.$ac_objext conftest$ac_exeext
34456 if { (ac_try="$ac_link"
34457 case "(($ac_try" in
34458 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34459 *) ac_try_echo=$ac_try;;
34460 esac
34461 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34462 (eval "$ac_link") 2>conftest.er1
34463 ac_status=$?
34464 grep -v '^ *+' conftest.er1 >conftest.err
34465 rm -f conftest.er1
34466 cat conftest.err >&5
34467 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34468 (exit $ac_status); } && {
34469 test -z "$ac_c_werror_flag" ||
34470 test ! -s conftest.err
34471 } && test -s conftest$ac_exeext &&
34472 $as_test_x conftest$ac_exeext; then
34473 ac_cv_lib_msvcrt_wcslen=yes
34474 else
34475 echo "$as_me: failed program was:" >&5
34476 sed 's/^/| /' conftest.$ac_ext >&5
34477
34478 ac_cv_lib_msvcrt_wcslen=no
34479 fi
34480
34481 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34482 conftest$ac_exeext conftest.$ac_ext
34483 LIBS=$ac_check_lib_save_LIBS
34484 fi
34485 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34486 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34487 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34488 WCHAR_OK=1
34489 fi
34490
34491 else
34492 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34493 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34494 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34495 echo $ECHO_N "(cached) $ECHO_C" >&6
34496 else
34497 ac_check_lib_save_LIBS=$LIBS
34498 LIBS="-lw $LIBS"
34499 cat >conftest.$ac_ext <<_ACEOF
34500 /* confdefs.h. */
34501 _ACEOF
34502 cat confdefs.h >>conftest.$ac_ext
34503 cat >>conftest.$ac_ext <<_ACEOF
34504 /* end confdefs.h. */
34505
34506 /* Override any GCC internal prototype to avoid an error.
34507 Use char because int might match the return type of a GCC
34508 builtin and then its argument prototype would still apply. */
34509 #ifdef __cplusplus
34510 extern "C"
34511 #endif
34512 char wcslen ();
34513 int
34514 main ()
34515 {
34516 return wcslen ();
34517 ;
34518 return 0;
34519 }
34520 _ACEOF
34521 rm -f conftest.$ac_objext conftest$ac_exeext
34522 if { (ac_try="$ac_link"
34523 case "(($ac_try" in
34524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34525 *) ac_try_echo=$ac_try;;
34526 esac
34527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34528 (eval "$ac_link") 2>conftest.er1
34529 ac_status=$?
34530 grep -v '^ *+' conftest.er1 >conftest.err
34531 rm -f conftest.er1
34532 cat conftest.err >&5
34533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34534 (exit $ac_status); } && {
34535 test -z "$ac_c_werror_flag" ||
34536 test ! -s conftest.err
34537 } && test -s conftest$ac_exeext &&
34538 $as_test_x conftest$ac_exeext; then
34539 ac_cv_lib_w_wcslen=yes
34540 else
34541 echo "$as_me: failed program was:" >&5
34542 sed 's/^/| /' conftest.$ac_ext >&5
34543
34544 ac_cv_lib_w_wcslen=no
34545 fi
34546
34547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34548 conftest$ac_exeext conftest.$ac_ext
34549 LIBS=$ac_check_lib_save_LIBS
34550 fi
34551 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34552 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34553 if test $ac_cv_lib_w_wcslen = yes; then
34554
34555 WCHAR_LINK=" -lw"
34556 WCSLEN_FOUND=1
34557
34558 fi
34559
34560 fi
34561 fi
34562
34563 if test "$WCSLEN_FOUND" = 1; then
34564 cat >>confdefs.h <<\_ACEOF
34565 #define HAVE_WCSLEN 1
34566 _ACEOF
34567
34568 fi
34569
34570
34571 for ac_func in wcsdup
34572 do
34573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34576 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34577 echo $ECHO_N "(cached) $ECHO_C" >&6
34578 else
34579 cat >conftest.$ac_ext <<_ACEOF
34580 /* confdefs.h. */
34581 _ACEOF
34582 cat confdefs.h >>conftest.$ac_ext
34583 cat >>conftest.$ac_ext <<_ACEOF
34584 /* end confdefs.h. */
34585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34587 #define $ac_func innocuous_$ac_func
34588
34589 /* System header to define __stub macros and hopefully few prototypes,
34590 which can conflict with char $ac_func (); below.
34591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34592 <limits.h> exists even on freestanding compilers. */
34593
34594 #ifdef __STDC__
34595 # include <limits.h>
34596 #else
34597 # include <assert.h>
34598 #endif
34599
34600 #undef $ac_func
34601
34602 /* Override any GCC internal prototype to avoid an error.
34603 Use char because int might match the return type of a GCC
34604 builtin and then its argument prototype would still apply. */
34605 #ifdef __cplusplus
34606 extern "C"
34607 #endif
34608 char $ac_func ();
34609 /* The GNU C library defines this for functions which it implements
34610 to always fail with ENOSYS. Some functions are actually named
34611 something starting with __ and the normal name is an alias. */
34612 #if defined __stub_$ac_func || defined __stub___$ac_func
34613 choke me
34614 #endif
34615
34616 int
34617 main ()
34618 {
34619 return $ac_func ();
34620 ;
34621 return 0;
34622 }
34623 _ACEOF
34624 rm -f conftest.$ac_objext conftest$ac_exeext
34625 if { (ac_try="$ac_link"
34626 case "(($ac_try" in
34627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34628 *) ac_try_echo=$ac_try;;
34629 esac
34630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34631 (eval "$ac_link") 2>conftest.er1
34632 ac_status=$?
34633 grep -v '^ *+' conftest.er1 >conftest.err
34634 rm -f conftest.er1
34635 cat conftest.err >&5
34636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34637 (exit $ac_status); } && {
34638 test -z "$ac_c_werror_flag" ||
34639 test ! -s conftest.err
34640 } && test -s conftest$ac_exeext &&
34641 $as_test_x conftest$ac_exeext; then
34642 eval "$as_ac_var=yes"
34643 else
34644 echo "$as_me: failed program was:" >&5
34645 sed 's/^/| /' conftest.$ac_ext >&5
34646
34647 eval "$as_ac_var=no"
34648 fi
34649
34650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34651 conftest$ac_exeext conftest.$ac_ext
34652 fi
34653 ac_res=`eval echo '${'$as_ac_var'}'`
34654 { echo "$as_me:$LINENO: result: $ac_res" >&5
34655 echo "${ECHO_T}$ac_res" >&6; }
34656 if test `eval echo '${'$as_ac_var'}'` = yes; then
34657 cat >>confdefs.h <<_ACEOF
34658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34659 _ACEOF
34660
34661 fi
34662 done
34663
34664
34665 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34666 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34667 fi
34668
34669 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34670 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34671 if test "${ac_cv_type_mbstate_t+set}" = set; then
34672 echo $ECHO_N "(cached) $ECHO_C" >&6
34673 else
34674 cat >conftest.$ac_ext <<_ACEOF
34675 /* confdefs.h. */
34676 _ACEOF
34677 cat confdefs.h >>conftest.$ac_ext
34678 cat >>conftest.$ac_ext <<_ACEOF
34679 /* end confdefs.h. */
34680 #include <wchar.h>
34681
34682 typedef mbstate_t ac__type_new_;
34683 int
34684 main ()
34685 {
34686 if ((ac__type_new_ *) 0)
34687 return 0;
34688 if (sizeof (ac__type_new_))
34689 return 0;
34690 ;
34691 return 0;
34692 }
34693 _ACEOF
34694 rm -f conftest.$ac_objext
34695 if { (ac_try="$ac_compile"
34696 case "(($ac_try" in
34697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34698 *) ac_try_echo=$ac_try;;
34699 esac
34700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34701 (eval "$ac_compile") 2>conftest.er1
34702 ac_status=$?
34703 grep -v '^ *+' conftest.er1 >conftest.err
34704 rm -f conftest.er1
34705 cat conftest.err >&5
34706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34707 (exit $ac_status); } && {
34708 test -z "$ac_c_werror_flag" ||
34709 test ! -s conftest.err
34710 } && test -s conftest.$ac_objext; then
34711 ac_cv_type_mbstate_t=yes
34712 else
34713 echo "$as_me: failed program was:" >&5
34714 sed 's/^/| /' conftest.$ac_ext >&5
34715
34716 ac_cv_type_mbstate_t=no
34717 fi
34718
34719 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34720 fi
34721 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34722 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34723 if test $ac_cv_type_mbstate_t = yes; then
34724
34725 cat >>confdefs.h <<_ACEOF
34726 #define HAVE_MBSTATE_T 1
34727 _ACEOF
34728
34729
34730 for ac_func in wcsrtombs
34731 do
34732 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34733 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34734 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34735 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34736 echo $ECHO_N "(cached) $ECHO_C" >&6
34737 else
34738 cat >conftest.$ac_ext <<_ACEOF
34739 /* confdefs.h. */
34740 _ACEOF
34741 cat confdefs.h >>conftest.$ac_ext
34742 cat >>conftest.$ac_ext <<_ACEOF
34743 /* end confdefs.h. */
34744 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34745 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34746 #define $ac_func innocuous_$ac_func
34747
34748 /* System header to define __stub macros and hopefully few prototypes,
34749 which can conflict with char $ac_func (); below.
34750 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34751 <limits.h> exists even on freestanding compilers. */
34752
34753 #ifdef __STDC__
34754 # include <limits.h>
34755 #else
34756 # include <assert.h>
34757 #endif
34758
34759 #undef $ac_func
34760
34761 /* Override any GCC internal prototype to avoid an error.
34762 Use char because int might match the return type of a GCC
34763 builtin and then its argument prototype would still apply. */
34764 #ifdef __cplusplus
34765 extern "C"
34766 #endif
34767 char $ac_func ();
34768 /* The GNU C library defines this for functions which it implements
34769 to always fail with ENOSYS. Some functions are actually named
34770 something starting with __ and the normal name is an alias. */
34771 #if defined __stub_$ac_func || defined __stub___$ac_func
34772 choke me
34773 #endif
34774
34775 int
34776 main ()
34777 {
34778 return $ac_func ();
34779 ;
34780 return 0;
34781 }
34782 _ACEOF
34783 rm -f conftest.$ac_objext conftest$ac_exeext
34784 if { (ac_try="$ac_link"
34785 case "(($ac_try" in
34786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34787 *) ac_try_echo=$ac_try;;
34788 esac
34789 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34790 (eval "$ac_link") 2>conftest.er1
34791 ac_status=$?
34792 grep -v '^ *+' conftest.er1 >conftest.err
34793 rm -f conftest.er1
34794 cat conftest.err >&5
34795 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34796 (exit $ac_status); } && {
34797 test -z "$ac_c_werror_flag" ||
34798 test ! -s conftest.err
34799 } && test -s conftest$ac_exeext &&
34800 $as_test_x conftest$ac_exeext; then
34801 eval "$as_ac_var=yes"
34802 else
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.$ac_ext >&5
34805
34806 eval "$as_ac_var=no"
34807 fi
34808
34809 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34810 conftest$ac_exeext conftest.$ac_ext
34811 fi
34812 ac_res=`eval echo '${'$as_ac_var'}'`
34813 { echo "$as_me:$LINENO: result: $ac_res" >&5
34814 echo "${ECHO_T}$ac_res" >&6; }
34815 if test `eval echo '${'$as_ac_var'}'` = yes; then
34816 cat >>confdefs.h <<_ACEOF
34817 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34818 _ACEOF
34819
34820 fi
34821 done
34822
34823 fi
34824
34825 else
34826 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34827 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34828 fi
34829
34830
34831
34832 for ac_func in snprintf vsnprintf
34833 do
34834 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34835 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34836 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34837 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34838 echo $ECHO_N "(cached) $ECHO_C" >&6
34839 else
34840 cat >conftest.$ac_ext <<_ACEOF
34841 /* confdefs.h. */
34842 _ACEOF
34843 cat confdefs.h >>conftest.$ac_ext
34844 cat >>conftest.$ac_ext <<_ACEOF
34845 /* end confdefs.h. */
34846 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34847 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34848 #define $ac_func innocuous_$ac_func
34849
34850 /* System header to define __stub macros and hopefully few prototypes,
34851 which can conflict with char $ac_func (); below.
34852 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34853 <limits.h> exists even on freestanding compilers. */
34854
34855 #ifdef __STDC__
34856 # include <limits.h>
34857 #else
34858 # include <assert.h>
34859 #endif
34860
34861 #undef $ac_func
34862
34863 /* Override any GCC internal prototype to avoid an error.
34864 Use char because int might match the return type of a GCC
34865 builtin and then its argument prototype would still apply. */
34866 #ifdef __cplusplus
34867 extern "C"
34868 #endif
34869 char $ac_func ();
34870 /* The GNU C library defines this for functions which it implements
34871 to always fail with ENOSYS. Some functions are actually named
34872 something starting with __ and the normal name is an alias. */
34873 #if defined __stub_$ac_func || defined __stub___$ac_func
34874 choke me
34875 #endif
34876
34877 int
34878 main ()
34879 {
34880 return $ac_func ();
34881 ;
34882 return 0;
34883 }
34884 _ACEOF
34885 rm -f conftest.$ac_objext conftest$ac_exeext
34886 if { (ac_try="$ac_link"
34887 case "(($ac_try" in
34888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34889 *) ac_try_echo=$ac_try;;
34890 esac
34891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34892 (eval "$ac_link") 2>conftest.er1
34893 ac_status=$?
34894 grep -v '^ *+' conftest.er1 >conftest.err
34895 rm -f conftest.er1
34896 cat conftest.err >&5
34897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34898 (exit $ac_status); } && {
34899 test -z "$ac_c_werror_flag" ||
34900 test ! -s conftest.err
34901 } && test -s conftest$ac_exeext &&
34902 $as_test_x conftest$ac_exeext; then
34903 eval "$as_ac_var=yes"
34904 else
34905 echo "$as_me: failed program was:" >&5
34906 sed 's/^/| /' conftest.$ac_ext >&5
34907
34908 eval "$as_ac_var=no"
34909 fi
34910
34911 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34912 conftest$ac_exeext conftest.$ac_ext
34913 fi
34914 ac_res=`eval echo '${'$as_ac_var'}'`
34915 { echo "$as_me:$LINENO: result: $ac_res" >&5
34916 echo "${ECHO_T}$ac_res" >&6; }
34917 if test `eval echo '${'$as_ac_var'}'` = yes; then
34918 cat >>confdefs.h <<_ACEOF
34919 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34920 _ACEOF
34921
34922 fi
34923 done
34924
34925
34926 if test "$ac_cv_func_vsnprintf" = "yes"; then
34927 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34928 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34929 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34930 echo $ECHO_N "(cached) $ECHO_C" >&6
34931 else
34932
34933 cat >conftest.$ac_ext <<_ACEOF
34934 /* confdefs.h. */
34935 _ACEOF
34936 cat confdefs.h >>conftest.$ac_ext
34937 cat >>conftest.$ac_ext <<_ACEOF
34938 /* end confdefs.h. */
34939
34940 #include <stdio.h>
34941 #include <stdarg.h>
34942 #ifdef __MSL__
34943 #if __MSL__ >= 0x6000
34944 namespace std {}
34945 using namespace std;
34946 #endif
34947 #endif
34948
34949 int
34950 main ()
34951 {
34952
34953 char *buf;
34954 va_list ap;
34955 vsnprintf(buf, 10u, "%s", ap);
34956
34957 ;
34958 return 0;
34959 }
34960 _ACEOF
34961 rm -f conftest.$ac_objext
34962 if { (ac_try="$ac_compile"
34963 case "(($ac_try" in
34964 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34965 *) ac_try_echo=$ac_try;;
34966 esac
34967 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34968 (eval "$ac_compile") 2>conftest.er1
34969 ac_status=$?
34970 grep -v '^ *+' conftest.er1 >conftest.err
34971 rm -f conftest.er1
34972 cat conftest.err >&5
34973 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34974 (exit $ac_status); } && {
34975 test -z "$ac_c_werror_flag" ||
34976 test ! -s conftest.err
34977 } && test -s conftest.$ac_objext; then
34978 wx_cv_func_vsnprintf_decl=yes
34979 else
34980 echo "$as_me: failed program was:" >&5
34981 sed 's/^/| /' conftest.$ac_ext >&5
34982
34983 wx_cv_func_vsnprintf_decl=no
34984
34985 fi
34986
34987 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34988
34989
34990 fi
34991 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34992 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34993
34994 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34995 cat >>confdefs.h <<\_ACEOF
34996 #define HAVE_VSNPRINTF_DECL 1
34997 _ACEOF
34998
34999
35000 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
35001 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
35002 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
35003 echo $ECHO_N "(cached) $ECHO_C" >&6
35004 else
35005
35006 cat >conftest.$ac_ext <<_ACEOF
35007 /* confdefs.h. */
35008 _ACEOF
35009 cat confdefs.h >>conftest.$ac_ext
35010 cat >>conftest.$ac_ext <<_ACEOF
35011 /* end confdefs.h. */
35012
35013 #include <stdio.h>
35014 #include <stdarg.h>
35015 #ifdef __MSL__
35016 #if __MSL__ >= 0x6000
35017 namespace std {}
35018 using namespace std;
35019 #endif
35020 #endif
35021
35022 int
35023 main ()
35024 {
35025
35026 char *buf;
35027 va_list ap;
35028 const char *fmt = "%s";
35029 vsnprintf(buf, 10u, fmt, ap);
35030
35031 ;
35032 return 0;
35033 }
35034 _ACEOF
35035 rm -f conftest.$ac_objext
35036 if { (ac_try="$ac_compile"
35037 case "(($ac_try" in
35038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35039 *) ac_try_echo=$ac_try;;
35040 esac
35041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35042 (eval "$ac_compile") 2>conftest.er1
35043 ac_status=$?
35044 grep -v '^ *+' conftest.er1 >conftest.err
35045 rm -f conftest.er1
35046 cat conftest.err >&5
35047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35048 (exit $ac_status); } && {
35049 test -z "$ac_c_werror_flag" ||
35050 test ! -s conftest.err
35051 } && test -s conftest.$ac_objext; then
35052 wx_cv_func_broken_vsnprintf_decl=no
35053 else
35054 echo "$as_me: failed program was:" >&5
35055 sed 's/^/| /' conftest.$ac_ext >&5
35056
35057 wx_cv_func_broken_vsnprintf_decl=yes
35058
35059 fi
35060
35061 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35062
35063
35064 fi
35065 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
35066 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
35067
35068 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
35069 cat >>confdefs.h <<\_ACEOF
35070 #define HAVE_BROKEN_VSNPRINTF_DECL 1
35071 _ACEOF
35072
35073 fi
35074 fi
35075 fi
35076
35077 if test "$ac_cv_func_snprintf" = "yes"; then
35078 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
35079 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
35080 if test "${wx_cv_func_snprintf_decl+set}" = set; then
35081 echo $ECHO_N "(cached) $ECHO_C" >&6
35082 else
35083
35084 cat >conftest.$ac_ext <<_ACEOF
35085 /* confdefs.h. */
35086 _ACEOF
35087 cat confdefs.h >>conftest.$ac_ext
35088 cat >>conftest.$ac_ext <<_ACEOF
35089 /* end confdefs.h. */
35090
35091 #include <stdio.h>
35092 #include <stdarg.h>
35093 #ifdef __MSL__
35094 #if __MSL__ >= 0x6000
35095 namespace std {}
35096 using namespace std;
35097 #endif
35098 #endif
35099
35100 int
35101 main ()
35102 {
35103
35104 char *buf;
35105 snprintf(buf, 10u, "%s", "wx");
35106
35107 ;
35108 return 0;
35109 }
35110 _ACEOF
35111 rm -f conftest.$ac_objext
35112 if { (ac_try="$ac_compile"
35113 case "(($ac_try" in
35114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35115 *) ac_try_echo=$ac_try;;
35116 esac
35117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35118 (eval "$ac_compile") 2>conftest.er1
35119 ac_status=$?
35120 grep -v '^ *+' conftest.er1 >conftest.err
35121 rm -f conftest.er1
35122 cat conftest.err >&5
35123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35124 (exit $ac_status); } && {
35125 test -z "$ac_c_werror_flag" ||
35126 test ! -s conftest.err
35127 } && test -s conftest.$ac_objext; then
35128 wx_cv_func_snprintf_decl=yes
35129 else
35130 echo "$as_me: failed program was:" >&5
35131 sed 's/^/| /' conftest.$ac_ext >&5
35132
35133 wx_cv_func_snprintf_decl=no
35134
35135 fi
35136
35137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35138
35139
35140 fi
35141 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
35142 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
35143
35144 if test "$wx_cv_func_snprintf_decl" = "yes"; then
35145 cat >>confdefs.h <<\_ACEOF
35146 #define HAVE_SNPRINTF_DECL 1
35147 _ACEOF
35148
35149 fi
35150
35151 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
35152
35153 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
35154 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
35155 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
35156 echo $ECHO_N "(cached) $ECHO_C" >&6
35157 else
35158
35159 if test "$cross_compiling" = yes; then
35160
35161 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
35162 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
35163 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
35164 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
35165 wx_cv_func_snprintf_pos_params=no
35166
35167
35168 else
35169 cat >conftest.$ac_ext <<_ACEOF
35170 /* confdefs.h. */
35171 _ACEOF
35172 cat confdefs.h >>conftest.$ac_ext
35173 cat >>conftest.$ac_ext <<_ACEOF
35174 /* end confdefs.h. */
35175
35176 #include <stdio.h>
35177
35178 int main (void)
35179 {
35180 char buffer[128];
35181 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
35182 if (strcmp ("2 3 1", buffer) == 0)
35183 exit (0);
35184 exit (1);
35185 }
35186
35187 _ACEOF
35188 rm -f conftest$ac_exeext
35189 if { (ac_try="$ac_link"
35190 case "(($ac_try" in
35191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35192 *) ac_try_echo=$ac_try;;
35193 esac
35194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35195 (eval "$ac_link") 2>&5
35196 ac_status=$?
35197 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35198 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
35199 { (case "(($ac_try" in
35200 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35201 *) ac_try_echo=$ac_try;;
35202 esac
35203 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35204 (eval "$ac_try") 2>&5
35205 ac_status=$?
35206 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35207 (exit $ac_status); }; }; then
35208 wx_cv_func_snprintf_pos_params=no
35209 else
35210 echo "$as_me: program exited with status $ac_status" >&5
35211 echo "$as_me: failed program was:" >&5
35212 sed 's/^/| /' conftest.$ac_ext >&5
35213
35214 ( exit $ac_status )
35215 wx_cv_func_snprintf_pos_params=yes
35216 fi
35217 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
35218 fi
35219
35220
35221
35222
35223 fi
35224 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
35225 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
35226
35227 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
35228 cat >>confdefs.h <<\_ACEOF
35229 #define HAVE_UNIX98_PRINTF 1
35230 _ACEOF
35231
35232 fi
35233 fi
35234 fi
35235
35236 if test "$wxUSE_UNICODE" = yes; then
35237
35238 wchar_headers="#include <stdio.h>
35239 #include <wchar.h>"
35240 case "${host}" in
35241 *-*-solaris2* )
35242
35243 for ac_header in widec.h
35244 do
35245 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
35246 { echo "$as_me:$LINENO: checking for $ac_header" >&5
35247 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
35248 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
35249 echo $ECHO_N "(cached) $ECHO_C" >&6
35250 else
35251 cat >conftest.$ac_ext <<_ACEOF
35252 /* confdefs.h. */
35253 _ACEOF
35254 cat confdefs.h >>conftest.$ac_ext
35255 cat >>conftest.$ac_ext <<_ACEOF
35256 /* end confdefs.h. */
35257 $ac_includes_default
35258
35259 #include <$ac_header>
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_c_werror_flag" ||
35276 test ! -s conftest.err
35277 } && test -s conftest.$ac_objext; then
35278 eval "$as_ac_Header=yes"
35279 else
35280 echo "$as_me: failed program was:" >&5
35281 sed 's/^/| /' conftest.$ac_ext >&5
35282
35283 eval "$as_ac_Header=no"
35284 fi
35285
35286 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35287 fi
35288 ac_res=`eval echo '${'$as_ac_Header'}'`
35289 { echo "$as_me:$LINENO: result: $ac_res" >&5
35290 echo "${ECHO_T}$ac_res" >&6; }
35291 if test `eval echo '${'$as_ac_Header'}'` = yes; then
35292 cat >>confdefs.h <<_ACEOF
35293 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
35294 _ACEOF
35295
35296 fi
35297
35298 done
35299
35300 if test "$ac_cv_header_widec_h" = "yes"; then
35301 wchar_headers="$wchar_headers
35302 #include <widec.h>"
35303 fi
35304 esac
35305
35306
35307 for wx_func in putws fputws wprintf vswprintf vswscanf
35308 do
35309 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35310 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35311 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35312 echo $ECHO_N "(cached) $ECHO_C" >&6
35313 else
35314
35315 cat >conftest.$ac_ext <<_ACEOF
35316
35317 /* confdefs.h. */
35318 _ACEOF
35319 cat confdefs.h >>conftest.$ac_ext
35320 cat >>conftest.$ac_ext <<_ACEOF
35321 /* end confdefs.h. */
35322
35323 $wchar_headers
35324 $ac_includes_default
35325
35326 int
35327 main ()
35328 {
35329
35330 #ifndef $wx_func
35331 &$wx_func;
35332 #endif
35333
35334
35335 ;
35336 return 0;
35337 }
35338
35339 _ACEOF
35340 rm -f conftest.$ac_objext conftest$ac_exeext
35341 if { (ac_try="$ac_link"
35342 case "(($ac_try" in
35343 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35344 *) ac_try_echo=$ac_try;;
35345 esac
35346 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35347 (eval "$ac_link") 2>conftest.er1
35348 ac_status=$?
35349 grep -v '^ *+' conftest.er1 >conftest.err
35350 rm -f conftest.er1
35351 cat conftest.err >&5
35352 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35353 (exit $ac_status); } && {
35354 test -z "$ac_c_werror_flag" ||
35355 test ! -s conftest.err
35356 } && test -s conftest$ac_exeext &&
35357 $as_test_x conftest$ac_exeext; then
35358 eval wx_cv_func_$wx_func=yes
35359 else
35360 echo "$as_me: failed program was:" >&5
35361 sed 's/^/| /' conftest.$ac_ext >&5
35362
35363 eval wx_cv_func_$wx_func=no
35364 fi
35365
35366 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35367 conftest$ac_exeext conftest.$ac_ext
35368
35369 fi
35370 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35371 { echo "$as_me:$LINENO: result: $ac_res" >&5
35372 echo "${ECHO_T}$ac_res" >&6; }
35373
35374 if eval test \$wx_cv_func_$wx_func = yes
35375 then
35376 cat >>confdefs.h <<_ACEOF
35377 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35378 _ACEOF
35379
35380
35381 else
35382 :
35383
35384 fi
35385 done
35386
35387
35388 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35389 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35390 cat >conftest.$ac_ext <<_ACEOF
35391 /* confdefs.h. */
35392 _ACEOF
35393 cat confdefs.h >>conftest.$ac_ext
35394 cat >>conftest.$ac_ext <<_ACEOF
35395 /* end confdefs.h. */
35396 #include <wchar.h>
35397 int
35398 main ()
35399 {
35400 &_vsnwprintf;
35401 ;
35402 return 0;
35403 }
35404 _ACEOF
35405 rm -f conftest.$ac_objext
35406 if { (ac_try="$ac_compile"
35407 case "(($ac_try" in
35408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35409 *) ac_try_echo=$ac_try;;
35410 esac
35411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35412 (eval "$ac_compile") 2>conftest.er1
35413 ac_status=$?
35414 grep -v '^ *+' conftest.er1 >conftest.err
35415 rm -f conftest.er1
35416 cat conftest.err >&5
35417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35418 (exit $ac_status); } && {
35419 test -z "$ac_c_werror_flag" ||
35420 test ! -s conftest.err
35421 } && test -s conftest.$ac_objext; then
35422 { echo "$as_me:$LINENO: result: yes" >&5
35423 echo "${ECHO_T}yes" >&6; }
35424 cat >>confdefs.h <<\_ACEOF
35425 #define HAVE__VSNWPRINTF 1
35426 _ACEOF
35427
35428 else
35429 echo "$as_me: failed program was:" >&5
35430 sed 's/^/| /' conftest.$ac_ext >&5
35431
35432 { echo "$as_me:$LINENO: result: no" >&5
35433 echo "${ECHO_T}no" >&6; }
35434 fi
35435
35436 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35437 fi
35438
35439 if test "$wxUSE_FILE" = "yes"; then
35440
35441 for wx_func in fsync
35442 do
35443 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35444 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35445 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35446 echo $ECHO_N "(cached) $ECHO_C" >&6
35447 else
35448
35449 cat >conftest.$ac_ext <<_ACEOF
35450
35451 /* confdefs.h. */
35452 _ACEOF
35453 cat confdefs.h >>conftest.$ac_ext
35454 cat >>conftest.$ac_ext <<_ACEOF
35455 /* end confdefs.h. */
35456
35457
35458 $ac_includes_default
35459
35460 int
35461 main ()
35462 {
35463
35464 #ifndef $wx_func
35465 &$wx_func;
35466 #endif
35467
35468
35469 ;
35470 return 0;
35471 }
35472
35473 _ACEOF
35474 rm -f conftest.$ac_objext conftest$ac_exeext
35475 if { (ac_try="$ac_link"
35476 case "(($ac_try" in
35477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35478 *) ac_try_echo=$ac_try;;
35479 esac
35480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35481 (eval "$ac_link") 2>conftest.er1
35482 ac_status=$?
35483 grep -v '^ *+' conftest.er1 >conftest.err
35484 rm -f conftest.er1
35485 cat conftest.err >&5
35486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35487 (exit $ac_status); } && {
35488 test -z "$ac_c_werror_flag" ||
35489 test ! -s conftest.err
35490 } && test -s conftest$ac_exeext &&
35491 $as_test_x conftest$ac_exeext; then
35492 eval wx_cv_func_$wx_func=yes
35493 else
35494 echo "$as_me: failed program was:" >&5
35495 sed 's/^/| /' conftest.$ac_ext >&5
35496
35497 eval wx_cv_func_$wx_func=no
35498 fi
35499
35500 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35501 conftest$ac_exeext conftest.$ac_ext
35502
35503 fi
35504 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35505 { echo "$as_me:$LINENO: result: $ac_res" >&5
35506 echo "${ECHO_T}$ac_res" >&6; }
35507
35508 if eval test \$wx_cv_func_$wx_func = yes
35509 then
35510 cat >>confdefs.h <<_ACEOF
35511 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35512 _ACEOF
35513
35514
35515 else
35516 :
35517
35518 fi
35519 done
35520
35521 fi
35522
35523 ac_ext=cpp
35524 ac_cpp='$CXXCPP $CPPFLAGS'
35525 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35528
35529
35530 for wx_func in round
35531 do
35532 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35533 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35534 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35535 echo $ECHO_N "(cached) $ECHO_C" >&6
35536 else
35537
35538 cat >conftest.$ac_ext <<_ACEOF
35539
35540 /* confdefs.h. */
35541 _ACEOF
35542 cat confdefs.h >>conftest.$ac_ext
35543 cat >>conftest.$ac_ext <<_ACEOF
35544 /* end confdefs.h. */
35545
35546 #include <math.h>
35547 $ac_includes_default
35548
35549 int
35550 main ()
35551 {
35552
35553 #ifndef $wx_func
35554 &$wx_func;
35555 #endif
35556
35557
35558 ;
35559 return 0;
35560 }
35561
35562 _ACEOF
35563 rm -f conftest.$ac_objext conftest$ac_exeext
35564 if { (ac_try="$ac_link"
35565 case "(($ac_try" in
35566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35567 *) ac_try_echo=$ac_try;;
35568 esac
35569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35570 (eval "$ac_link") 2>conftest.er1
35571 ac_status=$?
35572 grep -v '^ *+' conftest.er1 >conftest.err
35573 rm -f conftest.er1
35574 cat conftest.err >&5
35575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35576 (exit $ac_status); } && {
35577 test -z "$ac_cxx_werror_flag" ||
35578 test ! -s conftest.err
35579 } && test -s conftest$ac_exeext &&
35580 $as_test_x conftest$ac_exeext; then
35581 eval wx_cv_func_$wx_func=yes
35582 else
35583 echo "$as_me: failed program was:" >&5
35584 sed 's/^/| /' conftest.$ac_ext >&5
35585
35586 eval wx_cv_func_$wx_func=no
35587 fi
35588
35589 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35590 conftest$ac_exeext conftest.$ac_ext
35591
35592 fi
35593 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35594 { echo "$as_me:$LINENO: result: $ac_res" >&5
35595 echo "${ECHO_T}$ac_res" >&6; }
35596
35597 if eval test \$wx_cv_func_$wx_func = yes
35598 then
35599 cat >>confdefs.h <<_ACEOF
35600 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
35601 _ACEOF
35602
35603
35604 else
35605 :
35606
35607 fi
35608 done
35609
35610 ac_ext=c
35611 ac_cpp='$CPP $CPPFLAGS'
35612 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35613 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35614 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35615
35616
35617 if test "$TOOLKIT" != "MSW"; then
35618
35619 if test "$wxUSE_LIBICONV" != "no" ; then
35620
35621
35622
35623 # Check whether --with-libiconv-prefix was given.
35624 if test "${with_libiconv_prefix+set}" = set; then
35625 withval=$with_libiconv_prefix;
35626 for dir in `echo "$withval" | tr : ' '`; do
35627 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35628 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35629 done
35630
35631 fi
35632
35633
35634 { echo "$as_me:$LINENO: checking for iconv" >&5
35635 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35636 if test "${am_cv_func_iconv+set}" = set; then
35637 echo $ECHO_N "(cached) $ECHO_C" >&6
35638 else
35639
35640 am_cv_func_iconv="no, consider installing GNU libiconv"
35641 am_cv_lib_iconv=no
35642 cat >conftest.$ac_ext <<_ACEOF
35643 /* confdefs.h. */
35644 _ACEOF
35645 cat confdefs.h >>conftest.$ac_ext
35646 cat >>conftest.$ac_ext <<_ACEOF
35647 /* end confdefs.h. */
35648 #include <stdlib.h>
35649 #include <iconv.h>
35650 int
35651 main ()
35652 {
35653 iconv_t cd = iconv_open("","");
35654 iconv(cd,NULL,NULL,NULL,NULL);
35655 iconv_close(cd);
35656 ;
35657 return 0;
35658 }
35659 _ACEOF
35660 rm -f conftest.$ac_objext conftest$ac_exeext
35661 if { (ac_try="$ac_link"
35662 case "(($ac_try" in
35663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35664 *) ac_try_echo=$ac_try;;
35665 esac
35666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35667 (eval "$ac_link") 2>conftest.er1
35668 ac_status=$?
35669 grep -v '^ *+' conftest.er1 >conftest.err
35670 rm -f conftest.er1
35671 cat conftest.err >&5
35672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35673 (exit $ac_status); } && {
35674 test -z "$ac_c_werror_flag" ||
35675 test ! -s conftest.err
35676 } && test -s conftest$ac_exeext &&
35677 $as_test_x conftest$ac_exeext; then
35678 am_cv_func_iconv=yes
35679 else
35680 echo "$as_me: failed program was:" >&5
35681 sed 's/^/| /' conftest.$ac_ext >&5
35682
35683
35684 fi
35685
35686 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35687 conftest$ac_exeext conftest.$ac_ext
35688 if test "$am_cv_func_iconv" != yes; then
35689 am_save_LIBS="$LIBS"
35690 LIBS="$LIBS -liconv"
35691 cat >conftest.$ac_ext <<_ACEOF
35692 /* confdefs.h. */
35693 _ACEOF
35694 cat confdefs.h >>conftest.$ac_ext
35695 cat >>conftest.$ac_ext <<_ACEOF
35696 /* end confdefs.h. */
35697 #include <stdlib.h>
35698 #include <iconv.h>
35699 int
35700 main ()
35701 {
35702 iconv_t cd = iconv_open("","");
35703 iconv(cd,NULL,NULL,NULL,NULL);
35704 iconv_close(cd);
35705 ;
35706 return 0;
35707 }
35708 _ACEOF
35709 rm -f conftest.$ac_objext conftest$ac_exeext
35710 if { (ac_try="$ac_link"
35711 case "(($ac_try" in
35712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35713 *) ac_try_echo=$ac_try;;
35714 esac
35715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35716 (eval "$ac_link") 2>conftest.er1
35717 ac_status=$?
35718 grep -v '^ *+' conftest.er1 >conftest.err
35719 rm -f conftest.er1
35720 cat conftest.err >&5
35721 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35722 (exit $ac_status); } && {
35723 test -z "$ac_c_werror_flag" ||
35724 test ! -s conftest.err
35725 } && test -s conftest$ac_exeext &&
35726 $as_test_x conftest$ac_exeext; then
35727 am_cv_lib_iconv=yes
35728 am_cv_func_iconv=yes
35729 else
35730 echo "$as_me: failed program was:" >&5
35731 sed 's/^/| /' conftest.$ac_ext >&5
35732
35733
35734 fi
35735
35736 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35737 conftest$ac_exeext conftest.$ac_ext
35738 LIBS="$am_save_LIBS"
35739 fi
35740
35741 fi
35742 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35743 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35744 if test "$am_cv_func_iconv" = yes; then
35745
35746 cat >>confdefs.h <<\_ACEOF
35747 #define HAVE_ICONV 1
35748 _ACEOF
35749
35750 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35751 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35752 if test "${wx_cv_func_iconv_const+set}" = set; then
35753 echo $ECHO_N "(cached) $ECHO_C" >&6
35754 else
35755 cat >conftest.$ac_ext <<_ACEOF
35756 /* confdefs.h. */
35757 _ACEOF
35758 cat confdefs.h >>conftest.$ac_ext
35759 cat >>conftest.$ac_ext <<_ACEOF
35760 /* end confdefs.h. */
35761
35762 #include <stdlib.h>
35763 #include <iconv.h>
35764 extern
35765 #ifdef __cplusplus
35766 "C"
35767 #endif
35768 #if defined(__STDC__) || defined(__cplusplus)
35769 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35770 #else
35771 size_t iconv();
35772 #endif
35773
35774 int
35775 main ()
35776 {
35777
35778 ;
35779 return 0;
35780 }
35781 _ACEOF
35782 rm -f conftest.$ac_objext
35783 if { (ac_try="$ac_compile"
35784 case "(($ac_try" in
35785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35786 *) ac_try_echo=$ac_try;;
35787 esac
35788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35789 (eval "$ac_compile") 2>conftest.er1
35790 ac_status=$?
35791 grep -v '^ *+' conftest.er1 >conftest.err
35792 rm -f conftest.er1
35793 cat conftest.err >&5
35794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35795 (exit $ac_status); } && {
35796 test -z "$ac_c_werror_flag" ||
35797 test ! -s conftest.err
35798 } && test -s conftest.$ac_objext; then
35799 wx_cv_func_iconv_const="no"
35800 else
35801 echo "$as_me: failed program was:" >&5
35802 sed 's/^/| /' conftest.$ac_ext >&5
35803
35804 wx_cv_func_iconv_const="yes"
35805
35806 fi
35807
35808 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35809
35810 fi
35811 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35812 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35813
35814 iconv_const=
35815 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35816 iconv_const="const"
35817 fi
35818
35819
35820 cat >>confdefs.h <<_ACEOF
35821 #define ICONV_CONST $iconv_const
35822 _ACEOF
35823
35824 fi
35825 LIBICONV=
35826 if test "$am_cv_lib_iconv" = yes; then
35827 LIBICONV="-liconv"
35828 fi
35829
35830
35831 LIBS="$LIBICONV $LIBS"
35832 fi
35833
35834 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35835
35836 for ac_func in sigaction
35837 do
35838 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35839 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35840 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35841 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35842 echo $ECHO_N "(cached) $ECHO_C" >&6
35843 else
35844 cat >conftest.$ac_ext <<_ACEOF
35845 /* confdefs.h. */
35846 _ACEOF
35847 cat confdefs.h >>conftest.$ac_ext
35848 cat >>conftest.$ac_ext <<_ACEOF
35849 /* end confdefs.h. */
35850 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35851 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35852 #define $ac_func innocuous_$ac_func
35853
35854 /* System header to define __stub macros and hopefully few prototypes,
35855 which can conflict with char $ac_func (); below.
35856 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35857 <limits.h> exists even on freestanding compilers. */
35858
35859 #ifdef __STDC__
35860 # include <limits.h>
35861 #else
35862 # include <assert.h>
35863 #endif
35864
35865 #undef $ac_func
35866
35867 /* Override any GCC internal prototype to avoid an error.
35868 Use char because int might match the return type of a GCC
35869 builtin and then its argument prototype would still apply. */
35870 #ifdef __cplusplus
35871 extern "C"
35872 #endif
35873 char $ac_func ();
35874 /* The GNU C library defines this for functions which it implements
35875 to always fail with ENOSYS. Some functions are actually named
35876 something starting with __ and the normal name is an alias. */
35877 #if defined __stub_$ac_func || defined __stub___$ac_func
35878 choke me
35879 #endif
35880
35881 int
35882 main ()
35883 {
35884 return $ac_func ();
35885 ;
35886 return 0;
35887 }
35888 _ACEOF
35889 rm -f conftest.$ac_objext conftest$ac_exeext
35890 if { (ac_try="$ac_link"
35891 case "(($ac_try" in
35892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35893 *) ac_try_echo=$ac_try;;
35894 esac
35895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35896 (eval "$ac_link") 2>conftest.er1
35897 ac_status=$?
35898 grep -v '^ *+' conftest.er1 >conftest.err
35899 rm -f conftest.er1
35900 cat conftest.err >&5
35901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35902 (exit $ac_status); } && {
35903 test -z "$ac_c_werror_flag" ||
35904 test ! -s conftest.err
35905 } && test -s conftest$ac_exeext &&
35906 $as_test_x conftest$ac_exeext; then
35907 eval "$as_ac_var=yes"
35908 else
35909 echo "$as_me: failed program was:" >&5
35910 sed 's/^/| /' conftest.$ac_ext >&5
35911
35912 eval "$as_ac_var=no"
35913 fi
35914
35915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35916 conftest$ac_exeext conftest.$ac_ext
35917 fi
35918 ac_res=`eval echo '${'$as_ac_var'}'`
35919 { echo "$as_me:$LINENO: result: $ac_res" >&5
35920 echo "${ECHO_T}$ac_res" >&6; }
35921 if test `eval echo '${'$as_ac_var'}'` = yes; then
35922 cat >>confdefs.h <<_ACEOF
35923 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35924 _ACEOF
35925
35926 fi
35927 done
35928
35929
35930 if test "$ac_cv_func_sigaction" = "no"; then
35931 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35932 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35933 wxUSE_ON_FATAL_EXCEPTION=no
35934 fi
35935
35936 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35937 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35938 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35939 if test "${wx_cv_type_sa_handler+set}" = set; then
35940 echo $ECHO_N "(cached) $ECHO_C" >&6
35941 else
35942
35943 ac_ext=cpp
35944 ac_cpp='$CXXCPP $CPPFLAGS'
35945 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35946 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35947 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35948
35949 cat >conftest.$ac_ext <<_ACEOF
35950 /* confdefs.h. */
35951 _ACEOF
35952 cat confdefs.h >>conftest.$ac_ext
35953 cat >>conftest.$ac_ext <<_ACEOF
35954 /* end confdefs.h. */
35955 #include <signal.h>
35956 int
35957 main ()
35958 {
35959
35960 extern void testSigHandler(int);
35961
35962 struct sigaction sa;
35963 sa.sa_handler = testSigHandler;
35964
35965 ;
35966 return 0;
35967 }
35968 _ACEOF
35969 rm -f conftest.$ac_objext
35970 if { (ac_try="$ac_compile"
35971 case "(($ac_try" in
35972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35973 *) ac_try_echo=$ac_try;;
35974 esac
35975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35976 (eval "$ac_compile") 2>conftest.er1
35977 ac_status=$?
35978 grep -v '^ *+' conftest.er1 >conftest.err
35979 rm -f conftest.er1
35980 cat conftest.err >&5
35981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35982 (exit $ac_status); } && {
35983 test -z "$ac_cxx_werror_flag" ||
35984 test ! -s conftest.err
35985 } && test -s conftest.$ac_objext; then
35986
35987 wx_cv_type_sa_handler=int
35988
35989 else
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.$ac_ext >&5
35992
35993
35994 wx_cv_type_sa_handler=void
35995
35996 fi
35997
35998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35999 ac_ext=c
36000 ac_cpp='$CPP $CPPFLAGS'
36001 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36002 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36003 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36004
36005
36006 fi
36007 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
36008 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
36009
36010 cat >>confdefs.h <<_ACEOF
36011 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
36012 _ACEOF
36013
36014 fi
36015 fi
36016
36017 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
36018 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
36019 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
36020 if test "${wx_cv_func_backtrace+set}" = set; then
36021 echo $ECHO_N "(cached) $ECHO_C" >&6
36022 else
36023
36024 ac_ext=cpp
36025 ac_cpp='$CXXCPP $CPPFLAGS'
36026 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36027 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36028 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36029
36030 cat >conftest.$ac_ext <<_ACEOF
36031 /* confdefs.h. */
36032 _ACEOF
36033 cat confdefs.h >>conftest.$ac_ext
36034 cat >>conftest.$ac_ext <<_ACEOF
36035 /* end confdefs.h. */
36036 #include <execinfo.h>
36037 int
36038 main ()
36039 {
36040
36041 void *trace[1];
36042 char **messages;
36043
36044 backtrace(trace, 1);
36045 messages = backtrace_symbols(trace, 1);
36046
36047 ;
36048 return 0;
36049 }
36050 _ACEOF
36051 rm -f conftest.$ac_objext
36052 if { (ac_try="$ac_compile"
36053 case "(($ac_try" in
36054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36055 *) ac_try_echo=$ac_try;;
36056 esac
36057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36058 (eval "$ac_compile") 2>conftest.er1
36059 ac_status=$?
36060 grep -v '^ *+' conftest.er1 >conftest.err
36061 rm -f conftest.er1
36062 cat conftest.err >&5
36063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36064 (exit $ac_status); } && {
36065 test -z "$ac_cxx_werror_flag" ||
36066 test ! -s conftest.err
36067 } && test -s conftest.$ac_objext; then
36068 wx_cv_func_backtrace=yes
36069 else
36070 echo "$as_me: failed program was:" >&5
36071 sed 's/^/| /' conftest.$ac_ext >&5
36072
36073 wx_cv_func_backtrace=no
36074
36075 fi
36076
36077 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36078 ac_ext=c
36079 ac_cpp='$CPP $CPPFLAGS'
36080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36083
36084
36085
36086 fi
36087 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
36088 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
36089
36090
36091 if test "$wx_cv_func_backtrace" = "no"; then
36092 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
36093 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
36094 wxUSE_STACKWALKER=no
36095 else
36096 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
36097 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
36098 if test "${wx_cv_func_cxa_demangle+set}" = set; then
36099 echo $ECHO_N "(cached) $ECHO_C" >&6
36100 else
36101
36102 ac_ext=cpp
36103 ac_cpp='$CXXCPP $CPPFLAGS'
36104 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36105 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36106 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36107
36108 cat >conftest.$ac_ext <<_ACEOF
36109 /* confdefs.h. */
36110 _ACEOF
36111 cat confdefs.h >>conftest.$ac_ext
36112 cat >>conftest.$ac_ext <<_ACEOF
36113 /* end confdefs.h. */
36114 #include <cxxabi.h>
36115 int
36116 main ()
36117 {
36118
36119 int rc;
36120 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
36121
36122 ;
36123 return 0;
36124 }
36125 _ACEOF
36126 rm -f conftest.$ac_objext conftest$ac_exeext
36127 if { (ac_try="$ac_link"
36128 case "(($ac_try" in
36129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36130 *) ac_try_echo=$ac_try;;
36131 esac
36132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36133 (eval "$ac_link") 2>conftest.er1
36134 ac_status=$?
36135 grep -v '^ *+' conftest.er1 >conftest.err
36136 rm -f conftest.er1
36137 cat conftest.err >&5
36138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36139 (exit $ac_status); } && {
36140 test -z "$ac_cxx_werror_flag" ||
36141 test ! -s conftest.err
36142 } && test -s conftest$ac_exeext &&
36143 $as_test_x conftest$ac_exeext; then
36144 wx_cv_func_cxa_demangle=yes
36145 else
36146 echo "$as_me: failed program was:" >&5
36147 sed 's/^/| /' conftest.$ac_ext >&5
36148
36149 wx_cv_func_cxa_demangle=no
36150
36151 fi
36152
36153 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36154 conftest$ac_exeext conftest.$ac_ext
36155 ac_ext=c
36156 ac_cpp='$CPP $CPPFLAGS'
36157 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36158 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36159 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36160
36161
36162
36163 fi
36164 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
36165 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
36166
36167 if test "$wx_cv_func_cxa_demangle" = "yes"; then
36168 cat >>confdefs.h <<\_ACEOF
36169 #define HAVE_CXA_DEMANGLE 1
36170 _ACEOF
36171
36172 fi
36173 fi
36174 fi
36175
36176 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != 1 -a "$USE_UNIX" != 1; then
36177 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
36178 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
36179 wxUSE_STACKWALKER=no
36180 fi
36181
36182
36183
36184
36185 for ac_func in mkstemp mktemp
36186 do
36187 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36188 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36189 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36190 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36191 echo $ECHO_N "(cached) $ECHO_C" >&6
36192 else
36193 cat >conftest.$ac_ext <<_ACEOF
36194 /* confdefs.h. */
36195 _ACEOF
36196 cat confdefs.h >>conftest.$ac_ext
36197 cat >>conftest.$ac_ext <<_ACEOF
36198 /* end confdefs.h. */
36199 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36200 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36201 #define $ac_func innocuous_$ac_func
36202
36203 /* System header to define __stub macros and hopefully few prototypes,
36204 which can conflict with char $ac_func (); below.
36205 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36206 <limits.h> exists even on freestanding compilers. */
36207
36208 #ifdef __STDC__
36209 # include <limits.h>
36210 #else
36211 # include <assert.h>
36212 #endif
36213
36214 #undef $ac_func
36215
36216 /* Override any GCC internal prototype to avoid an error.
36217 Use char because int might match the return type of a GCC
36218 builtin and then its argument prototype would still apply. */
36219 #ifdef __cplusplus
36220 extern "C"
36221 #endif
36222 char $ac_func ();
36223 /* The GNU C library defines this for functions which it implements
36224 to always fail with ENOSYS. Some functions are actually named
36225 something starting with __ and the normal name is an alias. */
36226 #if defined __stub_$ac_func || defined __stub___$ac_func
36227 choke me
36228 #endif
36229
36230 int
36231 main ()
36232 {
36233 return $ac_func ();
36234 ;
36235 return 0;
36236 }
36237 _ACEOF
36238 rm -f conftest.$ac_objext conftest$ac_exeext
36239 if { (ac_try="$ac_link"
36240 case "(($ac_try" in
36241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36242 *) ac_try_echo=$ac_try;;
36243 esac
36244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36245 (eval "$ac_link") 2>conftest.er1
36246 ac_status=$?
36247 grep -v '^ *+' conftest.er1 >conftest.err
36248 rm -f conftest.er1
36249 cat conftest.err >&5
36250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36251 (exit $ac_status); } && {
36252 test -z "$ac_c_werror_flag" ||
36253 test ! -s conftest.err
36254 } && test -s conftest$ac_exeext &&
36255 $as_test_x conftest$ac_exeext; then
36256 eval "$as_ac_var=yes"
36257 else
36258 echo "$as_me: failed program was:" >&5
36259 sed 's/^/| /' conftest.$ac_ext >&5
36260
36261 eval "$as_ac_var=no"
36262 fi
36263
36264 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36265 conftest$ac_exeext conftest.$ac_ext
36266 fi
36267 ac_res=`eval echo '${'$as_ac_var'}'`
36268 { echo "$as_me:$LINENO: result: $ac_res" >&5
36269 echo "${ECHO_T}$ac_res" >&6; }
36270 if test `eval echo '${'$as_ac_var'}'` = yes; then
36271 cat >>confdefs.h <<_ACEOF
36272 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36273 _ACEOF
36274 break
36275 fi
36276 done
36277
36278
36279 { echo "$as_me:$LINENO: checking for statfs" >&5
36280 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36281 if test "${wx_cv_func_statfs+set}" = set; then
36282 echo $ECHO_N "(cached) $ECHO_C" >&6
36283 else
36284 cat >conftest.$ac_ext <<_ACEOF
36285 /* confdefs.h. */
36286 _ACEOF
36287 cat confdefs.h >>conftest.$ac_ext
36288 cat >>conftest.$ac_ext <<_ACEOF
36289 /* end confdefs.h. */
36290
36291 #if defined(__BSD__)
36292 #include <sys/param.h>
36293 #include <sys/mount.h>
36294 #else
36295 #include <sys/vfs.h>
36296 #endif
36297
36298 int
36299 main ()
36300 {
36301
36302 long l;
36303 struct statfs fs;
36304 statfs("/", &fs);
36305 l = fs.f_bsize;
36306 l += fs.f_blocks;
36307 l += fs.f_bavail;
36308
36309 ;
36310 return 0;
36311 }
36312 _ACEOF
36313 rm -f conftest.$ac_objext
36314 if { (ac_try="$ac_compile"
36315 case "(($ac_try" in
36316 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36317 *) ac_try_echo=$ac_try;;
36318 esac
36319 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36320 (eval "$ac_compile") 2>conftest.er1
36321 ac_status=$?
36322 grep -v '^ *+' conftest.er1 >conftest.err
36323 rm -f conftest.er1
36324 cat conftest.err >&5
36325 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36326 (exit $ac_status); } && {
36327 test -z "$ac_c_werror_flag" ||
36328 test ! -s conftest.err
36329 } && test -s conftest.$ac_objext; then
36330 wx_cv_func_statfs=yes
36331 else
36332 echo "$as_me: failed program was:" >&5
36333 sed 's/^/| /' conftest.$ac_ext >&5
36334
36335 wx_cv_func_statfs=no
36336
36337 fi
36338
36339 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36340
36341 fi
36342 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36343 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36344
36345 if test "$wx_cv_func_statfs" = "yes"; then
36346 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36347 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36348 if test "${wx_cv_func_statfs_decl+set}" = set; then
36349 echo $ECHO_N "(cached) $ECHO_C" >&6
36350 else
36351 ac_ext=cpp
36352 ac_cpp='$CXXCPP $CPPFLAGS'
36353 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36354 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36355 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36356
36357 cat >conftest.$ac_ext <<_ACEOF
36358 /* confdefs.h. */
36359 _ACEOF
36360 cat confdefs.h >>conftest.$ac_ext
36361 cat >>conftest.$ac_ext <<_ACEOF
36362 /* end confdefs.h. */
36363
36364 #if defined(__BSD__)
36365 #include <sys/param.h>
36366 #include <sys/mount.h>
36367 #else
36368 #include <sys/vfs.h>
36369 #endif
36370
36371 int
36372 main ()
36373 {
36374
36375 struct statfs fs;
36376 statfs("", &fs);
36377
36378 ;
36379 return 0;
36380 }
36381 _ACEOF
36382 rm -f conftest.$ac_objext
36383 if { (ac_try="$ac_compile"
36384 case "(($ac_try" in
36385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36386 *) ac_try_echo=$ac_try;;
36387 esac
36388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36389 (eval "$ac_compile") 2>conftest.er1
36390 ac_status=$?
36391 grep -v '^ *+' conftest.er1 >conftest.err
36392 rm -f conftest.er1
36393 cat conftest.err >&5
36394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36395 (exit $ac_status); } && {
36396 test -z "$ac_cxx_werror_flag" ||
36397 test ! -s conftest.err
36398 } && test -s conftest.$ac_objext; then
36399 wx_cv_func_statfs_decl=yes
36400 else
36401 echo "$as_me: failed program was:" >&5
36402 sed 's/^/| /' conftest.$ac_ext >&5
36403
36404 wx_cv_func_statfs_decl=no
36405
36406 fi
36407
36408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36409 ac_ext=c
36410 ac_cpp='$CPP $CPPFLAGS'
36411 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36412 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36413 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36414
36415
36416 fi
36417 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36418 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36419
36420 if test "$wx_cv_func_statfs_decl" = "yes"; then
36421 cat >>confdefs.h <<\_ACEOF
36422 #define HAVE_STATFS_DECL 1
36423 _ACEOF
36424
36425 fi
36426
36427 wx_cv_type_statvfs_t="struct statfs"
36428 cat >>confdefs.h <<\_ACEOF
36429 #define HAVE_STATFS 1
36430 _ACEOF
36431
36432 else
36433 { echo "$as_me:$LINENO: checking for statvfs" >&5
36434 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36435 if test "${wx_cv_func_statvfs+set}" = set; then
36436 echo $ECHO_N "(cached) $ECHO_C" >&6
36437 else
36438 cat >conftest.$ac_ext <<_ACEOF
36439 /* confdefs.h. */
36440 _ACEOF
36441 cat confdefs.h >>conftest.$ac_ext
36442 cat >>conftest.$ac_ext <<_ACEOF
36443 /* end confdefs.h. */
36444
36445 #include <stddef.h>
36446 #include <sys/statvfs.h>
36447
36448 int
36449 main ()
36450 {
36451
36452 statvfs("/", NULL);
36453
36454 ;
36455 return 0;
36456 }
36457 _ACEOF
36458 rm -f conftest.$ac_objext
36459 if { (ac_try="$ac_compile"
36460 case "(($ac_try" in
36461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36462 *) ac_try_echo=$ac_try;;
36463 esac
36464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36465 (eval "$ac_compile") 2>conftest.er1
36466 ac_status=$?
36467 grep -v '^ *+' conftest.er1 >conftest.err
36468 rm -f conftest.er1
36469 cat conftest.err >&5
36470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36471 (exit $ac_status); } && {
36472 test -z "$ac_c_werror_flag" ||
36473 test ! -s conftest.err
36474 } && test -s conftest.$ac_objext; then
36475 wx_cv_func_statvfs=yes
36476 else
36477 echo "$as_me: failed program was:" >&5
36478 sed 's/^/| /' conftest.$ac_ext >&5
36479
36480 wx_cv_func_statvfs=no
36481
36482 fi
36483
36484 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36485
36486 fi
36487 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36488 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36489
36490 if test "$wx_cv_func_statvfs" = "yes"; then
36491 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36492 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36493 if test "${wx_cv_type_statvfs_t+set}" = set; then
36494 echo $ECHO_N "(cached) $ECHO_C" >&6
36495 else
36496 ac_ext=cpp
36497 ac_cpp='$CXXCPP $CPPFLAGS'
36498 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36499 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36500 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36501
36502 cat >conftest.$ac_ext <<_ACEOF
36503 /* confdefs.h. */
36504 _ACEOF
36505 cat confdefs.h >>conftest.$ac_ext
36506 cat >>conftest.$ac_ext <<_ACEOF
36507 /* end confdefs.h. */
36508
36509 #include <sys/statvfs.h>
36510
36511 int
36512 main ()
36513 {
36514
36515 long l;
36516 statvfs_t fs;
36517 statvfs("/", &fs);
36518 l = fs.f_bsize;
36519 l += fs.f_blocks;
36520 l += fs.f_bavail;
36521
36522 ;
36523 return 0;
36524 }
36525 _ACEOF
36526 rm -f conftest.$ac_objext
36527 if { (ac_try="$ac_compile"
36528 case "(($ac_try" in
36529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36530 *) ac_try_echo=$ac_try;;
36531 esac
36532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36533 (eval "$ac_compile") 2>conftest.er1
36534 ac_status=$?
36535 grep -v '^ *+' conftest.er1 >conftest.err
36536 rm -f conftest.er1
36537 cat conftest.err >&5
36538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36539 (exit $ac_status); } && {
36540 test -z "$ac_cxx_werror_flag" ||
36541 test ! -s conftest.err
36542 } && test -s conftest.$ac_objext; then
36543 wx_cv_type_statvfs_t=statvfs_t
36544 else
36545 echo "$as_me: failed program was:" >&5
36546 sed 's/^/| /' conftest.$ac_ext >&5
36547
36548
36549 cat >conftest.$ac_ext <<_ACEOF
36550 /* confdefs.h. */
36551 _ACEOF
36552 cat confdefs.h >>conftest.$ac_ext
36553 cat >>conftest.$ac_ext <<_ACEOF
36554 /* end confdefs.h. */
36555
36556 #include <sys/statvfs.h>
36557
36558 int
36559 main ()
36560 {
36561
36562 long l;
36563 struct statvfs fs;
36564 statvfs("/", &fs);
36565 l = fs.f_bsize;
36566 l += fs.f_blocks;
36567 l += fs.f_bavail;
36568
36569 ;
36570 return 0;
36571 }
36572 _ACEOF
36573 rm -f conftest.$ac_objext
36574 if { (ac_try="$ac_compile"
36575 case "(($ac_try" in
36576 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36577 *) ac_try_echo=$ac_try;;
36578 esac
36579 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36580 (eval "$ac_compile") 2>conftest.er1
36581 ac_status=$?
36582 grep -v '^ *+' conftest.er1 >conftest.err
36583 rm -f conftest.er1
36584 cat conftest.err >&5
36585 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36586 (exit $ac_status); } && {
36587 test -z "$ac_cxx_werror_flag" ||
36588 test ! -s conftest.err
36589 } && test -s conftest.$ac_objext; then
36590 wx_cv_type_statvfs_t="struct statvfs"
36591 else
36592 echo "$as_me: failed program was:" >&5
36593 sed 's/^/| /' conftest.$ac_ext >&5
36594
36595 wx_cv_type_statvfs_t="unknown"
36596
36597 fi
36598
36599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36600
36601
36602 fi
36603
36604 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36605 ac_ext=c
36606 ac_cpp='$CPP $CPPFLAGS'
36607 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36608 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36609 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36610
36611
36612 fi
36613 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36614 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36615
36616 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36617 cat >>confdefs.h <<\_ACEOF
36618 #define HAVE_STATVFS 1
36619 _ACEOF
36620
36621 fi
36622 else
36623 wx_cv_type_statvfs_t="unknown"
36624 fi
36625 fi
36626
36627 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36628 cat >>confdefs.h <<_ACEOF
36629 #define WX_STATFS_T $wx_cv_type_statvfs_t
36630 _ACEOF
36631
36632 else
36633 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36634 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36635 fi
36636
36637 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36638
36639
36640 for ac_func in fcntl flock
36641 do
36642 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36643 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36644 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36645 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36646 echo $ECHO_N "(cached) $ECHO_C" >&6
36647 else
36648 cat >conftest.$ac_ext <<_ACEOF
36649 /* confdefs.h. */
36650 _ACEOF
36651 cat confdefs.h >>conftest.$ac_ext
36652 cat >>conftest.$ac_ext <<_ACEOF
36653 /* end confdefs.h. */
36654 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36655 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36656 #define $ac_func innocuous_$ac_func
36657
36658 /* System header to define __stub macros and hopefully few prototypes,
36659 which can conflict with char $ac_func (); below.
36660 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36661 <limits.h> exists even on freestanding compilers. */
36662
36663 #ifdef __STDC__
36664 # include <limits.h>
36665 #else
36666 # include <assert.h>
36667 #endif
36668
36669 #undef $ac_func
36670
36671 /* Override any GCC internal prototype to avoid an error.
36672 Use char because int might match the return type of a GCC
36673 builtin and then its argument prototype would still apply. */
36674 #ifdef __cplusplus
36675 extern "C"
36676 #endif
36677 char $ac_func ();
36678 /* The GNU C library defines this for functions which it implements
36679 to always fail with ENOSYS. Some functions are actually named
36680 something starting with __ and the normal name is an alias. */
36681 #if defined __stub_$ac_func || defined __stub___$ac_func
36682 choke me
36683 #endif
36684
36685 int
36686 main ()
36687 {
36688 return $ac_func ();
36689 ;
36690 return 0;
36691 }
36692 _ACEOF
36693 rm -f conftest.$ac_objext conftest$ac_exeext
36694 if { (ac_try="$ac_link"
36695 case "(($ac_try" in
36696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36697 *) ac_try_echo=$ac_try;;
36698 esac
36699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36700 (eval "$ac_link") 2>conftest.er1
36701 ac_status=$?
36702 grep -v '^ *+' conftest.er1 >conftest.err
36703 rm -f conftest.er1
36704 cat conftest.err >&5
36705 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36706 (exit $ac_status); } && {
36707 test -z "$ac_c_werror_flag" ||
36708 test ! -s conftest.err
36709 } && test -s conftest$ac_exeext &&
36710 $as_test_x conftest$ac_exeext; then
36711 eval "$as_ac_var=yes"
36712 else
36713 echo "$as_me: failed program was:" >&5
36714 sed 's/^/| /' conftest.$ac_ext >&5
36715
36716 eval "$as_ac_var=no"
36717 fi
36718
36719 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36720 conftest$ac_exeext conftest.$ac_ext
36721 fi
36722 ac_res=`eval echo '${'$as_ac_var'}'`
36723 { echo "$as_me:$LINENO: result: $ac_res" >&5
36724 echo "${ECHO_T}$ac_res" >&6; }
36725 if test `eval echo '${'$as_ac_var'}'` = yes; then
36726 cat >>confdefs.h <<_ACEOF
36727 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36728 _ACEOF
36729 break
36730 fi
36731 done
36732
36733
36734 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36735 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36736 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36737 wxUSE_SNGLINST_CHECKER=no
36738 fi
36739 fi
36740
36741
36742
36743 for ac_func in setenv putenv
36744 do
36745 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36746 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36747 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36748 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36749 echo $ECHO_N "(cached) $ECHO_C" >&6
36750 else
36751 cat >conftest.$ac_ext <<_ACEOF
36752 /* confdefs.h. */
36753 _ACEOF
36754 cat confdefs.h >>conftest.$ac_ext
36755 cat >>conftest.$ac_ext <<_ACEOF
36756 /* end confdefs.h. */
36757 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36758 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36759 #define $ac_func innocuous_$ac_func
36760
36761 /* System header to define __stub macros and hopefully few prototypes,
36762 which can conflict with char $ac_func (); below.
36763 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36764 <limits.h> exists even on freestanding compilers. */
36765
36766 #ifdef __STDC__
36767 # include <limits.h>
36768 #else
36769 # include <assert.h>
36770 #endif
36771
36772 #undef $ac_func
36773
36774 /* Override any GCC internal prototype to avoid an error.
36775 Use char because int might match the return type of a GCC
36776 builtin and then its argument prototype would still apply. */
36777 #ifdef __cplusplus
36778 extern "C"
36779 #endif
36780 char $ac_func ();
36781 /* The GNU C library defines this for functions which it implements
36782 to always fail with ENOSYS. Some functions are actually named
36783 something starting with __ and the normal name is an alias. */
36784 #if defined __stub_$ac_func || defined __stub___$ac_func
36785 choke me
36786 #endif
36787
36788 int
36789 main ()
36790 {
36791 return $ac_func ();
36792 ;
36793 return 0;
36794 }
36795 _ACEOF
36796 rm -f conftest.$ac_objext conftest$ac_exeext
36797 if { (ac_try="$ac_link"
36798 case "(($ac_try" in
36799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36800 *) ac_try_echo=$ac_try;;
36801 esac
36802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36803 (eval "$ac_link") 2>conftest.er1
36804 ac_status=$?
36805 grep -v '^ *+' conftest.er1 >conftest.err
36806 rm -f conftest.er1
36807 cat conftest.err >&5
36808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36809 (exit $ac_status); } && {
36810 test -z "$ac_c_werror_flag" ||
36811 test ! -s conftest.err
36812 } && test -s conftest$ac_exeext &&
36813 $as_test_x conftest$ac_exeext; then
36814 eval "$as_ac_var=yes"
36815 else
36816 echo "$as_me: failed program was:" >&5
36817 sed 's/^/| /' conftest.$ac_ext >&5
36818
36819 eval "$as_ac_var=no"
36820 fi
36821
36822 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36823 conftest$ac_exeext conftest.$ac_ext
36824 fi
36825 ac_res=`eval echo '${'$as_ac_var'}'`
36826 { echo "$as_me:$LINENO: result: $ac_res" >&5
36827 echo "${ECHO_T}$ac_res" >&6; }
36828 if test `eval echo '${'$as_ac_var'}'` = yes; then
36829 cat >>confdefs.h <<_ACEOF
36830 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36831 _ACEOF
36832 break
36833 fi
36834 done
36835
36836 if test "$ac_cv_func_setenv" = "yes"; then
36837
36838 for ac_func in unsetenv
36839 do
36840 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36841 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36842 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36843 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36844 echo $ECHO_N "(cached) $ECHO_C" >&6
36845 else
36846 cat >conftest.$ac_ext <<_ACEOF
36847 /* confdefs.h. */
36848 _ACEOF
36849 cat confdefs.h >>conftest.$ac_ext
36850 cat >>conftest.$ac_ext <<_ACEOF
36851 /* end confdefs.h. */
36852 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36853 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36854 #define $ac_func innocuous_$ac_func
36855
36856 /* System header to define __stub macros and hopefully few prototypes,
36857 which can conflict with char $ac_func (); below.
36858 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36859 <limits.h> exists even on freestanding compilers. */
36860
36861 #ifdef __STDC__
36862 # include <limits.h>
36863 #else
36864 # include <assert.h>
36865 #endif
36866
36867 #undef $ac_func
36868
36869 /* Override any GCC internal prototype to avoid an error.
36870 Use char because int might match the return type of a GCC
36871 builtin and then its argument prototype would still apply. */
36872 #ifdef __cplusplus
36873 extern "C"
36874 #endif
36875 char $ac_func ();
36876 /* The GNU C library defines this for functions which it implements
36877 to always fail with ENOSYS. Some functions are actually named
36878 something starting with __ and the normal name is an alias. */
36879 #if defined __stub_$ac_func || defined __stub___$ac_func
36880 choke me
36881 #endif
36882
36883 int
36884 main ()
36885 {
36886 return $ac_func ();
36887 ;
36888 return 0;
36889 }
36890 _ACEOF
36891 rm -f conftest.$ac_objext conftest$ac_exeext
36892 if { (ac_try="$ac_link"
36893 case "(($ac_try" in
36894 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36895 *) ac_try_echo=$ac_try;;
36896 esac
36897 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36898 (eval "$ac_link") 2>conftest.er1
36899 ac_status=$?
36900 grep -v '^ *+' conftest.er1 >conftest.err
36901 rm -f conftest.er1
36902 cat conftest.err >&5
36903 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36904 (exit $ac_status); } && {
36905 test -z "$ac_c_werror_flag" ||
36906 test ! -s conftest.err
36907 } && test -s conftest$ac_exeext &&
36908 $as_test_x conftest$ac_exeext; then
36909 eval "$as_ac_var=yes"
36910 else
36911 echo "$as_me: failed program was:" >&5
36912 sed 's/^/| /' conftest.$ac_ext >&5
36913
36914 eval "$as_ac_var=no"
36915 fi
36916
36917 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36918 conftest$ac_exeext conftest.$ac_ext
36919 fi
36920 ac_res=`eval echo '${'$as_ac_var'}'`
36921 { echo "$as_me:$LINENO: result: $ac_res" >&5
36922 echo "${ECHO_T}$ac_res" >&6; }
36923 if test `eval echo '${'$as_ac_var'}'` = yes; then
36924 cat >>confdefs.h <<_ACEOF
36925 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36926 _ACEOF
36927
36928 fi
36929 done
36930
36931 fi
36932
36933 HAVE_SOME_SLEEP_FUNC=0
36934 if test "$USE_BEOS" = 1; then
36935 cat >>confdefs.h <<\_ACEOF
36936 #define HAVE_SLEEP 1
36937 _ACEOF
36938
36939 HAVE_SOME_SLEEP_FUNC=1
36940 fi
36941
36942 if test "$USE_DARWIN" = 1; then
36943 cat >>confdefs.h <<\_ACEOF
36944 #define HAVE_USLEEP 1
36945 _ACEOF
36946
36947 HAVE_SOME_SLEEP_FUNC=1
36948 fi
36949
36950 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36951 POSIX4_LINK=
36952
36953 for ac_func in nanosleep
36954 do
36955 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36956 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36957 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36958 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36959 echo $ECHO_N "(cached) $ECHO_C" >&6
36960 else
36961 cat >conftest.$ac_ext <<_ACEOF
36962 /* confdefs.h. */
36963 _ACEOF
36964 cat confdefs.h >>conftest.$ac_ext
36965 cat >>conftest.$ac_ext <<_ACEOF
36966 /* end confdefs.h. */
36967 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36968 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36969 #define $ac_func innocuous_$ac_func
36970
36971 /* System header to define __stub macros and hopefully few prototypes,
36972 which can conflict with char $ac_func (); below.
36973 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36974 <limits.h> exists even on freestanding compilers. */
36975
36976 #ifdef __STDC__
36977 # include <limits.h>
36978 #else
36979 # include <assert.h>
36980 #endif
36981
36982 #undef $ac_func
36983
36984 /* Override any GCC internal prototype to avoid an error.
36985 Use char because int might match the return type of a GCC
36986 builtin and then its argument prototype would still apply. */
36987 #ifdef __cplusplus
36988 extern "C"
36989 #endif
36990 char $ac_func ();
36991 /* The GNU C library defines this for functions which it implements
36992 to always fail with ENOSYS. Some functions are actually named
36993 something starting with __ and the normal name is an alias. */
36994 #if defined __stub_$ac_func || defined __stub___$ac_func
36995 choke me
36996 #endif
36997
36998 int
36999 main ()
37000 {
37001 return $ac_func ();
37002 ;
37003 return 0;
37004 }
37005 _ACEOF
37006 rm -f conftest.$ac_objext conftest$ac_exeext
37007 if { (ac_try="$ac_link"
37008 case "(($ac_try" in
37009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37010 *) ac_try_echo=$ac_try;;
37011 esac
37012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37013 (eval "$ac_link") 2>conftest.er1
37014 ac_status=$?
37015 grep -v '^ *+' conftest.er1 >conftest.err
37016 rm -f conftest.er1
37017 cat conftest.err >&5
37018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37019 (exit $ac_status); } && {
37020 test -z "$ac_c_werror_flag" ||
37021 test ! -s conftest.err
37022 } && test -s conftest$ac_exeext &&
37023 $as_test_x conftest$ac_exeext; then
37024 eval "$as_ac_var=yes"
37025 else
37026 echo "$as_me: failed program was:" >&5
37027 sed 's/^/| /' conftest.$ac_ext >&5
37028
37029 eval "$as_ac_var=no"
37030 fi
37031
37032 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37033 conftest$ac_exeext conftest.$ac_ext
37034 fi
37035 ac_res=`eval echo '${'$as_ac_var'}'`
37036 { echo "$as_me:$LINENO: result: $ac_res" >&5
37037 echo "${ECHO_T}$ac_res" >&6; }
37038 if test `eval echo '${'$as_ac_var'}'` = yes; then
37039 cat >>confdefs.h <<_ACEOF
37040 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37041 _ACEOF
37042 cat >>confdefs.h <<\_ACEOF
37043 #define HAVE_NANOSLEEP 1
37044 _ACEOF
37045
37046 else
37047
37048 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
37049 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
37050 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
37051 echo $ECHO_N "(cached) $ECHO_C" >&6
37052 else
37053 ac_check_lib_save_LIBS=$LIBS
37054 LIBS="-lposix4 $LIBS"
37055 cat >conftest.$ac_ext <<_ACEOF
37056 /* confdefs.h. */
37057 _ACEOF
37058 cat confdefs.h >>conftest.$ac_ext
37059 cat >>conftest.$ac_ext <<_ACEOF
37060 /* end confdefs.h. */
37061
37062 /* Override any GCC internal prototype to avoid an error.
37063 Use char because int might match the return type of a GCC
37064 builtin and then its argument prototype would still apply. */
37065 #ifdef __cplusplus
37066 extern "C"
37067 #endif
37068 char nanosleep ();
37069 int
37070 main ()
37071 {
37072 return nanosleep ();
37073 ;
37074 return 0;
37075 }
37076 _ACEOF
37077 rm -f conftest.$ac_objext conftest$ac_exeext
37078 if { (ac_try="$ac_link"
37079 case "(($ac_try" in
37080 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37081 *) ac_try_echo=$ac_try;;
37082 esac
37083 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37084 (eval "$ac_link") 2>conftest.er1
37085 ac_status=$?
37086 grep -v '^ *+' conftest.er1 >conftest.err
37087 rm -f conftest.er1
37088 cat conftest.err >&5
37089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37090 (exit $ac_status); } && {
37091 test -z "$ac_c_werror_flag" ||
37092 test ! -s conftest.err
37093 } && test -s conftest$ac_exeext &&
37094 $as_test_x conftest$ac_exeext; then
37095 ac_cv_lib_posix4_nanosleep=yes
37096 else
37097 echo "$as_me: failed program was:" >&5
37098 sed 's/^/| /' conftest.$ac_ext >&5
37099
37100 ac_cv_lib_posix4_nanosleep=no
37101 fi
37102
37103 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37104 conftest$ac_exeext conftest.$ac_ext
37105 LIBS=$ac_check_lib_save_LIBS
37106 fi
37107 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
37108 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
37109 if test $ac_cv_lib_posix4_nanosleep = yes; then
37110
37111 cat >>confdefs.h <<\_ACEOF
37112 #define HAVE_NANOSLEEP 1
37113 _ACEOF
37114
37115 POSIX4_LINK=" -lposix4"
37116
37117 else
37118
37119
37120 for wx_func in usleep
37121 do
37122 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37123 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37124 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37125 echo $ECHO_N "(cached) $ECHO_C" >&6
37126 else
37127
37128 cat >conftest.$ac_ext <<_ACEOF
37129
37130 /* confdefs.h. */
37131 _ACEOF
37132 cat confdefs.h >>conftest.$ac_ext
37133 cat >>conftest.$ac_ext <<_ACEOF
37134 /* end confdefs.h. */
37135
37136
37137 $ac_includes_default
37138
37139 int
37140 main ()
37141 {
37142
37143 #ifndef $wx_func
37144 &$wx_func;
37145 #endif
37146
37147
37148 ;
37149 return 0;
37150 }
37151
37152 _ACEOF
37153 rm -f conftest.$ac_objext conftest$ac_exeext
37154 if { (ac_try="$ac_link"
37155 case "(($ac_try" in
37156 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37157 *) ac_try_echo=$ac_try;;
37158 esac
37159 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37160 (eval "$ac_link") 2>conftest.er1
37161 ac_status=$?
37162 grep -v '^ *+' conftest.er1 >conftest.err
37163 rm -f conftest.er1
37164 cat conftest.err >&5
37165 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37166 (exit $ac_status); } && {
37167 test -z "$ac_c_werror_flag" ||
37168 test ! -s conftest.err
37169 } && test -s conftest$ac_exeext &&
37170 $as_test_x conftest$ac_exeext; then
37171 eval wx_cv_func_$wx_func=yes
37172 else
37173 echo "$as_me: failed program was:" >&5
37174 sed 's/^/| /' conftest.$ac_ext >&5
37175
37176 eval wx_cv_func_$wx_func=no
37177 fi
37178
37179 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37180 conftest$ac_exeext conftest.$ac_ext
37181
37182 fi
37183 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37184 { echo "$as_me:$LINENO: result: $ac_res" >&5
37185 echo "${ECHO_T}$ac_res" >&6; }
37186
37187 if eval test \$wx_cv_func_$wx_func = yes
37188 then
37189 cat >>confdefs.h <<_ACEOF
37190 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37191 _ACEOF
37192
37193
37194 else
37195 :
37196 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
37197 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
37198
37199 fi
37200 done
37201
37202
37203
37204 fi
37205
37206
37207
37208 fi
37209 done
37210
37211 fi
37212
37213
37214 for wx_func in uname
37215 do
37216 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37217 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37218 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37219 echo $ECHO_N "(cached) $ECHO_C" >&6
37220 else
37221
37222 cat >conftest.$ac_ext <<_ACEOF
37223
37224 /* confdefs.h. */
37225 _ACEOF
37226 cat confdefs.h >>conftest.$ac_ext
37227 cat >>conftest.$ac_ext <<_ACEOF
37228 /* end confdefs.h. */
37229
37230 #include <sys/utsname.h>
37231 $ac_includes_default
37232
37233 int
37234 main ()
37235 {
37236
37237 #ifndef $wx_func
37238 &$wx_func;
37239 #endif
37240
37241
37242 ;
37243 return 0;
37244 }
37245
37246 _ACEOF
37247 rm -f conftest.$ac_objext conftest$ac_exeext
37248 if { (ac_try="$ac_link"
37249 case "(($ac_try" in
37250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37251 *) ac_try_echo=$ac_try;;
37252 esac
37253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37254 (eval "$ac_link") 2>conftest.er1
37255 ac_status=$?
37256 grep -v '^ *+' conftest.er1 >conftest.err
37257 rm -f conftest.er1
37258 cat conftest.err >&5
37259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37260 (exit $ac_status); } && {
37261 test -z "$ac_c_werror_flag" ||
37262 test ! -s conftest.err
37263 } && test -s conftest$ac_exeext &&
37264 $as_test_x conftest$ac_exeext; then
37265 eval wx_cv_func_$wx_func=yes
37266 else
37267 echo "$as_me: failed program was:" >&5
37268 sed 's/^/| /' conftest.$ac_ext >&5
37269
37270 eval wx_cv_func_$wx_func=no
37271 fi
37272
37273 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37274 conftest$ac_exeext conftest.$ac_ext
37275
37276 fi
37277 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37278 { echo "$as_me:$LINENO: result: $ac_res" >&5
37279 echo "${ECHO_T}$ac_res" >&6; }
37280
37281 if eval test \$wx_cv_func_$wx_func = yes
37282 then
37283 cat >>confdefs.h <<_ACEOF
37284 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37285 _ACEOF
37286
37287
37288 else
37289 :
37290
37291 fi
37292 done
37293
37294 if test "$wx_cv_func_uname" != yes; then
37295
37296 for wx_func in gethostname
37297 do
37298 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37299 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37300 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37301 echo $ECHO_N "(cached) $ECHO_C" >&6
37302 else
37303
37304 cat >conftest.$ac_ext <<_ACEOF
37305
37306 /* confdefs.h. */
37307 _ACEOF
37308 cat confdefs.h >>conftest.$ac_ext
37309 cat >>conftest.$ac_ext <<_ACEOF
37310 /* end confdefs.h. */
37311
37312
37313 $ac_includes_default
37314
37315 int
37316 main ()
37317 {
37318
37319 #ifndef $wx_func
37320 &$wx_func;
37321 #endif
37322
37323
37324 ;
37325 return 0;
37326 }
37327
37328 _ACEOF
37329 rm -f conftest.$ac_objext conftest$ac_exeext
37330 if { (ac_try="$ac_link"
37331 case "(($ac_try" in
37332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37333 *) ac_try_echo=$ac_try;;
37334 esac
37335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37336 (eval "$ac_link") 2>conftest.er1
37337 ac_status=$?
37338 grep -v '^ *+' conftest.er1 >conftest.err
37339 rm -f conftest.er1
37340 cat conftest.err >&5
37341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37342 (exit $ac_status); } && {
37343 test -z "$ac_c_werror_flag" ||
37344 test ! -s conftest.err
37345 } && test -s conftest$ac_exeext &&
37346 $as_test_x conftest$ac_exeext; then
37347 eval wx_cv_func_$wx_func=yes
37348 else
37349 echo "$as_me: failed program was:" >&5
37350 sed 's/^/| /' conftest.$ac_ext >&5
37351
37352 eval wx_cv_func_$wx_func=no
37353 fi
37354
37355 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37356 conftest$ac_exeext conftest.$ac_ext
37357
37358 fi
37359 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37360 { echo "$as_me:$LINENO: result: $ac_res" >&5
37361 echo "${ECHO_T}$ac_res" >&6; }
37362
37363 if eval test \$wx_cv_func_$wx_func = yes
37364 then
37365 cat >>confdefs.h <<_ACEOF
37366 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37367 _ACEOF
37368
37369
37370 else
37371 :
37372
37373 fi
37374 done
37375
37376 fi
37377
37378
37379 for wx_func in strtok_r
37380 do
37381 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37382 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37383 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37384 echo $ECHO_N "(cached) $ECHO_C" >&6
37385 else
37386
37387 cat >conftest.$ac_ext <<_ACEOF
37388
37389 /* confdefs.h. */
37390 _ACEOF
37391 cat confdefs.h >>conftest.$ac_ext
37392 cat >>conftest.$ac_ext <<_ACEOF
37393 /* end confdefs.h. */
37394
37395 #define _REENTRANT
37396 $ac_includes_default
37397
37398 int
37399 main ()
37400 {
37401
37402 #ifndef $wx_func
37403 &$wx_func;
37404 #endif
37405
37406
37407 ;
37408 return 0;
37409 }
37410
37411 _ACEOF
37412 rm -f conftest.$ac_objext conftest$ac_exeext
37413 if { (ac_try="$ac_link"
37414 case "(($ac_try" in
37415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37416 *) ac_try_echo=$ac_try;;
37417 esac
37418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37419 (eval "$ac_link") 2>conftest.er1
37420 ac_status=$?
37421 grep -v '^ *+' conftest.er1 >conftest.err
37422 rm -f conftest.er1
37423 cat conftest.err >&5
37424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37425 (exit $ac_status); } && {
37426 test -z "$ac_c_werror_flag" ||
37427 test ! -s conftest.err
37428 } && test -s conftest$ac_exeext &&
37429 $as_test_x conftest$ac_exeext; then
37430 eval wx_cv_func_$wx_func=yes
37431 else
37432 echo "$as_me: failed program was:" >&5
37433 sed 's/^/| /' conftest.$ac_ext >&5
37434
37435 eval wx_cv_func_$wx_func=no
37436 fi
37437
37438 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37439 conftest$ac_exeext conftest.$ac_ext
37440
37441 fi
37442 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37443 { echo "$as_me:$LINENO: result: $ac_res" >&5
37444 echo "${ECHO_T}$ac_res" >&6; }
37445
37446 if eval test \$wx_cv_func_$wx_func = yes
37447 then
37448 cat >>confdefs.h <<_ACEOF
37449 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
37450 _ACEOF
37451
37452
37453 else
37454 :
37455
37456 fi
37457 done
37458
37459
37460 INET_LINK=
37461
37462 for ac_func in inet_addr
37463 do
37464 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37465 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37466 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37467 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37468 echo $ECHO_N "(cached) $ECHO_C" >&6
37469 else
37470 cat >conftest.$ac_ext <<_ACEOF
37471 /* confdefs.h. */
37472 _ACEOF
37473 cat confdefs.h >>conftest.$ac_ext
37474 cat >>conftest.$ac_ext <<_ACEOF
37475 /* end confdefs.h. */
37476 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37477 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37478 #define $ac_func innocuous_$ac_func
37479
37480 /* System header to define __stub macros and hopefully few prototypes,
37481 which can conflict with char $ac_func (); below.
37482 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37483 <limits.h> exists even on freestanding compilers. */
37484
37485 #ifdef __STDC__
37486 # include <limits.h>
37487 #else
37488 # include <assert.h>
37489 #endif
37490
37491 #undef $ac_func
37492
37493 /* Override any GCC internal prototype to avoid an error.
37494 Use char because int might match the return type of a GCC
37495 builtin and then its argument prototype would still apply. */
37496 #ifdef __cplusplus
37497 extern "C"
37498 #endif
37499 char $ac_func ();
37500 /* The GNU C library defines this for functions which it implements
37501 to always fail with ENOSYS. Some functions are actually named
37502 something starting with __ and the normal name is an alias. */
37503 #if defined __stub_$ac_func || defined __stub___$ac_func
37504 choke me
37505 #endif
37506
37507 int
37508 main ()
37509 {
37510 return $ac_func ();
37511 ;
37512 return 0;
37513 }
37514 _ACEOF
37515 rm -f conftest.$ac_objext conftest$ac_exeext
37516 if { (ac_try="$ac_link"
37517 case "(($ac_try" in
37518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37519 *) ac_try_echo=$ac_try;;
37520 esac
37521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37522 (eval "$ac_link") 2>conftest.er1
37523 ac_status=$?
37524 grep -v '^ *+' conftest.er1 >conftest.err
37525 rm -f conftest.er1
37526 cat conftest.err >&5
37527 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37528 (exit $ac_status); } && {
37529 test -z "$ac_c_werror_flag" ||
37530 test ! -s conftest.err
37531 } && test -s conftest$ac_exeext &&
37532 $as_test_x conftest$ac_exeext; then
37533 eval "$as_ac_var=yes"
37534 else
37535 echo "$as_me: failed program was:" >&5
37536 sed 's/^/| /' conftest.$ac_ext >&5
37537
37538 eval "$as_ac_var=no"
37539 fi
37540
37541 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37542 conftest$ac_exeext conftest.$ac_ext
37543 fi
37544 ac_res=`eval echo '${'$as_ac_var'}'`
37545 { echo "$as_me:$LINENO: result: $ac_res" >&5
37546 echo "${ECHO_T}$ac_res" >&6; }
37547 if test `eval echo '${'$as_ac_var'}'` = yes; then
37548 cat >>confdefs.h <<_ACEOF
37549 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37550 _ACEOF
37551 cat >>confdefs.h <<\_ACEOF
37552 #define HAVE_INET_ADDR 1
37553 _ACEOF
37554
37555 else
37556
37557 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37558 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37559 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37560 echo $ECHO_N "(cached) $ECHO_C" >&6
37561 else
37562 ac_check_lib_save_LIBS=$LIBS
37563 LIBS="-lnsl $LIBS"
37564 cat >conftest.$ac_ext <<_ACEOF
37565 /* confdefs.h. */
37566 _ACEOF
37567 cat confdefs.h >>conftest.$ac_ext
37568 cat >>conftest.$ac_ext <<_ACEOF
37569 /* end confdefs.h. */
37570
37571 /* Override any GCC internal prototype to avoid an error.
37572 Use char because int might match the return type of a GCC
37573 builtin and then its argument prototype would still apply. */
37574 #ifdef __cplusplus
37575 extern "C"
37576 #endif
37577 char inet_addr ();
37578 int
37579 main ()
37580 {
37581 return inet_addr ();
37582 ;
37583 return 0;
37584 }
37585 _ACEOF
37586 rm -f conftest.$ac_objext conftest$ac_exeext
37587 if { (ac_try="$ac_link"
37588 case "(($ac_try" in
37589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37590 *) ac_try_echo=$ac_try;;
37591 esac
37592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37593 (eval "$ac_link") 2>conftest.er1
37594 ac_status=$?
37595 grep -v '^ *+' conftest.er1 >conftest.err
37596 rm -f conftest.er1
37597 cat conftest.err >&5
37598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37599 (exit $ac_status); } && {
37600 test -z "$ac_c_werror_flag" ||
37601 test ! -s conftest.err
37602 } && test -s conftest$ac_exeext &&
37603 $as_test_x conftest$ac_exeext; then
37604 ac_cv_lib_nsl_inet_addr=yes
37605 else
37606 echo "$as_me: failed program was:" >&5
37607 sed 's/^/| /' conftest.$ac_ext >&5
37608
37609 ac_cv_lib_nsl_inet_addr=no
37610 fi
37611
37612 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37613 conftest$ac_exeext conftest.$ac_ext
37614 LIBS=$ac_check_lib_save_LIBS
37615 fi
37616 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37617 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37618 if test $ac_cv_lib_nsl_inet_addr = yes; then
37619 INET_LINK="nsl"
37620 else
37621
37622 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37623 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37624 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37625 echo $ECHO_N "(cached) $ECHO_C" >&6
37626 else
37627 ac_check_lib_save_LIBS=$LIBS
37628 LIBS="-lresolv $LIBS"
37629 cat >conftest.$ac_ext <<_ACEOF
37630 /* confdefs.h. */
37631 _ACEOF
37632 cat confdefs.h >>conftest.$ac_ext
37633 cat >>conftest.$ac_ext <<_ACEOF
37634 /* end confdefs.h. */
37635
37636 /* Override any GCC internal prototype to avoid an error.
37637 Use char because int might match the return type of a GCC
37638 builtin and then its argument prototype would still apply. */
37639 #ifdef __cplusplus
37640 extern "C"
37641 #endif
37642 char inet_addr ();
37643 int
37644 main ()
37645 {
37646 return inet_addr ();
37647 ;
37648 return 0;
37649 }
37650 _ACEOF
37651 rm -f conftest.$ac_objext conftest$ac_exeext
37652 if { (ac_try="$ac_link"
37653 case "(($ac_try" in
37654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37655 *) ac_try_echo=$ac_try;;
37656 esac
37657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37658 (eval "$ac_link") 2>conftest.er1
37659 ac_status=$?
37660 grep -v '^ *+' conftest.er1 >conftest.err
37661 rm -f conftest.er1
37662 cat conftest.err >&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } && {
37665 test -z "$ac_c_werror_flag" ||
37666 test ! -s conftest.err
37667 } && test -s conftest$ac_exeext &&
37668 $as_test_x conftest$ac_exeext; then
37669 ac_cv_lib_resolv_inet_addr=yes
37670 else
37671 echo "$as_me: failed program was:" >&5
37672 sed 's/^/| /' conftest.$ac_ext >&5
37673
37674 ac_cv_lib_resolv_inet_addr=no
37675 fi
37676
37677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37678 conftest$ac_exeext conftest.$ac_ext
37679 LIBS=$ac_check_lib_save_LIBS
37680 fi
37681 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37682 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37683 if test $ac_cv_lib_resolv_inet_addr = yes; then
37684 INET_LINK="resolv"
37685 else
37686
37687 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37688 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37689 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37690 echo $ECHO_N "(cached) $ECHO_C" >&6
37691 else
37692 ac_check_lib_save_LIBS=$LIBS
37693 LIBS="-lsocket $LIBS"
37694 cat >conftest.$ac_ext <<_ACEOF
37695 /* confdefs.h. */
37696 _ACEOF
37697 cat confdefs.h >>conftest.$ac_ext
37698 cat >>conftest.$ac_ext <<_ACEOF
37699 /* end confdefs.h. */
37700
37701 /* Override any GCC internal prototype to avoid an error.
37702 Use char because int might match the return type of a GCC
37703 builtin and then its argument prototype would still apply. */
37704 #ifdef __cplusplus
37705 extern "C"
37706 #endif
37707 char inet_addr ();
37708 int
37709 main ()
37710 {
37711 return inet_addr ();
37712 ;
37713 return 0;
37714 }
37715 _ACEOF
37716 rm -f conftest.$ac_objext conftest$ac_exeext
37717 if { (ac_try="$ac_link"
37718 case "(($ac_try" in
37719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37720 *) ac_try_echo=$ac_try;;
37721 esac
37722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37723 (eval "$ac_link") 2>conftest.er1
37724 ac_status=$?
37725 grep -v '^ *+' conftest.er1 >conftest.err
37726 rm -f conftest.er1
37727 cat conftest.err >&5
37728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37729 (exit $ac_status); } && {
37730 test -z "$ac_c_werror_flag" ||
37731 test ! -s conftest.err
37732 } && test -s conftest$ac_exeext &&
37733 $as_test_x conftest$ac_exeext; then
37734 ac_cv_lib_socket_inet_addr=yes
37735 else
37736 echo "$as_me: failed program was:" >&5
37737 sed 's/^/| /' conftest.$ac_ext >&5
37738
37739 ac_cv_lib_socket_inet_addr=no
37740 fi
37741
37742 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37743 conftest$ac_exeext conftest.$ac_ext
37744 LIBS=$ac_check_lib_save_LIBS
37745 fi
37746 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37747 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37748 if test $ac_cv_lib_socket_inet_addr = yes; then
37749 INET_LINK="socket"
37750
37751 fi
37752
37753
37754
37755 fi
37756
37757
37758
37759 fi
37760
37761
37762
37763 fi
37764 done
37765
37766
37767
37768 for ac_func in inet_aton
37769 do
37770 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37771 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37772 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37773 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37774 echo $ECHO_N "(cached) $ECHO_C" >&6
37775 else
37776 cat >conftest.$ac_ext <<_ACEOF
37777 /* confdefs.h. */
37778 _ACEOF
37779 cat confdefs.h >>conftest.$ac_ext
37780 cat >>conftest.$ac_ext <<_ACEOF
37781 /* end confdefs.h. */
37782 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37783 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37784 #define $ac_func innocuous_$ac_func
37785
37786 /* System header to define __stub macros and hopefully few prototypes,
37787 which can conflict with char $ac_func (); below.
37788 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37789 <limits.h> exists even on freestanding compilers. */
37790
37791 #ifdef __STDC__
37792 # include <limits.h>
37793 #else
37794 # include <assert.h>
37795 #endif
37796
37797 #undef $ac_func
37798
37799 /* Override any GCC internal prototype to avoid an error.
37800 Use char because int might match the return type of a GCC
37801 builtin and then its argument prototype would still apply. */
37802 #ifdef __cplusplus
37803 extern "C"
37804 #endif
37805 char $ac_func ();
37806 /* The GNU C library defines this for functions which it implements
37807 to always fail with ENOSYS. Some functions are actually named
37808 something starting with __ and the normal name is an alias. */
37809 #if defined __stub_$ac_func || defined __stub___$ac_func
37810 choke me
37811 #endif
37812
37813 int
37814 main ()
37815 {
37816 return $ac_func ();
37817 ;
37818 return 0;
37819 }
37820 _ACEOF
37821 rm -f conftest.$ac_objext conftest$ac_exeext
37822 if { (ac_try="$ac_link"
37823 case "(($ac_try" in
37824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37825 *) ac_try_echo=$ac_try;;
37826 esac
37827 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37828 (eval "$ac_link") 2>conftest.er1
37829 ac_status=$?
37830 grep -v '^ *+' conftest.er1 >conftest.err
37831 rm -f conftest.er1
37832 cat conftest.err >&5
37833 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37834 (exit $ac_status); } && {
37835 test -z "$ac_c_werror_flag" ||
37836 test ! -s conftest.err
37837 } && test -s conftest$ac_exeext &&
37838 $as_test_x conftest$ac_exeext; then
37839 eval "$as_ac_var=yes"
37840 else
37841 echo "$as_me: failed program was:" >&5
37842 sed 's/^/| /' conftest.$ac_ext >&5
37843
37844 eval "$as_ac_var=no"
37845 fi
37846
37847 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37848 conftest$ac_exeext conftest.$ac_ext
37849 fi
37850 ac_res=`eval echo '${'$as_ac_var'}'`
37851 { echo "$as_me:$LINENO: result: $ac_res" >&5
37852 echo "${ECHO_T}$ac_res" >&6; }
37853 if test `eval echo '${'$as_ac_var'}'` = yes; then
37854 cat >>confdefs.h <<_ACEOF
37855 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37856 _ACEOF
37857 cat >>confdefs.h <<\_ACEOF
37858 #define HAVE_INET_ATON 1
37859 _ACEOF
37860
37861 else
37862
37863 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37864 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37865 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37866 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37867 echo $ECHO_N "(cached) $ECHO_C" >&6
37868 else
37869 ac_check_lib_save_LIBS=$LIBS
37870 LIBS="-l$INET_LINK $LIBS"
37871 cat >conftest.$ac_ext <<_ACEOF
37872 /* confdefs.h. */
37873 _ACEOF
37874 cat confdefs.h >>conftest.$ac_ext
37875 cat >>conftest.$ac_ext <<_ACEOF
37876 /* end confdefs.h. */
37877
37878 /* Override any GCC internal prototype to avoid an error.
37879 Use char because int might match the return type of a GCC
37880 builtin and then its argument prototype would still apply. */
37881 #ifdef __cplusplus
37882 extern "C"
37883 #endif
37884 char inet_aton ();
37885 int
37886 main ()
37887 {
37888 return inet_aton ();
37889 ;
37890 return 0;
37891 }
37892 _ACEOF
37893 rm -f conftest.$ac_objext conftest$ac_exeext
37894 if { (ac_try="$ac_link"
37895 case "(($ac_try" in
37896 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37897 *) ac_try_echo=$ac_try;;
37898 esac
37899 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37900 (eval "$ac_link") 2>conftest.er1
37901 ac_status=$?
37902 grep -v '^ *+' conftest.er1 >conftest.err
37903 rm -f conftest.er1
37904 cat conftest.err >&5
37905 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37906 (exit $ac_status); } && {
37907 test -z "$ac_c_werror_flag" ||
37908 test ! -s conftest.err
37909 } && test -s conftest$ac_exeext &&
37910 $as_test_x conftest$ac_exeext; then
37911 eval "$as_ac_Lib=yes"
37912 else
37913 echo "$as_me: failed program was:" >&5
37914 sed 's/^/| /' conftest.$ac_ext >&5
37915
37916 eval "$as_ac_Lib=no"
37917 fi
37918
37919 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37920 conftest$ac_exeext conftest.$ac_ext
37921 LIBS=$ac_check_lib_save_LIBS
37922 fi
37923 ac_res=`eval echo '${'$as_ac_Lib'}'`
37924 { echo "$as_me:$LINENO: result: $ac_res" >&5
37925 echo "${ECHO_T}$ac_res" >&6; }
37926 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37927 cat >>confdefs.h <<\_ACEOF
37928 #define HAVE_INET_ATON 1
37929 _ACEOF
37930
37931 fi
37932
37933
37934 fi
37935 done
37936
37937
37938 if test "x$INET_LINK" != "x"; then
37939 cat >>confdefs.h <<\_ACEOF
37940 #define HAVE_INET_ADDR 1
37941 _ACEOF
37942
37943 INET_LINK=" -l$INET_LINK"
37944 fi
37945
37946
37947 for wx_func in fdopen
37948 do
37949 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37950 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37951 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37952 echo $ECHO_N "(cached) $ECHO_C" >&6
37953 else
37954
37955 cat >conftest.$ac_ext <<_ACEOF
37956
37957 /* confdefs.h. */
37958 _ACEOF
37959 cat confdefs.h >>conftest.$ac_ext
37960 cat >>conftest.$ac_ext <<_ACEOF
37961 /* end confdefs.h. */
37962
37963
37964 $ac_includes_default
37965
37966 int
37967 main ()
37968 {
37969
37970 #ifndef $wx_func
37971 &$wx_func;
37972 #endif
37973
37974
37975 ;
37976 return 0;
37977 }
37978
37979 _ACEOF
37980 rm -f conftest.$ac_objext conftest$ac_exeext
37981 if { (ac_try="$ac_link"
37982 case "(($ac_try" in
37983 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37984 *) ac_try_echo=$ac_try;;
37985 esac
37986 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37987 (eval "$ac_link") 2>conftest.er1
37988 ac_status=$?
37989 grep -v '^ *+' conftest.er1 >conftest.err
37990 rm -f conftest.er1
37991 cat conftest.err >&5
37992 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37993 (exit $ac_status); } && {
37994 test -z "$ac_c_werror_flag" ||
37995 test ! -s conftest.err
37996 } && test -s conftest$ac_exeext &&
37997 $as_test_x conftest$ac_exeext; then
37998 eval wx_cv_func_$wx_func=yes
37999 else
38000 echo "$as_me: failed program was:" >&5
38001 sed 's/^/| /' conftest.$ac_ext >&5
38002
38003 eval wx_cv_func_$wx_func=no
38004 fi
38005
38006 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38007 conftest$ac_exeext conftest.$ac_ext
38008
38009 fi
38010 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38011 { echo "$as_me:$LINENO: result: $ac_res" >&5
38012 echo "${ECHO_T}$ac_res" >&6; }
38013
38014 if eval test \$wx_cv_func_$wx_func = yes
38015 then
38016 cat >>confdefs.h <<_ACEOF
38017 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38018 _ACEOF
38019
38020
38021 else
38022 :
38023
38024 fi
38025 done
38026
38027
38028 if test "$wxUSE_TARSTREAM" = "yes"; then
38029
38030 for wx_func in sysconf
38031 do
38032 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38033 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38034 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38036 else
38037
38038 cat >conftest.$ac_ext <<_ACEOF
38039
38040 /* confdefs.h. */
38041 _ACEOF
38042 cat confdefs.h >>conftest.$ac_ext
38043 cat >>conftest.$ac_ext <<_ACEOF
38044 /* end confdefs.h. */
38045
38046
38047 $ac_includes_default
38048
38049 int
38050 main ()
38051 {
38052
38053 #ifndef $wx_func
38054 &$wx_func;
38055 #endif
38056
38057
38058 ;
38059 return 0;
38060 }
38061
38062 _ACEOF
38063 rm -f conftest.$ac_objext conftest$ac_exeext
38064 if { (ac_try="$ac_link"
38065 case "(($ac_try" in
38066 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38067 *) ac_try_echo=$ac_try;;
38068 esac
38069 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38070 (eval "$ac_link") 2>conftest.er1
38071 ac_status=$?
38072 grep -v '^ *+' conftest.er1 >conftest.err
38073 rm -f conftest.er1
38074 cat conftest.err >&5
38075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38076 (exit $ac_status); } && {
38077 test -z "$ac_c_werror_flag" ||
38078 test ! -s conftest.err
38079 } && test -s conftest$ac_exeext &&
38080 $as_test_x conftest$ac_exeext; then
38081 eval wx_cv_func_$wx_func=yes
38082 else
38083 echo "$as_me: failed program was:" >&5
38084 sed 's/^/| /' conftest.$ac_ext >&5
38085
38086 eval wx_cv_func_$wx_func=no
38087 fi
38088
38089 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38090 conftest$ac_exeext conftest.$ac_ext
38091
38092 fi
38093 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38094 { echo "$as_me:$LINENO: result: $ac_res" >&5
38095 echo "${ECHO_T}$ac_res" >&6; }
38096
38097 if eval test \$wx_cv_func_$wx_func = yes
38098 then
38099 cat >>confdefs.h <<_ACEOF
38100 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38101 _ACEOF
38102
38103
38104 else
38105 :
38106
38107 fi
38108 done
38109
38110
38111
38112 for wx_func in getpwuid_r
38113 do
38114 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38115 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38116 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38117 echo $ECHO_N "(cached) $ECHO_C" >&6
38118 else
38119
38120 cat >conftest.$ac_ext <<_ACEOF
38121
38122 /* confdefs.h. */
38123 _ACEOF
38124 cat confdefs.h >>conftest.$ac_ext
38125 cat >>conftest.$ac_ext <<_ACEOF
38126 /* end confdefs.h. */
38127
38128
38129 #define _REENTRANT
38130 #include <pwd.h>
38131
38132 $ac_includes_default
38133
38134 int
38135 main ()
38136 {
38137
38138 #ifndef $wx_func
38139 &$wx_func;
38140 #endif
38141
38142 struct passwd pw, *ppw;
38143 char buf[1024];
38144 getpwuid_r(0, &pw, buf, sizeof(buf), &ppw)
38145
38146
38147 ;
38148 return 0;
38149 }
38150
38151 _ACEOF
38152 rm -f conftest.$ac_objext conftest$ac_exeext
38153 if { (ac_try="$ac_link"
38154 case "(($ac_try" in
38155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38156 *) ac_try_echo=$ac_try;;
38157 esac
38158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38159 (eval "$ac_link") 2>conftest.er1
38160 ac_status=$?
38161 grep -v '^ *+' conftest.er1 >conftest.err
38162 rm -f conftest.er1
38163 cat conftest.err >&5
38164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38165 (exit $ac_status); } && {
38166 test -z "$ac_c_werror_flag" ||
38167 test ! -s conftest.err
38168 } && test -s conftest$ac_exeext &&
38169 $as_test_x conftest$ac_exeext; then
38170 eval wx_cv_func_$wx_func=yes
38171 else
38172 echo "$as_me: failed program was:" >&5
38173 sed 's/^/| /' conftest.$ac_ext >&5
38174
38175 eval wx_cv_func_$wx_func=no
38176 fi
38177
38178 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38179 conftest$ac_exeext conftest.$ac_ext
38180
38181 fi
38182 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38183 { echo "$as_me:$LINENO: result: $ac_res" >&5
38184 echo "${ECHO_T}$ac_res" >&6; }
38185
38186 if eval test \$wx_cv_func_$wx_func = yes
38187 then
38188 cat >>confdefs.h <<_ACEOF
38189 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38190 _ACEOF
38191
38192
38193 else
38194 :
38195
38196 fi
38197 done
38198
38199
38200
38201 for wx_func in getgrgid_r
38202 do
38203 { echo "$as_me:$LINENO: checking for $wx_func" >&5
38204 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
38205 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
38206 echo $ECHO_N "(cached) $ECHO_C" >&6
38207 else
38208
38209 cat >conftest.$ac_ext <<_ACEOF
38210
38211 /* confdefs.h. */
38212 _ACEOF
38213 cat confdefs.h >>conftest.$ac_ext
38214 cat >>conftest.$ac_ext <<_ACEOF
38215 /* end confdefs.h. */
38216
38217
38218 #define _REENTRANT
38219 #include <grp.h>
38220
38221 $ac_includes_default
38222
38223 int
38224 main ()
38225 {
38226
38227 #ifndef $wx_func
38228 &$wx_func;
38229 #endif
38230
38231 struct group grp, *pgrp;
38232 char buf[1024];
38233 getgrgid_r(0, &grp, buf, sizeof(buf), &pgrp)
38234
38235
38236 ;
38237 return 0;
38238 }
38239
38240 _ACEOF
38241 rm -f conftest.$ac_objext conftest$ac_exeext
38242 if { (ac_try="$ac_link"
38243 case "(($ac_try" in
38244 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38245 *) ac_try_echo=$ac_try;;
38246 esac
38247 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38248 (eval "$ac_link") 2>conftest.er1
38249 ac_status=$?
38250 grep -v '^ *+' conftest.er1 >conftest.err
38251 rm -f conftest.er1
38252 cat conftest.err >&5
38253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38254 (exit $ac_status); } && {
38255 test -z "$ac_c_werror_flag" ||
38256 test ! -s conftest.err
38257 } && test -s conftest$ac_exeext &&
38258 $as_test_x conftest$ac_exeext; then
38259 eval wx_cv_func_$wx_func=yes
38260 else
38261 echo "$as_me: failed program was:" >&5
38262 sed 's/^/| /' conftest.$ac_ext >&5
38263
38264 eval wx_cv_func_$wx_func=no
38265 fi
38266
38267 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38268 conftest$ac_exeext conftest.$ac_ext
38269
38270 fi
38271 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
38272 { echo "$as_me:$LINENO: result: $ac_res" >&5
38273 echo "${ECHO_T}$ac_res" >&6; }
38274
38275 if eval test \$wx_cv_func_$wx_func = yes
38276 then
38277 cat >>confdefs.h <<_ACEOF
38278 #define `echo "HAVE_$wx_func" | $as_tr_cpp` 1
38279 _ACEOF
38280
38281
38282 else
38283 :
38284
38285 fi
38286 done
38287
38288 fi
38289
38290 fi
38291
38292
38293
38294 cat >confcache <<\_ACEOF
38295 # This file is a shell script that caches the results of configure
38296 # tests run on this system so they can be shared between configure
38297 # scripts and configure runs, see configure's option --config-cache.
38298 # It is not useful on other systems. If it contains results you don't
38299 # want to keep, you may remove or edit it.
38300 #
38301 # config.status only pays attention to the cache file if you give it
38302 # the --recheck option to rerun configure.
38303 #
38304 # `ac_cv_env_foo' variables (set or unset) will be overridden when
38305 # loading this file, other *unset* `ac_cv_foo' will be assigned the
38306 # following values.
38307
38308 _ACEOF
38309
38310 # The following way of writing the cache mishandles newlines in values,
38311 # but we know of no workaround that is simple, portable, and efficient.
38312 # So, we kill variables containing newlines.
38313 # Ultrix sh set writes to stderr and can't be redirected directly,
38314 # and sets the high bit in the cache file unless we assign to the vars.
38315 (
38316 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
38317 eval ac_val=\$$ac_var
38318 case $ac_val in #(
38319 *${as_nl}*)
38320 case $ac_var in #(
38321 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
38322 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
38323 esac
38324 case $ac_var in #(
38325 _ | IFS | as_nl) ;; #(
38326 *) $as_unset $ac_var ;;
38327 esac ;;
38328 esac
38329 done
38330
38331 (set) 2>&1 |
38332 case $as_nl`(ac_space=' '; set) 2>&1` in #(
38333 *${as_nl}ac_space=\ *)
38334 # `set' does not quote correctly, so add quotes (double-quote
38335 # substitution turns \\\\ into \\, and sed turns \\ into \).
38336 sed -n \
38337 "s/'/'\\\\''/g;
38338 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
38339 ;; #(
38340 *)
38341 # `set' quotes correctly as required by POSIX, so do not add quotes.
38342 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
38343 ;;
38344 esac |
38345 sort
38346 ) |
38347 sed '
38348 /^ac_cv_env_/b end
38349 t clear
38350 :clear
38351 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
38352 t end
38353 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
38354 :end' >>confcache
38355 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
38356 if test -w "$cache_file"; then
38357 test "x$cache_file" != "x/dev/null" &&
38358 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
38359 echo "$as_me: updating cache $cache_file" >&6;}
38360 cat confcache >$cache_file
38361 else
38362 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
38363 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
38364 fi
38365 fi
38366 rm -f confcache
38367
38368
38369 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
38370
38371
38372 THREADS_LINK=
38373 THREADS_CFLAGS=
38374
38375 if test "$wxUSE_THREADS" = "yes" ; then
38376 if test "$USE_BEOS" = 1; then
38377 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
38378 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
38379 wxUSE_THREADS="no"
38380 fi
38381 fi
38382
38383 if test "$wxUSE_THREADS" = "yes" ; then
38384
38385
38386 THREAD_OPTS="-pthread"
38387 if test "x$SUNCXX" = xyes; then
38388 THREAD_OPTS="-mt lthread $THREAD_OPTS"
38389 fi
38390
38391 case "${host}" in
38392 *-*-solaris2* | *-*-sunos4* )
38393 if test "x$GCC" = "xyes"; then
38394 THREAD_OPTS="-pthreads $THREAD_OPTS"
38395 fi
38396 ;;
38397 *-*-freebsd*)
38398 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
38399 ;;
38400 *-*-darwin* | *-*-cygwin* )
38401 THREAD_OPTS=""
38402 ;;
38403 *-*-aix*)
38404 THREAD_OPTS="pthreads"
38405 ;;
38406 *-hp-hpux* )
38407 if test "x$GCC" = "xyes"; then
38408 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
38409 THREAD_OPTS=""
38410 else
38411 THREAD_OPTS="-mt"
38412 fi
38413 ;;
38414
38415 *-*-irix* )
38416 if test "x$GCC" = "xyes"; then
38417 THREAD_OPTS=""
38418 fi
38419 ;;
38420
38421 *-*-*UnixWare*)
38422 if test "x$GCC" != "xyes"; then
38423 THREAD_OPTS="-Ethread"
38424 fi
38425 ;;
38426 esac
38427
38428 THREAD_OPTS="$THREAD_OPTS pthread none"
38429
38430 THREADS_OK=no
38431 for flag in $THREAD_OPTS; do
38432 case $flag in
38433 none)
38434 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
38435 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
38436 ;;
38437
38438 -*)
38439 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
38440 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
38441 THREADS_CFLAGS="$flag"
38442 ;;
38443
38444 *)
38445 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
38446 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
38447 THREADS_LINK="-l$flag"
38448 ;;
38449 esac
38450
38451 save_LIBS="$LIBS"
38452 save_CFLAGS="$CFLAGS"
38453 LIBS="$THREADS_LINK $LIBS"
38454 CFLAGS="$THREADS_CFLAGS $CFLAGS"
38455
38456 cat >conftest.$ac_ext <<_ACEOF
38457 /* confdefs.h. */
38458 _ACEOF
38459 cat confdefs.h >>conftest.$ac_ext
38460 cat >>conftest.$ac_ext <<_ACEOF
38461 /* end confdefs.h. */
38462 #include <pthread.h>
38463 int
38464 main ()
38465 {
38466 pthread_create(0,0,0,0);
38467 ;
38468 return 0;
38469 }
38470 _ACEOF
38471 rm -f conftest.$ac_objext conftest$ac_exeext
38472 if { (ac_try="$ac_link"
38473 case "(($ac_try" in
38474 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38475 *) ac_try_echo=$ac_try;;
38476 esac
38477 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38478 (eval "$ac_link") 2>conftest.er1
38479 ac_status=$?
38480 grep -v '^ *+' conftest.er1 >conftest.err
38481 rm -f conftest.er1
38482 cat conftest.err >&5
38483 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38484 (exit $ac_status); } && {
38485 test -z "$ac_c_werror_flag" ||
38486 test ! -s conftest.err
38487 } && test -s conftest$ac_exeext &&
38488 $as_test_x conftest$ac_exeext; then
38489 THREADS_OK=yes
38490 else
38491 echo "$as_me: failed program was:" >&5
38492 sed 's/^/| /' conftest.$ac_ext >&5
38493
38494
38495 fi
38496
38497 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38498 conftest$ac_exeext conftest.$ac_ext
38499
38500 LIBS="$save_LIBS"
38501 CFLAGS="$save_CFLAGS"
38502
38503 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38504 echo "${ECHO_T}$THREADS_OK" >&6; }
38505 if test "x$THREADS_OK" = "xyes"; then
38506 break;
38507 fi
38508
38509 THREADS_LINK=""
38510 THREADS_CFLAGS=""
38511 done
38512
38513 if test "x$THREADS_OK" != "xyes"; then
38514 wxUSE_THREADS=no
38515 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38516 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38517 else
38518 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38519 LIBS="$THREADS_LINK $LIBS"
38520
38521 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38522 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38523 flag=no
38524 case "${host}" in
38525 *-aix*)
38526 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38527 flag="-D_THREAD_SAFE"
38528 ;;
38529 *-freebsd*)
38530 flag="-D_THREAD_SAFE"
38531 ;;
38532 *-hp-hpux* )
38533 flag="-D_REENTRANT"
38534 if test "x$GCC" != "xyes"; then
38535 flag="$flag -D_RWSTD_MULTI_THREAD"
38536 fi
38537 ;;
38538 *solaris* | alpha*-osf*)
38539 flag="-D_REENTRANT"
38540 ;;
38541 esac
38542 { echo "$as_me:$LINENO: result: ${flag}" >&5
38543 echo "${ECHO_T}${flag}" >&6; }
38544 if test "x$flag" != xno; then
38545 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38546 fi
38547
38548 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38549 fi
38550 fi
38551
38552 if test "$wxUSE_THREADS" = "yes" ; then
38553
38554 for ac_func in thr_setconcurrency
38555 do
38556 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38557 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38558 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38559 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38560 echo $ECHO_N "(cached) $ECHO_C" >&6
38561 else
38562 cat >conftest.$ac_ext <<_ACEOF
38563 /* confdefs.h. */
38564 _ACEOF
38565 cat confdefs.h >>conftest.$ac_ext
38566 cat >>conftest.$ac_ext <<_ACEOF
38567 /* end confdefs.h. */
38568 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38569 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38570 #define $ac_func innocuous_$ac_func
38571
38572 /* System header to define __stub macros and hopefully few prototypes,
38573 which can conflict with char $ac_func (); below.
38574 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38575 <limits.h> exists even on freestanding compilers. */
38576
38577 #ifdef __STDC__
38578 # include <limits.h>
38579 #else
38580 # include <assert.h>
38581 #endif
38582
38583 #undef $ac_func
38584
38585 /* Override any GCC internal prototype to avoid an error.
38586 Use char because int might match the return type of a GCC
38587 builtin and then its argument prototype would still apply. */
38588 #ifdef __cplusplus
38589 extern "C"
38590 #endif
38591 char $ac_func ();
38592 /* The GNU C library defines this for functions which it implements
38593 to always fail with ENOSYS. Some functions are actually named
38594 something starting with __ and the normal name is an alias. */
38595 #if defined __stub_$ac_func || defined __stub___$ac_func
38596 choke me
38597 #endif
38598
38599 int
38600 main ()
38601 {
38602 return $ac_func ();
38603 ;
38604 return 0;
38605 }
38606 _ACEOF
38607 rm -f conftest.$ac_objext conftest$ac_exeext
38608 if { (ac_try="$ac_link"
38609 case "(($ac_try" in
38610 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38611 *) ac_try_echo=$ac_try;;
38612 esac
38613 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38614 (eval "$ac_link") 2>conftest.er1
38615 ac_status=$?
38616 grep -v '^ *+' conftest.er1 >conftest.err
38617 rm -f conftest.er1
38618 cat conftest.err >&5
38619 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38620 (exit $ac_status); } && {
38621 test -z "$ac_c_werror_flag" ||
38622 test ! -s conftest.err
38623 } && test -s conftest$ac_exeext &&
38624 $as_test_x conftest$ac_exeext; then
38625 eval "$as_ac_var=yes"
38626 else
38627 echo "$as_me: failed program was:" >&5
38628 sed 's/^/| /' conftest.$ac_ext >&5
38629
38630 eval "$as_ac_var=no"
38631 fi
38632
38633 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38634 conftest$ac_exeext conftest.$ac_ext
38635 fi
38636 ac_res=`eval echo '${'$as_ac_var'}'`
38637 { echo "$as_me:$LINENO: result: $ac_res" >&5
38638 echo "${ECHO_T}$ac_res" >&6; }
38639 if test `eval echo '${'$as_ac_var'}'` = yes; then
38640 cat >>confdefs.h <<_ACEOF
38641 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38642 _ACEOF
38643
38644 fi
38645 done
38646
38647
38648 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38649 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38650 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38651 echo $ECHO_N "(cached) $ECHO_C" >&6
38652 else
38653
38654 ac_ext=cpp
38655 ac_cpp='$CXXCPP $CPPFLAGS'
38656 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38657 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38658 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
38659
38660 cat >conftest.$ac_ext <<_ACEOF
38661 /* confdefs.h. */
38662 _ACEOF
38663 cat confdefs.h >>conftest.$ac_ext
38664 cat >>conftest.$ac_ext <<_ACEOF
38665 /* end confdefs.h. */
38666 #include <pthread.h>
38667 void ThreadCleanupFunc(void *p);
38668
38669 int
38670 main ()
38671 {
38672
38673 void *p;
38674 pthread_cleanup_push(ThreadCleanupFunc, p);
38675 pthread_cleanup_pop(0);
38676
38677 ;
38678 return 0;
38679 }
38680 _ACEOF
38681 rm -f conftest.$ac_objext
38682 if { (ac_try="$ac_compile"
38683 case "(($ac_try" in
38684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38685 *) ac_try_echo=$ac_try;;
38686 esac
38687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38688 (eval "$ac_compile") 2>conftest.er1
38689 ac_status=$?
38690 grep -v '^ *+' conftest.er1 >conftest.err
38691 rm -f conftest.er1
38692 cat conftest.err >&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); } && {
38695 test -z "$ac_cxx_werror_flag" ||
38696 test ! -s conftest.err
38697 } && test -s conftest.$ac_objext; then
38698
38699 wx_cv_func_pthread_cleanup=yes
38700
38701 else
38702 echo "$as_me: failed program was:" >&5
38703 sed 's/^/| /' conftest.$ac_ext >&5
38704
38705
38706 wx_cv_func_pthread_cleanup=no
38707
38708
38709 fi
38710
38711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38712 ac_ext=c
38713 ac_cpp='$CPP $CPPFLAGS'
38714 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
38715 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
38716 ac_compiler_gnu=$ac_cv_c_compiler_gnu
38717
38718
38719 fi
38720 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38721 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38722 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38723 cat >>confdefs.h <<\_ACEOF
38724 #define wxHAVE_PTHREAD_CLEANUP 1
38725 _ACEOF
38726
38727 fi
38728
38729
38730 for ac_header in sched.h
38731 do
38732 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
38733 { echo "$as_me:$LINENO: checking for $ac_header" >&5
38734 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
38735 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
38736 echo $ECHO_N "(cached) $ECHO_C" >&6
38737 else
38738 cat >conftest.$ac_ext <<_ACEOF
38739 /* confdefs.h. */
38740 _ACEOF
38741 cat confdefs.h >>conftest.$ac_ext
38742 cat >>conftest.$ac_ext <<_ACEOF
38743 /* end confdefs.h. */
38744 $ac_includes_default
38745
38746 #include <$ac_header>
38747 _ACEOF
38748 rm -f conftest.$ac_objext
38749 if { (ac_try="$ac_compile"
38750 case "(($ac_try" in
38751 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38752 *) ac_try_echo=$ac_try;;
38753 esac
38754 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38755 (eval "$ac_compile") 2>conftest.er1
38756 ac_status=$?
38757 grep -v '^ *+' conftest.er1 >conftest.err
38758 rm -f conftest.er1
38759 cat conftest.err >&5
38760 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38761 (exit $ac_status); } && {
38762 test -z "$ac_c_werror_flag" ||
38763 test ! -s conftest.err
38764 } && test -s conftest.$ac_objext; then
38765 eval "$as_ac_Header=yes"
38766 else
38767 echo "$as_me: failed program was:" >&5
38768 sed 's/^/| /' conftest.$ac_ext >&5
38769
38770 eval "$as_ac_Header=no"
38771 fi
38772
38773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38774 fi
38775 ac_res=`eval echo '${'$as_ac_Header'}'`
38776 { echo "$as_me:$LINENO: result: $ac_res" >&5
38777 echo "${ECHO_T}$ac_res" >&6; }
38778 if test `eval echo '${'$as_ac_Header'}'` = yes; then
38779 cat >>confdefs.h <<_ACEOF
38780 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
38781 _ACEOF
38782
38783 fi
38784
38785 done
38786
38787 if test "$ac_cv_header_sched_h" = "yes"; then
38788 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38789 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38790 if test "${ac_cv_func_sched_yield+set}" = set; then
38791 echo $ECHO_N "(cached) $ECHO_C" >&6
38792 else
38793 cat >conftest.$ac_ext <<_ACEOF
38794 /* confdefs.h. */
38795 _ACEOF
38796 cat confdefs.h >>conftest.$ac_ext
38797 cat >>conftest.$ac_ext <<_ACEOF
38798 /* end confdefs.h. */
38799 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38800 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38801 #define sched_yield innocuous_sched_yield
38802
38803 /* System header to define __stub macros and hopefully few prototypes,
38804 which can conflict with char sched_yield (); below.
38805 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38806 <limits.h> exists even on freestanding compilers. */
38807
38808 #ifdef __STDC__
38809 # include <limits.h>
38810 #else
38811 # include <assert.h>
38812 #endif
38813
38814 #undef sched_yield
38815
38816 /* Override any GCC internal prototype to avoid an error.
38817 Use char because int might match the return type of a GCC
38818 builtin and then its argument prototype would still apply. */
38819 #ifdef __cplusplus
38820 extern "C"
38821 #endif
38822 char sched_yield ();
38823 /* The GNU C library defines this for functions which it implements
38824 to always fail with ENOSYS. Some functions are actually named
38825 something starting with __ and the normal name is an alias. */
38826 #if defined __stub_sched_yield || defined __stub___sched_yield
38827 choke me
38828 #endif
38829
38830 int
38831 main ()
38832 {
38833 return sched_yield ();
38834 ;
38835 return 0;
38836 }
38837 _ACEOF
38838 rm -f conftest.$ac_objext conftest$ac_exeext
38839 if { (ac_try="$ac_link"
38840 case "(($ac_try" in
38841 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38842 *) ac_try_echo=$ac_try;;
38843 esac
38844 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38845 (eval "$ac_link") 2>conftest.er1
38846 ac_status=$?
38847 grep -v '^ *+' conftest.er1 >conftest.err
38848 rm -f conftest.er1
38849 cat conftest.err >&5
38850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38851 (exit $ac_status); } && {
38852 test -z "$ac_c_werror_flag" ||
38853 test ! -s conftest.err
38854 } && test -s conftest$ac_exeext &&
38855 $as_test_x conftest$ac_exeext; then
38856 ac_cv_func_sched_yield=yes
38857 else
38858 echo "$as_me: failed program was:" >&5
38859 sed 's/^/| /' conftest.$ac_ext >&5
38860
38861 ac_cv_func_sched_yield=no
38862 fi
38863
38864 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38865 conftest$ac_exeext conftest.$ac_ext
38866 fi
38867 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38868 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38869 if test $ac_cv_func_sched_yield = yes; then
38870 cat >>confdefs.h <<\_ACEOF
38871 #define HAVE_SCHED_YIELD 1
38872 _ACEOF
38873
38874 else
38875
38876 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38877 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38878 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38879 echo $ECHO_N "(cached) $ECHO_C" >&6
38880 else
38881 ac_check_lib_save_LIBS=$LIBS
38882 LIBS="-lposix4 $LIBS"
38883 cat >conftest.$ac_ext <<_ACEOF
38884 /* confdefs.h. */
38885 _ACEOF
38886 cat confdefs.h >>conftest.$ac_ext
38887 cat >>conftest.$ac_ext <<_ACEOF
38888 /* end confdefs.h. */
38889
38890 /* Override any GCC internal prototype to avoid an error.
38891 Use char because int might match the return type of a GCC
38892 builtin and then its argument prototype would still apply. */
38893 #ifdef __cplusplus
38894 extern "C"
38895 #endif
38896 char sched_yield ();
38897 int
38898 main ()
38899 {
38900 return sched_yield ();
38901 ;
38902 return 0;
38903 }
38904 _ACEOF
38905 rm -f conftest.$ac_objext conftest$ac_exeext
38906 if { (ac_try="$ac_link"
38907 case "(($ac_try" in
38908 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38909 *) ac_try_echo=$ac_try;;
38910 esac
38911 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38912 (eval "$ac_link") 2>conftest.er1
38913 ac_status=$?
38914 grep -v '^ *+' conftest.er1 >conftest.err
38915 rm -f conftest.er1
38916 cat conftest.err >&5
38917 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38918 (exit $ac_status); } && {
38919 test -z "$ac_c_werror_flag" ||
38920 test ! -s conftest.err
38921 } && test -s conftest$ac_exeext &&
38922 $as_test_x conftest$ac_exeext; then
38923 ac_cv_lib_posix4_sched_yield=yes
38924 else
38925 echo "$as_me: failed program was:" >&5
38926 sed 's/^/| /' conftest.$ac_ext >&5
38927
38928 ac_cv_lib_posix4_sched_yield=no
38929 fi
38930
38931 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38932 conftest$ac_exeext conftest.$ac_ext
38933 LIBS=$ac_check_lib_save_LIBS
38934 fi
38935 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38936 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38937 if test $ac_cv_lib_posix4_sched_yield = yes; then
38938 cat >>confdefs.h <<\_ACEOF
38939 #define HAVE_SCHED_YIELD 1
38940 _ACEOF
38941 POSIX4_LINK=" -lposix4"
38942 else
38943 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38944 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38945
38946 fi
38947
38948
38949
38950 fi
38951
38952 fi
38953
38954 HAVE_PRIOR_FUNCS=0
38955 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38956 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38957 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38958 echo $ECHO_N "(cached) $ECHO_C" >&6
38959 else
38960 cat >conftest.$ac_ext <<_ACEOF
38961 /* confdefs.h. */
38962 _ACEOF
38963 cat confdefs.h >>conftest.$ac_ext
38964 cat >>conftest.$ac_ext <<_ACEOF
38965 /* end confdefs.h. */
38966 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38967 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38968 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38969
38970 /* System header to define __stub macros and hopefully few prototypes,
38971 which can conflict with char pthread_attr_getschedpolicy (); below.
38972 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38973 <limits.h> exists even on freestanding compilers. */
38974
38975 #ifdef __STDC__
38976 # include <limits.h>
38977 #else
38978 # include <assert.h>
38979 #endif
38980
38981 #undef pthread_attr_getschedpolicy
38982
38983 /* Override any GCC internal prototype to avoid an error.
38984 Use char because int might match the return type of a GCC
38985 builtin and then its argument prototype would still apply. */
38986 #ifdef __cplusplus
38987 extern "C"
38988 #endif
38989 char pthread_attr_getschedpolicy ();
38990 /* The GNU C library defines this for functions which it implements
38991 to always fail with ENOSYS. Some functions are actually named
38992 something starting with __ and the normal name is an alias. */
38993 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38994 choke me
38995 #endif
38996
38997 int
38998 main ()
38999 {
39000 return pthread_attr_getschedpolicy ();
39001 ;
39002 return 0;
39003 }
39004 _ACEOF
39005 rm -f conftest.$ac_objext conftest$ac_exeext
39006 if { (ac_try="$ac_link"
39007 case "(($ac_try" in
39008 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39009 *) ac_try_echo=$ac_try;;
39010 esac
39011 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39012 (eval "$ac_link") 2>conftest.er1
39013 ac_status=$?
39014 grep -v '^ *+' conftest.er1 >conftest.err
39015 rm -f conftest.er1
39016 cat conftest.err >&5
39017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39018 (exit $ac_status); } && {
39019 test -z "$ac_c_werror_flag" ||
39020 test ! -s conftest.err
39021 } && test -s conftest$ac_exeext &&
39022 $as_test_x conftest$ac_exeext; then
39023 ac_cv_func_pthread_attr_getschedpolicy=yes
39024 else
39025 echo "$as_me: failed program was:" >&5
39026 sed 's/^/| /' conftest.$ac_ext >&5
39027
39028 ac_cv_func_pthread_attr_getschedpolicy=no
39029 fi
39030
39031 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39032 conftest$ac_exeext conftest.$ac_ext
39033 fi
39034 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
39035 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
39036 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
39037 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
39038 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
39039 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
39040 echo $ECHO_N "(cached) $ECHO_C" >&6
39041 else
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 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
39049 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39050 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
39051
39052 /* System header to define __stub macros and hopefully few prototypes,
39053 which can conflict with char pthread_attr_setschedparam (); below.
39054 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39055 <limits.h> exists even on freestanding compilers. */
39056
39057 #ifdef __STDC__
39058 # include <limits.h>
39059 #else
39060 # include <assert.h>
39061 #endif
39062
39063 #undef pthread_attr_setschedparam
39064
39065 /* Override any GCC internal prototype to avoid an error.
39066 Use char because int might match the return type of a GCC
39067 builtin and then its argument prototype would still apply. */
39068 #ifdef __cplusplus
39069 extern "C"
39070 #endif
39071 char pthread_attr_setschedparam ();
39072 /* The GNU C library defines this for functions which it implements
39073 to always fail with ENOSYS. Some functions are actually named
39074 something starting with __ and the normal name is an alias. */
39075 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
39076 choke me
39077 #endif
39078
39079 int
39080 main ()
39081 {
39082 return pthread_attr_setschedparam ();
39083 ;
39084 return 0;
39085 }
39086 _ACEOF
39087 rm -f conftest.$ac_objext conftest$ac_exeext
39088 if { (ac_try="$ac_link"
39089 case "(($ac_try" in
39090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39091 *) ac_try_echo=$ac_try;;
39092 esac
39093 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39094 (eval "$ac_link") 2>conftest.er1
39095 ac_status=$?
39096 grep -v '^ *+' conftest.er1 >conftest.err
39097 rm -f conftest.er1
39098 cat conftest.err >&5
39099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39100 (exit $ac_status); } && {
39101 test -z "$ac_c_werror_flag" ||
39102 test ! -s conftest.err
39103 } && test -s conftest$ac_exeext &&
39104 $as_test_x conftest$ac_exeext; then
39105 ac_cv_func_pthread_attr_setschedparam=yes
39106 else
39107 echo "$as_me: failed program was:" >&5
39108 sed 's/^/| /' conftest.$ac_ext >&5
39109
39110 ac_cv_func_pthread_attr_setschedparam=no
39111 fi
39112
39113 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39114 conftest$ac_exeext conftest.$ac_ext
39115 fi
39116 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
39117 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
39118 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
39119 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
39120 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
39121 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
39122 echo $ECHO_N "(cached) $ECHO_C" >&6
39123 else
39124 cat >conftest.$ac_ext <<_ACEOF
39125 /* confdefs.h. */
39126 _ACEOF
39127 cat confdefs.h >>conftest.$ac_ext
39128 cat >>conftest.$ac_ext <<_ACEOF
39129 /* end confdefs.h. */
39130 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
39131 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39132 #define sched_get_priority_max innocuous_sched_get_priority_max
39133
39134 /* System header to define __stub macros and hopefully few prototypes,
39135 which can conflict with char sched_get_priority_max (); below.
39136 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39137 <limits.h> exists even on freestanding compilers. */
39138
39139 #ifdef __STDC__
39140 # include <limits.h>
39141 #else
39142 # include <assert.h>
39143 #endif
39144
39145 #undef sched_get_priority_max
39146
39147 /* Override any GCC internal prototype to avoid an error.
39148 Use char because int might match the return type of a GCC
39149 builtin and then its argument prototype would still apply. */
39150 #ifdef __cplusplus
39151 extern "C"
39152 #endif
39153 char sched_get_priority_max ();
39154 /* The GNU C library defines this for functions which it implements
39155 to always fail with ENOSYS. Some functions are actually named
39156 something starting with __ and the normal name is an alias. */
39157 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
39158 choke me
39159 #endif
39160
39161 int
39162 main ()
39163 {
39164 return sched_get_priority_max ();
39165 ;
39166 return 0;
39167 }
39168 _ACEOF
39169 rm -f conftest.$ac_objext conftest$ac_exeext
39170 if { (ac_try="$ac_link"
39171 case "(($ac_try" in
39172 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39173 *) ac_try_echo=$ac_try;;
39174 esac
39175 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39176 (eval "$ac_link") 2>conftest.er1
39177 ac_status=$?
39178 grep -v '^ *+' conftest.er1 >conftest.err
39179 rm -f conftest.er1
39180 cat conftest.err >&5
39181 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39182 (exit $ac_status); } && {
39183 test -z "$ac_c_werror_flag" ||
39184 test ! -s conftest.err
39185 } && test -s conftest$ac_exeext &&
39186 $as_test_x conftest$ac_exeext; then
39187 ac_cv_func_sched_get_priority_max=yes
39188 else
39189 echo "$as_me: failed program was:" >&5
39190 sed 's/^/| /' conftest.$ac_ext >&5
39191
39192 ac_cv_func_sched_get_priority_max=no
39193 fi
39194
39195 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39196 conftest$ac_exeext conftest.$ac_ext
39197 fi
39198 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
39199 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
39200 if test $ac_cv_func_sched_get_priority_max = yes; then
39201 HAVE_PRIOR_FUNCS=1
39202 else
39203 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
39204 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
39205 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
39206 echo $ECHO_N "(cached) $ECHO_C" >&6
39207 else
39208 ac_check_lib_save_LIBS=$LIBS
39209 LIBS="-lposix4 $LIBS"
39210 cat >conftest.$ac_ext <<_ACEOF
39211 /* confdefs.h. */
39212 _ACEOF
39213 cat confdefs.h >>conftest.$ac_ext
39214 cat >>conftest.$ac_ext <<_ACEOF
39215 /* end confdefs.h. */
39216
39217 /* Override any GCC internal prototype to avoid an error.
39218 Use char because int might match the return type of a GCC
39219 builtin and then its argument prototype would still apply. */
39220 #ifdef __cplusplus
39221 extern "C"
39222 #endif
39223 char sched_get_priority_max ();
39224 int
39225 main ()
39226 {
39227 return sched_get_priority_max ();
39228 ;
39229 return 0;
39230 }
39231 _ACEOF
39232 rm -f conftest.$ac_objext conftest$ac_exeext
39233 if { (ac_try="$ac_link"
39234 case "(($ac_try" in
39235 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39236 *) ac_try_echo=$ac_try;;
39237 esac
39238 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39239 (eval "$ac_link") 2>conftest.er1
39240 ac_status=$?
39241 grep -v '^ *+' conftest.er1 >conftest.err
39242 rm -f conftest.er1
39243 cat conftest.err >&5
39244 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39245 (exit $ac_status); } && {
39246 test -z "$ac_c_werror_flag" ||
39247 test ! -s conftest.err
39248 } && test -s conftest$ac_exeext &&
39249 $as_test_x conftest$ac_exeext; then
39250 ac_cv_lib_posix4_sched_get_priority_max=yes
39251 else
39252 echo "$as_me: failed program was:" >&5
39253 sed 's/^/| /' conftest.$ac_ext >&5
39254
39255 ac_cv_lib_posix4_sched_get_priority_max=no
39256 fi
39257
39258 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39259 conftest$ac_exeext conftest.$ac_ext
39260 LIBS=$ac_check_lib_save_LIBS
39261 fi
39262 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
39263 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
39264 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
39265
39266 HAVE_PRIOR_FUNCS=1
39267 POSIX4_LINK=" -lposix4"
39268
39269 fi
39270
39271
39272 fi
39273
39274
39275 fi
39276
39277
39278 fi
39279
39280
39281 if test "$HAVE_PRIOR_FUNCS" = 1; then
39282 cat >>confdefs.h <<\_ACEOF
39283 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
39284 _ACEOF
39285
39286 else
39287 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
39288 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
39289 fi
39290
39291 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
39292 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
39293 if test "${ac_cv_func_pthread_cancel+set}" = set; then
39294 echo $ECHO_N "(cached) $ECHO_C" >&6
39295 else
39296 cat >conftest.$ac_ext <<_ACEOF
39297 /* confdefs.h. */
39298 _ACEOF
39299 cat confdefs.h >>conftest.$ac_ext
39300 cat >>conftest.$ac_ext <<_ACEOF
39301 /* end confdefs.h. */
39302 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
39303 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39304 #define pthread_cancel innocuous_pthread_cancel
39305
39306 /* System header to define __stub macros and hopefully few prototypes,
39307 which can conflict with char pthread_cancel (); below.
39308 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39309 <limits.h> exists even on freestanding compilers. */
39310
39311 #ifdef __STDC__
39312 # include <limits.h>
39313 #else
39314 # include <assert.h>
39315 #endif
39316
39317 #undef pthread_cancel
39318
39319 /* Override any GCC internal prototype to avoid an error.
39320 Use char because int might match the return type of a GCC
39321 builtin and then its argument prototype would still apply. */
39322 #ifdef __cplusplus
39323 extern "C"
39324 #endif
39325 char pthread_cancel ();
39326 /* The GNU C library defines this for functions which it implements
39327 to always fail with ENOSYS. Some functions are actually named
39328 something starting with __ and the normal name is an alias. */
39329 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
39330 choke me
39331 #endif
39332
39333 int
39334 main ()
39335 {
39336 return pthread_cancel ();
39337 ;
39338 return 0;
39339 }
39340 _ACEOF
39341 rm -f conftest.$ac_objext conftest$ac_exeext
39342 if { (ac_try="$ac_link"
39343 case "(($ac_try" in
39344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39345 *) ac_try_echo=$ac_try;;
39346 esac
39347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39348 (eval "$ac_link") 2>conftest.er1
39349 ac_status=$?
39350 grep -v '^ *+' conftest.er1 >conftest.err
39351 rm -f conftest.er1
39352 cat conftest.err >&5
39353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39354 (exit $ac_status); } && {
39355 test -z "$ac_c_werror_flag" ||
39356 test ! -s conftest.err
39357 } && test -s conftest$ac_exeext &&
39358 $as_test_x conftest$ac_exeext; then
39359 ac_cv_func_pthread_cancel=yes
39360 else
39361 echo "$as_me: failed program was:" >&5
39362 sed 's/^/| /' conftest.$ac_ext >&5
39363
39364 ac_cv_func_pthread_cancel=no
39365 fi
39366
39367 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39368 conftest$ac_exeext conftest.$ac_ext
39369 fi
39370 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
39371 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
39372 if test $ac_cv_func_pthread_cancel = yes; then
39373 cat >>confdefs.h <<\_ACEOF
39374 #define HAVE_PTHREAD_CANCEL 1
39375 _ACEOF
39376
39377 else
39378 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
39379 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
39380 fi
39381
39382
39383 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
39384 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
39385 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
39386 echo $ECHO_N "(cached) $ECHO_C" >&6
39387 else
39388 cat >conftest.$ac_ext <<_ACEOF
39389 /* confdefs.h. */
39390 _ACEOF
39391 cat confdefs.h >>conftest.$ac_ext
39392 cat >>conftest.$ac_ext <<_ACEOF
39393 /* end confdefs.h. */
39394 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
39395 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39396 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
39397
39398 /* System header to define __stub macros and hopefully few prototypes,
39399 which can conflict with char pthread_mutex_timedlock (); below.
39400 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39401 <limits.h> exists even on freestanding compilers. */
39402
39403 #ifdef __STDC__
39404 # include <limits.h>
39405 #else
39406 # include <assert.h>
39407 #endif
39408
39409 #undef pthread_mutex_timedlock
39410
39411 /* Override any GCC internal prototype to avoid an error.
39412 Use char because int might match the return type of a GCC
39413 builtin and then its argument prototype would still apply. */
39414 #ifdef __cplusplus
39415 extern "C"
39416 #endif
39417 char pthread_mutex_timedlock ();
39418 /* The GNU C library defines this for functions which it implements
39419 to always fail with ENOSYS. Some functions are actually named
39420 something starting with __ and the normal name is an alias. */
39421 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
39422 choke me
39423 #endif
39424
39425 int
39426 main ()
39427 {
39428 return pthread_mutex_timedlock ();
39429 ;
39430 return 0;
39431 }
39432 _ACEOF
39433 rm -f conftest.$ac_objext conftest$ac_exeext
39434 if { (ac_try="$ac_link"
39435 case "(($ac_try" in
39436 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39437 *) ac_try_echo=$ac_try;;
39438 esac
39439 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39440 (eval "$ac_link") 2>conftest.er1
39441 ac_status=$?
39442 grep -v '^ *+' conftest.er1 >conftest.err
39443 rm -f conftest.er1
39444 cat conftest.err >&5
39445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39446 (exit $ac_status); } && {
39447 test -z "$ac_c_werror_flag" ||
39448 test ! -s conftest.err
39449 } && test -s conftest$ac_exeext &&
39450 $as_test_x conftest$ac_exeext; then
39451 ac_cv_func_pthread_mutex_timedlock=yes
39452 else
39453 echo "$as_me: failed program was:" >&5
39454 sed 's/^/| /' conftest.$ac_ext >&5
39455
39456 ac_cv_func_pthread_mutex_timedlock=no
39457 fi
39458
39459 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39460 conftest$ac_exeext conftest.$ac_ext
39461 fi
39462 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
39463 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
39464 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
39465 cat >>confdefs.h <<\_ACEOF
39466 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
39467 _ACEOF
39468
39469 else
39470 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
39471 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
39472 fi
39473
39474
39475 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
39476 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
39477 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
39478 echo $ECHO_N "(cached) $ECHO_C" >&6
39479 else
39480 cat >conftest.$ac_ext <<_ACEOF
39481 /* confdefs.h. */
39482 _ACEOF
39483 cat confdefs.h >>conftest.$ac_ext
39484 cat >>conftest.$ac_ext <<_ACEOF
39485 /* end confdefs.h. */
39486 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
39487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39488 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
39489
39490 /* System header to define __stub macros and hopefully few prototypes,
39491 which can conflict with char pthread_attr_setstacksize (); below.
39492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39493 <limits.h> exists even on freestanding compilers. */
39494
39495 #ifdef __STDC__
39496 # include <limits.h>
39497 #else
39498 # include <assert.h>
39499 #endif
39500
39501 #undef pthread_attr_setstacksize
39502
39503 /* Override any GCC internal prototype to avoid an error.
39504 Use char because int might match the return type of a GCC
39505 builtin and then its argument prototype would still apply. */
39506 #ifdef __cplusplus
39507 extern "C"
39508 #endif
39509 char pthread_attr_setstacksize ();
39510 /* The GNU C library defines this for functions which it implements
39511 to always fail with ENOSYS. Some functions are actually named
39512 something starting with __ and the normal name is an alias. */
39513 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39514 choke me
39515 #endif
39516
39517 int
39518 main ()
39519 {
39520 return pthread_attr_setstacksize ();
39521 ;
39522 return 0;
39523 }
39524 _ACEOF
39525 rm -f conftest.$ac_objext conftest$ac_exeext
39526 if { (ac_try="$ac_link"
39527 case "(($ac_try" in
39528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39529 *) ac_try_echo=$ac_try;;
39530 esac
39531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39532 (eval "$ac_link") 2>conftest.er1
39533 ac_status=$?
39534 grep -v '^ *+' conftest.er1 >conftest.err
39535 rm -f conftest.er1
39536 cat conftest.err >&5
39537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39538 (exit $ac_status); } && {
39539 test -z "$ac_c_werror_flag" ||
39540 test ! -s conftest.err
39541 } && test -s conftest$ac_exeext &&
39542 $as_test_x conftest$ac_exeext; then
39543 ac_cv_func_pthread_attr_setstacksize=yes
39544 else
39545 echo "$as_me: failed program was:" >&5
39546 sed 's/^/| /' conftest.$ac_ext >&5
39547
39548 ac_cv_func_pthread_attr_setstacksize=no
39549 fi
39550
39551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39552 conftest$ac_exeext conftest.$ac_ext
39553 fi
39554 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39555 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39556 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39557 cat >>confdefs.h <<\_ACEOF
39558 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39559 _ACEOF
39560
39561 fi
39562
39563
39564
39565 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39566 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39567 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39568 echo $ECHO_N "(cached) $ECHO_C" >&6
39569 else
39570
39571 cat >conftest.$ac_ext <<_ACEOF
39572 /* confdefs.h. */
39573 _ACEOF
39574 cat confdefs.h >>conftest.$ac_ext
39575 cat >>conftest.$ac_ext <<_ACEOF
39576 /* end confdefs.h. */
39577 #include <pthread.h>
39578 int
39579 main ()
39580 {
39581
39582 pthread_mutexattr_t attr;
39583 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39584
39585 ;
39586 return 0;
39587 }
39588 _ACEOF
39589 rm -f conftest.$ac_objext
39590 if { (ac_try="$ac_compile"
39591 case "(($ac_try" in
39592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39593 *) ac_try_echo=$ac_try;;
39594 esac
39595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39596 (eval "$ac_compile") 2>conftest.er1
39597 ac_status=$?
39598 grep -v '^ *+' conftest.er1 >conftest.err
39599 rm -f conftest.er1
39600 cat conftest.err >&5
39601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39602 (exit $ac_status); } && {
39603 test -z "$ac_c_werror_flag" ||
39604 test ! -s conftest.err
39605 } && test -s conftest.$ac_objext; then
39606 wx_cv_type_pthread_mutexattr_t=yes
39607 else
39608 echo "$as_me: failed program was:" >&5
39609 sed 's/^/| /' conftest.$ac_ext >&5
39610
39611 wx_cv_type_pthread_mutexattr_t=no
39612
39613 fi
39614
39615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39616
39617 fi
39618 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39619 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39620
39621 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39622 cat >>confdefs.h <<\_ACEOF
39623 #define HAVE_PTHREAD_MUTEXATTR_T 1
39624 _ACEOF
39625
39626
39627 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39628 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39629 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39630 echo $ECHO_N "(cached) $ECHO_C" >&6
39631 else
39632
39633 cat >conftest.$ac_ext <<_ACEOF
39634 /* confdefs.h. */
39635 _ACEOF
39636 cat confdefs.h >>conftest.$ac_ext
39637 cat >>conftest.$ac_ext <<_ACEOF
39638 /* end confdefs.h. */
39639 #include <pthread.h>
39640 int
39641 main ()
39642 {
39643
39644 pthread_mutexattr_t attr;
39645 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39646
39647 ;
39648 return 0;
39649 }
39650 _ACEOF
39651 rm -f conftest.$ac_objext
39652 if { (ac_try="$ac_compile"
39653 case "(($ac_try" in
39654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39655 *) ac_try_echo=$ac_try;;
39656 esac
39657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39658 (eval "$ac_compile") 2>conftest.er1
39659 ac_status=$?
39660 grep -v '^ *+' conftest.er1 >conftest.err
39661 rm -f conftest.er1
39662 cat conftest.err >&5
39663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39664 (exit $ac_status); } && {
39665 test -z "$ac_c_werror_flag" ||
39666 test ! -s conftest.err
39667 } && test -s conftest.$ac_objext; then
39668 wx_cv_func_pthread_mutexattr_settype_decl=yes
39669 else
39670 echo "$as_me: failed program was:" >&5
39671 sed 's/^/| /' conftest.$ac_ext >&5
39672
39673 wx_cv_func_pthread_mutexattr_settype_decl=no
39674
39675 fi
39676
39677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39678
39679 fi
39680 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39681 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39682 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39683 cat >>confdefs.h <<\_ACEOF
39684 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39685 _ACEOF
39686
39687 fi
39688 else
39689 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39690 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39691 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39692 echo $ECHO_N "(cached) $ECHO_C" >&6
39693 else
39694
39695 cat >conftest.$ac_ext <<_ACEOF
39696 /* confdefs.h. */
39697 _ACEOF
39698 cat confdefs.h >>conftest.$ac_ext
39699 cat >>conftest.$ac_ext <<_ACEOF
39700 /* end confdefs.h. */
39701 #include <pthread.h>
39702 int
39703 main ()
39704 {
39705
39706 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39707
39708 ;
39709 return 0;
39710 }
39711 _ACEOF
39712 rm -f conftest.$ac_objext
39713 if { (ac_try="$ac_compile"
39714 case "(($ac_try" in
39715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39716 *) ac_try_echo=$ac_try;;
39717 esac
39718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39719 (eval "$ac_compile") 2>conftest.er1
39720 ac_status=$?
39721 grep -v '^ *+' conftest.er1 >conftest.err
39722 rm -f conftest.er1
39723 cat conftest.err >&5
39724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39725 (exit $ac_status); } && {
39726 test -z "$ac_c_werror_flag" ||
39727 test ! -s conftest.err
39728 } && test -s conftest.$ac_objext; then
39729
39730 wx_cv_type_pthread_rec_mutex_init=yes
39731
39732 else
39733 echo "$as_me: failed program was:" >&5
39734 sed 's/^/| /' conftest.$ac_ext >&5
39735
39736
39737 wx_cv_type_pthread_rec_mutex_init=no
39738
39739
39740 fi
39741
39742 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39743
39744 fi
39745 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39746 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39747 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39748 cat >>confdefs.h <<\_ACEOF
39749 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39750 _ACEOF
39751
39752 else
39753 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39754 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39755 fi
39756 fi
39757 fi
39758
39759 else
39760 if test "$wxUSE_THREADS" = "yes" ; then
39761 case "${host}" in
39762 *-*-mingw32* )
39763 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39764 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39765 if test "${wx_cv_cflags_mthread+set}" = set; then
39766 echo $ECHO_N "(cached) $ECHO_C" >&6
39767 else
39768
39769 CFLAGS_OLD="$CFLAGS"
39770 CFLAGS="-mthreads $CFLAGS"
39771 cat >conftest.$ac_ext <<_ACEOF
39772 /* confdefs.h. */
39773 _ACEOF
39774 cat confdefs.h >>conftest.$ac_ext
39775 cat >>conftest.$ac_ext <<_ACEOF
39776 /* end confdefs.h. */
39777
39778 int
39779 main ()
39780 {
39781
39782 ;
39783 return 0;
39784 }
39785 _ACEOF
39786 rm -f conftest.$ac_objext
39787 if { (ac_try="$ac_compile"
39788 case "(($ac_try" in
39789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39790 *) ac_try_echo=$ac_try;;
39791 esac
39792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39793 (eval "$ac_compile") 2>conftest.er1
39794 ac_status=$?
39795 grep -v '^ *+' conftest.er1 >conftest.err
39796 rm -f conftest.er1
39797 cat conftest.err >&5
39798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39799 (exit $ac_status); } && {
39800 test -z "$ac_c_werror_flag" ||
39801 test ! -s conftest.err
39802 } && test -s conftest.$ac_objext; then
39803 wx_cv_cflags_mthread=yes
39804 else
39805 echo "$as_me: failed program was:" >&5
39806 sed 's/^/| /' conftest.$ac_ext >&5
39807
39808 wx_cv_cflags_mthread=no
39809
39810 fi
39811
39812 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39813
39814
39815 fi
39816 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39817 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39818
39819 if test "$wx_cv_cflags_mthread" = "yes"; then
39820 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39821 LDFLAGS="$LDFLAGS -mthreads"
39822 else
39823 CFLAGS="$CFLAGS_OLD"
39824 fi
39825 ;;
39826 *-pc-os2*emx )
39827 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39828 LDFLAGS="$LDFLAGS -Zmt"
39829 ;;
39830 esac
39831 fi
39832 fi
39833
39834 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39835 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39836 if test "${ac_cv_func_localtime_r+set}" = set; then
39837 echo $ECHO_N "(cached) $ECHO_C" >&6
39838 else
39839 cat >conftest.$ac_ext <<_ACEOF
39840 /* confdefs.h. */
39841 _ACEOF
39842 cat confdefs.h >>conftest.$ac_ext
39843 cat >>conftest.$ac_ext <<_ACEOF
39844 /* end confdefs.h. */
39845 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39846 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39847 #define localtime_r innocuous_localtime_r
39848
39849 /* System header to define __stub macros and hopefully few prototypes,
39850 which can conflict with char localtime_r (); below.
39851 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39852 <limits.h> exists even on freestanding compilers. */
39853
39854 #ifdef __STDC__
39855 # include <limits.h>
39856 #else
39857 # include <assert.h>
39858 #endif
39859
39860 #undef localtime_r
39861
39862 /* Override any GCC internal prototype to avoid an error.
39863 Use char because int might match the return type of a GCC
39864 builtin and then its argument prototype would still apply. */
39865 #ifdef __cplusplus
39866 extern "C"
39867 #endif
39868 char localtime_r ();
39869 /* The GNU C library defines this for functions which it implements
39870 to always fail with ENOSYS. Some functions are actually named
39871 something starting with __ and the normal name is an alias. */
39872 #if defined __stub_localtime_r || defined __stub___localtime_r
39873 choke me
39874 #endif
39875
39876 int
39877 main ()
39878 {
39879 return localtime_r ();
39880 ;
39881 return 0;
39882 }
39883 _ACEOF
39884 rm -f conftest.$ac_objext conftest$ac_exeext
39885 if { (ac_try="$ac_link"
39886 case "(($ac_try" in
39887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39888 *) ac_try_echo=$ac_try;;
39889 esac
39890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39891 (eval "$ac_link") 2>conftest.er1
39892 ac_status=$?
39893 grep -v '^ *+' conftest.er1 >conftest.err
39894 rm -f conftest.er1
39895 cat conftest.err >&5
39896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39897 (exit $ac_status); } && {
39898 test -z "$ac_c_werror_flag" ||
39899 test ! -s conftest.err
39900 } && test -s conftest$ac_exeext &&
39901 $as_test_x conftest$ac_exeext; then
39902 ac_cv_func_localtime_r=yes
39903 else
39904 echo "$as_me: failed program was:" >&5
39905 sed 's/^/| /' conftest.$ac_ext >&5
39906
39907 ac_cv_func_localtime_r=no
39908 fi
39909
39910 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39911 conftest$ac_exeext conftest.$ac_ext
39912 fi
39913 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39914 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39915 if test $ac_cv_func_localtime_r = yes; then
39916 cat >>confdefs.h <<\_ACEOF
39917 #define HAVE_LOCALTIME_R 1
39918 _ACEOF
39919
39920 fi
39921
39922 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39923 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39924 if test "${ac_cv_func_gmtime_r+set}" = set; then
39925 echo $ECHO_N "(cached) $ECHO_C" >&6
39926 else
39927 cat >conftest.$ac_ext <<_ACEOF
39928 /* confdefs.h. */
39929 _ACEOF
39930 cat confdefs.h >>conftest.$ac_ext
39931 cat >>conftest.$ac_ext <<_ACEOF
39932 /* end confdefs.h. */
39933 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39934 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39935 #define gmtime_r innocuous_gmtime_r
39936
39937 /* System header to define __stub macros and hopefully few prototypes,
39938 which can conflict with char gmtime_r (); below.
39939 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39940 <limits.h> exists even on freestanding compilers. */
39941
39942 #ifdef __STDC__
39943 # include <limits.h>
39944 #else
39945 # include <assert.h>
39946 #endif
39947
39948 #undef gmtime_r
39949
39950 /* Override any GCC internal prototype to avoid an error.
39951 Use char because int might match the return type of a GCC
39952 builtin and then its argument prototype would still apply. */
39953 #ifdef __cplusplus
39954 extern "C"
39955 #endif
39956 char gmtime_r ();
39957 /* The GNU C library defines this for functions which it implements
39958 to always fail with ENOSYS. Some functions are actually named
39959 something starting with __ and the normal name is an alias. */
39960 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39961 choke me
39962 #endif
39963
39964 int
39965 main ()
39966 {
39967 return gmtime_r ();
39968 ;
39969 return 0;
39970 }
39971 _ACEOF
39972 rm -f conftest.$ac_objext conftest$ac_exeext
39973 if { (ac_try="$ac_link"
39974 case "(($ac_try" in
39975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39976 *) ac_try_echo=$ac_try;;
39977 esac
39978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39979 (eval "$ac_link") 2>conftest.er1
39980 ac_status=$?
39981 grep -v '^ *+' conftest.er1 >conftest.err
39982 rm -f conftest.er1
39983 cat conftest.err >&5
39984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39985 (exit $ac_status); } && {
39986 test -z "$ac_c_werror_flag" ||
39987 test ! -s conftest.err
39988 } && test -s conftest$ac_exeext &&
39989 $as_test_x conftest$ac_exeext; then
39990 ac_cv_func_gmtime_r=yes
39991 else
39992 echo "$as_me: failed program was:" >&5
39993 sed 's/^/| /' conftest.$ac_ext >&5
39994
39995 ac_cv_func_gmtime_r=no
39996 fi
39997
39998 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39999 conftest$ac_exeext conftest.$ac_ext
40000 fi
40001 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
40002 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
40003 if test $ac_cv_func_gmtime_r = yes; then
40004 cat >>confdefs.h <<\_ACEOF
40005 #define HAVE_GMTIME_R 1
40006 _ACEOF
40007
40008 fi
40009
40010
40011
40012
40013 ac_ext=c
40014 ac_cpp='$CPP $CPPFLAGS'
40015 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40016 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40017 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40018
40019 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
40020 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
40021
40022 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
40023 echo $ECHO_N "(cached) $ECHO_C" >&6
40024 else
40025
40026
40027 ################################################################
40028
40029 ac_cv_func_which_gethostbyname_r=unknown
40030
40031 #
40032 # ONE ARGUMENT (sanity check)
40033 #
40034
40035 # This should fail, as there is no variant of gethostbyname_r() that takes
40036 # a single argument. If it actually compiles, then we can assume that
40037 # netdb.h is not declaring the function, and the compiler is thereby
40038 # assuming an implicit prototype. In which case, we're out of luck.
40039 #
40040 cat >conftest.$ac_ext <<_ACEOF
40041 /* confdefs.h. */
40042 _ACEOF
40043 cat confdefs.h >>conftest.$ac_ext
40044 cat >>conftest.$ac_ext <<_ACEOF
40045 /* end confdefs.h. */
40046 #include <netdb.h>
40047 int
40048 main ()
40049 {
40050
40051 char *name = "www.gnu.org";
40052 (void)gethostbyname_r(name) /* ; */
40053
40054 ;
40055 return 0;
40056 }
40057 _ACEOF
40058 rm -f conftest.$ac_objext
40059 if { (ac_try="$ac_compile"
40060 case "(($ac_try" in
40061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40062 *) ac_try_echo=$ac_try;;
40063 esac
40064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40065 (eval "$ac_compile") 2>conftest.er1
40066 ac_status=$?
40067 grep -v '^ *+' conftest.er1 >conftest.err
40068 rm -f conftest.er1
40069 cat conftest.err >&5
40070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40071 (exit $ac_status); } && {
40072 test -z "$ac_c_werror_flag" ||
40073 test ! -s conftest.err
40074 } && test -s conftest.$ac_objext; then
40075 ac_cv_func_which_gethostbyname_r=no
40076 else
40077 echo "$as_me: failed program was:" >&5
40078 sed 's/^/| /' conftest.$ac_ext >&5
40079
40080
40081 fi
40082
40083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40084
40085 #
40086 # SIX ARGUMENTS
40087 # (e.g. Linux)
40088 #
40089
40090 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40091
40092 cat >conftest.$ac_ext <<_ACEOF
40093 /* confdefs.h. */
40094 _ACEOF
40095 cat confdefs.h >>conftest.$ac_ext
40096 cat >>conftest.$ac_ext <<_ACEOF
40097 /* end confdefs.h. */
40098 #include <netdb.h>
40099 int
40100 main ()
40101 {
40102
40103 char *name = "www.gnu.org";
40104 struct hostent ret, *retp;
40105 char buf[1024];
40106 int buflen = 1024;
40107 int my_h_errno;
40108 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
40109
40110 ;
40111 return 0;
40112 }
40113 _ACEOF
40114 rm -f conftest.$ac_objext
40115 if { (ac_try="$ac_compile"
40116 case "(($ac_try" in
40117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40118 *) ac_try_echo=$ac_try;;
40119 esac
40120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40121 (eval "$ac_compile") 2>conftest.er1
40122 ac_status=$?
40123 grep -v '^ *+' conftest.er1 >conftest.err
40124 rm -f conftest.er1
40125 cat conftest.err >&5
40126 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40127 (exit $ac_status); } && {
40128 test -z "$ac_c_werror_flag" ||
40129 test ! -s conftest.err
40130 } && test -s conftest.$ac_objext; then
40131 ac_cv_func_which_gethostbyname_r=six
40132 else
40133 echo "$as_me: failed program was:" >&5
40134 sed 's/^/| /' conftest.$ac_ext >&5
40135
40136
40137 fi
40138
40139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40140
40141 fi
40142
40143 #
40144 # FIVE ARGUMENTS
40145 # (e.g. Solaris)
40146 #
40147
40148 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40149
40150 cat >conftest.$ac_ext <<_ACEOF
40151 /* confdefs.h. */
40152 _ACEOF
40153 cat confdefs.h >>conftest.$ac_ext
40154 cat >>conftest.$ac_ext <<_ACEOF
40155 /* end confdefs.h. */
40156 #include <netdb.h>
40157 int
40158 main ()
40159 {
40160
40161 char *name = "www.gnu.org";
40162 struct hostent ret;
40163 char buf[1024];
40164 int buflen = 1024;
40165 int my_h_errno;
40166 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
40167
40168 ;
40169 return 0;
40170 }
40171 _ACEOF
40172 rm -f conftest.$ac_objext
40173 if { (ac_try="$ac_compile"
40174 case "(($ac_try" in
40175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40176 *) ac_try_echo=$ac_try;;
40177 esac
40178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40179 (eval "$ac_compile") 2>conftest.er1
40180 ac_status=$?
40181 grep -v '^ *+' conftest.er1 >conftest.err
40182 rm -f conftest.er1
40183 cat conftest.err >&5
40184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40185 (exit $ac_status); } && {
40186 test -z "$ac_c_werror_flag" ||
40187 test ! -s conftest.err
40188 } && test -s conftest.$ac_objext; then
40189 ac_cv_func_which_gethostbyname_r=five
40190 else
40191 echo "$as_me: failed program was:" >&5
40192 sed 's/^/| /' conftest.$ac_ext >&5
40193
40194
40195 fi
40196
40197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40198
40199 fi
40200
40201 #
40202 # THREE ARGUMENTS
40203 # (e.g. AIX, HP-UX, Tru64)
40204 #
40205
40206 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
40207
40208 cat >conftest.$ac_ext <<_ACEOF
40209 /* confdefs.h. */
40210 _ACEOF
40211 cat confdefs.h >>conftest.$ac_ext
40212 cat >>conftest.$ac_ext <<_ACEOF
40213 /* end confdefs.h. */
40214 #include <netdb.h>
40215 int
40216 main ()
40217 {
40218
40219 char *name = "www.gnu.org";
40220 struct hostent ret;
40221 struct hostent_data data;
40222 (void)gethostbyname_r(name, &ret, &data) /* ; */
40223
40224 ;
40225 return 0;
40226 }
40227 _ACEOF
40228 rm -f conftest.$ac_objext
40229 if { (ac_try="$ac_compile"
40230 case "(($ac_try" in
40231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40232 *) ac_try_echo=$ac_try;;
40233 esac
40234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40235 (eval "$ac_compile") 2>conftest.er1
40236 ac_status=$?
40237 grep -v '^ *+' conftest.er1 >conftest.err
40238 rm -f conftest.er1
40239 cat conftest.err >&5
40240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40241 (exit $ac_status); } && {
40242 test -z "$ac_c_werror_flag" ||
40243 test ! -s conftest.err
40244 } && test -s conftest.$ac_objext; then
40245 ac_cv_func_which_gethostbyname_r=three
40246 else
40247 echo "$as_me: failed program was:" >&5
40248 sed 's/^/| /' conftest.$ac_ext >&5
40249
40250
40251 fi
40252
40253 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40254
40255 fi
40256
40257 ################################################################
40258
40259
40260 fi
40261
40262 case "$ac_cv_func_which_gethostbyname_r" in
40263 three)
40264 { echo "$as_me:$LINENO: result: three" >&5
40265 echo "${ECHO_T}three" >&6; }
40266 cat >>confdefs.h <<\_ACEOF
40267 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
40268 _ACEOF
40269
40270 ;;
40271
40272 five)
40273 { echo "$as_me:$LINENO: result: five" >&5
40274 echo "${ECHO_T}five" >&6; }
40275 cat >>confdefs.h <<\_ACEOF
40276 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
40277 _ACEOF
40278
40279 ;;
40280
40281 six)
40282 { echo "$as_me:$LINENO: result: six" >&5
40283 echo "${ECHO_T}six" >&6; }
40284 cat >>confdefs.h <<\_ACEOF
40285 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
40286 _ACEOF
40287
40288 ;;
40289
40290 no)
40291 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
40292 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
40293 ;;
40294
40295 unknown)
40296 { echo "$as_me:$LINENO: result: can't tell" >&5
40297 echo "${ECHO_T}can't tell" >&6; }
40298 ;;
40299
40300 *)
40301 { { echo "$as_me:$LINENO: error: internal error" >&5
40302 echo "$as_me: error: internal error" >&2;}
40303 { (exit 1); exit 1; }; }
40304 ;;
40305 esac
40306
40307 ac_ext=c
40308 ac_cpp='$CPP $CPPFLAGS'
40309 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40310 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40311 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40312
40313
40314
40315 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
40316 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
40317 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
40318 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
40319 if test "${ac_cv_func_gethostbyname+set}" = set; then
40320 echo $ECHO_N "(cached) $ECHO_C" >&6
40321 else
40322 cat >conftest.$ac_ext <<_ACEOF
40323 /* confdefs.h. */
40324 _ACEOF
40325 cat confdefs.h >>conftest.$ac_ext
40326 cat >>conftest.$ac_ext <<_ACEOF
40327 /* end confdefs.h. */
40328 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
40329 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40330 #define gethostbyname innocuous_gethostbyname
40331
40332 /* System header to define __stub macros and hopefully few prototypes,
40333 which can conflict with char gethostbyname (); below.
40334 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40335 <limits.h> exists even on freestanding compilers. */
40336
40337 #ifdef __STDC__
40338 # include <limits.h>
40339 #else
40340 # include <assert.h>
40341 #endif
40342
40343 #undef gethostbyname
40344
40345 /* Override any GCC internal prototype to avoid an error.
40346 Use char because int might match the return type of a GCC
40347 builtin and then its argument prototype would still apply. */
40348 #ifdef __cplusplus
40349 extern "C"
40350 #endif
40351 char gethostbyname ();
40352 /* The GNU C library defines this for functions which it implements
40353 to always fail with ENOSYS. Some functions are actually named
40354 something starting with __ and the normal name is an alias. */
40355 #if defined __stub_gethostbyname || defined __stub___gethostbyname
40356 choke me
40357 #endif
40358
40359 int
40360 main ()
40361 {
40362 return gethostbyname ();
40363 ;
40364 return 0;
40365 }
40366 _ACEOF
40367 rm -f conftest.$ac_objext conftest$ac_exeext
40368 if { (ac_try="$ac_link"
40369 case "(($ac_try" in
40370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40371 *) ac_try_echo=$ac_try;;
40372 esac
40373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40374 (eval "$ac_link") 2>conftest.er1
40375 ac_status=$?
40376 grep -v '^ *+' conftest.er1 >conftest.err
40377 rm -f conftest.er1
40378 cat conftest.err >&5
40379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40380 (exit $ac_status); } && {
40381 test -z "$ac_c_werror_flag" ||
40382 test ! -s conftest.err
40383 } && test -s conftest$ac_exeext &&
40384 $as_test_x conftest$ac_exeext; then
40385 ac_cv_func_gethostbyname=yes
40386 else
40387 echo "$as_me: failed program was:" >&5
40388 sed 's/^/| /' conftest.$ac_ext >&5
40389
40390 ac_cv_func_gethostbyname=no
40391 fi
40392
40393 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40394 conftest$ac_exeext conftest.$ac_ext
40395 fi
40396 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
40397 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
40398 if test $ac_cv_func_gethostbyname = yes; then
40399 cat >>confdefs.h <<\_ACEOF
40400 #define HAVE_GETHOSTBYNAME 1
40401 _ACEOF
40402
40403 fi
40404
40405 fi
40406
40407 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
40408 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
40409 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
40410 echo $ECHO_N "(cached) $ECHO_C" >&6
40411 else
40412
40413 ac_ext=cpp
40414 ac_cpp='$CXXCPP $CPPFLAGS'
40415 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40416 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40417 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40418
40419
40420 cat >conftest.$ac_ext <<_ACEOF
40421 /* confdefs.h. */
40422 _ACEOF
40423 cat confdefs.h >>conftest.$ac_ext
40424 cat >>conftest.$ac_ext <<_ACEOF
40425 /* end confdefs.h. */
40426 #include <netdb.h>
40427 int
40428 main ()
40429 {
40430
40431 char *name;
40432 char *proto;
40433 struct servent *se, *res;
40434 char buffer[2048];
40435 int buflen = 2048;
40436 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40437
40438 ;
40439 return 0;
40440 }
40441 _ACEOF
40442 rm -f conftest.$ac_objext
40443 if { (ac_try="$ac_compile"
40444 case "(($ac_try" in
40445 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40446 *) ac_try_echo=$ac_try;;
40447 esac
40448 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40449 (eval "$ac_compile") 2>conftest.er1
40450 ac_status=$?
40451 grep -v '^ *+' conftest.er1 >conftest.err
40452 rm -f conftest.er1
40453 cat conftest.err >&5
40454 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40455 (exit $ac_status); } && {
40456 test -z "$ac_cxx_werror_flag" ||
40457 test ! -s conftest.err
40458 } && test -s conftest.$ac_objext; then
40459 ac_cv_func_which_getservbyname_r=six
40460 else
40461 echo "$as_me: failed program was:" >&5
40462 sed 's/^/| /' conftest.$ac_ext >&5
40463
40464
40465 cat >conftest.$ac_ext <<_ACEOF
40466 /* confdefs.h. */
40467 _ACEOF
40468 cat confdefs.h >>conftest.$ac_ext
40469 cat >>conftest.$ac_ext <<_ACEOF
40470 /* end confdefs.h. */
40471 #include <netdb.h>
40472 int
40473 main ()
40474 {
40475
40476 char *name;
40477 char *proto;
40478 struct servent *se;
40479 char buffer[2048];
40480 int buflen = 2048;
40481 (void) getservbyname_r(name, proto, se, buffer, buflen)
40482
40483 ;
40484 return 0;
40485 }
40486 _ACEOF
40487 rm -f conftest.$ac_objext
40488 if { (ac_try="$ac_compile"
40489 case "(($ac_try" in
40490 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40491 *) ac_try_echo=$ac_try;;
40492 esac
40493 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40494 (eval "$ac_compile") 2>conftest.er1
40495 ac_status=$?
40496 grep -v '^ *+' conftest.er1 >conftest.err
40497 rm -f conftest.er1
40498 cat conftest.err >&5
40499 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40500 (exit $ac_status); } && {
40501 test -z "$ac_cxx_werror_flag" ||
40502 test ! -s conftest.err
40503 } && test -s conftest.$ac_objext; then
40504 ac_cv_func_which_getservbyname_r=five
40505 else
40506 echo "$as_me: failed program was:" >&5
40507 sed 's/^/| /' conftest.$ac_ext >&5
40508
40509
40510 cat >conftest.$ac_ext <<_ACEOF
40511 /* confdefs.h. */
40512 _ACEOF
40513 cat confdefs.h >>conftest.$ac_ext
40514 cat >>conftest.$ac_ext <<_ACEOF
40515 /* end confdefs.h. */
40516 #include <netdb.h>
40517 int
40518 main ()
40519 {
40520
40521 char *name;
40522 char *proto;
40523 struct servent *se;
40524 struct servent_data data;
40525 (void) getservbyname_r(name, proto, se, &data);
40526
40527 ;
40528 return 0;
40529 }
40530 _ACEOF
40531 rm -f conftest.$ac_objext
40532 if { (ac_try="$ac_compile"
40533 case "(($ac_try" in
40534 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40535 *) ac_try_echo=$ac_try;;
40536 esac
40537 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40538 (eval "$ac_compile") 2>conftest.er1
40539 ac_status=$?
40540 grep -v '^ *+' conftest.er1 >conftest.err
40541 rm -f conftest.er1
40542 cat conftest.err >&5
40543 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40544 (exit $ac_status); } && {
40545 test -z "$ac_cxx_werror_flag" ||
40546 test ! -s conftest.err
40547 } && test -s conftest.$ac_objext; then
40548 ac_cv_func_which_getservbyname_r=four
40549 else
40550 echo "$as_me: failed program was:" >&5
40551 sed 's/^/| /' conftest.$ac_ext >&5
40552
40553 ac_cv_func_which_getservbyname_r=no
40554
40555 fi
40556
40557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40558
40559
40560 fi
40561
40562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40563
40564
40565 fi
40566
40567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40568 ac_ext=c
40569 ac_cpp='$CPP $CPPFLAGS'
40570 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40571 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40572 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40573
40574
40575
40576 fi
40577 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40578 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40579
40580 if test $ac_cv_func_which_getservbyname_r = six; then
40581 cat >>confdefs.h <<\_ACEOF
40582 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40583 _ACEOF
40584
40585 elif test $ac_cv_func_which_getservbyname_r = five; then
40586 cat >>confdefs.h <<\_ACEOF
40587 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40588 _ACEOF
40589
40590 elif test $ac_cv_func_which_getservbyname_r = four; then
40591 cat >>confdefs.h <<\_ACEOF
40592 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40593 _ACEOF
40594
40595 fi
40596
40597
40598 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40599 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40600
40601 for ac_func in getservbyname
40602 do
40603 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40604 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40605 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40606 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40607 echo $ECHO_N "(cached) $ECHO_C" >&6
40608 else
40609 cat >conftest.$ac_ext <<_ACEOF
40610 /* confdefs.h. */
40611 _ACEOF
40612 cat confdefs.h >>conftest.$ac_ext
40613 cat >>conftest.$ac_ext <<_ACEOF
40614 /* end confdefs.h. */
40615 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40616 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40617 #define $ac_func innocuous_$ac_func
40618
40619 /* System header to define __stub macros and hopefully few prototypes,
40620 which can conflict with char $ac_func (); below.
40621 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40622 <limits.h> exists even on freestanding compilers. */
40623
40624 #ifdef __STDC__
40625 # include <limits.h>
40626 #else
40627 # include <assert.h>
40628 #endif
40629
40630 #undef $ac_func
40631
40632 /* Override any GCC internal prototype to avoid an error.
40633 Use char because int might match the return type of a GCC
40634 builtin and then its argument prototype would still apply. */
40635 #ifdef __cplusplus
40636 extern "C"
40637 #endif
40638 char $ac_func ();
40639 /* The GNU C library defines this for functions which it implements
40640 to always fail with ENOSYS. Some functions are actually named
40641 something starting with __ and the normal name is an alias. */
40642 #if defined __stub_$ac_func || defined __stub___$ac_func
40643 choke me
40644 #endif
40645
40646 int
40647 main ()
40648 {
40649 return $ac_func ();
40650 ;
40651 return 0;
40652 }
40653 _ACEOF
40654 rm -f conftest.$ac_objext conftest$ac_exeext
40655 if { (ac_try="$ac_link"
40656 case "(($ac_try" in
40657 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40658 *) ac_try_echo=$ac_try;;
40659 esac
40660 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40661 (eval "$ac_link") 2>conftest.er1
40662 ac_status=$?
40663 grep -v '^ *+' conftest.er1 >conftest.err
40664 rm -f conftest.er1
40665 cat conftest.err >&5
40666 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40667 (exit $ac_status); } && {
40668 test -z "$ac_c_werror_flag" ||
40669 test ! -s conftest.err
40670 } && test -s conftest$ac_exeext &&
40671 $as_test_x conftest$ac_exeext; then
40672 eval "$as_ac_var=yes"
40673 else
40674 echo "$as_me: failed program was:" >&5
40675 sed 's/^/| /' conftest.$ac_ext >&5
40676
40677 eval "$as_ac_var=no"
40678 fi
40679
40680 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40681 conftest$ac_exeext conftest.$ac_ext
40682 fi
40683 ac_res=`eval echo '${'$as_ac_var'}'`
40684 { echo "$as_me:$LINENO: result: $ac_res" >&5
40685 echo "${ECHO_T}$ac_res" >&6; }
40686 if test `eval echo '${'$as_ac_var'}'` = yes; then
40687 cat >>confdefs.h <<_ACEOF
40688 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40689 _ACEOF
40690 cat >>confdefs.h <<\_ACEOF
40691 #define HAVE_GETSERVBYNAME 1
40692 _ACEOF
40693
40694 fi
40695 done
40696
40697 fi
40698
40699 if test "$wxUSE_THREADS" = "yes"; then
40700 cat >>confdefs.h <<\_ACEOF
40701 #define wxUSE_THREADS 1
40702 _ACEOF
40703
40704
40705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40706 else
40707 if test "$wx_cv_func_strtok_r" = "yes"; then
40708 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40709 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40710 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40711 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40712 { echo "$as_me:$LINENO: result: yes" >&5
40713 echo "${ECHO_T}yes" >&6; }
40714 else
40715 { echo "$as_me:$LINENO: result: no" >&5
40716 echo "${ECHO_T}no" >&6; }
40717 fi
40718 fi
40719 fi
40720
40721 if test "$WXGTK2" = 1 ; then
40722 cat >>confdefs.h <<_ACEOF
40723 #define __WXGTK20__ $WXGTK2
40724 _ACEOF
40725
40726 WXGTK12=1
40727 fi
40728
40729 if test "$WXGTK12" = 1 ; then
40730 cat >>confdefs.h <<_ACEOF
40731 #define __WXGTK12__ $WXGTK12
40732 _ACEOF
40733
40734 fi
40735
40736 if test "$WXGTK127" = 1 ; then
40737 cat >>confdefs.h <<_ACEOF
40738 #define __WXGTK127__ $WXGTK127
40739 _ACEOF
40740
40741 fi
40742
40743 if test "$WXGPE" = 1 ; then
40744 cat >>confdefs.h <<_ACEOF
40745 #define __WXGPE__ $WXGPE
40746 _ACEOF
40747
40748 fi
40749
40750 DEBUG_CFLAGS=
40751 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40752 DEBUG_CFLAGS="-g"
40753 wxUSE_OPTIMISE=no
40754 fi
40755
40756 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40757 wxUSE_DEBUG_INFO=yes
40758 if test "$GCC" = yes; then
40759 DEBUG_CFLAGS="-ggdb"
40760 fi
40761 fi
40762
40763 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40764 cat >>confdefs.h <<\_ACEOF
40765 #define WXDEBUG 1
40766 _ACEOF
40767
40768 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40769 else
40770 if test "$wxUSE_GTK" = 1 ; then
40771 if test "x$wxGTK_VERSION" = "x1" ; then
40772 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40773 fi
40774 fi
40775 fi
40776
40777 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40778 cat >>confdefs.h <<\_ACEOF
40779 #define wxUSE_MEMORY_TRACING 1
40780 _ACEOF
40781
40782 cat >>confdefs.h <<\_ACEOF
40783 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40784 _ACEOF
40785
40786 cat >>confdefs.h <<\_ACEOF
40787 #define wxUSE_DEBUG_NEW_ALWAYS 1
40788 _ACEOF
40789
40790 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40791 fi
40792
40793 if test "$wxUSE_DMALLOC" = "yes" ; then
40794 DMALLOC_LIBS="-ldmallocthcxx"
40795 fi
40796
40797 PROFILE_FLAGS=
40798 if test "$wxUSE_PROFILE" = "yes" ; then
40799 PROFILE_FLAGS=" -pg"
40800 fi
40801
40802 if test "$GCC" = "yes" ; then
40803 if test "$wxUSE_NO_RTTI" = "yes" ; then
40804 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40805 fi
40806 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40807 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40808 fi
40809 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40810 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40811 fi
40812
40813 case "${host}" in
40814 powerpc*-*-aix* )
40815 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40816 ;;
40817 *-hppa* )
40818 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40819 ;;
40820 esac
40821 fi
40822
40823 OPTIMISE_CFLAGS=
40824 if test "$wxUSE_OPTIMISE" = "no" ; then
40825 if test "$GCC" = yes ; then
40826 OPTIMISE_CFLAGS="-O0"
40827 fi
40828 else
40829 if test "$GCC" = yes ; then
40830 case "${host}" in
40831 *-pc-os2_emx | *-pc-os2-emx )
40832 OPTIMISE_CFLAGS="-O2"
40833 ;;
40834 *)
40835 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40836 ;;
40837 esac
40838 else
40839 OPTIMISE_CFLAGS="-O"
40840 fi
40841 fi
40842
40843
40844 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40845 cat >>confdefs.h <<\_ACEOF
40846 #define WXWIN_COMPATIBILITY_2_6 1
40847 _ACEOF
40848
40849
40850 WXWIN_COMPATIBILITY_2_8="yes"
40851 fi
40852
40853 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40854 cat >>confdefs.h <<\_ACEOF
40855 #define WXWIN_COMPATIBILITY_2_8 1
40856 _ACEOF
40857
40858 fi
40859
40860
40861 if test "$wxUSE_GUI" = "yes"; then
40862 cat >>confdefs.h <<\_ACEOF
40863 #define wxUSE_GUI 1
40864 _ACEOF
40865
40866
40867 fi
40868
40869
40870 if test "$wxUSE_UNIX" = "yes"; then
40871 cat >>confdefs.h <<\_ACEOF
40872 #define wxUSE_UNIX 1
40873 _ACEOF
40874
40875 fi
40876
40877
40878 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40879
40880 HAVE_DL_FUNCS=0
40881 HAVE_SHL_FUNCS=0
40882 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40883 if test "$USE_DARWIN" = 1; then
40884 HAVE_DL_FUNCS=1
40885 elif test "$USE_DOS" = 1; then
40886 HAVE_DL_FUNCS=0
40887 else
40888
40889 for ac_func in dlopen
40890 do
40891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40895 echo $ECHO_N "(cached) $ECHO_C" >&6
40896 else
40897 cat >conftest.$ac_ext <<_ACEOF
40898 /* confdefs.h. */
40899 _ACEOF
40900 cat confdefs.h >>conftest.$ac_ext
40901 cat >>conftest.$ac_ext <<_ACEOF
40902 /* end confdefs.h. */
40903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40905 #define $ac_func innocuous_$ac_func
40906
40907 /* System header to define __stub macros and hopefully few prototypes,
40908 which can conflict with char $ac_func (); below.
40909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40910 <limits.h> exists even on freestanding compilers. */
40911
40912 #ifdef __STDC__
40913 # include <limits.h>
40914 #else
40915 # include <assert.h>
40916 #endif
40917
40918 #undef $ac_func
40919
40920 /* Override any GCC internal prototype to avoid an error.
40921 Use char because int might match the return type of a GCC
40922 builtin and then its argument prototype would still apply. */
40923 #ifdef __cplusplus
40924 extern "C"
40925 #endif
40926 char $ac_func ();
40927 /* The GNU C library defines this for functions which it implements
40928 to always fail with ENOSYS. Some functions are actually named
40929 something starting with __ and the normal name is an alias. */
40930 #if defined __stub_$ac_func || defined __stub___$ac_func
40931 choke me
40932 #endif
40933
40934 int
40935 main ()
40936 {
40937 return $ac_func ();
40938 ;
40939 return 0;
40940 }
40941 _ACEOF
40942 rm -f conftest.$ac_objext conftest$ac_exeext
40943 if { (ac_try="$ac_link"
40944 case "(($ac_try" in
40945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40946 *) ac_try_echo=$ac_try;;
40947 esac
40948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40949 (eval "$ac_link") 2>conftest.er1
40950 ac_status=$?
40951 grep -v '^ *+' conftest.er1 >conftest.err
40952 rm -f conftest.er1
40953 cat conftest.err >&5
40954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40955 (exit $ac_status); } && {
40956 test -z "$ac_c_werror_flag" ||
40957 test ! -s conftest.err
40958 } && test -s conftest$ac_exeext &&
40959 $as_test_x conftest$ac_exeext; then
40960 eval "$as_ac_var=yes"
40961 else
40962 echo "$as_me: failed program was:" >&5
40963 sed 's/^/| /' conftest.$ac_ext >&5
40964
40965 eval "$as_ac_var=no"
40966 fi
40967
40968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40969 conftest$ac_exeext conftest.$ac_ext
40970 fi
40971 ac_res=`eval echo '${'$as_ac_var'}'`
40972 { echo "$as_me:$LINENO: result: $ac_res" >&5
40973 echo "${ECHO_T}$ac_res" >&6; }
40974 if test `eval echo '${'$as_ac_var'}'` = yes; then
40975 cat >>confdefs.h <<_ACEOF
40976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40977 _ACEOF
40978
40979 cat >>confdefs.h <<\_ACEOF
40980 #define HAVE_DLOPEN 1
40981 _ACEOF
40982
40983 HAVE_DL_FUNCS=1
40984
40985 else
40986
40987 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40988 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40989 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40990 echo $ECHO_N "(cached) $ECHO_C" >&6
40991 else
40992 ac_check_lib_save_LIBS=$LIBS
40993 LIBS="-ldl $LIBS"
40994 cat >conftest.$ac_ext <<_ACEOF
40995 /* confdefs.h. */
40996 _ACEOF
40997 cat confdefs.h >>conftest.$ac_ext
40998 cat >>conftest.$ac_ext <<_ACEOF
40999 /* end confdefs.h. */
41000
41001 /* Override any GCC internal prototype to avoid an error.
41002 Use char because int might match the return type of a GCC
41003 builtin and then its argument prototype would still apply. */
41004 #ifdef __cplusplus
41005 extern "C"
41006 #endif
41007 char dlopen ();
41008 int
41009 main ()
41010 {
41011 return dlopen ();
41012 ;
41013 return 0;
41014 }
41015 _ACEOF
41016 rm -f conftest.$ac_objext conftest$ac_exeext
41017 if { (ac_try="$ac_link"
41018 case "(($ac_try" in
41019 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41020 *) ac_try_echo=$ac_try;;
41021 esac
41022 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41023 (eval "$ac_link") 2>conftest.er1
41024 ac_status=$?
41025 grep -v '^ *+' conftest.er1 >conftest.err
41026 rm -f conftest.er1
41027 cat conftest.err >&5
41028 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41029 (exit $ac_status); } && {
41030 test -z "$ac_c_werror_flag" ||
41031 test ! -s conftest.err
41032 } && test -s conftest$ac_exeext &&
41033 $as_test_x conftest$ac_exeext; then
41034 ac_cv_lib_dl_dlopen=yes
41035 else
41036 echo "$as_me: failed program was:" >&5
41037 sed 's/^/| /' conftest.$ac_ext >&5
41038
41039 ac_cv_lib_dl_dlopen=no
41040 fi
41041
41042 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41043 conftest$ac_exeext conftest.$ac_ext
41044 LIBS=$ac_check_lib_save_LIBS
41045 fi
41046 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
41047 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
41048 if test $ac_cv_lib_dl_dlopen = yes; then
41049
41050 cat >>confdefs.h <<\_ACEOF
41051 #define HAVE_DLOPEN 1
41052 _ACEOF
41053
41054 HAVE_DL_FUNCS=1
41055 DL_LINK=" -ldl$DL_LINK"
41056
41057 else
41058
41059
41060 for ac_func in shl_load
41061 do
41062 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41063 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41064 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41065 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41066 echo $ECHO_N "(cached) $ECHO_C" >&6
41067 else
41068 cat >conftest.$ac_ext <<_ACEOF
41069 /* confdefs.h. */
41070 _ACEOF
41071 cat confdefs.h >>conftest.$ac_ext
41072 cat >>conftest.$ac_ext <<_ACEOF
41073 /* end confdefs.h. */
41074 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41075 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41076 #define $ac_func innocuous_$ac_func
41077
41078 /* System header to define __stub macros and hopefully few prototypes,
41079 which can conflict with char $ac_func (); below.
41080 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41081 <limits.h> exists even on freestanding compilers. */
41082
41083 #ifdef __STDC__
41084 # include <limits.h>
41085 #else
41086 # include <assert.h>
41087 #endif
41088
41089 #undef $ac_func
41090
41091 /* Override any GCC internal prototype to avoid an error.
41092 Use char because int might match the return type of a GCC
41093 builtin and then its argument prototype would still apply. */
41094 #ifdef __cplusplus
41095 extern "C"
41096 #endif
41097 char $ac_func ();
41098 /* The GNU C library defines this for functions which it implements
41099 to always fail with ENOSYS. Some functions are actually named
41100 something starting with __ and the normal name is an alias. */
41101 #if defined __stub_$ac_func || defined __stub___$ac_func
41102 choke me
41103 #endif
41104
41105 int
41106 main ()
41107 {
41108 return $ac_func ();
41109 ;
41110 return 0;
41111 }
41112 _ACEOF
41113 rm -f conftest.$ac_objext conftest$ac_exeext
41114 if { (ac_try="$ac_link"
41115 case "(($ac_try" in
41116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41117 *) ac_try_echo=$ac_try;;
41118 esac
41119 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41120 (eval "$ac_link") 2>conftest.er1
41121 ac_status=$?
41122 grep -v '^ *+' conftest.er1 >conftest.err
41123 rm -f conftest.er1
41124 cat conftest.err >&5
41125 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41126 (exit $ac_status); } && {
41127 test -z "$ac_c_werror_flag" ||
41128 test ! -s conftest.err
41129 } && test -s conftest$ac_exeext &&
41130 $as_test_x conftest$ac_exeext; then
41131 eval "$as_ac_var=yes"
41132 else
41133 echo "$as_me: failed program was:" >&5
41134 sed 's/^/| /' conftest.$ac_ext >&5
41135
41136 eval "$as_ac_var=no"
41137 fi
41138
41139 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41140 conftest$ac_exeext conftest.$ac_ext
41141 fi
41142 ac_res=`eval echo '${'$as_ac_var'}'`
41143 { echo "$as_me:$LINENO: result: $ac_res" >&5
41144 echo "${ECHO_T}$ac_res" >&6; }
41145 if test `eval echo '${'$as_ac_var'}'` = yes; then
41146 cat >>confdefs.h <<_ACEOF
41147 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41148 _ACEOF
41149
41150 cat >>confdefs.h <<\_ACEOF
41151 #define HAVE_SHL_LOAD 1
41152 _ACEOF
41153
41154 HAVE_SHL_FUNCS=1
41155
41156 else
41157
41158 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
41159 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
41160 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
41161 echo $ECHO_N "(cached) $ECHO_C" >&6
41162 else
41163 ac_check_lib_save_LIBS=$LIBS
41164 LIBS="-lshl_load $LIBS"
41165 cat >conftest.$ac_ext <<_ACEOF
41166 /* confdefs.h. */
41167 _ACEOF
41168 cat confdefs.h >>conftest.$ac_ext
41169 cat >>conftest.$ac_ext <<_ACEOF
41170 /* end confdefs.h. */
41171
41172 /* Override any GCC internal prototype to avoid an error.
41173 Use char because int might match the return type of a GCC
41174 builtin and then its argument prototype would still apply. */
41175 #ifdef __cplusplus
41176 extern "C"
41177 #endif
41178 char dld ();
41179 int
41180 main ()
41181 {
41182 return dld ();
41183 ;
41184 return 0;
41185 }
41186 _ACEOF
41187 rm -f conftest.$ac_objext conftest$ac_exeext
41188 if { (ac_try="$ac_link"
41189 case "(($ac_try" in
41190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41191 *) ac_try_echo=$ac_try;;
41192 esac
41193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41194 (eval "$ac_link") 2>conftest.er1
41195 ac_status=$?
41196 grep -v '^ *+' conftest.er1 >conftest.err
41197 rm -f conftest.er1
41198 cat conftest.err >&5
41199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41200 (exit $ac_status); } && {
41201 test -z "$ac_c_werror_flag" ||
41202 test ! -s conftest.err
41203 } && test -s conftest$ac_exeext &&
41204 $as_test_x conftest$ac_exeext; then
41205 ac_cv_lib_shl_load_dld=yes
41206 else
41207 echo "$as_me: failed program was:" >&5
41208 sed 's/^/| /' conftest.$ac_ext >&5
41209
41210 ac_cv_lib_shl_load_dld=no
41211 fi
41212
41213 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41214 conftest$ac_exeext conftest.$ac_ext
41215 LIBS=$ac_check_lib_save_LIBS
41216 fi
41217 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
41218 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
41219 if test $ac_cv_lib_shl_load_dld = yes; then
41220
41221 HAVE_SHL_FUNCS=1
41222 DL_LINK=" -ldld$DL_LINK"
41223
41224 fi
41225
41226
41227 fi
41228 done
41229
41230
41231 fi
41232
41233
41234 fi
41235 done
41236
41237
41238 if test "$HAVE_DL_FUNCS" = 1; then
41239
41240 for ac_func in dlerror
41241 do
41242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41245 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41246 echo $ECHO_N "(cached) $ECHO_C" >&6
41247 else
41248 cat >conftest.$ac_ext <<_ACEOF
41249 /* confdefs.h. */
41250 _ACEOF
41251 cat confdefs.h >>conftest.$ac_ext
41252 cat >>conftest.$ac_ext <<_ACEOF
41253 /* end confdefs.h. */
41254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41256 #define $ac_func innocuous_$ac_func
41257
41258 /* System header to define __stub macros and hopefully few prototypes,
41259 which can conflict with char $ac_func (); below.
41260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41261 <limits.h> exists even on freestanding compilers. */
41262
41263 #ifdef __STDC__
41264 # include <limits.h>
41265 #else
41266 # include <assert.h>
41267 #endif
41268
41269 #undef $ac_func
41270
41271 /* Override any GCC internal prototype to avoid an error.
41272 Use char because int might match the return type of a GCC
41273 builtin and then its argument prototype would still apply. */
41274 #ifdef __cplusplus
41275 extern "C"
41276 #endif
41277 char $ac_func ();
41278 /* The GNU C library defines this for functions which it implements
41279 to always fail with ENOSYS. Some functions are actually named
41280 something starting with __ and the normal name is an alias. */
41281 #if defined __stub_$ac_func || defined __stub___$ac_func
41282 choke me
41283 #endif
41284
41285 int
41286 main ()
41287 {
41288 return $ac_func ();
41289 ;
41290 return 0;
41291 }
41292 _ACEOF
41293 rm -f conftest.$ac_objext conftest$ac_exeext
41294 if { (ac_try="$ac_link"
41295 case "(($ac_try" in
41296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41297 *) ac_try_echo=$ac_try;;
41298 esac
41299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41300 (eval "$ac_link") 2>conftest.er1
41301 ac_status=$?
41302 grep -v '^ *+' conftest.er1 >conftest.err
41303 rm -f conftest.er1
41304 cat conftest.err >&5
41305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41306 (exit $ac_status); } && {
41307 test -z "$ac_c_werror_flag" ||
41308 test ! -s conftest.err
41309 } && test -s conftest$ac_exeext &&
41310 $as_test_x conftest$ac_exeext; then
41311 eval "$as_ac_var=yes"
41312 else
41313 echo "$as_me: failed program was:" >&5
41314 sed 's/^/| /' conftest.$ac_ext >&5
41315
41316 eval "$as_ac_var=no"
41317 fi
41318
41319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41320 conftest$ac_exeext conftest.$ac_ext
41321 fi
41322 ac_res=`eval echo '${'$as_ac_var'}'`
41323 { echo "$as_me:$LINENO: result: $ac_res" >&5
41324 echo "${ECHO_T}$ac_res" >&6; }
41325 if test `eval echo '${'$as_ac_var'}'` = yes; then
41326 cat >>confdefs.h <<_ACEOF
41327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41328 _ACEOF
41329 cat >>confdefs.h <<\_ACEOF
41330 #define HAVE_DLERROR 1
41331 _ACEOF
41332
41333 else
41334
41335 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
41336 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
41337 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
41338 echo $ECHO_N "(cached) $ECHO_C" >&6
41339 else
41340 ac_check_lib_save_LIBS=$LIBS
41341 LIBS="-ldl $LIBS"
41342 cat >conftest.$ac_ext <<_ACEOF
41343 /* confdefs.h. */
41344 _ACEOF
41345 cat confdefs.h >>conftest.$ac_ext
41346 cat >>conftest.$ac_ext <<_ACEOF
41347 /* end confdefs.h. */
41348
41349 /* Override any GCC internal prototype to avoid an error.
41350 Use char because int might match the return type of a GCC
41351 builtin and then its argument prototype would still apply. */
41352 #ifdef __cplusplus
41353 extern "C"
41354 #endif
41355 char dlerror ();
41356 int
41357 main ()
41358 {
41359 return dlerror ();
41360 ;
41361 return 0;
41362 }
41363 _ACEOF
41364 rm -f conftest.$ac_objext conftest$ac_exeext
41365 if { (ac_try="$ac_link"
41366 case "(($ac_try" in
41367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41368 *) ac_try_echo=$ac_try;;
41369 esac
41370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41371 (eval "$ac_link") 2>conftest.er1
41372 ac_status=$?
41373 grep -v '^ *+' conftest.er1 >conftest.err
41374 rm -f conftest.er1
41375 cat conftest.err >&5
41376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41377 (exit $ac_status); } && {
41378 test -z "$ac_c_werror_flag" ||
41379 test ! -s conftest.err
41380 } && test -s conftest$ac_exeext &&
41381 $as_test_x conftest$ac_exeext; then
41382 ac_cv_lib_dl_dlerror=yes
41383 else
41384 echo "$as_me: failed program was:" >&5
41385 sed 's/^/| /' conftest.$ac_ext >&5
41386
41387 ac_cv_lib_dl_dlerror=no
41388 fi
41389
41390 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41391 conftest$ac_exeext conftest.$ac_ext
41392 LIBS=$ac_check_lib_save_LIBS
41393 fi
41394 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
41395 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
41396 if test $ac_cv_lib_dl_dlerror = yes; then
41397 cat >>confdefs.h <<\_ACEOF
41398 #define HAVE_DLERROR 1
41399 _ACEOF
41400
41401 fi
41402
41403
41404
41405 fi
41406 done
41407
41408 fi
41409 fi
41410
41411 if test "$HAVE_DL_FUNCS" = 0; then
41412 if test "$HAVE_SHL_FUNCS" = 0; then
41413 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41414 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41415 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41416 wxUSE_DYNAMIC_LOADER=no
41417 wxUSE_DYNLIB_CLASS=no
41418 else
41419 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41420 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41421 fi
41422 fi
41423 fi
41424 fi
41425 fi
41426
41427 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41428 cat >>confdefs.h <<\_ACEOF
41429 #define wxUSE_DYNAMIC_LOADER 1
41430 _ACEOF
41431
41432 fi
41433 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41434 cat >>confdefs.h <<\_ACEOF
41435 #define wxUSE_DYNLIB_CLASS 1
41436 _ACEOF
41437
41438 fi
41439
41440
41441
41442 if test "$wxUSE_PLUGINS" = "yes" ; then
41443 if test "$wxUSE_SHARED" = "no" ; then
41444 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41445 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41446 wxUSE_PLUGINS=no
41447 fi
41448 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41449 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41450 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41451 wxUSE_PLUGINS=no
41452 fi
41453 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41454 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41455 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41456 wxUSE_PLUGINS=no
41457 fi
41458 if test "$wxUSE_PLUGINS" = "yes" ; then
41459 cat >>confdefs.h <<\_ACEOF
41460 #define wxUSE_PLUGINS 1
41461 _ACEOF
41462
41463 fi
41464 fi
41465
41466
41467 if test "$wxUSE_STL" = "yes"; then
41468 cat >>confdefs.h <<\_ACEOF
41469 #define wxUSE_STL 1
41470 _ACEOF
41471
41472 fi
41473
41474 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41475 cat >>confdefs.h <<\_ACEOF
41476 #define wxUSE_EXTENDED_RTTI 1
41477 _ACEOF
41478
41479 fi
41480
41481 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41482 cat >>confdefs.h <<\_ACEOF
41483 #define wxUSE_APPLE_IEEE 1
41484 _ACEOF
41485
41486 fi
41487
41488 if test "$wxUSE_TIMER" = "yes"; then
41489 cat >>confdefs.h <<\_ACEOF
41490 #define wxUSE_TIMER 1
41491 _ACEOF
41492
41493 fi
41494
41495 if test "$USE_UNIX" = 1 ; then
41496 if test "$wxUSE_MGL" != 1; then
41497 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41498 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41499 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41500 echo $ECHO_N "(cached) $ECHO_C" >&6
41501 else
41502
41503 cat >conftest.$ac_ext <<_ACEOF
41504 /* confdefs.h. */
41505 _ACEOF
41506 cat confdefs.h >>conftest.$ac_ext
41507 cat >>conftest.$ac_ext <<_ACEOF
41508 /* end confdefs.h. */
41509
41510 #include <sys/ioctl.h>
41511 #include <sys/soundcard.h>
41512
41513 int
41514 main ()
41515 {
41516
41517 ioctl(0, SNDCTL_DSP_SPEED, 0);
41518
41519 ;
41520 return 0;
41521 }
41522 _ACEOF
41523 rm -f conftest.$ac_objext conftest$ac_exeext
41524 if { (ac_try="$ac_link"
41525 case "(($ac_try" in
41526 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41527 *) ac_try_echo=$ac_try;;
41528 esac
41529 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41530 (eval "$ac_link") 2>conftest.er1
41531 ac_status=$?
41532 grep -v '^ *+' conftest.er1 >conftest.err
41533 rm -f conftest.er1
41534 cat conftest.err >&5
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); } && {
41537 test -z "$ac_c_werror_flag" ||
41538 test ! -s conftest.err
41539 } && test -s conftest$ac_exeext &&
41540 $as_test_x conftest$ac_exeext; then
41541 ac_cv_header_sys_soundcard=yes
41542 else
41543 echo "$as_me: failed program was:" >&5
41544 sed 's/^/| /' conftest.$ac_ext >&5
41545
41546
41547 saveLibs="$LIBS"
41548 LIBS="$saveLibs -lossaudio"
41549 cat >conftest.$ac_ext <<_ACEOF
41550 /* confdefs.h. */
41551 _ACEOF
41552 cat confdefs.h >>conftest.$ac_ext
41553 cat >>conftest.$ac_ext <<_ACEOF
41554 /* end confdefs.h. */
41555
41556 #include <sys/ioctl.h>
41557 #include <sys/soundcard.h>
41558
41559 int
41560 main ()
41561 {
41562
41563 ioctl(0, SNDCTL_DSP_SPEED, 0);
41564
41565 ;
41566 return 0;
41567 }
41568 _ACEOF
41569 rm -f conftest.$ac_objext conftest$ac_exeext
41570 if { (ac_try="$ac_link"
41571 case "(($ac_try" in
41572 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41573 *) ac_try_echo=$ac_try;;
41574 esac
41575 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41576 (eval "$ac_link") 2>conftest.er1
41577 ac_status=$?
41578 grep -v '^ *+' conftest.er1 >conftest.err
41579 rm -f conftest.er1
41580 cat conftest.err >&5
41581 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41582 (exit $ac_status); } && {
41583 test -z "$ac_c_werror_flag" ||
41584 test ! -s conftest.err
41585 } && test -s conftest$ac_exeext &&
41586 $as_test_x conftest$ac_exeext; then
41587 ac_cv_header_sys_soundcard=yes
41588 else
41589 echo "$as_me: failed program was:" >&5
41590 sed 's/^/| /' conftest.$ac_ext >&5
41591
41592
41593 LIBS="$saveLibs"
41594 ac_cv_header_sys_soundcard=no
41595
41596
41597 fi
41598
41599 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41600 conftest$ac_exeext conftest.$ac_ext
41601
41602
41603 fi
41604
41605 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41606 conftest$ac_exeext conftest.$ac_ext
41607
41608 fi
41609 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41610 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41611 fi
41612
41613 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41614 cat >>confdefs.h <<\_ACEOF
41615 #define HAVE_SYS_SOUNDCARD_H 1
41616 _ACEOF
41617
41618 fi
41619 fi
41620
41621 WITH_PLUGIN_SDL=0
41622 if test "$wxUSE_SOUND" = "yes"; then
41623 if test "$USE_UNIX" = 1 ; then
41624 if test "$wxUSE_LIBSDL" != "no"; then
41625
41626 # Check whether --with-sdl-prefix was given.
41627 if test "${with_sdl_prefix+set}" = set; then
41628 withval=$with_sdl_prefix; sdl_prefix="$withval"
41629 else
41630 sdl_prefix=""
41631 fi
41632
41633
41634 # Check whether --with-sdl-exec-prefix was given.
41635 if test "${with_sdl_exec_prefix+set}" = set; then
41636 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41637 else
41638 sdl_exec_prefix=""
41639 fi
41640
41641 # Check whether --enable-sdltest was given.
41642 if test "${enable_sdltest+set}" = set; then
41643 enableval=$enable_sdltest;
41644 else
41645 enable_sdltest=yes
41646 fi
41647
41648
41649 if test x$sdl_exec_prefix != x ; then
41650 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41651 if test x${SDL_CONFIG+set} != xset ; then
41652 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41653 fi
41654 fi
41655 if test x$sdl_prefix != x ; then
41656 sdl_args="$sdl_args --prefix=$sdl_prefix"
41657 if test x${SDL_CONFIG+set} != xset ; then
41658 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41659 fi
41660 fi
41661
41662 if test "x$prefix" != xNONE; then
41663 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41664 fi
41665 # Extract the first word of "sdl-config", so it can be a program name with args.
41666 set dummy sdl-config; ac_word=$2
41667 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41668 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41669 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41670 echo $ECHO_N "(cached) $ECHO_C" >&6
41671 else
41672 case $SDL_CONFIG in
41673 [\\/]* | ?:[\\/]*)
41674 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41675 ;;
41676 *)
41677 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41678 for as_dir in $PATH
41679 do
41680 IFS=$as_save_IFS
41681 test -z "$as_dir" && as_dir=.
41682 for ac_exec_ext in '' $ac_executable_extensions; do
41683 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41684 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41685 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41686 break 2
41687 fi
41688 done
41689 done
41690 IFS=$as_save_IFS
41691
41692 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41693 ;;
41694 esac
41695 fi
41696 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41697 if test -n "$SDL_CONFIG"; then
41698 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41699 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41700 else
41701 { echo "$as_me:$LINENO: result: no" >&5
41702 echo "${ECHO_T}no" >&6; }
41703 fi
41704
41705
41706 min_sdl_version=1.2.0
41707 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41708 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41709 no_sdl=""
41710 if test "$SDL_CONFIG" = "no" ; then
41711 no_sdl=yes
41712 else
41713 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41714 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41715
41716 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41717 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41718 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41719 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41720 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41721 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41722 if test "x$enable_sdltest" = "xyes" ; then
41723 ac_save_CFLAGS="$CFLAGS"
41724 ac_save_CXXFLAGS="$CXXFLAGS"
41725 ac_save_LIBS="$LIBS"
41726 CFLAGS="$CFLAGS $SDL_CFLAGS"
41727 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41728 LIBS="$LIBS $SDL_LIBS"
41729 rm -f conf.sdltest
41730 if test "$cross_compiling" = yes; then
41731 echo $ac_n "cross compiling; assumed OK... $ac_c"
41732 else
41733 cat >conftest.$ac_ext <<_ACEOF
41734 /* confdefs.h. */
41735 _ACEOF
41736 cat confdefs.h >>conftest.$ac_ext
41737 cat >>conftest.$ac_ext <<_ACEOF
41738 /* end confdefs.h. */
41739
41740 #include <stdio.h>
41741 #include <stdlib.h>
41742 #include <string.h>
41743 #include "SDL.h"
41744
41745 char*
41746 my_strdup (char *str)
41747 {
41748 char *new_str;
41749
41750 if (str)
41751 {
41752 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41753 strcpy (new_str, str);
41754 }
41755 else
41756 new_str = NULL;
41757
41758 return new_str;
41759 }
41760
41761 int main (int argc, char *argv[])
41762 {
41763 int major, minor, micro;
41764 char *tmp_version;
41765
41766 /* This hangs on some systems (?)
41767 system ("touch conf.sdltest");
41768 */
41769 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41770
41771 /* HP/UX 9 (%@#!) writes to sscanf strings */
41772 tmp_version = my_strdup("$min_sdl_version");
41773 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41774 printf("%s, bad version string\n", "$min_sdl_version");
41775 exit(1);
41776 }
41777
41778 if (($sdl_major_version > major) ||
41779 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41780 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41781 {
41782 return 0;
41783 }
41784 else
41785 {
41786 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41787 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41788 printf("*** best to upgrade to the required version.\n");
41789 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41790 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41791 printf("*** config.cache before re-running configure\n");
41792 return 1;
41793 }
41794 }
41795
41796
41797 _ACEOF
41798 rm -f conftest$ac_exeext
41799 if { (ac_try="$ac_link"
41800 case "(($ac_try" in
41801 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41802 *) ac_try_echo=$ac_try;;
41803 esac
41804 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41805 (eval "$ac_link") 2>&5
41806 ac_status=$?
41807 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41808 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41809 { (case "(($ac_try" in
41810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41811 *) ac_try_echo=$ac_try;;
41812 esac
41813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41814 (eval "$ac_try") 2>&5
41815 ac_status=$?
41816 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41817 (exit $ac_status); }; }; then
41818 :
41819 else
41820 echo "$as_me: program exited with status $ac_status" >&5
41821 echo "$as_me: failed program was:" >&5
41822 sed 's/^/| /' conftest.$ac_ext >&5
41823
41824 ( exit $ac_status )
41825 no_sdl=yes
41826 fi
41827 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41828 fi
41829
41830
41831 CFLAGS="$ac_save_CFLAGS"
41832 CXXFLAGS="$ac_save_CXXFLAGS"
41833 LIBS="$ac_save_LIBS"
41834 fi
41835 fi
41836 if test "x$no_sdl" = x ; then
41837 { echo "$as_me:$LINENO: result: yes" >&5
41838 echo "${ECHO_T}yes" >&6; }
41839
41840 EXTRALIBS_SDL="$SDL_LIBS"
41841 CFLAGS="$SDL_CFLAGS $CFLAGS"
41842 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41843 cat >>confdefs.h <<\_ACEOF
41844 #define wxUSE_LIBSDL 1
41845 _ACEOF
41846
41847
41848 else
41849 { echo "$as_me:$LINENO: result: no" >&5
41850 echo "${ECHO_T}no" >&6; }
41851 if test "$SDL_CONFIG" = "no" ; then
41852 echo "*** The sdl-config script installed by SDL could not be found"
41853 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41854 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41855 echo "*** full path to sdl-config."
41856 else
41857 if test -f conf.sdltest ; then
41858 :
41859 else
41860 echo "*** Could not run SDL test program, checking why..."
41861 CFLAGS="$CFLAGS $SDL_CFLAGS"
41862 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41863 LIBS="$LIBS $SDL_LIBS"
41864 cat >conftest.$ac_ext <<_ACEOF
41865 /* confdefs.h. */
41866 _ACEOF
41867 cat confdefs.h >>conftest.$ac_ext
41868 cat >>conftest.$ac_ext <<_ACEOF
41869 /* end confdefs.h. */
41870
41871 #include <stdio.h>
41872 #include "SDL.h"
41873
41874 int main(int argc, char *argv[])
41875 { return 0; }
41876 #undef main
41877 #define main K_and_R_C_main
41878
41879 int
41880 main ()
41881 {
41882 return 0;
41883 ;
41884 return 0;
41885 }
41886 _ACEOF
41887 rm -f conftest.$ac_objext conftest$ac_exeext
41888 if { (ac_try="$ac_link"
41889 case "(($ac_try" in
41890 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41891 *) ac_try_echo=$ac_try;;
41892 esac
41893 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41894 (eval "$ac_link") 2>conftest.er1
41895 ac_status=$?
41896 grep -v '^ *+' conftest.er1 >conftest.err
41897 rm -f conftest.er1
41898 cat conftest.err >&5
41899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41900 (exit $ac_status); } && {
41901 test -z "$ac_c_werror_flag" ||
41902 test ! -s conftest.err
41903 } && test -s conftest$ac_exeext &&
41904 $as_test_x conftest$ac_exeext; then
41905 echo "*** The test program compiled, but did not run. This usually means"
41906 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41907 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41908 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41909 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41910 echo "*** is required on your system"
41911 echo "***"
41912 echo "*** If you have an old version installed, it is best to remove it, although"
41913 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41914 else
41915 echo "$as_me: failed program was:" >&5
41916 sed 's/^/| /' conftest.$ac_ext >&5
41917
41918 echo "*** The test program failed to compile or link. See the file config.log for the"
41919 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41920 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41921 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41922 fi
41923
41924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41925 conftest$ac_exeext conftest.$ac_ext
41926 CFLAGS="$ac_save_CFLAGS"
41927 CXXFLAGS="$ac_save_CXXFLAGS"
41928 LIBS="$ac_save_LIBS"
41929 fi
41930 fi
41931 SDL_CFLAGS=""
41932 SDL_LIBS=""
41933 wxUSE_LIBSDL="no"
41934 fi
41935
41936
41937 rm -f conf.sdltest
41938
41939 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41940 WITH_PLUGIN_SDL=1
41941 fi
41942 fi
41943 else
41944 if test "$wxUSE_MGL" = 1; then
41945 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41946 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41947 wxUSE_SOUND="no"
41948 fi
41949 fi
41950 fi
41951
41952 if test "$wxUSE_SOUND" = "yes"; then
41953 cat >>confdefs.h <<\_ACEOF
41954 #define wxUSE_SOUND 1
41955 _ACEOF
41956
41957 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41958 fi
41959
41960 if test "$WXGTK2" = 1; then
41961
41962
41963 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41964 if test -n "$ac_tool_prefix"; then
41965 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41966 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41969 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41970 echo $ECHO_N "(cached) $ECHO_C" >&6
41971 else
41972 case $PKG_CONFIG in
41973 [\\/]* | ?:[\\/]*)
41974 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41975 ;;
41976 *)
41977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41978 for as_dir in $PATH
41979 do
41980 IFS=$as_save_IFS
41981 test -z "$as_dir" && as_dir=.
41982 for ac_exec_ext in '' $ac_executable_extensions; do
41983 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41984 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41985 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41986 break 2
41987 fi
41988 done
41989 done
41990 IFS=$as_save_IFS
41991
41992 ;;
41993 esac
41994 fi
41995 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41996 if test -n "$PKG_CONFIG"; then
41997 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41998 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41999 else
42000 { echo "$as_me:$LINENO: result: no" >&5
42001 echo "${ECHO_T}no" >&6; }
42002 fi
42003
42004
42005 fi
42006 if test -z "$ac_cv_path_PKG_CONFIG"; then
42007 ac_pt_PKG_CONFIG=$PKG_CONFIG
42008 # Extract the first word of "pkg-config", so it can be a program name with args.
42009 set dummy pkg-config; ac_word=$2
42010 { echo "$as_me:$LINENO: checking for $ac_word" >&5
42011 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
42012 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
42013 echo $ECHO_N "(cached) $ECHO_C" >&6
42014 else
42015 case $ac_pt_PKG_CONFIG in
42016 [\\/]* | ?:[\\/]*)
42017 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
42018 ;;
42019 *)
42020 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
42021 for as_dir in $PATH
42022 do
42023 IFS=$as_save_IFS
42024 test -z "$as_dir" && as_dir=.
42025 for ac_exec_ext in '' $ac_executable_extensions; do
42026 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
42027 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
42028 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
42029 break 2
42030 fi
42031 done
42032 done
42033 IFS=$as_save_IFS
42034
42035 ;;
42036 esac
42037 fi
42038 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
42039 if test -n "$ac_pt_PKG_CONFIG"; then
42040 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
42041 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
42042 else
42043 { echo "$as_me:$LINENO: result: no" >&5
42044 echo "${ECHO_T}no" >&6; }
42045 fi
42046
42047 if test "x$ac_pt_PKG_CONFIG" = x; then
42048 PKG_CONFIG=""
42049 else
42050 case $cross_compiling:$ac_tool_warned in
42051 yes:)
42052 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
42053 whose name does not start with the host triplet. If you think this
42054 configuration is useful to you, please write to autoconf@gnu.org." >&5
42055 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
42056 whose name does not start with the host triplet. If you think this
42057 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
42058 ac_tool_warned=yes ;;
42059 esac
42060 PKG_CONFIG=$ac_pt_PKG_CONFIG
42061 fi
42062 else
42063 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
42064 fi
42065
42066 fi
42067 if test -n "$PKG_CONFIG"; then
42068 _pkg_min_version=0.9.0
42069 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
42070 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
42071 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
42072 { echo "$as_me:$LINENO: result: yes" >&5
42073 echo "${ECHO_T}yes" >&6; }
42074 else
42075 { echo "$as_me:$LINENO: result: no" >&5
42076 echo "${ECHO_T}no" >&6; }
42077 PKG_CONFIG=""
42078 fi
42079
42080 fi
42081
42082 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
42083
42084 if test "$wxUSE_GTKPRINT" = "yes" ; then
42085
42086
42087 pkg_failed=no
42088 { echo "$as_me:$LINENO: checking for GTKPRINT" >&5
42089 echo $ECHO_N "checking for GTKPRINT... $ECHO_C" >&6; }
42090
42091 if test -n "$PKG_CONFIG"; then
42092 if test -n "$GTKPRINT_CFLAGS"; then
42093 pkg_cv_GTKPRINT_CFLAGS="$GTKPRINT_CFLAGS"
42094 else
42095 if test -n "$PKG_CONFIG" && \
42096 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42097 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42098 ac_status=$?
42099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42100 (exit $ac_status); }; then
42101 pkg_cv_GTKPRINT_CFLAGS=`$PKG_CONFIG --cflags "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42102 else
42103 pkg_failed=yes
42104 fi
42105 fi
42106 else
42107 pkg_failed=untried
42108 fi
42109 if test -n "$PKG_CONFIG"; then
42110 if test -n "$GTKPRINT_LIBS"; then
42111 pkg_cv_GTKPRINT_LIBS="$GTKPRINT_LIBS"
42112 else
42113 if test -n "$PKG_CONFIG" && \
42114 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gtk+-unix-print-2.0 >= 2.10\"") >&5
42115 ($PKG_CONFIG --exists --print-errors "gtk+-unix-print-2.0 >= 2.10") 2>&5
42116 ac_status=$?
42117 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42118 (exit $ac_status); }; then
42119 pkg_cv_GTKPRINT_LIBS=`$PKG_CONFIG --libs "gtk+-unix-print-2.0 >= 2.10" 2>/dev/null`
42120 else
42121 pkg_failed=yes
42122 fi
42123 fi
42124 else
42125 pkg_failed=untried
42126 fi
42127
42128
42129
42130 if test $pkg_failed = yes; then
42131
42132 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42133 _pkg_short_errors_supported=yes
42134 else
42135 _pkg_short_errors_supported=no
42136 fi
42137 if test $_pkg_short_errors_supported = yes; then
42138 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42139 else
42140 GTKPRINT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gtk+-unix-print-2.0 >= 2.10"`
42141 fi
42142 # Put the nasty error message in config.log where it belongs
42143 echo "$GTKPRINT_PKG_ERRORS" >&5
42144
42145
42146 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42147 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42148 wxUSE_GTKPRINT="no"
42149
42150
42151 elif test $pkg_failed = untried; then
42152
42153 { echo "$as_me:$LINENO: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&5
42154 echo "$as_me: WARNING: GTK printing support not found (GTK+ >= 2.10), library will use GNOME printing support or standard PostScript printing" >&2;}
42155 wxUSE_GTKPRINT="no"
42156
42157
42158 else
42159 GTKPRINT_CFLAGS=$pkg_cv_GTKPRINT_CFLAGS
42160 GTKPRINT_LIBS=$pkg_cv_GTKPRINT_LIBS
42161 { echo "$as_me:$LINENO: result: yes" >&5
42162 echo "${ECHO_T}yes" >&6; }
42163
42164 CFLAGS="$GTKPRINT_CFLAGS $CFLAGS"
42165 CXXFLAGS="$GTKPRINT_CFLAGS $CXXFLAGS"
42166 cat >>confdefs.h <<\_ACEOF
42167 #define wxUSE_GTKPRINT 1
42168 _ACEOF
42169
42170
42171 fi
42172 fi
42173
42174 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
42175
42176
42177 pkg_failed=no
42178 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
42179 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
42180
42181 if test -n "$PKG_CONFIG"; then
42182 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
42183 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
42184 else
42185 if test -n "$PKG_CONFIG" && \
42186 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42187 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42188 ac_status=$?
42189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42190 (exit $ac_status); }; then
42191 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42192 else
42193 pkg_failed=yes
42194 fi
42195 fi
42196 else
42197 pkg_failed=untried
42198 fi
42199 if test -n "$PKG_CONFIG"; then
42200 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
42201 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
42202 else
42203 if test -n "$PKG_CONFIG" && \
42204 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
42205 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
42206 ac_status=$?
42207 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42208 (exit $ac_status); }; then
42209 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
42210 else
42211 pkg_failed=yes
42212 fi
42213 fi
42214 else
42215 pkg_failed=untried
42216 fi
42217
42218
42219
42220 if test $pkg_failed = yes; then
42221
42222 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42223 _pkg_short_errors_supported=yes
42224 else
42225 _pkg_short_errors_supported=no
42226 fi
42227 if test $_pkg_short_errors_supported = yes; then
42228 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42229 else
42230 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
42231 fi
42232 # Put the nasty error message in config.log where it belongs
42233 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
42234
42235
42236 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42237 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42238 wxUSE_LIBGNOMEPRINT="no"
42239
42240
42241 elif test $pkg_failed = untried; then
42242
42243 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
42244 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
42245 wxUSE_LIBGNOMEPRINT="no"
42246
42247
42248 else
42249 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
42250 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
42251 { echo "$as_me:$LINENO: result: yes" >&5
42252 echo "${ECHO_T}yes" >&6; }
42253
42254 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
42255 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
42256 cat >>confdefs.h <<\_ACEOF
42257 #define wxUSE_LIBGNOMEPRINT 1
42258 _ACEOF
42259
42260
42261 fi
42262 fi
42263 fi
42264
42265 if test "$wxUSE_MIMETYPE" = "yes" ; then
42266 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
42267
42268
42269 pkg_failed=no
42270 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
42271 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
42272
42273 if test -n "$PKG_CONFIG"; then
42274 if test -n "$GNOMEVFS_CFLAGS"; then
42275 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
42276 else
42277 if test -n "$PKG_CONFIG" && \
42278 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42279 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42280 ac_status=$?
42281 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42282 (exit $ac_status); }; then
42283 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42284 else
42285 pkg_failed=yes
42286 fi
42287 fi
42288 else
42289 pkg_failed=untried
42290 fi
42291 if test -n "$PKG_CONFIG"; then
42292 if test -n "$GNOMEVFS_LIBS"; then
42293 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
42294 else
42295 if test -n "$PKG_CONFIG" && \
42296 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
42297 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
42298 ac_status=$?
42299 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42300 (exit $ac_status); }; then
42301 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
42302 else
42303 pkg_failed=yes
42304 fi
42305 fi
42306 else
42307 pkg_failed=untried
42308 fi
42309
42310
42311
42312 if test $pkg_failed = yes; then
42313
42314 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42315 _pkg_short_errors_supported=yes
42316 else
42317 _pkg_short_errors_supported=no
42318 fi
42319 if test $_pkg_short_errors_supported = yes; then
42320 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42321 else
42322 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
42323 fi
42324 # Put the nasty error message in config.log where it belongs
42325 echo "$GNOMEVFS_PKG_ERRORS" >&5
42326
42327
42328 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42329 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42330 wxUSE_LIBGNOMEVFS="no"
42331
42332
42333 elif test $pkg_failed = untried; then
42334
42335 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
42336 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
42337 wxUSE_LIBGNOMEVFS="no"
42338
42339
42340 else
42341 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
42342 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
42343 { echo "$as_me:$LINENO: result: yes" >&5
42344 echo "${ECHO_T}yes" >&6; }
42345
42346 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
42347 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
42348 cat >>confdefs.h <<\_ACEOF
42349 #define wxUSE_LIBGNOMEVFS 1
42350 _ACEOF
42351
42352
42353 fi
42354 fi
42355 fi
42356
42357 if test "$wxUSE_LIBHILDON" = "yes" ; then
42358
42359 pkg_failed=no
42360 { echo "$as_me:$LINENO: checking for HILDON" >&5
42361 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
42362
42363 if test -n "$PKG_CONFIG"; then
42364 if test -n "$HILDON_CFLAGS"; then
42365 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
42366 else
42367 if test -n "$PKG_CONFIG" && \
42368 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42369 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42370 ac_status=$?
42371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42372 (exit $ac_status); }; then
42373 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
42374 else
42375 pkg_failed=yes
42376 fi
42377 fi
42378 else
42379 pkg_failed=untried
42380 fi
42381 if test -n "$PKG_CONFIG"; then
42382 if test -n "$HILDON_LIBS"; then
42383 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
42384 else
42385 if test -n "$PKG_CONFIG" && \
42386 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
42387 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
42388 ac_status=$?
42389 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42390 (exit $ac_status); }; then
42391 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
42392 else
42393 pkg_failed=yes
42394 fi
42395 fi
42396 else
42397 pkg_failed=untried
42398 fi
42399
42400
42401
42402 if test $pkg_failed = yes; then
42403
42404 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
42405 _pkg_short_errors_supported=yes
42406 else
42407 _pkg_short_errors_supported=no
42408 fi
42409 if test $_pkg_short_errors_supported = yes; then
42410 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42411 else
42412 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
42413 fi
42414 # Put the nasty error message in config.log where it belongs
42415 echo "$HILDON_PKG_ERRORS" >&5
42416
42417
42418 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42419 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42420 wxUSE_LIBHILDON="no"
42421
42422
42423 elif test $pkg_failed = untried; then
42424
42425 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
42426 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
42427 wxUSE_LIBHILDON="no"
42428
42429
42430 else
42431 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
42432 HILDON_LIBS=$pkg_cv_HILDON_LIBS
42433 { echo "$as_me:$LINENO: result: yes" >&5
42434 echo "${ECHO_T}yes" >&6; }
42435
42436 EXTRALIBS_HILDON="$HILDON_LIBS"
42437 CFLAGS="$CFLAGS $HILDON_CFLAGS"
42438 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
42439 cat >>confdefs.h <<\_ACEOF
42440 #define wxUSE_LIBHILDON 1
42441 _ACEOF
42442
42443
42444 fi
42445 fi
42446 fi
42447
42448 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
42449 cat >>confdefs.h <<\_ACEOF
42450 #define wxUSE_CMDLINE_PARSER 1
42451 _ACEOF
42452
42453 fi
42454
42455 if test "$wxUSE_STOPWATCH" = "yes"; then
42456 cat >>confdefs.h <<\_ACEOF
42457 #define wxUSE_STOPWATCH 1
42458 _ACEOF
42459
42460 fi
42461
42462 if test "$wxUSE_DATETIME" = "yes"; then
42463 cat >>confdefs.h <<\_ACEOF
42464 #define wxUSE_DATETIME 1
42465 _ACEOF
42466
42467 fi
42468
42469 if test "$wxUSE_FILE" = "yes"; then
42470 cat >>confdefs.h <<\_ACEOF
42471 #define wxUSE_FILE 1
42472 _ACEOF
42473
42474 fi
42475
42476 if test "$wxUSE_FFILE" = "yes"; then
42477 cat >>confdefs.h <<\_ACEOF
42478 #define wxUSE_FFILE 1
42479 _ACEOF
42480
42481 fi
42482
42483 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
42484 if test "$wxUSE_STREAMS" != yes; then
42485 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
42486 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
42487 wxUSE_ARCHIVE_STREAMS=no
42488 else
42489 cat >>confdefs.h <<\_ACEOF
42490 #define wxUSE_ARCHIVE_STREAMS 1
42491 _ACEOF
42492
42493 fi
42494 fi
42495
42496 if test "$wxUSE_ZIPSTREAM" = "yes"; then
42497 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42498 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
42499 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
42500 elif test "$wxUSE_ZLIB" = "no"; then
42501 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
42502 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42503 else
42504 cat >>confdefs.h <<\_ACEOF
42505 #define wxUSE_ZIPSTREAM 1
42506 _ACEOF
42507
42508 fi
42509 fi
42510
42511 if test "$wxUSE_TARSTREAM" = "yes"; then
42512 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42513 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42514 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42515 else
42516 cat >>confdefs.h <<\_ACEOF
42517 #define wxUSE_TARSTREAM 1
42518 _ACEOF
42519
42520 fi
42521 fi
42522
42523 if test "$wxUSE_FILESYSTEM" = "yes"; then
42524 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42525 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42526 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42527 wxUSE_FILESYSTEM=no
42528 else
42529 cat >>confdefs.h <<\_ACEOF
42530 #define wxUSE_FILESYSTEM 1
42531 _ACEOF
42532
42533 fi
42534 fi
42535
42536 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42537 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42538 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42539 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42540 else
42541 cat >>confdefs.h <<\_ACEOF
42542 #define wxUSE_FS_ARCHIVE 1
42543 _ACEOF
42544
42545 fi
42546 fi
42547
42548 if test "$wxUSE_FS_ZIP" = "yes"; then
42549 if test "$wxUSE_FS_ARCHIVE" != yes; then
42550 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42551 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42552 else
42553 cat >>confdefs.h <<\_ACEOF
42554 #define wxUSE_FS_ZIP 1
42555 _ACEOF
42556
42557 fi
42558 fi
42559
42560 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42561 if test "$USE_UNIX" != 1; then
42562 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42563 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42564 wxUSE_ON_FATAL_EXCEPTION=no
42565 else
42566 cat >>confdefs.h <<\_ACEOF
42567 #define wxUSE_ON_FATAL_EXCEPTION 1
42568 _ACEOF
42569
42570 fi
42571 fi
42572
42573 if test "$wxUSE_STACKWALKER" = "yes"; then
42574 cat >>confdefs.h <<\_ACEOF
42575 #define wxUSE_STACKWALKER 1
42576 _ACEOF
42577
42578 fi
42579
42580 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42581 if test "$USE_UNIX" != 1 -a "$USE_WIN32" != 1; then
42582 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42583 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42584 wxUSE_DEBUGREPORT=no
42585 else
42586 cat >>confdefs.h <<\_ACEOF
42587 #define wxUSE_DEBUGREPORT 1
42588 _ACEOF
42589
42590 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42591 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42592 fi
42593 fi
42594 fi
42595
42596 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42597 cat >>confdefs.h <<\_ACEOF
42598 #define wxUSE_SNGLINST_CHECKER 1
42599 _ACEOF
42600
42601 fi
42602
42603 if test "$wxUSE_BUSYINFO" = "yes"; then
42604 cat >>confdefs.h <<\_ACEOF
42605 #define wxUSE_BUSYINFO 1
42606 _ACEOF
42607
42608 fi
42609
42610 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42611 cat >>confdefs.h <<\_ACEOF
42612 #define wxUSE_STD_IOSTREAM 1
42613 _ACEOF
42614
42615 fi
42616
42617 if test "$wxUSE_STD_STRING" = "yes"; then
42618 cat >>confdefs.h <<\_ACEOF
42619 #define wxUSE_STD_STRING 1
42620 _ACEOF
42621
42622 fi
42623
42624 if test "$wxUSE_STDPATHS" = "yes"; then
42625 cat >>confdefs.h <<\_ACEOF
42626 #define wxUSE_STDPATHS 1
42627 _ACEOF
42628
42629 fi
42630
42631 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42632 cat >>confdefs.h <<\_ACEOF
42633 #define wxUSE_TEXTBUFFER 1
42634 _ACEOF
42635
42636 fi
42637
42638 if test "$wxUSE_TEXTFILE" = "yes"; then
42639 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42640 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42641 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42642 else
42643 cat >>confdefs.h <<\_ACEOF
42644 #define wxUSE_TEXTFILE 1
42645 _ACEOF
42646
42647 fi
42648 fi
42649
42650 if test "$wxUSE_CONFIG" = "yes" ; then
42651 if test "$wxUSE_TEXTFILE" != "yes"; then
42652 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42653 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42654 else
42655 cat >>confdefs.h <<\_ACEOF
42656 #define wxUSE_CONFIG 1
42657 _ACEOF
42658
42659 cat >>confdefs.h <<\_ACEOF
42660 #define wxUSE_CONFIG_NATIVE 1
42661 _ACEOF
42662
42663 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42664 fi
42665 fi
42666
42667 if test "$wxUSE_INTL" = "yes" ; then
42668 if test "$wxUSE_FILE" != "yes"; then
42669 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42670 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42671 else
42672 cat >>confdefs.h <<\_ACEOF
42673 #define wxUSE_INTL 1
42674 _ACEOF
42675
42676 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42677 GUIDIST="$GUIDIST INTL_DIST"
42678 fi
42679 fi
42680
42681 if test "$wxUSE_LOG" = "yes"; then
42682 cat >>confdefs.h <<\_ACEOF
42683 #define wxUSE_LOG 1
42684 _ACEOF
42685
42686
42687 if test "$wxUSE_LOGGUI" = "yes"; then
42688 cat >>confdefs.h <<\_ACEOF
42689 #define wxUSE_LOGGUI 1
42690 _ACEOF
42691
42692 fi
42693
42694 if test "$wxUSE_LOGWINDOW" = "yes"; then
42695 cat >>confdefs.h <<\_ACEOF
42696 #define wxUSE_LOGWINDOW 1
42697 _ACEOF
42698
42699 fi
42700
42701 if test "$wxUSE_LOGDIALOG" = "yes"; then
42702 cat >>confdefs.h <<\_ACEOF
42703 #define wxUSE_LOG_DIALOG 1
42704 _ACEOF
42705
42706 fi
42707
42708 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42709 fi
42710
42711 if test "$wxUSE_LONGLONG" = "yes"; then
42712 cat >>confdefs.h <<\_ACEOF
42713 #define wxUSE_LONGLONG 1
42714 _ACEOF
42715
42716 fi
42717
42718 if test "$wxUSE_GEOMETRY" = "yes"; then
42719 cat >>confdefs.h <<\_ACEOF
42720 #define wxUSE_GEOMETRY 1
42721 _ACEOF
42722
42723 fi
42724
42725 if test "$wxUSE_BASE64" = "yes"; then
42726 cat >>confdefs.h <<\_ACEOF
42727 #define wxUSE_BASE64 1
42728 _ACEOF
42729
42730 fi
42731
42732 if test "$wxUSE_STREAMS" = "yes" ; then
42733 cat >>confdefs.h <<\_ACEOF
42734 #define wxUSE_STREAMS 1
42735 _ACEOF
42736
42737 fi
42738
42739 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42740 cat >>confdefs.h <<\_ACEOF
42741 #define wxUSE_PRINTF_POS_PARAMS 1
42742 _ACEOF
42743
42744 fi
42745
42746 if test "$wxUSE_OBJC_UNIQUIFYING" = "yes"; then
42747 cat >>confdefs.h <<\_ACEOF
42748 #define wxUSE_OBJC_UNIQUIFYING 1
42749 _ACEOF
42750
42751 fi
42752
42753
42754 if test "$wxUSE_CONSOLE_EVENTLOOP" = "yes"; then
42755 cat >>confdefs.h <<\_ACEOF
42756 #define wxUSE_CONSOLE_EVENTLOOP 1
42757 _ACEOF
42758
42759
42760 if test "$wxUSE_UNIX" = "yes"; then
42761 if test "$wxUSE_SELECT_DISPATCHER" = "yes"; then
42762 cat >>confdefs.h <<\_ACEOF
42763 #define wxUSE_SELECT_DISPATCHER 1
42764 _ACEOF
42765
42766 fi
42767
42768 if test "$wxUSE_EPOLL_DISPATCHER" = "yes"; then
42769
42770 for ac_header in sys/epoll.h
42771 do
42772 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
42773 { echo "$as_me:$LINENO: checking for $ac_header" >&5
42774 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
42775 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
42776 echo $ECHO_N "(cached) $ECHO_C" >&6
42777 else
42778 cat >conftest.$ac_ext <<_ACEOF
42779 /* confdefs.h. */
42780 _ACEOF
42781 cat confdefs.h >>conftest.$ac_ext
42782 cat >>conftest.$ac_ext <<_ACEOF
42783 /* end confdefs.h. */
42784 $ac_includes_default
42785
42786 #include <$ac_header>
42787 _ACEOF
42788 rm -f conftest.$ac_objext
42789 if { (ac_try="$ac_compile"
42790 case "(($ac_try" in
42791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42792 *) ac_try_echo=$ac_try;;
42793 esac
42794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42795 (eval "$ac_compile") 2>conftest.er1
42796 ac_status=$?
42797 grep -v '^ *+' conftest.er1 >conftest.err
42798 rm -f conftest.er1
42799 cat conftest.err >&5
42800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42801 (exit $ac_status); } && {
42802 test -z "$ac_c_werror_flag" ||
42803 test ! -s conftest.err
42804 } && test -s conftest.$ac_objext; then
42805 eval "$as_ac_Header=yes"
42806 else
42807 echo "$as_me: failed program was:" >&5
42808 sed 's/^/| /' conftest.$ac_ext >&5
42809
42810 eval "$as_ac_Header=no"
42811 fi
42812
42813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42814 fi
42815 ac_res=`eval echo '${'$as_ac_Header'}'`
42816 { echo "$as_me:$LINENO: result: $ac_res" >&5
42817 echo "${ECHO_T}$ac_res" >&6; }
42818 if test `eval echo '${'$as_ac_Header'}'` = yes; then
42819 cat >>confdefs.h <<_ACEOF
42820 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
42821 _ACEOF
42822
42823 fi
42824
42825 done
42826
42827 if test "$ac_cv_header_sys_epoll_h" = "yes"; then
42828 cat >>confdefs.h <<\_ACEOF
42829 #define wxUSE_EPOLL_DISPATCHER 1
42830 _ACEOF
42831
42832 else
42833 { echo "$as_me:$LINENO: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&5
42834 echo "$as_me: WARNING: sys/epoll.h not available, wxEpollDispatcher disabled" >&2;}
42835 fi
42836 fi
42837 fi
42838 fi
42839
42840
42841
42842
42843 for ac_func in gettimeofday ftime
42844 do
42845 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42846 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42847 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42848 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42849 echo $ECHO_N "(cached) $ECHO_C" >&6
42850 else
42851 cat >conftest.$ac_ext <<_ACEOF
42852 /* confdefs.h. */
42853 _ACEOF
42854 cat confdefs.h >>conftest.$ac_ext
42855 cat >>conftest.$ac_ext <<_ACEOF
42856 /* end confdefs.h. */
42857 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42858 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42859 #define $ac_func innocuous_$ac_func
42860
42861 /* System header to define __stub macros and hopefully few prototypes,
42862 which can conflict with char $ac_func (); below.
42863 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42864 <limits.h> exists even on freestanding compilers. */
42865
42866 #ifdef __STDC__
42867 # include <limits.h>
42868 #else
42869 # include <assert.h>
42870 #endif
42871
42872 #undef $ac_func
42873
42874 /* Override any GCC internal prototype to avoid an error.
42875 Use char because int might match the return type of a GCC
42876 builtin and then its argument prototype would still apply. */
42877 #ifdef __cplusplus
42878 extern "C"
42879 #endif
42880 char $ac_func ();
42881 /* The GNU C library defines this for functions which it implements
42882 to always fail with ENOSYS. Some functions are actually named
42883 something starting with __ and the normal name is an alias. */
42884 #if defined __stub_$ac_func || defined __stub___$ac_func
42885 choke me
42886 #endif
42887
42888 int
42889 main ()
42890 {
42891 return $ac_func ();
42892 ;
42893 return 0;
42894 }
42895 _ACEOF
42896 rm -f conftest.$ac_objext conftest$ac_exeext
42897 if { (ac_try="$ac_link"
42898 case "(($ac_try" in
42899 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42900 *) ac_try_echo=$ac_try;;
42901 esac
42902 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42903 (eval "$ac_link") 2>conftest.er1
42904 ac_status=$?
42905 grep -v '^ *+' conftest.er1 >conftest.err
42906 rm -f conftest.er1
42907 cat conftest.err >&5
42908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42909 (exit $ac_status); } && {
42910 test -z "$ac_c_werror_flag" ||
42911 test ! -s conftest.err
42912 } && test -s conftest$ac_exeext &&
42913 $as_test_x conftest$ac_exeext; then
42914 eval "$as_ac_var=yes"
42915 else
42916 echo "$as_me: failed program was:" >&5
42917 sed 's/^/| /' conftest.$ac_ext >&5
42918
42919 eval "$as_ac_var=no"
42920 fi
42921
42922 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42923 conftest$ac_exeext conftest.$ac_ext
42924 fi
42925 ac_res=`eval echo '${'$as_ac_var'}'`
42926 { echo "$as_me:$LINENO: result: $ac_res" >&5
42927 echo "${ECHO_T}$ac_res" >&6; }
42928 if test `eval echo '${'$as_ac_var'}'` = yes; then
42929 cat >>confdefs.h <<_ACEOF
42930 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42931 _ACEOF
42932 break
42933 fi
42934 done
42935
42936
42937 if test "$ac_cv_func_gettimeofday" = "yes"; then
42938 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42939 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42940 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42941 echo $ECHO_N "(cached) $ECHO_C" >&6
42942 else
42943
42944 cat >conftest.$ac_ext <<_ACEOF
42945 /* confdefs.h. */
42946 _ACEOF
42947 cat confdefs.h >>conftest.$ac_ext
42948 cat >>conftest.$ac_ext <<_ACEOF
42949 /* end confdefs.h. */
42950
42951 #include <sys/time.h>
42952 #include <unistd.h>
42953
42954 int
42955 main ()
42956 {
42957
42958 struct timeval tv;
42959 gettimeofday(&tv, NULL);
42960
42961 ;
42962 return 0;
42963 }
42964 _ACEOF
42965 rm -f conftest.$ac_objext
42966 if { (ac_try="$ac_compile"
42967 case "(($ac_try" in
42968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42969 *) ac_try_echo=$ac_try;;
42970 esac
42971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42972 (eval "$ac_compile") 2>conftest.er1
42973 ac_status=$?
42974 grep -v '^ *+' conftest.er1 >conftest.err
42975 rm -f conftest.er1
42976 cat conftest.err >&5
42977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42978 (exit $ac_status); } && {
42979 test -z "$ac_c_werror_flag" ||
42980 test ! -s conftest.err
42981 } && test -s conftest.$ac_objext; then
42982 wx_cv_func_gettimeofday_has_2_args=yes
42983 else
42984 echo "$as_me: failed program was:" >&5
42985 sed 's/^/| /' conftest.$ac_ext >&5
42986
42987 cat >conftest.$ac_ext <<_ACEOF
42988 /* confdefs.h. */
42989 _ACEOF
42990 cat confdefs.h >>conftest.$ac_ext
42991 cat >>conftest.$ac_ext <<_ACEOF
42992 /* end confdefs.h. */
42993
42994 #include <sys/time.h>
42995 #include <unistd.h>
42996
42997 int
42998 main ()
42999 {
43000
43001 struct timeval tv;
43002 gettimeofday(&tv);
43003
43004 ;
43005 return 0;
43006 }
43007 _ACEOF
43008 rm -f conftest.$ac_objext
43009 if { (ac_try="$ac_compile"
43010 case "(($ac_try" in
43011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43012 *) ac_try_echo=$ac_try;;
43013 esac
43014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43015 (eval "$ac_compile") 2>conftest.er1
43016 ac_status=$?
43017 grep -v '^ *+' conftest.er1 >conftest.err
43018 rm -f conftest.er1
43019 cat conftest.err >&5
43020 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43021 (exit $ac_status); } && {
43022 test -z "$ac_c_werror_flag" ||
43023 test ! -s conftest.err
43024 } && test -s conftest.$ac_objext; then
43025 wx_cv_func_gettimeofday_has_2_args=no
43026 else
43027 echo "$as_me: failed program was:" >&5
43028 sed 's/^/| /' conftest.$ac_ext >&5
43029
43030
43031 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
43032 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
43033 wx_cv_func_gettimeofday_has_2_args=unknown
43034
43035
43036 fi
43037
43038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43039
43040 fi
43041
43042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43043
43044 fi
43045 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
43046 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
43047
43048 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
43049 cat >>confdefs.h <<\_ACEOF
43050 #define WX_GETTIMEOFDAY_NO_TZ 1
43051 _ACEOF
43052
43053 fi
43054 fi
43055
43056 if test "$wxUSE_DATETIME" = "yes"; then
43057 { echo "$as_me:$LINENO: checking for strptime" >&5
43058 echo $ECHO_N "checking for strptime... $ECHO_C" >&6; }
43059 if test "${ac_cv_func_strptime+set}" = set; then
43060 echo $ECHO_N "(cached) $ECHO_C" >&6
43061 else
43062 cat >conftest.$ac_ext <<_ACEOF
43063 /* confdefs.h. */
43064 _ACEOF
43065 cat confdefs.h >>conftest.$ac_ext
43066 cat >>conftest.$ac_ext <<_ACEOF
43067 /* end confdefs.h. */
43068 /* Define strptime to an innocuous variant, in case <limits.h> declares strptime.
43069 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43070 #define strptime innocuous_strptime
43071
43072 /* System header to define __stub macros and hopefully few prototypes,
43073 which can conflict with char strptime (); below.
43074 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43075 <limits.h> exists even on freestanding compilers. */
43076
43077 #ifdef __STDC__
43078 # include <limits.h>
43079 #else
43080 # include <assert.h>
43081 #endif
43082
43083 #undef strptime
43084
43085 /* Override any GCC internal prototype to avoid an error.
43086 Use char because int might match the return type of a GCC
43087 builtin and then its argument prototype would still apply. */
43088 #ifdef __cplusplus
43089 extern "C"
43090 #endif
43091 char strptime ();
43092 /* The GNU C library defines this for functions which it implements
43093 to always fail with ENOSYS. Some functions are actually named
43094 something starting with __ and the normal name is an alias. */
43095 #if defined __stub_strptime || defined __stub___strptime
43096 choke me
43097 #endif
43098
43099 int
43100 main ()
43101 {
43102 return strptime ();
43103 ;
43104 return 0;
43105 }
43106 _ACEOF
43107 rm -f conftest.$ac_objext conftest$ac_exeext
43108 if { (ac_try="$ac_link"
43109 case "(($ac_try" in
43110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43111 *) ac_try_echo=$ac_try;;
43112 esac
43113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43114 (eval "$ac_link") 2>conftest.er1
43115 ac_status=$?
43116 grep -v '^ *+' conftest.er1 >conftest.err
43117 rm -f conftest.er1
43118 cat conftest.err >&5
43119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43120 (exit $ac_status); } && {
43121 test -z "$ac_c_werror_flag" ||
43122 test ! -s conftest.err
43123 } && test -s conftest$ac_exeext &&
43124 $as_test_x conftest$ac_exeext; then
43125 ac_cv_func_strptime=yes
43126 else
43127 echo "$as_me: failed program was:" >&5
43128 sed 's/^/| /' conftest.$ac_ext >&5
43129
43130 ac_cv_func_strptime=no
43131 fi
43132
43133 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43134 conftest$ac_exeext conftest.$ac_ext
43135 fi
43136 { echo "$as_me:$LINENO: result: $ac_cv_func_strptime" >&5
43137 echo "${ECHO_T}$ac_cv_func_strptime" >&6; }
43138
43139 if test "$ac_cv_func_strptime" = "yes"; then
43140 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
43141 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
43142 if test "${wx_cv_func_strptime_decl+set}" = set; then
43143 echo $ECHO_N "(cached) $ECHO_C" >&6
43144 else
43145
43146 ac_ext=cpp
43147 ac_cpp='$CXXCPP $CPPFLAGS'
43148 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43149 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43150 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43151
43152 cat >conftest.$ac_ext <<_ACEOF
43153 /* confdefs.h. */
43154 _ACEOF
43155 cat confdefs.h >>conftest.$ac_ext
43156 cat >>conftest.$ac_ext <<_ACEOF
43157 /* end confdefs.h. */
43158
43159 #include <time.h>
43160
43161 int
43162 main ()
43163 {
43164
43165 struct tm t;
43166 strptime("foo", "bar", &t);
43167
43168 ;
43169 return 0;
43170 }
43171 _ACEOF
43172 rm -f conftest.$ac_objext
43173 if { (ac_try="$ac_compile"
43174 case "(($ac_try" in
43175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43176 *) ac_try_echo=$ac_try;;
43177 esac
43178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43179 (eval "$ac_compile") 2>conftest.er1
43180 ac_status=$?
43181 grep -v '^ *+' conftest.er1 >conftest.err
43182 rm -f conftest.er1
43183 cat conftest.err >&5
43184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43185 (exit $ac_status); } && {
43186 test -z "$ac_cxx_werror_flag" ||
43187 test ! -s conftest.err
43188 } && test -s conftest.$ac_objext; then
43189 wx_cv_func_strptime_decl=yes
43190 else
43191 echo "$as_me: failed program was:" >&5
43192 sed 's/^/| /' conftest.$ac_ext >&5
43193
43194 wx_cv_func_strptime_decl=no
43195
43196 fi
43197
43198 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43199 ac_ext=c
43200 ac_cpp='$CPP $CPPFLAGS'
43201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43204
43205
43206
43207 fi
43208 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
43209 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
43210 fi
43211 if test "$wx_cv_func_strptime_decl" = "yes"; then
43212 cat >>confdefs.h <<\_ACEOF
43213 #define HAVE_STRPTIME_DECL 1
43214 _ACEOF
43215
43216 else
43217 wx_strptime_decl="extern char *strptime(const char *, const char *, struct tm *);"
43218 fi
43219 if test "$ac_cv_func_strptime" = "yes"; then
43220 { echo "$as_me:$LINENO: checking whether strptime() fails on invalid strings" >&5
43221 echo $ECHO_N "checking whether strptime() fails on invalid strings... $ECHO_C" >&6; }
43222 if test "${wx_cv_func_strptime_ok+set}" = set; then
43223 echo $ECHO_N "(cached) $ECHO_C" >&6
43224 else
43225 if test "$cross_compiling" = yes; then
43226 wx_cv_func_strptime_ok=no
43227
43228 else
43229 cat >conftest.$ac_ext <<_ACEOF
43230
43231 #include <stdlib.h>
43232 #include <time.h>
43233 #include "confdefs.h"
43234
43235 $wx_strptime_decl
43236
43237 int main()
43238 {
43239 struct tm t;
43240 return !!strptime("", "%x", &t);
43241 }
43242
43243 _ACEOF
43244 rm -f conftest$ac_exeext
43245 if { (ac_try="$ac_link"
43246 case "(($ac_try" in
43247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43248 *) ac_try_echo=$ac_try;;
43249 esac
43250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43251 (eval "$ac_link") 2>&5
43252 ac_status=$?
43253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43254 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
43255 { (case "(($ac_try" in
43256 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43257 *) ac_try_echo=$ac_try;;
43258 esac
43259 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43260 (eval "$ac_try") 2>&5
43261 ac_status=$?
43262 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43263 (exit $ac_status); }; }; then
43264 wx_cv_func_strptime_ok=yes
43265 else
43266 echo "$as_me: program exited with status $ac_status" >&5
43267 echo "$as_me: failed program was:" >&5
43268 sed 's/^/| /' conftest.$ac_ext >&5
43269
43270 ( exit $ac_status )
43271 wx_cv_func_strptime_ok=no
43272 fi
43273 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
43274 fi
43275
43276
43277
43278 fi
43279 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_ok" >&5
43280 echo "${ECHO_T}$wx_cv_func_strptime_ok" >&6; }
43281
43282 if test "$wx_cv_func_strptime_ok" = "yes"; then
43283 cat >>confdefs.h <<\_ACEOF
43284 #define HAVE_STRPTIME 1
43285 _ACEOF
43286
43287 fi
43288 fi
43289
43290 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
43291 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
43292 if test "${wx_cv_var_timezone+set}" = set; then
43293 echo $ECHO_N "(cached) $ECHO_C" >&6
43294 else
43295
43296 ac_ext=cpp
43297 ac_cpp='$CXXCPP $CPPFLAGS'
43298 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43299 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43300 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43301
43302 cat >conftest.$ac_ext <<_ACEOF
43303 /* confdefs.h. */
43304 _ACEOF
43305 cat confdefs.h >>conftest.$ac_ext
43306 cat >>conftest.$ac_ext <<_ACEOF
43307 /* end confdefs.h. */
43308
43309 #include <time.h>
43310
43311 int
43312 main ()
43313 {
43314
43315 int tz;
43316 tz = timezone;
43317
43318 ;
43319 return 0;
43320 }
43321 _ACEOF
43322 rm -f conftest.$ac_objext
43323 if { (ac_try="$ac_compile"
43324 case "(($ac_try" in
43325 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43326 *) ac_try_echo=$ac_try;;
43327 esac
43328 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43329 (eval "$ac_compile") 2>conftest.er1
43330 ac_status=$?
43331 grep -v '^ *+' conftest.er1 >conftest.err
43332 rm -f conftest.er1
43333 cat conftest.err >&5
43334 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43335 (exit $ac_status); } && {
43336 test -z "$ac_cxx_werror_flag" ||
43337 test ! -s conftest.err
43338 } && test -s conftest.$ac_objext; then
43339
43340 wx_cv_var_timezone=timezone
43341
43342 else
43343 echo "$as_me: failed program was:" >&5
43344 sed 's/^/| /' conftest.$ac_ext >&5
43345
43346
43347 cat >conftest.$ac_ext <<_ACEOF
43348 /* confdefs.h. */
43349 _ACEOF
43350 cat confdefs.h >>conftest.$ac_ext
43351 cat >>conftest.$ac_ext <<_ACEOF
43352 /* end confdefs.h. */
43353
43354 #include <time.h>
43355
43356 int
43357 main ()
43358 {
43359
43360 int tz;
43361 tz = _timezone;
43362
43363 ;
43364 return 0;
43365 }
43366 _ACEOF
43367 rm -f conftest.$ac_objext
43368 if { (ac_try="$ac_compile"
43369 case "(($ac_try" in
43370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43371 *) ac_try_echo=$ac_try;;
43372 esac
43373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43374 (eval "$ac_compile") 2>conftest.er1
43375 ac_status=$?
43376 grep -v '^ *+' conftest.er1 >conftest.err
43377 rm -f conftest.er1
43378 cat conftest.err >&5
43379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43380 (exit $ac_status); } && {
43381 test -z "$ac_cxx_werror_flag" ||
43382 test ! -s conftest.err
43383 } && test -s conftest.$ac_objext; then
43384
43385 wx_cv_var_timezone=_timezone
43386
43387 else
43388 echo "$as_me: failed program was:" >&5
43389 sed 's/^/| /' conftest.$ac_ext >&5
43390
43391
43392 cat >conftest.$ac_ext <<_ACEOF
43393 /* confdefs.h. */
43394 _ACEOF
43395 cat confdefs.h >>conftest.$ac_ext
43396 cat >>conftest.$ac_ext <<_ACEOF
43397 /* end confdefs.h. */
43398
43399 #include <time.h>
43400
43401 int
43402 main ()
43403 {
43404
43405 int tz;
43406 tz = __timezone;
43407
43408 ;
43409 return 0;
43410 }
43411 _ACEOF
43412 rm -f conftest.$ac_objext
43413 if { (ac_try="$ac_compile"
43414 case "(($ac_try" in
43415 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43416 *) ac_try_echo=$ac_try;;
43417 esac
43418 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43419 (eval "$ac_compile") 2>conftest.er1
43420 ac_status=$?
43421 grep -v '^ *+' conftest.er1 >conftest.err
43422 rm -f conftest.er1
43423 cat conftest.err >&5
43424 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43425 (exit $ac_status); } && {
43426 test -z "$ac_cxx_werror_flag" ||
43427 test ! -s conftest.err
43428 } && test -s conftest.$ac_objext; then
43429
43430 wx_cv_var_timezone=__timezone
43431
43432 else
43433 echo "$as_me: failed program was:" >&5
43434 sed 's/^/| /' conftest.$ac_ext >&5
43435
43436
43437 if test "$USE_DOS" = 0 ; then
43438 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
43439 echo "$as_me: WARNING: no timezone variable" >&2;}
43440 fi
43441
43442
43443 fi
43444
43445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43446
43447
43448 fi
43449
43450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43451
43452
43453 fi
43454
43455 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43456 ac_ext=c
43457 ac_cpp='$CPP $CPPFLAGS'
43458 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43459 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43460 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43461
43462
43463
43464 fi
43465 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
43466 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
43467
43468 if test "x$wx_cv_var_timezone" != x ; then
43469 cat >>confdefs.h <<_ACEOF
43470 #define WX_TIMEZONE $wx_cv_var_timezone
43471 _ACEOF
43472
43473 fi
43474
43475
43476 for ac_func in localtime
43477 do
43478 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
43479 { echo "$as_me:$LINENO: checking for $ac_func" >&5
43480 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
43481 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
43482 echo $ECHO_N "(cached) $ECHO_C" >&6
43483 else
43484 cat >conftest.$ac_ext <<_ACEOF
43485 /* confdefs.h. */
43486 _ACEOF
43487 cat confdefs.h >>conftest.$ac_ext
43488 cat >>conftest.$ac_ext <<_ACEOF
43489 /* end confdefs.h. */
43490 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
43491 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43492 #define $ac_func innocuous_$ac_func
43493
43494 /* System header to define __stub macros and hopefully few prototypes,
43495 which can conflict with char $ac_func (); below.
43496 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43497 <limits.h> exists even on freestanding compilers. */
43498
43499 #ifdef __STDC__
43500 # include <limits.h>
43501 #else
43502 # include <assert.h>
43503 #endif
43504
43505 #undef $ac_func
43506
43507 /* Override any GCC internal prototype to avoid an error.
43508 Use char because int might match the return type of a GCC
43509 builtin and then its argument prototype would still apply. */
43510 #ifdef __cplusplus
43511 extern "C"
43512 #endif
43513 char $ac_func ();
43514 /* The GNU C library defines this for functions which it implements
43515 to always fail with ENOSYS. Some functions are actually named
43516 something starting with __ and the normal name is an alias. */
43517 #if defined __stub_$ac_func || defined __stub___$ac_func
43518 choke me
43519 #endif
43520
43521 int
43522 main ()
43523 {
43524 return $ac_func ();
43525 ;
43526 return 0;
43527 }
43528 _ACEOF
43529 rm -f conftest.$ac_objext conftest$ac_exeext
43530 if { (ac_try="$ac_link"
43531 case "(($ac_try" in
43532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43533 *) ac_try_echo=$ac_try;;
43534 esac
43535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43536 (eval "$ac_link") 2>conftest.er1
43537 ac_status=$?
43538 grep -v '^ *+' conftest.er1 >conftest.err
43539 rm -f conftest.er1
43540 cat conftest.err >&5
43541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43542 (exit $ac_status); } && {
43543 test -z "$ac_c_werror_flag" ||
43544 test ! -s conftest.err
43545 } && test -s conftest$ac_exeext &&
43546 $as_test_x conftest$ac_exeext; then
43547 eval "$as_ac_var=yes"
43548 else
43549 echo "$as_me: failed program was:" >&5
43550 sed 's/^/| /' conftest.$ac_ext >&5
43551
43552 eval "$as_ac_var=no"
43553 fi
43554
43555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43556 conftest$ac_exeext conftest.$ac_ext
43557 fi
43558 ac_res=`eval echo '${'$as_ac_var'}'`
43559 { echo "$as_me:$LINENO: result: $ac_res" >&5
43560 echo "${ECHO_T}$ac_res" >&6; }
43561 if test `eval echo '${'$as_ac_var'}'` = yes; then
43562 cat >>confdefs.h <<_ACEOF
43563 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
43564 _ACEOF
43565
43566 fi
43567 done
43568
43569
43570 if test "$ac_cv_func_localtime" = "yes"; then
43571 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
43572 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
43573 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
43574 echo $ECHO_N "(cached) $ECHO_C" >&6
43575 else
43576
43577 cat >conftest.$ac_ext <<_ACEOF
43578 /* confdefs.h. */
43579 _ACEOF
43580 cat confdefs.h >>conftest.$ac_ext
43581 cat >>conftest.$ac_ext <<_ACEOF
43582 /* end confdefs.h. */
43583
43584 #include <time.h>
43585
43586 int
43587 main ()
43588 {
43589
43590 struct tm tm;
43591 tm.tm_gmtoff++;
43592
43593 ;
43594 return 0;
43595 }
43596 _ACEOF
43597 rm -f conftest.$ac_objext
43598 if { (ac_try="$ac_compile"
43599 case "(($ac_try" in
43600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43601 *) ac_try_echo=$ac_try;;
43602 esac
43603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43604 (eval "$ac_compile") 2>conftest.er1
43605 ac_status=$?
43606 grep -v '^ *+' conftest.er1 >conftest.err
43607 rm -f conftest.er1
43608 cat conftest.err >&5
43609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43610 (exit $ac_status); } && {
43611 test -z "$ac_c_werror_flag" ||
43612 test ! -s conftest.err
43613 } && test -s conftest.$ac_objext; then
43614
43615 wx_cv_struct_tm_has_gmtoff=yes
43616
43617 else
43618 echo "$as_me: failed program was:" >&5
43619 sed 's/^/| /' conftest.$ac_ext >&5
43620
43621 wx_cv_struct_tm_has_gmtoff=no
43622
43623 fi
43624
43625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43626
43627 fi
43628 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
43629 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
43630 fi
43631
43632 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
43633 cat >>confdefs.h <<\_ACEOF
43634 #define WX_GMTOFF_IN_TM 1
43635 _ACEOF
43636
43637 fi
43638
43639 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
43640 fi
43641
43642
43643 if test "$wxUSE_SOCKETS" = "yes"; then
43644 if test "$wxUSE_MGL" = 1; then
43645 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
43646 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
43647 wxUSE_SOCKETS="no"
43648 fi
43649 fi
43650
43651 if test "$wxUSE_SOCKETS" = "yes"; then
43652 if test "$TOOLKIT" != "MSW"; then
43653 { echo "$as_me:$LINENO: checking for socket" >&5
43654 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
43655 if test "${ac_cv_func_socket+set}" = set; then
43656 echo $ECHO_N "(cached) $ECHO_C" >&6
43657 else
43658 cat >conftest.$ac_ext <<_ACEOF
43659 /* confdefs.h. */
43660 _ACEOF
43661 cat confdefs.h >>conftest.$ac_ext
43662 cat >>conftest.$ac_ext <<_ACEOF
43663 /* end confdefs.h. */
43664 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43665 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43666 #define socket innocuous_socket
43667
43668 /* System header to define __stub macros and hopefully few prototypes,
43669 which can conflict with char socket (); below.
43670 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43671 <limits.h> exists even on freestanding compilers. */
43672
43673 #ifdef __STDC__
43674 # include <limits.h>
43675 #else
43676 # include <assert.h>
43677 #endif
43678
43679 #undef socket
43680
43681 /* Override any GCC internal prototype to avoid an error.
43682 Use char because int might match the return type of a GCC
43683 builtin and then its argument prototype would still apply. */
43684 #ifdef __cplusplus
43685 extern "C"
43686 #endif
43687 char socket ();
43688 /* The GNU C library defines this for functions which it implements
43689 to always fail with ENOSYS. Some functions are actually named
43690 something starting with __ and the normal name is an alias. */
43691 #if defined __stub_socket || defined __stub___socket
43692 choke me
43693 #endif
43694
43695 int
43696 main ()
43697 {
43698 return socket ();
43699 ;
43700 return 0;
43701 }
43702 _ACEOF
43703 rm -f conftest.$ac_objext conftest$ac_exeext
43704 if { (ac_try="$ac_link"
43705 case "(($ac_try" in
43706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43707 *) ac_try_echo=$ac_try;;
43708 esac
43709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43710 (eval "$ac_link") 2>conftest.er1
43711 ac_status=$?
43712 grep -v '^ *+' conftest.er1 >conftest.err
43713 rm -f conftest.er1
43714 cat conftest.err >&5
43715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43716 (exit $ac_status); } && {
43717 test -z "$ac_c_werror_flag" ||
43718 test ! -s conftest.err
43719 } && test -s conftest$ac_exeext &&
43720 $as_test_x conftest$ac_exeext; then
43721 ac_cv_func_socket=yes
43722 else
43723 echo "$as_me: failed program was:" >&5
43724 sed 's/^/| /' conftest.$ac_ext >&5
43725
43726 ac_cv_func_socket=no
43727 fi
43728
43729 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43730 conftest$ac_exeext conftest.$ac_ext
43731 fi
43732 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43733 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43734 if test $ac_cv_func_socket = yes; then
43735 :
43736 else
43737
43738 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43739 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43740 if test "${ac_cv_lib_socket_socket+set}" = set; then
43741 echo $ECHO_N "(cached) $ECHO_C" >&6
43742 else
43743 ac_check_lib_save_LIBS=$LIBS
43744 LIBS="-lsocket $LIBS"
43745 cat >conftest.$ac_ext <<_ACEOF
43746 /* confdefs.h. */
43747 _ACEOF
43748 cat confdefs.h >>conftest.$ac_ext
43749 cat >>conftest.$ac_ext <<_ACEOF
43750 /* end confdefs.h. */
43751
43752 /* Override any GCC internal prototype to avoid an error.
43753 Use char because int might match the return type of a GCC
43754 builtin and then its argument prototype would still apply. */
43755 #ifdef __cplusplus
43756 extern "C"
43757 #endif
43758 char socket ();
43759 int
43760 main ()
43761 {
43762 return socket ();
43763 ;
43764 return 0;
43765 }
43766 _ACEOF
43767 rm -f conftest.$ac_objext conftest$ac_exeext
43768 if { (ac_try="$ac_link"
43769 case "(($ac_try" in
43770 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43771 *) ac_try_echo=$ac_try;;
43772 esac
43773 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43774 (eval "$ac_link") 2>conftest.er1
43775 ac_status=$?
43776 grep -v '^ *+' conftest.er1 >conftest.err
43777 rm -f conftest.er1
43778 cat conftest.err >&5
43779 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43780 (exit $ac_status); } && {
43781 test -z "$ac_c_werror_flag" ||
43782 test ! -s conftest.err
43783 } && test -s conftest$ac_exeext &&
43784 $as_test_x conftest$ac_exeext; then
43785 ac_cv_lib_socket_socket=yes
43786 else
43787 echo "$as_me: failed program was:" >&5
43788 sed 's/^/| /' conftest.$ac_ext >&5
43789
43790 ac_cv_lib_socket_socket=no
43791 fi
43792
43793 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43794 conftest$ac_exeext conftest.$ac_ext
43795 LIBS=$ac_check_lib_save_LIBS
43796 fi
43797 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43798 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43799 if test $ac_cv_lib_socket_socket = yes; then
43800 if test "$INET_LINK" != " -lsocket"; then
43801 INET_LINK="$INET_LINK -lsocket"
43802 fi
43803 else
43804
43805 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43806 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43807 wxUSE_SOCKETS=no
43808
43809
43810 fi
43811
43812
43813
43814 fi
43815
43816 fi
43817 fi
43818
43819 if test "$wxUSE_SOCKETS" = "yes" ; then
43820 if test "$TOOLKIT" != "MSW"; then
43821 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43822 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43823 if test "${wx_cv_type_getsockname3+set}" = set; then
43824 echo $ECHO_N "(cached) $ECHO_C" >&6
43825 else
43826
43827 ac_ext=cpp
43828 ac_cpp='$CXXCPP $CPPFLAGS'
43829 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43830 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43831 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43832
43833 cat >conftest.$ac_ext <<_ACEOF
43834 /* confdefs.h. */
43835 _ACEOF
43836 cat confdefs.h >>conftest.$ac_ext
43837 cat >>conftest.$ac_ext <<_ACEOF
43838 /* end confdefs.h. */
43839
43840 #include <sys/types.h>
43841 #include <sys/socket.h>
43842
43843 int
43844 main ()
43845 {
43846
43847 socklen_t len;
43848 getsockname(0, 0, &len);
43849
43850 ;
43851 return 0;
43852 }
43853 _ACEOF
43854 rm -f conftest.$ac_objext
43855 if { (ac_try="$ac_compile"
43856 case "(($ac_try" in
43857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43858 *) ac_try_echo=$ac_try;;
43859 esac
43860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43861 (eval "$ac_compile") 2>conftest.er1
43862 ac_status=$?
43863 grep -v '^ *+' conftest.er1 >conftest.err
43864 rm -f conftest.er1
43865 cat conftest.err >&5
43866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43867 (exit $ac_status); } && {
43868 test -z "$ac_cxx_werror_flag" ||
43869 test ! -s conftest.err
43870 } && test -s conftest.$ac_objext; then
43871 wx_cv_type_getsockname3=socklen_t
43872 else
43873 echo "$as_me: failed program was:" >&5
43874 sed 's/^/| /' conftest.$ac_ext >&5
43875
43876
43877 CFLAGS_OLD="$CFLAGS"
43878 if test "$GCC" = yes ; then
43879 CFLAGS="-Werror $CFLAGS"
43880 fi
43881
43882 cat >conftest.$ac_ext <<_ACEOF
43883 /* confdefs.h. */
43884 _ACEOF
43885 cat confdefs.h >>conftest.$ac_ext
43886 cat >>conftest.$ac_ext <<_ACEOF
43887 /* end confdefs.h. */
43888
43889 #include <sys/types.h>
43890 #include <sys/socket.h>
43891
43892 int
43893 main ()
43894 {
43895
43896 size_t len;
43897 getsockname(0, 0, &len);
43898
43899 ;
43900 return 0;
43901 }
43902 _ACEOF
43903 rm -f conftest.$ac_objext
43904 if { (ac_try="$ac_compile"
43905 case "(($ac_try" in
43906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43907 *) ac_try_echo=$ac_try;;
43908 esac
43909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43910 (eval "$ac_compile") 2>conftest.er1
43911 ac_status=$?
43912 grep -v '^ *+' conftest.er1 >conftest.err
43913 rm -f conftest.er1
43914 cat conftest.err >&5
43915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43916 (exit $ac_status); } && {
43917 test -z "$ac_cxx_werror_flag" ||
43918 test ! -s conftest.err
43919 } && test -s conftest.$ac_objext; then
43920 wx_cv_type_getsockname3=size_t
43921 else
43922 echo "$as_me: failed program was:" >&5
43923 sed 's/^/| /' conftest.$ac_ext >&5
43924
43925 cat >conftest.$ac_ext <<_ACEOF
43926 /* confdefs.h. */
43927 _ACEOF
43928 cat confdefs.h >>conftest.$ac_ext
43929 cat >>conftest.$ac_ext <<_ACEOF
43930 /* end confdefs.h. */
43931
43932 #include <sys/types.h>
43933 #include <sys/socket.h>
43934
43935 int
43936 main ()
43937 {
43938
43939 int len;
43940 getsockname(0, 0, &len);
43941
43942 ;
43943 return 0;
43944 }
43945 _ACEOF
43946 rm -f conftest.$ac_objext
43947 if { (ac_try="$ac_compile"
43948 case "(($ac_try" in
43949 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43950 *) ac_try_echo=$ac_try;;
43951 esac
43952 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43953 (eval "$ac_compile") 2>conftest.er1
43954 ac_status=$?
43955 grep -v '^ *+' conftest.er1 >conftest.err
43956 rm -f conftest.er1
43957 cat conftest.err >&5
43958 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43959 (exit $ac_status); } && {
43960 test -z "$ac_cxx_werror_flag" ||
43961 test ! -s conftest.err
43962 } && test -s conftest.$ac_objext; then
43963 wx_cv_type_getsockname3=int
43964 else
43965 echo "$as_me: failed program was:" >&5
43966 sed 's/^/| /' conftest.$ac_ext >&5
43967
43968 wx_cv_type_getsockname3=unknown
43969
43970 fi
43971
43972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43973
43974 fi
43975
43976 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43977
43978 CFLAGS="$CFLAGS_OLD"
43979
43980
43981 fi
43982
43983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43984 ac_ext=c
43985 ac_cpp='$CPP $CPPFLAGS'
43986 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43987 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43988 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43989
43990
43991 fi
43992 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43993 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43994
43995 if test "$wx_cv_type_getsockname3" = "unknown"; then
43996 wxUSE_SOCKETS=no
43997 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43998 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43999 else
44000 cat >>confdefs.h <<_ACEOF
44001 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
44002 _ACEOF
44003
44004 fi
44005 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
44006 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
44007 if test "${wx_cv_type_getsockopt5+set}" = set; then
44008 echo $ECHO_N "(cached) $ECHO_C" >&6
44009 else
44010
44011 ac_ext=cpp
44012 ac_cpp='$CXXCPP $CPPFLAGS'
44013 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44014 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44015 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44016
44017 cat >conftest.$ac_ext <<_ACEOF
44018 /* confdefs.h. */
44019 _ACEOF
44020 cat confdefs.h >>conftest.$ac_ext
44021 cat >>conftest.$ac_ext <<_ACEOF
44022 /* end confdefs.h. */
44023
44024 #include <sys/types.h>
44025 #include <sys/socket.h>
44026
44027 int
44028 main ()
44029 {
44030
44031 socklen_t len;
44032 getsockopt(0, 0, 0, 0, &len);
44033
44034 ;
44035 return 0;
44036 }
44037 _ACEOF
44038 rm -f conftest.$ac_objext
44039 if { (ac_try="$ac_compile"
44040 case "(($ac_try" in
44041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44042 *) ac_try_echo=$ac_try;;
44043 esac
44044 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44045 (eval "$ac_compile") 2>conftest.er1
44046 ac_status=$?
44047 grep -v '^ *+' conftest.er1 >conftest.err
44048 rm -f conftest.er1
44049 cat conftest.err >&5
44050 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44051 (exit $ac_status); } && {
44052 test -z "$ac_cxx_werror_flag" ||
44053 test ! -s conftest.err
44054 } && test -s conftest.$ac_objext; then
44055 wx_cv_type_getsockopt5=socklen_t
44056 else
44057 echo "$as_me: failed program was:" >&5
44058 sed 's/^/| /' conftest.$ac_ext >&5
44059
44060
44061 cat >conftest.$ac_ext <<_ACEOF
44062 /* confdefs.h. */
44063 _ACEOF
44064 cat confdefs.h >>conftest.$ac_ext
44065 cat >>conftest.$ac_ext <<_ACEOF
44066 /* end confdefs.h. */
44067
44068 #include <sys/types.h>
44069 #include <sys/socket.h>
44070
44071 int
44072 main ()
44073 {
44074
44075 size_t len;
44076 getsockopt(0, 0, 0, 0, &len);
44077
44078 ;
44079 return 0;
44080 }
44081 _ACEOF
44082 rm -f conftest.$ac_objext
44083 if { (ac_try="$ac_compile"
44084 case "(($ac_try" in
44085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44086 *) ac_try_echo=$ac_try;;
44087 esac
44088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44089 (eval "$ac_compile") 2>conftest.er1
44090 ac_status=$?
44091 grep -v '^ *+' conftest.er1 >conftest.err
44092 rm -f conftest.er1
44093 cat conftest.err >&5
44094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44095 (exit $ac_status); } && {
44096 test -z "$ac_cxx_werror_flag" ||
44097 test ! -s conftest.err
44098 } && test -s conftest.$ac_objext; then
44099 wx_cv_type_getsockopt5=size_t
44100 else
44101 echo "$as_me: failed program was:" >&5
44102 sed 's/^/| /' conftest.$ac_ext >&5
44103
44104 cat >conftest.$ac_ext <<_ACEOF
44105 /* confdefs.h. */
44106 _ACEOF
44107 cat confdefs.h >>conftest.$ac_ext
44108 cat >>conftest.$ac_ext <<_ACEOF
44109 /* end confdefs.h. */
44110
44111 #include <sys/types.h>
44112 #include <sys/socket.h>
44113
44114 int
44115 main ()
44116 {
44117
44118 int len;
44119 getsockopt(0, 0, 0, 0, &len);
44120
44121 ;
44122 return 0;
44123 }
44124 _ACEOF
44125 rm -f conftest.$ac_objext
44126 if { (ac_try="$ac_compile"
44127 case "(($ac_try" in
44128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44129 *) ac_try_echo=$ac_try;;
44130 esac
44131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44132 (eval "$ac_compile") 2>conftest.er1
44133 ac_status=$?
44134 grep -v '^ *+' conftest.er1 >conftest.err
44135 rm -f conftest.er1
44136 cat conftest.err >&5
44137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44138 (exit $ac_status); } && {
44139 test -z "$ac_cxx_werror_flag" ||
44140 test ! -s conftest.err
44141 } && test -s conftest.$ac_objext; then
44142 wx_cv_type_getsockopt5=int
44143 else
44144 echo "$as_me: failed program was:" >&5
44145 sed 's/^/| /' conftest.$ac_ext >&5
44146
44147 wx_cv_type_getsockopt5=unknown
44148
44149 fi
44150
44151 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44152
44153 fi
44154
44155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44156
44157
44158 fi
44159
44160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44161 ac_ext=c
44162 ac_cpp='$CPP $CPPFLAGS'
44163 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44164 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44165 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44166
44167
44168 fi
44169 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
44170 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
44171
44172 if test "$wx_cv_type_getsockopt5" = "unknown"; then
44173 wxUSE_SOCKETS=no
44174 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
44175 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
44176 else
44177 cat >>confdefs.h <<_ACEOF
44178 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
44179 _ACEOF
44180
44181 fi
44182 fi
44183 fi
44184
44185 if test "$wxUSE_SOCKETS" = "yes" ; then
44186 if test "$wxUSE_IPV6" = "yes"; then
44187 { echo "$as_me:$LINENO: checking whether we have sockaddr_in6" >&5
44188 echo $ECHO_N "checking whether we have sockaddr_in6... $ECHO_C" >&6; }
44189 if test "${wx_cv_type_sockaddr_in6+set}" = set; then
44190 echo $ECHO_N "(cached) $ECHO_C" >&6
44191 else
44192
44193 cat >conftest.$ac_ext <<_ACEOF
44194 /* confdefs.h. */
44195 _ACEOF
44196 cat confdefs.h >>conftest.$ac_ext
44197 cat >>conftest.$ac_ext <<_ACEOF
44198 /* end confdefs.h. */
44199
44200 #include <sys/types.h>
44201 #include <sys/socket.h>
44202 #include <netinet/in.h>
44203
44204 int
44205 main ()
44206 {
44207
44208 struct sockaddr_in6 sa6;
44209
44210 ;
44211 return 0;
44212 }
44213 _ACEOF
44214 rm -f conftest.$ac_objext
44215 if { (ac_try="$ac_compile"
44216 case "(($ac_try" in
44217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44218 *) ac_try_echo=$ac_try;;
44219 esac
44220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44221 (eval "$ac_compile") 2>conftest.er1
44222 ac_status=$?
44223 grep -v '^ *+' conftest.er1 >conftest.err
44224 rm -f conftest.er1
44225 cat conftest.err >&5
44226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44227 (exit $ac_status); } && {
44228 test -z "$ac_c_werror_flag" ||
44229 test ! -s conftest.err
44230 } && test -s conftest.$ac_objext; then
44231 wx_cv_type_sockaddr_in6=yes
44232 else
44233 echo "$as_me: failed program was:" >&5
44234 sed 's/^/| /' conftest.$ac_ext >&5
44235
44236 wx_cv_type_sockaddr_in6=no
44237
44238 fi
44239
44240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44241
44242
44243 fi
44244 { echo "$as_me:$LINENO: result: $wx_cv_type_sockaddr_in6" >&5
44245 echo "${ECHO_T}$wx_cv_type_sockaddr_in6" >&6; }
44246
44247 if test "$wx_cv_type_sockaddr_in6"="yes"; then
44248 cat >>confdefs.h <<\_ACEOF
44249 #define wxUSE_IPV6 1
44250 _ACEOF
44251
44252 else
44253 { echo "$as_me:$LINENO: WARNING: IPv6 support not available... disabled" >&5
44254 echo "$as_me: WARNING: IPv6 support not available... disabled" >&2;}
44255 fi
44256 fi
44257
44258 cat >>confdefs.h <<\_ACEOF
44259 #define wxUSE_SOCKETS 1
44260 _ACEOF
44261
44262 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
44263 fi
44264
44265 if test "$wxUSE_PROTOCOL" = "yes"; then
44266 if test "$wxUSE_SOCKETS" != "yes"; then
44267 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
44268 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
44269 wxUSE_PROTOCOL=no
44270 fi
44271 fi
44272
44273 if test "$wxUSE_PROTOCOL" = "yes"; then
44274 cat >>confdefs.h <<\_ACEOF
44275 #define wxUSE_PROTOCOL 1
44276 _ACEOF
44277
44278
44279 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_PROTOCOL_HTTP 1
44282 _ACEOF
44283
44284 fi
44285 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
44286 cat >>confdefs.h <<\_ACEOF
44287 #define wxUSE_PROTOCOL_FTP 1
44288 _ACEOF
44289
44290 fi
44291 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
44292 cat >>confdefs.h <<\_ACEOF
44293 #define wxUSE_PROTOCOL_FILE 1
44294 _ACEOF
44295
44296 fi
44297 else
44298 if test "$wxUSE_FS_INET" = "yes"; then
44299 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
44300 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
44301 wxUSE_FS_INET="no"
44302 fi
44303 fi
44304
44305 if test "$wxUSE_URL" = "yes"; then
44306 if test "$wxUSE_PROTOCOL" != "yes"; then
44307 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
44308 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
44309 wxUSE_URL=no
44310 fi
44311 if test "$wxUSE_URL" = "yes"; then
44312 cat >>confdefs.h <<\_ACEOF
44313 #define wxUSE_URL 1
44314 _ACEOF
44315
44316 fi
44317 fi
44318
44319 if test "$wxUSE_VARIANT" = "yes"; then
44320 cat >>confdefs.h <<\_ACEOF
44321 #define wxUSE_VARIANT 1
44322 _ACEOF
44323
44324 fi
44325
44326 if test "$wxUSE_FS_INET" = "yes"; then
44327 cat >>confdefs.h <<\_ACEOF
44328 #define wxUSE_FS_INET 1
44329 _ACEOF
44330
44331 fi
44332
44333
44334 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
44335 wxUSE_JOYSTICK=no
44336
44337 if test "$TOOLKIT" = "MSW"; then
44338 wxUSE_JOYSTICK=yes
44339
44340 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
44341 if test "$USE_DARWIN" = 1; then
44342 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
44343 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
44344 ac_ext=cpp
44345 ac_cpp='$CXXCPP $CPPFLAGS'
44346 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44347 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44348 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
44349
44350 cat >conftest.$ac_ext <<_ACEOF
44351 /* confdefs.h. */
44352 _ACEOF
44353 cat confdefs.h >>conftest.$ac_ext
44354 cat >>conftest.$ac_ext <<_ACEOF
44355 /* end confdefs.h. */
44356 #include <IOKit/hid/IOHIDLib.h>
44357 int
44358 main ()
44359 {
44360 IOHIDQueueInterface *qi = NULL;
44361 IOHIDCallbackFunction cb = NULL;
44362 qi->setEventCallout(NULL, cb, NULL, NULL);
44363 ;
44364 return 0;
44365 }
44366 _ACEOF
44367 rm -f conftest.$ac_objext
44368 if { (ac_try="$ac_compile"
44369 case "(($ac_try" in
44370 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44371 *) ac_try_echo=$ac_try;;
44372 esac
44373 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44374 (eval "$ac_compile") 2>conftest.er1
44375 ac_status=$?
44376 grep -v '^ *+' conftest.er1 >conftest.err
44377 rm -f conftest.er1
44378 cat conftest.err >&5
44379 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44380 (exit $ac_status); } && {
44381 test -z "$ac_cxx_werror_flag" ||
44382 test ! -s conftest.err
44383 } && test -s conftest.$ac_objext; then
44384 wxUSE_JOYSTICK=yes
44385
44386 else
44387 echo "$as_me: failed program was:" >&5
44388 sed 's/^/| /' conftest.$ac_ext >&5
44389
44390
44391 fi
44392
44393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44394 ac_ext=c
44395 ac_cpp='$CPP $CPPFLAGS'
44396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
44397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
44398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
44399
44400 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
44401 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
44402 fi
44403
44404 else
44405 if test "$wxUSE_MGL" != 1; then
44406
44407 for ac_header in linux/joystick.h
44408 do
44409 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
44410 { echo "$as_me:$LINENO: checking for $ac_header" >&5
44411 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
44412 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
44413 echo $ECHO_N "(cached) $ECHO_C" >&6
44414 else
44415 cat >conftest.$ac_ext <<_ACEOF
44416 /* confdefs.h. */
44417 _ACEOF
44418 cat confdefs.h >>conftest.$ac_ext
44419 cat >>conftest.$ac_ext <<_ACEOF
44420 /* end confdefs.h. */
44421 $ac_includes_default
44422
44423 #include <$ac_header>
44424 _ACEOF
44425 rm -f conftest.$ac_objext
44426 if { (ac_try="$ac_compile"
44427 case "(($ac_try" in
44428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44429 *) ac_try_echo=$ac_try;;
44430 esac
44431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44432 (eval "$ac_compile") 2>conftest.er1
44433 ac_status=$?
44434 grep -v '^ *+' conftest.er1 >conftest.err
44435 rm -f conftest.er1
44436 cat conftest.err >&5
44437 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44438 (exit $ac_status); } && {
44439 test -z "$ac_c_werror_flag" ||
44440 test ! -s conftest.err
44441 } && test -s conftest.$ac_objext; then
44442 eval "$as_ac_Header=yes"
44443 else
44444 echo "$as_me: failed program was:" >&5
44445 sed 's/^/| /' conftest.$ac_ext >&5
44446
44447 eval "$as_ac_Header=no"
44448 fi
44449
44450 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44451 fi
44452 ac_res=`eval echo '${'$as_ac_Header'}'`
44453 { echo "$as_me:$LINENO: result: $ac_res" >&5
44454 echo "${ECHO_T}$ac_res" >&6; }
44455 if test `eval echo '${'$as_ac_Header'}'` = yes; then
44456 cat >>confdefs.h <<_ACEOF
44457 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
44458 _ACEOF
44459 wxUSE_JOYSTICK=yes
44460 fi
44461
44462 done
44463
44464 fi
44465 fi
44466
44467 if test "$wxUSE_JOYSTICK" = "yes"; then
44468 cat >>confdefs.h <<\_ACEOF
44469 #define wxUSE_JOYSTICK 1
44470 _ACEOF
44471
44472 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
44473 else
44474 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
44475 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
44476 fi
44477 fi
44478
44479
44480
44481 if test "$wxUSE_FONTENUM" = "yes" ; then
44482 cat >>confdefs.h <<\_ACEOF
44483 #define wxUSE_FONTENUM 1
44484 _ACEOF
44485
44486 fi
44487
44488 if test "$wxUSE_FONTMAP" = "yes" ; then
44489 cat >>confdefs.h <<\_ACEOF
44490 #define wxUSE_FONTMAP 1
44491 _ACEOF
44492
44493 fi
44494
44495 if test "$wxUSE_UNICODE" = "yes" ; then
44496 cat >>confdefs.h <<\_ACEOF
44497 #define wxUSE_UNICODE 1
44498 _ACEOF
44499
44500
44501 if test "$USE_WIN32" != 1; then
44502 wxUSE_UNICODE_MSLU=no
44503 fi
44504
44505 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
44506 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
44507 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
44508 if test "${ac_cv_lib_unicows_main+set}" = set; then
44509 echo $ECHO_N "(cached) $ECHO_C" >&6
44510 else
44511 ac_check_lib_save_LIBS=$LIBS
44512 LIBS="-lunicows $LIBS"
44513 cat >conftest.$ac_ext <<_ACEOF
44514 /* confdefs.h. */
44515 _ACEOF
44516 cat confdefs.h >>conftest.$ac_ext
44517 cat >>conftest.$ac_ext <<_ACEOF
44518 /* end confdefs.h. */
44519
44520
44521 int
44522 main ()
44523 {
44524 return main ();
44525 ;
44526 return 0;
44527 }
44528 _ACEOF
44529 rm -f conftest.$ac_objext conftest$ac_exeext
44530 if { (ac_try="$ac_link"
44531 case "(($ac_try" in
44532 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44533 *) ac_try_echo=$ac_try;;
44534 esac
44535 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44536 (eval "$ac_link") 2>conftest.er1
44537 ac_status=$?
44538 grep -v '^ *+' conftest.er1 >conftest.err
44539 rm -f conftest.er1
44540 cat conftest.err >&5
44541 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44542 (exit $ac_status); } && {
44543 test -z "$ac_c_werror_flag" ||
44544 test ! -s conftest.err
44545 } && test -s conftest$ac_exeext &&
44546 $as_test_x conftest$ac_exeext; then
44547 ac_cv_lib_unicows_main=yes
44548 else
44549 echo "$as_me: failed program was:" >&5
44550 sed 's/^/| /' conftest.$ac_ext >&5
44551
44552 ac_cv_lib_unicows_main=no
44553 fi
44554
44555 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
44556 conftest$ac_exeext conftest.$ac_ext
44557 LIBS=$ac_check_lib_save_LIBS
44558 fi
44559 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
44560 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
44561 if test $ac_cv_lib_unicows_main = yes; then
44562
44563 cat >>confdefs.h <<\_ACEOF
44564 #define wxUSE_UNICODE_MSLU 1
44565 _ACEOF
44566
44567
44568 else
44569
44570 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44571 Applications will only run on Windows NT/2000/XP!" >&5
44572 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
44573 Applications will only run on Windows NT/2000/XP!" >&2;}
44574 wxUSE_UNICODE_MSLU=no
44575
44576 fi
44577
44578 fi
44579 fi
44580
44581 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
44582 cat >>confdefs.h <<\_ACEOF
44583 #define wxUSE_UNICODE_UTF8 1
44584 _ACEOF
44585
44586
44587 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
44588 cat >>confdefs.h <<\_ACEOF
44589 #define wxUSE_UTF8_LOCALE_ONLY 1
44590 _ACEOF
44591
44592 fi
44593 fi
44594
44595
44596 if test "$wxUSE_CONSTRAINTS" = "yes"; then
44597 cat >>confdefs.h <<\_ACEOF
44598 #define wxUSE_CONSTRAINTS 1
44599 _ACEOF
44600
44601 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
44602 fi
44603
44604 if test "$wxUSE_MDI" = "yes"; then
44605 cat >>confdefs.h <<\_ACEOF
44606 #define wxUSE_MDI 1
44607 _ACEOF
44608
44609
44610 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44611 cat >>confdefs.h <<\_ACEOF
44612 #define wxUSE_MDI_ARCHITECTURE 1
44613 _ACEOF
44614
44615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
44616 fi
44617 fi
44618
44619 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
44620 cat >>confdefs.h <<\_ACEOF
44621 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
44622 _ACEOF
44623
44624 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
44625 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
44626 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
44627 fi
44628 fi
44629
44630 if test "$wxUSE_HELP" = "yes"; then
44631 cat >>confdefs.h <<\_ACEOF
44632 #define wxUSE_HELP 1
44633 _ACEOF
44634
44635 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
44636
44637 if test "$wxUSE_MSW" = 1; then
44638 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
44639 cat >>confdefs.h <<\_ACEOF
44640 #define wxUSE_MS_HTML_HELP 1
44641 _ACEOF
44642
44643 fi
44644 fi
44645
44646 if test "$wxUSE_WXHTML_HELP" = "yes"; then
44647 if test "$wxUSE_HTML" = "yes"; then
44648 cat >>confdefs.h <<\_ACEOF
44649 #define wxUSE_WXHTML_HELP 1
44650 _ACEOF
44651
44652 else
44653 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
44654 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
44655 wxUSE_WXHTML_HELP=no
44656 fi
44657 fi
44658 fi
44659
44660 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
44661 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44662 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
44663 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
44664 else
44665 cat >>confdefs.h <<\_ACEOF
44666 #define wxUSE_PRINTING_ARCHITECTURE 1
44667 _ACEOF
44668
44669 fi
44670 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
44671 fi
44672
44673 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
44674 cat >>confdefs.h <<\_ACEOF
44675 #define wxUSE_POSTSCRIPT 1
44676 _ACEOF
44677
44678 fi
44679
44680 cat >>confdefs.h <<\_ACEOF
44681 #define wxUSE_AFM_FOR_POSTSCRIPT 1
44682 _ACEOF
44683
44684
44685 if test "$wxUSE_SVG" = "yes"; then
44686 cat >>confdefs.h <<\_ACEOF
44687 #define wxUSE_SVG 1
44688 _ACEOF
44689
44690 fi
44691
44692
44693 if test "$wxUSE_METAFILE" = "yes"; then
44694 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
44695 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
44696 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
44697 wxUSE_METAFILE=no
44698 fi
44699 fi
44700
44701
44702 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
44703 -o "$wxUSE_CLIPBOARD" = "yes" \
44704 -o "$wxUSE_OLE" = "yes" \
44705 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
44706 { echo "$as_me:$LINENO: checking for ole2.h" >&5
44707 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
44708 if test "${ac_cv_header_ole2_h+set}" = set; then
44709 echo $ECHO_N "(cached) $ECHO_C" >&6
44710 else
44711 cat >conftest.$ac_ext <<_ACEOF
44712 /* confdefs.h. */
44713 _ACEOF
44714 cat confdefs.h >>conftest.$ac_ext
44715 cat >>conftest.$ac_ext <<_ACEOF
44716 /* end confdefs.h. */
44717
44718
44719 #include <ole2.h>
44720 _ACEOF
44721 rm -f conftest.$ac_objext
44722 if { (ac_try="$ac_compile"
44723 case "(($ac_try" in
44724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44725 *) ac_try_echo=$ac_try;;
44726 esac
44727 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44728 (eval "$ac_compile") 2>conftest.er1
44729 ac_status=$?
44730 grep -v '^ *+' conftest.er1 >conftest.err
44731 rm -f conftest.er1
44732 cat conftest.err >&5
44733 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44734 (exit $ac_status); } && {
44735 test -z "$ac_c_werror_flag" ||
44736 test ! -s conftest.err
44737 } && test -s conftest.$ac_objext; then
44738 ac_cv_header_ole2_h=yes
44739 else
44740 echo "$as_me: failed program was:" >&5
44741 sed 's/^/| /' conftest.$ac_ext >&5
44742
44743 ac_cv_header_ole2_h=no
44744 fi
44745
44746 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44747 fi
44748 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44749 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44750
44751
44752
44753 if test "$ac_cv_header_ole2_h" = "yes" ; then
44754 if test "$GCC" = yes ; then
44755 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44756 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44757 cat >conftest.$ac_ext <<_ACEOF
44758 /* confdefs.h. */
44759 _ACEOF
44760 cat confdefs.h >>conftest.$ac_ext
44761 cat >>conftest.$ac_ext <<_ACEOF
44762 /* end confdefs.h. */
44763 #include <windows.h>
44764 #include <ole2.h>
44765 int
44766 main ()
44767 {
44768
44769 ;
44770 return 0;
44771 }
44772 _ACEOF
44773 rm -f conftest.$ac_objext
44774 if { (ac_try="$ac_compile"
44775 case "(($ac_try" in
44776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44777 *) ac_try_echo=$ac_try;;
44778 esac
44779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44780 (eval "$ac_compile") 2>conftest.er1
44781 ac_status=$?
44782 grep -v '^ *+' conftest.er1 >conftest.err
44783 rm -f conftest.er1
44784 cat conftest.err >&5
44785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44786 (exit $ac_status); } && {
44787 test -z "$ac_c_werror_flag" ||
44788 test ! -s conftest.err
44789 } && test -s conftest.$ac_objext; then
44790 { echo "$as_me:$LINENO: result: no" >&5
44791 echo "${ECHO_T}no" >&6; }
44792 else
44793 echo "$as_me: failed program was:" >&5
44794 sed 's/^/| /' conftest.$ac_ext >&5
44795
44796 { echo "$as_me:$LINENO: result: yes" >&5
44797 echo "${ECHO_T}yes" >&6; }
44798 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44799 fi
44800
44801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44802 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44803 if test "$wxUSE_OLE" = "yes" ; then
44804 cat >>confdefs.h <<\_ACEOF
44805 #define wxUSE_OLE 1
44806 _ACEOF
44807
44808 cat >>confdefs.h <<\_ACEOF
44809 #define wxUSE_OLE_AUTOMATION 1
44810 _ACEOF
44811
44812 cat >>confdefs.h <<\_ACEOF
44813 #define wxUSE_ACTIVEX 1
44814 _ACEOF
44815
44816 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44817 fi
44818 fi
44819
44820 if test "$wxUSE_DATAOBJ" = "yes" ; then
44821 cat >>confdefs.h <<\_ACEOF
44822 #define wxUSE_DATAOBJ 1
44823 _ACEOF
44824
44825 fi
44826 else
44827 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44828 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44829
44830 wxUSE_CLIPBOARD=no
44831 wxUSE_DRAG_AND_DROP=no
44832 wxUSE_DATAOBJ=no
44833 wxUSE_OLE=no
44834 fi
44835
44836 if test "$wxUSE_METAFILE" = "yes"; then
44837 cat >>confdefs.h <<\_ACEOF
44838 #define wxUSE_METAFILE 1
44839 _ACEOF
44840
44841
44842 cat >>confdefs.h <<\_ACEOF
44843 #define wxUSE_ENH_METAFILE 1
44844 _ACEOF
44845
44846 fi
44847 fi
44848
44849 if test "$wxUSE_IPC" = "yes"; then
44850 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44851 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44852 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44853 wxUSE_IPC=no
44854 fi
44855
44856 if test "$wxUSE_IPC" = "yes"; then
44857 cat >>confdefs.h <<\_ACEOF
44858 #define wxUSE_IPC 1
44859 _ACEOF
44860
44861 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44862 fi
44863 fi
44864
44865 if test "$wxUSE_DATAOBJ" = "yes"; then
44866 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44867 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44868 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44869 wxUSE_DATAOBJ=no
44870 else
44871 cat >>confdefs.h <<\_ACEOF
44872 #define wxUSE_DATAOBJ 1
44873 _ACEOF
44874
44875 fi
44876 else
44877 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44878 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44879 wxUSE_CLIPBOARD=no
44880 wxUSE_DRAG_AND_DROP=no
44881 fi
44882
44883 if test "$wxUSE_CLIPBOARD" = "yes"; then
44884 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44885 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44886 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44887 wxUSE_CLIPBOARD=no
44888 fi
44889
44890 if test "$wxUSE_CLIPBOARD" = "yes"; then
44891 cat >>confdefs.h <<\_ACEOF
44892 #define wxUSE_CLIPBOARD 1
44893 _ACEOF
44894
44895 fi
44896 fi
44897
44898 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44899 if test "$wxUSE_GTK" = 1; then
44900 if test "$WXGTK12" != 1; then
44901 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44902 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44903 wxUSE_DRAG_AND_DROP=no
44904 fi
44905 fi
44906
44907 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44908 "$wxUSE_DFB" = 1; then
44909 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44910 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44911 wxUSE_DRAG_AND_DROP=no
44912 fi
44913
44914 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44915 cat >>confdefs.h <<\_ACEOF
44916 #define wxUSE_DRAG_AND_DROP 1
44917 _ACEOF
44918
44919 fi
44920
44921 fi
44922
44923 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44924 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44925 fi
44926
44927 if test "$wxUSE_SPLINES" = "yes" ; then
44928 cat >>confdefs.h <<\_ACEOF
44929 #define wxUSE_SPLINES 1
44930 _ACEOF
44931
44932 fi
44933
44934 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44935 cat >>confdefs.h <<\_ACEOF
44936 #define wxUSE_MOUSEWHEEL 1
44937 _ACEOF
44938
44939 fi
44940
44941
44942 USES_CONTROLS=0
44943 if test "$wxUSE_CONTROLS" = "yes"; then
44944 USES_CONTROLS=1
44945 fi
44946
44947 if test "$wxUSE_ACCEL" = "yes"; then
44948 cat >>confdefs.h <<\_ACEOF
44949 #define wxUSE_ACCEL 1
44950 _ACEOF
44951
44952 USES_CONTROLS=1
44953 fi
44954
44955 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44956 cat >>confdefs.h <<\_ACEOF
44957 #define wxUSE_ANIMATIONCTRL 1
44958 _ACEOF
44959
44960 USES_CONTROLS=1
44961 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44962 fi
44963
44964 if test "$wxUSE_BUTTON" = "yes"; then
44965 cat >>confdefs.h <<\_ACEOF
44966 #define wxUSE_BUTTON 1
44967 _ACEOF
44968
44969 USES_CONTROLS=1
44970 fi
44971
44972 if test "$wxUSE_BMPBUTTON" = "yes"; then
44973 cat >>confdefs.h <<\_ACEOF
44974 #define wxUSE_BMPBUTTON 1
44975 _ACEOF
44976
44977 USES_CONTROLS=1
44978 fi
44979
44980 if test "$wxUSE_CALCTRL" = "yes"; then
44981 cat >>confdefs.h <<\_ACEOF
44982 #define wxUSE_CALENDARCTRL 1
44983 _ACEOF
44984
44985 USES_CONTROLS=1
44986 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44987 fi
44988
44989 if test "$wxUSE_CARET" = "yes"; then
44990 cat >>confdefs.h <<\_ACEOF
44991 #define wxUSE_CARET 1
44992 _ACEOF
44993
44994 USES_CONTROLS=1
44995 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44996 fi
44997
44998 if test "$wxUSE_COLLPANE" = "yes"; then
44999 cat >>confdefs.h <<\_ACEOF
45000 #define wxUSE_COLLPANE 1
45001 _ACEOF
45002
45003 USES_CONTROLS=1
45004 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
45005 fi
45006
45007 if test "$wxUSE_COMBOBOX" = "yes"; then
45008 cat >>confdefs.h <<\_ACEOF
45009 #define wxUSE_COMBOBOX 1
45010 _ACEOF
45011
45012 USES_CONTROLS=1
45013 fi
45014
45015 if test "$wxUSE_COMBOCTRL" = "yes"; then
45016 cat >>confdefs.h <<\_ACEOF
45017 #define wxUSE_COMBOCTRL 1
45018 _ACEOF
45019
45020 USES_CONTROLS=1
45021 fi
45022
45023 if test "$wxUSE_CHOICE" = "yes"; then
45024 cat >>confdefs.h <<\_ACEOF
45025 #define wxUSE_CHOICE 1
45026 _ACEOF
45027
45028 USES_CONTROLS=1
45029 fi
45030
45031 if test "$wxUSE_CHOICEBOOK" = "yes"; then
45032 cat >>confdefs.h <<\_ACEOF
45033 #define wxUSE_CHOICEBOOK 1
45034 _ACEOF
45035
45036 USES_CONTROLS=1
45037 fi
45038
45039 if test "$wxUSE_CHECKBOX" = "yes"; then
45040 cat >>confdefs.h <<\_ACEOF
45041 #define wxUSE_CHECKBOX 1
45042 _ACEOF
45043
45044 USES_CONTROLS=1
45045 fi
45046
45047 if test "$wxUSE_CHECKLST" = "yes"; then
45048 cat >>confdefs.h <<\_ACEOF
45049 #define wxUSE_CHECKLISTBOX 1
45050 _ACEOF
45051
45052 USES_CONTROLS=1
45053 fi
45054
45055 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
45056 cat >>confdefs.h <<\_ACEOF
45057 #define wxUSE_COLOURPICKERCTRL 1
45058 _ACEOF
45059
45060 USES_CONTROLS=1
45061 fi
45062
45063 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
45064 cat >>confdefs.h <<\_ACEOF
45065 #define wxUSE_DATEPICKCTRL 1
45066 _ACEOF
45067
45068 USES_CONTROLS=1
45069 fi
45070
45071 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_DIRPICKERCTRL 1
45074 _ACEOF
45075
45076 USES_CONTROLS=1
45077 fi
45078
45079 if test "$wxUSE_FILECTRL" = "yes"; then
45080 cat >>confdefs.h <<\_ACEOF
45081 #define wxUSE_FILECTRL 1
45082 _ACEOF
45083
45084 USES_CONTROLS=1
45085 fi
45086
45087 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
45088 cat >>confdefs.h <<\_ACEOF
45089 #define wxUSE_FILEPICKERCTRL 1
45090 _ACEOF
45091
45092 USES_CONTROLS=1
45093 fi
45094
45095 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
45096 cat >>confdefs.h <<\_ACEOF
45097 #define wxUSE_FONTPICKERCTRL 1
45098 _ACEOF
45099
45100 USES_CONTROLS=1
45101 fi
45102
45103 if test "$wxUSE_DISPLAY" = "yes"; then
45104 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
45105 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
45106 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
45107 wxUSE_DISPLAY=no
45108 else
45109 cat >>confdefs.h <<\_ACEOF
45110 #define wxUSE_DISPLAY 1
45111 _ACEOF
45112
45113 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display"
45114 fi
45115 fi
45116
45117 if test "$wxUSE_DETECT_SM" = "yes"; then
45118 cat >>confdefs.h <<\_ACEOF
45119 #define wxUSE_DETECT_SM 1
45120 _ACEOF
45121
45122 fi
45123
45124 if test "$wxUSE_GAUGE" = "yes"; then
45125 cat >>confdefs.h <<\_ACEOF
45126 #define wxUSE_GAUGE 1
45127 _ACEOF
45128
45129 USES_CONTROLS=1
45130 fi
45131
45132 if test "$wxUSE_GRID" = "yes"; then
45133 cat >>confdefs.h <<\_ACEOF
45134 #define wxUSE_GRID 1
45135 _ACEOF
45136
45137 USES_CONTROLS=1
45138 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
45139 fi
45140
45141 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
45142 cat >>confdefs.h <<\_ACEOF
45143 #define wxUSE_HYPERLINKCTRL 1
45144 _ACEOF
45145
45146 USES_CONTROLS=1
45147 fi
45148
45149 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
45150 cat >>confdefs.h <<\_ACEOF
45151 #define wxUSE_BITMAPCOMBOBOX 1
45152 _ACEOF
45153
45154 USES_CONTROLS=1
45155 fi
45156
45157 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
45158 cat >>confdefs.h <<\_ACEOF
45159 #define wxUSE_DATAVIEWCTRL 1
45160 _ACEOF
45161
45162 USES_CONTROLS=1
45163 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
45164 fi
45165
45166 if test "$wxUSE_IMAGLIST" = "yes"; then
45167 cat >>confdefs.h <<\_ACEOF
45168 #define wxUSE_IMAGLIST 1
45169 _ACEOF
45170
45171 fi
45172
45173 if test "$wxUSE_LISTBOOK" = "yes"; then
45174 cat >>confdefs.h <<\_ACEOF
45175 #define wxUSE_LISTBOOK 1
45176 _ACEOF
45177
45178 USES_CONTROLS=1
45179 fi
45180
45181 if test "$wxUSE_LISTBOX" = "yes"; then
45182 cat >>confdefs.h <<\_ACEOF
45183 #define wxUSE_LISTBOX 1
45184 _ACEOF
45185
45186 USES_CONTROLS=1
45187 fi
45188
45189 if test "$wxUSE_LISTCTRL" = "yes"; then
45190 if test "$wxUSE_IMAGLIST" = "yes"; then
45191 cat >>confdefs.h <<\_ACEOF
45192 #define wxUSE_LISTCTRL 1
45193 _ACEOF
45194
45195 USES_CONTROLS=1
45196 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
45197 else
45198 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
45199 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
45200 fi
45201 fi
45202
45203 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
45204 cat >>confdefs.h <<\_ACEOF
45205 #define wxUSE_EDITABLELISTBOX 1
45206 _ACEOF
45207
45208 USES_CONTROLS=1
45209 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
45210 fi
45211
45212 if test "$wxUSE_NOTEBOOK" = "yes"; then
45213 cat >>confdefs.h <<\_ACEOF
45214 #define wxUSE_NOTEBOOK 1
45215 _ACEOF
45216
45217 USES_CONTROLS=1
45218 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
45219 fi
45220
45221 if test "$wxUSE_NOTIFICATION_MESSAGE" = "yes"; then
45222 cat >>confdefs.h <<\_ACEOF
45223 #define wxUSE_NOTIFICATION_MESSAGE 1
45224 _ACEOF
45225
45226 fi
45227
45228 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
45229 cat >>confdefs.h <<\_ACEOF
45230 #define wxUSE_ODCOMBOBOX 1
45231 _ACEOF
45232
45233 USES_CONTROLS=1
45234 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
45235 fi
45236
45237 if test "$wxUSE_RADIOBOX" = "yes"; then
45238 cat >>confdefs.h <<\_ACEOF
45239 #define wxUSE_RADIOBOX 1
45240 _ACEOF
45241
45242 USES_CONTROLS=1
45243 fi
45244
45245 if test "$wxUSE_RADIOBTN" = "yes"; then
45246 cat >>confdefs.h <<\_ACEOF
45247 #define wxUSE_RADIOBTN 1
45248 _ACEOF
45249
45250 USES_CONTROLS=1
45251 fi
45252
45253 if test "$wxUSE_SASH" = "yes"; then
45254 cat >>confdefs.h <<\_ACEOF
45255 #define wxUSE_SASH 1
45256 _ACEOF
45257
45258 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
45259 fi
45260
45261 if test "$wxUSE_SCROLLBAR" = "yes"; then
45262 cat >>confdefs.h <<\_ACEOF
45263 #define wxUSE_SCROLLBAR 1
45264 _ACEOF
45265
45266 USES_CONTROLS=1
45267 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
45268 fi
45269
45270 if test "$wxUSE_SEARCHCTRL" = "yes"; then
45271 cat >>confdefs.h <<\_ACEOF
45272 #define wxUSE_SEARCHCTRL 1
45273 _ACEOF
45274
45275 USES_CONTROLS=1
45276 fi
45277
45278 if test "$wxUSE_SLIDER" = "yes"; then
45279 cat >>confdefs.h <<\_ACEOF
45280 #define wxUSE_SLIDER 1
45281 _ACEOF
45282
45283 USES_CONTROLS=1
45284 fi
45285
45286 if test "$wxUSE_SPINBTN" = "yes"; then
45287 cat >>confdefs.h <<\_ACEOF
45288 #define wxUSE_SPINBTN 1
45289 _ACEOF
45290
45291 USES_CONTROLS=1
45292 fi
45293
45294 if test "$wxUSE_SPINCTRL" = "yes"; then
45295 cat >>confdefs.h <<\_ACEOF
45296 #define wxUSE_SPINCTRL 1
45297 _ACEOF
45298
45299 USES_CONTROLS=1
45300 fi
45301
45302 if test "$wxUSE_SPLITTER" = "yes"; then
45303 cat >>confdefs.h <<\_ACEOF
45304 #define wxUSE_SPLITTER 1
45305 _ACEOF
45306
45307 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
45308 fi
45309
45310 if test "$wxUSE_STATBMP" = "yes"; then
45311 cat >>confdefs.h <<\_ACEOF
45312 #define wxUSE_STATBMP 1
45313 _ACEOF
45314
45315 USES_CONTROLS=1
45316 fi
45317
45318 if test "$wxUSE_STATBOX" = "yes"; then
45319 cat >>confdefs.h <<\_ACEOF
45320 #define wxUSE_STATBOX 1
45321 _ACEOF
45322
45323 USES_CONTROLS=1
45324 fi
45325
45326 if test "$wxUSE_STATTEXT" = "yes"; then
45327 cat >>confdefs.h <<\_ACEOF
45328 #define wxUSE_STATTEXT 1
45329 _ACEOF
45330
45331 USES_CONTROLS=1
45332 fi
45333
45334 if test "$wxUSE_STATLINE" = "yes"; then
45335 cat >>confdefs.h <<\_ACEOF
45336 #define wxUSE_STATLINE 1
45337 _ACEOF
45338
45339 USES_CONTROLS=1
45340 fi
45341
45342 if test "$wxUSE_STATUSBAR" = "yes"; then
45343 cat >>confdefs.h <<\_ACEOF
45344 #define wxUSE_NATIVE_STATUSBAR 1
45345 _ACEOF
45346
45347 cat >>confdefs.h <<\_ACEOF
45348 #define wxUSE_STATUSBAR 1
45349 _ACEOF
45350
45351 USES_CONTROLS=1
45352
45353 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
45354 fi
45355
45356 if test "$wxUSE_TAB_DIALOG" = "yes"; then
45357 cat >>confdefs.h <<\_ACEOF
45358 #define wxUSE_TAB_DIALOG 1
45359 _ACEOF
45360
45361 fi
45362
45363 if test "$wxUSE_TEXTCTRL" = "yes"; then
45364 cat >>confdefs.h <<\_ACEOF
45365 #define wxUSE_TEXTCTRL 1
45366 _ACEOF
45367
45368 USES_CONTROLS=1
45369 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
45370 fi
45371
45372 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45373 if test "$wxUSE_COCOA" = 1 ; then
45374 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
45375 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
45376 wxUSE_TOGGLEBTN=no
45377 fi
45378
45379 if test "$wxUSE_TOGGLEBTN" = "yes"; then
45380 cat >>confdefs.h <<\_ACEOF
45381 #define wxUSE_TOGGLEBTN 1
45382 _ACEOF
45383
45384 USES_CONTROLS=1
45385 fi
45386 fi
45387
45388 if test "$wxUSE_TOOLBAR" = "yes"; then
45389 cat >>confdefs.h <<\_ACEOF
45390 #define wxUSE_TOOLBAR 1
45391 _ACEOF
45392
45393 USES_CONTROLS=1
45394
45395 if test "$wxUSE_UNIVERSAL" = "yes"; then
45396 wxUSE_TOOLBAR_NATIVE="no"
45397 else
45398 wxUSE_TOOLBAR_NATIVE="yes"
45399 cat >>confdefs.h <<\_ACEOF
45400 #define wxUSE_TOOLBAR_NATIVE 1
45401 _ACEOF
45402
45403 fi
45404
45405 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
45406 fi
45407
45408 if test "$wxUSE_TOOLTIPS" = "yes"; then
45409 if test "$wxUSE_MOTIF" = 1; then
45410 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
45411 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
45412 else
45413 if test "$wxUSE_UNIVERSAL" = "yes"; then
45414 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
45415 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
45416 else
45417 cat >>confdefs.h <<\_ACEOF
45418 #define wxUSE_TOOLTIPS 1
45419 _ACEOF
45420
45421 fi
45422 fi
45423 fi
45424
45425 if test "$wxUSE_TREEBOOK" = "yes"; then
45426 cat >>confdefs.h <<\_ACEOF
45427 #define wxUSE_TREEBOOK 1
45428 _ACEOF
45429
45430 USES_CONTROLS=1
45431 fi
45432
45433 if test "$wxUSE_TOOLBOOK" = "yes"; then
45434 cat >>confdefs.h <<\_ACEOF
45435 #define wxUSE_TOOLBOOK 1
45436 _ACEOF
45437
45438 USES_CONTROLS=1
45439 fi
45440
45441 if test "$wxUSE_TREECTRL" = "yes"; then
45442 if test "$wxUSE_IMAGLIST" = "yes"; then
45443 cat >>confdefs.h <<\_ACEOF
45444 #define wxUSE_TREECTRL 1
45445 _ACEOF
45446
45447 USES_CONTROLS=1
45448 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
45449 else
45450 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
45451 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
45452 fi
45453 fi
45454
45455 if test "$wxUSE_POPUPWIN" = "yes"; then
45456 if test "$wxUSE_COCOA" = 1 ; then
45457 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
45458 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
45459 else
45460 if test "$wxUSE_PM" = 1; then
45461 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
45462 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
45463 else
45464 cat >>confdefs.h <<\_ACEOF
45465 #define wxUSE_POPUPWIN 1
45466 _ACEOF
45467
45468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
45469
45470 USES_CONTROLS=1
45471 fi
45472 fi
45473 fi
45474
45475 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
45476 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
45477 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
45478 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
45479 else
45480 cat >>confdefs.h <<\_ACEOF
45481 #define wxUSE_DIALUP_MANAGER 1
45482 _ACEOF
45483
45484 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
45485 fi
45486 fi
45487
45488 if test "$wxUSE_TIPWINDOW" = "yes"; then
45489 if test "$wxUSE_PM" = 1; then
45490 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
45491 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
45492 else
45493 cat >>confdefs.h <<\_ACEOF
45494 #define wxUSE_TIPWINDOW 1
45495 _ACEOF
45496
45497 fi
45498 fi
45499
45500 if test "$USES_CONTROLS" = 1; then
45501 cat >>confdefs.h <<\_ACEOF
45502 #define wxUSE_CONTROLS 1
45503 _ACEOF
45504
45505 fi
45506
45507
45508 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
45509 cat >>confdefs.h <<\_ACEOF
45510 #define wxUSE_ACCESSIBILITY 1
45511 _ACEOF
45512
45513 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
45514 fi
45515
45516 if test "$wxUSE_DRAGIMAGE" = "yes"; then
45517 cat >>confdefs.h <<\_ACEOF
45518 #define wxUSE_DRAGIMAGE 1
45519 _ACEOF
45520
45521 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
45522 fi
45523
45524 if test "$wxUSE_EXCEPTIONS" = "yes"; then
45525 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
45526 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
45527 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
45528 else
45529 cat >>confdefs.h <<\_ACEOF
45530 #define wxUSE_EXCEPTIONS 1
45531 _ACEOF
45532
45533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
45534 fi
45535 fi
45536
45537 USE_HTML=0
45538 if test "$wxUSE_HTML" = "yes"; then
45539 cat >>confdefs.h <<\_ACEOF
45540 #define wxUSE_HTML 1
45541 _ACEOF
45542
45543 USE_HTML=1
45544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
45545 if test "$wxUSE_MAC" = 1; then
45546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
45547 fi
45548 fi
45549 if test "$wxUSE_WEBKIT" = "yes"; then
45550 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
45551 old_CPPFLAGS="$CPPFLAGS"
45552 CPPFLAGS="-x objective-c++ $CPPFLAGS"
45553 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
45554 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
45555 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
45556 echo $ECHO_N "(cached) $ECHO_C" >&6
45557 else
45558 cat >conftest.$ac_ext <<_ACEOF
45559 /* confdefs.h. */
45560 _ACEOF
45561 cat confdefs.h >>conftest.$ac_ext
45562 cat >>conftest.$ac_ext <<_ACEOF
45563 /* end confdefs.h. */
45564
45565 #include <Carbon/Carbon.h>
45566 #include <WebKit/WebKit.h>
45567
45568
45569 #include <WebKit/HIWebView.h>
45570 _ACEOF
45571 rm -f conftest.$ac_objext
45572 if { (ac_try="$ac_compile"
45573 case "(($ac_try" in
45574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
45575 *) ac_try_echo=$ac_try;;
45576 esac
45577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
45578 (eval "$ac_compile") 2>conftest.er1
45579 ac_status=$?
45580 grep -v '^ *+' conftest.er1 >conftest.err
45581 rm -f conftest.er1
45582 cat conftest.err >&5
45583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45584 (exit $ac_status); } && {
45585 test -z "$ac_c_werror_flag" ||
45586 test ! -s conftest.err
45587 } && test -s conftest.$ac_objext; then
45588 ac_cv_header_WebKit_HIWebView_h=yes
45589 else
45590 echo "$as_me: failed program was:" >&5
45591 sed 's/^/| /' conftest.$ac_ext >&5
45592
45593 ac_cv_header_WebKit_HIWebView_h=no
45594 fi
45595
45596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
45597 fi
45598 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
45599 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
45600 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
45601
45602 cat >>confdefs.h <<\_ACEOF
45603 #define wxUSE_WEBKIT 1
45604 _ACEOF
45605
45606 WEBKIT_LINK="-framework WebKit"
45607
45608 else
45609
45610 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
45611 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
45612 wxUSE_WEBKIT=no
45613
45614 fi
45615
45616
45617 CPPFLAGS="$old_CPPFLAGS"
45618 elif test "$wxUSE_COCOA" = 1; then
45619 cat >>confdefs.h <<\_ACEOF
45620 #define wxUSE_WEBKIT 1
45621 _ACEOF
45622
45623 else
45624 wxUSE_WEBKIT=no
45625 fi
45626 fi
45627
45628 USE_XRC=0
45629 if test "$wxUSE_XRC" = "yes"; then
45630 if test "$wxUSE_XML" != "yes"; then
45631 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
45632 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
45633 wxUSE_XRC=no
45634 else
45635 cat >>confdefs.h <<\_ACEOF
45636 #define wxUSE_XRC 1
45637 _ACEOF
45638
45639 USE_XRC=1
45640 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
45641 fi
45642 fi
45643
45644 USE_AUI=0
45645 if test "$wxUSE_AUI" = "yes"; then
45646 cat >>confdefs.h <<\_ACEOF
45647 #define wxUSE_AUI 1
45648 _ACEOF
45649
45650 USE_AUI=1
45651 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
45652 fi
45653
45654 USE_STC=0
45655 if test "$wxUSE_STC" = "yes"; then
45656 cat >>confdefs.h <<\_ACEOF
45657 #define wxUSE_STC 1
45658 _ACEOF
45659
45660 USE_STC=1
45661 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
45662 fi
45663
45664 if test "$wxUSE_MENUS" = "yes"; then
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_MENUS 1
45667 _ACEOF
45668
45669 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
45670 fi
45671
45672 if test "$wxUSE_METAFILE" = "yes"; then
45673 cat >>confdefs.h <<\_ACEOF
45674 #define wxUSE_METAFILE 1
45675 _ACEOF
45676
45677 fi
45678
45679 if test "$wxUSE_MIMETYPE" = "yes"; then
45680 cat >>confdefs.h <<\_ACEOF
45681 #define wxUSE_MIMETYPE 1
45682 _ACEOF
45683
45684 fi
45685
45686 if test "$wxUSE_MINIFRAME" = "yes"; then
45687 cat >>confdefs.h <<\_ACEOF
45688 #define wxUSE_MINIFRAME 1
45689 _ACEOF
45690
45691 fi
45692
45693 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
45694 cat >>confdefs.h <<\_ACEOF
45695 #define wxUSE_SYSTEM_OPTIONS 1
45696 _ACEOF
45697
45698 fi
45699
45700 if test "$wxUSE_TASKBARICON" = "yes"; then
45701 cat >>confdefs.h <<\_ACEOF
45702 #define wxUSE_TASKBARICON 1
45703 _ACEOF
45704
45705 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
45706 fi
45707
45708
45709 if test "$wxUSE_VALIDATORS" = "yes"; then
45710 cat >>confdefs.h <<\_ACEOF
45711 #define wxUSE_VALIDATORS 1
45712 _ACEOF
45713
45714 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
45715 fi
45716
45717 if test "$wxUSE_PALETTE" = "yes" ; then
45718 if test "$wxUSE_DFB" = 1; then
45719 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
45720 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
45721 wxUSE_PALETTE=no
45722 else
45723 cat >>confdefs.h <<\_ACEOF
45724 #define wxUSE_PALETTE 1
45725 _ACEOF
45726
45727 fi
45728 fi
45729
45730 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
45731 LIBS=" -lunicows $LIBS"
45732 fi
45733
45734 USE_RICHTEXT=0
45735 if test "$wxUSE_RICHTEXT" = "yes"; then
45736 cat >>confdefs.h <<\_ACEOF
45737 #define wxUSE_RICHTEXT 1
45738 _ACEOF
45739
45740 USE_RICHTEXT=1
45741 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
45742 fi
45743
45744
45745 if test "$wxUSE_IMAGE" = "yes" ; then
45746 cat >>confdefs.h <<\_ACEOF
45747 #define wxUSE_IMAGE 1
45748 _ACEOF
45749
45750
45751 if test "$wxUSE_GIF" = "yes" ; then
45752 cat >>confdefs.h <<\_ACEOF
45753 #define wxUSE_GIF 1
45754 _ACEOF
45755
45756 fi
45757
45758 if test "$wxUSE_PCX" = "yes" ; then
45759 cat >>confdefs.h <<\_ACEOF
45760 #define wxUSE_PCX 1
45761 _ACEOF
45762
45763 fi
45764
45765 if test "$wxUSE_TGA" = "yes" ; then
45766 cat >>confdefs.h <<\_ACEOF
45767 #define wxUSE_TGA 1
45768 _ACEOF
45769
45770 fi
45771
45772 if test "$wxUSE_IFF" = "yes" ; then
45773 cat >>confdefs.h <<\_ACEOF
45774 #define wxUSE_IFF 1
45775 _ACEOF
45776
45777 fi
45778
45779 if test "$wxUSE_PNM" = "yes" ; then
45780 cat >>confdefs.h <<\_ACEOF
45781 #define wxUSE_PNM 1
45782 _ACEOF
45783
45784 fi
45785
45786 if test "$wxUSE_XPM" = "yes" ; then
45787 cat >>confdefs.h <<\_ACEOF
45788 #define wxUSE_XPM 1
45789 _ACEOF
45790
45791 fi
45792
45793 if test "$wxUSE_ICO_CUR" = "yes" ; then
45794 cat >>confdefs.h <<\_ACEOF
45795 #define wxUSE_ICO_CUR 1
45796 _ACEOF
45797
45798 fi
45799 fi
45800
45801
45802 if test "$wxUSE_ABOUTDLG" = "yes"; then
45803 cat >>confdefs.h <<\_ACEOF
45804 #define wxUSE_ABOUTDLG 1
45805 _ACEOF
45806
45807 fi
45808
45809 if test "$wxUSE_CHOICEDLG" = "yes"; then
45810 cat >>confdefs.h <<\_ACEOF
45811 #define wxUSE_CHOICEDLG 1
45812 _ACEOF
45813
45814 fi
45815
45816 if test "$wxUSE_COLOURDLG" = "yes"; then
45817 cat >>confdefs.h <<\_ACEOF
45818 #define wxUSE_COLOURDLG 1
45819 _ACEOF
45820
45821 fi
45822
45823 if test "$wxUSE_FILEDLG" = "yes"; then
45824 cat >>confdefs.h <<\_ACEOF
45825 #define wxUSE_FILEDLG 1
45826 _ACEOF
45827
45828 fi
45829
45830 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45831 cat >>confdefs.h <<\_ACEOF
45832 #define wxUSE_FINDREPLDLG 1
45833 _ACEOF
45834
45835 fi
45836
45837 if test "$wxUSE_FONTDLG" = "yes"; then
45838 cat >>confdefs.h <<\_ACEOF
45839 #define wxUSE_FONTDLG 1
45840 _ACEOF
45841
45842 fi
45843
45844 if test "$wxUSE_DIRDLG" = "yes"; then
45845 if test "$wxUSE_TREECTRL" != "yes"; then
45846 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45847 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45848 else
45849 cat >>confdefs.h <<\_ACEOF
45850 #define wxUSE_DIRDLG 1
45851 _ACEOF
45852
45853 fi
45854 fi
45855
45856 if test "$wxUSE_MSGDLG" = "yes"; then
45857 cat >>confdefs.h <<\_ACEOF
45858 #define wxUSE_MSGDLG 1
45859 _ACEOF
45860
45861 fi
45862
45863 if test "$wxUSE_NUMBERDLG" = "yes"; then
45864 cat >>confdefs.h <<\_ACEOF
45865 #define wxUSE_NUMBERDLG 1
45866 _ACEOF
45867
45868 fi
45869
45870 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45871 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45872 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45873 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45874 else
45875 cat >>confdefs.h <<\_ACEOF
45876 #define wxUSE_PROGRESSDLG 1
45877 _ACEOF
45878
45879 fi
45880 fi
45881
45882 if test "$wxUSE_SPLASH" = "yes"; then
45883 cat >>confdefs.h <<\_ACEOF
45884 #define wxUSE_SPLASH 1
45885 _ACEOF
45886
45887 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45888 fi
45889
45890 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45891 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45892 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45893 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45894 else
45895 cat >>confdefs.h <<\_ACEOF
45896 #define wxUSE_STARTUP_TIPS 1
45897 _ACEOF
45898
45899 fi
45900 fi
45901
45902 if test "$wxUSE_TEXTDLG" = "yes"; then
45903 cat >>confdefs.h <<\_ACEOF
45904 #define wxUSE_TEXTDLG 1
45905 _ACEOF
45906
45907 fi
45908
45909 if test "$wxUSE_WIZARDDLG" = "yes"; then
45910 cat >>confdefs.h <<\_ACEOF
45911 #define wxUSE_WIZARDDLG 1
45912 _ACEOF
45913
45914 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45915 fi
45916
45917
45918 if test "$wxUSE_MSW" = 1 -o "$wxUSE_PM" = 1; then
45919 if test "$wxUSE_OWNER_DRAWN" = "yes"; then
45920 cat >>confdefs.h <<\_ACEOF
45921 #define wxUSE_OWNER_DRAWN 1
45922 _ACEOF
45923
45924 fi
45925 fi
45926
45927
45928 if test "$wxUSE_MSW" = 1 ; then
45929
45930 if test "$wxUSE_DC_CACHEING" = "yes"; then
45931 cat >>confdefs.h <<\_ACEOF
45932 #define wxUSE_DC_CACHEING 1
45933 _ACEOF
45934
45935 fi
45936
45937 if test "$wxUSE_DIB" = "yes"; then
45938 cat >>confdefs.h <<\_ACEOF
45939 #define wxUSE_WXDIB 1
45940 _ACEOF
45941
45942 fi
45943
45944 if test "$wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW" = "yes"; then
45945 cat >>confdefs.h <<\_ACEOF
45946 #define wxUSE_POSTSCRIPT_ARCHITECTURE_IN_MSW 1
45947 _ACEOF
45948
45949 fi
45950
45951 if test "$wxUSE_UXTHEME" = "yes"; then
45952 cat >>confdefs.h <<\_ACEOF
45953 #define wxUSE_UXTHEME 1
45954 _ACEOF
45955
45956 fi
45957
45958 fi
45959
45960 if test "$wxUSE_AUTOID_MANAGEMENT" = "yes"; then
45961 cat >>confdefs.h <<\_ACEOF
45962 #define wxUSE_AUTOID_MANAGEMENT 1
45963 _ACEOF
45964
45965 fi
45966
45967 if test "$USE_WIN32" = 1 ; then
45968 if test "$wxUSE_INICONF" = "yes"; then
45969 cat >>confdefs.h <<\_ACEOF
45970 #define wxUSE_INICONF 1
45971 _ACEOF
45972
45973 fi
45974
45975 if test "$wxUSE_REGKEY" = "yes"; then
45976 cat >>confdefs.h <<\_ACEOF
45977 #define wxUSE_REGKEY 1
45978 _ACEOF
45979
45980 fi
45981 fi
45982
45983
45984 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45985 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
45986 cat >>confdefs.h <<\_ACEOF
45987 #define wxUSE_GRAPHICS_CONTEXT 1
45988 _ACEOF
45989
45990 elif test "$wxUSE_GTK" != 1; then
45991 cat >>confdefs.h <<\_ACEOF
45992 #define wxUSE_GRAPHICS_CONTEXT 1
45993 _ACEOF
45994
45995 else
45996
45997 pkg_failed=no
45998 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45999 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
46000
46001 if test -n "$PKG_CONFIG"; then
46002 if test -n "$CAIRO_CFLAGS"; then
46003 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
46004 else
46005 if test -n "$PKG_CONFIG" && \
46006 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46007 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46008 ac_status=$?
46009 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46010 (exit $ac_status); }; then
46011 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
46012 else
46013 pkg_failed=yes
46014 fi
46015 fi
46016 else
46017 pkg_failed=untried
46018 fi
46019 if test -n "$PKG_CONFIG"; then
46020 if test -n "$CAIRO_LIBS"; then
46021 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
46022 else
46023 if test -n "$PKG_CONFIG" && \
46024 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
46025 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
46026 ac_status=$?
46027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46028 (exit $ac_status); }; then
46029 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
46030 else
46031 pkg_failed=yes
46032 fi
46033 fi
46034 else
46035 pkg_failed=untried
46036 fi
46037
46038
46039
46040 if test $pkg_failed = yes; then
46041
46042 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46043 _pkg_short_errors_supported=yes
46044 else
46045 _pkg_short_errors_supported=no
46046 fi
46047 if test $_pkg_short_errors_supported = yes; then
46048 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
46049 else
46050 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
46051 fi
46052 # Put the nasty error message in config.log where it belongs
46053 echo "$CAIRO_PKG_ERRORS" >&5
46054
46055 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46056 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46057
46058 elif test $pkg_failed = untried; then
46059 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
46060 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
46061
46062 else
46063 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
46064 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
46065 { echo "$as_me:$LINENO: result: yes" >&5
46066 echo "${ECHO_T}yes" >&6; }
46067 cat >>confdefs.h <<\_ACEOF
46068 #define wxUSE_GRAPHICS_CONTEXT 1
46069 _ACEOF
46070
46071 fi
46072 fi
46073 fi
46074
46075
46076 USE_MEDIA=0
46077
46078 if test "$wxUSE_MEDIACTRL" = "yes"; then
46079 USE_MEDIA=1
46080
46081 if test "$wxUSE_GTK" = 1; then
46082 wxUSE_GSTREAMER="no"
46083
46084 GST_VERSION_MAJOR=0
46085 GST_VERSION_MINOR=10
46086 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46087
46088 if test "$wxUSE_GSTREAMER8" = "no"; then
46089
46090 pkg_failed=no
46091 { echo "$as_me:$LINENO: checking for GST" >&5
46092 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46093
46094 if test -n "$PKG_CONFIG"; then
46095 if test -n "$GST_CFLAGS"; then
46096 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46097 else
46098 if test -n "$PKG_CONFIG" && \
46099 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46100 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46101 ac_status=$?
46102 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46103 (exit $ac_status); }; then
46104 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46105 else
46106 pkg_failed=yes
46107 fi
46108 fi
46109 else
46110 pkg_failed=untried
46111 fi
46112 if test -n "$PKG_CONFIG"; then
46113 if test -n "$GST_LIBS"; then
46114 pkg_cv_GST_LIBS="$GST_LIBS"
46115 else
46116 if test -n "$PKG_CONFIG" && \
46117 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
46118 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
46119 ac_status=$?
46120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46121 (exit $ac_status); }; then
46122 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
46123 else
46124 pkg_failed=yes
46125 fi
46126 fi
46127 else
46128 pkg_failed=untried
46129 fi
46130
46131
46132
46133 if test $pkg_failed = yes; then
46134
46135 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46136 _pkg_short_errors_supported=yes
46137 else
46138 _pkg_short_errors_supported=no
46139 fi
46140 if test $_pkg_short_errors_supported = yes; then
46141 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46142 else
46143 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
46144 fi
46145 # Put the nasty error message in config.log where it belongs
46146 echo "$GST_PKG_ERRORS" >&5
46147
46148
46149 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46150 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46151 GST_VERSION_MINOR=8
46152
46153
46154 elif test $pkg_failed = untried; then
46155
46156 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
46157 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
46158 GST_VERSION_MINOR=8
46159
46160
46161 else
46162 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46163 GST_LIBS=$pkg_cv_GST_LIBS
46164 { echo "$as_me:$LINENO: result: yes" >&5
46165 echo "${ECHO_T}yes" >&6; }
46166
46167 wxUSE_GSTREAMER="yes"
46168 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
46169
46170 fi
46171 else
46172 GST_VERSION_MINOR=8
46173 fi
46174
46175 if test $GST_VERSION_MINOR = "8"; then
46176 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
46177
46178 pkg_failed=no
46179 { echo "$as_me:$LINENO: checking for GST" >&5
46180 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
46181
46182 if test -n "$PKG_CONFIG"; then
46183 if test -n "$GST_CFLAGS"; then
46184 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
46185 else
46186 if test -n "$PKG_CONFIG" && \
46187 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46188 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46189 ac_status=$?
46190 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46191 (exit $ac_status); }; then
46192 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46193 else
46194 pkg_failed=yes
46195 fi
46196 fi
46197 else
46198 pkg_failed=untried
46199 fi
46200 if test -n "$PKG_CONFIG"; then
46201 if test -n "$GST_LIBS"; then
46202 pkg_cv_GST_LIBS="$GST_LIBS"
46203 else
46204 if test -n "$PKG_CONFIG" && \
46205 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
46206 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
46207 ac_status=$?
46208 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46209 (exit $ac_status); }; then
46210 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
46211 else
46212 pkg_failed=yes
46213 fi
46214 fi
46215 else
46216 pkg_failed=untried
46217 fi
46218
46219
46220
46221 if test $pkg_failed = yes; then
46222
46223 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
46224 _pkg_short_errors_supported=yes
46225 else
46226 _pkg_short_errors_supported=no
46227 fi
46228 if test $_pkg_short_errors_supported = yes; then
46229 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46230 else
46231 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
46232 fi
46233 # Put the nasty error message in config.log where it belongs
46234 echo "$GST_PKG_ERRORS" >&5
46235
46236
46237 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46238 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46239
46240 elif test $pkg_failed = untried; then
46241
46242 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
46243 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
46244
46245 else
46246 GST_CFLAGS=$pkg_cv_GST_CFLAGS
46247 GST_LIBS=$pkg_cv_GST_LIBS
46248 { echo "$as_me:$LINENO: result: yes" >&5
46249 echo "${ECHO_T}yes" >&6; }
46250 wxUSE_GSTREAMER="yes"
46251 fi
46252 fi
46253
46254
46255 if test "$wxUSE_GSTREAMER" = "yes"; then
46256 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
46257 EXTRALIBS_MEDIA="$GST_LIBS"
46258
46259 cat >>confdefs.h <<\_ACEOF
46260 #define wxUSE_GSTREAMER 1
46261 _ACEOF
46262
46263 else
46264 USE_MEDIA=0
46265 fi
46266 fi
46267
46268 if test $USE_MEDIA = 1; then
46269 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
46270 cat >>confdefs.h <<\_ACEOF
46271 #define wxUSE_MEDIACTRL 1
46272 _ACEOF
46273
46274 fi
46275 fi
46276
46277
46278 if test "$cross_compiling" = "yes"; then
46279 OSINFO="\"$host\""
46280 else
46281 OSINFO=`uname -s -r -m`
46282 OSINFO="\"$OSINFO\""
46283 fi
46284
46285 cat >>confdefs.h <<_ACEOF
46286 #define WXWIN_OS_DESCRIPTION $OSINFO
46287 _ACEOF
46288
46289
46290
46291 if test "x$prefix" != "xNONE"; then
46292 wxPREFIX=$prefix
46293 else
46294 wxPREFIX=$ac_default_prefix
46295 fi
46296
46297 cat >>confdefs.h <<_ACEOF
46298 #define wxINSTALL_PREFIX "$wxPREFIX"
46299 _ACEOF
46300
46301
46302
46303
46304 STD_BASE_LIBS="base"
46305 STD_GUI_LIBS=""
46306 BUILT_WX_LIBS="base"
46307 ALL_WX_LIBS="xrc stc gl media qa html adv core xml net base"
46308
46309 if test "$wxUSE_SOCKETS" = "yes" ; then
46310 STD_BASE_LIBS="net $STD_BASE_LIBS"
46311 BUILT_WX_LIBS="net $BUILT_WX_LIBS"
46312 fi
46313 if test "$wxUSE_XML" = "yes" ; then
46314 STD_BASE_LIBS="xml $STD_BASE_LIBS"
46315 BUILT_WX_LIBS="xml $BUILT_WX_LIBS"
46316 fi
46317
46318 if test "$wxUSE_GUI" = "yes"; then
46319 STD_GUI_LIBS="adv core"
46320 BUILT_WX_LIBS="$STD_GUI_LIBS $BUILT_WX_LIBS"
46321
46322 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46323 STD_GUI_LIBS="qa $STD_GUI_LIBS"
46324 BUILT_WX_LIBS="qa $BUILT_WX_LIBS"
46325 fi
46326 if test "$wxUSE_HTML" = "yes" ; then
46327 STD_GUI_LIBS="html $STD_GUI_LIBS"
46328 BUILT_WX_LIBS="html $BUILT_WX_LIBS"
46329 fi
46330 if test "$wxUSE_MEDIACTRL" = "yes" ; then
46331 BUILT_WX_LIBS="media $BUILT_WX_LIBS"
46332 fi
46333 if test "$wxUSE_OPENGL" = "yes" ; then
46334 BUILT_WX_LIBS="gl $BUILT_WX_LIBS"
46335 fi
46336 if test "$wxUSE_AUI" = "yes" ; then
46337 BUILT_WX_LIBS="aui $BUILT_WX_LIBS"
46338 fi
46339 if test "$wxUSE_STC" = "yes" ; then
46340 BUILT_WX_LIBS="stc $BUILT_WX_LIBS"
46341 fi
46342 if test "$wxUSE_XRC" = "yes" ; then
46343 STD_GUI_LIBS="xrc $STD_GUI_LIBS"
46344 BUILT_WX_LIBS="xrc $BUILT_WX_LIBS"
46345 fi
46346 fi
46347
46348
46349
46350
46351
46352
46353
46354
46355 if test "$wxUSE_MAC" = 1 ; then
46356 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
46357 if test "$USE_DARWIN" = 1; then
46358 LDFLAGS="$LDFLAGS -framework QuickTime"
46359 else
46360 LDFLAGS="$LDFLAGS -lQuickTimeLib"
46361 fi
46362 fi
46363 if test "$USE_DARWIN" = 1; then
46364 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
46365 else
46366 LDFLAGS="$LDFLAGS -lCarbonLib"
46367 fi
46368 fi
46369 if test "$wxUSE_COCOA" = 1 ; then
46370 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
46371 if test "$wxUSE_MEDIACTRL" = "yes"; then
46372 LDFLAGS="$LDFLAGS -framework QuickTime"
46373 fi
46374 fi
46375 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
46376 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
46377 fi
46378
46379 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
46380
46381 if test "$wxUSE_GUI" = "yes"; then
46382
46383
46384 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
46385 erase event exec font image minimal mobile \
46386 mobile/wxedit mobile/styles render \
46387 shaped svg taborder vscroll widgets"
46388
46389 if test "$wxUSE_MONOLITHIC" != "yes"; then
46390 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
46391 fi
46392 if test "$TOOLKIT" = "MSW"; then
46393 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
46394 if test "$wxUSE_UNIVERSAL" != "yes"; then
46395 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
46396 fi
46397 fi
46398 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
46399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
46400 fi
46401 else
46402 SAMPLES_SUBDIRS="console"
46403 if test "$wxUSE_SOCKETS" = "yes" ; then
46404 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
46405 fi
46406 fi
46407
46408
46409 if test "x$INTELCC" = "xyes" ; then
46410 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
46411 elif test "$GCC" = yes ; then
46412 CWARNINGS="-Wall -Wundef"
46413 fi
46414
46415 if test "x$INTELCXX" = "xyes" ; then
46416 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
46417 elif test "$GXX" = yes ; then
46418 CXXWARNINGS="-Wall -Wundef -Wunused-parameter -Wno-ctor-dtor-privacy"
46419 fi
46420
46421
46422 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
46423 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
46424
46425
46426 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
46427 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
46428 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
46429 $CPPFLAGS `
46430
46431 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
46432 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
46433 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
46434
46435 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
46436
46437
46438 if test "x$MWCC" = "xyes"; then
46439
46440 CC="$CC -cwd source -I-"
46441 CXX="$CXX -cwd source -I-"
46442 fi
46443
46444
46445 LIBS=`echo $LIBS`
46446 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
46447 EXTRALIBS_XML="$EXPAT_LINK"
46448 EXTRALIBS_HTML="$MSPACK_LINK"
46449 EXTRALIBS_MEDIA="$GST_LIBS"
46450 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
46451 if test "$wxUSE_GUI" = "yes"; then
46452 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
46453 fi
46454 if test "$wxUSE_OPENGL" = "yes"; then
46455 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
46456 fi
46457
46458 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
46459
46460 WXCONFIG_LIBS="$LIBS"
46461
46462 if test "$wxUSE_REGEX" = "builtin" ; then
46463 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
46464 fi
46465 if test "$wxUSE_EXPAT" = "builtin" ; then
46466 wxconfig_3rdparty="expat $wxconfig_3rdparty"
46467 fi
46468 if test "$wxUSE_LIBTIFF" = "builtin" ; then
46469 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
46470 fi
46471 if test "$wxUSE_LIBJPEG" = "builtin" ; then
46472 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
46473 fi
46474 if test "$wxUSE_LIBPNG" = "builtin" ; then
46475 wxconfig_3rdparty="png $wxconfig_3rdparty"
46476 fi
46477 if test "$wxUSE_ZLIB" = "builtin" ; then
46478 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
46479 fi
46480
46481 for i in $wxconfig_3rdparty ; do
46482 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
46483 done
46484
46485
46486 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
46487 WXUNIV=1
46488
46489 case "$wxUNIV_THEMES" in
46490 ''|all)
46491 cat >>confdefs.h <<\_ACEOF
46492 #define wxUSE_ALL_THEMES 1
46493 _ACEOF
46494
46495 ;;
46496
46497 *)
46498 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr '[a-z]' '[A-Z]'`; do
46499 cat >>confdefs.h <<_ACEOF
46500 #define wxUSE_THEME_$t 1
46501 _ACEOF
46502
46503 done
46504 esac
46505 else
46506 WXUNIV=0
46507 fi
46508
46509
46510
46511
46512
46513
46514
46515
46516 if test $wxUSE_MONOLITHIC = "yes" ; then
46517 MONOLITHIC=1
46518 else
46519 MONOLITHIC=0
46520 fi
46521
46522 if test $wxUSE_PLUGINS = "yes" ; then
46523 USE_PLUGINS=1
46524 else
46525 USE_PLUGINS=0
46526 fi
46527
46528 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
46529 USE_QA=1
46530 else
46531 USE_QA=0
46532 fi
46533
46534 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
46535 OFFICIAL_BUILD=1
46536 else
46537 OFFICIAL_BUILD=0
46538 fi
46539
46540
46541
46542
46543
46544
46545
46546
46547
46548
46549
46550
46551
46552
46553
46554
46555
46556
46557
46558
46559
46560
46561
46562
46563
46564
46565
46566
46567 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr '[A-Z]' '[a-z]'`
46568
46569
46570
46571
46572
46573
46574
46575
46576 case "$TOOLKIT" in
46577 GTK)
46578 TOOLKIT_DESC="GTK+"
46579 if test "$WXGTK2" = 1; then
46580 TOOLKIT_DESC="$TOOLKIT_DESC 2"
46581 if test "$wxUSE_GTKPRINT" = "yes" ; then
46582 TOOLKIT_EXTRA="$TOOLKIT_EXTRA GTK+ printing";
46583 fi
46584 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
46585 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
46586 fi
46587 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
46588 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
46589 fi
46590 if test "$wxUSE_LIBHILDON" = "yes"; then
46591 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
46592 fi
46593
46594 if test "$TOOLKIT_EXTRA" != ""; then
46595 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
46596 fi
46597 fi
46598 ;;
46599
46600 ?*)
46601 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
46602 ;;
46603
46604 *)
46605 TOOLKIT_DESC="base only"
46606 ;;
46607 esac
46608
46609 if test "$wxUSE_WINE" = "yes"; then
46610 BAKEFILE_FORCE_PLATFORM=win32
46611 fi
46612
46613 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
46614 then
46615 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
46616 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
46617 if test "${wx_cv_gcc_pch_bug+set}" = set; then
46618 echo $ECHO_N "(cached) $ECHO_C" >&6
46619 else
46620
46621 echo '#include <stdio.h>
46622 const wchar_t test_var[] = L"awidetest";' > conftest.h
46623
46624 echo '#include "conftest.h"
46625 int main()
46626 {
46627 printf("%ls", test_var);
46628 return 0;
46629 }' > conftest.cpp
46630
46631 wx_cv_gcc_pch_bug="pch not supported"
46632
46633 if $CXX conftest.h >/dev/null 2>&1
46634 then
46635 wx_cv_gcc_pch_bug=
46636
46637 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
46638 then
46639 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
46640 grep awidetest >/dev/null
46641 then
46642 wx_cv_gcc_pch_bug=no
46643 else
46644 wx_cv_gcc_pch_bug=yes
46645 fi
46646 fi
46647 fi
46648
46649 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
46650
46651 fi
46652 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
46653 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
46654
46655 if test "$wx_cv_gcc_pch_bug" = yes; then
46656 bk_use_pch=no
46657 fi
46658 fi
46659
46660
46661
46662
46663 if test "x$BAKEFILE_HOST" = "x"; then
46664 if test "x${host}" = "x" ; then
46665 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
46666 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
46667 { (exit 1); exit 1; }; }
46668 fi
46669
46670 BAKEFILE_HOST="${host}"
46671 fi
46672
46673 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
46674
46675 if test -n "$ac_tool_prefix"; then
46676 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
46677 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
46678 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46679 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46680 if test "${ac_cv_prog_RANLIB+set}" = set; then
46681 echo $ECHO_N "(cached) $ECHO_C" >&6
46682 else
46683 if test -n "$RANLIB"; then
46684 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
46685 else
46686 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46687 for as_dir in $PATH
46688 do
46689 IFS=$as_save_IFS
46690 test -z "$as_dir" && as_dir=.
46691 for ac_exec_ext in '' $ac_executable_extensions; do
46692 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46693 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
46694 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46695 break 2
46696 fi
46697 done
46698 done
46699 IFS=$as_save_IFS
46700
46701 fi
46702 fi
46703 RANLIB=$ac_cv_prog_RANLIB
46704 if test -n "$RANLIB"; then
46705 { echo "$as_me:$LINENO: result: $RANLIB" >&5
46706 echo "${ECHO_T}$RANLIB" >&6; }
46707 else
46708 { echo "$as_me:$LINENO: result: no" >&5
46709 echo "${ECHO_T}no" >&6; }
46710 fi
46711
46712
46713 fi
46714 if test -z "$ac_cv_prog_RANLIB"; then
46715 ac_ct_RANLIB=$RANLIB
46716 # Extract the first word of "ranlib", so it can be a program name with args.
46717 set dummy ranlib; ac_word=$2
46718 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46719 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46720 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
46721 echo $ECHO_N "(cached) $ECHO_C" >&6
46722 else
46723 if test -n "$ac_ct_RANLIB"; then
46724 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
46725 else
46726 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46727 for as_dir in $PATH
46728 do
46729 IFS=$as_save_IFS
46730 test -z "$as_dir" && as_dir=.
46731 for ac_exec_ext in '' $ac_executable_extensions; do
46732 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46733 ac_cv_prog_ac_ct_RANLIB="ranlib"
46734 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46735 break 2
46736 fi
46737 done
46738 done
46739 IFS=$as_save_IFS
46740
46741 fi
46742 fi
46743 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
46744 if test -n "$ac_ct_RANLIB"; then
46745 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
46746 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
46747 else
46748 { echo "$as_me:$LINENO: result: no" >&5
46749 echo "${ECHO_T}no" >&6; }
46750 fi
46751
46752 if test "x$ac_ct_RANLIB" = x; then
46753 RANLIB=":"
46754 else
46755 case $cross_compiling:$ac_tool_warned in
46756 yes:)
46757 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46758 whose name does not start with the host triplet. If you think this
46759 configuration is useful to you, please write to autoconf@gnu.org." >&5
46760 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46761 whose name does not start with the host triplet. If you think this
46762 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46763 ac_tool_warned=yes ;;
46764 esac
46765 RANLIB=$ac_ct_RANLIB
46766 fi
46767 else
46768 RANLIB="$ac_cv_prog_RANLIB"
46769 fi
46770
46771 # Find a good install program. We prefer a C program (faster),
46772 # so one script is as good as another. But avoid the broken or
46773 # incompatible versions:
46774 # SysV /etc/install, /usr/sbin/install
46775 # SunOS /usr/etc/install
46776 # IRIX /sbin/install
46777 # AIX /bin/install
46778 # AmigaOS /C/install, which installs bootblocks on floppy discs
46779 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
46780 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
46781 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
46782 # OS/2's system install, which has a completely different semantic
46783 # ./install, which can be erroneously created by make from ./install.sh.
46784 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
46785 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
46786 if test -z "$INSTALL"; then
46787 if test "${ac_cv_path_install+set}" = set; then
46788 echo $ECHO_N "(cached) $ECHO_C" >&6
46789 else
46790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46791 for as_dir in $PATH
46792 do
46793 IFS=$as_save_IFS
46794 test -z "$as_dir" && as_dir=.
46795 # Account for people who put trailing slashes in PATH elements.
46796 case $as_dir/ in
46797 ./ | .// | /cC/* | \
46798 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
46799 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
46800 /usr/ucb/* ) ;;
46801 *)
46802 # OSF1 and SCO ODT 3.0 have their own names for install.
46803 # Don't use installbsd from OSF since it installs stuff as root
46804 # by default.
46805 for ac_prog in ginstall scoinst install; do
46806 for ac_exec_ext in '' $ac_executable_extensions; do
46807 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46808 if test $ac_prog = install &&
46809 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46810 # AIX install. It has an incompatible calling convention.
46811 :
46812 elif test $ac_prog = install &&
46813 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46814 # program-specific install script used by HP pwplus--don't use.
46815 :
46816 else
46817 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46818 break 3
46819 fi
46820 fi
46821 done
46822 done
46823 ;;
46824 esac
46825 done
46826 IFS=$as_save_IFS
46827
46828
46829 fi
46830 if test "${ac_cv_path_install+set}" = set; then
46831 INSTALL=$ac_cv_path_install
46832 else
46833 # As a last resort, use the slow shell script. Don't cache a
46834 # value for INSTALL within a source directory, because that will
46835 # break other packages using the cache if that directory is
46836 # removed, or if the value is a relative name.
46837 INSTALL=$ac_install_sh
46838 fi
46839 fi
46840 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46841 echo "${ECHO_T}$INSTALL" >&6; }
46842
46843 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46844 # It thinks the first close brace ends the variable substitution.
46845 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46846
46847 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46848
46849 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46850
46851 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46852 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46853 LN_S=$as_ln_s
46854 if test "$LN_S" = "ln -s"; then
46855 { echo "$as_me:$LINENO: result: yes" >&5
46856 echo "${ECHO_T}yes" >&6; }
46857 else
46858 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46859 echo "${ECHO_T}no, using $LN_S" >&6; }
46860 fi
46861
46862
46863 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46864 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46865 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46866 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46867 echo $ECHO_N "(cached) $ECHO_C" >&6
46868 else
46869 cat >conftest.make <<\_ACEOF
46870 SHELL = /bin/sh
46871 all:
46872 @echo '@@@%%%=$(MAKE)=@@@%%%'
46873 _ACEOF
46874 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46875 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46876 *@@@%%%=?*=@@@%%%*)
46877 eval ac_cv_prog_make_${ac_make}_set=yes;;
46878 *)
46879 eval ac_cv_prog_make_${ac_make}_set=no;;
46880 esac
46881 rm -f conftest.make
46882 fi
46883 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46884 { echo "$as_me:$LINENO: result: yes" >&5
46885 echo "${ECHO_T}yes" >&6; }
46886 SET_MAKE=
46887 else
46888 { echo "$as_me:$LINENO: result: no" >&5
46889 echo "${ECHO_T}no" >&6; }
46890 SET_MAKE="MAKE=${MAKE-make}"
46891 fi
46892
46893
46894
46895 if test "x$SUNCXX" = "xyes"; then
46896 AR=$CXX
46897 AROPTIONS="-xar -o"
46898
46899 elif test "x$SGICC" = "xyes"; then
46900 AR=$CXX
46901 AROPTIONS="-ar -o"
46902
46903 else
46904 if test -n "$ac_tool_prefix"; then
46905 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46906 set dummy ${ac_tool_prefix}ar; ac_word=$2
46907 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46908 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46909 if test "${ac_cv_prog_AR+set}" = set; then
46910 echo $ECHO_N "(cached) $ECHO_C" >&6
46911 else
46912 if test -n "$AR"; then
46913 ac_cv_prog_AR="$AR" # Let the user override the test.
46914 else
46915 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46916 for as_dir in $PATH
46917 do
46918 IFS=$as_save_IFS
46919 test -z "$as_dir" && as_dir=.
46920 for ac_exec_ext in '' $ac_executable_extensions; do
46921 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46922 ac_cv_prog_AR="${ac_tool_prefix}ar"
46923 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46924 break 2
46925 fi
46926 done
46927 done
46928 IFS=$as_save_IFS
46929
46930 fi
46931 fi
46932 AR=$ac_cv_prog_AR
46933 if test -n "$AR"; then
46934 { echo "$as_me:$LINENO: result: $AR" >&5
46935 echo "${ECHO_T}$AR" >&6; }
46936 else
46937 { echo "$as_me:$LINENO: result: no" >&5
46938 echo "${ECHO_T}no" >&6; }
46939 fi
46940
46941
46942 fi
46943 if test -z "$ac_cv_prog_AR"; then
46944 ac_ct_AR=$AR
46945 # Extract the first word of "ar", so it can be a program name with args.
46946 set dummy ar; ac_word=$2
46947 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46948 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46949 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46950 echo $ECHO_N "(cached) $ECHO_C" >&6
46951 else
46952 if test -n "$ac_ct_AR"; then
46953 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46954 else
46955 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46956 for as_dir in $PATH
46957 do
46958 IFS=$as_save_IFS
46959 test -z "$as_dir" && as_dir=.
46960 for ac_exec_ext in '' $ac_executable_extensions; do
46961 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46962 ac_cv_prog_ac_ct_AR="ar"
46963 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46964 break 2
46965 fi
46966 done
46967 done
46968 IFS=$as_save_IFS
46969
46970 fi
46971 fi
46972 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46973 if test -n "$ac_ct_AR"; then
46974 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46975 echo "${ECHO_T}$ac_ct_AR" >&6; }
46976 else
46977 { echo "$as_me:$LINENO: result: no" >&5
46978 echo "${ECHO_T}no" >&6; }
46979 fi
46980
46981 if test "x$ac_ct_AR" = x; then
46982 AR="ar"
46983 else
46984 case $cross_compiling:$ac_tool_warned in
46985 yes:)
46986 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46987 whose name does not start with the host triplet. If you think this
46988 configuration is useful to you, please write to autoconf@gnu.org." >&5
46989 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46990 whose name does not start with the host triplet. If you think this
46991 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46992 ac_tool_warned=yes ;;
46993 esac
46994 AR=$ac_ct_AR
46995 fi
46996 else
46997 AR="$ac_cv_prog_AR"
46998 fi
46999
47000 AROPTIONS=rcu
47001 fi
47002
47003
47004 if test -n "$ac_tool_prefix"; then
47005 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
47006 set dummy ${ac_tool_prefix}strip; ac_word=$2
47007 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47008 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47009 if test "${ac_cv_prog_STRIP+set}" = set; then
47010 echo $ECHO_N "(cached) $ECHO_C" >&6
47011 else
47012 if test -n "$STRIP"; then
47013 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
47014 else
47015 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47016 for as_dir in $PATH
47017 do
47018 IFS=$as_save_IFS
47019 test -z "$as_dir" && as_dir=.
47020 for ac_exec_ext in '' $ac_executable_extensions; do
47021 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47022 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
47023 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47024 break 2
47025 fi
47026 done
47027 done
47028 IFS=$as_save_IFS
47029
47030 fi
47031 fi
47032 STRIP=$ac_cv_prog_STRIP
47033 if test -n "$STRIP"; then
47034 { echo "$as_me:$LINENO: result: $STRIP" >&5
47035 echo "${ECHO_T}$STRIP" >&6; }
47036 else
47037 { echo "$as_me:$LINENO: result: no" >&5
47038 echo "${ECHO_T}no" >&6; }
47039 fi
47040
47041
47042 fi
47043 if test -z "$ac_cv_prog_STRIP"; then
47044 ac_ct_STRIP=$STRIP
47045 # Extract the first word of "strip", so it can be a program name with args.
47046 set dummy strip; ac_word=$2
47047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47049 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
47050 echo $ECHO_N "(cached) $ECHO_C" >&6
47051 else
47052 if test -n "$ac_ct_STRIP"; then
47053 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
47054 else
47055 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47056 for as_dir in $PATH
47057 do
47058 IFS=$as_save_IFS
47059 test -z "$as_dir" && as_dir=.
47060 for ac_exec_ext in '' $ac_executable_extensions; do
47061 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47062 ac_cv_prog_ac_ct_STRIP="strip"
47063 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47064 break 2
47065 fi
47066 done
47067 done
47068 IFS=$as_save_IFS
47069
47070 fi
47071 fi
47072 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
47073 if test -n "$ac_ct_STRIP"; then
47074 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
47075 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
47076 else
47077 { echo "$as_me:$LINENO: result: no" >&5
47078 echo "${ECHO_T}no" >&6; }
47079 fi
47080
47081 if test "x$ac_ct_STRIP" = x; then
47082 STRIP=":"
47083 else
47084 case $cross_compiling:$ac_tool_warned in
47085 yes:)
47086 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47087 whose name does not start with the host triplet. If you think this
47088 configuration is useful to you, please write to autoconf@gnu.org." >&5
47089 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47090 whose name does not start with the host triplet. If you think this
47091 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47092 ac_tool_warned=yes ;;
47093 esac
47094 STRIP=$ac_ct_STRIP
47095 fi
47096 else
47097 STRIP="$ac_cv_prog_STRIP"
47098 fi
47099
47100 if test -n "$ac_tool_prefix"; then
47101 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
47102 set dummy ${ac_tool_prefix}nm; ac_word=$2
47103 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47104 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47105 if test "${ac_cv_prog_NM+set}" = set; then
47106 echo $ECHO_N "(cached) $ECHO_C" >&6
47107 else
47108 if test -n "$NM"; then
47109 ac_cv_prog_NM="$NM" # Let the user override the test.
47110 else
47111 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47112 for as_dir in $PATH
47113 do
47114 IFS=$as_save_IFS
47115 test -z "$as_dir" && as_dir=.
47116 for ac_exec_ext in '' $ac_executable_extensions; do
47117 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47118 ac_cv_prog_NM="${ac_tool_prefix}nm"
47119 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47120 break 2
47121 fi
47122 done
47123 done
47124 IFS=$as_save_IFS
47125
47126 fi
47127 fi
47128 NM=$ac_cv_prog_NM
47129 if test -n "$NM"; then
47130 { echo "$as_me:$LINENO: result: $NM" >&5
47131 echo "${ECHO_T}$NM" >&6; }
47132 else
47133 { echo "$as_me:$LINENO: result: no" >&5
47134 echo "${ECHO_T}no" >&6; }
47135 fi
47136
47137
47138 fi
47139 if test -z "$ac_cv_prog_NM"; then
47140 ac_ct_NM=$NM
47141 # Extract the first word of "nm", so it can be a program name with args.
47142 set dummy nm; ac_word=$2
47143 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47144 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47145 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
47146 echo $ECHO_N "(cached) $ECHO_C" >&6
47147 else
47148 if test -n "$ac_ct_NM"; then
47149 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
47150 else
47151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47152 for as_dir in $PATH
47153 do
47154 IFS=$as_save_IFS
47155 test -z "$as_dir" && as_dir=.
47156 for ac_exec_ext in '' $ac_executable_extensions; do
47157 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47158 ac_cv_prog_ac_ct_NM="nm"
47159 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47160 break 2
47161 fi
47162 done
47163 done
47164 IFS=$as_save_IFS
47165
47166 fi
47167 fi
47168 ac_ct_NM=$ac_cv_prog_ac_ct_NM
47169 if test -n "$ac_ct_NM"; then
47170 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
47171 echo "${ECHO_T}$ac_ct_NM" >&6; }
47172 else
47173 { echo "$as_me:$LINENO: result: no" >&5
47174 echo "${ECHO_T}no" >&6; }
47175 fi
47176
47177 if test "x$ac_ct_NM" = x; then
47178 NM=":"
47179 else
47180 case $cross_compiling:$ac_tool_warned in
47181 yes:)
47182 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47183 whose name does not start with the host triplet. If you think this
47184 configuration is useful to you, please write to autoconf@gnu.org." >&5
47185 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47186 whose name does not start with the host triplet. If you think this
47187 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47188 ac_tool_warned=yes ;;
47189 esac
47190 NM=$ac_ct_NM
47191 fi
47192 else
47193 NM="$ac_cv_prog_NM"
47194 fi
47195
47196
47197 case ${BAKEFILE_HOST} in
47198 *-hp-hpux* )
47199 INSTALL_DIR="mkdir -p"
47200 ;;
47201 * )
47202 INSTALL_DIR='$(INSTALL) -d'
47203 ;;
47204 esac
47205
47206
47207 LDFLAGS_GUI=
47208 case ${BAKEFILE_HOST} in
47209 *-*-cygwin* | *-*-mingw32* )
47210 LDFLAGS_GUI="-mwindows"
47211 esac
47212
47213
47214 fi
47215
47216 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
47217 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
47218 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
47219 echo $ECHO_N "(cached) $ECHO_C" >&6
47220 else
47221
47222 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
47223 egrep -s GNU > /dev/null); then
47224 bakefile_cv_prog_makeisgnu="yes"
47225 else
47226 bakefile_cv_prog_makeisgnu="no"
47227 fi
47228
47229 fi
47230 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
47231 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
47232
47233 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
47234 IF_GNU_MAKE=""
47235 else
47236 IF_GNU_MAKE="#"
47237 fi
47238
47239
47240
47241 PLATFORM_UNIX=0
47242 PLATFORM_WIN32=0
47243 PLATFORM_MSDOS=0
47244 PLATFORM_MAC=0
47245 PLATFORM_MACOS=0
47246 PLATFORM_MACOSX=0
47247 PLATFORM_OS2=0
47248 PLATFORM_BEOS=0
47249
47250 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
47251 case "${BAKEFILE_HOST}" in
47252 *-*-mingw32* )
47253 PLATFORM_WIN32=1
47254 ;;
47255 *-pc-msdosdjgpp )
47256 PLATFORM_MSDOS=1
47257 ;;
47258 *-pc-os2_emx | *-pc-os2-emx )
47259 PLATFORM_OS2=1
47260 ;;
47261 *-*-darwin* )
47262 PLATFORM_MAC=1
47263 PLATFORM_MACOSX=1
47264 ;;
47265 *-*-beos* )
47266 PLATFORM_BEOS=1
47267 ;;
47268 powerpc-apple-macos* )
47269 PLATFORM_MAC=1
47270 PLATFORM_MACOS=1
47271 ;;
47272 * )
47273 PLATFORM_UNIX=1
47274 ;;
47275 esac
47276 else
47277 case "$BAKEFILE_FORCE_PLATFORM" in
47278 win32 )
47279 PLATFORM_WIN32=1
47280 ;;
47281 msdos )
47282 PLATFORM_MSDOS=1
47283 ;;
47284 os2 )
47285 PLATFORM_OS2=1
47286 ;;
47287 darwin )
47288 PLATFORM_MAC=1
47289 PLATFORM_MACOSX=1
47290 ;;
47291 unix )
47292 PLATFORM_UNIX=1
47293 ;;
47294 beos )
47295 PLATFORM_BEOS=1
47296 ;;
47297 * )
47298 ;;
47299 esac
47300 fi
47301
47302
47303
47304
47305
47306
47307
47308
47309
47310
47311
47312 # Check whether --enable-omf was given.
47313 if test "${enable_omf+set}" = set; then
47314 enableval=$enable_omf; bk_os2_use_omf="$enableval"
47315 fi
47316
47317
47318 case "${BAKEFILE_HOST}" in
47319 *-*-darwin* )
47320 if test "x$GCC" = "xyes"; then
47321 CFLAGS="$CFLAGS -fno-common"
47322 CXXFLAGS="$CXXFLAGS -fno-common"
47323 fi
47324 if test "x$XLCC" = "xyes"; then
47325 CFLAGS="$CFLAGS -qnocommon"
47326 CXXFLAGS="$CXXFLAGS -qnocommon"
47327 fi
47328 ;;
47329
47330 *-pc-os2_emx | *-pc-os2-emx )
47331 if test "x$bk_os2_use_omf" = "xyes" ; then
47332 AR=emxomfar
47333 RANLIB=:
47334 LDFLAGS="-Zomf $LDFLAGS"
47335 CFLAGS="-Zomf $CFLAGS"
47336 CXXFLAGS="-Zomf $CXXFLAGS"
47337 OS2_LIBEXT="lib"
47338 else
47339 OS2_LIBEXT="a"
47340 fi
47341 ;;
47342
47343 i*86-*-beos* )
47344 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
47345 ;;
47346 esac
47347
47348
47349 SO_SUFFIX="so"
47350 SO_SUFFIX_MODULE="so"
47351 EXEEXT=""
47352 LIBPREFIX="lib"
47353 LIBEXT=".a"
47354 DLLPREFIX="lib"
47355 DLLPREFIX_MODULE=""
47356 DLLIMP_SUFFIX=""
47357 dlldir="$libdir"
47358
47359 case "${BAKEFILE_HOST}" in
47360 *-hp-hpux* )
47361 SO_SUFFIX="sl"
47362 SO_SUFFIX_MODULE="sl"
47363 ;;
47364 *-*-aix* )
47365 SO_SUFFIX="a"
47366 SO_SUFFIX_MODULE="a"
47367 ;;
47368 *-*-cygwin* )
47369 SO_SUFFIX="dll"
47370 SO_SUFFIX_MODULE="dll"
47371 DLLIMP_SUFFIX="dll.a"
47372 EXEEXT=".exe"
47373 DLLPREFIX="cyg"
47374 dlldir="$bindir"
47375 ;;
47376 *-*-mingw32* )
47377 SO_SUFFIX="dll"
47378 SO_SUFFIX_MODULE="dll"
47379 DLLIMP_SUFFIX="dll.a"
47380 EXEEXT=".exe"
47381 DLLPREFIX=""
47382 dlldir="$bindir"
47383 ;;
47384 *-pc-msdosdjgpp )
47385 EXEEXT=".exe"
47386 DLLPREFIX=""
47387 dlldir="$bindir"
47388 ;;
47389 *-pc-os2_emx | *-pc-os2-emx )
47390 SO_SUFFIX="dll"
47391 SO_SUFFIX_MODULE="dll"
47392 DLLIMP_SUFFIX=$OS2_LIBEXT
47393 EXEEXT=".exe"
47394 DLLPREFIX=""
47395 LIBPREFIX=""
47396 LIBEXT=".$OS2_LIBEXT"
47397 dlldir="$bindir"
47398 ;;
47399 *-*-darwin* )
47400 SO_SUFFIX="dylib"
47401 SO_SUFFIX_MODULE="bundle"
47402 ;;
47403 esac
47404
47405 if test "x$DLLIMP_SUFFIX" = "x" ; then
47406 DLLIMP_SUFFIX="$SO_SUFFIX"
47407 fi
47408
47409
47410
47411
47412
47413
47414
47415
47416
47417
47418
47419
47420 PIC_FLAG=""
47421 if test "x$GCC" = "xyes"; then
47422 PIC_FLAG="-fPIC"
47423 fi
47424
47425 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
47426 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
47427 WINDOWS_IMPLIB=0
47428
47429 case "${BAKEFILE_HOST}" in
47430 *-hp-hpux* )
47431 if test "x$GCC" != "xyes"; then
47432 LDFLAGS="$LDFLAGS -L/usr/lib"
47433
47434 SHARED_LD_CC="${CC} -b -o"
47435 SHARED_LD_CXX="${CXX} -b -o"
47436 PIC_FLAG="+Z"
47437 fi
47438 ;;
47439
47440 *-*-linux* )
47441 if test "$INTELCC" = "yes"; then
47442 PIC_FLAG="-KPIC"
47443 elif test "x$SUNCXX" = "xyes"; then
47444 SHARED_LD_CC="${CC} -G -o"
47445 SHARED_LD_CXX="${CXX} -G -o"
47446 PIC_FLAG="-KPIC"
47447 fi
47448 ;;
47449
47450 *-*-solaris2* )
47451 if test "x$SUNCXX" = xyes ; then
47452 SHARED_LD_CC="${CC} -G -o"
47453 SHARED_LD_CXX="${CXX} -G -o"
47454 PIC_FLAG="-KPIC"
47455 fi
47456 ;;
47457
47458 *-*-darwin* )
47459
47460 D='$'
47461 cat <<EOF >shared-ld-sh
47462 #!/bin/sh
47463 #-----------------------------------------------------------------------------
47464 #-- Name: distrib/mac/shared-ld-sh
47465 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
47466 #-- Author: Gilles Depeyrot
47467 #-- Copyright: (c) 2002 Gilles Depeyrot
47468 #-- Licence: any use permitted
47469 #-----------------------------------------------------------------------------
47470
47471 verbose=0
47472 args=""
47473 objects=""
47474 linking_flag="-dynamiclib"
47475 ldargs="-r -keep_private_externs -nostdlib"
47476
47477 while test ${D}# -gt 0; do
47478 case ${D}1 in
47479
47480 -v)
47481 verbose=1
47482 ;;
47483
47484 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
47485 # collect these options and values
47486 args="${D}{args} ${D}1 ${D}2"
47487 shift
47488 ;;
47489
47490 -s|-Wl,*)
47491 # collect these load args
47492 ldargs="${D}{ldargs} ${D}1"
47493 ;;
47494
47495 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
47496 # collect these options
47497 args="${D}{args} ${D}1"
47498 ;;
47499
47500 -dynamiclib|-bundle)
47501 linking_flag="${D}1"
47502 ;;
47503
47504 -*)
47505 echo "shared-ld: unhandled option '${D}1'"
47506 exit 1
47507 ;;
47508
47509 *.o | *.a | *.dylib)
47510 # collect object files
47511 objects="${D}{objects} ${D}1"
47512 ;;
47513
47514 *)
47515 echo "shared-ld: unhandled argument '${D}1'"
47516 exit 1
47517 ;;
47518
47519 esac
47520 shift
47521 done
47522
47523 status=0
47524
47525 #
47526 # Link one module containing all the others
47527 #
47528 if test ${D}{verbose} = 1; then
47529 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
47530 fi
47531 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
47532 status=${D}?
47533
47534 #
47535 # Link the shared library from the single module created, but only if the
47536 # previous command didn't fail:
47537 #
47538 if test ${D}{status} = 0; then
47539 if test ${D}{verbose} = 1; then
47540 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
47541 fi
47542 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
47543 status=${D}?
47544 fi
47545
47546 #
47547 # Remove intermediate module
47548 #
47549 rm -f master.${D}${D}.o
47550
47551 exit ${D}status
47552 EOF
47553
47554 chmod +x shared-ld-sh
47555
47556 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
47557 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
47558
47559
47560 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
47561 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
47562 if test "${bakefile_cv_gcc31+set}" = set; then
47563 echo $ECHO_N "(cached) $ECHO_C" >&6
47564 else
47565
47566 cat >conftest.$ac_ext <<_ACEOF
47567 /* confdefs.h. */
47568 _ACEOF
47569 cat confdefs.h >>conftest.$ac_ext
47570 cat >>conftest.$ac_ext <<_ACEOF
47571 /* end confdefs.h. */
47572
47573 int
47574 main ()
47575 {
47576
47577 #if (__GNUC__ < 3) || \
47578 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
47579 This is old gcc
47580 #endif
47581
47582 ;
47583 return 0;
47584 }
47585 _ACEOF
47586 rm -f conftest.$ac_objext
47587 if { (ac_try="$ac_compile"
47588 case "(($ac_try" in
47589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47590 *) ac_try_echo=$ac_try;;
47591 esac
47592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47593 (eval "$ac_compile") 2>conftest.er1
47594 ac_status=$?
47595 grep -v '^ *+' conftest.er1 >conftest.err
47596 rm -f conftest.er1
47597 cat conftest.err >&5
47598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47599 (exit $ac_status); } && {
47600 test -z "$ac_c_werror_flag" ||
47601 test ! -s conftest.err
47602 } && test -s conftest.$ac_objext; then
47603
47604 bakefile_cv_gcc31=yes
47605
47606 else
47607 echo "$as_me: failed program was:" >&5
47608 sed 's/^/| /' conftest.$ac_ext >&5
47609
47610
47611 bakefile_cv_gcc31=no
47612
47613
47614 fi
47615
47616 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47617
47618 fi
47619 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
47620 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
47621 if test "$bakefile_cv_gcc31" = "no"; then
47622 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
47623 SHARED_LD_CXX="$SHARED_LD_CC"
47624 else
47625 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
47626 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
47627 fi
47628
47629 if test "x$GCC" == "xyes"; then
47630 PIC_FLAG="-dynamic -fPIC"
47631 fi
47632 if test "x$XLCC" = "xyes"; then
47633 PIC_FLAG="-dynamic -DPIC"
47634 fi
47635 ;;
47636
47637 *-*-aix* )
47638 if test "x$GCC" = "xyes"; then
47639 PIC_FLAG=""
47640
47641 case "${BAKEFILE_HOST}" in
47642 *-*-aix5* )
47643 LD_EXPFULL="-Wl,-bexpfull"
47644 ;;
47645 esac
47646
47647 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
47648 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
47649 else
47650 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
47651 set dummy makeC++SharedLib; ac_word=$2
47652 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47653 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47654 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
47655 echo $ECHO_N "(cached) $ECHO_C" >&6
47656 else
47657 if test -n "$AIX_CXX_LD"; then
47658 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
47659 else
47660 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47661 for as_dir in $PATH
47662 do
47663 IFS=$as_save_IFS
47664 test -z "$as_dir" && as_dir=.
47665 for ac_exec_ext in '' $ac_executable_extensions; do
47666 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47667 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
47668 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47669 break 2
47670 fi
47671 done
47672 done
47673 IFS=$as_save_IFS
47674
47675 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
47676 fi
47677 fi
47678 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
47679 if test -n "$AIX_CXX_LD"; then
47680 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
47681 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
47682 else
47683 { echo "$as_me:$LINENO: result: no" >&5
47684 echo "${ECHO_T}no" >&6; }
47685 fi
47686
47687
47688 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
47689 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
47690 fi
47691 ;;
47692
47693 *-*-beos* )
47694 SHARED_LD_CC="${LD} -nostart -o"
47695 SHARED_LD_CXX="${LD} -nostart -o"
47696 ;;
47697
47698 *-*-irix* )
47699 if test "x$GCC" != "xyes"; then
47700 PIC_FLAG="-KPIC"
47701 fi
47702 ;;
47703
47704 *-*-cygwin* | *-*-mingw32* )
47705 PIC_FLAG=""
47706 SHARED_LD_CC="\$(CC) -shared -o"
47707 SHARED_LD_CXX="\$(CXX) -shared -o"
47708 WINDOWS_IMPLIB=1
47709 ;;
47710
47711 *-pc-os2_emx | *-pc-os2-emx )
47712 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47713 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
47714 PIC_FLAG=""
47715
47716 D='$'
47717 cat <<EOF >dllar.sh
47718 #!/bin/sh
47719 #
47720 # dllar - a tool to build both a .dll and an .a file
47721 # from a set of object (.o) files for EMX/OS2.
47722 #
47723 # Written by Andrew Zabolotny, bit@freya.etu.ru
47724 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
47725 #
47726 # This script will accept a set of files on the command line.
47727 # All the public symbols from the .o files will be exported into
47728 # a .DEF file, then linker will be run (through gcc) against them to
47729 # build a shared library consisting of all given .o files. All libraries
47730 # (.a) will be first decompressed into component .o files then act as
47731 # described above. You can optionally give a description (-d "description")
47732 # which will be put into .DLL. To see the list of accepted options (as well
47733 # as command-line format) simply run this program without options. The .DLL
47734 # is built to be imported by name (there is no guarantee that new versions
47735 # of the library you build will have same ordinals for same symbols).
47736 #
47737 # dllar is free software; you can redistribute it and/or modify
47738 # it under the terms of the GNU General Public License as published by
47739 # the Free Software Foundation; either version 2, or (at your option)
47740 # any later version.
47741 #
47742 # dllar is distributed in the hope that it will be useful,
47743 # but WITHOUT ANY WARRANTY; without even the implied warranty of
47744 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
47745 # GNU General Public License for more details.
47746 #
47747 # You should have received a copy of the GNU General Public License
47748 # along with dllar; see the file COPYING. If not, write to the Free
47749 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
47750 # 02111-1307, USA.
47751
47752 # To successfuly run this program you will need:
47753 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47754 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47755 # - gcc
47756 # (used to build the .dll)
47757 # - emxexp
47758 # (used to create .def file from .o files)
47759 # - emximp
47760 # (used to create .a file from .def file)
47761 # - GNU text utilites (cat, sort, uniq)
47762 # used to process emxexp output
47763 # - GNU file utilities (mv, rm)
47764 # - GNU sed
47765 # - lxlite (optional, see flag below)
47766 # (used for general .dll cleanup)
47767 #
47768
47769 flag_USE_LXLITE=1;
47770
47771 #
47772 # helper functions
47773 # basnam, variant of basename, which does _not_ remove the path, _iff_
47774 # second argument (suffix to remove) is given
47775 basnam(){
47776 case ${D}# in
47777 1)
47778 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47779 ;;
47780 2)
47781 echo ${D}1 | sed 's/'${D}2'${D}//'
47782 ;;
47783 *)
47784 echo "error in basnam ${D}*"
47785 exit 8
47786 ;;
47787 esac
47788 }
47789
47790 # Cleanup temporary files and output
47791 CleanUp() {
47792 cd ${D}curDir
47793 for i in ${D}inputFiles ; do
47794 case ${D}i in
47795 *!)
47796 rm -rf \`basnam ${D}i !\`
47797 ;;
47798 *)
47799 ;;
47800 esac
47801 done
47802
47803 # Kill result in case of failure as there is just to many stupid make/nmake
47804 # things out there which doesn't do this.
47805 if [ ${D}# -eq 0 ]; then
47806 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47807 fi
47808 }
47809
47810 # Print usage and exit script with rc=1.
47811 PrintHelp() {
47812 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47813 echo ' [-name-mangler-script script.sh]'
47814 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47815 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47816 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47817 echo ' [*.o] [*.a]'
47818 echo '*> "output_file" should have no extension.'
47819 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47820 echo ' The import library name is derived from this and is set to "name".a,'
47821 echo ' unless overridden by -import'
47822 echo '*> "importlib_name" should have no extension.'
47823 echo ' If it has the .o, or .a extension, it is automatically removed.'
47824 echo ' This name is used as the import library name and may be longer and'
47825 echo ' more descriptive than the DLL name which has to follow the old '
47826 echo ' 8.3 convention of FAT.'
47827 echo '*> "script.sh may be given to override the output_file name by a'
47828 echo ' different name. It is mainly useful if the regular make process'
47829 echo ' of some package does not take into account OS/2 restriction of'
47830 echo ' DLL name lengths. It takes the importlib name as input and is'
47831 echo ' supposed to procude a shorter name as output. The script should'
47832 echo ' expect to get importlib_name without extension and should produce'
47833 echo ' a (max.) 8 letter name without extension.'
47834 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47835 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47836 echo ' These flags will be put at the start of GCC command line.'
47837 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47838 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47839 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47840 echo ' If the last character of a symbol is "*", all symbols beginning'
47841 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47842 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47843 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47844 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47845 echo ' C runtime DLLs.'
47846 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47847 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47848 echo ' unchanged to GCC at the end of command line.'
47849 echo '*> If you create a DLL from a library and you do not specify -o,'
47850 echo ' the basename for DLL and import library will be set to library name,'
47851 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47852 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47853 echo ' library will be renamed into gcc_s.a.'
47854 echo '--------'
47855 echo 'Example:'
47856 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47857 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47858 CleanUp
47859 exit 1
47860 }
47861
47862 # Execute a command.
47863 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47864 # @Uses Whatever CleanUp() uses.
47865 doCommand() {
47866 echo "${D}*"
47867 eval ${D}*
47868 rcCmd=${D}?
47869
47870 if [ ${D}rcCmd -ne 0 ]; then
47871 echo "command failed, exit code="${D}rcCmd
47872 CleanUp
47873 exit ${D}rcCmd
47874 fi
47875 }
47876
47877 # main routine
47878 # setup globals
47879 cmdLine=${D}*
47880 outFile=""
47881 outimpFile=""
47882 inputFiles=""
47883 renameScript=""
47884 description=""
47885 CC=gcc.exe
47886 CFLAGS="-s -Zcrtdll"
47887 EXTRA_CFLAGS=""
47888 EXPORT_BY_ORDINALS=0
47889 exclude_symbols=""
47890 library_flags=""
47891 curDir=\`pwd\`
47892 curDirS=curDir
47893 case ${D}curDirS in
47894 */)
47895 ;;
47896 *)
47897 curDirS=${D}{curDirS}"/"
47898 ;;
47899 esac
47900 # Parse commandline
47901 libsToLink=0
47902 omfLinking=0
47903 while [ ${D}1 ]; do
47904 case ${D}1 in
47905 -ord*)
47906 EXPORT_BY_ORDINALS=1;
47907 ;;
47908 -o*)
47909 shift
47910 outFile=${D}1
47911 ;;
47912 -i*)
47913 shift
47914 outimpFile=${D}1
47915 ;;
47916 -name-mangler-script)
47917 shift
47918 renameScript=${D}1
47919 ;;
47920 -d*)
47921 shift
47922 description=${D}1
47923 ;;
47924 -f*)
47925 shift
47926 CFLAGS=${D}1
47927 ;;
47928 -c*)
47929 shift
47930 CC=${D}1
47931 ;;
47932 -h*)
47933 PrintHelp
47934 ;;
47935 -ex*)
47936 shift
47937 exclude_symbols=${D}{exclude_symbols}${D}1" "
47938 ;;
47939 -libf*)
47940 shift
47941 library_flags=${D}{library_flags}${D}1" "
47942 ;;
47943 -nocrt*)
47944 CFLAGS="-s"
47945 ;;
47946 -nolxl*)
47947 flag_USE_LXLITE=0
47948 ;;
47949 -* | /*)
47950 case ${D}1 in
47951 -L* | -l*)
47952 libsToLink=1
47953 ;;
47954 -Zomf)
47955 omfLinking=1
47956 ;;
47957 *)
47958 ;;
47959 esac
47960 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47961 ;;
47962 *.dll)
47963 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47964 if [ ${D}omfLinking -eq 1 ]; then
47965 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47966 else
47967 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47968 fi
47969 ;;
47970 *)
47971 found=0;
47972 if [ ${D}libsToLink -ne 0 ]; then
47973 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47974 else
47975 for file in ${D}1 ; do
47976 if [ -f ${D}file ]; then
47977 inputFiles="${D}{inputFiles} ${D}file"
47978 found=1
47979 fi
47980 done
47981 if [ ${D}found -eq 0 ]; then
47982 echo "ERROR: No file(s) found: "${D}1
47983 exit 8
47984 fi
47985 fi
47986 ;;
47987 esac
47988 shift
47989 done # iterate cmdline words
47990
47991 #
47992 if [ -z "${D}inputFiles" ]; then
47993 echo "dllar: no input files"
47994 PrintHelp
47995 fi
47996
47997 # Now extract all .o files from .a files
47998 newInputFiles=""
47999 for file in ${D}inputFiles ; do
48000 case ${D}file in
48001 *.a | *.lib)
48002 case ${D}file in
48003 *.a)
48004 suffix=".a"
48005 AR="ar"
48006 ;;
48007 *.lib)
48008 suffix=".lib"
48009 AR="emxomfar"
48010 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
48011 ;;
48012 *)
48013 ;;
48014 esac
48015 dirname=\`basnam ${D}file ${D}suffix\`"_%"
48016 mkdir ${D}dirname
48017 if [ ${D}? -ne 0 ]; then
48018 echo "Failed to create subdirectory ./${D}dirname"
48019 CleanUp
48020 exit 8;
48021 fi
48022 # Append '!' to indicate archive
48023 newInputFiles="${D}newInputFiles ${D}{dirname}!"
48024 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
48025 cd ${D}curDir
48026 found=0;
48027 for subfile in ${D}dirname/*.o* ; do
48028 if [ -f ${D}subfile ]; then
48029 found=1
48030 if [ -s ${D}subfile ]; then
48031 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
48032 newInputFiles="${D}newInputFiles ${D}subfile"
48033 fi
48034 fi
48035 done
48036 if [ ${D}found -eq 0 ]; then
48037 echo "WARNING: there are no files in archive \\'${D}file\\'"
48038 fi
48039 ;;
48040 *)
48041 newInputFiles="${D}{newInputFiles} ${D}file"
48042 ;;
48043 esac
48044 done
48045 inputFiles="${D}newInputFiles"
48046
48047 # Output filename(s).
48048 do_backup=0;
48049 if [ -z ${D}outFile ]; then
48050 do_backup=1;
48051 set outFile ${D}inputFiles; outFile=${D}2
48052 fi
48053
48054 # If it is an archive, remove the '!' and the '_%' suffixes
48055 case ${D}outFile in
48056 *_%!)
48057 outFile=\`basnam ${D}outFile _%!\`
48058 ;;
48059 *)
48060 ;;
48061 esac
48062 case ${D}outFile in
48063 *.dll)
48064 outFile=\`basnam ${D}outFile .dll\`
48065 ;;
48066 *.DLL)
48067 outFile=\`basnam ${D}outFile .DLL\`
48068 ;;
48069 *.o)
48070 outFile=\`basnam ${D}outFile .o\`
48071 ;;
48072 *.obj)
48073 outFile=\`basnam ${D}outFile .obj\`
48074 ;;
48075 *.a)
48076 outFile=\`basnam ${D}outFile .a\`
48077 ;;
48078 *.lib)
48079 outFile=\`basnam ${D}outFile .lib\`
48080 ;;
48081 *)
48082 ;;
48083 esac
48084 case ${D}outimpFile in
48085 *.a)
48086 outimpFile=\`basnam ${D}outimpFile .a\`
48087 ;;
48088 *.lib)
48089 outimpFile=\`basnam ${D}outimpFile .lib\`
48090 ;;
48091 *)
48092 ;;
48093 esac
48094 if [ -z ${D}outimpFile ]; then
48095 outimpFile=${D}outFile
48096 fi
48097 defFile="${D}{outFile}.def"
48098 arcFile="${D}{outimpFile}.a"
48099 arcFile2="${D}{outimpFile}.lib"
48100
48101 #create ${D}dllFile as something matching 8.3 restrictions,
48102 if [ -z ${D}renameScript ] ; then
48103 dllFile="${D}outFile"
48104 else
48105 dllFile=\`${D}renameScript ${D}outimpFile\`
48106 fi
48107
48108 if [ ${D}do_backup -ne 0 ] ; then
48109 if [ -f ${D}arcFile ] ; then
48110 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
48111 fi
48112 if [ -f ${D}arcFile2 ] ; then
48113 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
48114 fi
48115 fi
48116
48117 # Extract public symbols from all the object files.
48118 tmpdefFile=${D}{defFile}_%
48119 rm -f ${D}tmpdefFile
48120 for file in ${D}inputFiles ; do
48121 case ${D}file in
48122 *!)
48123 ;;
48124 *)
48125 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
48126 ;;
48127 esac
48128 done
48129
48130 # Create the def file.
48131 rm -f ${D}defFile
48132 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
48133 dllFile="${D}{dllFile}.dll"
48134 if [ ! -z ${D}description ]; then
48135 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
48136 fi
48137 echo "EXPORTS" >> ${D}defFile
48138
48139 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
48140 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
48141
48142 # Checks if the export is ok or not.
48143 for word in ${D}exclude_symbols; do
48144 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
48145 mv ${D}{tmpdefFile}% ${D}tmpdefFile
48146 done
48147
48148
48149 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48150 sed "=" < ${D}tmpdefFile | \\
48151 sed '
48152 N
48153 : loop
48154 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
48155 t loop
48156 ' > ${D}{tmpdefFile}%
48157 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
48158 else
48159 rm -f ${D}{tmpdefFile}%
48160 fi
48161 cat ${D}tmpdefFile >> ${D}defFile
48162 rm -f ${D}tmpdefFile
48163
48164 # Do linking, create implib, and apply lxlite.
48165 gccCmdl="";
48166 for file in ${D}inputFiles ; do
48167 case ${D}file in
48168 *!)
48169 ;;
48170 *)
48171 gccCmdl="${D}gccCmdl ${D}file"
48172 ;;
48173 esac
48174 done
48175 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
48176 touch "${D}{outFile}.dll"
48177
48178 doCommand "emximp -o ${D}arcFile ${D}defFile"
48179 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
48180 add_flags="";
48181 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
48182 add_flags="-ynd"
48183 fi
48184 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
48185 fi
48186 doCommand "emxomf -s -l ${D}arcFile"
48187
48188 # Successful exit.
48189 CleanUp 1
48190 exit 0
48191 EOF
48192
48193 chmod +x dllar.sh
48194 ;;
48195
48196 powerpc-apple-macos* | \
48197 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
48198 *-*-mirbsd* | \
48199 *-*-sunos4* | \
48200 *-*-osf* | \
48201 *-*-dgux5* | \
48202 *-*-sysv5* | \
48203 *-pc-msdosdjgpp )
48204 ;;
48205
48206 *)
48207 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
48208 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
48209 { (exit 1); exit 1; }; }
48210 esac
48211
48212 if test "x$PIC_FLAG" != "x" ; then
48213 PIC_FLAG="$PIC_FLAG -DPIC"
48214 fi
48215
48216 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
48217 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
48218 fi
48219 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
48220 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
48221 fi
48222
48223
48224
48225
48226
48227
48228
48229
48230
48231 USE_SOVERSION=0
48232 USE_SOVERLINUX=0
48233 USE_SOVERSOLARIS=0
48234 USE_SOVERCYGWIN=0
48235 USE_SOSYMLINKS=0
48236 USE_MACVERSION=0
48237 SONAME_FLAG=
48238
48239 case "${BAKEFILE_HOST}" in
48240 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
48241 if test "x$SUNCXX" = "xyes"; then
48242 SONAME_FLAG="-h "
48243 else
48244 SONAME_FLAG="-Wl,-soname,"
48245 fi
48246 USE_SOVERSION=1
48247 USE_SOVERLINUX=1
48248 USE_SOSYMLINKS=1
48249 ;;
48250
48251 *-*-solaris2* )
48252 SONAME_FLAG="-h "
48253 USE_SOVERSION=1
48254 USE_SOVERSOLARIS=1
48255 USE_SOSYMLINKS=1
48256 ;;
48257
48258 *-*-darwin* )
48259 USE_MACVERSION=1
48260 USE_SOVERSION=1
48261 USE_SOSYMLINKS=1
48262 ;;
48263
48264 *-*-cygwin* )
48265 USE_SOVERSION=1
48266 USE_SOVERCYGWIN=1
48267 ;;
48268 esac
48269
48270
48271
48272
48273
48274
48275
48276
48277
48278
48279 # Check whether --enable-dependency-tracking was given.
48280 if test "${enable_dependency_tracking+set}" = set; then
48281 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
48282 fi
48283
48284
48285 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
48286 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
48287
48288 BK_DEPS=""
48289 if test "x$bk_use_trackdeps" = "xno" ; then
48290 DEPS_TRACKING=0
48291 { echo "$as_me:$LINENO: result: disabled" >&5
48292 echo "${ECHO_T}disabled" >&6; }
48293 else
48294 DEPS_TRACKING=1
48295
48296 if test "x$GCC" = "xyes"; then
48297 DEPSMODE=gcc
48298 case "${BAKEFILE_HOST}" in
48299 *-*-darwin* )
48300 DEPSFLAG="-no-cpp-precomp -MMD"
48301 ;;
48302 * )
48303 DEPSFLAG="-MMD"
48304 ;;
48305 esac
48306 { echo "$as_me:$LINENO: result: gcc" >&5
48307 echo "${ECHO_T}gcc" >&6; }
48308 elif test "x$MWCC" = "xyes"; then
48309 DEPSMODE=mwcc
48310 DEPSFLAG="-MM"
48311 { echo "$as_me:$LINENO: result: mwcc" >&5
48312 echo "${ECHO_T}mwcc" >&6; }
48313 elif test "x$SUNCC" = "xyes"; then
48314 DEPSMODE=unixcc
48315 DEPSFLAG="-xM1"
48316 { echo "$as_me:$LINENO: result: Sun cc" >&5
48317 echo "${ECHO_T}Sun cc" >&6; }
48318 elif test "x$SGICC" = "xyes"; then
48319 DEPSMODE=unixcc
48320 DEPSFLAG="-M"
48321 { echo "$as_me:$LINENO: result: SGI cc" >&5
48322 echo "${ECHO_T}SGI cc" >&6; }
48323 elif test "x$HPCC" = "xyes"; then
48324 DEPSMODE=unixcc
48325 DEPSFLAG="+make"
48326 { echo "$as_me:$LINENO: result: HP cc" >&5
48327 echo "${ECHO_T}HP cc" >&6; }
48328 elif test "x$COMPAQCC" = "xyes"; then
48329 DEPSMODE=gcc
48330 DEPSFLAG="-MD"
48331 { echo "$as_me:$LINENO: result: Compaq cc" >&5
48332 echo "${ECHO_T}Compaq cc" >&6; }
48333 else
48334 DEPS_TRACKING=0
48335 { echo "$as_me:$LINENO: result: none" >&5
48336 echo "${ECHO_T}none" >&6; }
48337 fi
48338
48339 if test $DEPS_TRACKING = 1 ; then
48340
48341 D='$'
48342 cat <<EOF >bk-deps
48343 #!/bin/sh
48344
48345 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48346 # script. It is used to track C/C++ files dependencies in portable way.
48347 #
48348 # Permission is given to use this file in any way.
48349
48350 DEPSMODE=${DEPSMODE}
48351 DEPSDIR=.deps
48352 DEPSFLAG="${DEPSFLAG}"
48353
48354 mkdir -p ${D}DEPSDIR
48355
48356 if test ${D}DEPSMODE = gcc ; then
48357 ${D}* ${D}{DEPSFLAG}
48358 status=${D}?
48359 if test ${D}{status} != 0 ; then
48360 exit ${D}{status}
48361 fi
48362 # move created file to the location we want it in:
48363 while test ${D}# -gt 0; do
48364 case "${D}1" in
48365 -o )
48366 shift
48367 objfile=${D}1
48368 ;;
48369 -* )
48370 ;;
48371 * )
48372 srcfile=${D}1
48373 ;;
48374 esac
48375 shift
48376 done
48377 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
48378 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
48379 if test -f ${D}depfile ; then
48380 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48381 rm -f ${D}depfile
48382 else
48383 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
48384 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
48385 if test ! -f ${D}depfile ; then
48386 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
48387 depfile="${D}objfile.d"
48388 fi
48389 if test -f ${D}depfile ; then
48390 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
48391 rm -f ${D}depfile
48392 fi
48393 fi
48394 exit 0
48395 elif test ${D}DEPSMODE = mwcc ; then
48396 ${D}* || exit ${D}?
48397 # Run mwcc again with -MM and redirect into the dep file we want
48398 # NOTE: We can't use shift here because we need ${D}* to be valid
48399 prevarg=
48400 for arg in ${D}* ; do
48401 if test "${D}prevarg" = "-o"; then
48402 objfile=${D}arg
48403 else
48404 case "${D}arg" in
48405 -* )
48406 ;;
48407 * )
48408 srcfile=${D}arg
48409 ;;
48410 esac
48411 fi
48412 prevarg="${D}arg"
48413 done
48414 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
48415 exit 0
48416 elif test ${D}DEPSMODE = unixcc; then
48417 ${D}* || exit ${D}?
48418 # Run compiler again with deps flag and redirect into the dep file.
48419 # It doesn't work if the '-o FILE' option is used, but without it the
48420 # dependency file will contain the wrong name for the object. So it is
48421 # removed from the command line, and the dep file is fixed with sed.
48422 cmd=""
48423 while test ${D}# -gt 0; do
48424 case "${D}1" in
48425 -o )
48426 shift
48427 objfile=${D}1
48428 ;;
48429 * )
48430 eval arg${D}#=\\${D}1
48431 cmd="${D}cmd \\${D}arg${D}#"
48432 ;;
48433 esac
48434 shift
48435 done
48436 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
48437 exit 0
48438 else
48439 ${D}*
48440 exit ${D}?
48441 fi
48442 EOF
48443
48444 chmod +x bk-deps
48445 BK_DEPS="`pwd`/bk-deps"
48446 fi
48447 fi
48448
48449
48450
48451
48452
48453 case ${BAKEFILE_HOST} in
48454 *-*-cygwin* | *-*-mingw32* )
48455 if test -n "$ac_tool_prefix"; then
48456 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
48457 set dummy ${ac_tool_prefix}windres; ac_word=$2
48458 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48459 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48460 if test "${ac_cv_prog_WINDRES+set}" = set; then
48461 echo $ECHO_N "(cached) $ECHO_C" >&6
48462 else
48463 if test -n "$WINDRES"; then
48464 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
48465 else
48466 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48467 for as_dir in $PATH
48468 do
48469 IFS=$as_save_IFS
48470 test -z "$as_dir" && as_dir=.
48471 for ac_exec_ext in '' $ac_executable_extensions; do
48472 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48473 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
48474 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48475 break 2
48476 fi
48477 done
48478 done
48479 IFS=$as_save_IFS
48480
48481 fi
48482 fi
48483 WINDRES=$ac_cv_prog_WINDRES
48484 if test -n "$WINDRES"; then
48485 { echo "$as_me:$LINENO: result: $WINDRES" >&5
48486 echo "${ECHO_T}$WINDRES" >&6; }
48487 else
48488 { echo "$as_me:$LINENO: result: no" >&5
48489 echo "${ECHO_T}no" >&6; }
48490 fi
48491
48492
48493 fi
48494 if test -z "$ac_cv_prog_WINDRES"; then
48495 ac_ct_WINDRES=$WINDRES
48496 # Extract the first word of "windres", so it can be a program name with args.
48497 set dummy windres; ac_word=$2
48498 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48499 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48500 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
48501 echo $ECHO_N "(cached) $ECHO_C" >&6
48502 else
48503 if test -n "$ac_ct_WINDRES"; then
48504 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
48505 else
48506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48507 for as_dir in $PATH
48508 do
48509 IFS=$as_save_IFS
48510 test -z "$as_dir" && as_dir=.
48511 for ac_exec_ext in '' $ac_executable_extensions; do
48512 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48513 ac_cv_prog_ac_ct_WINDRES="windres"
48514 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48515 break 2
48516 fi
48517 done
48518 done
48519 IFS=$as_save_IFS
48520
48521 fi
48522 fi
48523 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
48524 if test -n "$ac_ct_WINDRES"; then
48525 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
48526 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
48527 else
48528 { echo "$as_me:$LINENO: result: no" >&5
48529 echo "${ECHO_T}no" >&6; }
48530 fi
48531
48532 if test "x$ac_ct_WINDRES" = x; then
48533 WINDRES=""
48534 else
48535 case $cross_compiling:$ac_tool_warned in
48536 yes:)
48537 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
48538 whose name does not start with the host triplet. If you think this
48539 configuration is useful to you, please write to autoconf@gnu.org." >&5
48540 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
48541 whose name does not start with the host triplet. If you think this
48542 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
48543 ac_tool_warned=yes ;;
48544 esac
48545 WINDRES=$ac_ct_WINDRES
48546 fi
48547 else
48548 WINDRES="$ac_cv_prog_WINDRES"
48549 fi
48550
48551 ;;
48552
48553 *-*-darwin* | powerpc-apple-macos* )
48554 # Extract the first word of "Rez", so it can be a program name with args.
48555 set dummy Rez; ac_word=$2
48556 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48557 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48558 if test "${ac_cv_prog_REZ+set}" = set; then
48559 echo $ECHO_N "(cached) $ECHO_C" >&6
48560 else
48561 if test -n "$REZ"; then
48562 ac_cv_prog_REZ="$REZ" # Let the user override the test.
48563 else
48564 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48565 for as_dir in $PATH
48566 do
48567 IFS=$as_save_IFS
48568 test -z "$as_dir" && as_dir=.
48569 for ac_exec_ext in '' $ac_executable_extensions; do
48570 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48571 ac_cv_prog_REZ="Rez"
48572 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48573 break 2
48574 fi
48575 done
48576 done
48577 IFS=$as_save_IFS
48578
48579 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
48580 fi
48581 fi
48582 REZ=$ac_cv_prog_REZ
48583 if test -n "$REZ"; then
48584 { echo "$as_me:$LINENO: result: $REZ" >&5
48585 echo "${ECHO_T}$REZ" >&6; }
48586 else
48587 { echo "$as_me:$LINENO: result: no" >&5
48588 echo "${ECHO_T}no" >&6; }
48589 fi
48590
48591
48592 # Extract the first word of "SetFile", so it can be a program name with args.
48593 set dummy SetFile; ac_word=$2
48594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48596 if test "${ac_cv_prog_SETFILE+set}" = set; then
48597 echo $ECHO_N "(cached) $ECHO_C" >&6
48598 else
48599 if test -n "$SETFILE"; then
48600 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
48601 else
48602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48603 for as_dir in $PATH
48604 do
48605 IFS=$as_save_IFS
48606 test -z "$as_dir" && as_dir=.
48607 for ac_exec_ext in '' $ac_executable_extensions; do
48608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48609 ac_cv_prog_SETFILE="SetFile"
48610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48611 break 2
48612 fi
48613 done
48614 done
48615 IFS=$as_save_IFS
48616
48617 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
48618 fi
48619 fi
48620 SETFILE=$ac_cv_prog_SETFILE
48621 if test -n "$SETFILE"; then
48622 { echo "$as_me:$LINENO: result: $SETFILE" >&5
48623 echo "${ECHO_T}$SETFILE" >&6; }
48624 else
48625 { echo "$as_me:$LINENO: result: no" >&5
48626 echo "${ECHO_T}no" >&6; }
48627 fi
48628
48629
48630 ;;
48631 esac
48632
48633
48634
48635
48636
48637
48638 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
48639
48640
48641 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
48642
48643
48644
48645 # Check whether --enable-precomp-headers was given.
48646 if test "${enable_precomp_headers+set}" = set; then
48647 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
48648 fi
48649
48650
48651 GCC_PCH=0
48652 ICC_PCH=0
48653 USE_PCH=0
48654 BK_MAKE_PCH=""
48655
48656 case ${BAKEFILE_HOST} in
48657 *-*-cygwin* )
48658 bk_use_pch="no"
48659 ;;
48660 esac
48661
48662 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
48663 if test "x$GCC" = "xyes"; then
48664 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
48665 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
48666 cat >conftest.$ac_ext <<_ACEOF
48667 /* confdefs.h. */
48668 _ACEOF
48669 cat confdefs.h >>conftest.$ac_ext
48670 cat >>conftest.$ac_ext <<_ACEOF
48671 /* end confdefs.h. */
48672
48673 int
48674 main ()
48675 {
48676
48677 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
48678 There is no PCH support
48679 #endif
48680 #if (__GNUC__ < 3)
48681 There is no PCH support
48682 #endif
48683 #if (__GNUC__ == 3) && \
48684 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
48685 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
48686 ( defined(__INTEL_COMPILER) )
48687 There is no PCH support
48688 #endif
48689
48690 ;
48691 return 0;
48692 }
48693 _ACEOF
48694 rm -f conftest.$ac_objext
48695 if { (ac_try="$ac_compile"
48696 case "(($ac_try" in
48697 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48698 *) ac_try_echo=$ac_try;;
48699 esac
48700 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48701 (eval "$ac_compile") 2>conftest.er1
48702 ac_status=$?
48703 grep -v '^ *+' conftest.er1 >conftest.err
48704 rm -f conftest.er1
48705 cat conftest.err >&5
48706 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48707 (exit $ac_status); } && {
48708 test -z "$ac_c_werror_flag" ||
48709 test ! -s conftest.err
48710 } && test -s conftest.$ac_objext; then
48711
48712 { echo "$as_me:$LINENO: result: yes" >&5
48713 echo "${ECHO_T}yes" >&6; }
48714 GCC_PCH=1
48715
48716 else
48717 echo "$as_me: failed program was:" >&5
48718 sed 's/^/| /' conftest.$ac_ext >&5
48719
48720
48721 cat >conftest.$ac_ext <<_ACEOF
48722 /* confdefs.h. */
48723 _ACEOF
48724 cat confdefs.h >>conftest.$ac_ext
48725 cat >>conftest.$ac_ext <<_ACEOF
48726 /* end confdefs.h. */
48727
48728 int
48729 main ()
48730 {
48731
48732 #if !defined(__INTEL_COMPILER) || \
48733 (__INTEL_COMPILER < 800)
48734 There is no PCH support
48735 #endif
48736
48737 ;
48738 return 0;
48739 }
48740 _ACEOF
48741 rm -f conftest.$ac_objext
48742 if { (ac_try="$ac_compile"
48743 case "(($ac_try" in
48744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
48745 *) ac_try_echo=$ac_try;;
48746 esac
48747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
48748 (eval "$ac_compile") 2>conftest.er1
48749 ac_status=$?
48750 grep -v '^ *+' conftest.er1 >conftest.err
48751 rm -f conftest.er1
48752 cat conftest.err >&5
48753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
48754 (exit $ac_status); } && {
48755 test -z "$ac_c_werror_flag" ||
48756 test ! -s conftest.err
48757 } && test -s conftest.$ac_objext; then
48758
48759 { echo "$as_me:$LINENO: result: yes" >&5
48760 echo "${ECHO_T}yes" >&6; }
48761 ICC_PCH=1
48762
48763 else
48764 echo "$as_me: failed program was:" >&5
48765 sed 's/^/| /' conftest.$ac_ext >&5
48766
48767
48768 { echo "$as_me:$LINENO: result: no" >&5
48769 echo "${ECHO_T}no" >&6; }
48770
48771 fi
48772
48773 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48774
48775 fi
48776
48777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48778 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48779 USE_PCH=1
48780
48781 D='$'
48782 cat <<EOF >bk-make-pch
48783 #!/bin/sh
48784
48785 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48786 # script. It is used to generated precompiled headers.
48787 #
48788 # Permission is given to use this file in any way.
48789
48790 outfile="${D}{1}"
48791 header="${D}{2}"
48792 shift
48793 shift
48794
48795 compiler=""
48796 headerfile=""
48797
48798 while test ${D}{#} -gt 0; do
48799 add_to_cmdline=1
48800 case "${D}{1}" in
48801 -I* )
48802 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48803 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48804 headerfile="${D}{incdir}/${D}{header}"
48805 fi
48806 ;;
48807 -use-pch|-use_pch )
48808 shift
48809 add_to_cmdline=0
48810 ;;
48811 esac
48812 if test ${D}add_to_cmdline = 1 ; then
48813 compiler="${D}{compiler} ${D}{1}"
48814 fi
48815 shift
48816 done
48817
48818 if test "x${D}{headerfile}" = "x" ; then
48819 echo "error: can't find header ${D}{header} in include paths" >&2
48820 else
48821 if test -f ${D}{outfile} ; then
48822 rm -f ${D}{outfile}
48823 else
48824 mkdir -p \`dirname ${D}{outfile}\`
48825 fi
48826 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48827 mkdir -p .deps
48828 if test "x${GCC_PCH}" = "x1" ; then
48829 # can do this because gcc is >= 3.4:
48830 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48831 elif test "x${ICC_PCH}" = "x1" ; then
48832 filename=pch_gen-${D}${D}
48833 file=${D}{filename}.c
48834 dfile=${D}{filename}.d
48835 cat > ${D}file <<EOT
48836 #include "${D}header"
48837 EOT
48838 # using -MF icc complains about differing command lines in creation/use
48839 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48840 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48841 rm -f ${D}file ${D}dfile ${D}{filename}.o
48842 fi
48843 exit ${D}{?}
48844 fi
48845 EOF
48846
48847 chmod +x bk-make-pch
48848 BK_MAKE_PCH="`pwd`/bk-make-pch"
48849 fi
48850 fi
48851 fi
48852
48853
48854
48855
48856
48857 COND_BUILD_DEBUG="#"
48858 if test "x$BUILD" = "xdebug" ; then
48859 COND_BUILD_DEBUG=""
48860 fi
48861
48862 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48863 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48864 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48865 fi
48866
48867 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48868 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48869 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48870 fi
48871
48872 COND_BUILD_DEBUG_UNICODE_0="#"
48873 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48874 COND_BUILD_DEBUG_UNICODE_0=""
48875 fi
48876
48877 COND_BUILD_DEBUG_UNICODE_1="#"
48878 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48879 COND_BUILD_DEBUG_UNICODE_1=""
48880 fi
48881
48882 COND_BUILD_RELEASE="#"
48883 if test "x$BUILD" = "xrelease" ; then
48884 COND_BUILD_RELEASE=""
48885 fi
48886
48887 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48888 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48889 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48890 fi
48891
48892 COND_BUILD_RELEASE_UNICODE_0="#"
48893 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48894 COND_BUILD_RELEASE_UNICODE_0=""
48895 fi
48896
48897 COND_BUILD_RELEASE_UNICODE_1="#"
48898 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48899 COND_BUILD_RELEASE_UNICODE_1=""
48900 fi
48901
48902 COND_DEBUG_FLAG_1="#"
48903 if test "x$DEBUG_FLAG" = "x1" ; then
48904 COND_DEBUG_FLAG_1=""
48905 fi
48906
48907 COND_DEBUG_INFO_0="#"
48908 if test "x$DEBUG_INFO" = "x0" ; then
48909 COND_DEBUG_INFO_0=""
48910 fi
48911
48912 COND_DEBUG_INFO_1="#"
48913 if test "x$DEBUG_INFO" = "x1" ; then
48914 COND_DEBUG_INFO_1=""
48915 fi
48916
48917 COND_DEPS_TRACKING_0="#"
48918 if test "x$DEPS_TRACKING" = "x0" ; then
48919 COND_DEPS_TRACKING_0=""
48920 fi
48921
48922 COND_DEPS_TRACKING_1="#"
48923 if test "x$DEPS_TRACKING" = "x1" ; then
48924 COND_DEPS_TRACKING_1=""
48925 fi
48926
48927 COND_GCC_PCH_1="#"
48928 if test "x$GCC_PCH" = "x1" ; then
48929 COND_GCC_PCH_1=""
48930 fi
48931
48932 COND_ICC_PCH_1="#"
48933 if test "x$ICC_PCH" = "x1" ; then
48934 COND_ICC_PCH_1=""
48935 fi
48936
48937 COND_MONOLITHIC_0="#"
48938 if test "x$MONOLITHIC" = "x0" ; then
48939 COND_MONOLITHIC_0=""
48940 fi
48941
48942 COND_MONOLITHIC_0_SHARED_0="#"
48943 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48944 COND_MONOLITHIC_0_SHARED_0=""
48945 fi
48946
48947 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48948 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48949 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48950 fi
48951
48952 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48953 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48954 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48955 fi
48956
48957 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48958 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48959 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48960 fi
48961
48962 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48963 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48964 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48965 fi
48966
48967 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48968 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48969 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48970 fi
48971
48972 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48973 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48974 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48975 fi
48976
48977 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48978 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48979 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48980 fi
48981
48982 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48983 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48984 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48985 fi
48986
48987 COND_MONOLITHIC_0_SHARED_1="#"
48988 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48989 COND_MONOLITHIC_0_SHARED_1=""
48990 fi
48991
48992 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48993 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48994 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48995 fi
48996
48997 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48998 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48999 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
49000 fi
49001
49002 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
49003 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
49004 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
49005 fi
49006
49007 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
49008 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49009 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
49010 fi
49011
49012 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
49013 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
49014 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
49015 fi
49016
49017 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
49018 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
49019 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
49020 fi
49021
49022 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
49023 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
49024 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
49025 fi
49026
49027 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
49028 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
49029 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
49030 fi
49031
49032 COND_MONOLITHIC_0_USE_AUI_1="#"
49033 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
49034 COND_MONOLITHIC_0_USE_AUI_1=""
49035 fi
49036
49037 COND_MONOLITHIC_0_USE_GUI_1="#"
49038 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
49039 COND_MONOLITHIC_0_USE_GUI_1=""
49040 fi
49041
49042 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
49043 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
49044 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
49045 fi
49046
49047 COND_MONOLITHIC_0_USE_HTML_1="#"
49048 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
49049 COND_MONOLITHIC_0_USE_HTML_1=""
49050 fi
49051
49052 COND_MONOLITHIC_0_USE_MEDIA_1="#"
49053 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
49054 COND_MONOLITHIC_0_USE_MEDIA_1=""
49055 fi
49056
49057 COND_MONOLITHIC_0_USE_QA_1="#"
49058 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
49059 COND_MONOLITHIC_0_USE_QA_1=""
49060 fi
49061
49062 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
49063 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
49064 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
49065 fi
49066
49067 COND_MONOLITHIC_0_USE_STC_1="#"
49068 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
49069 COND_MONOLITHIC_0_USE_STC_1=""
49070 fi
49071
49072 COND_MONOLITHIC_0_USE_XRC_1="#"
49073 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
49074 COND_MONOLITHIC_0_USE_XRC_1=""
49075 fi
49076
49077 COND_MONOLITHIC_1="#"
49078 if test "x$MONOLITHIC" = "x1" ; then
49079 COND_MONOLITHIC_1=""
49080 fi
49081
49082 COND_MONOLITHIC_1_SHARED_0="#"
49083 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
49084 COND_MONOLITHIC_1_SHARED_0=""
49085 fi
49086
49087 COND_MONOLITHIC_1_SHARED_1="#"
49088 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
49089 COND_MONOLITHIC_1_SHARED_1=""
49090 fi
49091
49092 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
49093 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
49094 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
49095 fi
49096
49097 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
49098 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
49099 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
49100 fi
49101
49102 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
49103 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49104 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
49105 fi
49106
49107 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
49108 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
49109 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
49110 fi
49111
49112 COND_PLATFORM_MACOSX_1="#"
49113 if test "x$PLATFORM_MACOSX" = "x1" ; then
49114 COND_PLATFORM_MACOSX_1=""
49115 fi
49116
49117 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
49118 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
49119 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
49120 fi
49121
49122 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
49123 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
49124 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
49125 fi
49126
49127 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
49128 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
49129 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
49130 fi
49131
49132 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
49133 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
49134 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
49135 fi
49136
49137 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
49138 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49139 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
49140 fi
49141
49142 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
49143 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
49144 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
49145 fi
49146
49147 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
49148 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
49149 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
49150 fi
49151
49152 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
49153 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
49154 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
49155 fi
49156
49157 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
49158 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49159 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
49160 fi
49161
49162 COND_PLATFORM_MACOS_1="#"
49163 if test "x$PLATFORM_MACOS" = "x1" ; then
49164 COND_PLATFORM_MACOS_1=""
49165 fi
49166
49167 COND_PLATFORM_MAC_1="#"
49168 if test "x$PLATFORM_MAC" = "x1" ; then
49169 COND_PLATFORM_MAC_1=""
49170 fi
49171
49172 COND_PLATFORM_MSDOS_0="#"
49173 if test "x$PLATFORM_MSDOS" = "x0" ; then
49174 COND_PLATFORM_MSDOS_0=""
49175 fi
49176
49177 COND_PLATFORM_MSDOS_1="#"
49178 if test "x$PLATFORM_MSDOS" = "x1" ; then
49179 COND_PLATFORM_MSDOS_1=""
49180 fi
49181
49182 COND_PLATFORM_OS2_1="#"
49183 if test "x$PLATFORM_OS2" = "x1" ; then
49184 COND_PLATFORM_OS2_1=""
49185 fi
49186
49187 COND_PLATFORM_UNIX_0="#"
49188 if test "x$PLATFORM_UNIX" = "x0" ; then
49189 COND_PLATFORM_UNIX_0=""
49190 fi
49191
49192 COND_PLATFORM_UNIX_1="#"
49193 if test "x$PLATFORM_UNIX" = "x1" ; then
49194 COND_PLATFORM_UNIX_1=""
49195 fi
49196
49197 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
49198 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
49199 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
49200 fi
49201
49202 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
49203 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49204 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
49205 fi
49206
49207 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
49208 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
49209 COND_PLATFORM_UNIX_1_USE_GUI_1=""
49210 fi
49211
49212 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
49213 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
49214 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
49215 fi
49216
49217 COND_PLATFORM_WIN32_0="#"
49218 if test "x$PLATFORM_WIN32" = "x0" ; then
49219 COND_PLATFORM_WIN32_0=""
49220 fi
49221
49222 COND_PLATFORM_WIN32_1="#"
49223 if test "x$PLATFORM_WIN32" = "x1" ; then
49224 COND_PLATFORM_WIN32_1=""
49225 fi
49226
49227 COND_SHARED_0="#"
49228 if test "x$SHARED" = "x0" ; then
49229 COND_SHARED_0=""
49230 fi
49231
49232 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
49233 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
49234 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
49235 fi
49236
49237 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
49238 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49239 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
49240 fi
49241
49242 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
49243 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
49244 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
49245 fi
49246
49247 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
49248 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49249 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
49250 fi
49251
49252 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49253 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49254 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49255 fi
49256
49257 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49258 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49259 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49260 fi
49261
49262 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49263 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49264 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49265 fi
49266
49267 COND_SHARED_0_USE_STC_1="#"
49268 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
49269 COND_SHARED_0_USE_STC_1=""
49270 fi
49271
49272 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
49273 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
49274 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
49275 fi
49276
49277 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
49278 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
49279 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
49280 fi
49281
49282 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
49283 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
49284 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
49285 fi
49286
49287 COND_SHARED_1="#"
49288 if test "x$SHARED" = "x1" ; then
49289 COND_SHARED_1=""
49290 fi
49291
49292 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
49293 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49294 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
49295 fi
49296
49297 COND_TOOLKIT_="#"
49298 if test "x$TOOLKIT" = "x" ; then
49299 COND_TOOLKIT_=""
49300 fi
49301
49302 COND_TOOLKIT_COCOA="#"
49303 if test "x$TOOLKIT" = "xCOCOA" ; then
49304 COND_TOOLKIT_COCOA=""
49305 fi
49306
49307 COND_TOOLKIT_COCOA_USE_GUI_1="#"
49308 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
49309 COND_TOOLKIT_COCOA_USE_GUI_1=""
49310 fi
49311
49312 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
49313 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49314 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
49315 fi
49316
49317 COND_TOOLKIT_DFB="#"
49318 if test "x$TOOLKIT" = "xDFB" ; then
49319 COND_TOOLKIT_DFB=""
49320 fi
49321
49322 COND_TOOLKIT_DFB_USE_GUI_1="#"
49323 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
49324 COND_TOOLKIT_DFB_USE_GUI_1=""
49325 fi
49326
49327 COND_TOOLKIT_GTK="#"
49328 if test "x$TOOLKIT" = "xGTK" ; then
49329 COND_TOOLKIT_GTK=""
49330 fi
49331
49332 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
49333 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
49334 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
49335 fi
49336
49337 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
49338 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
49339 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
49340 fi
49341
49342 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
49343 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
49344 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
49345 fi
49346
49347 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
49348 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49349 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
49350 fi
49351
49352 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0="#"
49353 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$WXUNIV" = "x0" ; then
49354 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0=""
49355 fi
49356
49357 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
49358 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
49359 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
49360 fi
49361
49362 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
49363 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49364 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
49365 fi
49366
49367 COND_TOOLKIT_GTK_USE_GUI_1="#"
49368 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
49369 COND_TOOLKIT_GTK_USE_GUI_1=""
49370 fi
49371
49372 COND_TOOLKIT_MAC="#"
49373 if test "x$TOOLKIT" = "xMAC" ; then
49374 COND_TOOLKIT_MAC=""
49375 fi
49376
49377 COND_TOOLKIT_MAC_USE_GUI_1="#"
49378 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
49379 COND_TOOLKIT_MAC_USE_GUI_1=""
49380 fi
49381
49382 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
49383 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49384 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
49385 fi
49386
49387 COND_TOOLKIT_MGL="#"
49388 if test "x$TOOLKIT" = "xMGL" ; then
49389 COND_TOOLKIT_MGL=""
49390 fi
49391
49392 COND_TOOLKIT_MGL_USE_GUI_1="#"
49393 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
49394 COND_TOOLKIT_MGL_USE_GUI_1=""
49395 fi
49396
49397 COND_TOOLKIT_MOTIF="#"
49398 if test "x$TOOLKIT" = "xMOTIF" ; then
49399 COND_TOOLKIT_MOTIF=""
49400 fi
49401
49402 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
49403 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
49404 COND_TOOLKIT_MOTIF_USE_GUI_1=""
49405 fi
49406
49407 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
49408 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49409 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
49410 fi
49411
49412 COND_TOOLKIT_MSW="#"
49413 if test "x$TOOLKIT" = "xMSW" ; then
49414 COND_TOOLKIT_MSW=""
49415 fi
49416
49417 COND_TOOLKIT_MSW_USE_GUI_1="#"
49418 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
49419 COND_TOOLKIT_MSW_USE_GUI_1=""
49420 fi
49421
49422 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
49423 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49424 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
49425 fi
49426
49427 COND_TOOLKIT_MSW_WXUNIV_0="#"
49428 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
49429 COND_TOOLKIT_MSW_WXUNIV_0=""
49430 fi
49431
49432 COND_TOOLKIT_PM="#"
49433 if test "x$TOOLKIT" = "xPM" ; then
49434 COND_TOOLKIT_PM=""
49435 fi
49436
49437 COND_TOOLKIT_PM_USE_GUI_1="#"
49438 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
49439 COND_TOOLKIT_PM_USE_GUI_1=""
49440 fi
49441
49442 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
49443 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49444 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
49445 fi
49446
49447 COND_TOOLKIT_WINCE="#"
49448 if test "x$TOOLKIT" = "xWINCE" ; then
49449 COND_TOOLKIT_WINCE=""
49450 fi
49451
49452 COND_TOOLKIT_WINCE_USE_GUI_1="#"
49453 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
49454 COND_TOOLKIT_WINCE_USE_GUI_1=""
49455 fi
49456
49457 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
49458 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49459 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
49460 fi
49461
49462 COND_TOOLKIT_WINCE_WXUNIV_0="#"
49463 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
49464 COND_TOOLKIT_WINCE_WXUNIV_0=""
49465 fi
49466
49467 COND_TOOLKIT_X11="#"
49468 if test "x$TOOLKIT" = "xX11" ; then
49469 COND_TOOLKIT_X11=""
49470 fi
49471
49472 COND_TOOLKIT_X11_USE_GUI_1="#"
49473 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
49474 COND_TOOLKIT_X11_USE_GUI_1=""
49475 fi
49476
49477 COND_UNICODE_1="#"
49478 if test "x$UNICODE" = "x1" ; then
49479 COND_UNICODE_1=""
49480 fi
49481
49482 COND_USE_EXCEPTIONS_0="#"
49483 if test "x$USE_EXCEPTIONS" = "x0" ; then
49484 COND_USE_EXCEPTIONS_0=""
49485 fi
49486
49487 COND_USE_EXCEPTIONS_1="#"
49488 if test "x$USE_EXCEPTIONS" = "x1" ; then
49489 COND_USE_EXCEPTIONS_1=""
49490 fi
49491
49492 COND_USE_GUI_0="#"
49493 if test "x$USE_GUI" = "x0" ; then
49494 COND_USE_GUI_0=""
49495 fi
49496
49497 COND_USE_GUI_1="#"
49498 if test "x$USE_GUI" = "x1" ; then
49499 COND_USE_GUI_1=""
49500 fi
49501
49502 COND_USE_GUI_1_USE_OPENGL_1="#"
49503 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
49504 COND_USE_GUI_1_USE_OPENGL_1=""
49505 fi
49506
49507 COND_USE_GUI_1_WXUNIV_0="#"
49508 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
49509 COND_USE_GUI_1_WXUNIV_0=""
49510 fi
49511
49512 COND_USE_GUI_1_WXUNIV_1="#"
49513 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
49514 COND_USE_GUI_1_WXUNIV_1=""
49515 fi
49516
49517 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
49518 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49519 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
49520 fi
49521
49522 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
49523 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49524 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
49525 fi
49526
49527 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
49528 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49529 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
49530 fi
49531
49532 COND_USE_OPENGL_1="#"
49533 if test "x$USE_OPENGL" = "x1" ; then
49534 COND_USE_OPENGL_1=""
49535 fi
49536
49537 COND_USE_PCH_1="#"
49538 if test "x$USE_PCH" = "x1" ; then
49539 COND_USE_PCH_1=""
49540 fi
49541
49542 COND_USE_PLUGINS_0="#"
49543 if test "x$USE_PLUGINS" = "x0" ; then
49544 COND_USE_PLUGINS_0=""
49545 fi
49546
49547 COND_USE_RTTI_0="#"
49548 if test "x$USE_RTTI" = "x0" ; then
49549 COND_USE_RTTI_0=""
49550 fi
49551
49552 COND_USE_RTTI_1="#"
49553 if test "x$USE_RTTI" = "x1" ; then
49554 COND_USE_RTTI_1=""
49555 fi
49556
49557 COND_USE_SOSYMLINKS_1="#"
49558 if test "x$USE_SOSYMLINKS" = "x1" ; then
49559 COND_USE_SOSYMLINKS_1=""
49560 fi
49561
49562 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
49563 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
49564 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
49565 fi
49566
49567 COND_USE_SOVERLINUX_1="#"
49568 if test "x$USE_SOVERLINUX" = "x1" ; then
49569 COND_USE_SOVERLINUX_1=""
49570 fi
49571
49572 COND_USE_SOVERSION_0="#"
49573 if test "x$USE_SOVERSION" = "x0" ; then
49574 COND_USE_SOVERSION_0=""
49575 fi
49576
49577 COND_USE_SOVERSOLARIS_1="#"
49578 if test "x$USE_SOVERSOLARIS" = "x1" ; then
49579 COND_USE_SOVERSOLARIS_1=""
49580 fi
49581
49582 COND_USE_STC_1="#"
49583 if test "x$USE_STC" = "x1" ; then
49584 COND_USE_STC_1=""
49585 fi
49586
49587 COND_USE_THREADS_0="#"
49588 if test "x$USE_THREADS" = "x0" ; then
49589 COND_USE_THREADS_0=""
49590 fi
49591
49592 COND_USE_THREADS_1="#"
49593 if test "x$USE_THREADS" = "x1" ; then
49594 COND_USE_THREADS_1=""
49595 fi
49596
49597 COND_USE_XRC_1="#"
49598 if test "x$USE_XRC" = "x1" ; then
49599 COND_USE_XRC_1=""
49600 fi
49601
49602 COND_WINDOWS_IMPLIB_1="#"
49603 if test "x$WINDOWS_IMPLIB" = "x1" ; then
49604 COND_WINDOWS_IMPLIB_1=""
49605 fi
49606
49607 COND_WITH_PLUGIN_SDL_1="#"
49608 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
49609 COND_WITH_PLUGIN_SDL_1=""
49610 fi
49611
49612 COND_WXUNIV_0="#"
49613 if test "x$WXUNIV" = "x0" ; then
49614 COND_WXUNIV_0=""
49615 fi
49616
49617 COND_WXUNIV_1="#"
49618 if test "x$WXUNIV" = "x1" ; then
49619 COND_WXUNIV_1=""
49620 fi
49621
49622 COND_WXUSE_EXPAT_BUILTIN="#"
49623 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
49624 COND_WXUSE_EXPAT_BUILTIN=""
49625 fi
49626
49627 COND_WXUSE_LIBJPEG_BUILTIN="#"
49628 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
49629 COND_WXUSE_LIBJPEG_BUILTIN=""
49630 fi
49631
49632 COND_WXUSE_LIBPNG_BUILTIN="#"
49633 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
49634 COND_WXUSE_LIBPNG_BUILTIN=""
49635 fi
49636
49637 COND_WXUSE_LIBTIFF_BUILTIN="#"
49638 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
49639 COND_WXUSE_LIBTIFF_BUILTIN=""
49640 fi
49641
49642 COND_WXUSE_REGEX_BUILTIN="#"
49643 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
49644 COND_WXUSE_REGEX_BUILTIN=""
49645 fi
49646
49647 COND_WXUSE_ZLIB_BUILTIN="#"
49648 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
49649 COND_WXUSE_ZLIB_BUILTIN=""
49650 fi
49651
49652
49653
49654 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
49655 { { 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
49656 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;}
49657 { (exit 1); exit 1; }; }
49658 fi
49659
49660 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
49661 { { 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
49662 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;}
49663 { (exit 1); exit 1; }; }
49664 fi
49665
49666
49667 case ${INSTALL} in
49668 /* ) # Absolute
49669 ;;
49670 ?:* ) # Drive letter, considered as absolute.
49671 ;;
49672 *)
49673 INSTALL=`pwd`/${INSTALL} ;;
49674 esac
49675
49676 if test "$wxUSE_GUI" = "yes"; then
49677
49678 if test "$wxUSE_MSW" = 1 ; then
49679 if test "x$WINDRES" = "x"; then
49680 { { echo "$as_me:$LINENO: error: Required windres program not found" >&5
49681 echo "$as_me: error: Required windres program not found" >&2;}
49682 { (exit 1); exit 1; }; }
49683 fi
49684
49685 RESCOMP="$WINDRES"
49686 fi
49687
49688 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
49689 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
49690 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
49691
49692 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
49693
49694 # Extract the first word of "DeRez", so it can be a program name with args.
49695 set dummy DeRez; ac_word=$2
49696 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49697 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49698 if test "${ac_cv_prog_DEREZ+set}" = set; then
49699 echo $ECHO_N "(cached) $ECHO_C" >&6
49700 else
49701 if test -n "$DEREZ"; then
49702 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
49703 else
49704 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49705 for as_dir in $PATH
49706 do
49707 IFS=$as_save_IFS
49708 test -z "$as_dir" && as_dir=.
49709 for ac_exec_ext in '' $ac_executable_extensions; do
49710 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49711 ac_cv_prog_DEREZ="DeRez"
49712 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49713 break 2
49714 fi
49715 done
49716 done
49717 IFS=$as_save_IFS
49718
49719 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
49720 fi
49721 fi
49722 DEREZ=$ac_cv_prog_DEREZ
49723 if test -n "$DEREZ"; then
49724 { echo "$as_me:$LINENO: result: $DEREZ" >&5
49725 echo "${ECHO_T}$DEREZ" >&6; }
49726 else
49727 { echo "$as_me:$LINENO: result: no" >&5
49728 echo "${ECHO_T}no" >&6; }
49729 fi
49730
49731
49732
49733 MACSETFILE="\$(SETFILE)"
49734
49735 if test "$wxUSE_MAC" = 1; then
49736 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
49737 RESCOMP="$REZ"
49738 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
49739 else
49740 POSTLINK_COMMAND="cat /dev/null | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
49741 RESCOMP="cat /dev/null \| $REZ"
49742 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
49743 fi
49744
49745 else
49746 MACSETFILE="@true"
49747
49748 if test "$wxUSE_PM" = 1; then
49749 RESCOMP="emxbind"
49750 WXCONFIG_RESFLAGS="-ep"
49751
49752 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
49753 else
49754 POSTLINK_COMMAND="@true"
49755 fi
49756 fi
49757
49758 fi
49759
49760
49761 if test $GCC_PCH = 1
49762 then
49763 if test "$wx_cv_gcc_pch_bug" = yes; then
49764 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
49765 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
49766 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
49767 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
49768 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
49769 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
49770 fi
49771
49772 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
49773 fi
49774
49775
49776 if test "$wxUSE_MAC" = 1 ; then
49777 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
49778 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
49779 mv temp bk-deps
49780 chmod +x bk-deps
49781 fi
49782 fi
49783
49784 if test "$wxUSE_SHARED" = "yes"; then
49785 case "${host}" in
49786 *-pc-os2_emx | *-pc-os2-emx )
49787 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49788 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
49789 cp -p ${srcdir}/src/os2/dllnames.sh .
49790 cp -p ${srcdir}/src/os2/dllar.sh .
49791 ;;
49792 esac
49793 fi
49794 if test "$wxUSE_OMF" = "yes"; then
49795 case "${host}" in
49796 *-pc-os2_emx | *-pc-os2-emx )
49797 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49798 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49799 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49800 ;;
49801 esac
49802 fi
49803
49804 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49805
49806
49807 case "${host}" in
49808 *-*-solaris2* )
49809 if test "$GCC" = yes; then
49810 CPPFLAGS=`echo $CPPFLAGS | sed 's/-mt//'`
49811 LIBS=`echo $LIBS | sed 's/-mt//'`
49812 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-mt//'`
49813 fi
49814 ;;
49815
49816 *-*-linux* )
49817 if test "x$SUNCXX" = xyes; then
49818 CPPFLAGS=`echo $CPPFLAGS | sed 's/-pthread//'`
49819 LIBS=`echo $LIBS | sed 's/-pthread//'`
49820 EXTRALIBS_GUI=`echo $EXTRALIBS_GUI | sed 's/-pthread//'`
49821 fi
49822 ;;
49823 esac
49824
49825 CFLAGS="$CFLAGS $CFLAGS_VISIBILITY"
49826 CXXFLAGS="$CXXFLAGS $CXXFLAGS_VISIBILITY"
49827
49828 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49829
49830
49831
49832
49833
49834
49835
49836
49837
49838
49839
49840
49841
49842
49843
49844
49845
49846
49847
49848
49849
49850
49851
49852
49853
49854
49855
49856
49857
49858
49859
49860
49861
49862
49863
49864
49865
49866
49867
49868
49869
49870
49871
49872
49873
49874
49875
49876
49877
49878
49879
49880
49881
49882
49883
49884
49885
49886
49887
49888
49889 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49890 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49891 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49892 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49893 echo $ECHO_N "(cached) $ECHO_C" >&6
49894 else
49895 cat >conftest.make <<\_ACEOF
49896 SHELL = /bin/sh
49897 all:
49898 @echo '@@@%%%=$(MAKE)=@@@%%%'
49899 _ACEOF
49900 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49901 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49902 *@@@%%%=?*=@@@%%%*)
49903 eval ac_cv_prog_make_${ac_make}_set=yes;;
49904 *)
49905 eval ac_cv_prog_make_${ac_make}_set=no;;
49906 esac
49907 rm -f conftest.make
49908 fi
49909 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49910 { echo "$as_me:$LINENO: result: yes" >&5
49911 echo "${ECHO_T}yes" >&6; }
49912 SET_MAKE=
49913 else
49914 { echo "$as_me:$LINENO: result: no" >&5
49915 echo "${ECHO_T}no" >&6; }
49916 SET_MAKE="MAKE=${MAKE-make}"
49917 fi
49918
49919
49920
49921 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49922
49923
49924 if test "$USE_WIN32" = 1; then
49925 ac_config_commands="$ac_config_commands
49926 rcdefs.h
49927 "
49928
49929 fi
49930
49931 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49932
49933
49934 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49935
49936
49937 if test "$wx_cv_version_script" = "yes"; then
49938 ac_config_files="$ac_config_files version-script"
49939
49940 fi
49941 ac_config_files="$ac_config_files Makefile"
49942
49943
49944 ac_config_commands="$ac_config_commands wx-config"
49945
49946
49947
49948 if test "$wxWITH_SUBDIRS" != "no"; then
49949 if test "$wxUSE_GUI" = "yes"; then
49950 SUBDIRS="samples demos utils"
49951 else
49952 SUBDIRS="samples utils"
49953 fi
49954
49955
49956
49957 # Check whether --with-cppunit-prefix was given.
49958 if test "${with_cppunit_prefix+set}" = set; then
49959 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49960 else
49961 cppunit_config_prefix=""
49962 fi
49963
49964
49965 # Check whether --with-cppunit-exec-prefix was given.
49966 if test "${with_cppunit_exec_prefix+set}" = set; then
49967 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49968 else
49969 cppunit_config_exec_prefix=""
49970 fi
49971
49972
49973 if test x$cppunit_config_exec_prefix != x ; then
49974 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49975 if test x${CPPUNIT_CONFIG+set} != xset ; then
49976 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49977 fi
49978 fi
49979 if test x$cppunit_config_prefix != x ; then
49980 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49981 if test x${CPPUNIT_CONFIG+set} != xset ; then
49982 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49983 fi
49984 fi
49985
49986 # Extract the first word of "cppunit-config", so it can be a program name with args.
49987 set dummy cppunit-config; ac_word=$2
49988 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49989 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49990 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49991 echo $ECHO_N "(cached) $ECHO_C" >&6
49992 else
49993 case $CPPUNIT_CONFIG in
49994 [\\/]* | ?:[\\/]*)
49995 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49996 ;;
49997 *)
49998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49999 for as_dir in $PATH
50000 do
50001 IFS=$as_save_IFS
50002 test -z "$as_dir" && as_dir=.
50003 for ac_exec_ext in '' $ac_executable_extensions; do
50004 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
50005 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
50006 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
50007 break 2
50008 fi
50009 done
50010 done
50011 IFS=$as_save_IFS
50012
50013 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
50014 ;;
50015 esac
50016 fi
50017 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
50018 if test -n "$CPPUNIT_CONFIG"; then
50019 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
50020 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
50021 else
50022 { echo "$as_me:$LINENO: result: no" >&5
50023 echo "${ECHO_T}no" >&6; }
50024 fi
50025
50026
50027 cppunit_version_min=1.8.0
50028
50029 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
50030 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
50031 no_cppunit=""
50032 if test "$CPPUNIT_CONFIG" = "no" ; then
50033 { echo "$as_me:$LINENO: result: no" >&5
50034 echo "${ECHO_T}no" >&6; }
50035 no_cppunit=yes
50036 else
50037 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
50038 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
50039 cppunit_version=`$CPPUNIT_CONFIG --version`
50040
50041 cppunit_major_version=`echo $cppunit_version | \
50042 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50043 cppunit_minor_version=`echo $cppunit_version | \
50044 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50045 cppunit_micro_version=`echo $cppunit_version | \
50046 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50047
50048 cppunit_major_min=`echo $cppunit_version_min | \
50049 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
50050 cppunit_minor_min=`echo $cppunit_version_min | \
50051 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
50052 cppunit_micro_min=`echo $cppunit_version_min | \
50053 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
50054
50055 cppunit_version_proper=`expr \
50056 $cppunit_major_version \> $cppunit_major_min \| \
50057 $cppunit_major_version \= $cppunit_major_min \& \
50058 $cppunit_minor_version \> $cppunit_minor_min \| \
50059 $cppunit_major_version \= $cppunit_major_min \& \
50060 $cppunit_minor_version \= $cppunit_minor_min \& \
50061 $cppunit_micro_version \>= $cppunit_micro_min `
50062
50063 if test "$cppunit_version_proper" = "1" ; then
50064 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
50065 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
50066 else
50067 { echo "$as_me:$LINENO: result: no" >&5
50068 echo "${ECHO_T}no" >&6; }
50069 no_cppunit=yes
50070 fi
50071 fi
50072
50073 if test "x$no_cppunit" = x ; then
50074 SUBDIRS="$SUBDIRS tests"
50075 else
50076 CPPUNIT_CFLAGS=""
50077 CPPUNIT_LIBS=""
50078 :
50079 fi
50080
50081
50082
50083
50084
50085 for subdir in $SUBDIRS; do
50086 if test -d ${srcdir}/${subdir} ; then
50087 if test "$wxUSE_GUI" = "yes"; then
50088 if test ${subdir} = "samples"; then
50089 makefiles="samples/Makefile.in $makefiles"
50090 for sample in $SAMPLES_SUBDIRS; do
50091 if test -d $srcdir/samples/$sample; then
50092 makefiles="samples/$sample/Makefile.in $makefiles"
50093 fi
50094 done
50095 else
50096 disabled_var=DISABLED_`echo $subdir | tr '[a-z]' '[A-Z]'`
50097 eval "disabled=\$$disabled_var"
50098 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
50099 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
50100 fi
50101 else
50102 if test ${subdir} = "samples"; then
50103 makefiles="samples/Makefile.in $makefiles"
50104 for sample in `echo $SAMPLES_SUBDIRS`; do
50105 if test -d $srcdir/samples/$sample; then
50106 makefiles="samples/$sample/Makefile.in $makefiles"
50107 fi
50108 done
50109 elif test ${subdir} = "utils"; then
50110 makefiles=""
50111 for util in HelpGen tex2rtf ; do
50112 if test -d $srcdir/utils/$util ; then
50113 makefiles="utils/$util/Makefile.in \
50114 utils/$util/src/Makefile.in \
50115 $makefiles"
50116 fi
50117 done
50118 else
50119 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
50120 fi
50121 fi
50122
50123 for mkin in $makefiles ; do
50124 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
50125 ac_config_files="$ac_config_files $mk"
50126
50127 done
50128 fi
50129 done
50130 fi
50131 cat >confcache <<\_ACEOF
50132 # This file is a shell script that caches the results of configure
50133 # tests run on this system so they can be shared between configure
50134 # scripts and configure runs, see configure's option --config-cache.
50135 # It is not useful on other systems. If it contains results you don't
50136 # want to keep, you may remove or edit it.
50137 #
50138 # config.status only pays attention to the cache file if you give it
50139 # the --recheck option to rerun configure.
50140 #
50141 # `ac_cv_env_foo' variables (set or unset) will be overridden when
50142 # loading this file, other *unset* `ac_cv_foo' will be assigned the
50143 # following values.
50144
50145 _ACEOF
50146
50147 # The following way of writing the cache mishandles newlines in values,
50148 # but we know of no workaround that is simple, portable, and efficient.
50149 # So, we kill variables containing newlines.
50150 # Ultrix sh set writes to stderr and can't be redirected directly,
50151 # and sets the high bit in the cache file unless we assign to the vars.
50152 (
50153 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
50154 eval ac_val=\$$ac_var
50155 case $ac_val in #(
50156 *${as_nl}*)
50157 case $ac_var in #(
50158 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
50159 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
50160 esac
50161 case $ac_var in #(
50162 _ | IFS | as_nl) ;; #(
50163 *) $as_unset $ac_var ;;
50164 esac ;;
50165 esac
50166 done
50167
50168 (set) 2>&1 |
50169 case $as_nl`(ac_space=' '; set) 2>&1` in #(
50170 *${as_nl}ac_space=\ *)
50171 # `set' does not quote correctly, so add quotes (double-quote
50172 # substitution turns \\\\ into \\, and sed turns \\ into \).
50173 sed -n \
50174 "s/'/'\\\\''/g;
50175 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
50176 ;; #(
50177 *)
50178 # `set' quotes correctly as required by POSIX, so do not add quotes.
50179 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
50180 ;;
50181 esac |
50182 sort
50183 ) |
50184 sed '
50185 /^ac_cv_env_/b end
50186 t clear
50187 :clear
50188 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
50189 t end
50190 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
50191 :end' >>confcache
50192 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
50193 if test -w "$cache_file"; then
50194 test "x$cache_file" != "x/dev/null" &&
50195 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
50196 echo "$as_me: updating cache $cache_file" >&6;}
50197 cat confcache >$cache_file
50198 else
50199 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
50200 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
50201 fi
50202 fi
50203 rm -f confcache
50204
50205 test "x$prefix" = xNONE && prefix=$ac_default_prefix
50206 # Let make expand exec_prefix.
50207 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
50208
50209 DEFS=-DHAVE_CONFIG_H
50210
50211 ac_libobjs=
50212 ac_ltlibobjs=
50213 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
50214 # 1. Remove the extension, and $U if already installed.
50215 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
50216 ac_i=`echo "$ac_i" | sed "$ac_script"`
50217 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
50218 # will be set to the directory where LIBOBJS objects are built.
50219 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
50220 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
50221 done
50222 LIBOBJS=$ac_libobjs
50223
50224 LTLIBOBJS=$ac_ltlibobjs
50225
50226
50227
50228 : ${CONFIG_STATUS=./config.status}
50229 ac_clean_files_save=$ac_clean_files
50230 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
50231 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
50232 echo "$as_me: creating $CONFIG_STATUS" >&6;}
50233 cat >$CONFIG_STATUS <<_ACEOF
50234 #! $SHELL
50235 # Generated by $as_me.
50236 # Run this file to recreate the current configuration.
50237 # Compiler output produced by configure, useful for debugging
50238 # configure, is in config.log if it exists.
50239
50240 debug=false
50241 ac_cs_recheck=false
50242 ac_cs_silent=false
50243 SHELL=\${CONFIG_SHELL-$SHELL}
50244 _ACEOF
50245
50246 cat >>$CONFIG_STATUS <<\_ACEOF
50247 ## --------------------- ##
50248 ## M4sh Initialization. ##
50249 ## --------------------- ##
50250
50251 # Be more Bourne compatible
50252 DUALCASE=1; export DUALCASE # for MKS sh
50253 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
50254 emulate sh
50255 NULLCMD=:
50256 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
50257 # is contrary to our usage. Disable this feature.
50258 alias -g '${1+"$@"}'='"$@"'
50259 setopt NO_GLOB_SUBST
50260 else
50261 case `(set -o) 2>/dev/null` in
50262 *posix*) set -o posix ;;
50263 esac
50264
50265 fi
50266
50267
50268
50269
50270 # PATH needs CR
50271 # Avoid depending upon Character Ranges.
50272 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
50273 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
50274 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
50275 as_cr_digits='0123456789'
50276 as_cr_alnum=$as_cr_Letters$as_cr_digits
50277
50278 # The user is always right.
50279 if test "${PATH_SEPARATOR+set}" != set; then
50280 echo "#! /bin/sh" >conf$$.sh
50281 echo "exit 0" >>conf$$.sh
50282 chmod +x conf$$.sh
50283 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
50284 PATH_SEPARATOR=';'
50285 else
50286 PATH_SEPARATOR=:
50287 fi
50288 rm -f conf$$.sh
50289 fi
50290
50291 # Support unset when possible.
50292 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
50293 as_unset=unset
50294 else
50295 as_unset=false
50296 fi
50297
50298
50299 # IFS
50300 # We need space, tab and new line, in precisely that order. Quoting is
50301 # there to prevent editors from complaining about space-tab.
50302 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
50303 # splitting by setting IFS to empty value.)
50304 as_nl='
50305 '
50306 IFS=" "" $as_nl"
50307
50308 # Find who we are. Look in the path if we contain no directory separator.
50309 case $0 in
50310 *[\\/]* ) as_myself=$0 ;;
50311 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
50312 for as_dir in $PATH
50313 do
50314 IFS=$as_save_IFS
50315 test -z "$as_dir" && as_dir=.
50316 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
50317 done
50318 IFS=$as_save_IFS
50319
50320 ;;
50321 esac
50322 # We did not find ourselves, most probably we were run as `sh COMMAND'
50323 # in which case we are not to be found in the path.
50324 if test "x$as_myself" = x; then
50325 as_myself=$0
50326 fi
50327 if test ! -f "$as_myself"; then
50328 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
50329 { (exit 1); exit 1; }
50330 fi
50331
50332 # Work around bugs in pre-3.0 UWIN ksh.
50333 for as_var in ENV MAIL MAILPATH
50334 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50335 done
50336 PS1='$ '
50337 PS2='> '
50338 PS4='+ '
50339
50340 # NLS nuisances.
50341 for as_var in \
50342 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
50343 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
50344 LC_TELEPHONE LC_TIME
50345 do
50346 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
50347 eval $as_var=C; export $as_var
50348 else
50349 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
50350 fi
50351 done
50352
50353 # Required to use basename.
50354 if expr a : '\(a\)' >/dev/null 2>&1 &&
50355 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50356 as_expr=expr
50357 else
50358 as_expr=false
50359 fi
50360
50361 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
50362 as_basename=basename
50363 else
50364 as_basename=false
50365 fi
50366
50367
50368 # Name of the executable.
50369 as_me=`$as_basename -- "$0" ||
50370 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
50371 X"$0" : 'X\(//\)$' \| \
50372 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
50373 echo X/"$0" |
50374 sed '/^.*\/\([^/][^/]*\)\/*$/{
50375 s//\1/
50376 q
50377 }
50378 /^X\/\(\/\/\)$/{
50379 s//\1/
50380 q
50381 }
50382 /^X\/\(\/\).*/{
50383 s//\1/
50384 q
50385 }
50386 s/.*/./; q'`
50387
50388 # CDPATH.
50389 $as_unset CDPATH
50390
50391
50392
50393 as_lineno_1=$LINENO
50394 as_lineno_2=$LINENO
50395 test "x$as_lineno_1" != "x$as_lineno_2" &&
50396 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
50397
50398 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
50399 # uniformly replaced by the line number. The first 'sed' inserts a
50400 # line-number line after each line using $LINENO; the second 'sed'
50401 # does the real work. The second script uses 'N' to pair each
50402 # line-number line with the line containing $LINENO, and appends
50403 # trailing '-' during substitution so that $LINENO is not a special
50404 # case at line end.
50405 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
50406 # scripts with optimization help from Paolo Bonzini. Blame Lee
50407 # E. McMahon (1931-1989) for sed's syntax. :-)
50408 sed -n '
50409 p
50410 /[$]LINENO/=
50411 ' <$as_myself |
50412 sed '
50413 s/[$]LINENO.*/&-/
50414 t lineno
50415 b
50416 :lineno
50417 N
50418 :loop
50419 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
50420 t loop
50421 s/-\n.*//
50422 ' >$as_me.lineno &&
50423 chmod +x "$as_me.lineno" ||
50424 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
50425 { (exit 1); exit 1; }; }
50426
50427 # Don't try to exec as it changes $[0], causing all sort of problems
50428 # (the dirname of $[0] is not the place where we might find the
50429 # original and so on. Autoconf is especially sensitive to this).
50430 . "./$as_me.lineno"
50431 # Exit status is that of the last command.
50432 exit
50433 }
50434
50435
50436 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
50437 as_dirname=dirname
50438 else
50439 as_dirname=false
50440 fi
50441
50442 ECHO_C= ECHO_N= ECHO_T=
50443 case `echo -n x` in
50444 -n*)
50445 case `echo 'x\c'` in
50446 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
50447 *) ECHO_C='\c';;
50448 esac;;
50449 *)
50450 ECHO_N='-n';;
50451 esac
50452
50453 if expr a : '\(a\)' >/dev/null 2>&1 &&
50454 test "X`expr 00001 : '.*\(...\)'`" = X001; then
50455 as_expr=expr
50456 else
50457 as_expr=false
50458 fi
50459
50460 rm -f conf$$ conf$$.exe conf$$.file
50461 if test -d conf$$.dir; then
50462 rm -f conf$$.dir/conf$$.file
50463 else
50464 rm -f conf$$.dir
50465 mkdir conf$$.dir
50466 fi
50467 echo >conf$$.file
50468 if ln -s conf$$.file conf$$ 2>/dev/null; then
50469 as_ln_s='ln -s'
50470 # ... but there are two gotchas:
50471 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
50472 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
50473 # In both cases, we have to default to `cp -p'.
50474 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
50475 as_ln_s='cp -p'
50476 elif ln conf$$.file conf$$ 2>/dev/null; then
50477 as_ln_s=ln
50478 else
50479 as_ln_s='cp -p'
50480 fi
50481 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
50482 rmdir conf$$.dir 2>/dev/null
50483
50484 if mkdir -p . 2>/dev/null; then
50485 as_mkdir_p=:
50486 else
50487 test -d ./-p && rmdir ./-p
50488 as_mkdir_p=false
50489 fi
50490
50491 if test -x / >/dev/null 2>&1; then
50492 as_test_x='test -x'
50493 else
50494 if ls -dL / >/dev/null 2>&1; then
50495 as_ls_L_option=L
50496 else
50497 as_ls_L_option=
50498 fi
50499 as_test_x='
50500 eval sh -c '\''
50501 if test -d "$1"; then
50502 test -d "$1/.";
50503 else
50504 case $1 in
50505 -*)set "./$1";;
50506 esac;
50507 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
50508 ???[sx]*):;;*)false;;esac;fi
50509 '\'' sh
50510 '
50511 fi
50512 as_executable_p=$as_test_x
50513
50514 # Sed expression to map a string onto a valid CPP name.
50515 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
50516
50517 # Sed expression to map a string onto a valid variable name.
50518 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
50519
50520
50521 exec 6>&1
50522
50523 # Save the log message, to keep $[0] and so on meaningful, and to
50524 # report actual input values of CONFIG_FILES etc. instead of their
50525 # values after options handling.
50526 ac_log="
50527 This file was extended by wxWidgets $as_me 2.9.0, which was
50528 generated by GNU Autoconf 2.61. Invocation command line was
50529
50530 CONFIG_FILES = $CONFIG_FILES
50531 CONFIG_HEADERS = $CONFIG_HEADERS
50532 CONFIG_LINKS = $CONFIG_LINKS
50533 CONFIG_COMMANDS = $CONFIG_COMMANDS
50534 $ $0 $@
50535
50536 on `(hostname || uname -n) 2>/dev/null | sed 1q`
50537 "
50538
50539 _ACEOF
50540
50541 cat >>$CONFIG_STATUS <<_ACEOF
50542 # Files that config.status was made for.
50543 config_files="$ac_config_files"
50544 config_headers="$ac_config_headers"
50545 config_commands="$ac_config_commands"
50546
50547 _ACEOF
50548
50549 cat >>$CONFIG_STATUS <<\_ACEOF
50550 ac_cs_usage="\
50551 \`$as_me' instantiates files from templates according to the
50552 current configuration.
50553
50554 Usage: $0 [OPTIONS] [FILE]...
50555
50556 -h, --help print this help, then exit
50557 -V, --version print version number and configuration settings, then exit
50558 -q, --quiet do not print progress messages
50559 -d, --debug don't remove temporary files
50560 --recheck update $as_me by reconfiguring in the same conditions
50561 --file=FILE[:TEMPLATE]
50562 instantiate the configuration file FILE
50563 --header=FILE[:TEMPLATE]
50564 instantiate the configuration header FILE
50565
50566 Configuration files:
50567 $config_files
50568
50569 Configuration headers:
50570 $config_headers
50571
50572 Configuration commands:
50573 $config_commands
50574
50575 Report bugs to <bug-autoconf@gnu.org>."
50576
50577 _ACEOF
50578 cat >>$CONFIG_STATUS <<_ACEOF
50579 ac_cs_version="\\
50580 wxWidgets config.status 2.9.0
50581 configured by $0, generated by GNU Autoconf 2.61,
50582 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
50583
50584 Copyright (C) 2006 Free Software Foundation, Inc.
50585 This config.status script is free software; the Free Software Foundation
50586 gives unlimited permission to copy, distribute and modify it."
50587
50588 ac_pwd='$ac_pwd'
50589 srcdir='$srcdir'
50590 INSTALL='$INSTALL'
50591 _ACEOF
50592
50593 cat >>$CONFIG_STATUS <<\_ACEOF
50594 # If no file are specified by the user, then we need to provide default
50595 # value. By we need to know if files were specified by the user.
50596 ac_need_defaults=:
50597 while test $# != 0
50598 do
50599 case $1 in
50600 --*=*)
50601 ac_option=`expr "X$1" : 'X\([^=]*\)='`
50602 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
50603 ac_shift=:
50604 ;;
50605 *)
50606 ac_option=$1
50607 ac_optarg=$2
50608 ac_shift=shift
50609 ;;
50610 esac
50611
50612 case $ac_option in
50613 # Handling of the options.
50614 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
50615 ac_cs_recheck=: ;;
50616 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
50617 echo "$ac_cs_version"; exit ;;
50618 --debug | --debu | --deb | --de | --d | -d )
50619 debug=: ;;
50620 --file | --fil | --fi | --f )
50621 $ac_shift
50622 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
50623 ac_need_defaults=false;;
50624 --header | --heade | --head | --hea )
50625 $ac_shift
50626 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
50627 ac_need_defaults=false;;
50628 --he | --h)
50629 # Conflict between --help and --header
50630 { echo "$as_me: error: ambiguous option: $1
50631 Try \`$0 --help' for more information." >&2
50632 { (exit 1); exit 1; }; };;
50633 --help | --hel | -h )
50634 echo "$ac_cs_usage"; exit ;;
50635 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
50636 | -silent | --silent | --silen | --sile | --sil | --si | --s)
50637 ac_cs_silent=: ;;
50638
50639 # This is an error.
50640 -*) { echo "$as_me: error: unrecognized option: $1
50641 Try \`$0 --help' for more information." >&2
50642 { (exit 1); exit 1; }; } ;;
50643
50644 *) ac_config_targets="$ac_config_targets $1"
50645 ac_need_defaults=false ;;
50646
50647 esac
50648 shift
50649 done
50650
50651 ac_configure_extra_args=
50652
50653 if $ac_cs_silent; then
50654 exec 6>/dev/null
50655 ac_configure_extra_args="$ac_configure_extra_args --silent"
50656 fi
50657
50658 _ACEOF
50659 cat >>$CONFIG_STATUS <<_ACEOF
50660 if \$ac_cs_recheck; then
50661 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
50662 CONFIG_SHELL=$SHELL
50663 export CONFIG_SHELL
50664 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
50665 fi
50666
50667 _ACEOF
50668 cat >>$CONFIG_STATUS <<\_ACEOF
50669 exec 5>>config.log
50670 {
50671 echo
50672 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
50673 ## Running $as_me. ##
50674 _ASBOX
50675 echo "$ac_log"
50676 } >&5
50677
50678 _ACEOF
50679 cat >>$CONFIG_STATUS <<_ACEOF
50680 #
50681 # INIT-COMMANDS
50682 #
50683
50684 CPP="$CPP"
50685 infile="$srcdir/include/wx/msw/genrcdefs.h"
50686 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
50687
50688
50689 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50690 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50691 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
50692 LN_S="${LN_S}"
50693
50694
50695 _ACEOF
50696
50697 cat >>$CONFIG_STATUS <<\_ACEOF
50698
50699 # Handling of arguments.
50700 for ac_config_target in $ac_config_targets
50701 do
50702 case $ac_config_target in
50703 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
50704 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
50705 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
50706 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
50707 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
50708 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
50709 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
50710 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
50711
50712 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
50713 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
50714 { (exit 1); exit 1; }; };;
50715 esac
50716 done
50717
50718
50719 # If the user did not use the arguments to specify the items to instantiate,
50720 # then the envvar interface is used. Set only those that are not.
50721 # We use the long form for the default assignment because of an extremely
50722 # bizarre bug on SunOS 4.1.3.
50723 if $ac_need_defaults; then
50724 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
50725 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
50726 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
50727 fi
50728
50729 # Have a temporary directory for convenience. Make it in the build tree
50730 # simply because there is no reason against having it here, and in addition,
50731 # creating and moving files from /tmp can sometimes cause problems.
50732 # Hook for its removal unless debugging.
50733 # Note that there is a small window in which the directory will not be cleaned:
50734 # after its creation but before its name has been assigned to `$tmp'.
50735 $debug ||
50736 {
50737 tmp=
50738 trap 'exit_status=$?
50739 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
50740 ' 0
50741 trap '{ (exit 1); exit 1; }' 1 2 13 15
50742 }
50743 # Create a (secure) tmp directory for tmp files.
50744
50745 {
50746 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
50747 test -n "$tmp" && test -d "$tmp"
50748 } ||
50749 {
50750 tmp=./conf$$-$RANDOM
50751 (umask 077 && mkdir "$tmp")
50752 } ||
50753 {
50754 echo "$me: cannot create a temporary directory in ." >&2
50755 { (exit 1); exit 1; }
50756 }
50757
50758 #
50759 # Set up the sed scripts for CONFIG_FILES section.
50760 #
50761
50762 # No need to generate the scripts if there are no CONFIG_FILES.
50763 # This happens for instance when ./config.status config.h
50764 if test -n "$CONFIG_FILES"; then
50765
50766 _ACEOF
50767
50768
50769
50770 ac_delim='%!_!# '
50771 for ac_last_try in false false false false false :; do
50772 cat >conf$$subs.sed <<_ACEOF
50773 SHELL!$SHELL$ac_delim
50774 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
50775 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
50776 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
50777 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
50778 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
50779 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
50780 exec_prefix!$exec_prefix$ac_delim
50781 prefix!$prefix$ac_delim
50782 program_transform_name!$program_transform_name$ac_delim
50783 bindir!$bindir$ac_delim
50784 sbindir!$sbindir$ac_delim
50785 libexecdir!$libexecdir$ac_delim
50786 datarootdir!$datarootdir$ac_delim
50787 datadir!$datadir$ac_delim
50788 sysconfdir!$sysconfdir$ac_delim
50789 sharedstatedir!$sharedstatedir$ac_delim
50790 localstatedir!$localstatedir$ac_delim
50791 includedir!$includedir$ac_delim
50792 oldincludedir!$oldincludedir$ac_delim
50793 docdir!$docdir$ac_delim
50794 infodir!$infodir$ac_delim
50795 htmldir!$htmldir$ac_delim
50796 dvidir!$dvidir$ac_delim
50797 pdfdir!$pdfdir$ac_delim
50798 psdir!$psdir$ac_delim
50799 libdir!$libdir$ac_delim
50800 localedir!$localedir$ac_delim
50801 mandir!$mandir$ac_delim
50802 DEFS!$DEFS$ac_delim
50803 ECHO_C!$ECHO_C$ac_delim
50804 ECHO_N!$ECHO_N$ac_delim
50805 ECHO_T!$ECHO_T$ac_delim
50806 LIBS!$LIBS$ac_delim
50807 build_alias!$build_alias$ac_delim
50808 host_alias!$host_alias$ac_delim
50809 target_alias!$target_alias$ac_delim
50810 build!$build$ac_delim
50811 build_cpu!$build_cpu$ac_delim
50812 build_vendor!$build_vendor$ac_delim
50813 build_os!$build_os$ac_delim
50814 host!$host$ac_delim
50815 host_cpu!$host_cpu$ac_delim
50816 host_vendor!$host_vendor$ac_delim
50817 host_os!$host_os$ac_delim
50818 target!$target$ac_delim
50819 target_cpu!$target_cpu$ac_delim
50820 target_vendor!$target_vendor$ac_delim
50821 target_os!$target_os$ac_delim
50822 wx_top_builddir!$wx_top_builddir$ac_delim
50823 CC!$CC$ac_delim
50824 CFLAGS!$CFLAGS$ac_delim
50825 LDFLAGS!$LDFLAGS$ac_delim
50826 CPPFLAGS!$CPPFLAGS$ac_delim
50827 ac_ct_CC!$ac_ct_CC$ac_delim
50828 EXEEXT!$EXEEXT$ac_delim
50829 OBJEXT!$OBJEXT$ac_delim
50830 CPP!$CPP$ac_delim
50831 GREP!$GREP$ac_delim
50832 EGREP!$EGREP$ac_delim
50833 CXX!$CXX$ac_delim
50834 CXXFLAGS!$CXXFLAGS$ac_delim
50835 ac_ct_CXX!$ac_ct_CXX$ac_delim
50836 AR!$AR$ac_delim
50837 subdirs!$subdirs$ac_delim
50838 PKG_CONFIG!$PKG_CONFIG$ac_delim
50839 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50840 GTK_LIBS!$GTK_LIBS$ac_delim
50841 GTK_CONFIG!$GTK_CONFIG$ac_delim
50842 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50843 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50844 XMKMF!$XMKMF$ac_delim
50845 X_CFLAGS!$X_CFLAGS$ac_delim
50846 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50847 X_LIBS!$X_LIBS$ac_delim
50848 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50849 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50850 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50851 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50852 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50853 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50854 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50855 CFLAGS_VISIBILITY!$CFLAGS_VISIBILITY$ac_delim
50856 CXXFLAGS_VISIBILITY!$CXXFLAGS_VISIBILITY$ac_delim
50857 LIBICONV!$LIBICONV$ac_delim
50858 SDL_CONFIG!$SDL_CONFIG$ac_delim
50859 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50860 SDL_LIBS!$SDL_LIBS$ac_delim
50861 GTKPRINT_CFLAGS!$GTKPRINT_CFLAGS$ac_delim
50862 GTKPRINT_LIBS!$GTKPRINT_LIBS$ac_delim
50863 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50864 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50865 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50866 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50867 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50868 HILDON_LIBS!$HILDON_LIBS$ac_delim
50869 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50870 _ACEOF
50871
50872 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50873 break
50874 elif $ac_last_try; then
50875 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50876 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50877 { (exit 1); exit 1; }; }
50878 else
50879 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50880 fi
50881 done
50882
50883 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50884 if test -n "$ac_eof"; then
50885 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50886 ac_eof=`expr $ac_eof + 1`
50887 fi
50888
50889 cat >>$CONFIG_STATUS <<_ACEOF
50890 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50891 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50892 _ACEOF
50893 sed '
50894 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50895 s/^/s,@/; s/!/@,|#_!!_#|/
50896 :n
50897 t n
50898 s/'"$ac_delim"'$/,g/; t
50899 s/$/\\/; p
50900 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50901 ' >>$CONFIG_STATUS <conf$$subs.sed
50902 rm -f conf$$subs.sed
50903 cat >>$CONFIG_STATUS <<_ACEOF
50904 CEOF$ac_eof
50905 _ACEOF
50906
50907
50908 ac_delim='%!_!# '
50909 for ac_last_try in false false false false false :; do
50910 cat >conf$$subs.sed <<_ACEOF
50911 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50912 GST_CFLAGS!$GST_CFLAGS$ac_delim
50913 GST_LIBS!$GST_LIBS$ac_delim
50914 ALL_WX_LIBS!$ALL_WX_LIBS$ac_delim
50915 BUILT_WX_LIBS!$BUILT_WX_LIBS$ac_delim
50916 STD_BASE_LIBS!$STD_BASE_LIBS$ac_delim
50917 STD_GUI_LIBS!$STD_GUI_LIBS$ac_delim
50918 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50919 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50920 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50921 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50922 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50923 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50924 VENDOR!$VENDOR$ac_delim
50925 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50926 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50927 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50928 WXUNIV!$WXUNIV$ac_delim
50929 MONOLITHIC!$MONOLITHIC$ac_delim
50930 USE_PLUGINS!$USE_PLUGINS$ac_delim
50931 CXXWARNINGS!$CXXWARNINGS$ac_delim
50932 EXTRALIBS!$EXTRALIBS$ac_delim
50933 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50934 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50935 EXTRALIBS_MEDIA!$EXTRALIBS_MEDIA$ac_delim
50936 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50937 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50938 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50939 EXTRALIBS_STC!$EXTRALIBS_STC$ac_delim
50940 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50941 EXTRALIBS_GTKPRINT!$EXTRALIBS_GTKPRINT$ac_delim
50942 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50943 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50944 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50945 UNICODE!$UNICODE$ac_delim
50946 BUILD!$BUILD$ac_delim
50947 DEBUG_INFO!$DEBUG_INFO$ac_delim
50948 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50949 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50950 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50951 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50952 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50953 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50954 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50955 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50956 RANLIB!$RANLIB$ac_delim
50957 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50958 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50959 INSTALL_DATA!$INSTALL_DATA$ac_delim
50960 LN_S!$LN_S$ac_delim
50961 SET_MAKE!$SET_MAKE$ac_delim
50962 MAKE_SET!$MAKE_SET$ac_delim
50963 AROPTIONS!$AROPTIONS$ac_delim
50964 STRIP!$STRIP$ac_delim
50965 NM!$NM$ac_delim
50966 INSTALL_DIR!$INSTALL_DIR$ac_delim
50967 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50968 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50969 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50970 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50971 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50972 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50973 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50974 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50975 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50976 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50977 SO_SUFFIX!$SO_SUFFIX$ac_delim
50978 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50979 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50980 LIBPREFIX!$LIBPREFIX$ac_delim
50981 LIBEXT!$LIBEXT$ac_delim
50982 DLLPREFIX!$DLLPREFIX$ac_delim
50983 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50984 dlldir!$dlldir$ac_delim
50985 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50986 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50987 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50988 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50989 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50990 PIC_FLAG!$PIC_FLAG$ac_delim
50991 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50992 USE_SOVERSION!$USE_SOVERSION$ac_delim
50993 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50994 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50995 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50996 USE_MACVERSION!$USE_MACVERSION$ac_delim
50997 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50998 SONAME_FLAG!$SONAME_FLAG$ac_delim
50999 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
51000 BK_DEPS!$BK_DEPS$ac_delim
51001 WINDRES!$WINDRES$ac_delim
51002 REZ!$REZ$ac_delim
51003 SETFILE!$SETFILE$ac_delim
51004 GCC_PCH!$GCC_PCH$ac_delim
51005 ICC_PCH!$ICC_PCH$ac_delim
51006 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
51007 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
51008 _ACEOF
51009
51010 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51011 break
51012 elif $ac_last_try; then
51013 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51014 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51015 { (exit 1); exit 1; }; }
51016 else
51017 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51018 fi
51019 done
51020
51021 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51022 if test -n "$ac_eof"; then
51023 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51024 ac_eof=`expr $ac_eof + 1`
51025 fi
51026
51027 cat >>$CONFIG_STATUS <<_ACEOF
51028 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
51029 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51030 _ACEOF
51031 sed '
51032 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51033 s/^/s,@/; s/!/@,|#_!!_#|/
51034 :n
51035 t n
51036 s/'"$ac_delim"'$/,g/; t
51037 s/$/\\/; p
51038 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51039 ' >>$CONFIG_STATUS <conf$$subs.sed
51040 rm -f conf$$subs.sed
51041 cat >>$CONFIG_STATUS <<_ACEOF
51042 CEOF$ac_eof
51043 _ACEOF
51044
51045
51046 ac_delim='%!_!# '
51047 for ac_last_try in false false false false false :; do
51048 cat >conf$$subs.sed <<_ACEOF
51049 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
51050 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
51051 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
51052 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
51053 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
51054 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
51055 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
51056 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
51057 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
51058 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
51059 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
51060 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
51061 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
51062 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
51063 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
51064 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
51065 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
51066 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
51067 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
51068 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
51069 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51070 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
51071 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
51072 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
51073 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
51074 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
51075 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
51076 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
51077 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
51078 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
51079 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
51080 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
51081 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
51082 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
51083 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
51084 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
51085 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
51086 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
51087 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
51088 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
51089 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
51090 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
51091 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
51092 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
51093 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
51094 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
51095 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
51096 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
51097 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
51098 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
51099 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
51100 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
51101 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
51102 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
51103 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
51104 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
51105 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
51106 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
51107 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
51108 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
51109 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
51110 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
51111 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
51112 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
51113 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
51114 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
51115 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
51116 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
51117 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
51118 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
51119 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
51120 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
51121 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
51122 COND_SHARED_0!$COND_SHARED_0$ac_delim
51123 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
51124 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
51125 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
51126 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
51127 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51128 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51129 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51130 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
51131 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
51132 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
51133 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
51134 COND_SHARED_1!$COND_SHARED_1$ac_delim
51135 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
51136 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
51137 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
51138 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
51139 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
51140 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
51141 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
51142 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
51143 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
51144 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
51145 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
51146 _ACEOF
51147
51148 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51149 break
51150 elif $ac_last_try; then
51151 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51152 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51153 { (exit 1); exit 1; }; }
51154 else
51155 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51156 fi
51157 done
51158
51159 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51160 if test -n "$ac_eof"; then
51161 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51162 ac_eof=`expr $ac_eof + 1`
51163 fi
51164
51165 cat >>$CONFIG_STATUS <<_ACEOF
51166 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
51167 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51168 _ACEOF
51169 sed '
51170 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51171 s/^/s,@/; s/!/@,|#_!!_#|/
51172 :n
51173 t n
51174 s/'"$ac_delim"'$/,g/; t
51175 s/$/\\/; p
51176 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51177 ' >>$CONFIG_STATUS <conf$$subs.sed
51178 rm -f conf$$subs.sed
51179 cat >>$CONFIG_STATUS <<_ACEOF
51180 CEOF$ac_eof
51181 _ACEOF
51182
51183
51184 ac_delim='%!_!# '
51185 for ac_last_try in false false false false false :; do
51186 cat >conf$$subs.sed <<_ACEOF
51187 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
51188 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_WXUNIV_0$ac_delim
51189 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
51190 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
51191 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
51192 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
51193 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
51194 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
51195 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
51196 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
51197 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
51198 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
51199 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
51200 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
51201 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
51202 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
51203 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
51204 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
51205 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
51206 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
51207 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
51208 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
51209 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
51210 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
51211 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
51212 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
51213 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
51214 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
51215 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
51216 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
51217 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
51218 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
51219 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
51220 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
51221 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
51222 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
51223 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
51224 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
51225 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
51226 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
51227 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
51228 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
51229 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
51230 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
51231 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
51232 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
51233 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
51234 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
51235 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
51236 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
51237 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
51238 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
51239 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
51240 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
51241 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
51242 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
51243 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
51244 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
51245 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
51246 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
51247 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
51248 DEREZ!$DEREZ$ac_delim
51249 SHARED!$SHARED$ac_delim
51250 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
51251 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
51252 USE_GUI!$USE_GUI$ac_delim
51253 AFMINSTALL!$AFMINSTALL$ac_delim
51254 WIN32INSTALL!$WIN32INSTALL$ac_delim
51255 TOOLKIT!$TOOLKIT$ac_delim
51256 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
51257 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
51258 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
51259 cross_compiling!$cross_compiling$ac_delim
51260 WIDGET_SET!$WIDGET_SET$ac_delim
51261 WX_RELEASE!$WX_RELEASE$ac_delim
51262 WX_VERSION!$WX_VERSION$ac_delim
51263 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
51264 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
51265 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
51266 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
51267 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
51268 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
51269 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
51270 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
51271 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
51272 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
51273 GUIDIST!$GUIDIST$ac_delim
51274 DISTDIR!$DISTDIR$ac_delim
51275 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
51276 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
51277 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
51278 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
51279 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
51280 RESCOMP!$RESCOMP$ac_delim
51281 RESFLAGS!$RESFLAGS$ac_delim
51282 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
51283 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
51284 _ACEOF
51285
51286 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
51287 break
51288 elif $ac_last_try; then
51289 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51290 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51291 { (exit 1); exit 1; }; }
51292 else
51293 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51294 fi
51295 done
51296
51297 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51298 if test -n "$ac_eof"; then
51299 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51300 ac_eof=`expr $ac_eof + 1`
51301 fi
51302
51303 cat >>$CONFIG_STATUS <<_ACEOF
51304 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
51305 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51306 _ACEOF
51307 sed '
51308 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51309 s/^/s,@/; s/!/@,|#_!!_#|/
51310 :n
51311 t n
51312 s/'"$ac_delim"'$/,g/; t
51313 s/$/\\/; p
51314 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51315 ' >>$CONFIG_STATUS <conf$$subs.sed
51316 rm -f conf$$subs.sed
51317 cat >>$CONFIG_STATUS <<_ACEOF
51318 CEOF$ac_eof
51319 _ACEOF
51320
51321
51322 ac_delim='%!_!# '
51323 for ac_last_try in false false false false false :; do
51324 cat >conf$$subs.sed <<_ACEOF
51325 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
51326 LIBWXMACRES!$LIBWXMACRES$ac_delim
51327 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
51328 MACSETFILE!$MACSETFILE$ac_delim
51329 GCC!$GCC$ac_delim
51330 DLLTOOL!$DLLTOOL$ac_delim
51331 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
51332 LIBOBJS!$LIBOBJS$ac_delim
51333 LTLIBOBJS!$LTLIBOBJS$ac_delim
51334 _ACEOF
51335
51336 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 9; then
51337 break
51338 elif $ac_last_try; then
51339 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
51340 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
51341 { (exit 1); exit 1; }; }
51342 else
51343 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
51344 fi
51345 done
51346
51347 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
51348 if test -n "$ac_eof"; then
51349 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
51350 ac_eof=`expr $ac_eof + 1`
51351 fi
51352
51353 cat >>$CONFIG_STATUS <<_ACEOF
51354 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
51355 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
51356 _ACEOF
51357 sed '
51358 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
51359 s/^/s,@/; s/!/@,|#_!!_#|/
51360 :n
51361 t n
51362 s/'"$ac_delim"'$/,g/; t
51363 s/$/\\/; p
51364 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
51365 ' >>$CONFIG_STATUS <conf$$subs.sed
51366 rm -f conf$$subs.sed
51367 cat >>$CONFIG_STATUS <<_ACEOF
51368 :end
51369 s/|#_!!_#|//g
51370 CEOF$ac_eof
51371 _ACEOF
51372
51373
51374 # VPATH may cause trouble with some makes, so we remove $(srcdir),
51375 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
51376 # trailing colons and then remove the whole line if VPATH becomes empty
51377 # (actually we leave an empty line to preserve line numbers).
51378 if test "x$srcdir" = x.; then
51379 ac_vpsub='/^[ ]*VPATH[ ]*=/{
51380 s/:*\$(srcdir):*/:/
51381 s/:*\${srcdir}:*/:/
51382 s/:*@srcdir@:*/:/
51383 s/^\([^=]*=[ ]*\):*/\1/
51384 s/:*$//
51385 s/^[^=]*=[ ]*$//
51386 }'
51387 fi
51388
51389 cat >>$CONFIG_STATUS <<\_ACEOF
51390 fi # test -n "$CONFIG_FILES"
51391
51392
51393 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
51394 do
51395 case $ac_tag in
51396 :[FHLC]) ac_mode=$ac_tag; continue;;
51397 esac
51398 case $ac_mode$ac_tag in
51399 :[FHL]*:*);;
51400 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
51401 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
51402 { (exit 1); exit 1; }; };;
51403 :[FH]-) ac_tag=-:-;;
51404 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
51405 esac
51406 ac_save_IFS=$IFS
51407 IFS=:
51408 set x $ac_tag
51409 IFS=$ac_save_IFS
51410 shift
51411 ac_file=$1
51412 shift
51413
51414 case $ac_mode in
51415 :L) ac_source=$1;;
51416 :[FH])
51417 ac_file_inputs=
51418 for ac_f
51419 do
51420 case $ac_f in
51421 -) ac_f="$tmp/stdin";;
51422 *) # Look for the file first in the build tree, then in the source tree
51423 # (if the path is not absolute). The absolute path cannot be DOS-style,
51424 # because $ac_f cannot contain `:'.
51425 test -f "$ac_f" ||
51426 case $ac_f in
51427 [\\/$]*) false;;
51428 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
51429 esac ||
51430 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
51431 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
51432 { (exit 1); exit 1; }; };;
51433 esac
51434 ac_file_inputs="$ac_file_inputs $ac_f"
51435 done
51436
51437 # Let's still pretend it is `configure' which instantiates (i.e., don't
51438 # use $as_me), people would be surprised to read:
51439 # /* config.h. Generated by config.status. */
51440 configure_input="Generated from "`IFS=:
51441 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
51442 if test x"$ac_file" != x-; then
51443 configure_input="$ac_file. $configure_input"
51444 { echo "$as_me:$LINENO: creating $ac_file" >&5
51445 echo "$as_me: creating $ac_file" >&6;}
51446 fi
51447
51448 case $ac_tag in
51449 *:-:* | *:-) cat >"$tmp/stdin";;
51450 esac
51451 ;;
51452 esac
51453
51454 ac_dir=`$as_dirname -- "$ac_file" ||
51455 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51456 X"$ac_file" : 'X\(//\)[^/]' \| \
51457 X"$ac_file" : 'X\(//\)$' \| \
51458 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
51459 echo X"$ac_file" |
51460 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51461 s//\1/
51462 q
51463 }
51464 /^X\(\/\/\)[^/].*/{
51465 s//\1/
51466 q
51467 }
51468 /^X\(\/\/\)$/{
51469 s//\1/
51470 q
51471 }
51472 /^X\(\/\).*/{
51473 s//\1/
51474 q
51475 }
51476 s/.*/./; q'`
51477 { as_dir="$ac_dir"
51478 case $as_dir in #(
51479 -*) as_dir=./$as_dir;;
51480 esac
51481 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51482 as_dirs=
51483 while :; do
51484 case $as_dir in #(
51485 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51486 *) as_qdir=$as_dir;;
51487 esac
51488 as_dirs="'$as_qdir' $as_dirs"
51489 as_dir=`$as_dirname -- "$as_dir" ||
51490 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51491 X"$as_dir" : 'X\(//\)[^/]' \| \
51492 X"$as_dir" : 'X\(//\)$' \| \
51493 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51494 echo X"$as_dir" |
51495 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51496 s//\1/
51497 q
51498 }
51499 /^X\(\/\/\)[^/].*/{
51500 s//\1/
51501 q
51502 }
51503 /^X\(\/\/\)$/{
51504 s//\1/
51505 q
51506 }
51507 /^X\(\/\).*/{
51508 s//\1/
51509 q
51510 }
51511 s/.*/./; q'`
51512 test -d "$as_dir" && break
51513 done
51514 test -z "$as_dirs" || eval "mkdir $as_dirs"
51515 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51516 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51517 { (exit 1); exit 1; }; }; }
51518 ac_builddir=.
51519
51520 case "$ac_dir" in
51521 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51522 *)
51523 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51524 # A ".." for each directory in $ac_dir_suffix.
51525 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51526 case $ac_top_builddir_sub in
51527 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51528 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51529 esac ;;
51530 esac
51531 ac_abs_top_builddir=$ac_pwd
51532 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51533 # for backward compatibility:
51534 ac_top_builddir=$ac_top_build_prefix
51535
51536 case $srcdir in
51537 .) # We are building in place.
51538 ac_srcdir=.
51539 ac_top_srcdir=$ac_top_builddir_sub
51540 ac_abs_top_srcdir=$ac_pwd ;;
51541 [\\/]* | ?:[\\/]* ) # Absolute name.
51542 ac_srcdir=$srcdir$ac_dir_suffix;
51543 ac_top_srcdir=$srcdir
51544 ac_abs_top_srcdir=$srcdir ;;
51545 *) # Relative name.
51546 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51547 ac_top_srcdir=$ac_top_build_prefix$srcdir
51548 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51549 esac
51550 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51551
51552
51553 case $ac_mode in
51554 :F)
51555 #
51556 # CONFIG_FILE
51557 #
51558
51559 case $INSTALL in
51560 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
51561 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
51562 esac
51563 _ACEOF
51564
51565 cat >>$CONFIG_STATUS <<\_ACEOF
51566 # If the template does not know about datarootdir, expand it.
51567 # FIXME: This hack should be removed a few years after 2.60.
51568 ac_datarootdir_hack=; ac_datarootdir_seen=
51569
51570 case `sed -n '/datarootdir/ {
51571 p
51572 q
51573 }
51574 /@datadir@/p
51575 /@docdir@/p
51576 /@infodir@/p
51577 /@localedir@/p
51578 /@mandir@/p
51579 ' $ac_file_inputs` in
51580 *datarootdir*) ac_datarootdir_seen=yes;;
51581 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
51582 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
51583 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
51584 _ACEOF
51585 cat >>$CONFIG_STATUS <<_ACEOF
51586 ac_datarootdir_hack='
51587 s&@datadir@&$datadir&g
51588 s&@docdir@&$docdir&g
51589 s&@infodir@&$infodir&g
51590 s&@localedir@&$localedir&g
51591 s&@mandir@&$mandir&g
51592 s&\\\${datarootdir}&$datarootdir&g' ;;
51593 esac
51594 _ACEOF
51595
51596 # Neutralize VPATH when `$srcdir' = `.'.
51597 # Shell code in configure.ac might set extrasub.
51598 # FIXME: do we really want to maintain this feature?
51599 cat >>$CONFIG_STATUS <<_ACEOF
51600 sed "$ac_vpsub
51601 $extrasub
51602 _ACEOF
51603 cat >>$CONFIG_STATUS <<\_ACEOF
51604 :t
51605 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
51606 s&@configure_input@&$configure_input&;t t
51607 s&@top_builddir@&$ac_top_builddir_sub&;t t
51608 s&@srcdir@&$ac_srcdir&;t t
51609 s&@abs_srcdir@&$ac_abs_srcdir&;t t
51610 s&@top_srcdir@&$ac_top_srcdir&;t t
51611 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
51612 s&@builddir@&$ac_builddir&;t t
51613 s&@abs_builddir@&$ac_abs_builddir&;t t
51614 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
51615 s&@INSTALL@&$ac_INSTALL&;t t
51616 $ac_datarootdir_hack
51617 " $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
51618
51619 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
51620 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
51621 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
51622 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51623 which seems to be undefined. Please make sure it is defined." >&5
51624 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
51625 which seems to be undefined. Please make sure it is defined." >&2;}
51626
51627 rm -f "$tmp/stdin"
51628 case $ac_file in
51629 -) cat "$tmp/out"; rm -f "$tmp/out";;
51630 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
51631 esac
51632 ;;
51633 :H)
51634 #
51635 # CONFIG_HEADER
51636 #
51637 _ACEOF
51638
51639 # Transform confdefs.h into a sed script `conftest.defines', that
51640 # substitutes the proper values into config.h.in to produce config.h.
51641 rm -f conftest.defines conftest.tail
51642 # First, append a space to every undef/define line, to ease matching.
51643 echo 's/$/ /' >conftest.defines
51644 # Then, protect against being on the right side of a sed subst, or in
51645 # an unquoted here document, in config.status. If some macros were
51646 # called several times there might be several #defines for the same
51647 # symbol, which is useless. But do not sort them, since the last
51648 # AC_DEFINE must be honored.
51649 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
51650 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
51651 # NAME is the cpp macro being defined, VALUE is the value it is being given.
51652 # PARAMS is the parameter list in the macro definition--in most cases, it's
51653 # just an empty string.
51654 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
51655 ac_dB='\\)[ (].*,\\1define\\2'
51656 ac_dC=' '
51657 ac_dD=' ,'
51658
51659 uniq confdefs.h |
51660 sed -n '
51661 t rset
51662 :rset
51663 s/^[ ]*#[ ]*define[ ][ ]*//
51664 t ok
51665 d
51666 :ok
51667 s/[\\&,]/\\&/g
51668 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
51669 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
51670 ' >>conftest.defines
51671
51672 # Remove the space that was appended to ease matching.
51673 # Then replace #undef with comments. This is necessary, for
51674 # example, in the case of _POSIX_SOURCE, which is predefined and required
51675 # on some systems where configure will not decide to define it.
51676 # (The regexp can be short, since the line contains either #define or #undef.)
51677 echo 's/ $//
51678 s,^[ #]*u.*,/* & */,' >>conftest.defines
51679
51680 # Break up conftest.defines:
51681 ac_max_sed_lines=50
51682
51683 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
51684 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
51685 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
51686 # et cetera.
51687 ac_in='$ac_file_inputs'
51688 ac_out='"$tmp/out1"'
51689 ac_nxt='"$tmp/out2"'
51690
51691 while :
51692 do
51693 # Write a here document:
51694 cat >>$CONFIG_STATUS <<_ACEOF
51695 # First, check the format of the line:
51696 cat >"\$tmp/defines.sed" <<\\CEOF
51697 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
51698 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
51699 b
51700 :def
51701 _ACEOF
51702 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
51703 echo 'CEOF
51704 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
51705 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
51706 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
51707 grep . conftest.tail >/dev/null || break
51708 rm -f conftest.defines
51709 mv conftest.tail conftest.defines
51710 done
51711 rm -f conftest.defines conftest.tail
51712
51713 echo "ac_result=$ac_in" >>$CONFIG_STATUS
51714 cat >>$CONFIG_STATUS <<\_ACEOF
51715 if test x"$ac_file" != x-; then
51716 echo "/* $configure_input */" >"$tmp/config.h"
51717 cat "$ac_result" >>"$tmp/config.h"
51718 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
51719 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
51720 echo "$as_me: $ac_file is unchanged" >&6;}
51721 else
51722 rm -f $ac_file
51723 mv "$tmp/config.h" $ac_file
51724 fi
51725 else
51726 echo "/* $configure_input */"
51727 cat "$ac_result"
51728 fi
51729 rm -f "$tmp/out12"
51730 ;;
51731
51732 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
51733 echo "$as_me: executing $ac_file commands" >&6;}
51734 ;;
51735 esac
51736
51737
51738 case $ac_file$ac_mode in
51739 "rcdefs.h":C)
51740 mkdir -p $outdir &&
51741 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
51742 ;;
51743 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
51744 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
51745 "wx-config":C) rm -f wx-config
51746 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
51747 ;;
51748
51749 esac
51750 done # for ac_tag
51751
51752
51753 { (exit 0); exit 0; }
51754 _ACEOF
51755 chmod +x $CONFIG_STATUS
51756 ac_clean_files=$ac_clean_files_save
51757
51758
51759 # configure is writing to config.log, and then calls config.status.
51760 # config.status does its own redirection, appending to config.log.
51761 # Unfortunately, on DOS this fails, as config.log is still kept open
51762 # by configure, so config.status won't be able to write to it; its
51763 # output is simply discarded. So we exec the FD to /dev/null,
51764 # effectively closing config.log, so it can be properly (re)opened and
51765 # appended to by config.status. When coming back to configure, we
51766 # need to make the FD available again.
51767 if test "$no_create" != yes; then
51768 ac_cs_success=:
51769 ac_config_status_args=
51770 test "$silent" = yes &&
51771 ac_config_status_args="$ac_config_status_args --quiet"
51772 exec 5>/dev/null
51773 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
51774 exec 5>>config.log
51775 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
51776 # would make configure fail if this is the last instruction.
51777 $ac_cs_success || { (exit 1); exit 1; }
51778 fi
51779
51780 #
51781 # CONFIG_SUBDIRS section.
51782 #
51783 if test "$no_recursion" != yes; then
51784
51785 # Remove --cache-file and --srcdir arguments so they do not pile up.
51786 ac_sub_configure_args=
51787 ac_prev=
51788 eval "set x $ac_configure_args"
51789 shift
51790 for ac_arg
51791 do
51792 if test -n "$ac_prev"; then
51793 ac_prev=
51794 continue
51795 fi
51796 case $ac_arg in
51797 -cache-file | --cache-file | --cache-fil | --cache-fi \
51798 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
51799 ac_prev=cache_file ;;
51800 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
51801 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
51802 | --c=*)
51803 ;;
51804 --config-cache | -C)
51805 ;;
51806 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
51807 ac_prev=srcdir ;;
51808 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
51809 ;;
51810 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
51811 ac_prev=prefix ;;
51812 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
51813 ;;
51814 *)
51815 case $ac_arg in
51816 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51817 esac
51818 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51819 esac
51820 done
51821
51822 # Always prepend --prefix to ensure using the same prefix
51823 # in subdir configurations.
51824 ac_arg="--prefix=$prefix"
51825 case $ac_arg in
51826 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51827 esac
51828 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51829
51830 # Pass --silent
51831 if test "$silent" = yes; then
51832 ac_sub_configure_args="--silent $ac_sub_configure_args"
51833 fi
51834
51835 ac_popdir=`pwd`
51836 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51837
51838 # Do not complain, so a configure script can configure whichever
51839 # parts of a large source tree are present.
51840 test -d "$srcdir/$ac_dir" || continue
51841
51842 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51843 echo "$as_me:$LINENO: $ac_msg" >&5
51844 echo "$ac_msg" >&6
51845 { as_dir="$ac_dir"
51846 case $as_dir in #(
51847 -*) as_dir=./$as_dir;;
51848 esac
51849 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51850 as_dirs=
51851 while :; do
51852 case $as_dir in #(
51853 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51854 *) as_qdir=$as_dir;;
51855 esac
51856 as_dirs="'$as_qdir' $as_dirs"
51857 as_dir=`$as_dirname -- "$as_dir" ||
51858 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51859 X"$as_dir" : 'X\(//\)[^/]' \| \
51860 X"$as_dir" : 'X\(//\)$' \| \
51861 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51862 echo X"$as_dir" |
51863 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51864 s//\1/
51865 q
51866 }
51867 /^X\(\/\/\)[^/].*/{
51868 s//\1/
51869 q
51870 }
51871 /^X\(\/\/\)$/{
51872 s//\1/
51873 q
51874 }
51875 /^X\(\/\).*/{
51876 s//\1/
51877 q
51878 }
51879 s/.*/./; q'`
51880 test -d "$as_dir" && break
51881 done
51882 test -z "$as_dirs" || eval "mkdir $as_dirs"
51883 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51884 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51885 { (exit 1); exit 1; }; }; }
51886 ac_builddir=.
51887
51888 case "$ac_dir" in
51889 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51890 *)
51891 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51892 # A ".." for each directory in $ac_dir_suffix.
51893 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51894 case $ac_top_builddir_sub in
51895 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51896 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51897 esac ;;
51898 esac
51899 ac_abs_top_builddir=$ac_pwd
51900 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51901 # for backward compatibility:
51902 ac_top_builddir=$ac_top_build_prefix
51903
51904 case $srcdir in
51905 .) # We are building in place.
51906 ac_srcdir=.
51907 ac_top_srcdir=$ac_top_builddir_sub
51908 ac_abs_top_srcdir=$ac_pwd ;;
51909 [\\/]* | ?:[\\/]* ) # Absolute name.
51910 ac_srcdir=$srcdir$ac_dir_suffix;
51911 ac_top_srcdir=$srcdir
51912 ac_abs_top_srcdir=$srcdir ;;
51913 *) # Relative name.
51914 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51915 ac_top_srcdir=$ac_top_build_prefix$srcdir
51916 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51917 esac
51918 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51919
51920
51921 cd "$ac_dir"
51922
51923 # Check for guested configure; otherwise get Cygnus style configure.
51924 if test -f "$ac_srcdir/configure.gnu"; then
51925 ac_sub_configure=$ac_srcdir/configure.gnu
51926 elif test -f "$ac_srcdir/configure"; then
51927 ac_sub_configure=$ac_srcdir/configure
51928 elif test -f "$ac_srcdir/configure.in"; then
51929 # This should be Cygnus configure.
51930 ac_sub_configure=$ac_aux_dir/configure
51931 else
51932 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51933 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51934 ac_sub_configure=
51935 fi
51936
51937 # The recursion is here.
51938 if test -n "$ac_sub_configure"; then
51939 # Make the cache file name correct relative to the subdirectory.
51940 case $cache_file in
51941 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51942 *) # Relative name.
51943 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51944 esac
51945
51946 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51947 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51948 # The eval makes quoting arguments work.
51949 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51950 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51951 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51952 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51953 { (exit 1); exit 1; }; }
51954 fi
51955
51956 cd "$ac_popdir"
51957 done
51958 fi
51959
51960
51961 echo
51962 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51963 echo ""
51964 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51965 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51966
51967 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51968 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51969 echo $ECHO_N " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}$ECHO_C"
51970 if test "$wxUSE_UNICODE" = "yes"; then
51971 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51972 echo " (using UTF-8)"
51973 else
51974 echo " (using wchar_t)"
51975 fi
51976 else
51977 echo
51978 fi
51979
51980 echo " What level of wxWidgets compatibility should be enabled?"
51981 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51982 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51983
51984 echo " Which libraries should wxWidgets use?"
51985 echo " STL ${wxUSE_STL}"
51986 echo " jpeg ${wxUSE_LIBJPEG-none}"
51987 echo " png ${wxUSE_LIBPNG-none}"
51988 echo " regex ${wxUSE_REGEX}"
51989 echo " tiff ${wxUSE_LIBTIFF-none}"
51990 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51991 echo " xpm ${wxUSE_LIBXPM-none}"
51992 fi
51993 echo " zlib ${wxUSE_ZLIB}"
51994 echo " expat ${wxUSE_EXPAT}"
51995 echo " libmspack ${wxUSE_LIBMSPACK}"
51996 echo " sdl ${wxUSE_LIBSDL}"
51997
51998 echo ""
51999