]> git.saurik.com Git - wxWidgets.git/blob - configure
2f12a7f30f6e0d4f2d31b92e12ebe9572c57a2fd
[wxWidgets.git] / configure
1 #! /bin/sh
2 # From configure.in Id: configure.in.
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 RANLIB
683 AR
684 INSTALL_PROGRAM
685 INSTALL_SCRIPT
686 INSTALL_DATA
687 STRIP
688 WINDRES
689 DLLTOOL
690 IF_GNU_MAKE
691 LN_S
692 subdirs
693 PKG_CONFIG
694 GTK_CFLAGS
695 GTK_LIBS
696 GTK_CONFIG
697 DIRECTFB_CFLAGS
698 DIRECTFB_LIBS
699 XMKMF
700 X_CFLAGS
701 X_PRE_LIBS
702 X_LIBS
703 X_EXTRA_LIBS
704 PANGOX_CFLAGS
705 PANGOX_LIBS
706 PANGOFT2_CFLAGS
707 PANGOFT2_LIBS
708 PANGOXFT_CFLAGS
709 PANGOXFT_LIBS
710 REZ
711 DEREZ
712 SETFILE
713 LIBICONV
714 SDL_CONFIG
715 SDL_CFLAGS
716 SDL_LIBS
717 LIBGNOMEPRINTUI_CFLAGS
718 LIBGNOMEPRINTUI_LIBS
719 GNOMEVFS_CFLAGS
720 GNOMEVFS_LIBS
721 HILDON_CFLAGS
722 HILDON_LIBS
723 CAIRO_CFLAGS
724 CAIRO_LIBS
725 GST_CFLAGS
726 GST_LIBS
727 CORE_BASE_LIBS
728 CORE_GUI_LIBS
729 wxUSE_ZLIB
730 wxUSE_REGEX
731 wxUSE_EXPAT
732 wxUSE_ODBC
733 wxUSE_LIBJPEG
734 wxUSE_LIBPNG
735 wxUSE_LIBTIFF
736 VENDOR
737 OFFICIAL_BUILD
738 WX_FLAVOUR
739 WX_LIB_FLAVOUR
740 WXUNIV
741 MONOLITHIC
742 USE_PLUGINS
743 CXXWARNINGS
744 EXTRALIBS
745 EXTRALIBS_XML
746 EXTRALIBS_HTML
747 EXTRALIBS_ODBC
748 EXTRALIBS_GUI
749 EXTRALIBS_OPENGL
750 EXTRALIBS_SDL
751 WITH_PLUGIN_SDL
752 EXTRALIBS_GNOMEPRINT
753 EXTRALIBS_GNOMEVFS
754 EXTRALIBS_HILDON
755 UNICODE
756 BUILD
757 DEBUG_INFO
758 DEBUG_FLAG
759 TOOLKIT_LOWERCASE
760 TOOLKIT_VERSION
761 SAMPLES_RPATH_FLAG
762 SAMPLES_RPATH_POSTLINK
763 HOST_SUFFIX
764 CPPUNIT_CFLAGS
765 CPPUNIT_LIBS
766 SET_MAKE
767 MAKE_SET
768 AROPTIONS
769 NM
770 INSTALL_DIR
771 LDFLAGS_GUI
772 PLATFORM_UNIX
773 PLATFORM_WIN32
774 PLATFORM_MSDOS
775 PLATFORM_MAC
776 PLATFORM_MACOS
777 PLATFORM_MACOSX
778 PLATFORM_OS2
779 PLATFORM_BEOS
780 SO_SUFFIX
781 SO_SUFFIX_MODULE
782 DLLIMP_SUFFIX
783 LIBPREFIX
784 LIBEXT
785 DLLPREFIX
786 DLLPREFIX_MODULE
787 dlldir
788 AIX_CXX_LD
789 SHARED_LD_CC
790 SHARED_LD_CXX
791 SHARED_LD_MODULE_CC
792 SHARED_LD_MODULE_CXX
793 PIC_FLAG
794 WINDOWS_IMPLIB
795 USE_SOVERSION
796 USE_SOVERLINUX
797 USE_SOVERSOLARIS
798 USE_SOVERCYGWIN
799 USE_MACVERSION
800 USE_SOSYMLINKS
801 SONAME_FLAG
802 DEPS_TRACKING
803 BK_DEPS
804 GCC_PCH
805 ICC_PCH
806 BK_MAKE_PCH
807 COND_BUILD_DEBUG
808 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
809 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
810 COND_BUILD_DEBUG_UNICODE_0
811 COND_BUILD_DEBUG_UNICODE_1
812 COND_BUILD_RELEASE
813 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
814 COND_BUILD_RELEASE_UNICODE_0
815 COND_BUILD_RELEASE_UNICODE_1
816 COND_DEBUG_FLAG_1
817 COND_DEBUG_INFO_0
818 COND_DEBUG_INFO_1
819 COND_DEPS_TRACKING_0
820 COND_DEPS_TRACKING_1
821 COND_GCC_PCH_1
822 COND_ICC_PCH_1
823 COND_MONOLITHIC_0
824 COND_MONOLITHIC_0_SHARED_0
825 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
831 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
832 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
833 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
834 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
835 COND_MONOLITHIC_0_SHARED_1
836 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
841 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
842 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
843 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
844 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
845 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
846 COND_MONOLITHIC_0_USE_AUI_1
847 COND_MONOLITHIC_0_USE_GUI_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
849 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
850 COND_MONOLITHIC_0_USE_HTML_1
851 COND_MONOLITHIC_0_USE_MEDIA_1
852 COND_MONOLITHIC_0_USE_ODBC_1
853 COND_MONOLITHIC_0_USE_QA_1
854 COND_MONOLITHIC_0_USE_RICHTEXT_1
855 COND_MONOLITHIC_0_USE_STC_1
856 COND_MONOLITHIC_0_USE_XRC_1
857 COND_MONOLITHIC_1
858 COND_MONOLITHIC_1_SHARED_0
859 COND_MONOLITHIC_1_SHARED_1
860 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
861 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
864 COND_PLATFORM_MACOSX_1
865 COND_PLATFORM_MACOSX_1_TOOLKIT_
866 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
867 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
870 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
871 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
872 COND_PLATFORM_MACOSX_1_USE_GUI_1
873 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
874 COND_PLATFORM_MACOS_1
875 COND_PLATFORM_MAC_1
876 COND_PLATFORM_MSDOS_0
877 COND_PLATFORM_MSDOS_1
878 COND_PLATFORM_OS2_1
879 COND_PLATFORM_UNIX_0
880 COND_PLATFORM_UNIX_1
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
882 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_GUI_1
884 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
885 COND_PLATFORM_WIN32_0
886 COND_PLATFORM_WIN32_1
887 COND_SHARED_0
888 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
890 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
891 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
894 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
895 COND_SHARED_0_USE_STC_1
896 COND_SHARED_0_USE_XRC_1
897 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
898 COND_SHARED_0_WXUSE_ODBC_BUILTIN
899 COND_SHARED_0_WXUSE_REGEX_BUILTIN
900 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
901 COND_SHARED_1
902 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
903 COND_SHARED_1_USE_XRC_1
904 COND_TOOLKIT_
905 COND_TOOLKIT_COCOA
906 COND_TOOLKIT_COCOA_USE_GUI_1
907 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
908 COND_TOOLKIT_DFB
909 COND_TOOLKIT_DFB_USE_GUI_1
910 COND_TOOLKIT_GTK
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
916 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
917 COND_TOOLKIT_GTK_USE_GUI_1
918 COND_TOOLKIT_MAC
919 COND_TOOLKIT_MAC_USE_GUI_1
920 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
921 COND_TOOLKIT_MGL
922 COND_TOOLKIT_MGL_USE_GUI_1
923 COND_TOOLKIT_MOTIF
924 COND_TOOLKIT_MOTIF_USE_GUI_1
925 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
926 COND_TOOLKIT_MSW
927 COND_TOOLKIT_MSW_USE_GUI_1
928 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
929 COND_TOOLKIT_MSW_WXUNIV_0
930 COND_TOOLKIT_PM
931 COND_TOOLKIT_PM_USE_GUI_1
932 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
933 COND_TOOLKIT_WINCE
934 COND_TOOLKIT_WINCE_USE_GUI_1
935 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
936 COND_TOOLKIT_WINCE_WXUNIV_0
937 COND_TOOLKIT_X11
938 COND_TOOLKIT_X11_USE_GUI_1
939 COND_UNICODE_1
940 COND_USE_EXCEPTIONS_0
941 COND_USE_EXCEPTIONS_1
942 COND_USE_GUI_0
943 COND_USE_GUI_1
944 COND_USE_GUI_1_USE_OPENGL_1
945 COND_USE_GUI_1_WXUNIV_0
946 COND_USE_GUI_1_WXUNIV_1
947 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
949 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
950 COND_USE_ODBC_1
951 COND_USE_OPENGL_1
952 COND_USE_PCH_1
953 COND_USE_PLUGINS_0
954 COND_USE_RTTI_0
955 COND_USE_RTTI_1
956 COND_USE_SOSYMLINKS_1
957 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
958 COND_USE_SOVERLINUX_1
959 COND_USE_SOVERSION_0
960 COND_USE_SOVERSOLARIS_1
961 COND_USE_STC_1
962 COND_USE_THREADS_0
963 COND_USE_THREADS_1
964 COND_USE_XRC_1
965 COND_WINDOWS_IMPLIB_1
966 COND_WITH_PLUGIN_SDL_1
967 COND_WXUNIV_0
968 COND_WXUNIV_1
969 COND_WXUSE_EXPAT_BUILTIN
970 COND_WXUSE_LIBJPEG_BUILTIN
971 COND_WXUSE_LIBPNG_BUILTIN
972 COND_WXUSE_LIBTIFF_BUILTIN
973 COND_WXUSE_ODBC_BUILTIN
974 COND_WXUSE_REGEX_BUILTIN
975 COND_WXUSE_ZLIB_BUILTIN
976 SHARED
977 WX_LIBRARY_BASENAME_NOGUI
978 WX_LIBRARY_BASENAME_GUI
979 USE_GUI
980 AFMINSTALL
981 WIN32INSTALL
982 TOOLKIT
983 TOOLKIT_DIR
984 TOOLCHAIN_NAME
985 TOOLCHAIN_FULLNAME
986 cross_compiling
987 WIDGET_SET
988 WX_RELEASE
989 WX_VERSION
990 WX_SUBVERSION
991 WX_CHARTYPE
992 WX_DEBUGTYPE
993 WXCONFIG_CPPFLAGS
994 WXCONFIG_CFLAGS
995 WXCONFIG_CXXFLAGS
996 WXCONFIG_LIBS
997 WXCONFIG_RPATH
998 WXCONFIG_LDFLAGS_GUI
999 WXCONFIG_RESFLAGS
1000 EXE_LINKER
1001 GUIDIST
1002 DISTDIR
1003 SAMPLES_SUBDIRS
1004 LDFLAGS_GL
1005 OPENGL_LIBS
1006 DMALLOC_LIBS
1007 WX_VERSION_TAG
1008 RESCOMP
1009 RESFLAGS
1010 RESPROGRAMOBJ
1011 WX_RESOURCES_MACOSX_ASCII
1012 WX_RESOURCES_MACOSX_DATA
1013 LIBWXMACRES
1014 POSTLINK_COMMAND
1015 MACSETFILE
1016 GCC
1017 CPPUNIT_CONFIG
1018 LIBOBJS
1019 LTLIBOBJS'
1020 ac_subst_files=''
1021 ac_precious_vars='build_alias
1022 host_alias
1023 target_alias
1024 CC
1025 CFLAGS
1026 LDFLAGS
1027 LIBS
1028 CPPFLAGS
1029 CPP
1030 CXX
1031 CXXFLAGS
1032 CCC
1033 PKG_CONFIG
1034 DIRECTFB_CFLAGS
1035 DIRECTFB_LIBS
1036 XMKMF
1037 PANGOX_CFLAGS
1038 PANGOX_LIBS
1039 PANGOFT2_CFLAGS
1040 PANGOFT2_LIBS
1041 PANGOXFT_CFLAGS
1042 PANGOXFT_LIBS
1043 LIBGNOMEPRINTUI_CFLAGS
1044 LIBGNOMEPRINTUI_LIBS
1045 GNOMEVFS_CFLAGS
1046 GNOMEVFS_LIBS
1047 HILDON_CFLAGS
1048 HILDON_LIBS
1049 CAIRO_CFLAGS
1050 CAIRO_LIBS
1051 GST_CFLAGS
1052 GST_LIBS'
1053 ac_subdirs_all='src/expat'
1054
1055 # Initialize some variables set by options.
1056 ac_init_help=
1057 ac_init_version=false
1058 # The variables have the same names as the options, with
1059 # dashes changed to underlines.
1060 cache_file=/dev/null
1061 exec_prefix=NONE
1062 no_create=
1063 no_recursion=
1064 prefix=NONE
1065 program_prefix=NONE
1066 program_suffix=NONE
1067 program_transform_name=s,x,x,
1068 silent=
1069 site=
1070 srcdir=
1071 verbose=
1072 x_includes=NONE
1073 x_libraries=NONE
1074
1075 # Installation directory options.
1076 # These are left unexpanded so users can "make install exec_prefix=/foo"
1077 # and all the variables that are supposed to be based on exec_prefix
1078 # by default will actually change.
1079 # Use braces instead of parens because sh, perl, etc. also accept them.
1080 # (The list follows the same order as the GNU Coding Standards.)
1081 bindir='${exec_prefix}/bin'
1082 sbindir='${exec_prefix}/sbin'
1083 libexecdir='${exec_prefix}/libexec'
1084 datarootdir='${prefix}/share'
1085 datadir='${datarootdir}'
1086 sysconfdir='${prefix}/etc'
1087 sharedstatedir='${prefix}/com'
1088 localstatedir='${prefix}/var'
1089 includedir='${prefix}/include'
1090 oldincludedir='/usr/include'
1091 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1092 infodir='${datarootdir}/info'
1093 htmldir='${docdir}'
1094 dvidir='${docdir}'
1095 pdfdir='${docdir}'
1096 psdir='${docdir}'
1097 libdir='${exec_prefix}/lib'
1098 localedir='${datarootdir}/locale'
1099 mandir='${datarootdir}/man'
1100
1101 ac_prev=
1102 ac_dashdash=
1103 for ac_option
1104 do
1105 # If the previous option needs an argument, assign it.
1106 if test -n "$ac_prev"; then
1107 eval $ac_prev=\$ac_option
1108 ac_prev=
1109 continue
1110 fi
1111
1112 case $ac_option in
1113 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1114 *) ac_optarg=yes ;;
1115 esac
1116
1117 # Accept the important Cygnus configure options, so we can diagnose typos.
1118
1119 case $ac_dashdash$ac_option in
1120 --)
1121 ac_dashdash=yes ;;
1122
1123 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1124 ac_prev=bindir ;;
1125 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1126 bindir=$ac_optarg ;;
1127
1128 -build | --build | --buil | --bui | --bu)
1129 ac_prev=build_alias ;;
1130 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1131 build_alias=$ac_optarg ;;
1132
1133 -cache-file | --cache-file | --cache-fil | --cache-fi \
1134 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1135 ac_prev=cache_file ;;
1136 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1137 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1138 cache_file=$ac_optarg ;;
1139
1140 --config-cache | -C)
1141 cache_file=config.cache ;;
1142
1143 -datadir | --datadir | --datadi | --datad)
1144 ac_prev=datadir ;;
1145 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1146 datadir=$ac_optarg ;;
1147
1148 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1149 | --dataroo | --dataro | --datar)
1150 ac_prev=datarootdir ;;
1151 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1152 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1153 datarootdir=$ac_optarg ;;
1154
1155 -disable-* | --disable-*)
1156 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1157 # Reject names that are not valid shell variable names.
1158 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1159 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1160 { (exit 1); exit 1; }; }
1161 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1162 eval enable_$ac_feature=no ;;
1163
1164 -docdir | --docdir | --docdi | --doc | --do)
1165 ac_prev=docdir ;;
1166 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1167 docdir=$ac_optarg ;;
1168
1169 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1170 ac_prev=dvidir ;;
1171 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1172 dvidir=$ac_optarg ;;
1173
1174 -enable-* | --enable-*)
1175 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1176 # Reject names that are not valid shell variable names.
1177 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1178 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1179 { (exit 1); exit 1; }; }
1180 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1181 eval enable_$ac_feature=\$ac_optarg ;;
1182
1183 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1184 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1185 | --exec | --exe | --ex)
1186 ac_prev=exec_prefix ;;
1187 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1188 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1189 | --exec=* | --exe=* | --ex=*)
1190 exec_prefix=$ac_optarg ;;
1191
1192 -gas | --gas | --ga | --g)
1193 # Obsolete; use --with-gas.
1194 with_gas=yes ;;
1195
1196 -help | --help | --hel | --he | -h)
1197 ac_init_help=long ;;
1198 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1199 ac_init_help=recursive ;;
1200 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1201 ac_init_help=short ;;
1202
1203 -host | --host | --hos | --ho)
1204 ac_prev=host_alias ;;
1205 -host=* | --host=* | --hos=* | --ho=*)
1206 host_alias=$ac_optarg ;;
1207
1208 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1209 ac_prev=htmldir ;;
1210 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1211 | --ht=*)
1212 htmldir=$ac_optarg ;;
1213
1214 -includedir | --includedir | --includedi | --included | --include \
1215 | --includ | --inclu | --incl | --inc)
1216 ac_prev=includedir ;;
1217 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1218 | --includ=* | --inclu=* | --incl=* | --inc=*)
1219 includedir=$ac_optarg ;;
1220
1221 -infodir | --infodir | --infodi | --infod | --info | --inf)
1222 ac_prev=infodir ;;
1223 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1224 infodir=$ac_optarg ;;
1225
1226 -libdir | --libdir | --libdi | --libd)
1227 ac_prev=libdir ;;
1228 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1229 libdir=$ac_optarg ;;
1230
1231 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1232 | --libexe | --libex | --libe)
1233 ac_prev=libexecdir ;;
1234 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1235 | --libexe=* | --libex=* | --libe=*)
1236 libexecdir=$ac_optarg ;;
1237
1238 -localedir | --localedir | --localedi | --localed | --locale)
1239 ac_prev=localedir ;;
1240 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1241 localedir=$ac_optarg ;;
1242
1243 -localstatedir | --localstatedir | --localstatedi | --localstated \
1244 | --localstate | --localstat | --localsta | --localst | --locals)
1245 ac_prev=localstatedir ;;
1246 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1247 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1248 localstatedir=$ac_optarg ;;
1249
1250 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1251 ac_prev=mandir ;;
1252 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1253 mandir=$ac_optarg ;;
1254
1255 -nfp | --nfp | --nf)
1256 # Obsolete; use --without-fp.
1257 with_fp=no ;;
1258
1259 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1260 | --no-cr | --no-c | -n)
1261 no_create=yes ;;
1262
1263 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1264 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1265 no_recursion=yes ;;
1266
1267 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1268 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1269 | --oldin | --oldi | --old | --ol | --o)
1270 ac_prev=oldincludedir ;;
1271 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1272 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1273 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1274 oldincludedir=$ac_optarg ;;
1275
1276 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1277 ac_prev=prefix ;;
1278 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1279 prefix=$ac_optarg ;;
1280
1281 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1282 | --program-pre | --program-pr | --program-p)
1283 ac_prev=program_prefix ;;
1284 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1285 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1286 program_prefix=$ac_optarg ;;
1287
1288 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1289 | --program-suf | --program-su | --program-s)
1290 ac_prev=program_suffix ;;
1291 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1292 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1293 program_suffix=$ac_optarg ;;
1294
1295 -program-transform-name | --program-transform-name \
1296 | --program-transform-nam | --program-transform-na \
1297 | --program-transform-n | --program-transform- \
1298 | --program-transform | --program-transfor \
1299 | --program-transfo | --program-transf \
1300 | --program-trans | --program-tran \
1301 | --progr-tra | --program-tr | --program-t)
1302 ac_prev=program_transform_name ;;
1303 -program-transform-name=* | --program-transform-name=* \
1304 | --program-transform-nam=* | --program-transform-na=* \
1305 | --program-transform-n=* | --program-transform-=* \
1306 | --program-transform=* | --program-transfor=* \
1307 | --program-transfo=* | --program-transf=* \
1308 | --program-trans=* | --program-tran=* \
1309 | --progr-tra=* | --program-tr=* | --program-t=*)
1310 program_transform_name=$ac_optarg ;;
1311
1312 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1313 ac_prev=pdfdir ;;
1314 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1315 pdfdir=$ac_optarg ;;
1316
1317 -psdir | --psdir | --psdi | --psd | --ps)
1318 ac_prev=psdir ;;
1319 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1320 psdir=$ac_optarg ;;
1321
1322 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1323 | -silent | --silent | --silen | --sile | --sil)
1324 silent=yes ;;
1325
1326 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1327 ac_prev=sbindir ;;
1328 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1329 | --sbi=* | --sb=*)
1330 sbindir=$ac_optarg ;;
1331
1332 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1333 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1334 | --sharedst | --shareds | --shared | --share | --shar \
1335 | --sha | --sh)
1336 ac_prev=sharedstatedir ;;
1337 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1338 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1339 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1340 | --sha=* | --sh=*)
1341 sharedstatedir=$ac_optarg ;;
1342
1343 -site | --site | --sit)
1344 ac_prev=site ;;
1345 -site=* | --site=* | --sit=*)
1346 site=$ac_optarg ;;
1347
1348 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1349 ac_prev=srcdir ;;
1350 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1351 srcdir=$ac_optarg ;;
1352
1353 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1354 | --syscon | --sysco | --sysc | --sys | --sy)
1355 ac_prev=sysconfdir ;;
1356 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1357 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1358 sysconfdir=$ac_optarg ;;
1359
1360 -target | --target | --targe | --targ | --tar | --ta | --t)
1361 ac_prev=target_alias ;;
1362 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1363 target_alias=$ac_optarg ;;
1364
1365 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1366 verbose=yes ;;
1367
1368 -version | --version | --versio | --versi | --vers | -V)
1369 ac_init_version=: ;;
1370
1371 -with-* | --with-*)
1372 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1373 # Reject names that are not valid shell variable names.
1374 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1375 { echo "$as_me: error: invalid package name: $ac_package" >&2
1376 { (exit 1); exit 1; }; }
1377 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1378 eval with_$ac_package=\$ac_optarg ;;
1379
1380 -without-* | --without-*)
1381 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1382 # Reject names that are not valid shell variable names.
1383 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1384 { echo "$as_me: error: invalid package name: $ac_package" >&2
1385 { (exit 1); exit 1; }; }
1386 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1387 eval with_$ac_package=no ;;
1388
1389 --x)
1390 # Obsolete; use --with-x.
1391 with_x=yes ;;
1392
1393 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1394 | --x-incl | --x-inc | --x-in | --x-i)
1395 ac_prev=x_includes ;;
1396 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1397 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1398 x_includes=$ac_optarg ;;
1399
1400 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1401 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1402 ac_prev=x_libraries ;;
1403 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1404 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1405 x_libraries=$ac_optarg ;;
1406
1407 -*) { echo "$as_me: error: unrecognized option: $ac_option
1408 Try \`$0 --help' for more information." >&2
1409 { (exit 1); exit 1; }; }
1410 ;;
1411
1412 *=*)
1413 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1414 # Reject names that are not valid shell variable names.
1415 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1416 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1417 { (exit 1); exit 1; }; }
1418 eval $ac_envvar=\$ac_optarg
1419 export $ac_envvar ;;
1420
1421 *)
1422 # FIXME: should be removed in autoconf 3.0.
1423 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1424 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1425 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1426 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1427 ;;
1428
1429 esac
1430 done
1431
1432 if test -n "$ac_prev"; then
1433 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1434 { echo "$as_me: error: missing argument to $ac_option" >&2
1435 { (exit 1); exit 1; }; }
1436 fi
1437
1438 # Be sure to have absolute directory names.
1439 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1440 datadir sysconfdir sharedstatedir localstatedir includedir \
1441 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1442 libdir localedir mandir
1443 do
1444 eval ac_val=\$$ac_var
1445 case $ac_val in
1446 [\\/$]* | ?:[\\/]* ) continue;;
1447 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1448 esac
1449 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1450 { (exit 1); exit 1; }; }
1451 done
1452
1453 # There might be people who depend on the old broken behavior: `$host'
1454 # used to hold the argument of --host etc.
1455 # FIXME: To remove some day.
1456 build=$build_alias
1457 host=$host_alias
1458 target=$target_alias
1459
1460 # FIXME: To remove some day.
1461 if test "x$host_alias" != x; then
1462 if test "x$build_alias" = x; then
1463 cross_compiling=maybe
1464 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1465 If a cross compiler is detected then cross compile mode will be used." >&2
1466 elif test "x$build_alias" != "x$host_alias"; then
1467 cross_compiling=yes
1468 fi
1469 fi
1470
1471 ac_tool_prefix=
1472 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1473
1474 test "$silent" = yes && exec 6>/dev/null
1475
1476
1477 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1478 ac_ls_di=`ls -di .` &&
1479 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1480 { echo "$as_me: error: Working directory cannot be determined" >&2
1481 { (exit 1); exit 1; }; }
1482 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1483 { echo "$as_me: error: pwd does not report name of working directory" >&2
1484 { (exit 1); exit 1; }; }
1485
1486
1487 # Find the source files, if location was not specified.
1488 if test -z "$srcdir"; then
1489 ac_srcdir_defaulted=yes
1490 # Try the directory containing this script, then the parent directory.
1491 ac_confdir=`$as_dirname -- "$0" ||
1492 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1493 X"$0" : 'X\(//\)[^/]' \| \
1494 X"$0" : 'X\(//\)$' \| \
1495 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1496 echo X"$0" |
1497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1498 s//\1/
1499 q
1500 }
1501 /^X\(\/\/\)[^/].*/{
1502 s//\1/
1503 q
1504 }
1505 /^X\(\/\/\)$/{
1506 s//\1/
1507 q
1508 }
1509 /^X\(\/\).*/{
1510 s//\1/
1511 q
1512 }
1513 s/.*/./; q'`
1514 srcdir=$ac_confdir
1515 if test ! -r "$srcdir/$ac_unique_file"; then
1516 srcdir=..
1517 fi
1518 else
1519 ac_srcdir_defaulted=no
1520 fi
1521 if test ! -r "$srcdir/$ac_unique_file"; then
1522 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1523 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1524 { (exit 1); exit 1; }; }
1525 fi
1526 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1527 ac_abs_confdir=`(
1528 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1529 { (exit 1); exit 1; }; }
1530 pwd)`
1531 # When building in place, set srcdir=.
1532 if test "$ac_abs_confdir" = "$ac_pwd"; then
1533 srcdir=.
1534 fi
1535 # Remove unnecessary trailing slashes from srcdir.
1536 # Double slashes in file names in object file debugging info
1537 # mess up M-x gdb in Emacs.
1538 case $srcdir in
1539 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1540 esac
1541 for ac_var in $ac_precious_vars; do
1542 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1543 eval ac_env_${ac_var}_value=\$${ac_var}
1544 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1545 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1546 done
1547
1548 #
1549 # Report the --help message.
1550 #
1551 if test "$ac_init_help" = "long"; then
1552 # Omit some internal or obsolete options to make the list less imposing.
1553 # This message is too long to be a string in the A/UX 3.1 sh.
1554 cat <<_ACEOF
1555 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1556
1557 Usage: $0 [OPTION]... [VAR=VALUE]...
1558
1559 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1560 VAR=VALUE. See below for descriptions of some of the useful variables.
1561
1562 Defaults for the options are specified in brackets.
1563
1564 Configuration:
1565 -h, --help display this help and exit
1566 --help=short display options specific to this package
1567 --help=recursive display the short help of all the included packages
1568 -V, --version display version information and exit
1569 -q, --quiet, --silent do not print \`checking...' messages
1570 --cache-file=FILE cache test results in FILE [disabled]
1571 -C, --config-cache alias for \`--cache-file=config.cache'
1572 -n, --no-create do not create output files
1573 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1574
1575 Installation directories:
1576 --prefix=PREFIX install architecture-independent files in PREFIX
1577 [$ac_default_prefix]
1578 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1579 [PREFIX]
1580
1581 By default, \`make install' will install all the files in
1582 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1583 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1584 for instance \`--prefix=\$HOME'.
1585
1586 For better control, use the options below.
1587
1588 Fine tuning of the installation directories:
1589 --bindir=DIR user executables [EPREFIX/bin]
1590 --sbindir=DIR system admin executables [EPREFIX/sbin]
1591 --libexecdir=DIR program executables [EPREFIX/libexec]
1592 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1593 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1594 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1595 --libdir=DIR object code libraries [EPREFIX/lib]
1596 --includedir=DIR C header files [PREFIX/include]
1597 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1598 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1599 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1600 --infodir=DIR info documentation [DATAROOTDIR/info]
1601 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1602 --mandir=DIR man documentation [DATAROOTDIR/man]
1603 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1604 --htmldir=DIR html documentation [DOCDIR]
1605 --dvidir=DIR dvi documentation [DOCDIR]
1606 --pdfdir=DIR pdf documentation [DOCDIR]
1607 --psdir=DIR ps documentation [DOCDIR]
1608 _ACEOF
1609
1610 cat <<\_ACEOF
1611
1612 X features:
1613 --x-includes=DIR X include files are in DIR
1614 --x-libraries=DIR X library files are in DIR
1615
1616 System types:
1617 --build=BUILD configure for building on BUILD [guessed]
1618 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1619 --target=TARGET configure for building compilers for TARGET [HOST]
1620 _ACEOF
1621 fi
1622
1623 if test -n "$ac_init_help"; then
1624 case $ac_init_help in
1625 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1626 esac
1627 cat <<\_ACEOF
1628
1629 Optional Features:
1630 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1631 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1632 --enable-gui use GUI classes
1633 --enable-monolithic build wxWidgets as single library
1634 --enable-plugins build parts of wxWidgets as loadable components
1635 --enable-universal use wxWidgets GUI controls instead of native ones
1636 --enable-nanox use NanoX
1637 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1638 --enable-gpe use GNOME PDA Environment features if possible
1639 --enable-shared create shared library code
1640 --enable-optimise create optimised code
1641 --enable-debug same as debug_flag and debug_info
1642 --enable-stl use STL for containers
1643 --enable-extended_rtti use extended RTTI (XTI)
1644 --enable-omf use OMF object format
1645 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1646 --enable-debug_info create code with debugging information
1647 --enable-debug_gdb create code with extra GDB debugging information
1648 --enable-debug_cntxt use wxDebugContext
1649 --enable-mem_tracing create code with memory tracing
1650 --enable-profile create code with profiling information
1651 --enable-no_rtti create code without RTTI information
1652 --enable-no_exceptions create code without C++ exceptions handling
1653 --enable-permissive compile code disregarding strict ANSI
1654 --enable-no_deps create code without dependency information
1655 --disable-vararg_macros don't use vararg macros, even if they are supported
1656 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1657 --enable-compat26 enable wxWidgets 2.6 compatibility
1658 --disable-compat28 disable wxWidgets 2.8 compatibility
1659 --disable-rpath disable use of rpath for uninstalled builds
1660 --enable-intl use internationalization system
1661 --enable-config use wxConfig (and derived) classes
1662 --enable-protocols use wxProtocol and derived classes
1663 --enable-ftp use wxFTP (requires wxProtocol
1664 --enable-http use wxHTTP (requires wxProtocol
1665 --enable-fileproto use wxFileProto class (requires wxProtocol
1666 --enable-sockets use socket/network classes
1667 --enable-ole use OLE classes (Win32 only)
1668 --enable-dataobj use data object classes
1669 --enable-ipc use interprocess communication (wxSocket etc.)
1670 --enable-apple_ieee use the Apple IEEE codec
1671 --enable-arcstream use wxArchive streams
1672 --enable-backtrace use wxStackWalker class for getting backtraces
1673 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1674 --enable-cmdline use wxCmdLineParser class
1675 --enable-datetime use wxDateTime class
1676 --enable-debugreport use wxDebugReport class
1677 --enable-dialupman use dialup network classes
1678 --enable-dynlib use wxLibrary class for DLL loading
1679 --enable-dynamicloader use (new) wxDynamicLibrary class
1680 --enable-exceptions build exception-safe library
1681 --enable-ffile use wxFFile class
1682 --enable-file use wxFile class
1683 --enable-filesystem use virtual file systems classes
1684 --enable-fontmap use font encodings conversion classes
1685 --enable-fs_archive use virtual archive filesystems
1686 --enable-fs_inet use virtual HTTP/FTP filesystems
1687 --enable-fs_zip now replaced by fs_archive
1688 --enable-geometry use geometry class
1689 --enable-log use logging system
1690 --enable-longlong use wxLongLong class
1691 --enable-mimetype use wxMimeTypesManager
1692 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1693 --enable-utf8 use UTF-8 representation for strings (Unix only)
1694 --enable-utf8only only support UTF-8 locales in UTF-8 build (Unix only)
1695 --enable-snglinst use wxSingleInstanceChecker class
1696 --enable-std_iostreams use standard C++ stream classes
1697 --enable-std_string use standard C++ string classes
1698 --enable-stdpaths use wxStandardPaths class
1699 --enable-stopwatch use wxStopWatch class
1700 --enable-streams use wxStream etc classes
1701 --enable-sysoptions use wxSystemOptions
1702 --enable-tarstream use wxTar streams
1703 --enable-textbuf use wxTextBuffer class
1704 --enable-textfile use wxTextFile class
1705 --enable-timer use wxTimer class
1706 --enable-unicode compile wxString with Unicode support
1707 --enable-sound use wxSound class
1708 --enable-mediactrl use wxMediaCtrl class
1709 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1710 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1711 --enable-zipstream use wxZip streams
1712 --enable-url use wxURL class
1713 --enable-variant use wxVariant class
1714 --enable-protocol use wxProtocol class
1715 --enable-protocol-http HTTP support in wxProtocol
1716 --enable-protocol-ftp FTP support in wxProtocol
1717 --enable-protocol-file FILE support in wxProtocol
1718 --enable-threads use threads
1719 --enable-docview use document view architecture
1720 --enable-help use help subsystem
1721 --enable-mshtmlhelp use MS HTML Help (win32)
1722 --enable-html use wxHTML sub-library
1723 --enable-htmlhelp use wxHTML-based help
1724 --enable-xrc use XRC resources sub-library
1725 --enable-aui use AUI docking library
1726 --enable-stc use wxStyledTextCtrl library
1727 --enable-constraints use layout-constraints system
1728 --enable-printarch use printing architecture
1729 --enable-mdi use multiple document interface architecture
1730 --enable-mdidoc use docview architecture with MDI
1731 --enable-loggui use standard GUI logger
1732 --enable-logwin use wxLogWindow
1733 --enable-logdialog use wxLogDialog
1734 --enable-webkit use wxWebKitCtrl (Mac)
1735 --enable-richtext use wxRichTextCtrl
1736 --enable-graphics_ctx use graphics context 2D drawing API
1737 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1738 --enable-clipboard use wxClipboard class
1739 --enable-dnd use Drag'n'Drop classes
1740 --enable-metafile use win32 metafiles
1741 --enable-controls use all usual controls
1742 --enable-accel use accelerators
1743 --enable-animatectrl use wxAnimationCtrl class
1744 --enable-button use wxButton class
1745 --enable-bmpbutton use wxBitmapButton class
1746 --enable-bmpcombobox use wxBitmapComboBox class
1747 --enable-calendar use wxCalendarCtrl class
1748 --enable-caret use wxCaret class
1749 --enable-checkbox use wxCheckBox class
1750 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1751 --enable-choice use wxChoice class
1752 --enable-choicebook use wxChoicebook class
1753 --enable-collpane use wxCollapsiblePane class
1754 --enable-colourpicker use wxColourPickerCtrl class
1755 --enable-combobox use wxComboBox class
1756 --enable-comboctrl use wxComboCtrl class
1757 --enable-datepick use wxDatePickerCtrl class
1758 --enable-dirpicker use wxDirPickerCtrl class
1759 --enable-display use wxDisplay class
1760 --enable-detect_sm use code to detect X11 session manager
1761 --enable-editablebox use wxEditableListBox class
1762 --enable-filepicker use wxFilePickerCtrl class
1763 --enable-fontpicker use wxFontPickerCtrl class
1764 --enable-gauge use wxGauge class
1765 --enable-grid use wxGrid class
1766 --enable-dataviewctrl use wxDataViewCtrl class
1767 --enable-hyperlink use wxHyperlinkCtrl class
1768 --enable-imaglist use wxImageList class
1769 --enable-listbook use wxListbook class
1770 --enable-listbox use wxListBox class
1771 --enable-listctrl use wxListCtrl class
1772 --enable-notebook use wxNotebook class
1773 --enable-odcombobox use wxOwnerDrawnComboBox class
1774 --enable-radiobox use wxRadioBox class
1775 --enable-radiobtn use wxRadioButton class
1776 --enable-sash use wxSashWindow class
1777 --enable-scrollbar use wxScrollBar class and scrollable windows
1778 --enable-searchctrl use wxSearchCtrl class
1779 --enable-slider use wxSlider class
1780 --enable-spinbtn use wxSpinButton class
1781 --enable-spinctrl use wxSpinCtrl class
1782 --enable-splitter use wxSplitterWindow class
1783 --enable-statbmp use wxStaticBitmap class
1784 --enable-statbox use wxStaticBox class
1785 --enable-statline use wxStaticLine class
1786 --enable-stattext use wxStaticText class
1787 --enable-statusbar use wxStatusBar class
1788 --enable-tabdialog use wxTabControl class
1789 --enable-textctrl use wxTextCtrl class
1790 --enable-togglebtn use wxToggleButton class
1791 --enable-toolbar use wxToolBar class
1792 --enable-tbarnative use native wxToolBar class
1793 --enable-treebook use wxTreebook class
1794 --enable-toolbook use wxToolbook class
1795 --enable-treectrl use wxTreeCtrl class
1796 --enable-tipwindow use wxTipWindow class
1797 --enable-popupwin use wxPopUpWindow class
1798 --enable-commondlg use all common dialogs
1799 --enable-aboutdlg use wxAboutBox
1800 --enable-choicedlg use wxChoiceDialog
1801 --enable-coldlg use wxColourDialog
1802 --enable-filedlg use wxFileDialog
1803 --enable-finddlg use wxFindReplaceDialog
1804 --enable-fontdlg use wxFontDialog
1805 --enable-dirdlg use wxDirDialog
1806 --enable-msgdlg use wxMessageDialog
1807 --enable-numberdlg use wxNumberEntryDialog
1808 --enable-splash use wxSplashScreen
1809 --enable-textdlg use wxTextDialog
1810 --enable-tipdlg use startup tips
1811 --enable-progressdlg use wxProgressDialog
1812 --enable-wizarddlg use wxWizard
1813 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1814 --enable-miniframe use wxMiniFrame class
1815 --enable-tooltips use wxToolTip class
1816 --enable-splines use spline drawing code
1817 --enable-mousewheel use mousewheel
1818 --enable-validators use wxValidator and derived classes
1819 --enable-busyinfo use wxBusyInfo
1820 --enable-joystick use wxJoystick
1821 --enable-metafiles use wxMetaFile (Win32 only)
1822 --enable-dragimage use wxDragImage
1823 --enable-accessibility enable accessibility support
1824 --enable-dccache cache temporary wxDC objects (Win32 only)
1825 --enable-palette use wxPalette class
1826 --enable-image use wxImage class
1827 --enable-gif use gif images (GIF file format)
1828 --enable-pcx use pcx images (PCX file format)
1829 --enable-tga use tga images (TGA file format)
1830 --enable-iff use iff images (IFF file format)
1831 --enable-pnm use pnm images (PNM file format)
1832 --enable-xpm use xpm images (XPM file format)
1833 --enable-icocur use Windows ICO and CUR formats
1834 --enable-official_build official build of wxWidgets (win32 DLL only)
1835 --enable-vendor=VENDOR vendor name (win32 DLL only)
1836 --disable-largefile omit support for large files
1837 --disable-gtktest do not try to compile and run a test GTK+ program
1838 --disable-gtktest Do not try to compile and run a test GTK program
1839 --disable-sdltest Do not try to compile and run a test SDL program
1840 --enable-omf use OMF object format (OS/2)
1841 --disable-dependency-tracking
1842 don't use dependency tracking even if the compiler
1843 can
1844 --disable-precomp-headers
1845 don't use precompiled headers even if compiler can
1846
1847 Optional Packages:
1848 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1849 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1850 --without-subdirs don't generate makefiles for samples/demos/...
1851 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1852 --with-motif use Motif/Lesstif
1853 --with-mac use Mac OS X
1854 --with-cocoa use Cocoa
1855 --with-wine use Wine
1856 --with-msw use MS-Windows
1857 --with-pm use OS/2 Presentation Manager
1858 --with-mgl use SciTech MGL
1859 --with-directfb use DirectFB
1860 --with-microwin use MicroWindows
1861 --with-x11 use X11
1862 --with-libpng use libpng (PNG image format)
1863 --with-libjpeg use libjpeg (JPEG file format)
1864 --with-libtiff use libtiff (TIFF file format)
1865 --with-libxpm use libxpm (XPM file format)
1866 --with-libmspack use libmspack (CHM help files loading)
1867 --with-sdl use SDL for audio on Unix
1868 --with-gnomeprint use GNOME print for printing under GNOME
1869 --with-gnomevfs use GNOME VFS for associating MIME types
1870 --with-hildon use Hildon framework for Nokia 770
1871 --with-opengl use OpenGL (or Mesa)
1872 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1873 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1874 --with-regex enable support for wxRegEx class
1875 --with-zlib use zlib for LZW compression
1876 --with-odbc use the IODBC and wxODBC classes
1877 --with-expat enable XML support using expat parser
1878 --with-flavour=NAME specify a name to identify this build
1879 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1880 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1881 --with-x use the X Window System
1882 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1883 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1884 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1885 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1886 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1887
1888 Some influential environment variables:
1889 CC C compiler command
1890 CFLAGS C compiler flags
1891 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1892 nonstandard directory <lib dir>
1893 LIBS libraries to pass to the linker, e.g. -l<library>
1894 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1895 you have headers in a nonstandard directory <include dir>
1896 CPP C preprocessor
1897 CXX C++ compiler command
1898 CXXFLAGS C++ compiler flags
1899 PKG_CONFIG path to pkg-config utility
1900 DIRECTFB_CFLAGS
1901 C compiler flags for DIRECTFB, overriding pkg-config
1902 DIRECTFB_LIBS
1903 linker flags for DIRECTFB, overriding pkg-config
1904 XMKMF Path to xmkmf, Makefile generator for X Window System
1905 PANGOX_CFLAGS
1906 C compiler flags for PANGOX, overriding pkg-config
1907 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1908 PANGOFT2_CFLAGS
1909 C compiler flags for PANGOFT2, overriding pkg-config
1910 PANGOFT2_LIBS
1911 linker flags for PANGOFT2, overriding pkg-config
1912 PANGOXFT_CFLAGS
1913 C compiler flags for PANGOXFT, overriding pkg-config
1914 PANGOXFT_LIBS
1915 linker flags for PANGOXFT, overriding pkg-config
1916 LIBGNOMEPRINTUI_CFLAGS
1917 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1918 LIBGNOMEPRINTUI_LIBS
1919 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1920 GNOMEVFS_CFLAGS
1921 C compiler flags for GNOMEVFS, overriding pkg-config
1922 GNOMEVFS_LIBS
1923 linker flags for GNOMEVFS, overriding pkg-config
1924 HILDON_CFLAGS
1925 C compiler flags for HILDON, overriding pkg-config
1926 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1927 CAIRO_CFLAGS
1928 C compiler flags for CAIRO, overriding pkg-config
1929 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1930 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1931 GST_LIBS linker flags for GST, overriding pkg-config
1932
1933 Use these variables to override the choices made by `configure' or to help
1934 it to find libraries and programs with nonstandard names/locations.
1935
1936 Report bugs to <wx-dev@lists.wxwidgets.org>.
1937 _ACEOF
1938 ac_status=$?
1939 fi
1940
1941 if test "$ac_init_help" = "recursive"; then
1942 # If there are subdirs, report their specific --help.
1943 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1944 test -d "$ac_dir" || continue
1945 ac_builddir=.
1946
1947 case "$ac_dir" in
1948 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1949 *)
1950 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1951 # A ".." for each directory in $ac_dir_suffix.
1952 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1953 case $ac_top_builddir_sub in
1954 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1955 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1956 esac ;;
1957 esac
1958 ac_abs_top_builddir=$ac_pwd
1959 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1960 # for backward compatibility:
1961 ac_top_builddir=$ac_top_build_prefix
1962
1963 case $srcdir in
1964 .) # We are building in place.
1965 ac_srcdir=.
1966 ac_top_srcdir=$ac_top_builddir_sub
1967 ac_abs_top_srcdir=$ac_pwd ;;
1968 [\\/]* | ?:[\\/]* ) # Absolute name.
1969 ac_srcdir=$srcdir$ac_dir_suffix;
1970 ac_top_srcdir=$srcdir
1971 ac_abs_top_srcdir=$srcdir ;;
1972 *) # Relative name.
1973 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1974 ac_top_srcdir=$ac_top_build_prefix$srcdir
1975 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1976 esac
1977 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1978
1979 cd "$ac_dir" || { ac_status=$?; continue; }
1980 # Check for guested configure.
1981 if test -f "$ac_srcdir/configure.gnu"; then
1982 echo &&
1983 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1984 elif test -f "$ac_srcdir/configure"; then
1985 echo &&
1986 $SHELL "$ac_srcdir/configure" --help=recursive
1987 else
1988 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1989 fi || ac_status=$?
1990 cd "$ac_pwd" || { ac_status=$?; break; }
1991 done
1992 fi
1993
1994 test -n "$ac_init_help" && exit $ac_status
1995 if $ac_init_version; then
1996 cat <<\_ACEOF
1997 wxWidgets configure 2.9.0
1998 generated by GNU Autoconf 2.61
1999
2000 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
2001 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
2002 This configure script is free software; the Free Software Foundation
2003 gives unlimited permission to copy, distribute and modify it.
2004 _ACEOF
2005 exit
2006 fi
2007 cat >config.log <<_ACEOF
2008 This file contains any messages produced by compilers while
2009 running configure, to aid debugging if configure makes a mistake.
2010
2011 It was created by wxWidgets $as_me 2.9.0, which was
2012 generated by GNU Autoconf 2.61. Invocation command line was
2013
2014 $ $0 $@
2015
2016 _ACEOF
2017 exec 5>>config.log
2018 {
2019 cat <<_ASUNAME
2020 ## --------- ##
2021 ## Platform. ##
2022 ## --------- ##
2023
2024 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2025 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2026 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2027 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2028 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2029
2030 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2031 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2032
2033 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2034 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2035 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2036 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2037 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2038 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2039 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2040
2041 _ASUNAME
2042
2043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2044 for as_dir in $PATH
2045 do
2046 IFS=$as_save_IFS
2047 test -z "$as_dir" && as_dir=.
2048 echo "PATH: $as_dir"
2049 done
2050 IFS=$as_save_IFS
2051
2052 } >&5
2053
2054 cat >&5 <<_ACEOF
2055
2056
2057 ## ----------- ##
2058 ## Core tests. ##
2059 ## ----------- ##
2060
2061 _ACEOF
2062
2063
2064 # Keep a trace of the command line.
2065 # Strip out --no-create and --no-recursion so they do not pile up.
2066 # Strip out --silent because we don't want to record it for future runs.
2067 # Also quote any args containing shell meta-characters.
2068 # Make two passes to allow for proper duplicate-argument suppression.
2069 ac_configure_args=
2070 ac_configure_args0=
2071 ac_configure_args1=
2072 ac_must_keep_next=false
2073 for ac_pass in 1 2
2074 do
2075 for ac_arg
2076 do
2077 case $ac_arg in
2078 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2079 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2080 | -silent | --silent | --silen | --sile | --sil)
2081 continue ;;
2082 *\'*)
2083 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2084 esac
2085 case $ac_pass in
2086 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2087 2)
2088 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2089 if test $ac_must_keep_next = true; then
2090 ac_must_keep_next=false # Got value, back to normal.
2091 else
2092 case $ac_arg in
2093 *=* | --config-cache | -C | -disable-* | --disable-* \
2094 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2095 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2096 | -with-* | --with-* | -without-* | --without-* | --x)
2097 case "$ac_configure_args0 " in
2098 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2099 esac
2100 ;;
2101 -* ) ac_must_keep_next=true ;;
2102 esac
2103 fi
2104 ac_configure_args="$ac_configure_args '$ac_arg'"
2105 ;;
2106 esac
2107 done
2108 done
2109 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2110 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2111
2112 # When interrupted or exit'd, cleanup temporary files, and complete
2113 # config.log. We remove comments because anyway the quotes in there
2114 # would cause problems or look ugly.
2115 # WARNING: Use '\'' to represent an apostrophe within the trap.
2116 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2117 trap 'exit_status=$?
2118 # Save into config.log some information that might help in debugging.
2119 {
2120 echo
2121
2122 cat <<\_ASBOX
2123 ## ---------------- ##
2124 ## Cache variables. ##
2125 ## ---------------- ##
2126 _ASBOX
2127 echo
2128 # The following way of writing the cache mishandles newlines in values,
2129 (
2130 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2131 eval ac_val=\$$ac_var
2132 case $ac_val in #(
2133 *${as_nl}*)
2134 case $ac_var in #(
2135 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2136 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2137 esac
2138 case $ac_var in #(
2139 _ | IFS | as_nl) ;; #(
2140 *) $as_unset $ac_var ;;
2141 esac ;;
2142 esac
2143 done
2144 (set) 2>&1 |
2145 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2146 *${as_nl}ac_space=\ *)
2147 sed -n \
2148 "s/'\''/'\''\\\\'\'''\''/g;
2149 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2150 ;; #(
2151 *)
2152 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2153 ;;
2154 esac |
2155 sort
2156 )
2157 echo
2158
2159 cat <<\_ASBOX
2160 ## ----------------- ##
2161 ## Output variables. ##
2162 ## ----------------- ##
2163 _ASBOX
2164 echo
2165 for ac_var in $ac_subst_vars
2166 do
2167 eval ac_val=\$$ac_var
2168 case $ac_val in
2169 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2170 esac
2171 echo "$ac_var='\''$ac_val'\''"
2172 done | sort
2173 echo
2174
2175 if test -n "$ac_subst_files"; then
2176 cat <<\_ASBOX
2177 ## ------------------- ##
2178 ## File substitutions. ##
2179 ## ------------------- ##
2180 _ASBOX
2181 echo
2182 for ac_var in $ac_subst_files
2183 do
2184 eval ac_val=\$$ac_var
2185 case $ac_val in
2186 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2187 esac
2188 echo "$ac_var='\''$ac_val'\''"
2189 done | sort
2190 echo
2191 fi
2192
2193 if test -s confdefs.h; then
2194 cat <<\_ASBOX
2195 ## ----------- ##
2196 ## confdefs.h. ##
2197 ## ----------- ##
2198 _ASBOX
2199 echo
2200 cat confdefs.h
2201 echo
2202 fi
2203 test "$ac_signal" != 0 &&
2204 echo "$as_me: caught signal $ac_signal"
2205 echo "$as_me: exit $exit_status"
2206 } >&5
2207 rm -f core *.core core.conftest.* &&
2208 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2209 exit $exit_status
2210 ' 0
2211 for ac_signal in 1 2 13 15; do
2212 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2213 done
2214 ac_signal=0
2215
2216 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2217 rm -f -r conftest* confdefs.h
2218
2219 # Predefined preprocessor variables.
2220
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_NAME "$PACKAGE_NAME"
2223 _ACEOF
2224
2225
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2228 _ACEOF
2229
2230
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2233 _ACEOF
2234
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_STRING "$PACKAGE_STRING"
2238 _ACEOF
2239
2240
2241 cat >>confdefs.h <<_ACEOF
2242 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2243 _ACEOF
2244
2245
2246 # Let the site file select an alternate cache file if it wants to.
2247 # Prefer explicitly selected file to automatically selected ones.
2248 if test -n "$CONFIG_SITE"; then
2249 set x "$CONFIG_SITE"
2250 elif test "x$prefix" != xNONE; then
2251 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2252 else
2253 set x "$ac_default_prefix/share/config.site" \
2254 "$ac_default_prefix/etc/config.site"
2255 fi
2256 shift
2257 for ac_site_file
2258 do
2259 if test -r "$ac_site_file"; then
2260 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2261 echo "$as_me: loading site script $ac_site_file" >&6;}
2262 sed 's/^/| /' "$ac_site_file" >&5
2263 . "$ac_site_file"
2264 fi
2265 done
2266
2267 if test -r "$cache_file"; then
2268 # Some versions of bash will fail to source /dev/null (special
2269 # files actually), so we avoid doing that.
2270 if test -f "$cache_file"; then
2271 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2272 echo "$as_me: loading cache $cache_file" >&6;}
2273 case $cache_file in
2274 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2275 *) . "./$cache_file";;
2276 esac
2277 fi
2278 else
2279 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2280 echo "$as_me: creating cache $cache_file" >&6;}
2281 >$cache_file
2282 fi
2283
2284 # Check that the precious variables saved in the cache have kept the same
2285 # value.
2286 ac_cache_corrupted=false
2287 for ac_var in $ac_precious_vars; do
2288 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2289 eval ac_new_set=\$ac_env_${ac_var}_set
2290 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2291 eval ac_new_val=\$ac_env_${ac_var}_value
2292 case $ac_old_set,$ac_new_set in
2293 set,)
2294 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2295 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2296 ac_cache_corrupted=: ;;
2297 ,set)
2298 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2299 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2300 ac_cache_corrupted=: ;;
2301 ,);;
2302 *)
2303 if test "x$ac_old_val" != "x$ac_new_val"; then
2304 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2305 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2306 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2307 echo "$as_me: former value: $ac_old_val" >&2;}
2308 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2309 echo "$as_me: current value: $ac_new_val" >&2;}
2310 ac_cache_corrupted=:
2311 fi;;
2312 esac
2313 # Pass precious variables to config.status.
2314 if test "$ac_new_set" = set; then
2315 case $ac_new_val in
2316 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2317 *) ac_arg=$ac_var=$ac_new_val ;;
2318 esac
2319 case " $ac_configure_args " in
2320 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2321 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2322 esac
2323 fi
2324 done
2325 if $ac_cache_corrupted; then
2326 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2327 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2328 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2329 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2330 { (exit 1); exit 1; }; }
2331 fi
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357 ac_ext=c
2358 ac_cpp='$CPP $CPPFLAGS'
2359 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2360 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2361 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2362
2363
2364
2365
2366
2367 ac_aux_dir=
2368 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2369 if test -f "$ac_dir/install-sh"; then
2370 ac_aux_dir=$ac_dir
2371 ac_install_sh="$ac_aux_dir/install-sh -c"
2372 break
2373 elif test -f "$ac_dir/install.sh"; then
2374 ac_aux_dir=$ac_dir
2375 ac_install_sh="$ac_aux_dir/install.sh -c"
2376 break
2377 elif test -f "$ac_dir/shtool"; then
2378 ac_aux_dir=$ac_dir
2379 ac_install_sh="$ac_aux_dir/shtool install -c"
2380 break
2381 fi
2382 done
2383 if test -z "$ac_aux_dir"; then
2384 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2385 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2386 { (exit 1); exit 1; }; }
2387 fi
2388
2389 # These three variables are undocumented and unsupported,
2390 # and are intended to be withdrawn in a future Autoconf release.
2391 # They can cause serious problems if a builder's source tree is in a directory
2392 # whose full name contains unusual characters.
2393 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2394 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2395 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2396
2397
2398 # Make sure we can run config.sub.
2399 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2400 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2401 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2402 { (exit 1); exit 1; }; }
2403
2404 { echo "$as_me:$LINENO: checking build system type" >&5
2405 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2406 if test "${ac_cv_build+set}" = set; then
2407 echo $ECHO_N "(cached) $ECHO_C" >&6
2408 else
2409 ac_build_alias=$build_alias
2410 test "x$ac_build_alias" = x &&
2411 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2412 test "x$ac_build_alias" = x &&
2413 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2414 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2415 { (exit 1); exit 1; }; }
2416 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2417 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2418 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2419 { (exit 1); exit 1; }; }
2420
2421 fi
2422 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2423 echo "${ECHO_T}$ac_cv_build" >&6; }
2424 case $ac_cv_build in
2425 *-*-*) ;;
2426 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2427 echo "$as_me: error: invalid value of canonical build" >&2;}
2428 { (exit 1); exit 1; }; };;
2429 esac
2430 build=$ac_cv_build
2431 ac_save_IFS=$IFS; IFS='-'
2432 set x $ac_cv_build
2433 shift
2434 build_cpu=$1
2435 build_vendor=$2
2436 shift; shift
2437 # Remember, the first character of IFS is used to create $*,
2438 # except with old shells:
2439 build_os=$*
2440 IFS=$ac_save_IFS
2441 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2442
2443
2444 { echo "$as_me:$LINENO: checking host system type" >&5
2445 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2446 if test "${ac_cv_host+set}" = set; then
2447 echo $ECHO_N "(cached) $ECHO_C" >&6
2448 else
2449 if test "x$host_alias" = x; then
2450 ac_cv_host=$ac_cv_build
2451 else
2452 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2453 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2454 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2455 { (exit 1); exit 1; }; }
2456 fi
2457
2458 fi
2459 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2460 echo "${ECHO_T}$ac_cv_host" >&6; }
2461 case $ac_cv_host in
2462 *-*-*) ;;
2463 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2464 echo "$as_me: error: invalid value of canonical host" >&2;}
2465 { (exit 1); exit 1; }; };;
2466 esac
2467 host=$ac_cv_host
2468 ac_save_IFS=$IFS; IFS='-'
2469 set x $ac_cv_host
2470 shift
2471 host_cpu=$1
2472 host_vendor=$2
2473 shift; shift
2474 # Remember, the first character of IFS is used to create $*,
2475 # except with old shells:
2476 host_os=$*
2477 IFS=$ac_save_IFS
2478 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2479
2480
2481 { echo "$as_me:$LINENO: checking target system type" >&5
2482 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2483 if test "${ac_cv_target+set}" = set; then
2484 echo $ECHO_N "(cached) $ECHO_C" >&6
2485 else
2486 if test "x$target_alias" = x; then
2487 ac_cv_target=$ac_cv_host
2488 else
2489 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2490 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2491 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2492 { (exit 1); exit 1; }; }
2493 fi
2494
2495 fi
2496 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2497 echo "${ECHO_T}$ac_cv_target" >&6; }
2498 case $ac_cv_target in
2499 *-*-*) ;;
2500 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2501 echo "$as_me: error: invalid value of canonical target" >&2;}
2502 { (exit 1); exit 1; }; };;
2503 esac
2504 target=$ac_cv_target
2505 ac_save_IFS=$IFS; IFS='-'
2506 set x $ac_cv_target
2507 shift
2508 target_cpu=$1
2509 target_vendor=$2
2510 shift; shift
2511 # Remember, the first character of IFS is used to create $*,
2512 # except with old shells:
2513 target_os=$*
2514 IFS=$ac_save_IFS
2515 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2516
2517
2518 # The aliases save the names the user supplied, while $host etc.
2519 # will get canonicalized.
2520 test -n "$target_alias" &&
2521 test "$program_prefix$program_suffix$program_transform_name" = \
2522 NONENONEs,x,x, &&
2523 program_prefix=${target_alias}-
2524
2525
2526
2527 wx_major_version_number=2
2528 wx_minor_version_number=9
2529 wx_release_number=0
2530 wx_subrelease_number=0
2531
2532 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2533 WX_VERSION=$WX_RELEASE.$wx_release_number
2534 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2535
2536 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2537
2538
2539 wx_top_builddir="`pwd`"
2540
2541
2542
2543
2544 USE_UNIX=1
2545 USE_OS2=0
2546 USE_WIN32=0
2547 USE_DOS=0
2548 USE_BEOS=0
2549 USE_MAC=0
2550
2551 USE_AIX=
2552 USE_BSD= USE_DARWIN= USE_FREEBSD=
2553 USE_GNU= USE_HPUX=
2554 USE_LINUX=
2555 USE_NETBSD=
2556 USE_OPENBSD=
2557 USE_OSF= USE_SGI=
2558 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2559 USE_ULTRIX=
2560 USE_UNIXWARE=
2561
2562 USE_ALPHA=
2563
2564 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2565
2566 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2567
2568 DEFAULT_wxUSE_COCOA=0
2569 DEFAULT_wxUSE_GTK=0
2570 DEFAULT_wxUSE_MAC=0
2571 DEFAULT_wxUSE_MGL=0
2572 DEFAULT_wxUSE_MICROWIN=0
2573 DEFAULT_wxUSE_MOTIF=0
2574 DEFAULT_wxUSE_MSW=0
2575 DEFAULT_wxUSE_PM=0
2576 DEFAULT_wxUSE_X11=0
2577 DEFAULT_wxUSE_DFB=0
2578
2579 DEFAULT_DEFAULT_wxUSE_COCOA=0
2580 DEFAULT_DEFAULT_wxUSE_GTK=0
2581 DEFAULT_DEFAULT_wxUSE_MAC=0
2582 DEFAULT_DEFAULT_wxUSE_MGL=0
2583 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2584 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2585 DEFAULT_DEFAULT_wxUSE_MSW=0
2586 DEFAULT_DEFAULT_wxUSE_PM=0
2587 DEFAULT_DEFAULT_wxUSE_X11=0
2588 DEFAULT_DEFAULT_wxUSE_DFB=0
2589
2590 PROGRAM_EXT=
2591 SO_SUFFIX=so
2592 SAMPLES_RPATH_FLAG=
2593 SAMPLES_RPATH_POSTLINK=
2594
2595 DEFAULT_STD_FLAG=yes
2596
2597 case "${host}" in
2598 *-hp-hpux* )
2599 USE_HPUX=1
2600 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2601 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2602 SO_SUFFIX=sl
2603 cat >>confdefs.h <<\_ACEOF
2604 #define __HPUX__ 1
2605 _ACEOF
2606
2607
2608 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2609 ;;
2610 *-*-linux* )
2611 USE_LINUX=1
2612 cat >>confdefs.h <<\_ACEOF
2613 #define __LINUX__ 1
2614 _ACEOF
2615
2616 TMP=`uname -m`
2617 if test "x$TMP" = "xalpha"; then
2618 USE_ALPHA=1
2619 cat >>confdefs.h <<\_ACEOF
2620 #define __ALPHA__ 1
2621 _ACEOF
2622
2623 fi
2624 DEFAULT_DEFAULT_wxUSE_GTK=1
2625 ;;
2626 *-*-gnu* | *-*-k*bsd*-gnu )
2627 USE_GNU=1
2628 TMP=`uname -m`
2629 if test "x$TMP" = "xalpha"; then
2630 USE_ALPHA=1
2631 cat >>confdefs.h <<\_ACEOF
2632 #define __ALPHA__ 1
2633 _ACEOF
2634
2635 fi
2636 DEFAULT_DEFAULT_wxUSE_GTK=1
2637 ;;
2638 *-*-irix5* | *-*-irix6* )
2639 USE_SGI=1
2640 USE_SVR4=1
2641 cat >>confdefs.h <<\_ACEOF
2642 #define __SGI__ 1
2643 _ACEOF
2644
2645 cat >>confdefs.h <<\_ACEOF
2646 #define __SVR4__ 1
2647 _ACEOF
2648
2649 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2650 ;;
2651 *-*-solaris2* )
2652 USE_SUN=1
2653 USE_SOLARIS=1
2654 USE_SVR4=1
2655 cat >>confdefs.h <<\_ACEOF
2656 #define __SUN__ 1
2657 _ACEOF
2658
2659 cat >>confdefs.h <<\_ACEOF
2660 #define __SOLARIS__ 1
2661 _ACEOF
2662
2663 cat >>confdefs.h <<\_ACEOF
2664 #define __SVR4__ 1
2665 _ACEOF
2666
2667 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2668 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2669 ;;
2670 *-*-sunos4* )
2671 USE_SUN=1
2672 USE_SUNOS=1
2673 USE_BSD=1
2674 cat >>confdefs.h <<\_ACEOF
2675 #define __SUN__ 1
2676 _ACEOF
2677
2678 cat >>confdefs.h <<\_ACEOF
2679 #define __SUNOS__ 1
2680 _ACEOF
2681
2682 cat >>confdefs.h <<\_ACEOF
2683 #define __BSD__ 1
2684 _ACEOF
2685
2686 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2687 ;;
2688 *-*-freebsd*)
2689 USE_BSD=1
2690 USE_FREEBSD=1
2691 cat >>confdefs.h <<\_ACEOF
2692 #define __FREEBSD__ 1
2693 _ACEOF
2694
2695 cat >>confdefs.h <<\_ACEOF
2696 #define __BSD__ 1
2697 _ACEOF
2698
2699 DEFAULT_DEFAULT_wxUSE_GTK=1
2700 ;;
2701 *-*-openbsd*|*-*-mirbsd*)
2702 USE_BSD=1
2703 USE_OPENBSD=1
2704 cat >>confdefs.h <<\_ACEOF
2705 #define __OPENBSD__ 1
2706 _ACEOF
2707
2708 cat >>confdefs.h <<\_ACEOF
2709 #define __BSD__ 1
2710 _ACEOF
2711
2712 DEFAULT_DEFAULT_wxUSE_GTK=1
2713 ;;
2714 *-*-netbsd*)
2715 USE_BSD=1
2716 USE_NETBSD=1
2717 cat >>confdefs.h <<\_ACEOF
2718 #define __NETBSD__ 1
2719 _ACEOF
2720
2721 cat >>confdefs.h <<\_ACEOF
2722 #define __BSD__ 1
2723 _ACEOF
2724
2725 DEFAULT_DEFAULT_wxUSE_GTK=1
2726 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2727
2728 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2729 ;;
2730 *-*-osf* )
2731 USE_ALPHA=1
2732 USE_OSF=1
2733 cat >>confdefs.h <<\_ACEOF
2734 #define __ALPHA__ 1
2735 _ACEOF
2736
2737 cat >>confdefs.h <<\_ACEOF
2738 #define __OSF__ 1
2739 _ACEOF
2740
2741 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2742 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2743 ;;
2744 *-*-dgux5* )
2745 USE_ALPHA=1
2746 USE_SVR4=1
2747 cat >>confdefs.h <<\_ACEOF
2748 #define __ALPHA__ 1
2749 _ACEOF
2750
2751 cat >>confdefs.h <<\_ACEOF
2752 #define __SVR4__ 1
2753 _ACEOF
2754
2755 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2756 ;;
2757 *-*-sysv5* )
2758 USE_SYSV=1
2759 USE_SVR4=1
2760 cat >>confdefs.h <<\_ACEOF
2761 #define __SYSV__ 1
2762 _ACEOF
2763
2764 cat >>confdefs.h <<\_ACEOF
2765 #define __SVR4__ 1
2766 _ACEOF
2767
2768 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2769 ;;
2770 *-*-aix* )
2771 USE_AIX=1
2772 USE_SYSV=1
2773 USE_SVR4=1
2774 SO_SUFFIX=a
2775 cat >>confdefs.h <<\_ACEOF
2776 #define __AIX__ 1
2777 _ACEOF
2778
2779 cat >>confdefs.h <<\_ACEOF
2780 #define __SYSV__ 1
2781 _ACEOF
2782
2783 cat >>confdefs.h <<\_ACEOF
2784 #define __SVR4__ 1
2785 _ACEOF
2786
2787 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2788 ;;
2789
2790 *-*-*UnixWare*)
2791 USE_SYSV=1
2792 USE_SVR4=1
2793 USE_UNIXWARE=1
2794 cat >>confdefs.h <<\_ACEOF
2795 #define __UNIXWARE__ 1
2796 _ACEOF
2797
2798 ;;
2799
2800 *-*-cygwin* | *-*-mingw32* )
2801 SO_SUFFIX=dll
2802 PROGRAM_EXT=".exe"
2803 DEFAULT_DEFAULT_wxUSE_MSW=1
2804 ;;
2805
2806 *-pc-msdosdjgpp )
2807 USE_UNIX=0
2808 USE_DOS=1
2809 cat >>confdefs.h <<\_ACEOF
2810 #define __DOS__ 1
2811 _ACEOF
2812
2813 PROGRAM_EXT=".exe"
2814 DEFAULT_DEFAULT_wxUSE_MGL=1
2815 ;;
2816
2817 *-pc-os2_emx | *-pc-os2-emx )
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __EMX__ 1
2820 _ACEOF
2821
2822 USE_OS2=1
2823 cat >>confdefs.h <<\_ACEOF
2824 #define __OS2__ 1
2825 _ACEOF
2826
2827 PROGRAM_EXT=".exe"
2828 DEFAULT_DEFAULT_wxUSE_PM=1
2829 CXX=gcc
2830 LDFLAGS="$LDFLAGS -Zcrtdll"
2831 ac_executable_extensions=".exe"
2832 export ac_executable_extensions
2833 ac_save_IFS="$IFS"
2834 IFS='\\'
2835 ac_TEMP_PATH=
2836 for ac_dir in $PATH; do
2837 IFS=$ac_save_IFS
2838 if test -z "$ac_TEMP_PATH"; then
2839 ac_TEMP_PATH="$ac_dir"
2840 else
2841 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2842 fi
2843 done
2844 export PATH="$ac_TEMP_PATH"
2845 unset ac_TEMP_PATH
2846 DEFAULT_STD_FLAG=no
2847 ;;
2848
2849 *-*-darwin* )
2850 USE_BSD=1
2851 USE_DARWIN=1
2852 SO_SUFFIX=dylib
2853 cat >>confdefs.h <<\_ACEOF
2854 #define __BSD__ 1
2855 _ACEOF
2856
2857 cat >>confdefs.h <<\_ACEOF
2858 #define __DARWIN__ 1
2859 _ACEOF
2860
2861 cat >>confdefs.h <<\_ACEOF
2862 #define TARGET_CARBON 1
2863 _ACEOF
2864
2865 DEFAULT_DEFAULT_wxUSE_MAC=1
2866 DEFAULT_STD_FLAG=no
2867 ;;
2868 powerpc-apple-macos* )
2869 USE_UNIX=0
2870 ac_cv_c_bigendian=yes
2871 SO_SUFFIX=shlib
2872 DEFAULT_DEFAULT_wxUSE_MAC=1
2873 DEFAULT_STD_FLAG=no
2874 ;;
2875
2876 *-*-beos* )
2877 USE_BEOS=1
2878 cat >>confdefs.h <<\_ACEOF
2879 #define __BEOS__ 1
2880 _ACEOF
2881
2882 ;;
2883
2884 *)
2885 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2886 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2887 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2888 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2889
2890 DEFAULT_DEFAULT_wxUSE_X11=1
2891 DEFAULT_wxUSE_SHARED=no
2892 esac
2893
2894
2895
2896
2897 wx_arg_cache_file="configarg.cache"
2898 echo "loading argument cache $wx_arg_cache_file"
2899 rm -f ${wx_arg_cache_file}.tmp
2900 touch ${wx_arg_cache_file}.tmp
2901 touch ${wx_arg_cache_file}
2902
2903
2904 DEBUG_CONFIGURE=0
2905 if test $DEBUG_CONFIGURE = 1; then
2906 DEFAULT_wxUSE_UNIVERSAL=no
2907 DEFAULT_wxUSE_STL=no
2908 DEFAULT_wxUSE_EXTENDED_RTTI=no
2909
2910 DEFAULT_wxUSE_NANOX=no
2911
2912 DEFAULT_wxUSE_THREADS=yes
2913
2914 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2915 DEFAULT_wxUSE_OPTIMISE=no
2916 DEFAULT_wxUSE_PROFILE=no
2917 DEFAULT_wxUSE_NO_DEPS=no
2918 DEFAULT_wxUSE_VARARG_MACROS=no
2919 DEFAULT_wxUSE_NO_RTTI=no
2920 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2921 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2922 DEFAULT_wxUSE_RPATH=yes
2923 DEFAULT_wxUSE_PERMISSIVE=no
2924 DEFAULT_wxUSE_DEBUG_FLAG=yes
2925 DEFAULT_wxUSE_DEBUG_INFO=yes
2926 DEFAULT_wxUSE_DEBUG_GDB=yes
2927 DEFAULT_wxUSE_MEM_TRACING=no
2928 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2929 DEFAULT_wxUSE_DMALLOC=no
2930 DEFAULT_wxUSE_APPLE_IEEE=no
2931
2932 DEFAULT_wxUSE_EXCEPTIONS=no
2933 DEFAULT_wxUSE_LOG=yes
2934 DEFAULT_wxUSE_LOGWINDOW=no
2935 DEFAULT_wxUSE_LOGGUI=no
2936 DEFAULT_wxUSE_LOGDIALOG=no
2937
2938 DEFAULT_wxUSE_GUI=yes
2939 DEFAULT_wxUSE_CONTROLS=no
2940
2941 DEFAULT_wxUSE_REGEX=no
2942 DEFAULT_wxUSE_XML=no
2943 DEFAULT_wxUSE_EXPAT=no
2944 DEFAULT_wxUSE_ZLIB=no
2945 DEFAULT_wxUSE_LIBPNG=no
2946 DEFAULT_wxUSE_LIBJPEG=no
2947 DEFAULT_wxUSE_LIBTIFF=no
2948 DEFAULT_wxUSE_LIBXPM=no
2949 DEFAULT_wxUSE_LIBMSPACK=no
2950 DEFAULT_wxUSE_LIBSDL=no
2951 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2952 DEFAULT_wxUSE_LIBGNOMEVFS=no
2953 DEFAULT_wxUSE_LIBHILDON=no
2954 DEFAULT_wxUSE_ODBC=no
2955 DEFAULT_wxUSE_OPENGL=no
2956
2957 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2958 DEFAULT_wxUSE_STACKWALKER=no
2959 DEFAULT_wxUSE_DEBUGREPORT=no
2960 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2961 DEFAULT_wxUSE_STD_IOSTREAM=no
2962 DEFAULT_wxUSE_STD_STRING=no
2963 DEFAULT_wxUSE_CMDLINE_PARSER=no
2964 DEFAULT_wxUSE_DATETIME=no
2965 DEFAULT_wxUSE_TIMER=no
2966 DEFAULT_wxUSE_STOPWATCH=no
2967 DEFAULT_wxUSE_FILE=no
2968 DEFAULT_wxUSE_FFILE=no
2969 DEFAULT_wxUSE_STDPATHS=no
2970 DEFAULT_wxUSE_TEXTBUFFER=no
2971 DEFAULT_wxUSE_TEXTFILE=no
2972 DEFAULT_wxUSE_SOUND=no
2973 DEFAULT_wxUSE_MEDIACTRL=no
2974 DEFAULT_wxUSE_GSTREAMER8=no
2975 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2976 DEFAULT_wxUSE_INTL=no
2977 DEFAULT_wxUSE_CONFIG=no
2978 DEFAULT_wxUSE_FONTMAP=no
2979 DEFAULT_wxUSE_STREAMS=no
2980 DEFAULT_wxUSE_SOCKETS=no
2981 DEFAULT_wxUSE_OLE=no
2982 DEFAULT_wxUSE_DATAOBJ=no
2983 DEFAULT_wxUSE_DIALUP_MANAGER=no
2984 DEFAULT_wxUSE_JOYSTICK=no
2985 DEFAULT_wxUSE_DYNLIB_CLASS=no
2986 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2987 DEFAULT_wxUSE_LONGLONG=no
2988 DEFAULT_wxUSE_GEOMETRY=no
2989
2990 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2991 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2992 DEFAULT_wxUSE_POSTSCRIPT=no
2993
2994 DEFAULT_wxUSE_CLIPBOARD=no
2995 DEFAULT_wxUSE_TOOLTIPS=no
2996 DEFAULT_wxUSE_DRAG_AND_DROP=no
2997 DEFAULT_wxUSE_DRAGIMAGE=no
2998 DEFAULT_wxUSE_SPLINES=no
2999 DEFAULT_wxUSE_MOUSEWHEEL=no
3000
3001 DEFAULT_wxUSE_MDI=no
3002 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
3003 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
3004 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
3005
3006 DEFAULT_wxUSE_CONSTRAINTS=no
3007 DEFAULT_wxUSE_IPC=no
3008 DEFAULT_wxUSE_HELP=no
3009 DEFAULT_wxUSE_MS_HTML_HELP=no
3010 DEFAULT_wxUSE_WXHTML_HELP=no
3011 DEFAULT_wxUSE_TREELAYOUT=no
3012 DEFAULT_wxUSE_METAFILE=no
3013 DEFAULT_wxUSE_MIMETYPE=no
3014 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3015 DEFAULT_wxUSE_PROTOCOL=no
3016 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3017 DEFAULT_wxUSE_PROTOCOL_FTP=no
3018 DEFAULT_wxUSE_PROTOCOL_FILE=no
3019 DEFAULT_wxUSE_URL=no
3020 DEFAULT_wxUSE_VARIANT=no
3021
3022 DEFAULT_wxUSE_ABOUTDLG=no
3023 DEFAULT_wxUSE_COMMONDLGS=no
3024 DEFAULT_wxUSE_CHOICEDLG=no
3025 DEFAULT_wxUSE_COLOURDLG=no
3026 DEFAULT_wxUSE_DIRDLG=no
3027 DEFAULT_wxUSE_FILEDLG=no
3028 DEFAULT_wxUSE_FINDREPLDLG=no
3029 DEFAULT_wxUSE_FONTDLG=no
3030 DEFAULT_wxUSE_MSGDLG=no
3031 DEFAULT_wxUSE_NUMBERDLG=no
3032 DEFAULT_wxUSE_TEXTDLG=no
3033 DEFAULT_wxUSE_SPLASH=no
3034 DEFAULT_wxUSE_STARTUP_TIPS=no
3035 DEFAULT_wxUSE_PROGRESSDLG=no
3036 DEFAULT_wxUSE_WIZARDDLG=no
3037
3038 DEFAULT_wxUSE_MENUS=no
3039 DEFAULT_wxUSE_MINIFRAME=no
3040 DEFAULT_wxUSE_HTML=no
3041 DEFAULT_wxUSE_RICHTEXT=no
3042 DEFAULT_wxUSE_XRC=no
3043 DEFAULT_wxUSE_AUI=no
3044 DEFAULT_wxUSE_STC=no
3045 DEFAULT_wxUSE_WEBKIT=no
3046 DEFAULT_wxUSE_FILESYSTEM=no
3047 DEFAULT_wxUSE_FS_INET=no
3048 DEFAULT_wxUSE_FS_ZIP=no
3049 DEFAULT_wxUSE_FS_ARCHIVE=no
3050 DEFAULT_wxUSE_BUSYINFO=no
3051 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3052 DEFAULT_wxUSE_ZIPSTREAM=no
3053 DEFAULT_wxUSE_TARSTREAM=no
3054 DEFAULT_wxUSE_VALIDATORS=no
3055
3056 DEFAULT_wxUSE_ACCEL=no
3057 DEFAULT_wxUSE_ANIMATIONCTRL=no
3058 DEFAULT_wxUSE_BUTTON=no
3059 DEFAULT_wxUSE_BMPBUTTON=no
3060 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3061 DEFAULT_wxUSE_CALCTRL=no
3062 DEFAULT_wxUSE_CARET=no
3063 DEFAULT_wxUSE_CHECKBOX=no
3064 DEFAULT_wxUSE_CHECKLST=no
3065 DEFAULT_wxUSE_CHOICE=no
3066 DEFAULT_wxUSE_CHOICEBOOK=no
3067 DEFAULT_wxUSE_COLLPANE=no
3068 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3069 DEFAULT_wxUSE_COMBOBOX=no
3070 DEFAULT_wxUSE_COMBOCTRL=no
3071 DEFAULT_wxUSE_DATEPICKCTRL=no
3072 DEFAULT_wxUSE_DISPLAY=no
3073 DEFAULT_wxUSE_DETECT_SM=no
3074 DEFAULT_wxUSE_DIRPICKERCTRL=no
3075 DEFAULT_wxUSE_EDITABLELISTBOX=no
3076 DEFAULT_wxUSE_FILEPICKERCTRL=no
3077 DEFAULT_wxUSE_FONTPICKERCTRL=no
3078 DEFAULT_wxUSE_GAUGE=no
3079 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3080 DEFAULT_wxUSE_GRID=no
3081 DEFAULT_wxUSE_HYPERLINKCTRL=no
3082 DEFAULT_wxUSE_DATAVIEWCTRL=no
3083 DEFAULT_wxUSE_IMAGLIST=no
3084 DEFAULT_wxUSE_LISTBOOK=no
3085 DEFAULT_wxUSE_LISTBOX=no
3086 DEFAULT_wxUSE_LISTCTRL=no
3087 DEFAULT_wxUSE_NOTEBOOK=no
3088 DEFAULT_wxUSE_ODCOMBOBOX=no
3089 DEFAULT_wxUSE_RADIOBOX=no
3090 DEFAULT_wxUSE_RADIOBTN=no
3091 DEFAULT_wxUSE_SASH=no
3092 DEFAULT_wxUSE_SCROLLBAR=no
3093 DEFAULT_wxUSE_SEARCHCTRL=no
3094 DEFAULT_wxUSE_SLIDER=no
3095 DEFAULT_wxUSE_SPINBTN=no
3096 DEFAULT_wxUSE_SPINCTRL=no
3097 DEFAULT_wxUSE_SPLITTER=no
3098 DEFAULT_wxUSE_STATBMP=no
3099 DEFAULT_wxUSE_STATBOX=no
3100 DEFAULT_wxUSE_STATLINE=no
3101 DEFAULT_wxUSE_STATTEXT=no
3102 DEFAULT_wxUSE_STATUSBAR=yes
3103 DEFAULT_wxUSE_TAB_DIALOG=no
3104 DEFAULT_wxUSE_TEXTCTRL=no
3105 DEFAULT_wxUSE_TOGGLEBTN=no
3106 DEFAULT_wxUSE_TOOLBAR=no
3107 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3108 DEFAULT_wxUSE_TREEBOOK=no
3109 DEFAULT_wxUSE_TOOLBOOK=no
3110 DEFAULT_wxUSE_TREECTRL=no
3111 DEFAULT_wxUSE_POPUPWIN=no
3112 DEFAULT_wxUSE_TIPWINDOW=no
3113
3114 DEFAULT_wxUSE_UNICODE=no
3115 DEFAULT_wxUSE_UNICODE_MSLU=no
3116 DEFAULT_wxUSE_UNICODE_UTF8=auto
3117 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3118 DEFAULT_wxUSE_WCSRTOMBS=no
3119
3120 DEFAULT_wxUSE_PALETTE=no
3121 DEFAULT_wxUSE_IMAGE=no
3122 DEFAULT_wxUSE_GIF=no
3123 DEFAULT_wxUSE_PCX=no
3124 DEFAULT_wxUSE_TGA=no
3125 DEFAULT_wxUSE_PNM=no
3126 DEFAULT_wxUSE_IFF=no
3127 DEFAULT_wxUSE_XPM=no
3128 DEFAULT_wxUSE_ICO_CUR=no
3129 DEFAULT_wxUSE_ACCESSIBILITY=no
3130
3131 DEFAULT_wxUSE_MONOLITHIC=no
3132 DEFAULT_wxUSE_PLUGINS=no
3133 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3134 else
3135 DEFAULT_wxUSE_UNIVERSAL=no
3136 DEFAULT_wxUSE_STL=no
3137 DEFAULT_wxUSE_EXTENDED_RTTI=no
3138
3139 DEFAULT_wxUSE_NANOX=no
3140
3141 DEFAULT_wxUSE_THREADS=yes
3142
3143 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3144 DEFAULT_wxUSE_OPTIMISE=yes
3145 DEFAULT_wxUSE_PROFILE=no
3146 DEFAULT_wxUSE_NO_DEPS=no
3147 DEFAULT_wxUSE_VARARG_MACROS=yes
3148 DEFAULT_wxUSE_NO_RTTI=no
3149 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3150 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3151 DEFAULT_wxUSE_RPATH=yes
3152 DEFAULT_wxUSE_PERMISSIVE=no
3153 DEFAULT_wxUSE_DEBUG_FLAG=no
3154 DEFAULT_wxUSE_DEBUG_INFO=no
3155 DEFAULT_wxUSE_DEBUG_GDB=no
3156 DEFAULT_wxUSE_MEM_TRACING=no
3157 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3158 DEFAULT_wxUSE_DMALLOC=no
3159 DEFAULT_wxUSE_APPLE_IEEE=yes
3160
3161 DEFAULT_wxUSE_EXCEPTIONS=yes
3162 DEFAULT_wxUSE_LOG=yes
3163 DEFAULT_wxUSE_LOGWINDOW=yes
3164 DEFAULT_wxUSE_LOGGUI=yes
3165 DEFAULT_wxUSE_LOGDIALOG=yes
3166
3167 DEFAULT_wxUSE_GUI=yes
3168
3169 DEFAULT_wxUSE_REGEX=yes
3170 DEFAULT_wxUSE_XML=yes
3171 DEFAULT_wxUSE_EXPAT=yes
3172 DEFAULT_wxUSE_ZLIB=yes
3173 DEFAULT_wxUSE_LIBPNG=yes
3174 DEFAULT_wxUSE_LIBJPEG=yes
3175 DEFAULT_wxUSE_LIBTIFF=yes
3176 DEFAULT_wxUSE_LIBXPM=yes
3177 DEFAULT_wxUSE_LIBMSPACK=yes
3178 DEFAULT_wxUSE_LIBSDL=no
3179 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3180 DEFAULT_wxUSE_LIBGNOMEVFS=no
3181 DEFAULT_wxUSE_LIBHILDON=no
3182 DEFAULT_wxUSE_ODBC=no
3183 DEFAULT_wxUSE_OPENGL=no
3184
3185 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3186 DEFAULT_wxUSE_STACKWALKER=yes
3187 DEFAULT_wxUSE_DEBUGREPORT=yes
3188 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3189 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3190 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3191 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3192 DEFAULT_wxUSE_DATETIME=yes
3193 DEFAULT_wxUSE_TIMER=yes
3194 DEFAULT_wxUSE_STOPWATCH=yes
3195 DEFAULT_wxUSE_FILE=yes
3196 DEFAULT_wxUSE_FFILE=yes
3197 DEFAULT_wxUSE_STDPATHS=yes
3198 DEFAULT_wxUSE_TEXTBUFFER=yes
3199 DEFAULT_wxUSE_TEXTFILE=yes
3200 DEFAULT_wxUSE_SOUND=yes
3201 DEFAULT_wxUSE_MEDIACTRL=no
3202 DEFAULT_wxUSE_GSTREAMER8=no
3203 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3204 DEFAULT_wxUSE_INTL=yes
3205 DEFAULT_wxUSE_CONFIG=yes
3206 DEFAULT_wxUSE_FONTMAP=yes
3207 DEFAULT_wxUSE_STREAMS=yes
3208 DEFAULT_wxUSE_SOCKETS=yes
3209 DEFAULT_wxUSE_OLE=yes
3210 DEFAULT_wxUSE_DATAOBJ=yes
3211 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3212 DEFAULT_wxUSE_JOYSTICK=yes
3213 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3214 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3215 DEFAULT_wxUSE_LONGLONG=yes
3216 DEFAULT_wxUSE_GEOMETRY=yes
3217
3218 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3219 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3220 DEFAULT_wxUSE_POSTSCRIPT=yes
3221
3222 DEFAULT_wxUSE_CLIPBOARD=yes
3223 DEFAULT_wxUSE_TOOLTIPS=yes
3224 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3225 DEFAULT_wxUSE_DRAGIMAGE=yes
3226 DEFAULT_wxUSE_SPLINES=yes
3227 DEFAULT_wxUSE_MOUSEWHEEL=yes
3228
3229 DEFAULT_wxUSE_MDI=yes
3230 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3231 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3232 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3233
3234 DEFAULT_wxUSE_CONSTRAINTS=yes
3235 DEFAULT_wxUSE_IPC=yes
3236 DEFAULT_wxUSE_HELP=yes
3237 DEFAULT_wxUSE_MS_HTML_HELP=yes
3238 DEFAULT_wxUSE_WXHTML_HELP=yes
3239 DEFAULT_wxUSE_TREELAYOUT=yes
3240 DEFAULT_wxUSE_METAFILE=yes
3241 DEFAULT_wxUSE_MIMETYPE=yes
3242 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3243 DEFAULT_wxUSE_PROTOCOL=yes
3244 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3245 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3246 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3247 DEFAULT_wxUSE_URL=yes
3248 DEFAULT_wxUSE_VARIANT=yes
3249
3250 DEFAULT_wxUSE_ABOUTDLG=yes
3251 DEFAULT_wxUSE_COMMONDLGS=yes
3252 DEFAULT_wxUSE_CHOICEDLG=yes
3253 DEFAULT_wxUSE_COLOURDLG=yes
3254 DEFAULT_wxUSE_DIRDLG=yes
3255 DEFAULT_wxUSE_FILEDLG=yes
3256 DEFAULT_wxUSE_FINDREPLDLG=yes
3257 DEFAULT_wxUSE_FONTDLG=yes
3258 DEFAULT_wxUSE_MSGDLG=yes
3259 DEFAULT_wxUSE_NUMBERDLG=yes
3260 DEFAULT_wxUSE_TEXTDLG=yes
3261 DEFAULT_wxUSE_SPLASH=yes
3262 DEFAULT_wxUSE_STARTUP_TIPS=yes
3263 DEFAULT_wxUSE_PROGRESSDLG=yes
3264 DEFAULT_wxUSE_WIZARDDLG=yes
3265
3266 DEFAULT_wxUSE_MENUS=yes
3267 DEFAULT_wxUSE_MINIFRAME=yes
3268 DEFAULT_wxUSE_HTML=yes
3269 DEFAULT_wxUSE_RICHTEXT=yes
3270 DEFAULT_wxUSE_XRC=yes
3271 DEFAULT_wxUSE_AUI=yes
3272 DEFAULT_wxUSE_STC=yes
3273 DEFAULT_wxUSE_WEBKIT=yes
3274 DEFAULT_wxUSE_FILESYSTEM=yes
3275 DEFAULT_wxUSE_FS_INET=yes
3276 DEFAULT_wxUSE_FS_ZIP=yes
3277 DEFAULT_wxUSE_FS_ARCHIVE=yes
3278 DEFAULT_wxUSE_BUSYINFO=yes
3279 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3280 DEFAULT_wxUSE_ZIPSTREAM=yes
3281 DEFAULT_wxUSE_TARSTREAM=yes
3282 DEFAULT_wxUSE_VALIDATORS=yes
3283
3284 DEFAULT_wxUSE_ACCEL=yes
3285 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3286 DEFAULT_wxUSE_BUTTON=yes
3287 DEFAULT_wxUSE_BMPBUTTON=yes
3288 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3289 DEFAULT_wxUSE_CALCTRL=yes
3290 DEFAULT_wxUSE_CARET=yes
3291 DEFAULT_wxUSE_CHECKBOX=yes
3292 DEFAULT_wxUSE_CHECKLST=yes
3293 DEFAULT_wxUSE_CHOICE=yes
3294 DEFAULT_wxUSE_CHOICEBOOK=yes
3295 DEFAULT_wxUSE_COLLPANE=yes
3296 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3297 DEFAULT_wxUSE_COMBOBOX=yes
3298 DEFAULT_wxUSE_COMBOCTRL=yes
3299 DEFAULT_wxUSE_DATEPICKCTRL=yes
3300 DEFAULT_wxUSE_DISPLAY=yes
3301 DEFAULT_wxUSE_DETECT_SM=yes
3302 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3303 DEFAULT_wxUSE_EDITABLELISTBOX=yes
3304 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3305 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3306 DEFAULT_wxUSE_GAUGE=yes
3307 DEFAULT_wxUSE_GRID=yes
3308 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3309 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3310 DEFAULT_wxUSE_DATAVIEWCTRL=no
3311 DEFAULT_wxUSE_IMAGLIST=yes
3312 DEFAULT_wxUSE_LISTBOOK=yes
3313 DEFAULT_wxUSE_LISTBOX=yes
3314 DEFAULT_wxUSE_LISTCTRL=yes
3315 DEFAULT_wxUSE_NOTEBOOK=yes
3316 DEFAULT_wxUSE_ODCOMBOBOX=yes
3317 DEFAULT_wxUSE_RADIOBOX=yes
3318 DEFAULT_wxUSE_RADIOBTN=yes
3319 DEFAULT_wxUSE_SASH=yes
3320 DEFAULT_wxUSE_SCROLLBAR=yes
3321 DEFAULT_wxUSE_SEARCHCTRL=yes
3322 DEFAULT_wxUSE_SLIDER=yes
3323 DEFAULT_wxUSE_SPINBTN=yes
3324 DEFAULT_wxUSE_SPINCTRL=yes
3325 DEFAULT_wxUSE_SPLITTER=yes
3326 DEFAULT_wxUSE_STATBMP=yes
3327 DEFAULT_wxUSE_STATBOX=yes
3328 DEFAULT_wxUSE_STATLINE=yes
3329 DEFAULT_wxUSE_STATTEXT=yes
3330 DEFAULT_wxUSE_STATUSBAR=yes
3331 DEFAULT_wxUSE_TAB_DIALOG=no
3332 DEFAULT_wxUSE_TEXTCTRL=yes
3333 DEFAULT_wxUSE_TOGGLEBTN=yes
3334 DEFAULT_wxUSE_TOOLBAR=yes
3335 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3336 DEFAULT_wxUSE_TREEBOOK=yes
3337 DEFAULT_wxUSE_TOOLBOOK=yes
3338 DEFAULT_wxUSE_TREECTRL=yes
3339 DEFAULT_wxUSE_POPUPWIN=yes
3340 DEFAULT_wxUSE_TIPWINDOW=yes
3341
3342 DEFAULT_wxUSE_UNICODE=no
3343 DEFAULT_wxUSE_UNICODE_MSLU=yes
3344 DEFAULT_wxUSE_UNICODE_UTF8=auto
3345 DEFAULT_wxUSE_UNICODE_UTF8_LOCALE=no
3346 DEFAULT_wxUSE_WCSRTOMBS=no
3347
3348 DEFAULT_wxUSE_PALETTE=yes
3349 DEFAULT_wxUSE_IMAGE=yes
3350 DEFAULT_wxUSE_GIF=yes
3351 DEFAULT_wxUSE_PCX=yes
3352 DEFAULT_wxUSE_TGA=yes
3353 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3354 DEFAULT_wxUSE_XPM=yes
3355 DEFAULT_wxUSE_ICO_CUR=yes
3356 DEFAULT_wxUSE_ACCESSIBILITY=no
3357
3358 DEFAULT_wxUSE_MONOLITHIC=no
3359 DEFAULT_wxUSE_PLUGINS=no
3360 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3361
3362 DEFAULT_wxUSE_GTK2=yes
3363 fi
3364
3365
3366
3367
3368 for toolkit in `echo $ALL_TOOLKITS`; do
3369 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3370 if test "x$LINE" != "x" ; then
3371 has_toolkit_in_cache=1
3372 eval "DEFAULT_$LINE"
3373 eval "CACHE_$toolkit=1"
3374
3375 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3376 if test "x$LINE" != "x" ; then
3377 eval "DEFAULT_$LINE"
3378 fi
3379 fi
3380 done
3381
3382
3383
3384 enablestring=
3385 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3386 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3387 no_cache=0
3388 # Check whether --enable-gui was given.
3389 if test "${enable_gui+set}" = set; then
3390 enableval=$enable_gui;
3391 if test "$enableval" = yes; then
3392 ac_cv_use_gui='wxUSE_GUI=yes'
3393 else
3394 ac_cv_use_gui='wxUSE_GUI=no'
3395 fi
3396
3397 else
3398
3399 LINE=`grep "^wxUSE_GUI=" ${wx_arg_cache_file}`
3400 if test "x$LINE" != x ; then
3401 eval "DEFAULT_$LINE"
3402 else
3403 no_cache=1
3404 fi
3405
3406 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3407
3408 fi
3409
3410
3411 eval "$ac_cv_use_gui"
3412 if test "$no_cache" != 1; then
3413 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3414 fi
3415
3416 if test "$wxUSE_GUI" = yes; then
3417 { echo "$as_me:$LINENO: result: yes" >&5
3418 echo "${ECHO_T}yes" >&6; }
3419 else
3420 { echo "$as_me:$LINENO: result: no" >&5
3421 echo "${ECHO_T}no" >&6; }
3422 fi
3423
3424
3425 enablestring=
3426 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3427 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3428 no_cache=0
3429 # Check whether --enable-monolithic was given.
3430 if test "${enable_monolithic+set}" = set; then
3431 enableval=$enable_monolithic;
3432 if test "$enableval" = yes; then
3433 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3434 else
3435 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3436 fi
3437
3438 else
3439
3440 LINE=`grep "^wxUSE_MONOLITHIC=" ${wx_arg_cache_file}`
3441 if test "x$LINE" != x ; then
3442 eval "DEFAULT_$LINE"
3443 else
3444 no_cache=1
3445 fi
3446
3447 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3448
3449 fi
3450
3451
3452 eval "$ac_cv_use_monolithic"
3453 if test "$no_cache" != 1; then
3454 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3455 fi
3456
3457 if test "$wxUSE_MONOLITHIC" = yes; then
3458 { echo "$as_me:$LINENO: result: yes" >&5
3459 echo "${ECHO_T}yes" >&6; }
3460 else
3461 { echo "$as_me:$LINENO: result: no" >&5
3462 echo "${ECHO_T}no" >&6; }
3463 fi
3464
3465
3466 enablestring=
3467 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3468 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3469 no_cache=0
3470 # Check whether --enable-plugins was given.
3471 if test "${enable_plugins+set}" = set; then
3472 enableval=$enable_plugins;
3473 if test "$enableval" = yes; then
3474 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3475 else
3476 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3477 fi
3478
3479 else
3480
3481 LINE=`grep "^wxUSE_PLUGINS=" ${wx_arg_cache_file}`
3482 if test "x$LINE" != x ; then
3483 eval "DEFAULT_$LINE"
3484 else
3485 no_cache=1
3486 fi
3487
3488 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3489
3490 fi
3491
3492
3493 eval "$ac_cv_use_plugins"
3494 if test "$no_cache" != 1; then
3495 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3496 fi
3497
3498 if test "$wxUSE_PLUGINS" = yes; then
3499 { echo "$as_me:$LINENO: result: yes" >&5
3500 echo "${ECHO_T}yes" >&6; }
3501 else
3502 { echo "$as_me:$LINENO: result: no" >&5
3503 echo "${ECHO_T}no" >&6; }
3504 fi
3505
3506
3507 withstring=without
3508 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3509 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3510 no_cache=0
3511
3512 # Check whether --with-subdirs was given.
3513 if test "${with_subdirs+set}" = set; then
3514 withval=$with_subdirs;
3515 if test "$withval" = yes; then
3516 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3517 else
3518 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3519 fi
3520
3521 else
3522
3523 LINE=`grep "^wxWITH_SUBDIRS=" ${wx_arg_cache_file}`
3524 if test "x$LINE" != x ; then
3525 eval "DEFAULT_$LINE"
3526 else
3527 no_cache=1
3528 fi
3529
3530 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3531
3532 fi
3533
3534
3535 eval "$ac_cv_use_subdirs"
3536 if test "$no_cache" != 1; then
3537 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3538 fi
3539
3540 if test "$wxWITH_SUBDIRS" = yes; then
3541 { echo "$as_me:$LINENO: result: yes" >&5
3542 echo "${ECHO_T}yes" >&6; }
3543 else
3544 { echo "$as_me:$LINENO: result: no" >&5
3545 echo "${ECHO_T}no" >&6; }
3546 fi
3547
3548
3549 if test "$wxUSE_GUI" = "yes"; then
3550
3551
3552 enablestring=
3553 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3554 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3555 no_cache=0
3556 # Check whether --enable-universal was given.
3557 if test "${enable_universal+set}" = set; then
3558 enableval=$enable_universal;
3559 if test "$enableval" = yes; then
3560 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3561 else
3562 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3563 fi
3564
3565 else
3566
3567 LINE=`grep "^wxUSE_UNIVERSAL=" ${wx_arg_cache_file}`
3568 if test "x$LINE" != x ; then
3569 eval "DEFAULT_$LINE"
3570 else
3571 no_cache=1
3572 fi
3573
3574 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3575
3576 fi
3577
3578
3579 eval "$ac_cv_use_universal"
3580 if test "$no_cache" != 1; then
3581 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3582 fi
3583
3584 if test "$wxUSE_UNIVERSAL" = yes; then
3585 { echo "$as_me:$LINENO: result: yes" >&5
3586 echo "${ECHO_T}yes" >&6; }
3587 else
3588 { echo "$as_me:$LINENO: result: no" >&5
3589 echo "${ECHO_T}no" >&6; }
3590 fi
3591
3592
3593 # Check whether --with-gtk was given.
3594 if test "${with_gtk+set}" = set; then
3595 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3596 fi
3597
3598
3599 # Check whether --with-motif was given.
3600 if test "${with_motif+set}" = set; then
3601 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3602 fi
3603
3604
3605 # Check whether --with-mac was given.
3606 if test "${with_mac+set}" = set; then
3607 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3608 fi
3609
3610
3611 # Check whether --with-cocoa was given.
3612 if test "${with_cocoa+set}" = set; then
3613 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3614 fi
3615
3616
3617 # Check whether --with-wine was given.
3618 if test "${with_wine+set}" = set; then
3619 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3620 fi
3621
3622
3623 # Check whether --with-msw was given.
3624 if test "${with_msw+set}" = set; then
3625 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3626 fi
3627
3628
3629 # Check whether --with-pm was given.
3630 if test "${with_pm+set}" = set; then
3631 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3632 fi
3633
3634
3635 # Check whether --with-mgl was given.
3636 if test "${with_mgl+set}" = set; then
3637 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3638 fi
3639
3640
3641 # Check whether --with-directfb was given.
3642 if test "${with_directfb+set}" = set; then
3643 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3644 fi
3645
3646
3647 # Check whether --with-microwin was given.
3648 if test "${with_microwin+set}" = set; then
3649 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3650 fi
3651
3652
3653 # Check whether --with-x11 was given.
3654 if test "${with_x11+set}" = set; then
3655 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3656 fi
3657
3658
3659 enablestring=
3660 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3661 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3662 no_cache=0
3663 # Check whether --enable-nanox was given.
3664 if test "${enable_nanox+set}" = set; then
3665 enableval=$enable_nanox;
3666 if test "$enableval" = yes; then
3667 ac_cv_use_nanox='wxUSE_NANOX=yes'
3668 else
3669 ac_cv_use_nanox='wxUSE_NANOX=no'
3670 fi
3671
3672 else
3673
3674 LINE=`grep "^wxUSE_NANOX=" ${wx_arg_cache_file}`
3675 if test "x$LINE" != x ; then
3676 eval "DEFAULT_$LINE"
3677 else
3678 no_cache=1
3679 fi
3680
3681 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3682
3683 fi
3684
3685
3686 eval "$ac_cv_use_nanox"
3687 if test "$no_cache" != 1; then
3688 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3689 fi
3690
3691 if test "$wxUSE_NANOX" = yes; then
3692 { echo "$as_me:$LINENO: result: yes" >&5
3693 echo "${ECHO_T}yes" >&6; }
3694 else
3695 { echo "$as_me:$LINENO: result: no" >&5
3696 echo "${ECHO_T}no" >&6; }
3697 fi
3698
3699
3700 # Check whether --enable-gtk2 was given.
3701 if test "${enable_gtk2+set}" = set; then
3702 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3703 fi
3704
3705
3706 enablestring=
3707 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3708 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3709 no_cache=0
3710 # Check whether --enable-gpe was given.
3711 if test "${enable_gpe+set}" = set; then
3712 enableval=$enable_gpe;
3713 if test "$enableval" = yes; then
3714 ac_cv_use_gpe='wxUSE_GPE=yes'
3715 else
3716 ac_cv_use_gpe='wxUSE_GPE=no'
3717 fi
3718
3719 else
3720
3721 LINE=`grep "^wxUSE_GPE=" ${wx_arg_cache_file}`
3722 if test "x$LINE" != x ; then
3723 eval "DEFAULT_$LINE"
3724 else
3725 no_cache=1
3726 fi
3727
3728 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3729
3730 fi
3731
3732
3733 eval "$ac_cv_use_gpe"
3734 if test "$no_cache" != 1; then
3735 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3736 fi
3737
3738 if test "$wxUSE_GPE" = yes; then
3739 { echo "$as_me:$LINENO: result: yes" >&5
3740 echo "${ECHO_T}yes" >&6; }
3741 else
3742 { echo "$as_me:$LINENO: result: no" >&5
3743 echo "${ECHO_T}no" >&6; }
3744 fi
3745
3746
3747
3748 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3749 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3750 no_cache=0
3751
3752 # Check whether --with-libpng was given.
3753 if test "${with_libpng+set}" = set; then
3754 withval=$with_libpng;
3755 if test "$withval" = yes; then
3756 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3757 elif test "$withval" = no; then
3758 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3759 elif test "$withval" = sys; then
3760 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3761 elif test "$withval" = builtin; then
3762 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3763 else
3764 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3765 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3766 { (exit 1); exit 1; }; }
3767 fi
3768
3769 else
3770
3771 LINE=`grep "^wxUSE_LIBPNG=" ${wx_arg_cache_file}`
3772 if test "x$LINE" != x ; then
3773 eval "DEFAULT_$LINE"
3774 else
3775 no_cache=1
3776 fi
3777
3778 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3779
3780 fi
3781
3782
3783 eval "$ac_cv_use_libpng"
3784 if test "$no_cache" != 1; then
3785 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3786 fi
3787
3788 if test "$wxUSE_LIBPNG" = yes; then
3789 { echo "$as_me:$LINENO: result: yes" >&5
3790 echo "${ECHO_T}yes" >&6; }
3791 elif test "$wxUSE_LIBPNG" = no; then
3792 { echo "$as_me:$LINENO: result: no" >&5
3793 echo "${ECHO_T}no" >&6; }
3794 elif test "$wxUSE_LIBPNG" = sys; then
3795 { echo "$as_me:$LINENO: result: system version" >&5
3796 echo "${ECHO_T}system version" >&6; }
3797 elif test "$wxUSE_LIBPNG" = builtin; then
3798 { echo "$as_me:$LINENO: result: builtin version" >&5
3799 echo "${ECHO_T}builtin version" >&6; }
3800 else
3801 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3802 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3803 { (exit 1); exit 1; }; }
3804 fi
3805
3806
3807 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3808 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3809 no_cache=0
3810
3811 # Check whether --with-libjpeg was given.
3812 if test "${with_libjpeg+set}" = set; then
3813 withval=$with_libjpeg;
3814 if test "$withval" = yes; then
3815 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3816 elif test "$withval" = no; then
3817 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3818 elif test "$withval" = sys; then
3819 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3820 elif test "$withval" = builtin; then
3821 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3822 else
3823 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3824 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3825 { (exit 1); exit 1; }; }
3826 fi
3827
3828 else
3829
3830 LINE=`grep "^wxUSE_LIBJPEG=" ${wx_arg_cache_file}`
3831 if test "x$LINE" != x ; then
3832 eval "DEFAULT_$LINE"
3833 else
3834 no_cache=1
3835 fi
3836
3837 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3838
3839 fi
3840
3841
3842 eval "$ac_cv_use_libjpeg"
3843 if test "$no_cache" != 1; then
3844 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3845 fi
3846
3847 if test "$wxUSE_LIBJPEG" = yes; then
3848 { echo "$as_me:$LINENO: result: yes" >&5
3849 echo "${ECHO_T}yes" >&6; }
3850 elif test "$wxUSE_LIBJPEG" = no; then
3851 { echo "$as_me:$LINENO: result: no" >&5
3852 echo "${ECHO_T}no" >&6; }
3853 elif test "$wxUSE_LIBJPEG" = sys; then
3854 { echo "$as_me:$LINENO: result: system version" >&5
3855 echo "${ECHO_T}system version" >&6; }
3856 elif test "$wxUSE_LIBJPEG" = builtin; then
3857 { echo "$as_me:$LINENO: result: builtin version" >&5
3858 echo "${ECHO_T}builtin version" >&6; }
3859 else
3860 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3861 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3862 { (exit 1); exit 1; }; }
3863 fi
3864
3865
3866 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3867 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3868 no_cache=0
3869
3870 # Check whether --with-libtiff was given.
3871 if test "${with_libtiff+set}" = set; then
3872 withval=$with_libtiff;
3873 if test "$withval" = yes; then
3874 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3875 elif test "$withval" = no; then
3876 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3877 elif test "$withval" = sys; then
3878 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3879 elif test "$withval" = builtin; then
3880 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3881 else
3882 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3883 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3884 { (exit 1); exit 1; }; }
3885 fi
3886
3887 else
3888
3889 LINE=`grep "^wxUSE_LIBTIFF=" ${wx_arg_cache_file}`
3890 if test "x$LINE" != x ; then
3891 eval "DEFAULT_$LINE"
3892 else
3893 no_cache=1
3894 fi
3895
3896 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3897
3898 fi
3899
3900
3901 eval "$ac_cv_use_libtiff"
3902 if test "$no_cache" != 1; then
3903 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3904 fi
3905
3906 if test "$wxUSE_LIBTIFF" = yes; then
3907 { echo "$as_me:$LINENO: result: yes" >&5
3908 echo "${ECHO_T}yes" >&6; }
3909 elif test "$wxUSE_LIBTIFF" = no; then
3910 { echo "$as_me:$LINENO: result: no" >&5
3911 echo "${ECHO_T}no" >&6; }
3912 elif test "$wxUSE_LIBTIFF" = sys; then
3913 { echo "$as_me:$LINENO: result: system version" >&5
3914 echo "${ECHO_T}system version" >&6; }
3915 elif test "$wxUSE_LIBTIFF" = builtin; then
3916 { echo "$as_me:$LINENO: result: builtin version" >&5
3917 echo "${ECHO_T}builtin version" >&6; }
3918 else
3919 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3920 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3921 { (exit 1); exit 1; }; }
3922 fi
3923
3924
3925 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3926 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3927 no_cache=0
3928
3929 # Check whether --with-libxpm was given.
3930 if test "${with_libxpm+set}" = set; then
3931 withval=$with_libxpm;
3932 if test "$withval" = yes; then
3933 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3934 elif test "$withval" = no; then
3935 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3936 elif test "$withval" = sys; then
3937 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3938 elif test "$withval" = builtin; then
3939 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3940 else
3941 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3942 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3943 { (exit 1); exit 1; }; }
3944 fi
3945
3946 else
3947
3948 LINE=`grep "^wxUSE_LIBXPM=" ${wx_arg_cache_file}`
3949 if test "x$LINE" != x ; then
3950 eval "DEFAULT_$LINE"
3951 else
3952 no_cache=1
3953 fi
3954
3955 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3956
3957 fi
3958
3959
3960 eval "$ac_cv_use_libxpm"
3961 if test "$no_cache" != 1; then
3962 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3963 fi
3964
3965 if test "$wxUSE_LIBXPM" = yes; then
3966 { echo "$as_me:$LINENO: result: yes" >&5
3967 echo "${ECHO_T}yes" >&6; }
3968 elif test "$wxUSE_LIBXPM" = no; then
3969 { echo "$as_me:$LINENO: result: no" >&5
3970 echo "${ECHO_T}no" >&6; }
3971 elif test "$wxUSE_LIBXPM" = sys; then
3972 { echo "$as_me:$LINENO: result: system version" >&5
3973 echo "${ECHO_T}system version" >&6; }
3974 elif test "$wxUSE_LIBXPM" = builtin; then
3975 { echo "$as_me:$LINENO: result: builtin version" >&5
3976 echo "${ECHO_T}builtin version" >&6; }
3977 else
3978 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3979 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3980 { (exit 1); exit 1; }; }
3981 fi
3982
3983
3984 withstring=
3985 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3986 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3987 no_cache=0
3988
3989 # Check whether --with-libmspack was given.
3990 if test "${with_libmspack+set}" = set; then
3991 withval=$with_libmspack;
3992 if test "$withval" = yes; then
3993 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3994 else
3995 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3996 fi
3997
3998 else
3999
4000 LINE=`grep "^wxUSE_LIBMSPACK=" ${wx_arg_cache_file}`
4001 if test "x$LINE" != x ; then
4002 eval "DEFAULT_$LINE"
4003 else
4004 no_cache=1
4005 fi
4006
4007 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
4008
4009 fi
4010
4011
4012 eval "$ac_cv_use_libmspack"
4013 if test "$no_cache" != 1; then
4014 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4015 fi
4016
4017 if test "$wxUSE_LIBMSPACK" = yes; then
4018 { echo "$as_me:$LINENO: result: yes" >&5
4019 echo "${ECHO_T}yes" >&6; }
4020 else
4021 { echo "$as_me:$LINENO: result: no" >&5
4022 echo "${ECHO_T}no" >&6; }
4023 fi
4024
4025
4026 withstring=
4027 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4028 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4029 no_cache=0
4030
4031 # Check whether --with-sdl was given.
4032 if test "${with_sdl+set}" = set; then
4033 withval=$with_sdl;
4034 if test "$withval" = yes; then
4035 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4036 else
4037 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4038 fi
4039
4040 else
4041
4042 LINE=`grep "^wxUSE_LIBSDL=" ${wx_arg_cache_file}`
4043 if test "x$LINE" != x ; then
4044 eval "DEFAULT_$LINE"
4045 else
4046 no_cache=1
4047 fi
4048
4049 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4050
4051 fi
4052
4053
4054 eval "$ac_cv_use_sdl"
4055 if test "$no_cache" != 1; then
4056 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4057 fi
4058
4059 if test "$wxUSE_LIBSDL" = yes; then
4060 { echo "$as_me:$LINENO: result: yes" >&5
4061 echo "${ECHO_T}yes" >&6; }
4062 else
4063 { echo "$as_me:$LINENO: result: no" >&5
4064 echo "${ECHO_T}no" >&6; }
4065 fi
4066
4067
4068 withstring=
4069 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4070 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4071 no_cache=0
4072
4073 # Check whether --with-gnomeprint was given.
4074 if test "${with_gnomeprint+set}" = set; then
4075 withval=$with_gnomeprint;
4076 if test "$withval" = yes; then
4077 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4078 else
4079 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4080 fi
4081
4082 else
4083
4084 LINE=`grep "^wxUSE_LIBGNOMEPRINT=" ${wx_arg_cache_file}`
4085 if test "x$LINE" != x ; then
4086 eval "DEFAULT_$LINE"
4087 else
4088 no_cache=1
4089 fi
4090
4091 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4092
4093 fi
4094
4095
4096 eval "$ac_cv_use_gnomeprint"
4097 if test "$no_cache" != 1; then
4098 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4099 fi
4100
4101 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4102 { echo "$as_me:$LINENO: result: yes" >&5
4103 echo "${ECHO_T}yes" >&6; }
4104 else
4105 { echo "$as_me:$LINENO: result: no" >&5
4106 echo "${ECHO_T}no" >&6; }
4107 fi
4108
4109
4110 withstring=
4111 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4112 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4113 no_cache=0
4114
4115 # Check whether --with-gnomevfs was given.
4116 if test "${with_gnomevfs+set}" = set; then
4117 withval=$with_gnomevfs;
4118 if test "$withval" = yes; then
4119 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4120 else
4121 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4122 fi
4123
4124 else
4125
4126 LINE=`grep "^wxUSE_LIBGNOMEVFS=" ${wx_arg_cache_file}`
4127 if test "x$LINE" != x ; then
4128 eval "DEFAULT_$LINE"
4129 else
4130 no_cache=1
4131 fi
4132
4133 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4134
4135 fi
4136
4137
4138 eval "$ac_cv_use_gnomevfs"
4139 if test "$no_cache" != 1; then
4140 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4141 fi
4142
4143 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4144 { echo "$as_me:$LINENO: result: yes" >&5
4145 echo "${ECHO_T}yes" >&6; }
4146 else
4147 { echo "$as_me:$LINENO: result: no" >&5
4148 echo "${ECHO_T}no" >&6; }
4149 fi
4150
4151
4152 withstring=
4153 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4154 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4155 no_cache=0
4156
4157 # Check whether --with-hildon was given.
4158 if test "${with_hildon+set}" = set; then
4159 withval=$with_hildon;
4160 if test "$withval" = yes; then
4161 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4162 else
4163 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4164 fi
4165
4166 else
4167
4168 LINE=`grep "^wxUSE_LIBHILDON=" ${wx_arg_cache_file}`
4169 if test "x$LINE" != x ; then
4170 eval "DEFAULT_$LINE"
4171 else
4172 no_cache=1
4173 fi
4174
4175 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4176
4177 fi
4178
4179
4180 eval "$ac_cv_use_hildon"
4181 if test "$no_cache" != 1; then
4182 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4183 fi
4184
4185 if test "$wxUSE_LIBHILDON" = yes; then
4186 { echo "$as_me:$LINENO: result: yes" >&5
4187 echo "${ECHO_T}yes" >&6; }
4188 else
4189 { echo "$as_me:$LINENO: result: no" >&5
4190 echo "${ECHO_T}no" >&6; }
4191 fi
4192
4193
4194 withstring=
4195 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4196 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4197 no_cache=0
4198
4199 # Check whether --with-opengl was given.
4200 if test "${with_opengl+set}" = set; then
4201 withval=$with_opengl;
4202 if test "$withval" = yes; then
4203 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4204 else
4205 ac_cv_use_opengl='wxUSE_OPENGL=no'
4206 fi
4207
4208 else
4209
4210 LINE=`grep "^wxUSE_OPENGL=" ${wx_arg_cache_file}`
4211 if test "x$LINE" != x ; then
4212 eval "DEFAULT_$LINE"
4213 else
4214 no_cache=1
4215 fi
4216
4217 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4218
4219 fi
4220
4221
4222 eval "$ac_cv_use_opengl"
4223 if test "$no_cache" != 1; then
4224 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4225 fi
4226
4227 if test "$wxUSE_OPENGL" = yes; then
4228 { echo "$as_me:$LINENO: result: yes" >&5
4229 echo "${ECHO_T}yes" >&6; }
4230 else
4231 { echo "$as_me:$LINENO: result: no" >&5
4232 echo "${ECHO_T}no" >&6; }
4233 fi
4234
4235
4236 if test "$wxUSE_UNIVERSAL" = "yes"; then
4237
4238 # Check whether --with-themes was given.
4239 if test "${with_themes+set}" = set; then
4240 withval=$with_themes; wxUNIV_THEMES="$withval"
4241 fi
4242
4243 fi
4244
4245 fi
4246
4247
4248 withstring=
4249 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4250 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4251 no_cache=0
4252
4253 # Check whether --with-dmalloc was given.
4254 if test "${with_dmalloc+set}" = set; then
4255 withval=$with_dmalloc;
4256 if test "$withval" = yes; then
4257 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4258 else
4259 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4260 fi
4261
4262 else
4263
4264 LINE=`grep "^wxUSE_DMALLOC=" ${wx_arg_cache_file}`
4265 if test "x$LINE" != x ; then
4266 eval "DEFAULT_$LINE"
4267 else
4268 no_cache=1
4269 fi
4270
4271 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4272
4273 fi
4274
4275
4276 eval "$ac_cv_use_dmalloc"
4277 if test "$no_cache" != 1; then
4278 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4279 fi
4280
4281 if test "$wxUSE_DMALLOC" = yes; then
4282 { echo "$as_me:$LINENO: result: yes" >&5
4283 echo "${ECHO_T}yes" >&6; }
4284 else
4285 { echo "$as_me:$LINENO: result: no" >&5
4286 echo "${ECHO_T}no" >&6; }
4287 fi
4288
4289
4290 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4291 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4292 no_cache=0
4293
4294 # Check whether --with-regex was given.
4295 if test "${with_regex+set}" = set; then
4296 withval=$with_regex;
4297 if test "$withval" = yes; then
4298 ac_cv_use_regex='wxUSE_REGEX=yes'
4299 elif test "$withval" = no; then
4300 ac_cv_use_regex='wxUSE_REGEX=no'
4301 elif test "$withval" = sys; then
4302 ac_cv_use_regex='wxUSE_REGEX=sys'
4303 elif test "$withval" = builtin; then
4304 ac_cv_use_regex='wxUSE_REGEX=builtin'
4305 else
4306 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4307 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4308 { (exit 1); exit 1; }; }
4309 fi
4310
4311 else
4312
4313 LINE=`grep "^wxUSE_REGEX=" ${wx_arg_cache_file}`
4314 if test "x$LINE" != x ; then
4315 eval "DEFAULT_$LINE"
4316 else
4317 no_cache=1
4318 fi
4319
4320 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4321
4322 fi
4323
4324
4325 eval "$ac_cv_use_regex"
4326 if test "$no_cache" != 1; then
4327 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4328 fi
4329
4330 if test "$wxUSE_REGEX" = yes; then
4331 { echo "$as_me:$LINENO: result: yes" >&5
4332 echo "${ECHO_T}yes" >&6; }
4333 elif test "$wxUSE_REGEX" = no; then
4334 { echo "$as_me:$LINENO: result: no" >&5
4335 echo "${ECHO_T}no" >&6; }
4336 elif test "$wxUSE_REGEX" = sys; then
4337 { echo "$as_me:$LINENO: result: system version" >&5
4338 echo "${ECHO_T}system version" >&6; }
4339 elif test "$wxUSE_REGEX" = builtin; then
4340 { echo "$as_me:$LINENO: result: builtin version" >&5
4341 echo "${ECHO_T}builtin version" >&6; }
4342 else
4343 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4344 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4345 { (exit 1); exit 1; }; }
4346 fi
4347
4348
4349 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4350 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4351 no_cache=0
4352
4353 # Check whether --with-zlib was given.
4354 if test "${with_zlib+set}" = set; then
4355 withval=$with_zlib;
4356 if test "$withval" = yes; then
4357 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4358 elif test "$withval" = no; then
4359 ac_cv_use_zlib='wxUSE_ZLIB=no'
4360 elif test "$withval" = sys; then
4361 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4362 elif test "$withval" = builtin; then
4363 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4364 else
4365 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4366 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4367 { (exit 1); exit 1; }; }
4368 fi
4369
4370 else
4371
4372 LINE=`grep "^wxUSE_ZLIB=" ${wx_arg_cache_file}`
4373 if test "x$LINE" != x ; then
4374 eval "DEFAULT_$LINE"
4375 else
4376 no_cache=1
4377 fi
4378
4379 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4380
4381 fi
4382
4383
4384 eval "$ac_cv_use_zlib"
4385 if test "$no_cache" != 1; then
4386 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4387 fi
4388
4389 if test "$wxUSE_ZLIB" = yes; then
4390 { echo "$as_me:$LINENO: result: yes" >&5
4391 echo "${ECHO_T}yes" >&6; }
4392 elif test "$wxUSE_ZLIB" = no; then
4393 { echo "$as_me:$LINENO: result: no" >&5
4394 echo "${ECHO_T}no" >&6; }
4395 elif test "$wxUSE_ZLIB" = sys; then
4396 { echo "$as_me:$LINENO: result: system version" >&5
4397 echo "${ECHO_T}system version" >&6; }
4398 elif test "$wxUSE_ZLIB" = builtin; then
4399 { echo "$as_me:$LINENO: result: builtin version" >&5
4400 echo "${ECHO_T}builtin version" >&6; }
4401 else
4402 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4403 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4404 { (exit 1); exit 1; }; }
4405 fi
4406
4407
4408 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4409 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4410 no_cache=0
4411
4412 # Check whether --with-odbc was given.
4413 if test "${with_odbc+set}" = set; then
4414 withval=$with_odbc;
4415 if test "$withval" = yes; then
4416 ac_cv_use_odbc='wxUSE_ODBC=yes'
4417 elif test "$withval" = no; then
4418 ac_cv_use_odbc='wxUSE_ODBC=no'
4419 elif test "$withval" = sys; then
4420 ac_cv_use_odbc='wxUSE_ODBC=sys'
4421 elif test "$withval" = builtin; then
4422 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4423 else
4424 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4425 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4426 { (exit 1); exit 1; }; }
4427 fi
4428
4429 else
4430
4431 LINE=`grep "^wxUSE_ODBC=" ${wx_arg_cache_file}`
4432 if test "x$LINE" != x ; then
4433 eval "DEFAULT_$LINE"
4434 else
4435 no_cache=1
4436 fi
4437
4438 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4439
4440 fi
4441
4442
4443 eval "$ac_cv_use_odbc"
4444 if test "$no_cache" != 1; then
4445 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4446 fi
4447
4448 if test "$wxUSE_ODBC" = yes; then
4449 { echo "$as_me:$LINENO: result: yes" >&5
4450 echo "${ECHO_T}yes" >&6; }
4451 elif test "$wxUSE_ODBC" = no; then
4452 { echo "$as_me:$LINENO: result: no" >&5
4453 echo "${ECHO_T}no" >&6; }
4454 elif test "$wxUSE_ODBC" = sys; then
4455 { echo "$as_me:$LINENO: result: system version" >&5
4456 echo "${ECHO_T}system version" >&6; }
4457 elif test "$wxUSE_ODBC" = builtin; then
4458 { echo "$as_me:$LINENO: result: builtin version" >&5
4459 echo "${ECHO_T}builtin version" >&6; }
4460 else
4461 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4462 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4463 { (exit 1); exit 1; }; }
4464 fi
4465
4466
4467 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4468 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4469 no_cache=0
4470
4471 # Check whether --with-expat was given.
4472 if test "${with_expat+set}" = set; then
4473 withval=$with_expat;
4474 if test "$withval" = yes; then
4475 ac_cv_use_expat='wxUSE_EXPAT=yes'
4476 elif test "$withval" = no; then
4477 ac_cv_use_expat='wxUSE_EXPAT=no'
4478 elif test "$withval" = sys; then
4479 ac_cv_use_expat='wxUSE_EXPAT=sys'
4480 elif test "$withval" = builtin; then
4481 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4482 else
4483 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4484 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4485 { (exit 1); exit 1; }; }
4486 fi
4487
4488 else
4489
4490 LINE=`grep "^wxUSE_EXPAT=" ${wx_arg_cache_file}`
4491 if test "x$LINE" != x ; then
4492 eval "DEFAULT_$LINE"
4493 else
4494 no_cache=1
4495 fi
4496
4497 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4498
4499 fi
4500
4501
4502 eval "$ac_cv_use_expat"
4503 if test "$no_cache" != 1; then
4504 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4505 fi
4506
4507 if test "$wxUSE_EXPAT" = yes; then
4508 { echo "$as_me:$LINENO: result: yes" >&5
4509 echo "${ECHO_T}yes" >&6; }
4510 elif test "$wxUSE_EXPAT" = no; then
4511 { echo "$as_me:$LINENO: result: no" >&5
4512 echo "${ECHO_T}no" >&6; }
4513 elif test "$wxUSE_EXPAT" = sys; then
4514 { echo "$as_me:$LINENO: result: system version" >&5
4515 echo "${ECHO_T}system version" >&6; }
4516 elif test "$wxUSE_EXPAT" = builtin; then
4517 { echo "$as_me:$LINENO: result: builtin version" >&5
4518 echo "${ECHO_T}builtin version" >&6; }
4519 else
4520 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4521 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4522 { (exit 1); exit 1; }; }
4523 fi
4524
4525
4526
4527
4528 enablestring=
4529 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4530 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4531 no_cache=0
4532 # Check whether --enable-shared was given.
4533 if test "${enable_shared+set}" = set; then
4534 enableval=$enable_shared;
4535 if test "$enableval" = yes; then
4536 ac_cv_use_shared='wxUSE_SHARED=yes'
4537 else
4538 ac_cv_use_shared='wxUSE_SHARED=no'
4539 fi
4540
4541 else
4542
4543 LINE=`grep "^wxUSE_SHARED=" ${wx_arg_cache_file}`
4544 if test "x$LINE" != x ; then
4545 eval "DEFAULT_$LINE"
4546 else
4547 no_cache=1
4548 fi
4549
4550 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4551
4552 fi
4553
4554
4555 eval "$ac_cv_use_shared"
4556 if test "$no_cache" != 1; then
4557 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4558 fi
4559
4560 if test "$wxUSE_SHARED" = yes; then
4561 { echo "$as_me:$LINENO: result: yes" >&5
4562 echo "${ECHO_T}yes" >&6; }
4563 else
4564 { echo "$as_me:$LINENO: result: no" >&5
4565 echo "${ECHO_T}no" >&6; }
4566 fi
4567
4568
4569 enablestring=
4570 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4571 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4572 no_cache=0
4573 # Check whether --enable-optimise was given.
4574 if test "${enable_optimise+set}" = set; then
4575 enableval=$enable_optimise;
4576 if test "$enableval" = yes; then
4577 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4578 else
4579 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4580 fi
4581
4582 else
4583
4584 LINE=`grep "^wxUSE_OPTIMISE=" ${wx_arg_cache_file}`
4585 if test "x$LINE" != x ; then
4586 eval "DEFAULT_$LINE"
4587 else
4588 no_cache=1
4589 fi
4590
4591 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4592
4593 fi
4594
4595
4596 eval "$ac_cv_use_optimise"
4597 if test "$no_cache" != 1; then
4598 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4599 fi
4600
4601 if test "$wxUSE_OPTIMISE" = yes; then
4602 { echo "$as_me:$LINENO: result: yes" >&5
4603 echo "${ECHO_T}yes" >&6; }
4604 else
4605 { echo "$as_me:$LINENO: result: no" >&5
4606 echo "${ECHO_T}no" >&6; }
4607 fi
4608
4609
4610 enablestring=
4611 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4612 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4613 no_cache=0
4614 # Check whether --enable-debug was given.
4615 if test "${enable_debug+set}" = set; then
4616 enableval=$enable_debug;
4617 if test "$enableval" = yes; then
4618 ac_cv_use_debug='wxUSE_DEBUG=yes'
4619 else
4620 ac_cv_use_debug='wxUSE_DEBUG=no'
4621 fi
4622
4623 else
4624
4625 LINE=`grep "^wxUSE_DEBUG=" ${wx_arg_cache_file}`
4626 if test "x$LINE" != x ; then
4627 eval "DEFAULT_$LINE"
4628 else
4629 no_cache=1
4630 fi
4631
4632 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4633
4634 fi
4635
4636
4637 eval "$ac_cv_use_debug"
4638 if test "$no_cache" != 1; then
4639 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4640 fi
4641
4642 if test "$wxUSE_DEBUG" = yes; then
4643 { echo "$as_me:$LINENO: result: yes" >&5
4644 echo "${ECHO_T}yes" >&6; }
4645 else
4646 { echo "$as_me:$LINENO: result: no" >&5
4647 echo "${ECHO_T}no" >&6; }
4648 fi
4649
4650
4651 enablestring=
4652 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4653 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4654 no_cache=0
4655 # Check whether --enable-stl was given.
4656 if test "${enable_stl+set}" = set; then
4657 enableval=$enable_stl;
4658 if test "$enableval" = yes; then
4659 ac_cv_use_stl='wxUSE_STL=yes'
4660 else
4661 ac_cv_use_stl='wxUSE_STL=no'
4662 fi
4663
4664 else
4665
4666 LINE=`grep "^wxUSE_STL=" ${wx_arg_cache_file}`
4667 if test "x$LINE" != x ; then
4668 eval "DEFAULT_$LINE"
4669 else
4670 no_cache=1
4671 fi
4672
4673 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4674
4675 fi
4676
4677
4678 eval "$ac_cv_use_stl"
4679 if test "$no_cache" != 1; then
4680 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4681 fi
4682
4683 if test "$wxUSE_STL" = yes; then
4684 { echo "$as_me:$LINENO: result: yes" >&5
4685 echo "${ECHO_T}yes" >&6; }
4686 else
4687 { echo "$as_me:$LINENO: result: no" >&5
4688 echo "${ECHO_T}no" >&6; }
4689 fi
4690
4691
4692 enablestring=
4693 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-extended_rtti" >&5
4694 echo $ECHO_N "checking for --${enablestring:-enable}-extended_rtti... $ECHO_C" >&6; }
4695 no_cache=0
4696 # Check whether --enable-extended_rtti was given.
4697 if test "${enable_extended_rtti+set}" = set; then
4698 enableval=$enable_extended_rtti;
4699 if test "$enableval" = yes; then
4700 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=yes'
4701 else
4702 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI=no'
4703 fi
4704
4705 else
4706
4707 LINE=`grep "^wxUSE_EXTENDED_RTTI=" ${wx_arg_cache_file}`
4708 if test "x$LINE" != x ; then
4709 eval "DEFAULT_$LINE"
4710 else
4711 no_cache=1
4712 fi
4713
4714 ac_cv_use_extended_rtti='wxUSE_EXTENDED_RTTI='$DEFAULT_wxUSE_EXTENDED_RTTI
4715
4716 fi
4717
4718
4719 eval "$ac_cv_use_extended_rtti"
4720 if test "$no_cache" != 1; then
4721 echo $ac_cv_use_extended_rtti >> ${wx_arg_cache_file}.tmp
4722 fi
4723
4724 if test "$wxUSE_EXTENDED_RTTI" = yes; then
4725 { echo "$as_me:$LINENO: result: yes" >&5
4726 echo "${ECHO_T}yes" >&6; }
4727 else
4728 { echo "$as_me:$LINENO: result: no" >&5
4729 echo "${ECHO_T}no" >&6; }
4730 fi
4731
4732 if test "$USE_OS2" = "1"; then
4733 DEFAULT_wxUSE_OMF=no
4734
4735 enablestring=
4736 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4737 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4738 no_cache=0
4739 # Check whether --enable-omf was given.
4740 if test "${enable_omf+set}" = set; then
4741 enableval=$enable_omf;
4742 if test "$enableval" = yes; then
4743 ac_cv_use_omf='wxUSE_OMF=yes'
4744 else
4745 ac_cv_use_omf='wxUSE_OMF=no'
4746 fi
4747
4748 else
4749
4750 LINE=`grep "^wxUSE_OMF=" ${wx_arg_cache_file}`
4751 if test "x$LINE" != x ; then
4752 eval "DEFAULT_$LINE"
4753 else
4754 no_cache=1
4755 fi
4756
4757 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4758
4759 fi
4760
4761
4762 eval "$ac_cv_use_omf"
4763 if test "$no_cache" != 1; then
4764 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4765 fi
4766
4767 if test "$wxUSE_OMF" = yes; then
4768 { echo "$as_me:$LINENO: result: yes" >&5
4769 echo "${ECHO_T}yes" >&6; }
4770 else
4771 { echo "$as_me:$LINENO: result: no" >&5
4772 echo "${ECHO_T}no" >&6; }
4773 fi
4774
4775 fi
4776
4777 if test "$wxUSE_DEBUG" = "yes"; then
4778 DEFAULT_wxUSE_DEBUG_FLAG=yes
4779 DEFAULT_wxUSE_DEBUG_INFO=yes
4780 BUILD=debug
4781 elif test "$wxUSE_DEBUG" = "no"; then
4782 DEFAULT_wxUSE_DEBUG_FLAG=no
4783 DEFAULT_wxUSE_DEBUG_INFO=no
4784 BUILD=release
4785 fi
4786
4787
4788 enablestring=
4789 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4790 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4791 no_cache=0
4792 # Check whether --enable-debug_flag was given.
4793 if test "${enable_debug_flag+set}" = set; then
4794 enableval=$enable_debug_flag;
4795 if test "$enableval" = yes; then
4796 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4797 else
4798 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4799 fi
4800
4801 else
4802
4803 LINE=`grep "^wxUSE_DEBUG_FLAG=" ${wx_arg_cache_file}`
4804 if test "x$LINE" != x ; then
4805 eval "DEFAULT_$LINE"
4806 else
4807 no_cache=1
4808 fi
4809
4810 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4811
4812 fi
4813
4814
4815 eval "$ac_cv_use_debug_flag"
4816 if test "$no_cache" != 1; then
4817 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4818 fi
4819
4820 if test "$wxUSE_DEBUG_FLAG" = yes; then
4821 { echo "$as_me:$LINENO: result: yes" >&5
4822 echo "${ECHO_T}yes" >&6; }
4823 else
4824 { echo "$as_me:$LINENO: result: no" >&5
4825 echo "${ECHO_T}no" >&6; }
4826 fi
4827
4828
4829 enablestring=
4830 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4831 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4832 no_cache=0
4833 # Check whether --enable-debug_info was given.
4834 if test "${enable_debug_info+set}" = set; then
4835 enableval=$enable_debug_info;
4836 if test "$enableval" = yes; then
4837 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4838 else
4839 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4840 fi
4841
4842 else
4843
4844 LINE=`grep "^wxUSE_DEBUG_INFO=" ${wx_arg_cache_file}`
4845 if test "x$LINE" != x ; then
4846 eval "DEFAULT_$LINE"
4847 else
4848 no_cache=1
4849 fi
4850
4851 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4852
4853 fi
4854
4855
4856 eval "$ac_cv_use_debug_info"
4857 if test "$no_cache" != 1; then
4858 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4859 fi
4860
4861 if test "$wxUSE_DEBUG_INFO" = yes; then
4862 { echo "$as_me:$LINENO: result: yes" >&5
4863 echo "${ECHO_T}yes" >&6; }
4864 else
4865 { echo "$as_me:$LINENO: result: no" >&5
4866 echo "${ECHO_T}no" >&6; }
4867 fi
4868
4869
4870 enablestring=
4871 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4872 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4873 no_cache=0
4874 # Check whether --enable-debug_gdb was given.
4875 if test "${enable_debug_gdb+set}" = set; then
4876 enableval=$enable_debug_gdb;
4877 if test "$enableval" = yes; then
4878 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4879 else
4880 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4881 fi
4882
4883 else
4884
4885 LINE=`grep "^wxUSE_DEBUG_GDB=" ${wx_arg_cache_file}`
4886 if test "x$LINE" != x ; then
4887 eval "DEFAULT_$LINE"
4888 else
4889 no_cache=1
4890 fi
4891
4892 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4893
4894 fi
4895
4896
4897 eval "$ac_cv_use_debug_gdb"
4898 if test "$no_cache" != 1; then
4899 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4900 fi
4901
4902 if test "$wxUSE_DEBUG_GDB" = yes; then
4903 { echo "$as_me:$LINENO: result: yes" >&5
4904 echo "${ECHO_T}yes" >&6; }
4905 else
4906 { echo "$as_me:$LINENO: result: no" >&5
4907 echo "${ECHO_T}no" >&6; }
4908 fi
4909
4910
4911 enablestring=
4912 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4913 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4914 no_cache=0
4915 # Check whether --enable-debug_cntxt was given.
4916 if test "${enable_debug_cntxt+set}" = set; then
4917 enableval=$enable_debug_cntxt;
4918 if test "$enableval" = yes; then
4919 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4920 else
4921 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4922 fi
4923
4924 else
4925
4926 LINE=`grep "^wxUSE_DEBUG_CONTEXT=" ${wx_arg_cache_file}`
4927 if test "x$LINE" != x ; then
4928 eval "DEFAULT_$LINE"
4929 else
4930 no_cache=1
4931 fi
4932
4933 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4934
4935 fi
4936
4937
4938 eval "$ac_cv_use_debug_cntxt"
4939 if test "$no_cache" != 1; then
4940 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4941 fi
4942
4943 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4944 { echo "$as_me:$LINENO: result: yes" >&5
4945 echo "${ECHO_T}yes" >&6; }
4946 else
4947 { echo "$as_me:$LINENO: result: no" >&5
4948 echo "${ECHO_T}no" >&6; }
4949 fi
4950
4951
4952 enablestring=
4953 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4954 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4955 no_cache=0
4956 # Check whether --enable-mem_tracing was given.
4957 if test "${enable_mem_tracing+set}" = set; then
4958 enableval=$enable_mem_tracing;
4959 if test "$enableval" = yes; then
4960 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4961 else
4962 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4963 fi
4964
4965 else
4966
4967 LINE=`grep "^wxUSE_MEM_TRACING=" ${wx_arg_cache_file}`
4968 if test "x$LINE" != x ; then
4969 eval "DEFAULT_$LINE"
4970 else
4971 no_cache=1
4972 fi
4973
4974 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4975
4976 fi
4977
4978
4979 eval "$ac_cv_use_mem_tracing"
4980 if test "$no_cache" != 1; then
4981 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4982 fi
4983
4984 if test "$wxUSE_MEM_TRACING" = yes; then
4985 { echo "$as_me:$LINENO: result: yes" >&5
4986 echo "${ECHO_T}yes" >&6; }
4987 else
4988 { echo "$as_me:$LINENO: result: no" >&5
4989 echo "${ECHO_T}no" >&6; }
4990 fi
4991
4992
4993 enablestring=
4994 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4995 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4996 no_cache=0
4997 # Check whether --enable-profile was given.
4998 if test "${enable_profile+set}" = set; then
4999 enableval=$enable_profile;
5000 if test "$enableval" = yes; then
5001 ac_cv_use_profile='wxUSE_PROFILE=yes'
5002 else
5003 ac_cv_use_profile='wxUSE_PROFILE=no'
5004 fi
5005
5006 else
5007
5008 LINE=`grep "^wxUSE_PROFILE=" ${wx_arg_cache_file}`
5009 if test "x$LINE" != x ; then
5010 eval "DEFAULT_$LINE"
5011 else
5012 no_cache=1
5013 fi
5014
5015 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
5016
5017 fi
5018
5019
5020 eval "$ac_cv_use_profile"
5021 if test "$no_cache" != 1; then
5022 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
5023 fi
5024
5025 if test "$wxUSE_PROFILE" = yes; then
5026 { echo "$as_me:$LINENO: result: yes" >&5
5027 echo "${ECHO_T}yes" >&6; }
5028 else
5029 { echo "$as_me:$LINENO: result: no" >&5
5030 echo "${ECHO_T}no" >&6; }
5031 fi
5032
5033
5034 enablestring=
5035 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
5036 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
5037 no_cache=0
5038 # Check whether --enable-no_rtti was given.
5039 if test "${enable_no_rtti+set}" = set; then
5040 enableval=$enable_no_rtti;
5041 if test "$enableval" = yes; then
5042 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
5043 else
5044 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
5045 fi
5046
5047 else
5048
5049 LINE=`grep "^wxUSE_NO_RTTI=" ${wx_arg_cache_file}`
5050 if test "x$LINE" != x ; then
5051 eval "DEFAULT_$LINE"
5052 else
5053 no_cache=1
5054 fi
5055
5056 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5057
5058 fi
5059
5060
5061 eval "$ac_cv_use_no_rtti"
5062 if test "$no_cache" != 1; then
5063 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5064 fi
5065
5066 if test "$wxUSE_NO_RTTI" = yes; then
5067 { echo "$as_me:$LINENO: result: yes" >&5
5068 echo "${ECHO_T}yes" >&6; }
5069 else
5070 { echo "$as_me:$LINENO: result: no" >&5
5071 echo "${ECHO_T}no" >&6; }
5072 fi
5073
5074
5075 enablestring=
5076 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5077 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5078 no_cache=0
5079 # Check whether --enable-no_exceptions was given.
5080 if test "${enable_no_exceptions+set}" = set; then
5081 enableval=$enable_no_exceptions;
5082 if test "$enableval" = yes; then
5083 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5084 else
5085 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5086 fi
5087
5088 else
5089
5090 LINE=`grep "^wxUSE_NO_EXCEPTIONS=" ${wx_arg_cache_file}`
5091 if test "x$LINE" != x ; then
5092 eval "DEFAULT_$LINE"
5093 else
5094 no_cache=1
5095 fi
5096
5097 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5098
5099 fi
5100
5101
5102 eval "$ac_cv_use_no_exceptions"
5103 if test "$no_cache" != 1; then
5104 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5105 fi
5106
5107 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5108 { echo "$as_me:$LINENO: result: yes" >&5
5109 echo "${ECHO_T}yes" >&6; }
5110 else
5111 { echo "$as_me:$LINENO: result: no" >&5
5112 echo "${ECHO_T}no" >&6; }
5113 fi
5114
5115
5116 enablestring=
5117 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5118 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5119 no_cache=0
5120 # Check whether --enable-permissive was given.
5121 if test "${enable_permissive+set}" = set; then
5122 enableval=$enable_permissive;
5123 if test "$enableval" = yes; then
5124 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5125 else
5126 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5127 fi
5128
5129 else
5130
5131 LINE=`grep "^wxUSE_PERMISSIVE=" ${wx_arg_cache_file}`
5132 if test "x$LINE" != x ; then
5133 eval "DEFAULT_$LINE"
5134 else
5135 no_cache=1
5136 fi
5137
5138 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5139
5140 fi
5141
5142
5143 eval "$ac_cv_use_permissive"
5144 if test "$no_cache" != 1; then
5145 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5146 fi
5147
5148 if test "$wxUSE_PERMISSIVE" = yes; then
5149 { echo "$as_me:$LINENO: result: yes" >&5
5150 echo "${ECHO_T}yes" >&6; }
5151 else
5152 { echo "$as_me:$LINENO: result: no" >&5
5153 echo "${ECHO_T}no" >&6; }
5154 fi
5155
5156
5157 enablestring=
5158 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5159 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5160 no_cache=0
5161 # Check whether --enable-no_deps was given.
5162 if test "${enable_no_deps+set}" = set; then
5163 enableval=$enable_no_deps;
5164 if test "$enableval" = yes; then
5165 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5166 else
5167 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5168 fi
5169
5170 else
5171
5172 LINE=`grep "^wxUSE_NO_DEPS=" ${wx_arg_cache_file}`
5173 if test "x$LINE" != x ; then
5174 eval "DEFAULT_$LINE"
5175 else
5176 no_cache=1
5177 fi
5178
5179 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5180
5181 fi
5182
5183
5184 eval "$ac_cv_use_no_deps"
5185 if test "$no_cache" != 1; then
5186 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5187 fi
5188
5189 if test "$wxUSE_NO_DEPS" = yes; then
5190 { echo "$as_me:$LINENO: result: yes" >&5
5191 echo "${ECHO_T}yes" >&6; }
5192 else
5193 { echo "$as_me:$LINENO: result: no" >&5
5194 echo "${ECHO_T}no" >&6; }
5195 fi
5196
5197
5198 enablestring=
5199 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5200 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5201 no_cache=0
5202 # Check whether --enable-vararg_macros was given.
5203 if test "${enable_vararg_macros+set}" = set; then
5204 enableval=$enable_vararg_macros;
5205 if test "$enableval" = yes; then
5206 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5207 else
5208 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5209 fi
5210
5211 else
5212
5213 LINE=`grep "^wxUSE_VARARG_MACROS=" ${wx_arg_cache_file}`
5214 if test "x$LINE" != x ; then
5215 eval "DEFAULT_$LINE"
5216 else
5217 no_cache=1
5218 fi
5219
5220 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5221
5222 fi
5223
5224
5225 eval "$ac_cv_use_vararg_macros"
5226 if test "$no_cache" != 1; then
5227 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5228 fi
5229
5230 if test "$wxUSE_VARARG_MACROS" = yes; then
5231 { echo "$as_me:$LINENO: result: yes" >&5
5232 echo "${ECHO_T}yes" >&6; }
5233 else
5234 { echo "$as_me:$LINENO: result: no" >&5
5235 echo "${ECHO_T}no" >&6; }
5236 fi
5237
5238
5239 enablestring=
5240 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5241 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5242 no_cache=0
5243 # Check whether --enable-universal_binary was given.
5244 if test "${enable_universal_binary+set}" = set; then
5245 enableval=$enable_universal_binary;
5246 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5247
5248 else
5249
5250 LINE=`grep "^wxUSE_UNIVERSAL_BINARY=" ${wx_arg_cache_file}`
5251 if test "x$LINE" != x ; then
5252 eval "DEFAULT_$LINE"
5253 else
5254 no_cache=1
5255 fi
5256
5257 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5258
5259 fi
5260
5261
5262 eval "$wx_cv_use_universal_binary"
5263 if test "$no_cache" != 1; then
5264 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5265 fi
5266
5267 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5268 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5269
5270
5271
5272 enablestring=enable
5273 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5274 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5275 no_cache=0
5276 # Check whether --enable-compat26 was given.
5277 if test "${enable_compat26+set}" = set; then
5278 enableval=$enable_compat26;
5279 if test "$enableval" = yes; then
5280 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5281 else
5282 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5283 fi
5284
5285 else
5286
5287 LINE=`grep "^WXWIN_COMPATIBILITY_2_6=" ${wx_arg_cache_file}`
5288 if test "x$LINE" != x ; then
5289 eval "DEFAULT_$LINE"
5290 else
5291 no_cache=1
5292 fi
5293
5294 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5295
5296 fi
5297
5298
5299 eval "$ac_cv_use_compat26"
5300 if test "$no_cache" != 1; then
5301 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5302 fi
5303
5304 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5305 { echo "$as_me:$LINENO: result: yes" >&5
5306 echo "${ECHO_T}yes" >&6; }
5307 else
5308 { echo "$as_me:$LINENO: result: no" >&5
5309 echo "${ECHO_T}no" >&6; }
5310 fi
5311
5312
5313 enablestring=disable
5314 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5315 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5316 no_cache=0
5317 # Check whether --enable-compat28 was given.
5318 if test "${enable_compat28+set}" = set; then
5319 enableval=$enable_compat28;
5320 if test "$enableval" = yes; then
5321 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5322 else
5323 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5324 fi
5325
5326 else
5327
5328 LINE=`grep "^WXWIN_COMPATIBILITY_2_8=" ${wx_arg_cache_file}`
5329 if test "x$LINE" != x ; then
5330 eval "DEFAULT_$LINE"
5331 else
5332 no_cache=1
5333 fi
5334
5335 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5336
5337 fi
5338
5339
5340 eval "$ac_cv_use_compat28"
5341 if test "$no_cache" != 1; then
5342 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5343 fi
5344
5345 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5346 { echo "$as_me:$LINENO: result: yes" >&5
5347 echo "${ECHO_T}yes" >&6; }
5348 else
5349 { echo "$as_me:$LINENO: result: no" >&5
5350 echo "${ECHO_T}no" >&6; }
5351 fi
5352
5353
5354
5355 enablestring=
5356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5357 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5358 no_cache=0
5359 # Check whether --enable-rpath was given.
5360 if test "${enable_rpath+set}" = set; then
5361 enableval=$enable_rpath;
5362 if test "$enableval" = yes; then
5363 ac_cv_use_rpath='wxUSE_RPATH=yes'
5364 else
5365 ac_cv_use_rpath='wxUSE_RPATH=no'
5366 fi
5367
5368 else
5369
5370 LINE=`grep "^wxUSE_RPATH=" ${wx_arg_cache_file}`
5371 if test "x$LINE" != x ; then
5372 eval "DEFAULT_$LINE"
5373 else
5374 no_cache=1
5375 fi
5376
5377 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5378
5379 fi
5380
5381
5382 eval "$ac_cv_use_rpath"
5383 if test "$no_cache" != 1; then
5384 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5385 fi
5386
5387 if test "$wxUSE_RPATH" = yes; then
5388 { echo "$as_me:$LINENO: result: yes" >&5
5389 echo "${ECHO_T}yes" >&6; }
5390 else
5391 { echo "$as_me:$LINENO: result: no" >&5
5392 echo "${ECHO_T}no" >&6; }
5393 fi
5394
5395
5396
5397
5398
5399 enablestring=
5400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5401 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5402 no_cache=0
5403 # Check whether --enable-intl was given.
5404 if test "${enable_intl+set}" = set; then
5405 enableval=$enable_intl;
5406 if test "$enableval" = yes; then
5407 ac_cv_use_intl='wxUSE_INTL=yes'
5408 else
5409 ac_cv_use_intl='wxUSE_INTL=no'
5410 fi
5411
5412 else
5413
5414 LINE=`grep "^wxUSE_INTL=" ${wx_arg_cache_file}`
5415 if test "x$LINE" != x ; then
5416 eval "DEFAULT_$LINE"
5417 else
5418 no_cache=1
5419 fi
5420
5421 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5422
5423 fi
5424
5425
5426 eval "$ac_cv_use_intl"
5427 if test "$no_cache" != 1; then
5428 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5429 fi
5430
5431 if test "$wxUSE_INTL" = yes; then
5432 { echo "$as_me:$LINENO: result: yes" >&5
5433 echo "${ECHO_T}yes" >&6; }
5434 else
5435 { echo "$as_me:$LINENO: result: no" >&5
5436 echo "${ECHO_T}no" >&6; }
5437 fi
5438
5439
5440 enablestring=
5441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5442 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5443 no_cache=0
5444 # Check whether --enable-config was given.
5445 if test "${enable_config+set}" = set; then
5446 enableval=$enable_config;
5447 if test "$enableval" = yes; then
5448 ac_cv_use_config='wxUSE_CONFIG=yes'
5449 else
5450 ac_cv_use_config='wxUSE_CONFIG=no'
5451 fi
5452
5453 else
5454
5455 LINE=`grep "^wxUSE_CONFIG=" ${wx_arg_cache_file}`
5456 if test "x$LINE" != x ; then
5457 eval "DEFAULT_$LINE"
5458 else
5459 no_cache=1
5460 fi
5461
5462 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5463
5464 fi
5465
5466
5467 eval "$ac_cv_use_config"
5468 if test "$no_cache" != 1; then
5469 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5470 fi
5471
5472 if test "$wxUSE_CONFIG" = yes; then
5473 { echo "$as_me:$LINENO: result: yes" >&5
5474 echo "${ECHO_T}yes" >&6; }
5475 else
5476 { echo "$as_me:$LINENO: result: no" >&5
5477 echo "${ECHO_T}no" >&6; }
5478 fi
5479
5480
5481
5482 enablestring=
5483 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5484 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5485 no_cache=0
5486 # Check whether --enable-protocols was given.
5487 if test "${enable_protocols+set}" = set; then
5488 enableval=$enable_protocols;
5489 if test "$enableval" = yes; then
5490 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5491 else
5492 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5493 fi
5494
5495 else
5496
5497 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
5498 if test "x$LINE" != x ; then
5499 eval "DEFAULT_$LINE"
5500 else
5501 no_cache=1
5502 fi
5503
5504 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5505
5506 fi
5507
5508
5509 eval "$ac_cv_use_protocols"
5510 if test "$no_cache" != 1; then
5511 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5512 fi
5513
5514 if test "$wxUSE_PROTOCOL" = yes; then
5515 { echo "$as_me:$LINENO: result: yes" >&5
5516 echo "${ECHO_T}yes" >&6; }
5517 else
5518 { echo "$as_me:$LINENO: result: no" >&5
5519 echo "${ECHO_T}no" >&6; }
5520 fi
5521
5522
5523 enablestring=
5524 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5525 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5526 no_cache=0
5527 # Check whether --enable-ftp was given.
5528 if test "${enable_ftp+set}" = set; then
5529 enableval=$enable_ftp;
5530 if test "$enableval" = yes; then
5531 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5532 else
5533 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5534 fi
5535
5536 else
5537
5538 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
5539 if test "x$LINE" != x ; then
5540 eval "DEFAULT_$LINE"
5541 else
5542 no_cache=1
5543 fi
5544
5545 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5546
5547 fi
5548
5549
5550 eval "$ac_cv_use_ftp"
5551 if test "$no_cache" != 1; then
5552 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5553 fi
5554
5555 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5556 { echo "$as_me:$LINENO: result: yes" >&5
5557 echo "${ECHO_T}yes" >&6; }
5558 else
5559 { echo "$as_me:$LINENO: result: no" >&5
5560 echo "${ECHO_T}no" >&6; }
5561 fi
5562
5563
5564 enablestring=
5565 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5566 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5567 no_cache=0
5568 # Check whether --enable-http was given.
5569 if test "${enable_http+set}" = set; then
5570 enableval=$enable_http;
5571 if test "$enableval" = yes; then
5572 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5573 else
5574 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5575 fi
5576
5577 else
5578
5579 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
5580 if test "x$LINE" != x ; then
5581 eval "DEFAULT_$LINE"
5582 else
5583 no_cache=1
5584 fi
5585
5586 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5587
5588 fi
5589
5590
5591 eval "$ac_cv_use_http"
5592 if test "$no_cache" != 1; then
5593 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5594 fi
5595
5596 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5597 { echo "$as_me:$LINENO: result: yes" >&5
5598 echo "${ECHO_T}yes" >&6; }
5599 else
5600 { echo "$as_me:$LINENO: result: no" >&5
5601 echo "${ECHO_T}no" >&6; }
5602 fi
5603
5604
5605 enablestring=
5606 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5607 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5608 no_cache=0
5609 # Check whether --enable-fileproto was given.
5610 if test "${enable_fileproto+set}" = set; then
5611 enableval=$enable_fileproto;
5612 if test "$enableval" = yes; then
5613 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5614 else
5615 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5616 fi
5617
5618 else
5619
5620 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
5621 if test "x$LINE" != x ; then
5622 eval "DEFAULT_$LINE"
5623 else
5624 no_cache=1
5625 fi
5626
5627 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5628
5629 fi
5630
5631
5632 eval "$ac_cv_use_fileproto"
5633 if test "$no_cache" != 1; then
5634 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5635 fi
5636
5637 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5638 { echo "$as_me:$LINENO: result: yes" >&5
5639 echo "${ECHO_T}yes" >&6; }
5640 else
5641 { echo "$as_me:$LINENO: result: no" >&5
5642 echo "${ECHO_T}no" >&6; }
5643 fi
5644
5645
5646 enablestring=
5647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5648 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5649 no_cache=0
5650 # Check whether --enable-sockets was given.
5651 if test "${enable_sockets+set}" = set; then
5652 enableval=$enable_sockets;
5653 if test "$enableval" = yes; then
5654 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5655 else
5656 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5657 fi
5658
5659 else
5660
5661 LINE=`grep "^wxUSE_SOCKETS=" ${wx_arg_cache_file}`
5662 if test "x$LINE" != x ; then
5663 eval "DEFAULT_$LINE"
5664 else
5665 no_cache=1
5666 fi
5667
5668 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5669
5670 fi
5671
5672
5673 eval "$ac_cv_use_sockets"
5674 if test "$no_cache" != 1; then
5675 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5676 fi
5677
5678 if test "$wxUSE_SOCKETS" = yes; then
5679 { echo "$as_me:$LINENO: result: yes" >&5
5680 echo "${ECHO_T}yes" >&6; }
5681 else
5682 { echo "$as_me:$LINENO: result: no" >&5
5683 echo "${ECHO_T}no" >&6; }
5684 fi
5685
5686
5687 enablestring=
5688 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5689 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5690 no_cache=0
5691 # Check whether --enable-ole was given.
5692 if test "${enable_ole+set}" = set; then
5693 enableval=$enable_ole;
5694 if test "$enableval" = yes; then
5695 ac_cv_use_ole='wxUSE_OLE=yes'
5696 else
5697 ac_cv_use_ole='wxUSE_OLE=no'
5698 fi
5699
5700 else
5701
5702 LINE=`grep "^wxUSE_OLE=" ${wx_arg_cache_file}`
5703 if test "x$LINE" != x ; then
5704 eval "DEFAULT_$LINE"
5705 else
5706 no_cache=1
5707 fi
5708
5709 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5710
5711 fi
5712
5713
5714 eval "$ac_cv_use_ole"
5715 if test "$no_cache" != 1; then
5716 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5717 fi
5718
5719 if test "$wxUSE_OLE" = yes; then
5720 { echo "$as_me:$LINENO: result: yes" >&5
5721 echo "${ECHO_T}yes" >&6; }
5722 else
5723 { echo "$as_me:$LINENO: result: no" >&5
5724 echo "${ECHO_T}no" >&6; }
5725 fi
5726
5727
5728 enablestring=
5729 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5730 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5731 no_cache=0
5732 # Check whether --enable-dataobj was given.
5733 if test "${enable_dataobj+set}" = set; then
5734 enableval=$enable_dataobj;
5735 if test "$enableval" = yes; then
5736 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5737 else
5738 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5739 fi
5740
5741 else
5742
5743 LINE=`grep "^wxUSE_DATAOBJ=" ${wx_arg_cache_file}`
5744 if test "x$LINE" != x ; then
5745 eval "DEFAULT_$LINE"
5746 else
5747 no_cache=1
5748 fi
5749
5750 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5751
5752 fi
5753
5754
5755 eval "$ac_cv_use_dataobj"
5756 if test "$no_cache" != 1; then
5757 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5758 fi
5759
5760 if test "$wxUSE_DATAOBJ" = yes; then
5761 { echo "$as_me:$LINENO: result: yes" >&5
5762 echo "${ECHO_T}yes" >&6; }
5763 else
5764 { echo "$as_me:$LINENO: result: no" >&5
5765 echo "${ECHO_T}no" >&6; }
5766 fi
5767
5768
5769
5770 enablestring=
5771 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5772 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5773 no_cache=0
5774 # Check whether --enable-ipc was given.
5775 if test "${enable_ipc+set}" = set; then
5776 enableval=$enable_ipc;
5777 if test "$enableval" = yes; then
5778 ac_cv_use_ipc='wxUSE_IPC=yes'
5779 else
5780 ac_cv_use_ipc='wxUSE_IPC=no'
5781 fi
5782
5783 else
5784
5785 LINE=`grep "^wxUSE_IPC=" ${wx_arg_cache_file}`
5786 if test "x$LINE" != x ; then
5787 eval "DEFAULT_$LINE"
5788 else
5789 no_cache=1
5790 fi
5791
5792 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5793
5794 fi
5795
5796
5797 eval "$ac_cv_use_ipc"
5798 if test "$no_cache" != 1; then
5799 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5800 fi
5801
5802 if test "$wxUSE_IPC" = yes; then
5803 { echo "$as_me:$LINENO: result: yes" >&5
5804 echo "${ECHO_T}yes" >&6; }
5805 else
5806 { echo "$as_me:$LINENO: result: no" >&5
5807 echo "${ECHO_T}no" >&6; }
5808 fi
5809
5810
5811
5812 enablestring=
5813 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5814 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5815 no_cache=0
5816 # Check whether --enable-apple_ieee was given.
5817 if test "${enable_apple_ieee+set}" = set; then
5818 enableval=$enable_apple_ieee;
5819 if test "$enableval" = yes; then
5820 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5821 else
5822 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5823 fi
5824
5825 else
5826
5827 LINE=`grep "^wxUSE_APPLE_IEEE=" ${wx_arg_cache_file}`
5828 if test "x$LINE" != x ; then
5829 eval "DEFAULT_$LINE"
5830 else
5831 no_cache=1
5832 fi
5833
5834 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5835
5836 fi
5837
5838
5839 eval "$ac_cv_use_apple_ieee"
5840 if test "$no_cache" != 1; then
5841 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5842 fi
5843
5844 if test "$wxUSE_APPLE_IEEE" = yes; then
5845 { echo "$as_me:$LINENO: result: yes" >&5
5846 echo "${ECHO_T}yes" >&6; }
5847 else
5848 { echo "$as_me:$LINENO: result: no" >&5
5849 echo "${ECHO_T}no" >&6; }
5850 fi
5851
5852
5853 enablestring=
5854 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5855 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5856 no_cache=0
5857 # Check whether --enable-arcstream was given.
5858 if test "${enable_arcstream+set}" = set; then
5859 enableval=$enable_arcstream;
5860 if test "$enableval" = yes; then
5861 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5862 else
5863 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5864 fi
5865
5866 else
5867
5868 LINE=`grep "^wxUSE_ARCHIVE_STREAMS=" ${wx_arg_cache_file}`
5869 if test "x$LINE" != x ; then
5870 eval "DEFAULT_$LINE"
5871 else
5872 no_cache=1
5873 fi
5874
5875 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5876
5877 fi
5878
5879
5880 eval "$ac_cv_use_arcstream"
5881 if test "$no_cache" != 1; then
5882 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5883 fi
5884
5885 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5886 { echo "$as_me:$LINENO: result: yes" >&5
5887 echo "${ECHO_T}yes" >&6; }
5888 else
5889 { echo "$as_me:$LINENO: result: no" >&5
5890 echo "${ECHO_T}no" >&6; }
5891 fi
5892
5893
5894 enablestring=
5895 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5896 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5897 no_cache=0
5898 # Check whether --enable-backtrace was given.
5899 if test "${enable_backtrace+set}" = set; then
5900 enableval=$enable_backtrace;
5901 if test "$enableval" = yes; then
5902 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5903 else
5904 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5905 fi
5906
5907 else
5908
5909 LINE=`grep "^wxUSE_STACKWALKER=" ${wx_arg_cache_file}`
5910 if test "x$LINE" != x ; then
5911 eval "DEFAULT_$LINE"
5912 else
5913 no_cache=1
5914 fi
5915
5916 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5917
5918 fi
5919
5920
5921 eval "$ac_cv_use_backtrace"
5922 if test "$no_cache" != 1; then
5923 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5924 fi
5925
5926 if test "$wxUSE_STACKWALKER" = yes; then
5927 { echo "$as_me:$LINENO: result: yes" >&5
5928 echo "${ECHO_T}yes" >&6; }
5929 else
5930 { echo "$as_me:$LINENO: result: no" >&5
5931 echo "${ECHO_T}no" >&6; }
5932 fi
5933
5934
5935 enablestring=
5936 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5937 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5938 no_cache=0
5939 # Check whether --enable-catch_segvs was given.
5940 if test "${enable_catch_segvs+set}" = set; then
5941 enableval=$enable_catch_segvs;
5942 if test "$enableval" = yes; then
5943 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5944 else
5945 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5946 fi
5947
5948 else
5949
5950 LINE=`grep "^wxUSE_ON_FATAL_EXCEPTION=" ${wx_arg_cache_file}`
5951 if test "x$LINE" != x ; then
5952 eval "DEFAULT_$LINE"
5953 else
5954 no_cache=1
5955 fi
5956
5957 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5958
5959 fi
5960
5961
5962 eval "$ac_cv_use_catch_segvs"
5963 if test "$no_cache" != 1; then
5964 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5965 fi
5966
5967 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5968 { echo "$as_me:$LINENO: result: yes" >&5
5969 echo "${ECHO_T}yes" >&6; }
5970 else
5971 { echo "$as_me:$LINENO: result: no" >&5
5972 echo "${ECHO_T}no" >&6; }
5973 fi
5974
5975
5976 enablestring=
5977 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5978 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5979 no_cache=0
5980 # Check whether --enable-cmdline was given.
5981 if test "${enable_cmdline+set}" = set; then
5982 enableval=$enable_cmdline;
5983 if test "$enableval" = yes; then
5984 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5985 else
5986 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5987 fi
5988
5989 else
5990
5991 LINE=`grep "^wxUSE_CMDLINE_PARSER=" ${wx_arg_cache_file}`
5992 if test "x$LINE" != x ; then
5993 eval "DEFAULT_$LINE"
5994 else
5995 no_cache=1
5996 fi
5997
5998 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5999
6000 fi
6001
6002
6003 eval "$ac_cv_use_cmdline"
6004 if test "$no_cache" != 1; then
6005 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
6006 fi
6007
6008 if test "$wxUSE_CMDLINE_PARSER" = yes; then
6009 { echo "$as_me:$LINENO: result: yes" >&5
6010 echo "${ECHO_T}yes" >&6; }
6011 else
6012 { echo "$as_me:$LINENO: result: no" >&5
6013 echo "${ECHO_T}no" >&6; }
6014 fi
6015
6016
6017 enablestring=
6018 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
6019 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
6020 no_cache=0
6021 # Check whether --enable-datetime was given.
6022 if test "${enable_datetime+set}" = set; then
6023 enableval=$enable_datetime;
6024 if test "$enableval" = yes; then
6025 ac_cv_use_datetime='wxUSE_DATETIME=yes'
6026 else
6027 ac_cv_use_datetime='wxUSE_DATETIME=no'
6028 fi
6029
6030 else
6031
6032 LINE=`grep "^wxUSE_DATETIME=" ${wx_arg_cache_file}`
6033 if test "x$LINE" != x ; then
6034 eval "DEFAULT_$LINE"
6035 else
6036 no_cache=1
6037 fi
6038
6039 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
6040
6041 fi
6042
6043
6044 eval "$ac_cv_use_datetime"
6045 if test "$no_cache" != 1; then
6046 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
6047 fi
6048
6049 if test "$wxUSE_DATETIME" = yes; then
6050 { echo "$as_me:$LINENO: result: yes" >&5
6051 echo "${ECHO_T}yes" >&6; }
6052 else
6053 { echo "$as_me:$LINENO: result: no" >&5
6054 echo "${ECHO_T}no" >&6; }
6055 fi
6056
6057
6058 enablestring=
6059 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6060 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6061 no_cache=0
6062 # Check whether --enable-debugreport was given.
6063 if test "${enable_debugreport+set}" = set; then
6064 enableval=$enable_debugreport;
6065 if test "$enableval" = yes; then
6066 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6067 else
6068 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6069 fi
6070
6071 else
6072
6073 LINE=`grep "^wxUSE_DEBUGREPORT=" ${wx_arg_cache_file}`
6074 if test "x$LINE" != x ; then
6075 eval "DEFAULT_$LINE"
6076 else
6077 no_cache=1
6078 fi
6079
6080 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6081
6082 fi
6083
6084
6085 eval "$ac_cv_use_debugreport"
6086 if test "$no_cache" != 1; then
6087 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6088 fi
6089
6090 if test "$wxUSE_DEBUGREPORT" = yes; then
6091 { echo "$as_me:$LINENO: result: yes" >&5
6092 echo "${ECHO_T}yes" >&6; }
6093 else
6094 { echo "$as_me:$LINENO: result: no" >&5
6095 echo "${ECHO_T}no" >&6; }
6096 fi
6097
6098
6099 enablestring=
6100 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6101 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6102 no_cache=0
6103 # Check whether --enable-dialupman was given.
6104 if test "${enable_dialupman+set}" = set; then
6105 enableval=$enable_dialupman;
6106 if test "$enableval" = yes; then
6107 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6108 else
6109 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6110 fi
6111
6112 else
6113
6114 LINE=`grep "^wxUSE_DIALUP_MANAGER=" ${wx_arg_cache_file}`
6115 if test "x$LINE" != x ; then
6116 eval "DEFAULT_$LINE"
6117 else
6118 no_cache=1
6119 fi
6120
6121 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6122
6123 fi
6124
6125
6126 eval "$ac_cv_use_dialupman"
6127 if test "$no_cache" != 1; then
6128 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6129 fi
6130
6131 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6132 { echo "$as_me:$LINENO: result: yes" >&5
6133 echo "${ECHO_T}yes" >&6; }
6134 else
6135 { echo "$as_me:$LINENO: result: no" >&5
6136 echo "${ECHO_T}no" >&6; }
6137 fi
6138
6139
6140 enablestring=
6141 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6142 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6143 no_cache=0
6144 # Check whether --enable-dynlib was given.
6145 if test "${enable_dynlib+set}" = set; then
6146 enableval=$enable_dynlib;
6147 if test "$enableval" = yes; then
6148 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6149 else
6150 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6151 fi
6152
6153 else
6154
6155 LINE=`grep "^wxUSE_DYNLIB_CLASS=" ${wx_arg_cache_file}`
6156 if test "x$LINE" != x ; then
6157 eval "DEFAULT_$LINE"
6158 else
6159 no_cache=1
6160 fi
6161
6162 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6163
6164 fi
6165
6166
6167 eval "$ac_cv_use_dynlib"
6168 if test "$no_cache" != 1; then
6169 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6170 fi
6171
6172 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6173 { echo "$as_me:$LINENO: result: yes" >&5
6174 echo "${ECHO_T}yes" >&6; }
6175 else
6176 { echo "$as_me:$LINENO: result: no" >&5
6177 echo "${ECHO_T}no" >&6; }
6178 fi
6179
6180
6181 enablestring=
6182 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6183 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6184 no_cache=0
6185 # Check whether --enable-dynamicloader was given.
6186 if test "${enable_dynamicloader+set}" = set; then
6187 enableval=$enable_dynamicloader;
6188 if test "$enableval" = yes; then
6189 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6190 else
6191 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6192 fi
6193
6194 else
6195
6196 LINE=`grep "^wxUSE_DYNAMIC_LOADER=" ${wx_arg_cache_file}`
6197 if test "x$LINE" != x ; then
6198 eval "DEFAULT_$LINE"
6199 else
6200 no_cache=1
6201 fi
6202
6203 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6204
6205 fi
6206
6207
6208 eval "$ac_cv_use_dynamicloader"
6209 if test "$no_cache" != 1; then
6210 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6211 fi
6212
6213 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6214 { echo "$as_me:$LINENO: result: yes" >&5
6215 echo "${ECHO_T}yes" >&6; }
6216 else
6217 { echo "$as_me:$LINENO: result: no" >&5
6218 echo "${ECHO_T}no" >&6; }
6219 fi
6220
6221
6222 enablestring=
6223 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6224 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6225 no_cache=0
6226 # Check whether --enable-exceptions was given.
6227 if test "${enable_exceptions+set}" = set; then
6228 enableval=$enable_exceptions;
6229 if test "$enableval" = yes; then
6230 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6231 else
6232 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6233 fi
6234
6235 else
6236
6237 LINE=`grep "^wxUSE_EXCEPTIONS=" ${wx_arg_cache_file}`
6238 if test "x$LINE" != x ; then
6239 eval "DEFAULT_$LINE"
6240 else
6241 no_cache=1
6242 fi
6243
6244 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6245
6246 fi
6247
6248
6249 eval "$ac_cv_use_exceptions"
6250 if test "$no_cache" != 1; then
6251 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6252 fi
6253
6254 if test "$wxUSE_EXCEPTIONS" = yes; then
6255 { echo "$as_me:$LINENO: result: yes" >&5
6256 echo "${ECHO_T}yes" >&6; }
6257 else
6258 { echo "$as_me:$LINENO: result: no" >&5
6259 echo "${ECHO_T}no" >&6; }
6260 fi
6261
6262
6263 enablestring=
6264 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6265 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6266 no_cache=0
6267 # Check whether --enable-ffile was given.
6268 if test "${enable_ffile+set}" = set; then
6269 enableval=$enable_ffile;
6270 if test "$enableval" = yes; then
6271 ac_cv_use_ffile='wxUSE_FFILE=yes'
6272 else
6273 ac_cv_use_ffile='wxUSE_FFILE=no'
6274 fi
6275
6276 else
6277
6278 LINE=`grep "^wxUSE_FFILE=" ${wx_arg_cache_file}`
6279 if test "x$LINE" != x ; then
6280 eval "DEFAULT_$LINE"
6281 else
6282 no_cache=1
6283 fi
6284
6285 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6286
6287 fi
6288
6289
6290 eval "$ac_cv_use_ffile"
6291 if test "$no_cache" != 1; then
6292 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6293 fi
6294
6295 if test "$wxUSE_FFILE" = yes; then
6296 { echo "$as_me:$LINENO: result: yes" >&5
6297 echo "${ECHO_T}yes" >&6; }
6298 else
6299 { echo "$as_me:$LINENO: result: no" >&5
6300 echo "${ECHO_T}no" >&6; }
6301 fi
6302
6303
6304 enablestring=
6305 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6306 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6307 no_cache=0
6308 # Check whether --enable-file was given.
6309 if test "${enable_file+set}" = set; then
6310 enableval=$enable_file;
6311 if test "$enableval" = yes; then
6312 ac_cv_use_file='wxUSE_FILE=yes'
6313 else
6314 ac_cv_use_file='wxUSE_FILE=no'
6315 fi
6316
6317 else
6318
6319 LINE=`grep "^wxUSE_FILE=" ${wx_arg_cache_file}`
6320 if test "x$LINE" != x ; then
6321 eval "DEFAULT_$LINE"
6322 else
6323 no_cache=1
6324 fi
6325
6326 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6327
6328 fi
6329
6330
6331 eval "$ac_cv_use_file"
6332 if test "$no_cache" != 1; then
6333 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6334 fi
6335
6336 if test "$wxUSE_FILE" = yes; then
6337 { echo "$as_me:$LINENO: result: yes" >&5
6338 echo "${ECHO_T}yes" >&6; }
6339 else
6340 { echo "$as_me:$LINENO: result: no" >&5
6341 echo "${ECHO_T}no" >&6; }
6342 fi
6343
6344
6345 enablestring=
6346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6347 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6348 no_cache=0
6349 # Check whether --enable-filesystem was given.
6350 if test "${enable_filesystem+set}" = set; then
6351 enableval=$enable_filesystem;
6352 if test "$enableval" = yes; then
6353 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6354 else
6355 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6356 fi
6357
6358 else
6359
6360 LINE=`grep "^wxUSE_FILESYSTEM=" ${wx_arg_cache_file}`
6361 if test "x$LINE" != x ; then
6362 eval "DEFAULT_$LINE"
6363 else
6364 no_cache=1
6365 fi
6366
6367 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6368
6369 fi
6370
6371
6372 eval "$ac_cv_use_filesystem"
6373 if test "$no_cache" != 1; then
6374 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6375 fi
6376
6377 if test "$wxUSE_FILESYSTEM" = yes; then
6378 { echo "$as_me:$LINENO: result: yes" >&5
6379 echo "${ECHO_T}yes" >&6; }
6380 else
6381 { echo "$as_me:$LINENO: result: no" >&5
6382 echo "${ECHO_T}no" >&6; }
6383 fi
6384
6385
6386 enablestring=
6387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6388 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6389 no_cache=0
6390 # Check whether --enable-fontmap was given.
6391 if test "${enable_fontmap+set}" = set; then
6392 enableval=$enable_fontmap;
6393 if test "$enableval" = yes; then
6394 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6395 else
6396 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6397 fi
6398
6399 else
6400
6401 LINE=`grep "^wxUSE_FONTMAP=" ${wx_arg_cache_file}`
6402 if test "x$LINE" != x ; then
6403 eval "DEFAULT_$LINE"
6404 else
6405 no_cache=1
6406 fi
6407
6408 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6409
6410 fi
6411
6412
6413 eval "$ac_cv_use_fontmap"
6414 if test "$no_cache" != 1; then
6415 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6416 fi
6417
6418 if test "$wxUSE_FONTMAP" = yes; then
6419 { echo "$as_me:$LINENO: result: yes" >&5
6420 echo "${ECHO_T}yes" >&6; }
6421 else
6422 { echo "$as_me:$LINENO: result: no" >&5
6423 echo "${ECHO_T}no" >&6; }
6424 fi
6425
6426
6427 enablestring=
6428 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6429 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6430 no_cache=0
6431 # Check whether --enable-fs_archive was given.
6432 if test "${enable_fs_archive+set}" = set; then
6433 enableval=$enable_fs_archive;
6434 if test "$enableval" = yes; then
6435 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6436 else
6437 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6438 fi
6439
6440 else
6441
6442 LINE=`grep "^wxUSE_FS_ARCHIVE=" ${wx_arg_cache_file}`
6443 if test "x$LINE" != x ; then
6444 eval "DEFAULT_$LINE"
6445 else
6446 no_cache=1
6447 fi
6448
6449 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6450
6451 fi
6452
6453
6454 eval "$ac_cv_use_fs_archive"
6455 if test "$no_cache" != 1; then
6456 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6457 fi
6458
6459 if test "$wxUSE_FS_ARCHIVE" = yes; then
6460 { echo "$as_me:$LINENO: result: yes" >&5
6461 echo "${ECHO_T}yes" >&6; }
6462 else
6463 { echo "$as_me:$LINENO: result: no" >&5
6464 echo "${ECHO_T}no" >&6; }
6465 fi
6466
6467
6468 enablestring=
6469 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6470 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6471 no_cache=0
6472 # Check whether --enable-fs_inet was given.
6473 if test "${enable_fs_inet+set}" = set; then
6474 enableval=$enable_fs_inet;
6475 if test "$enableval" = yes; then
6476 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6477 else
6478 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6479 fi
6480
6481 else
6482
6483 LINE=`grep "^wxUSE_FS_INET=" ${wx_arg_cache_file}`
6484 if test "x$LINE" != x ; then
6485 eval "DEFAULT_$LINE"
6486 else
6487 no_cache=1
6488 fi
6489
6490 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6491
6492 fi
6493
6494
6495 eval "$ac_cv_use_fs_inet"
6496 if test "$no_cache" != 1; then
6497 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6498 fi
6499
6500 if test "$wxUSE_FS_INET" = yes; then
6501 { echo "$as_me:$LINENO: result: yes" >&5
6502 echo "${ECHO_T}yes" >&6; }
6503 else
6504 { echo "$as_me:$LINENO: result: no" >&5
6505 echo "${ECHO_T}no" >&6; }
6506 fi
6507
6508
6509 enablestring=
6510 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6511 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6512 no_cache=0
6513 # Check whether --enable-fs_zip was given.
6514 if test "${enable_fs_zip+set}" = set; then
6515 enableval=$enable_fs_zip;
6516 if test "$enableval" = yes; then
6517 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6518 else
6519 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6520 fi
6521
6522 else
6523
6524 LINE=`grep "^wxUSE_FS_ZIP=" ${wx_arg_cache_file}`
6525 if test "x$LINE" != x ; then
6526 eval "DEFAULT_$LINE"
6527 else
6528 no_cache=1
6529 fi
6530
6531 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6532
6533 fi
6534
6535
6536 eval "$ac_cv_use_fs_zip"
6537 if test "$no_cache" != 1; then
6538 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6539 fi
6540
6541 if test "$wxUSE_FS_ZIP" = yes; then
6542 { echo "$as_me:$LINENO: result: yes" >&5
6543 echo "${ECHO_T}yes" >&6; }
6544 else
6545 { echo "$as_me:$LINENO: result: no" >&5
6546 echo "${ECHO_T}no" >&6; }
6547 fi
6548
6549
6550 enablestring=
6551 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6552 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6553 no_cache=0
6554 # Check whether --enable-geometry was given.
6555 if test "${enable_geometry+set}" = set; then
6556 enableval=$enable_geometry;
6557 if test "$enableval" = yes; then
6558 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6559 else
6560 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6561 fi
6562
6563 else
6564
6565 LINE=`grep "^wxUSE_GEOMETRY=" ${wx_arg_cache_file}`
6566 if test "x$LINE" != x ; then
6567 eval "DEFAULT_$LINE"
6568 else
6569 no_cache=1
6570 fi
6571
6572 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6573
6574 fi
6575
6576
6577 eval "$ac_cv_use_geometry"
6578 if test "$no_cache" != 1; then
6579 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6580 fi
6581
6582 if test "$wxUSE_GEOMETRY" = yes; then
6583 { echo "$as_me:$LINENO: result: yes" >&5
6584 echo "${ECHO_T}yes" >&6; }
6585 else
6586 { echo "$as_me:$LINENO: result: no" >&5
6587 echo "${ECHO_T}no" >&6; }
6588 fi
6589
6590
6591 enablestring=
6592 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6593 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6594 no_cache=0
6595 # Check whether --enable-log was given.
6596 if test "${enable_log+set}" = set; then
6597 enableval=$enable_log;
6598 if test "$enableval" = yes; then
6599 ac_cv_use_log='wxUSE_LOG=yes'
6600 else
6601 ac_cv_use_log='wxUSE_LOG=no'
6602 fi
6603
6604 else
6605
6606 LINE=`grep "^wxUSE_LOG=" ${wx_arg_cache_file}`
6607 if test "x$LINE" != x ; then
6608 eval "DEFAULT_$LINE"
6609 else
6610 no_cache=1
6611 fi
6612
6613 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6614
6615 fi
6616
6617
6618 eval "$ac_cv_use_log"
6619 if test "$no_cache" != 1; then
6620 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6621 fi
6622
6623 if test "$wxUSE_LOG" = yes; then
6624 { echo "$as_me:$LINENO: result: yes" >&5
6625 echo "${ECHO_T}yes" >&6; }
6626 else
6627 { echo "$as_me:$LINENO: result: no" >&5
6628 echo "${ECHO_T}no" >&6; }
6629 fi
6630
6631
6632 enablestring=
6633 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6634 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6635 no_cache=0
6636 # Check whether --enable-longlong was given.
6637 if test "${enable_longlong+set}" = set; then
6638 enableval=$enable_longlong;
6639 if test "$enableval" = yes; then
6640 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6641 else
6642 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6643 fi
6644
6645 else
6646
6647 LINE=`grep "^wxUSE_LONGLONG=" ${wx_arg_cache_file}`
6648 if test "x$LINE" != x ; then
6649 eval "DEFAULT_$LINE"
6650 else
6651 no_cache=1
6652 fi
6653
6654 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6655
6656 fi
6657
6658
6659 eval "$ac_cv_use_longlong"
6660 if test "$no_cache" != 1; then
6661 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6662 fi
6663
6664 if test "$wxUSE_LONGLONG" = yes; then
6665 { echo "$as_me:$LINENO: result: yes" >&5
6666 echo "${ECHO_T}yes" >&6; }
6667 else
6668 { echo "$as_me:$LINENO: result: no" >&5
6669 echo "${ECHO_T}no" >&6; }
6670 fi
6671
6672
6673 enablestring=
6674 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6675 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6676 no_cache=0
6677 # Check whether --enable-mimetype was given.
6678 if test "${enable_mimetype+set}" = set; then
6679 enableval=$enable_mimetype;
6680 if test "$enableval" = yes; then
6681 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6682 else
6683 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6684 fi
6685
6686 else
6687
6688 LINE=`grep "^wxUSE_MIMETYPE=" ${wx_arg_cache_file}`
6689 if test "x$LINE" != x ; then
6690 eval "DEFAULT_$LINE"
6691 else
6692 no_cache=1
6693 fi
6694
6695 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6696
6697 fi
6698
6699
6700 eval "$ac_cv_use_mimetype"
6701 if test "$no_cache" != 1; then
6702 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6703 fi
6704
6705 if test "$wxUSE_MIMETYPE" = yes; then
6706 { echo "$as_me:$LINENO: result: yes" >&5
6707 echo "${ECHO_T}yes" >&6; }
6708 else
6709 { echo "$as_me:$LINENO: result: no" >&5
6710 echo "${ECHO_T}no" >&6; }
6711 fi
6712
6713
6714 enablestring=
6715 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6716 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6717 no_cache=0
6718 # Check whether --enable-mslu was given.
6719 if test "${enable_mslu+set}" = set; then
6720 enableval=$enable_mslu;
6721 if test "$enableval" = yes; then
6722 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6723 else
6724 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6725 fi
6726
6727 else
6728
6729 LINE=`grep "^wxUSE_UNICODE_MSLU=" ${wx_arg_cache_file}`
6730 if test "x$LINE" != x ; then
6731 eval "DEFAULT_$LINE"
6732 else
6733 no_cache=1
6734 fi
6735
6736 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6737
6738 fi
6739
6740
6741 eval "$ac_cv_use_mslu"
6742 if test "$no_cache" != 1; then
6743 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6744 fi
6745
6746 if test "$wxUSE_UNICODE_MSLU" = yes; then
6747 { echo "$as_me:$LINENO: result: yes" >&5
6748 echo "${ECHO_T}yes" >&6; }
6749 else
6750 { echo "$as_me:$LINENO: result: no" >&5
6751 echo "${ECHO_T}no" >&6; }
6752 fi
6753
6754
6755 enablestring=
6756 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8" >&5
6757 echo $ECHO_N "checking for --${enablestring:-enable}-utf8... $ECHO_C" >&6; }
6758 no_cache=0
6759 # Check whether --enable-utf8 was given.
6760 if test "${enable_utf8+set}" = set; then
6761 enableval=$enable_utf8;
6762 wx_cv_use_utf8="wxUSE_UNICODE_UTF8='$enableval'"
6763
6764 else
6765
6766 LINE=`grep "^wxUSE_UNICODE_UTF8=" ${wx_arg_cache_file}`
6767 if test "x$LINE" != x ; then
6768 eval "DEFAULT_$LINE"
6769 else
6770 no_cache=1
6771 fi
6772
6773 wx_cv_use_utf8='wxUSE_UNICODE_UTF8='$DEFAULT_wxUSE_UNICODE_UTF8
6774
6775 fi
6776
6777
6778 eval "$wx_cv_use_utf8"
6779 if test "$no_cache" != 1; then
6780 echo $wx_cv_use_utf8 >> ${wx_arg_cache_file}.tmp
6781 fi
6782
6783 { echo "$as_me:$LINENO: result: $wxUSE_UNICODE_UTF8" >&5
6784 echo "${ECHO_T}$wxUSE_UNICODE_UTF8" >&6; }
6785
6786
6787 enablestring=
6788 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-utf8only" >&5
6789 echo $ECHO_N "checking for --${enablestring:-enable}-utf8only... $ECHO_C" >&6; }
6790 no_cache=0
6791 # Check whether --enable-utf8only was given.
6792 if test "${enable_utf8only+set}" = set; then
6793 enableval=$enable_utf8only;
6794 if test "$enableval" = yes; then
6795 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=yes'
6796 else
6797 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE=no'
6798 fi
6799
6800 else
6801
6802 LINE=`grep "^wxUSE_UNICODE_UTF8_LOCALE=" ${wx_arg_cache_file}`
6803 if test "x$LINE" != x ; then
6804 eval "DEFAULT_$LINE"
6805 else
6806 no_cache=1
6807 fi
6808
6809 ac_cv_use_utf8only='wxUSE_UNICODE_UTF8_LOCALE='$DEFAULT_wxUSE_UNICODE_UTF8_LOCALE
6810
6811 fi
6812
6813
6814 eval "$ac_cv_use_utf8only"
6815 if test "$no_cache" != 1; then
6816 echo $ac_cv_use_utf8only >> ${wx_arg_cache_file}.tmp
6817 fi
6818
6819 if test "$wxUSE_UNICODE_UTF8_LOCALE" = yes; then
6820 { echo "$as_me:$LINENO: result: yes" >&5
6821 echo "${ECHO_T}yes" >&6; }
6822 else
6823 { echo "$as_me:$LINENO: result: no" >&5
6824 echo "${ECHO_T}no" >&6; }
6825 fi
6826
6827
6828 enablestring=
6829 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6830 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6831 no_cache=0
6832 # Check whether --enable-snglinst was given.
6833 if test "${enable_snglinst+set}" = set; then
6834 enableval=$enable_snglinst;
6835 if test "$enableval" = yes; then
6836 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6837 else
6838 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6839 fi
6840
6841 else
6842
6843 LINE=`grep "^wxUSE_SNGLINST_CHECKER=" ${wx_arg_cache_file}`
6844 if test "x$LINE" != x ; then
6845 eval "DEFAULT_$LINE"
6846 else
6847 no_cache=1
6848 fi
6849
6850 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6851
6852 fi
6853
6854
6855 eval "$ac_cv_use_snglinst"
6856 if test "$no_cache" != 1; then
6857 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6858 fi
6859
6860 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6861 { echo "$as_me:$LINENO: result: yes" >&5
6862 echo "${ECHO_T}yes" >&6; }
6863 else
6864 { echo "$as_me:$LINENO: result: no" >&5
6865 echo "${ECHO_T}no" >&6; }
6866 fi
6867
6868
6869 enablestring=
6870 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6871 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6872 no_cache=0
6873 # Check whether --enable-std_iostreams was given.
6874 if test "${enable_std_iostreams+set}" = set; then
6875 enableval=$enable_std_iostreams;
6876 if test "$enableval" = yes; then
6877 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6878 else
6879 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6880 fi
6881
6882 else
6883
6884 LINE=`grep "^wxUSE_STD_IOSTREAM=" ${wx_arg_cache_file}`
6885 if test "x$LINE" != x ; then
6886 eval "DEFAULT_$LINE"
6887 else
6888 no_cache=1
6889 fi
6890
6891 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6892
6893 fi
6894
6895
6896 eval "$ac_cv_use_std_iostreams"
6897 if test "$no_cache" != 1; then
6898 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6899 fi
6900
6901 if test "$wxUSE_STD_IOSTREAM" = yes; then
6902 { echo "$as_me:$LINENO: result: yes" >&5
6903 echo "${ECHO_T}yes" >&6; }
6904 else
6905 { echo "$as_me:$LINENO: result: no" >&5
6906 echo "${ECHO_T}no" >&6; }
6907 fi
6908
6909
6910 enablestring=
6911 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6912 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6913 no_cache=0
6914 # Check whether --enable-std_string was given.
6915 if test "${enable_std_string+set}" = set; then
6916 enableval=$enable_std_string;
6917 if test "$enableval" = yes; then
6918 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6919 else
6920 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6921 fi
6922
6923 else
6924
6925 LINE=`grep "^wxUSE_STD_STRING=" ${wx_arg_cache_file}`
6926 if test "x$LINE" != x ; then
6927 eval "DEFAULT_$LINE"
6928 else
6929 no_cache=1
6930 fi
6931
6932 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6933
6934 fi
6935
6936
6937 eval "$ac_cv_use_std_string"
6938 if test "$no_cache" != 1; then
6939 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6940 fi
6941
6942 if test "$wxUSE_STD_STRING" = yes; then
6943 { echo "$as_me:$LINENO: result: yes" >&5
6944 echo "${ECHO_T}yes" >&6; }
6945 else
6946 { echo "$as_me:$LINENO: result: no" >&5
6947 echo "${ECHO_T}no" >&6; }
6948 fi
6949
6950
6951 enablestring=
6952 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6953 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6954 no_cache=0
6955 # Check whether --enable-stdpaths was given.
6956 if test "${enable_stdpaths+set}" = set; then
6957 enableval=$enable_stdpaths;
6958 if test "$enableval" = yes; then
6959 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6960 else
6961 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6962 fi
6963
6964 else
6965
6966 LINE=`grep "^wxUSE_STDPATHS=" ${wx_arg_cache_file}`
6967 if test "x$LINE" != x ; then
6968 eval "DEFAULT_$LINE"
6969 else
6970 no_cache=1
6971 fi
6972
6973 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6974
6975 fi
6976
6977
6978 eval "$ac_cv_use_stdpaths"
6979 if test "$no_cache" != 1; then
6980 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6981 fi
6982
6983 if test "$wxUSE_STDPATHS" = yes; then
6984 { echo "$as_me:$LINENO: result: yes" >&5
6985 echo "${ECHO_T}yes" >&6; }
6986 else
6987 { echo "$as_me:$LINENO: result: no" >&5
6988 echo "${ECHO_T}no" >&6; }
6989 fi
6990
6991
6992 enablestring=
6993 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6994 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6995 no_cache=0
6996 # Check whether --enable-stopwatch was given.
6997 if test "${enable_stopwatch+set}" = set; then
6998 enableval=$enable_stopwatch;
6999 if test "$enableval" = yes; then
7000 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
7001 else
7002 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
7003 fi
7004
7005 else
7006
7007 LINE=`grep "^wxUSE_STOPWATCH=" ${wx_arg_cache_file}`
7008 if test "x$LINE" != x ; then
7009 eval "DEFAULT_$LINE"
7010 else
7011 no_cache=1
7012 fi
7013
7014 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
7015
7016 fi
7017
7018
7019 eval "$ac_cv_use_stopwatch"
7020 if test "$no_cache" != 1; then
7021 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
7022 fi
7023
7024 if test "$wxUSE_STOPWATCH" = yes; then
7025 { echo "$as_me:$LINENO: result: yes" >&5
7026 echo "${ECHO_T}yes" >&6; }
7027 else
7028 { echo "$as_me:$LINENO: result: no" >&5
7029 echo "${ECHO_T}no" >&6; }
7030 fi
7031
7032
7033 enablestring=
7034 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
7035 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
7036 no_cache=0
7037 # Check whether --enable-streams was given.
7038 if test "${enable_streams+set}" = set; then
7039 enableval=$enable_streams;
7040 if test "$enableval" = yes; then
7041 ac_cv_use_streams='wxUSE_STREAMS=yes'
7042 else
7043 ac_cv_use_streams='wxUSE_STREAMS=no'
7044 fi
7045
7046 else
7047
7048 LINE=`grep "^wxUSE_STREAMS=" ${wx_arg_cache_file}`
7049 if test "x$LINE" != x ; then
7050 eval "DEFAULT_$LINE"
7051 else
7052 no_cache=1
7053 fi
7054
7055 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
7056
7057 fi
7058
7059
7060 eval "$ac_cv_use_streams"
7061 if test "$no_cache" != 1; then
7062 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
7063 fi
7064
7065 if test "$wxUSE_STREAMS" = yes; then
7066 { echo "$as_me:$LINENO: result: yes" >&5
7067 echo "${ECHO_T}yes" >&6; }
7068 else
7069 { echo "$as_me:$LINENO: result: no" >&5
7070 echo "${ECHO_T}no" >&6; }
7071 fi
7072
7073
7074 enablestring=
7075 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
7076 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
7077 no_cache=0
7078 # Check whether --enable-system_options was given.
7079 if test "${enable_system_options+set}" = set; then
7080 enableval=$enable_system_options;
7081 if test "$enableval" = yes; then
7082 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
7083 else
7084 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
7085 fi
7086
7087 else
7088
7089 LINE=`grep "^wxUSE_SYSTEM_OPTIONS=" ${wx_arg_cache_file}`
7090 if test "x$LINE" != x ; then
7091 eval "DEFAULT_$LINE"
7092 else
7093 no_cache=1
7094 fi
7095
7096 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
7097
7098 fi
7099
7100
7101 eval "$ac_cv_use_system_options"
7102 if test "$no_cache" != 1; then
7103 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
7104 fi
7105
7106 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
7107 { echo "$as_me:$LINENO: result: yes" >&5
7108 echo "${ECHO_T}yes" >&6; }
7109 else
7110 { echo "$as_me:$LINENO: result: no" >&5
7111 echo "${ECHO_T}no" >&6; }
7112 fi
7113
7114
7115 enablestring=
7116 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
7117 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
7118 no_cache=0
7119 # Check whether --enable-tarstream was given.
7120 if test "${enable_tarstream+set}" = set; then
7121 enableval=$enable_tarstream;
7122 if test "$enableval" = yes; then
7123 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
7124 else
7125 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
7126 fi
7127
7128 else
7129
7130 LINE=`grep "^wxUSE_TARSTREAM=" ${wx_arg_cache_file}`
7131 if test "x$LINE" != x ; then
7132 eval "DEFAULT_$LINE"
7133 else
7134 no_cache=1
7135 fi
7136
7137 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7138
7139 fi
7140
7141
7142 eval "$ac_cv_use_tarstream"
7143 if test "$no_cache" != 1; then
7144 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7145 fi
7146
7147 if test "$wxUSE_TARSTREAM" = yes; then
7148 { echo "$as_me:$LINENO: result: yes" >&5
7149 echo "${ECHO_T}yes" >&6; }
7150 else
7151 { echo "$as_me:$LINENO: result: no" >&5
7152 echo "${ECHO_T}no" >&6; }
7153 fi
7154
7155
7156 enablestring=
7157 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7158 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7159 no_cache=0
7160 # Check whether --enable-textbuf was given.
7161 if test "${enable_textbuf+set}" = set; then
7162 enableval=$enable_textbuf;
7163 if test "$enableval" = yes; then
7164 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7165 else
7166 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7167 fi
7168
7169 else
7170
7171 LINE=`grep "^wxUSE_TEXTBUFFER=" ${wx_arg_cache_file}`
7172 if test "x$LINE" != x ; then
7173 eval "DEFAULT_$LINE"
7174 else
7175 no_cache=1
7176 fi
7177
7178 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7179
7180 fi
7181
7182
7183 eval "$ac_cv_use_textbuf"
7184 if test "$no_cache" != 1; then
7185 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7186 fi
7187
7188 if test "$wxUSE_TEXTBUFFER" = yes; then
7189 { echo "$as_me:$LINENO: result: yes" >&5
7190 echo "${ECHO_T}yes" >&6; }
7191 else
7192 { echo "$as_me:$LINENO: result: no" >&5
7193 echo "${ECHO_T}no" >&6; }
7194 fi
7195
7196
7197 enablestring=
7198 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7199 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7200 no_cache=0
7201 # Check whether --enable-textfile was given.
7202 if test "${enable_textfile+set}" = set; then
7203 enableval=$enable_textfile;
7204 if test "$enableval" = yes; then
7205 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7206 else
7207 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7208 fi
7209
7210 else
7211
7212 LINE=`grep "^wxUSE_TEXTFILE=" ${wx_arg_cache_file}`
7213 if test "x$LINE" != x ; then
7214 eval "DEFAULT_$LINE"
7215 else
7216 no_cache=1
7217 fi
7218
7219 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7220
7221 fi
7222
7223
7224 eval "$ac_cv_use_textfile"
7225 if test "$no_cache" != 1; then
7226 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7227 fi
7228
7229 if test "$wxUSE_TEXTFILE" = yes; then
7230 { echo "$as_me:$LINENO: result: yes" >&5
7231 echo "${ECHO_T}yes" >&6; }
7232 else
7233 { echo "$as_me:$LINENO: result: no" >&5
7234 echo "${ECHO_T}no" >&6; }
7235 fi
7236
7237
7238 enablestring=
7239 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7240 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7241 no_cache=0
7242 # Check whether --enable-timer was given.
7243 if test "${enable_timer+set}" = set; then
7244 enableval=$enable_timer;
7245 if test "$enableval" = yes; then
7246 ac_cv_use_timer='wxUSE_TIMER=yes'
7247 else
7248 ac_cv_use_timer='wxUSE_TIMER=no'
7249 fi
7250
7251 else
7252
7253 LINE=`grep "^wxUSE_TIMER=" ${wx_arg_cache_file}`
7254 if test "x$LINE" != x ; then
7255 eval "DEFAULT_$LINE"
7256 else
7257 no_cache=1
7258 fi
7259
7260 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7261
7262 fi
7263
7264
7265 eval "$ac_cv_use_timer"
7266 if test "$no_cache" != 1; then
7267 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7268 fi
7269
7270 if test "$wxUSE_TIMER" = yes; then
7271 { echo "$as_me:$LINENO: result: yes" >&5
7272 echo "${ECHO_T}yes" >&6; }
7273 else
7274 { echo "$as_me:$LINENO: result: no" >&5
7275 echo "${ECHO_T}no" >&6; }
7276 fi
7277
7278
7279 enablestring=
7280 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7281 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7282 no_cache=0
7283 # Check whether --enable-unicode was given.
7284 if test "${enable_unicode+set}" = set; then
7285 enableval=$enable_unicode;
7286 if test "$enableval" = yes; then
7287 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7288 else
7289 ac_cv_use_unicode='wxUSE_UNICODE=no'
7290 fi
7291
7292 else
7293
7294 LINE=`grep "^wxUSE_UNICODE=" ${wx_arg_cache_file}`
7295 if test "x$LINE" != x ; then
7296 eval "DEFAULT_$LINE"
7297 else
7298 no_cache=1
7299 fi
7300
7301 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7302
7303 fi
7304
7305
7306 eval "$ac_cv_use_unicode"
7307 if test "$no_cache" != 1; then
7308 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7309 fi
7310
7311 if test "$wxUSE_UNICODE" = yes; then
7312 { echo "$as_me:$LINENO: result: yes" >&5
7313 echo "${ECHO_T}yes" >&6; }
7314 else
7315 { echo "$as_me:$LINENO: result: no" >&5
7316 echo "${ECHO_T}no" >&6; }
7317 fi
7318
7319
7320 enablestring=
7321 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7322 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7323 no_cache=0
7324 # Check whether --enable-sound was given.
7325 if test "${enable_sound+set}" = set; then
7326 enableval=$enable_sound;
7327 if test "$enableval" = yes; then
7328 ac_cv_use_sound='wxUSE_SOUND=yes'
7329 else
7330 ac_cv_use_sound='wxUSE_SOUND=no'
7331 fi
7332
7333 else
7334
7335 LINE=`grep "^wxUSE_SOUND=" ${wx_arg_cache_file}`
7336 if test "x$LINE" != x ; then
7337 eval "DEFAULT_$LINE"
7338 else
7339 no_cache=1
7340 fi
7341
7342 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7343
7344 fi
7345
7346
7347 eval "$ac_cv_use_sound"
7348 if test "$no_cache" != 1; then
7349 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7350 fi
7351
7352 if test "$wxUSE_SOUND" = yes; then
7353 { echo "$as_me:$LINENO: result: yes" >&5
7354 echo "${ECHO_T}yes" >&6; }
7355 else
7356 { echo "$as_me:$LINENO: result: no" >&5
7357 echo "${ECHO_T}no" >&6; }
7358 fi
7359
7360
7361 enablestring=
7362 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7363 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7364 no_cache=0
7365 # Check whether --enable-mediactrl was given.
7366 if test "${enable_mediactrl+set}" = set; then
7367 enableval=$enable_mediactrl;
7368 if test "$enableval" = yes; then
7369 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7370 else
7371 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7372 fi
7373
7374 else
7375
7376 LINE=`grep "^wxUSE_MEDIACTRL=" ${wx_arg_cache_file}`
7377 if test "x$LINE" != x ; then
7378 eval "DEFAULT_$LINE"
7379 else
7380 no_cache=1
7381 fi
7382
7383 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7384
7385 fi
7386
7387
7388 eval "$ac_cv_use_mediactrl"
7389 if test "$no_cache" != 1; then
7390 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7391 fi
7392
7393 if test "$wxUSE_MEDIACTRL" = yes; then
7394 { echo "$as_me:$LINENO: result: yes" >&5
7395 echo "${ECHO_T}yes" >&6; }
7396 else
7397 { echo "$as_me:$LINENO: result: no" >&5
7398 echo "${ECHO_T}no" >&6; }
7399 fi
7400
7401
7402 enablestring=
7403 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7404 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7405 no_cache=0
7406 # Check whether --enable-gstreamer8 was given.
7407 if test "${enable_gstreamer8+set}" = set; then
7408 enableval=$enable_gstreamer8;
7409 if test "$enableval" = yes; then
7410 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7411 else
7412 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7413 fi
7414
7415 else
7416
7417 LINE=`grep "^wxUSE_GSTREAMER8=" ${wx_arg_cache_file}`
7418 if test "x$LINE" != x ; then
7419 eval "DEFAULT_$LINE"
7420 else
7421 no_cache=1
7422 fi
7423
7424 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7425
7426 fi
7427
7428
7429 eval "$ac_cv_use_gstreamer8"
7430 if test "$no_cache" != 1; then
7431 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7432 fi
7433
7434 if test "$wxUSE_GSTREAMER8" = yes; then
7435 { echo "$as_me:$LINENO: result: yes" >&5
7436 echo "${ECHO_T}yes" >&6; }
7437 else
7438 { echo "$as_me:$LINENO: result: no" >&5
7439 echo "${ECHO_T}no" >&6; }
7440 fi
7441
7442
7443 enablestring=
7444 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7445 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7446 no_cache=0
7447 # Check whether --enable-printfposparam was given.
7448 if test "${enable_printfposparam+set}" = set; then
7449 enableval=$enable_printfposparam;
7450 if test "$enableval" = yes; then
7451 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7452 else
7453 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7454 fi
7455
7456 else
7457
7458 LINE=`grep "^wxUSE_PRINTF_POS_PARAMS=" ${wx_arg_cache_file}`
7459 if test "x$LINE" != x ; then
7460 eval "DEFAULT_$LINE"
7461 else
7462 no_cache=1
7463 fi
7464
7465 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7466
7467 fi
7468
7469
7470 eval "$ac_cv_use_printfposparam"
7471 if test "$no_cache" != 1; then
7472 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7473 fi
7474
7475 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7476 { echo "$as_me:$LINENO: result: yes" >&5
7477 echo "${ECHO_T}yes" >&6; }
7478 else
7479 { echo "$as_me:$LINENO: result: no" >&5
7480 echo "${ECHO_T}no" >&6; }
7481 fi
7482
7483
7484 enablestring=
7485 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7486 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7487 no_cache=0
7488 # Check whether --enable-zipstream was given.
7489 if test "${enable_zipstream+set}" = set; then
7490 enableval=$enable_zipstream;
7491 if test "$enableval" = yes; then
7492 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7493 else
7494 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7495 fi
7496
7497 else
7498
7499 LINE=`grep "^wxUSE_ZIPSTREAM=" ${wx_arg_cache_file}`
7500 if test "x$LINE" != x ; then
7501 eval "DEFAULT_$LINE"
7502 else
7503 no_cache=1
7504 fi
7505
7506 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7507
7508 fi
7509
7510
7511 eval "$ac_cv_use_zipstream"
7512 if test "$no_cache" != 1; then
7513 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7514 fi
7515
7516 if test "$wxUSE_ZIPSTREAM" = yes; then
7517 { echo "$as_me:$LINENO: result: yes" >&5
7518 echo "${ECHO_T}yes" >&6; }
7519 else
7520 { echo "$as_me:$LINENO: result: no" >&5
7521 echo "${ECHO_T}no" >&6; }
7522 fi
7523
7524
7525
7526 enablestring=
7527 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7528 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7529 no_cache=0
7530 # Check whether --enable-url was given.
7531 if test "${enable_url+set}" = set; then
7532 enableval=$enable_url;
7533 if test "$enableval" = yes; then
7534 ac_cv_use_url='wxUSE_URL=yes'
7535 else
7536 ac_cv_use_url='wxUSE_URL=no'
7537 fi
7538
7539 else
7540
7541 LINE=`grep "^wxUSE_URL=" ${wx_arg_cache_file}`
7542 if test "x$LINE" != x ; then
7543 eval "DEFAULT_$LINE"
7544 else
7545 no_cache=1
7546 fi
7547
7548 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7549
7550 fi
7551
7552
7553 eval "$ac_cv_use_url"
7554 if test "$no_cache" != 1; then
7555 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7556 fi
7557
7558 if test "$wxUSE_URL" = yes; then
7559 { echo "$as_me:$LINENO: result: yes" >&5
7560 echo "${ECHO_T}yes" >&6; }
7561 else
7562 { echo "$as_me:$LINENO: result: no" >&5
7563 echo "${ECHO_T}no" >&6; }
7564 fi
7565
7566
7567 enablestring=
7568 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7569 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7570 no_cache=0
7571 # Check whether --enable-variant was given.
7572 if test "${enable_variant+set}" = set; then
7573 enableval=$enable_variant;
7574 if test "$enableval" = yes; then
7575 ac_cv_use_variant='wxUSE_VARIANT=yes'
7576 else
7577 ac_cv_use_variant='wxUSE_VARIANT=no'
7578 fi
7579
7580 else
7581
7582 LINE=`grep "^wxUSE_VARIANT=" ${wx_arg_cache_file}`
7583 if test "x$LINE" != x ; then
7584 eval "DEFAULT_$LINE"
7585 else
7586 no_cache=1
7587 fi
7588
7589 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7590
7591 fi
7592
7593
7594 eval "$ac_cv_use_variant"
7595 if test "$no_cache" != 1; then
7596 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7597 fi
7598
7599 if test "$wxUSE_VARIANT" = yes; then
7600 { echo "$as_me:$LINENO: result: yes" >&5
7601 echo "${ECHO_T}yes" >&6; }
7602 else
7603 { echo "$as_me:$LINENO: result: no" >&5
7604 echo "${ECHO_T}no" >&6; }
7605 fi
7606
7607
7608 enablestring=
7609 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7610 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7611 no_cache=0
7612 # Check whether --enable-protocol was given.
7613 if test "${enable_protocol+set}" = set; then
7614 enableval=$enable_protocol;
7615 if test "$enableval" = yes; then
7616 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7617 else
7618 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7619 fi
7620
7621 else
7622
7623 LINE=`grep "^wxUSE_PROTOCOL=" ${wx_arg_cache_file}`
7624 if test "x$LINE" != x ; then
7625 eval "DEFAULT_$LINE"
7626 else
7627 no_cache=1
7628 fi
7629
7630 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7631
7632 fi
7633
7634
7635 eval "$ac_cv_use_protocol"
7636 if test "$no_cache" != 1; then
7637 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7638 fi
7639
7640 if test "$wxUSE_PROTOCOL" = yes; then
7641 { echo "$as_me:$LINENO: result: yes" >&5
7642 echo "${ECHO_T}yes" >&6; }
7643 else
7644 { echo "$as_me:$LINENO: result: no" >&5
7645 echo "${ECHO_T}no" >&6; }
7646 fi
7647
7648
7649 enablestring=
7650 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7651 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7652 no_cache=0
7653 # Check whether --enable-protocol_http was given.
7654 if test "${enable_protocol_http+set}" = set; then
7655 enableval=$enable_protocol_http;
7656 if test "$enableval" = yes; then
7657 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7658 else
7659 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7660 fi
7661
7662 else
7663
7664 LINE=`grep "^wxUSE_PROTOCOL_HTTP=" ${wx_arg_cache_file}`
7665 if test "x$LINE" != x ; then
7666 eval "DEFAULT_$LINE"
7667 else
7668 no_cache=1
7669 fi
7670
7671 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7672
7673 fi
7674
7675
7676 eval "$ac_cv_use_protocol_http"
7677 if test "$no_cache" != 1; then
7678 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7679 fi
7680
7681 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7682 { echo "$as_me:$LINENO: result: yes" >&5
7683 echo "${ECHO_T}yes" >&6; }
7684 else
7685 { echo "$as_me:$LINENO: result: no" >&5
7686 echo "${ECHO_T}no" >&6; }
7687 fi
7688
7689
7690 enablestring=
7691 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7692 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7693 no_cache=0
7694 # Check whether --enable-protocol_ftp was given.
7695 if test "${enable_protocol_ftp+set}" = set; then
7696 enableval=$enable_protocol_ftp;
7697 if test "$enableval" = yes; then
7698 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7699 else
7700 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7701 fi
7702
7703 else
7704
7705 LINE=`grep "^wxUSE_PROTOCOL_FTP=" ${wx_arg_cache_file}`
7706 if test "x$LINE" != x ; then
7707 eval "DEFAULT_$LINE"
7708 else
7709 no_cache=1
7710 fi
7711
7712 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7713
7714 fi
7715
7716
7717 eval "$ac_cv_use_protocol_ftp"
7718 if test "$no_cache" != 1; then
7719 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7720 fi
7721
7722 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7723 { echo "$as_me:$LINENO: result: yes" >&5
7724 echo "${ECHO_T}yes" >&6; }
7725 else
7726 { echo "$as_me:$LINENO: result: no" >&5
7727 echo "${ECHO_T}no" >&6; }
7728 fi
7729
7730
7731 enablestring=
7732 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7733 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7734 no_cache=0
7735 # Check whether --enable-protocol_file was given.
7736 if test "${enable_protocol_file+set}" = set; then
7737 enableval=$enable_protocol_file;
7738 if test "$enableval" = yes; then
7739 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7740 else
7741 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7742 fi
7743
7744 else
7745
7746 LINE=`grep "^wxUSE_PROTOCOL_FILE=" ${wx_arg_cache_file}`
7747 if test "x$LINE" != x ; then
7748 eval "DEFAULT_$LINE"
7749 else
7750 no_cache=1
7751 fi
7752
7753 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7754
7755 fi
7756
7757
7758 eval "$ac_cv_use_protocol_file"
7759 if test "$no_cache" != 1; then
7760 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7761 fi
7762
7763 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7764 { echo "$as_me:$LINENO: result: yes" >&5
7765 echo "${ECHO_T}yes" >&6; }
7766 else
7767 { echo "$as_me:$LINENO: result: no" >&5
7768 echo "${ECHO_T}no" >&6; }
7769 fi
7770
7771
7772
7773
7774
7775 enablestring=
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7778 no_cache=0
7779 # Check whether --enable-threads was given.
7780 if test "${enable_threads+set}" = set; then
7781 enableval=$enable_threads;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_threads='wxUSE_THREADS=yes'
7784 else
7785 ac_cv_use_threads='wxUSE_THREADS=no'
7786 fi
7787
7788 else
7789
7790 LINE=`grep "^wxUSE_THREADS=" ${wx_arg_cache_file}`
7791 if test "x$LINE" != x ; then
7792 eval "DEFAULT_$LINE"
7793 else
7794 no_cache=1
7795 fi
7796
7797 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7798
7799 fi
7800
7801
7802 eval "$ac_cv_use_threads"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7805 fi
7806
7807 if test "$wxUSE_THREADS" = yes; then
7808 { echo "$as_me:$LINENO: result: yes" >&5
7809 echo "${ECHO_T}yes" >&6; }
7810 else
7811 { echo "$as_me:$LINENO: result: no" >&5
7812 echo "${ECHO_T}no" >&6; }
7813 fi
7814
7815
7816 if test "$wxUSE_GUI" = "yes"; then
7817
7818
7819
7820 enablestring=
7821 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7822 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7823 no_cache=0
7824 # Check whether --enable-docview was given.
7825 if test "${enable_docview+set}" = set; then
7826 enableval=$enable_docview;
7827 if test "$enableval" = yes; then
7828 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7829 else
7830 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7831 fi
7832
7833 else
7834
7835 LINE=`grep "^wxUSE_DOC_VIEW_ARCHITECTURE=" ${wx_arg_cache_file}`
7836 if test "x$LINE" != x ; then
7837 eval "DEFAULT_$LINE"
7838 else
7839 no_cache=1
7840 fi
7841
7842 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7843
7844 fi
7845
7846
7847 eval "$ac_cv_use_docview"
7848 if test "$no_cache" != 1; then
7849 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7850 fi
7851
7852 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7853 { echo "$as_me:$LINENO: result: yes" >&5
7854 echo "${ECHO_T}yes" >&6; }
7855 else
7856 { echo "$as_me:$LINENO: result: no" >&5
7857 echo "${ECHO_T}no" >&6; }
7858 fi
7859
7860
7861 enablestring=
7862 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7863 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7864 no_cache=0
7865 # Check whether --enable-help was given.
7866 if test "${enable_help+set}" = set; then
7867 enableval=$enable_help;
7868 if test "$enableval" = yes; then
7869 ac_cv_use_help='wxUSE_HELP=yes'
7870 else
7871 ac_cv_use_help='wxUSE_HELP=no'
7872 fi
7873
7874 else
7875
7876 LINE=`grep "^wxUSE_HELP=" ${wx_arg_cache_file}`
7877 if test "x$LINE" != x ; then
7878 eval "DEFAULT_$LINE"
7879 else
7880 no_cache=1
7881 fi
7882
7883 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7884
7885 fi
7886
7887
7888 eval "$ac_cv_use_help"
7889 if test "$no_cache" != 1; then
7890 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7891 fi
7892
7893 if test "$wxUSE_HELP" = yes; then
7894 { echo "$as_me:$LINENO: result: yes" >&5
7895 echo "${ECHO_T}yes" >&6; }
7896 else
7897 { echo "$as_me:$LINENO: result: no" >&5
7898 echo "${ECHO_T}no" >&6; }
7899 fi
7900
7901
7902 enablestring=
7903 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7904 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7905 no_cache=0
7906 # Check whether --enable-mshtmlhelp was given.
7907 if test "${enable_mshtmlhelp+set}" = set; then
7908 enableval=$enable_mshtmlhelp;
7909 if test "$enableval" = yes; then
7910 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7911 else
7912 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7913 fi
7914
7915 else
7916
7917 LINE=`grep "^wxUSE_MS_HTML_HELP=" ${wx_arg_cache_file}`
7918 if test "x$LINE" != x ; then
7919 eval "DEFAULT_$LINE"
7920 else
7921 no_cache=1
7922 fi
7923
7924 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7925
7926 fi
7927
7928
7929 eval "$ac_cv_use_mshtmlhelp"
7930 if test "$no_cache" != 1; then
7931 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7932 fi
7933
7934 if test "$wxUSE_MS_HTML_HELP" = yes; then
7935 { echo "$as_me:$LINENO: result: yes" >&5
7936 echo "${ECHO_T}yes" >&6; }
7937 else
7938 { echo "$as_me:$LINENO: result: no" >&5
7939 echo "${ECHO_T}no" >&6; }
7940 fi
7941
7942
7943 enablestring=
7944 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7945 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7946 no_cache=0
7947 # Check whether --enable-html was given.
7948 if test "${enable_html+set}" = set; then
7949 enableval=$enable_html;
7950 if test "$enableval" = yes; then
7951 ac_cv_use_html='wxUSE_HTML=yes'
7952 else
7953 ac_cv_use_html='wxUSE_HTML=no'
7954 fi
7955
7956 else
7957
7958 LINE=`grep "^wxUSE_HTML=" ${wx_arg_cache_file}`
7959 if test "x$LINE" != x ; then
7960 eval "DEFAULT_$LINE"
7961 else
7962 no_cache=1
7963 fi
7964
7965 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7966
7967 fi
7968
7969
7970 eval "$ac_cv_use_html"
7971 if test "$no_cache" != 1; then
7972 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7973 fi
7974
7975 if test "$wxUSE_HTML" = yes; then
7976 { echo "$as_me:$LINENO: result: yes" >&5
7977 echo "${ECHO_T}yes" >&6; }
7978 else
7979 { echo "$as_me:$LINENO: result: no" >&5
7980 echo "${ECHO_T}no" >&6; }
7981 fi
7982
7983
7984 enablestring=
7985 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7986 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7987 no_cache=0
7988 # Check whether --enable-htmlhelp was given.
7989 if test "${enable_htmlhelp+set}" = set; then
7990 enableval=$enable_htmlhelp;
7991 if test "$enableval" = yes; then
7992 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7993 else
7994 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7995 fi
7996
7997 else
7998
7999 LINE=`grep "^wxUSE_WXHTML_HELP=" ${wx_arg_cache_file}`
8000 if test "x$LINE" != x ; then
8001 eval "DEFAULT_$LINE"
8002 else
8003 no_cache=1
8004 fi
8005
8006 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
8007
8008 fi
8009
8010
8011 eval "$ac_cv_use_htmlhelp"
8012 if test "$no_cache" != 1; then
8013 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
8014 fi
8015
8016 if test "$wxUSE_WXHTML_HELP" = yes; then
8017 { echo "$as_me:$LINENO: result: yes" >&5
8018 echo "${ECHO_T}yes" >&6; }
8019 else
8020 { echo "$as_me:$LINENO: result: no" >&5
8021 echo "${ECHO_T}no" >&6; }
8022 fi
8023
8024
8025 enablestring=
8026 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
8027 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
8028 no_cache=0
8029 # Check whether --enable-xrc was given.
8030 if test "${enable_xrc+set}" = set; then
8031 enableval=$enable_xrc;
8032 if test "$enableval" = yes; then
8033 ac_cv_use_xrc='wxUSE_XRC=yes'
8034 else
8035 ac_cv_use_xrc='wxUSE_XRC=no'
8036 fi
8037
8038 else
8039
8040 LINE=`grep "^wxUSE_XRC=" ${wx_arg_cache_file}`
8041 if test "x$LINE" != x ; then
8042 eval "DEFAULT_$LINE"
8043 else
8044 no_cache=1
8045 fi
8046
8047 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
8048
8049 fi
8050
8051
8052 eval "$ac_cv_use_xrc"
8053 if test "$no_cache" != 1; then
8054 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
8055 fi
8056
8057 if test "$wxUSE_XRC" = yes; then
8058 { echo "$as_me:$LINENO: result: yes" >&5
8059 echo "${ECHO_T}yes" >&6; }
8060 else
8061 { echo "$as_me:$LINENO: result: no" >&5
8062 echo "${ECHO_T}no" >&6; }
8063 fi
8064
8065
8066 enablestring=
8067 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
8068 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
8069 no_cache=0
8070 # Check whether --enable-aui was given.
8071 if test "${enable_aui+set}" = set; then
8072 enableval=$enable_aui;
8073 if test "$enableval" = yes; then
8074 ac_cv_use_aui='wxUSE_AUI=yes'
8075 else
8076 ac_cv_use_aui='wxUSE_AUI=no'
8077 fi
8078
8079 else
8080
8081 LINE=`grep "^wxUSE_AUI=" ${wx_arg_cache_file}`
8082 if test "x$LINE" != x ; then
8083 eval "DEFAULT_$LINE"
8084 else
8085 no_cache=1
8086 fi
8087
8088 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
8089
8090 fi
8091
8092
8093 eval "$ac_cv_use_aui"
8094 if test "$no_cache" != 1; then
8095 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
8096 fi
8097
8098 if test "$wxUSE_AUI" = yes; then
8099 { echo "$as_me:$LINENO: result: yes" >&5
8100 echo "${ECHO_T}yes" >&6; }
8101 else
8102 { echo "$as_me:$LINENO: result: no" >&5
8103 echo "${ECHO_T}no" >&6; }
8104 fi
8105
8106
8107 enablestring=
8108 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
8109 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
8110 no_cache=0
8111 # Check whether --enable-stc was given.
8112 if test "${enable_stc+set}" = set; then
8113 enableval=$enable_stc;
8114 if test "$enableval" = yes; then
8115 ac_cv_use_stc='wxUSE_STC=yes'
8116 else
8117 ac_cv_use_stc='wxUSE_STC=no'
8118 fi
8119
8120 else
8121
8122 LINE=`grep "^wxUSE_STC=" ${wx_arg_cache_file}`
8123 if test "x$LINE" != x ; then
8124 eval "DEFAULT_$LINE"
8125 else
8126 no_cache=1
8127 fi
8128
8129 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8130
8131 fi
8132
8133
8134 eval "$ac_cv_use_stc"
8135 if test "$no_cache" != 1; then
8136 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8137 fi
8138
8139 if test "$wxUSE_STC" = yes; then
8140 { echo "$as_me:$LINENO: result: yes" >&5
8141 echo "${ECHO_T}yes" >&6; }
8142 else
8143 { echo "$as_me:$LINENO: result: no" >&5
8144 echo "${ECHO_T}no" >&6; }
8145 fi
8146
8147
8148 enablestring=
8149 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8150 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8151 no_cache=0
8152 # Check whether --enable-constraints was given.
8153 if test "${enable_constraints+set}" = set; then
8154 enableval=$enable_constraints;
8155 if test "$enableval" = yes; then
8156 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8157 else
8158 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8159 fi
8160
8161 else
8162
8163 LINE=`grep "^wxUSE_CONSTRAINTS=" ${wx_arg_cache_file}`
8164 if test "x$LINE" != x ; then
8165 eval "DEFAULT_$LINE"
8166 else
8167 no_cache=1
8168 fi
8169
8170 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8171
8172 fi
8173
8174
8175 eval "$ac_cv_use_constraints"
8176 if test "$no_cache" != 1; then
8177 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8178 fi
8179
8180 if test "$wxUSE_CONSTRAINTS" = yes; then
8181 { echo "$as_me:$LINENO: result: yes" >&5
8182 echo "${ECHO_T}yes" >&6; }
8183 else
8184 { echo "$as_me:$LINENO: result: no" >&5
8185 echo "${ECHO_T}no" >&6; }
8186 fi
8187
8188
8189 enablestring=
8190 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8191 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8192 no_cache=0
8193 # Check whether --enable-printarch was given.
8194 if test "${enable_printarch+set}" = set; then
8195 enableval=$enable_printarch;
8196 if test "$enableval" = yes; then
8197 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8198 else
8199 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8200 fi
8201
8202 else
8203
8204 LINE=`grep "^wxUSE_PRINTING_ARCHITECTURE=" ${wx_arg_cache_file}`
8205 if test "x$LINE" != x ; then
8206 eval "DEFAULT_$LINE"
8207 else
8208 no_cache=1
8209 fi
8210
8211 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8212
8213 fi
8214
8215
8216 eval "$ac_cv_use_printarch"
8217 if test "$no_cache" != 1; then
8218 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8219 fi
8220
8221 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8222 { echo "$as_me:$LINENO: result: yes" >&5
8223 echo "${ECHO_T}yes" >&6; }
8224 else
8225 { echo "$as_me:$LINENO: result: no" >&5
8226 echo "${ECHO_T}no" >&6; }
8227 fi
8228
8229
8230 enablestring=
8231 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8232 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8233 no_cache=0
8234 # Check whether --enable-mdi was given.
8235 if test "${enable_mdi+set}" = set; then
8236 enableval=$enable_mdi;
8237 if test "$enableval" = yes; then
8238 ac_cv_use_mdi='wxUSE_MDI=yes'
8239 else
8240 ac_cv_use_mdi='wxUSE_MDI=no'
8241 fi
8242
8243 else
8244
8245 LINE=`grep "^wxUSE_MDI=" ${wx_arg_cache_file}`
8246 if test "x$LINE" != x ; then
8247 eval "DEFAULT_$LINE"
8248 else
8249 no_cache=1
8250 fi
8251
8252 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8253
8254 fi
8255
8256
8257 eval "$ac_cv_use_mdi"
8258 if test "$no_cache" != 1; then
8259 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8260 fi
8261
8262 if test "$wxUSE_MDI" = yes; then
8263 { echo "$as_me:$LINENO: result: yes" >&5
8264 echo "${ECHO_T}yes" >&6; }
8265 else
8266 { echo "$as_me:$LINENO: result: no" >&5
8267 echo "${ECHO_T}no" >&6; }
8268 fi
8269
8270
8271 enablestring=
8272 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8273 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8274 no_cache=0
8275 # Check whether --enable-mdidoc was given.
8276 if test "${enable_mdidoc+set}" = set; then
8277 enableval=$enable_mdidoc;
8278 if test "$enableval" = yes; then
8279 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8280 else
8281 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8282 fi
8283
8284 else
8285
8286 LINE=`grep "^wxUSE_MDI_ARCHITECTURE=" ${wx_arg_cache_file}`
8287 if test "x$LINE" != x ; then
8288 eval "DEFAULT_$LINE"
8289 else
8290 no_cache=1
8291 fi
8292
8293 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8294
8295 fi
8296
8297
8298 eval "$ac_cv_use_mdidoc"
8299 if test "$no_cache" != 1; then
8300 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8301 fi
8302
8303 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8304 { echo "$as_me:$LINENO: result: yes" >&5
8305 echo "${ECHO_T}yes" >&6; }
8306 else
8307 { echo "$as_me:$LINENO: result: no" >&5
8308 echo "${ECHO_T}no" >&6; }
8309 fi
8310
8311
8312 enablestring=
8313 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8314 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8315 no_cache=0
8316 # Check whether --enable-loggui was given.
8317 if test "${enable_loggui+set}" = set; then
8318 enableval=$enable_loggui;
8319 if test "$enableval" = yes; then
8320 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8321 else
8322 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8323 fi
8324
8325 else
8326
8327 LINE=`grep "^wxUSE_LOGGUI=" ${wx_arg_cache_file}`
8328 if test "x$LINE" != x ; then
8329 eval "DEFAULT_$LINE"
8330 else
8331 no_cache=1
8332 fi
8333
8334 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8335
8336 fi
8337
8338
8339 eval "$ac_cv_use_loggui"
8340 if test "$no_cache" != 1; then
8341 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8342 fi
8343
8344 if test "$wxUSE_LOGGUI" = yes; then
8345 { echo "$as_me:$LINENO: result: yes" >&5
8346 echo "${ECHO_T}yes" >&6; }
8347 else
8348 { echo "$as_me:$LINENO: result: no" >&5
8349 echo "${ECHO_T}no" >&6; }
8350 fi
8351
8352
8353 enablestring=
8354 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8355 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8356 no_cache=0
8357 # Check whether --enable-logwin was given.
8358 if test "${enable_logwin+set}" = set; then
8359 enableval=$enable_logwin;
8360 if test "$enableval" = yes; then
8361 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8362 else
8363 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8364 fi
8365
8366 else
8367
8368 LINE=`grep "^wxUSE_LOGWINDOW=" ${wx_arg_cache_file}`
8369 if test "x$LINE" != x ; then
8370 eval "DEFAULT_$LINE"
8371 else
8372 no_cache=1
8373 fi
8374
8375 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8376
8377 fi
8378
8379
8380 eval "$ac_cv_use_logwin"
8381 if test "$no_cache" != 1; then
8382 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8383 fi
8384
8385 if test "$wxUSE_LOGWINDOW" = yes; then
8386 { echo "$as_me:$LINENO: result: yes" >&5
8387 echo "${ECHO_T}yes" >&6; }
8388 else
8389 { echo "$as_me:$LINENO: result: no" >&5
8390 echo "${ECHO_T}no" >&6; }
8391 fi
8392
8393
8394 enablestring=
8395 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8396 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8397 no_cache=0
8398 # Check whether --enable-logdialog was given.
8399 if test "${enable_logdialog+set}" = set; then
8400 enableval=$enable_logdialog;
8401 if test "$enableval" = yes; then
8402 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8403 else
8404 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8405 fi
8406
8407 else
8408
8409 LINE=`grep "^wxUSE_LOGDIALOG=" ${wx_arg_cache_file}`
8410 if test "x$LINE" != x ; then
8411 eval "DEFAULT_$LINE"
8412 else
8413 no_cache=1
8414 fi
8415
8416 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8417
8418 fi
8419
8420
8421 eval "$ac_cv_use_logdialog"
8422 if test "$no_cache" != 1; then
8423 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8424 fi
8425
8426 if test "$wxUSE_LOGDIALOG" = yes; then
8427 { echo "$as_me:$LINENO: result: yes" >&5
8428 echo "${ECHO_T}yes" >&6; }
8429 else
8430 { echo "$as_me:$LINENO: result: no" >&5
8431 echo "${ECHO_T}no" >&6; }
8432 fi
8433
8434
8435 enablestring=
8436 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8437 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8438 no_cache=0
8439 # Check whether --enable-webkit was given.
8440 if test "${enable_webkit+set}" = set; then
8441 enableval=$enable_webkit;
8442 if test "$enableval" = yes; then
8443 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8444 else
8445 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8446 fi
8447
8448 else
8449
8450 LINE=`grep "^wxUSE_WEBKIT=" ${wx_arg_cache_file}`
8451 if test "x$LINE" != x ; then
8452 eval "DEFAULT_$LINE"
8453 else
8454 no_cache=1
8455 fi
8456
8457 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8458
8459 fi
8460
8461
8462 eval "$ac_cv_use_webkit"
8463 if test "$no_cache" != 1; then
8464 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8465 fi
8466
8467 if test "$wxUSE_WEBKIT" = yes; then
8468 { echo "$as_me:$LINENO: result: yes" >&5
8469 echo "${ECHO_T}yes" >&6; }
8470 else
8471 { echo "$as_me:$LINENO: result: no" >&5
8472 echo "${ECHO_T}no" >&6; }
8473 fi
8474
8475
8476 enablestring=
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8479 no_cache=0
8480 # Check whether --enable-richtext was given.
8481 if test "${enable_richtext+set}" = set; then
8482 enableval=$enable_richtext;
8483 if test "$enableval" = yes; then
8484 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8485 else
8486 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8487 fi
8488
8489 else
8490
8491 LINE=`grep "^wxUSE_RICHTEXT=" ${wx_arg_cache_file}`
8492 if test "x$LINE" != x ; then
8493 eval "DEFAULT_$LINE"
8494 else
8495 no_cache=1
8496 fi
8497
8498 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8499
8500 fi
8501
8502
8503 eval "$ac_cv_use_richtext"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8506 fi
8507
8508 if test "$wxUSE_RICHTEXT" = yes; then
8509 { echo "$as_me:$LINENO: result: yes" >&5
8510 echo "${ECHO_T}yes" >&6; }
8511 else
8512 { echo "$as_me:$LINENO: result: no" >&5
8513 echo "${ECHO_T}no" >&6; }
8514 fi
8515
8516
8517 enablestring=
8518 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8520 no_cache=0
8521 # Check whether --enable-graphics_ctx was given.
8522 if test "${enable_graphics_ctx+set}" = set; then
8523 enableval=$enable_graphics_ctx;
8524 if test "$enableval" = yes; then
8525 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8526 else
8527 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8528 fi
8529
8530 else
8531
8532 LINE=`grep "^wxUSE_GRAPHICS_CONTEXT=" ${wx_arg_cache_file}`
8533 if test "x$LINE" != x ; then
8534 eval "DEFAULT_$LINE"
8535 else
8536 no_cache=1
8537 fi
8538
8539 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8540
8541 fi
8542
8543
8544 eval "$ac_cv_use_graphics_ctx"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8547 fi
8548
8549 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8550 { echo "$as_me:$LINENO: result: yes" >&5
8551 echo "${ECHO_T}yes" >&6; }
8552 else
8553 { echo "$as_me:$LINENO: result: no" >&5
8554 echo "${ECHO_T}no" >&6; }
8555 fi
8556
8557
8558
8559 enablestring=
8560 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8561 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8562 no_cache=0
8563 # Check whether --enable-postscript was given.
8564 if test "${enable_postscript+set}" = set; then
8565 enableval=$enable_postscript;
8566 if test "$enableval" = yes; then
8567 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8568 else
8569 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8570 fi
8571
8572 else
8573
8574 LINE=`grep "^wxUSE_POSTSCRIPT=" ${wx_arg_cache_file}`
8575 if test "x$LINE" != x ; then
8576 eval "DEFAULT_$LINE"
8577 else
8578 no_cache=1
8579 fi
8580
8581 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8582
8583 fi
8584
8585
8586 eval "$ac_cv_use_postscript"
8587 if test "$no_cache" != 1; then
8588 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8589 fi
8590
8591 if test "$wxUSE_POSTSCRIPT" = yes; then
8592 { echo "$as_me:$LINENO: result: yes" >&5
8593 echo "${ECHO_T}yes" >&6; }
8594 else
8595 { echo "$as_me:$LINENO: result: no" >&5
8596 echo "${ECHO_T}no" >&6; }
8597 fi
8598
8599
8600
8601
8602
8603 enablestring=
8604 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8605 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8606 no_cache=0
8607 # Check whether --enable-clipboard was given.
8608 if test "${enable_clipboard+set}" = set; then
8609 enableval=$enable_clipboard;
8610 if test "$enableval" = yes; then
8611 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8612 else
8613 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8614 fi
8615
8616 else
8617
8618 LINE=`grep "^wxUSE_CLIPBOARD=" ${wx_arg_cache_file}`
8619 if test "x$LINE" != x ; then
8620 eval "DEFAULT_$LINE"
8621 else
8622 no_cache=1
8623 fi
8624
8625 ac_cv_use_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8626
8627 fi
8628
8629
8630 eval "$ac_cv_use_clipboard"
8631 if test "$no_cache" != 1; then
8632 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8633 fi
8634
8635 if test "$wxUSE_CLIPBOARD" = yes; then
8636 { echo "$as_me:$LINENO: result: yes" >&5
8637 echo "${ECHO_T}yes" >&6; }
8638 else
8639 { echo "$as_me:$LINENO: result: no" >&5
8640 echo "${ECHO_T}no" >&6; }
8641 fi
8642
8643
8644 enablestring=
8645 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dnd" >&5
8646 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8647 no_cache=0
8648 # Check whether --enable-dnd was given.
8649 if test "${enable_dnd+set}" = set; then
8650 enableval=$enable_dnd;
8651 if test "$enableval" = yes; then
8652 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8653 else
8654 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8655 fi
8656
8657 else
8658
8659 LINE=`grep "^wxUSE_DRAG_AND_DROP=" ${wx_arg_cache_file}`
8660 if test "x$LINE" != x ; then
8661 eval "DEFAULT_$LINE"
8662 else
8663 no_cache=1
8664 fi
8665
8666 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8667
8668 fi
8669
8670
8671 eval "$ac_cv_use_dnd"
8672 if test "$no_cache" != 1; then
8673 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8674 fi
8675
8676 if test "$wxUSE_DRAG_AND_DROP" = yes; then
8677 { echo "$as_me:$LINENO: result: yes" >&5
8678 echo "${ECHO_T}yes" >&6; }
8679 else
8680 { echo "$as_me:$LINENO: result: no" >&5
8681 echo "${ECHO_T}no" >&6; }
8682 fi
8683
8684
8685 enablestring=
8686 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8687 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8688 no_cache=0
8689 # Check whether --enable-metafile was given.
8690 if test "${enable_metafile+set}" = set; then
8691 enableval=$enable_metafile;
8692 if test "$enableval" = yes; then
8693 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8694 else
8695 ac_cv_use_metafile='wxUSE_METAFILE=no'
8696 fi
8697
8698 else
8699
8700 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
8701 if test "x$LINE" != x ; then
8702 eval "DEFAULT_$LINE"
8703 else
8704 no_cache=1
8705 fi
8706
8707 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8708
8709 fi
8710
8711
8712 eval "$ac_cv_use_metafile"
8713 if test "$no_cache" != 1; then
8714 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8715 fi
8716
8717 if test "$wxUSE_METAFILE" = yes; then
8718 { echo "$as_me:$LINENO: result: yes" >&5
8719 echo "${ECHO_T}yes" >&6; }
8720 else
8721 { echo "$as_me:$LINENO: result: no" >&5
8722 echo "${ECHO_T}no" >&6; }
8723 fi
8724
8725
8726
8727
8728
8729 enablestring=
8730 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8731 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8732 no_cache=0
8733 # Check whether --enable-controls was given.
8734 if test "${enable_controls+set}" = set; then
8735 enableval=$enable_controls;
8736 if test "$enableval" = yes; then
8737 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8738 else
8739 ac_cv_use_controls='wxUSE_CONTROLS=no'
8740 fi
8741
8742 else
8743
8744 LINE=`grep "^wxUSE_CONTROLS=" ${wx_arg_cache_file}`
8745 if test "x$LINE" != x ; then
8746 eval "DEFAULT_$LINE"
8747 else
8748 no_cache=1
8749 fi
8750
8751 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8752
8753 fi
8754
8755
8756 eval "$ac_cv_use_controls"
8757 if test "$no_cache" != 1; then
8758 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8759 fi
8760
8761 if test "$wxUSE_CONTROLS" = yes; then
8762 { echo "$as_me:$LINENO: result: yes" >&5
8763 echo "${ECHO_T}yes" >&6; }
8764 else
8765 { echo "$as_me:$LINENO: result: no" >&5
8766 echo "${ECHO_T}no" >&6; }
8767 fi
8768
8769
8770 if test "$wxUSE_CONTROLS" = "yes"; then
8771 DEFAULT_wxUSE_ACCEL=yes
8772 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8773 DEFAULT_wxUSE_BMPBUTTON=yes
8774 DEFAULT_wxUSE_BUTTON=yes
8775 DEFAULT_wxUSE_CALCTRL=yes
8776 DEFAULT_wxUSE_CARET=yes
8777 DEFAULT_wxUSE_COMBOBOX=yes
8778 DEFAULT_wxUSE_CHECKBOX=yes
8779 DEFAULT_wxUSE_CHECKLISTBOX=yes
8780 DEFAULT_wxUSE_CHOICE=yes
8781 DEFAULT_wxUSE_CHOICEBOOK=yes
8782 DEFAULT_wxUSE_COLLPANE=yes
8783 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8784 DEFAULT_wxUSE_COMBOBOX=yes
8785 DEFAULT_wxUSE_DATEPICKCTRL=yes
8786 DEFAULT_wxUSE_DISPLAY=yes
8787 DEFAULT_wxUSE_DETECT_SM=yes
8788 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8789 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8790 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8791 DEFAULT_wxUSE_GAUGE=yes
8792 DEFAULT_wxUSE_GRID=yes
8793 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8794 DEFAULT_wxUSE_DATAVIEWCTRL=no
8795 DEFAULT_wxUSE_IMAGLIST=yes
8796 DEFAULT_wxUSE_LISTBOOK=yes
8797 DEFAULT_wxUSE_LISTBOX=yes
8798 DEFAULT_wxUSE_LISTCTRL=yes
8799 DEFAULT_wxUSE_NOTEBOOK=yes
8800 DEFAULT_wxUSE_RADIOBOX=yes
8801 DEFAULT_wxUSE_RADIOBTN=yes
8802 DEFAULT_wxUSE_SASH=yes
8803 DEFAULT_wxUSE_SCROLLBAR=yes
8804 DEFAULT_wxUSE_SEARCHCTRL=yes
8805 DEFAULT_wxUSE_SLIDER=yes
8806 DEFAULT_wxUSE_SPINBTN=yes
8807 DEFAULT_wxUSE_SPINCTRL=yes
8808 DEFAULT_wxUSE_SPLITTER=yes
8809 DEFAULT_wxUSE_STATBMP=yes
8810 DEFAULT_wxUSE_STATBOX=yes
8811 DEFAULT_wxUSE_STATLINE=yes
8812 DEFAULT_wxUSE_STATUSBAR=yes
8813 DEFAULT_wxUSE_TAB_DIALOG=yes
8814 DEFAULT_wxUSE_TOGGLEBTN=yes
8815 DEFAULT_wxUSE_TOOLBAR=yes
8816 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8817 DEFAULT_wxUSE_TOOLTIPS=yes
8818 DEFAULT_wxUSE_TREEBOOK=yes
8819 DEFAULT_wxUSE_TOOLBOOK=yes
8820 DEFAULT_wxUSE_TREECTRL=yes
8821 DEFAULT_wxUSE_POPUPWIN=yes
8822 DEFAULT_wxUSE_TIPWINDOW=yes
8823 elif test "$wxUSE_CONTROLS" = "no"; then
8824 DEFAULT_wxUSE_ACCEL=no
8825 DEFAULT_wxUSE_ANIMATIONCTRL=no
8826 DEFAULT_wxUSE_BMPBUTTON=no
8827 DEFAULT_wxUSE_BUTTON=no
8828 DEFAULT_wxUSE_CALCTRL=no
8829 DEFAULT_wxUSE_CARET=no
8830 DEFAULT_wxUSE_COLLPANE=no
8831 DEFAULT_wxUSE_COMBOBOX=no
8832 DEFAULT_wxUSE_CHECKBOX=no
8833 DEFAULT_wxUSE_CHECKLISTBOX=no
8834 DEFAULT_wxUSE_CHOICE=no
8835 DEFAULT_wxUSE_CHOICEBOOK=no
8836 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8837 DEFAULT_wxUSE_COMBOBOX=no
8838 DEFAULT_wxUSE_DATEPICKCTRL=no
8839 DEFAULT_wxUSE_DISPLAY=no
8840 DEFAULT_wxUSE_DETECT_SM=no
8841 DEFAULT_wxUSE_DIRPICKERCTRL=no
8842 DEFAULT_wxUSE_FILEPICKERCTRL=no
8843 DEFAULT_wxUSE_FONTPICKERCTRL=no
8844 DEFAULT_wxUSE_GAUGE=no
8845 DEFAULT_wxUSE_GRID=no
8846 DEFAULT_wxUSE_HYPERLINKCTRL=no
8847 DEFAULT_wxUSE_DATAVIEWCTRL=no
8848 DEFAULT_wxUSE_IMAGLIST=no
8849 DEFAULT_wxUSE_LISTBOOK=no
8850 DEFAULT_wxUSE_LISTBOX=no
8851 DEFAULT_wxUSE_LISTCTRL=no
8852 DEFAULT_wxUSE_NOTEBOOK=no
8853 DEFAULT_wxUSE_RADIOBOX=no
8854 DEFAULT_wxUSE_RADIOBTN=no
8855 DEFAULT_wxUSE_SASH=no
8856 DEFAULT_wxUSE_SCROLLBAR=no
8857 DEFAULT_wxUSE_SEARCHCTRL=no
8858 DEFAULT_wxUSE_SLIDER=no
8859 DEFAULT_wxUSE_SPINBTN=no
8860 DEFAULT_wxUSE_SPINCTRL=no
8861 DEFAULT_wxUSE_SPLITTER=no
8862 DEFAULT_wxUSE_STATBMP=no
8863 DEFAULT_wxUSE_STATBOX=no
8864 DEFAULT_wxUSE_STATLINE=no
8865 DEFAULT_wxUSE_STATUSBAR=no
8866 DEFAULT_wxUSE_TAB_DIALOG=no
8867 DEFAULT_wxUSE_TOGGLEBTN=no
8868 DEFAULT_wxUSE_TOOLBAR=no
8869 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8870 DEFAULT_wxUSE_TOOLTIPS=no
8871 DEFAULT_wxUSE_TREEBOOK=no
8872 DEFAULT_wxUSE_TOOLBOOK=no
8873 DEFAULT_wxUSE_TREECTRL=no
8874 DEFAULT_wxUSE_POPUPWIN=no
8875 DEFAULT_wxUSE_TIPWINDOW=no
8876 fi
8877
8878
8879 enablestring=
8880 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8881 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8882 no_cache=0
8883 # Check whether --enable-accel was given.
8884 if test "${enable_accel+set}" = set; then
8885 enableval=$enable_accel;
8886 if test "$enableval" = yes; then
8887 ac_cv_use_accel='wxUSE_ACCEL=yes'
8888 else
8889 ac_cv_use_accel='wxUSE_ACCEL=no'
8890 fi
8891
8892 else
8893
8894 LINE=`grep "^wxUSE_ACCEL=" ${wx_arg_cache_file}`
8895 if test "x$LINE" != x ; then
8896 eval "DEFAULT_$LINE"
8897 else
8898 no_cache=1
8899 fi
8900
8901 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8902
8903 fi
8904
8905
8906 eval "$ac_cv_use_accel"
8907 if test "$no_cache" != 1; then
8908 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8909 fi
8910
8911 if test "$wxUSE_ACCEL" = yes; then
8912 { echo "$as_me:$LINENO: result: yes" >&5
8913 echo "${ECHO_T}yes" >&6; }
8914 else
8915 { echo "$as_me:$LINENO: result: no" >&5
8916 echo "${ECHO_T}no" >&6; }
8917 fi
8918
8919
8920 enablestring=
8921 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8922 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8923 no_cache=0
8924 # Check whether --enable-animatectrl was given.
8925 if test "${enable_animatectrl+set}" = set; then
8926 enableval=$enable_animatectrl;
8927 if test "$enableval" = yes; then
8928 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8929 else
8930 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8931 fi
8932
8933 else
8934
8935 LINE=`grep "^wxUSE_ANIMATIONCTRL=" ${wx_arg_cache_file}`
8936 if test "x$LINE" != x ; then
8937 eval "DEFAULT_$LINE"
8938 else
8939 no_cache=1
8940 fi
8941
8942 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8943
8944 fi
8945
8946
8947 eval "$ac_cv_use_animatectrl"
8948 if test "$no_cache" != 1; then
8949 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8950 fi
8951
8952 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8953 { echo "$as_me:$LINENO: result: yes" >&5
8954 echo "${ECHO_T}yes" >&6; }
8955 else
8956 { echo "$as_me:$LINENO: result: no" >&5
8957 echo "${ECHO_T}no" >&6; }
8958 fi
8959
8960
8961 enablestring=
8962 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8963 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8964 no_cache=0
8965 # Check whether --enable-button was given.
8966 if test "${enable_button+set}" = set; then
8967 enableval=$enable_button;
8968 if test "$enableval" = yes; then
8969 ac_cv_use_button='wxUSE_BUTTON=yes'
8970 else
8971 ac_cv_use_button='wxUSE_BUTTON=no'
8972 fi
8973
8974 else
8975
8976 LINE=`grep "^wxUSE_BUTTON=" ${wx_arg_cache_file}`
8977 if test "x$LINE" != x ; then
8978 eval "DEFAULT_$LINE"
8979 else
8980 no_cache=1
8981 fi
8982
8983 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8984
8985 fi
8986
8987
8988 eval "$ac_cv_use_button"
8989 if test "$no_cache" != 1; then
8990 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8991 fi
8992
8993 if test "$wxUSE_BUTTON" = yes; then
8994 { echo "$as_me:$LINENO: result: yes" >&5
8995 echo "${ECHO_T}yes" >&6; }
8996 else
8997 { echo "$as_me:$LINENO: result: no" >&5
8998 echo "${ECHO_T}no" >&6; }
8999 fi
9000
9001
9002 enablestring=
9003 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
9004 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
9005 no_cache=0
9006 # Check whether --enable-bmpbutton was given.
9007 if test "${enable_bmpbutton+set}" = set; then
9008 enableval=$enable_bmpbutton;
9009 if test "$enableval" = yes; then
9010 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
9011 else
9012 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
9013 fi
9014
9015 else
9016
9017 LINE=`grep "^wxUSE_BMPBUTTON=" ${wx_arg_cache_file}`
9018 if test "x$LINE" != x ; then
9019 eval "DEFAULT_$LINE"
9020 else
9021 no_cache=1
9022 fi
9023
9024 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
9025
9026 fi
9027
9028
9029 eval "$ac_cv_use_bmpbutton"
9030 if test "$no_cache" != 1; then
9031 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
9032 fi
9033
9034 if test "$wxUSE_BMPBUTTON" = yes; then
9035 { echo "$as_me:$LINENO: result: yes" >&5
9036 echo "${ECHO_T}yes" >&6; }
9037 else
9038 { echo "$as_me:$LINENO: result: no" >&5
9039 echo "${ECHO_T}no" >&6; }
9040 fi
9041
9042
9043 enablestring=
9044 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
9045 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
9046 no_cache=0
9047 # Check whether --enable-bmpcombobox was given.
9048 if test "${enable_bmpcombobox+set}" = set; then
9049 enableval=$enable_bmpcombobox;
9050 if test "$enableval" = yes; then
9051 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
9052 else
9053 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
9054 fi
9055
9056 else
9057
9058 LINE=`grep "^wxUSE_BITMAPCOMBOBOX=" ${wx_arg_cache_file}`
9059 if test "x$LINE" != x ; then
9060 eval "DEFAULT_$LINE"
9061 else
9062 no_cache=1
9063 fi
9064
9065 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
9066
9067 fi
9068
9069
9070 eval "$ac_cv_use_bmpcombobox"
9071 if test "$no_cache" != 1; then
9072 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
9073 fi
9074
9075 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
9076 { echo "$as_me:$LINENO: result: yes" >&5
9077 echo "${ECHO_T}yes" >&6; }
9078 else
9079 { echo "$as_me:$LINENO: result: no" >&5
9080 echo "${ECHO_T}no" >&6; }
9081 fi
9082
9083
9084 enablestring=
9085 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
9086 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
9087 no_cache=0
9088 # Check whether --enable-calendar was given.
9089 if test "${enable_calendar+set}" = set; then
9090 enableval=$enable_calendar;
9091 if test "$enableval" = yes; then
9092 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
9093 else
9094 ac_cv_use_calendar='wxUSE_CALCTRL=no'
9095 fi
9096
9097 else
9098
9099 LINE=`grep "^wxUSE_CALCTRL=" ${wx_arg_cache_file}`
9100 if test "x$LINE" != x ; then
9101 eval "DEFAULT_$LINE"
9102 else
9103 no_cache=1
9104 fi
9105
9106 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
9107
9108 fi
9109
9110
9111 eval "$ac_cv_use_calendar"
9112 if test "$no_cache" != 1; then
9113 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
9114 fi
9115
9116 if test "$wxUSE_CALCTRL" = yes; then
9117 { echo "$as_me:$LINENO: result: yes" >&5
9118 echo "${ECHO_T}yes" >&6; }
9119 else
9120 { echo "$as_me:$LINENO: result: no" >&5
9121 echo "${ECHO_T}no" >&6; }
9122 fi
9123
9124
9125 enablestring=
9126 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9127 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9128 no_cache=0
9129 # Check whether --enable-caret was given.
9130 if test "${enable_caret+set}" = set; then
9131 enableval=$enable_caret;
9132 if test "$enableval" = yes; then
9133 ac_cv_use_caret='wxUSE_CARET=yes'
9134 else
9135 ac_cv_use_caret='wxUSE_CARET=no'
9136 fi
9137
9138 else
9139
9140 LINE=`grep "^wxUSE_CARET=" ${wx_arg_cache_file}`
9141 if test "x$LINE" != x ; then
9142 eval "DEFAULT_$LINE"
9143 else
9144 no_cache=1
9145 fi
9146
9147 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9148
9149 fi
9150
9151
9152 eval "$ac_cv_use_caret"
9153 if test "$no_cache" != 1; then
9154 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9155 fi
9156
9157 if test "$wxUSE_CARET" = yes; then
9158 { echo "$as_me:$LINENO: result: yes" >&5
9159 echo "${ECHO_T}yes" >&6; }
9160 else
9161 { echo "$as_me:$LINENO: result: no" >&5
9162 echo "${ECHO_T}no" >&6; }
9163 fi
9164
9165
9166 enablestring=
9167 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9168 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9169 no_cache=0
9170 # Check whether --enable-checkbox was given.
9171 if test "${enable_checkbox+set}" = set; then
9172 enableval=$enable_checkbox;
9173 if test "$enableval" = yes; then
9174 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9175 else
9176 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9177 fi
9178
9179 else
9180
9181 LINE=`grep "^wxUSE_CHECKBOX=" ${wx_arg_cache_file}`
9182 if test "x$LINE" != x ; then
9183 eval "DEFAULT_$LINE"
9184 else
9185 no_cache=1
9186 fi
9187
9188 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9189
9190 fi
9191
9192
9193 eval "$ac_cv_use_checkbox"
9194 if test "$no_cache" != 1; then
9195 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9196 fi
9197
9198 if test "$wxUSE_CHECKBOX" = yes; then
9199 { echo "$as_me:$LINENO: result: yes" >&5
9200 echo "${ECHO_T}yes" >&6; }
9201 else
9202 { echo "$as_me:$LINENO: result: no" >&5
9203 echo "${ECHO_T}no" >&6; }
9204 fi
9205
9206
9207 enablestring=
9208 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9209 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9210 no_cache=0
9211 # Check whether --enable-checklst was given.
9212 if test "${enable_checklst+set}" = set; then
9213 enableval=$enable_checklst;
9214 if test "$enableval" = yes; then
9215 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9216 else
9217 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9218 fi
9219
9220 else
9221
9222 LINE=`grep "^wxUSE_CHECKLST=" ${wx_arg_cache_file}`
9223 if test "x$LINE" != x ; then
9224 eval "DEFAULT_$LINE"
9225 else
9226 no_cache=1
9227 fi
9228
9229 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9230
9231 fi
9232
9233
9234 eval "$ac_cv_use_checklst"
9235 if test "$no_cache" != 1; then
9236 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9237 fi
9238
9239 if test "$wxUSE_CHECKLST" = yes; then
9240 { echo "$as_me:$LINENO: result: yes" >&5
9241 echo "${ECHO_T}yes" >&6; }
9242 else
9243 { echo "$as_me:$LINENO: result: no" >&5
9244 echo "${ECHO_T}no" >&6; }
9245 fi
9246
9247
9248 enablestring=
9249 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9250 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9251 no_cache=0
9252 # Check whether --enable-choice was given.
9253 if test "${enable_choice+set}" = set; then
9254 enableval=$enable_choice;
9255 if test "$enableval" = yes; then
9256 ac_cv_use_choice='wxUSE_CHOICE=yes'
9257 else
9258 ac_cv_use_choice='wxUSE_CHOICE=no'
9259 fi
9260
9261 else
9262
9263 LINE=`grep "^wxUSE_CHOICE=" ${wx_arg_cache_file}`
9264 if test "x$LINE" != x ; then
9265 eval "DEFAULT_$LINE"
9266 else
9267 no_cache=1
9268 fi
9269
9270 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9271
9272 fi
9273
9274
9275 eval "$ac_cv_use_choice"
9276 if test "$no_cache" != 1; then
9277 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9278 fi
9279
9280 if test "$wxUSE_CHOICE" = yes; then
9281 { echo "$as_me:$LINENO: result: yes" >&5
9282 echo "${ECHO_T}yes" >&6; }
9283 else
9284 { echo "$as_me:$LINENO: result: no" >&5
9285 echo "${ECHO_T}no" >&6; }
9286 fi
9287
9288
9289 enablestring=
9290 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9291 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9292 no_cache=0
9293 # Check whether --enable-choicebook was given.
9294 if test "${enable_choicebook+set}" = set; then
9295 enableval=$enable_choicebook;
9296 if test "$enableval" = yes; then
9297 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9298 else
9299 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9300 fi
9301
9302 else
9303
9304 LINE=`grep "^wxUSE_CHOICEBOOK=" ${wx_arg_cache_file}`
9305 if test "x$LINE" != x ; then
9306 eval "DEFAULT_$LINE"
9307 else
9308 no_cache=1
9309 fi
9310
9311 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9312
9313 fi
9314
9315
9316 eval "$ac_cv_use_choicebook"
9317 if test "$no_cache" != 1; then
9318 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9319 fi
9320
9321 if test "$wxUSE_CHOICEBOOK" = yes; then
9322 { echo "$as_me:$LINENO: result: yes" >&5
9323 echo "${ECHO_T}yes" >&6; }
9324 else
9325 { echo "$as_me:$LINENO: result: no" >&5
9326 echo "${ECHO_T}no" >&6; }
9327 fi
9328
9329
9330 enablestring=
9331 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9332 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9333 no_cache=0
9334 # Check whether --enable-collpane was given.
9335 if test "${enable_collpane+set}" = set; then
9336 enableval=$enable_collpane;
9337 if test "$enableval" = yes; then
9338 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9339 else
9340 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9341 fi
9342
9343 else
9344
9345 LINE=`grep "^wxUSE_COLLPANE=" ${wx_arg_cache_file}`
9346 if test "x$LINE" != x ; then
9347 eval "DEFAULT_$LINE"
9348 else
9349 no_cache=1
9350 fi
9351
9352 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9353
9354 fi
9355
9356
9357 eval "$ac_cv_use_collpane"
9358 if test "$no_cache" != 1; then
9359 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9360 fi
9361
9362 if test "$wxUSE_COLLPANE" = yes; then
9363 { echo "$as_me:$LINENO: result: yes" >&5
9364 echo "${ECHO_T}yes" >&6; }
9365 else
9366 { echo "$as_me:$LINENO: result: no" >&5
9367 echo "${ECHO_T}no" >&6; }
9368 fi
9369
9370
9371 enablestring=
9372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9373 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9374 no_cache=0
9375 # Check whether --enable-colourpicker was given.
9376 if test "${enable_colourpicker+set}" = set; then
9377 enableval=$enable_colourpicker;
9378 if test "$enableval" = yes; then
9379 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9380 else
9381 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9382 fi
9383
9384 else
9385
9386 LINE=`grep "^wxUSE_COLOURPICKERCTRL=" ${wx_arg_cache_file}`
9387 if test "x$LINE" != x ; then
9388 eval "DEFAULT_$LINE"
9389 else
9390 no_cache=1
9391 fi
9392
9393 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9394
9395 fi
9396
9397
9398 eval "$ac_cv_use_colourpicker"
9399 if test "$no_cache" != 1; then
9400 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9401 fi
9402
9403 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9404 { echo "$as_me:$LINENO: result: yes" >&5
9405 echo "${ECHO_T}yes" >&6; }
9406 else
9407 { echo "$as_me:$LINENO: result: no" >&5
9408 echo "${ECHO_T}no" >&6; }
9409 fi
9410
9411
9412 enablestring=
9413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9414 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9415 no_cache=0
9416 # Check whether --enable-combobox was given.
9417 if test "${enable_combobox+set}" = set; then
9418 enableval=$enable_combobox;
9419 if test "$enableval" = yes; then
9420 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9421 else
9422 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9423 fi
9424
9425 else
9426
9427 LINE=`grep "^wxUSE_COMBOBOX=" ${wx_arg_cache_file}`
9428 if test "x$LINE" != x ; then
9429 eval "DEFAULT_$LINE"
9430 else
9431 no_cache=1
9432 fi
9433
9434 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9435
9436 fi
9437
9438
9439 eval "$ac_cv_use_combobox"
9440 if test "$no_cache" != 1; then
9441 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9442 fi
9443
9444 if test "$wxUSE_COMBOBOX" = yes; then
9445 { echo "$as_me:$LINENO: result: yes" >&5
9446 echo "${ECHO_T}yes" >&6; }
9447 else
9448 { echo "$as_me:$LINENO: result: no" >&5
9449 echo "${ECHO_T}no" >&6; }
9450 fi
9451
9452
9453 enablestring=
9454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9455 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9456 no_cache=0
9457 # Check whether --enable-comboctrl was given.
9458 if test "${enable_comboctrl+set}" = set; then
9459 enableval=$enable_comboctrl;
9460 if test "$enableval" = yes; then
9461 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9462 else
9463 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9464 fi
9465
9466 else
9467
9468 LINE=`grep "^wxUSE_COMBOCTRL=" ${wx_arg_cache_file}`
9469 if test "x$LINE" != x ; then
9470 eval "DEFAULT_$LINE"
9471 else
9472 no_cache=1
9473 fi
9474
9475 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9476
9477 fi
9478
9479
9480 eval "$ac_cv_use_comboctrl"
9481 if test "$no_cache" != 1; then
9482 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9483 fi
9484
9485 if test "$wxUSE_COMBOCTRL" = yes; then
9486 { echo "$as_me:$LINENO: result: yes" >&5
9487 echo "${ECHO_T}yes" >&6; }
9488 else
9489 { echo "$as_me:$LINENO: result: no" >&5
9490 echo "${ECHO_T}no" >&6; }
9491 fi
9492
9493
9494 enablestring=
9495 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9496 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9497 no_cache=0
9498 # Check whether --enable-datepick was given.
9499 if test "${enable_datepick+set}" = set; then
9500 enableval=$enable_datepick;
9501 if test "$enableval" = yes; then
9502 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9503 else
9504 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9505 fi
9506
9507 else
9508
9509 LINE=`grep "^wxUSE_DATEPICKCTRL=" ${wx_arg_cache_file}`
9510 if test "x$LINE" != x ; then
9511 eval "DEFAULT_$LINE"
9512 else
9513 no_cache=1
9514 fi
9515
9516 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9517
9518 fi
9519
9520
9521 eval "$ac_cv_use_datepick"
9522 if test "$no_cache" != 1; then
9523 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9524 fi
9525
9526 if test "$wxUSE_DATEPICKCTRL" = yes; then
9527 { echo "$as_me:$LINENO: result: yes" >&5
9528 echo "${ECHO_T}yes" >&6; }
9529 else
9530 { echo "$as_me:$LINENO: result: no" >&5
9531 echo "${ECHO_T}no" >&6; }
9532 fi
9533
9534
9535 enablestring=
9536 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9537 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9538 no_cache=0
9539 # Check whether --enable-dirpicker was given.
9540 if test "${enable_dirpicker+set}" = set; then
9541 enableval=$enable_dirpicker;
9542 if test "$enableval" = yes; then
9543 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9544 else
9545 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9546 fi
9547
9548 else
9549
9550 LINE=`grep "^wxUSE_DIRPICKERCTRL=" ${wx_arg_cache_file}`
9551 if test "x$LINE" != x ; then
9552 eval "DEFAULT_$LINE"
9553 else
9554 no_cache=1
9555 fi
9556
9557 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9558
9559 fi
9560
9561
9562 eval "$ac_cv_use_dirpicker"
9563 if test "$no_cache" != 1; then
9564 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9565 fi
9566
9567 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9568 { echo "$as_me:$LINENO: result: yes" >&5
9569 echo "${ECHO_T}yes" >&6; }
9570 else
9571 { echo "$as_me:$LINENO: result: no" >&5
9572 echo "${ECHO_T}no" >&6; }
9573 fi
9574
9575
9576 enablestring=
9577 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9578 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9579 no_cache=0
9580 # Check whether --enable-display was given.
9581 if test "${enable_display+set}" = set; then
9582 enableval=$enable_display;
9583 if test "$enableval" = yes; then
9584 ac_cv_use_display='wxUSE_DISPLAY=yes'
9585 else
9586 ac_cv_use_display='wxUSE_DISPLAY=no'
9587 fi
9588
9589 else
9590
9591 LINE=`grep "^wxUSE_DISPLAY=" ${wx_arg_cache_file}`
9592 if test "x$LINE" != x ; then
9593 eval "DEFAULT_$LINE"
9594 else
9595 no_cache=1
9596 fi
9597
9598 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9599
9600 fi
9601
9602
9603 eval "$ac_cv_use_display"
9604 if test "$no_cache" != 1; then
9605 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9606 fi
9607
9608 if test "$wxUSE_DISPLAY" = yes; then
9609 { echo "$as_me:$LINENO: result: yes" >&5
9610 echo "${ECHO_T}yes" >&6; }
9611 else
9612 { echo "$as_me:$LINENO: result: no" >&5
9613 echo "${ECHO_T}no" >&6; }
9614 fi
9615
9616
9617 enablestring=
9618 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9619 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9620 no_cache=0
9621 # Check whether --enable-detect_sm was given.
9622 if test "${enable_detect_sm+set}" = set; then
9623 enableval=$enable_detect_sm;
9624 if test "$enableval" = yes; then
9625 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9626 else
9627 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9628 fi
9629
9630 else
9631
9632 LINE=`grep "^wxUSE_DETECT_SM=" ${wx_arg_cache_file}`
9633 if test "x$LINE" != x ; then
9634 eval "DEFAULT_$LINE"
9635 else
9636 no_cache=1
9637 fi
9638
9639 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9640
9641 fi
9642
9643
9644 eval "$ac_cv_use_detect_sm"
9645 if test "$no_cache" != 1; then
9646 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9647 fi
9648
9649 if test "$wxUSE_DETECT_SM" = yes; then
9650 { echo "$as_me:$LINENO: result: yes" >&5
9651 echo "${ECHO_T}yes" >&6; }
9652 else
9653 { echo "$as_me:$LINENO: result: no" >&5
9654 echo "${ECHO_T}no" >&6; }
9655 fi
9656
9657
9658 enablestring=
9659 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-editablebox" >&5
9660 echo $ECHO_N "checking for --${enablestring:-enable}-editablebox... $ECHO_C" >&6; }
9661 no_cache=0
9662 # Check whether --enable-editablebox was given.
9663 if test "${enable_editablebox+set}" = set; then
9664 enableval=$enable_editablebox;
9665 if test "$enableval" = yes; then
9666 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=yes'
9667 else
9668 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX=no'
9669 fi
9670
9671 else
9672
9673 LINE=`grep "^wxUSE_EDITABLELISTBOX=" ${wx_arg_cache_file}`
9674 if test "x$LINE" != x ; then
9675 eval "DEFAULT_$LINE"
9676 else
9677 no_cache=1
9678 fi
9679
9680 ac_cv_use_editablebox='wxUSE_EDITABLELISTBOX='$DEFAULT_wxUSE_EDITABLELISTBOX
9681
9682 fi
9683
9684
9685 eval "$ac_cv_use_editablebox"
9686 if test "$no_cache" != 1; then
9687 echo $ac_cv_use_editablebox >> ${wx_arg_cache_file}.tmp
9688 fi
9689
9690 if test "$wxUSE_EDITABLELISTBOX" = yes; then
9691 { echo "$as_me:$LINENO: result: yes" >&5
9692 echo "${ECHO_T}yes" >&6; }
9693 else
9694 { echo "$as_me:$LINENO: result: no" >&5
9695 echo "${ECHO_T}no" >&6; }
9696 fi
9697
9698
9699 enablestring=
9700 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9701 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9702 no_cache=0
9703 # Check whether --enable-filepicker was given.
9704 if test "${enable_filepicker+set}" = set; then
9705 enableval=$enable_filepicker;
9706 if test "$enableval" = yes; then
9707 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9708 else
9709 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9710 fi
9711
9712 else
9713
9714 LINE=`grep "^wxUSE_FILEPICKERCTRL=" ${wx_arg_cache_file}`
9715 if test "x$LINE" != x ; then
9716 eval "DEFAULT_$LINE"
9717 else
9718 no_cache=1
9719 fi
9720
9721 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9722
9723 fi
9724
9725
9726 eval "$ac_cv_use_filepicker"
9727 if test "$no_cache" != 1; then
9728 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9729 fi
9730
9731 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9732 { echo "$as_me:$LINENO: result: yes" >&5
9733 echo "${ECHO_T}yes" >&6; }
9734 else
9735 { echo "$as_me:$LINENO: result: no" >&5
9736 echo "${ECHO_T}no" >&6; }
9737 fi
9738
9739
9740 enablestring=
9741 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9742 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9743 no_cache=0
9744 # Check whether --enable-fontpicker was given.
9745 if test "${enable_fontpicker+set}" = set; then
9746 enableval=$enable_fontpicker;
9747 if test "$enableval" = yes; then
9748 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9749 else
9750 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9751 fi
9752
9753 else
9754
9755 LINE=`grep "^wxUSE_FONTPICKERCTRL=" ${wx_arg_cache_file}`
9756 if test "x$LINE" != x ; then
9757 eval "DEFAULT_$LINE"
9758 else
9759 no_cache=1
9760 fi
9761
9762 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9763
9764 fi
9765
9766
9767 eval "$ac_cv_use_fontpicker"
9768 if test "$no_cache" != 1; then
9769 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9770 fi
9771
9772 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9773 { echo "$as_me:$LINENO: result: yes" >&5
9774 echo "${ECHO_T}yes" >&6; }
9775 else
9776 { echo "$as_me:$LINENO: result: no" >&5
9777 echo "${ECHO_T}no" >&6; }
9778 fi
9779
9780
9781 enablestring=
9782 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9783 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9784 no_cache=0
9785 # Check whether --enable-gauge was given.
9786 if test "${enable_gauge+set}" = set; then
9787 enableval=$enable_gauge;
9788 if test "$enableval" = yes; then
9789 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9790 else
9791 ac_cv_use_gauge='wxUSE_GAUGE=no'
9792 fi
9793
9794 else
9795
9796 LINE=`grep "^wxUSE_GAUGE=" ${wx_arg_cache_file}`
9797 if test "x$LINE" != x ; then
9798 eval "DEFAULT_$LINE"
9799 else
9800 no_cache=1
9801 fi
9802
9803 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9804
9805 fi
9806
9807
9808 eval "$ac_cv_use_gauge"
9809 if test "$no_cache" != 1; then
9810 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9811 fi
9812
9813 if test "$wxUSE_GAUGE" = yes; then
9814 { echo "$as_me:$LINENO: result: yes" >&5
9815 echo "${ECHO_T}yes" >&6; }
9816 else
9817 { echo "$as_me:$LINENO: result: no" >&5
9818 echo "${ECHO_T}no" >&6; }
9819 fi
9820
9821
9822 enablestring=
9823 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9824 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9825 no_cache=0
9826 # Check whether --enable-grid was given.
9827 if test "${enable_grid+set}" = set; then
9828 enableval=$enable_grid;
9829 if test "$enableval" = yes; then
9830 ac_cv_use_grid='wxUSE_GRID=yes'
9831 else
9832 ac_cv_use_grid='wxUSE_GRID=no'
9833 fi
9834
9835 else
9836
9837 LINE=`grep "^wxUSE_GRID=" ${wx_arg_cache_file}`
9838 if test "x$LINE" != x ; then
9839 eval "DEFAULT_$LINE"
9840 else
9841 no_cache=1
9842 fi
9843
9844 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9845
9846 fi
9847
9848
9849 eval "$ac_cv_use_grid"
9850 if test "$no_cache" != 1; then
9851 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9852 fi
9853
9854 if test "$wxUSE_GRID" = yes; then
9855 { echo "$as_me:$LINENO: result: yes" >&5
9856 echo "${ECHO_T}yes" >&6; }
9857 else
9858 { echo "$as_me:$LINENO: result: no" >&5
9859 echo "${ECHO_T}no" >&6; }
9860 fi
9861
9862
9863 enablestring=
9864 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9865 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9866 no_cache=0
9867 # Check whether --enable-dataviewctrl was given.
9868 if test "${enable_dataviewctrl+set}" = set; then
9869 enableval=$enable_dataviewctrl;
9870 if test "$enableval" = yes; then
9871 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9872 else
9873 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9874 fi
9875
9876 else
9877
9878 LINE=`grep "^wxUSE_DATAVIEWCTRL=" ${wx_arg_cache_file}`
9879 if test "x$LINE" != x ; then
9880 eval "DEFAULT_$LINE"
9881 else
9882 no_cache=1
9883 fi
9884
9885 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9886
9887 fi
9888
9889
9890 eval "$ac_cv_use_dataviewctrl"
9891 if test "$no_cache" != 1; then
9892 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9893 fi
9894
9895 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9896 { echo "$as_me:$LINENO: result: yes" >&5
9897 echo "${ECHO_T}yes" >&6; }
9898 else
9899 { echo "$as_me:$LINENO: result: no" >&5
9900 echo "${ECHO_T}no" >&6; }
9901 fi
9902
9903
9904 enablestring=
9905 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9906 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9907 no_cache=0
9908 # Check whether --enable-hyperlink was given.
9909 if test "${enable_hyperlink+set}" = set; then
9910 enableval=$enable_hyperlink;
9911 if test "$enableval" = yes; then
9912 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9913 else
9914 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9915 fi
9916
9917 else
9918
9919 LINE=`grep "^wxUSE_HYPERLINKCTRL=" ${wx_arg_cache_file}`
9920 if test "x$LINE" != x ; then
9921 eval "DEFAULT_$LINE"
9922 else
9923 no_cache=1
9924 fi
9925
9926 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9927
9928 fi
9929
9930
9931 eval "$ac_cv_use_hyperlink"
9932 if test "$no_cache" != 1; then
9933 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9934 fi
9935
9936 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9937 { echo "$as_me:$LINENO: result: yes" >&5
9938 echo "${ECHO_T}yes" >&6; }
9939 else
9940 { echo "$as_me:$LINENO: result: no" >&5
9941 echo "${ECHO_T}no" >&6; }
9942 fi
9943
9944
9945 enablestring=
9946 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9947 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9948 no_cache=0
9949 # Check whether --enable-imaglist was given.
9950 if test "${enable_imaglist+set}" = set; then
9951 enableval=$enable_imaglist;
9952 if test "$enableval" = yes; then
9953 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9954 else
9955 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9956 fi
9957
9958 else
9959
9960 LINE=`grep "^wxUSE_IMAGLIST=" ${wx_arg_cache_file}`
9961 if test "x$LINE" != x ; then
9962 eval "DEFAULT_$LINE"
9963 else
9964 no_cache=1
9965 fi
9966
9967 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9968
9969 fi
9970
9971
9972 eval "$ac_cv_use_imaglist"
9973 if test "$no_cache" != 1; then
9974 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9975 fi
9976
9977 if test "$wxUSE_IMAGLIST" = yes; then
9978 { echo "$as_me:$LINENO: result: yes" >&5
9979 echo "${ECHO_T}yes" >&6; }
9980 else
9981 { echo "$as_me:$LINENO: result: no" >&5
9982 echo "${ECHO_T}no" >&6; }
9983 fi
9984
9985
9986 enablestring=
9987 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9988 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9989 no_cache=0
9990 # Check whether --enable-listbook was given.
9991 if test "${enable_listbook+set}" = set; then
9992 enableval=$enable_listbook;
9993 if test "$enableval" = yes; then
9994 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9995 else
9996 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9997 fi
9998
9999 else
10000
10001 LINE=`grep "^wxUSE_LISTBOOK=" ${wx_arg_cache_file}`
10002 if test "x$LINE" != x ; then
10003 eval "DEFAULT_$LINE"
10004 else
10005 no_cache=1
10006 fi
10007
10008 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
10009
10010 fi
10011
10012
10013 eval "$ac_cv_use_listbook"
10014 if test "$no_cache" != 1; then
10015 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
10016 fi
10017
10018 if test "$wxUSE_LISTBOOK" = yes; then
10019 { echo "$as_me:$LINENO: result: yes" >&5
10020 echo "${ECHO_T}yes" >&6; }
10021 else
10022 { echo "$as_me:$LINENO: result: no" >&5
10023 echo "${ECHO_T}no" >&6; }
10024 fi
10025
10026
10027 enablestring=
10028 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
10029 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
10030 no_cache=0
10031 # Check whether --enable-listbox was given.
10032 if test "${enable_listbox+set}" = set; then
10033 enableval=$enable_listbox;
10034 if test "$enableval" = yes; then
10035 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
10036 else
10037 ac_cv_use_listbox='wxUSE_LISTBOX=no'
10038 fi
10039
10040 else
10041
10042 LINE=`grep "^wxUSE_LISTBOX=" ${wx_arg_cache_file}`
10043 if test "x$LINE" != x ; then
10044 eval "DEFAULT_$LINE"
10045 else
10046 no_cache=1
10047 fi
10048
10049 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
10050
10051 fi
10052
10053
10054 eval "$ac_cv_use_listbox"
10055 if test "$no_cache" != 1; then
10056 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
10057 fi
10058
10059 if test "$wxUSE_LISTBOX" = yes; then
10060 { echo "$as_me:$LINENO: result: yes" >&5
10061 echo "${ECHO_T}yes" >&6; }
10062 else
10063 { echo "$as_me:$LINENO: result: no" >&5
10064 echo "${ECHO_T}no" >&6; }
10065 fi
10066
10067
10068 enablestring=
10069 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
10070 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
10071 no_cache=0
10072 # Check whether --enable-listctrl was given.
10073 if test "${enable_listctrl+set}" = set; then
10074 enableval=$enable_listctrl;
10075 if test "$enableval" = yes; then
10076 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
10077 else
10078 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
10079 fi
10080
10081 else
10082
10083 LINE=`grep "^wxUSE_LISTCTRL=" ${wx_arg_cache_file}`
10084 if test "x$LINE" != x ; then
10085 eval "DEFAULT_$LINE"
10086 else
10087 no_cache=1
10088 fi
10089
10090 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
10091
10092 fi
10093
10094
10095 eval "$ac_cv_use_listctrl"
10096 if test "$no_cache" != 1; then
10097 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
10098 fi
10099
10100 if test "$wxUSE_LISTCTRL" = yes; then
10101 { echo "$as_me:$LINENO: result: yes" >&5
10102 echo "${ECHO_T}yes" >&6; }
10103 else
10104 { echo "$as_me:$LINENO: result: no" >&5
10105 echo "${ECHO_T}no" >&6; }
10106 fi
10107
10108
10109 enablestring=
10110 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
10111 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
10112 no_cache=0
10113 # Check whether --enable-notebook was given.
10114 if test "${enable_notebook+set}" = set; then
10115 enableval=$enable_notebook;
10116 if test "$enableval" = yes; then
10117 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
10118 else
10119 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
10120 fi
10121
10122 else
10123
10124 LINE=`grep "^wxUSE_NOTEBOOK=" ${wx_arg_cache_file}`
10125 if test "x$LINE" != x ; then
10126 eval "DEFAULT_$LINE"
10127 else
10128 no_cache=1
10129 fi
10130
10131 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
10132
10133 fi
10134
10135
10136 eval "$ac_cv_use_notebook"
10137 if test "$no_cache" != 1; then
10138 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
10139 fi
10140
10141 if test "$wxUSE_NOTEBOOK" = yes; then
10142 { echo "$as_me:$LINENO: result: yes" >&5
10143 echo "${ECHO_T}yes" >&6; }
10144 else
10145 { echo "$as_me:$LINENO: result: no" >&5
10146 echo "${ECHO_T}no" >&6; }
10147 fi
10148
10149
10150 enablestring=
10151 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
10152 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
10153 no_cache=0
10154 # Check whether --enable-odcombobox was given.
10155 if test "${enable_odcombobox+set}" = set; then
10156 enableval=$enable_odcombobox;
10157 if test "$enableval" = yes; then
10158 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
10159 else
10160 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
10161 fi
10162
10163 else
10164
10165 LINE=`grep "^wxUSE_ODCOMBOBOX=" ${wx_arg_cache_file}`
10166 if test "x$LINE" != x ; then
10167 eval "DEFAULT_$LINE"
10168 else
10169 no_cache=1
10170 fi
10171
10172 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10173
10174 fi
10175
10176
10177 eval "$ac_cv_use_odcombobox"
10178 if test "$no_cache" != 1; then
10179 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10180 fi
10181
10182 if test "$wxUSE_ODCOMBOBOX" = yes; then
10183 { echo "$as_me:$LINENO: result: yes" >&5
10184 echo "${ECHO_T}yes" >&6; }
10185 else
10186 { echo "$as_me:$LINENO: result: no" >&5
10187 echo "${ECHO_T}no" >&6; }
10188 fi
10189
10190
10191 enablestring=
10192 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10193 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10194 no_cache=0
10195 # Check whether --enable-radiobox was given.
10196 if test "${enable_radiobox+set}" = set; then
10197 enableval=$enable_radiobox;
10198 if test "$enableval" = yes; then
10199 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10200 else
10201 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10202 fi
10203
10204 else
10205
10206 LINE=`grep "^wxUSE_RADIOBOX=" ${wx_arg_cache_file}`
10207 if test "x$LINE" != x ; then
10208 eval "DEFAULT_$LINE"
10209 else
10210 no_cache=1
10211 fi
10212
10213 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10214
10215 fi
10216
10217
10218 eval "$ac_cv_use_radiobox"
10219 if test "$no_cache" != 1; then
10220 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10221 fi
10222
10223 if test "$wxUSE_RADIOBOX" = yes; then
10224 { echo "$as_me:$LINENO: result: yes" >&5
10225 echo "${ECHO_T}yes" >&6; }
10226 else
10227 { echo "$as_me:$LINENO: result: no" >&5
10228 echo "${ECHO_T}no" >&6; }
10229 fi
10230
10231
10232 enablestring=
10233 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10234 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10235 no_cache=0
10236 # Check whether --enable-radiobtn was given.
10237 if test "${enable_radiobtn+set}" = set; then
10238 enableval=$enable_radiobtn;
10239 if test "$enableval" = yes; then
10240 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10241 else
10242 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10243 fi
10244
10245 else
10246
10247 LINE=`grep "^wxUSE_RADIOBTN=" ${wx_arg_cache_file}`
10248 if test "x$LINE" != x ; then
10249 eval "DEFAULT_$LINE"
10250 else
10251 no_cache=1
10252 fi
10253
10254 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10255
10256 fi
10257
10258
10259 eval "$ac_cv_use_radiobtn"
10260 if test "$no_cache" != 1; then
10261 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10262 fi
10263
10264 if test "$wxUSE_RADIOBTN" = yes; then
10265 { echo "$as_me:$LINENO: result: yes" >&5
10266 echo "${ECHO_T}yes" >&6; }
10267 else
10268 { echo "$as_me:$LINENO: result: no" >&5
10269 echo "${ECHO_T}no" >&6; }
10270 fi
10271
10272
10273 enablestring=
10274 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10275 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10276 no_cache=0
10277 # Check whether --enable-sash was given.
10278 if test "${enable_sash+set}" = set; then
10279 enableval=$enable_sash;
10280 if test "$enableval" = yes; then
10281 ac_cv_use_sash='wxUSE_SASH=yes'
10282 else
10283 ac_cv_use_sash='wxUSE_SASH=no'
10284 fi
10285
10286 else
10287
10288 LINE=`grep "^wxUSE_SASH=" ${wx_arg_cache_file}`
10289 if test "x$LINE" != x ; then
10290 eval "DEFAULT_$LINE"
10291 else
10292 no_cache=1
10293 fi
10294
10295 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10296
10297 fi
10298
10299
10300 eval "$ac_cv_use_sash"
10301 if test "$no_cache" != 1; then
10302 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10303 fi
10304
10305 if test "$wxUSE_SASH" = yes; then
10306 { echo "$as_me:$LINENO: result: yes" >&5
10307 echo "${ECHO_T}yes" >&6; }
10308 else
10309 { echo "$as_me:$LINENO: result: no" >&5
10310 echo "${ECHO_T}no" >&6; }
10311 fi
10312
10313
10314 enablestring=
10315 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10316 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10317 no_cache=0
10318 # Check whether --enable-scrollbar was given.
10319 if test "${enable_scrollbar+set}" = set; then
10320 enableval=$enable_scrollbar;
10321 if test "$enableval" = yes; then
10322 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10323 else
10324 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10325 fi
10326
10327 else
10328
10329 LINE=`grep "^wxUSE_SCROLLBAR=" ${wx_arg_cache_file}`
10330 if test "x$LINE" != x ; then
10331 eval "DEFAULT_$LINE"
10332 else
10333 no_cache=1
10334 fi
10335
10336 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10337
10338 fi
10339
10340
10341 eval "$ac_cv_use_scrollbar"
10342 if test "$no_cache" != 1; then
10343 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10344 fi
10345
10346 if test "$wxUSE_SCROLLBAR" = yes; then
10347 { echo "$as_me:$LINENO: result: yes" >&5
10348 echo "${ECHO_T}yes" >&6; }
10349 else
10350 { echo "$as_me:$LINENO: result: no" >&5
10351 echo "${ECHO_T}no" >&6; }
10352 fi
10353
10354
10355 enablestring=
10356 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10357 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10358 no_cache=0
10359 # Check whether --enable-searchctrl was given.
10360 if test "${enable_searchctrl+set}" = set; then
10361 enableval=$enable_searchctrl;
10362 if test "$enableval" = yes; then
10363 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10364 else
10365 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10366 fi
10367
10368 else
10369
10370 LINE=`grep "^wxUSE_SEARCHCTRL=" ${wx_arg_cache_file}`
10371 if test "x$LINE" != x ; then
10372 eval "DEFAULT_$LINE"
10373 else
10374 no_cache=1
10375 fi
10376
10377 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10378
10379 fi
10380
10381
10382 eval "$ac_cv_use_searchctrl"
10383 if test "$no_cache" != 1; then
10384 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10385 fi
10386
10387 if test "$wxUSE_SEARCHCTRL" = yes; then
10388 { echo "$as_me:$LINENO: result: yes" >&5
10389 echo "${ECHO_T}yes" >&6; }
10390 else
10391 { echo "$as_me:$LINENO: result: no" >&5
10392 echo "${ECHO_T}no" >&6; }
10393 fi
10394
10395
10396 enablestring=
10397 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10398 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10399 no_cache=0
10400 # Check whether --enable-slider was given.
10401 if test "${enable_slider+set}" = set; then
10402 enableval=$enable_slider;
10403 if test "$enableval" = yes; then
10404 ac_cv_use_slider='wxUSE_SLIDER=yes'
10405 else
10406 ac_cv_use_slider='wxUSE_SLIDER=no'
10407 fi
10408
10409 else
10410
10411 LINE=`grep "^wxUSE_SLIDER=" ${wx_arg_cache_file}`
10412 if test "x$LINE" != x ; then
10413 eval "DEFAULT_$LINE"
10414 else
10415 no_cache=1
10416 fi
10417
10418 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10419
10420 fi
10421
10422
10423 eval "$ac_cv_use_slider"
10424 if test "$no_cache" != 1; then
10425 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10426 fi
10427
10428 if test "$wxUSE_SLIDER" = yes; then
10429 { echo "$as_me:$LINENO: result: yes" >&5
10430 echo "${ECHO_T}yes" >&6; }
10431 else
10432 { echo "$as_me:$LINENO: result: no" >&5
10433 echo "${ECHO_T}no" >&6; }
10434 fi
10435
10436
10437 enablestring=
10438 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10439 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10440 no_cache=0
10441 # Check whether --enable-spinbtn was given.
10442 if test "${enable_spinbtn+set}" = set; then
10443 enableval=$enable_spinbtn;
10444 if test "$enableval" = yes; then
10445 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10446 else
10447 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10448 fi
10449
10450 else
10451
10452 LINE=`grep "^wxUSE_SPINBTN=" ${wx_arg_cache_file}`
10453 if test "x$LINE" != x ; then
10454 eval "DEFAULT_$LINE"
10455 else
10456 no_cache=1
10457 fi
10458
10459 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10460
10461 fi
10462
10463
10464 eval "$ac_cv_use_spinbtn"
10465 if test "$no_cache" != 1; then
10466 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10467 fi
10468
10469 if test "$wxUSE_SPINBTN" = yes; then
10470 { echo "$as_me:$LINENO: result: yes" >&5
10471 echo "${ECHO_T}yes" >&6; }
10472 else
10473 { echo "$as_me:$LINENO: result: no" >&5
10474 echo "${ECHO_T}no" >&6; }
10475 fi
10476
10477
10478 enablestring=
10479 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10480 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10481 no_cache=0
10482 # Check whether --enable-spinctrl was given.
10483 if test "${enable_spinctrl+set}" = set; then
10484 enableval=$enable_spinctrl;
10485 if test "$enableval" = yes; then
10486 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10487 else
10488 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10489 fi
10490
10491 else
10492
10493 LINE=`grep "^wxUSE_SPINCTRL=" ${wx_arg_cache_file}`
10494 if test "x$LINE" != x ; then
10495 eval "DEFAULT_$LINE"
10496 else
10497 no_cache=1
10498 fi
10499
10500 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10501
10502 fi
10503
10504
10505 eval "$ac_cv_use_spinctrl"
10506 if test "$no_cache" != 1; then
10507 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10508 fi
10509
10510 if test "$wxUSE_SPINCTRL" = yes; then
10511 { echo "$as_me:$LINENO: result: yes" >&5
10512 echo "${ECHO_T}yes" >&6; }
10513 else
10514 { echo "$as_me:$LINENO: result: no" >&5
10515 echo "${ECHO_T}no" >&6; }
10516 fi
10517
10518
10519 enablestring=
10520 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10521 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10522 no_cache=0
10523 # Check whether --enable-splitter was given.
10524 if test "${enable_splitter+set}" = set; then
10525 enableval=$enable_splitter;
10526 if test "$enableval" = yes; then
10527 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10528 else
10529 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10530 fi
10531
10532 else
10533
10534 LINE=`grep "^wxUSE_SPLITTER=" ${wx_arg_cache_file}`
10535 if test "x$LINE" != x ; then
10536 eval "DEFAULT_$LINE"
10537 else
10538 no_cache=1
10539 fi
10540
10541 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10542
10543 fi
10544
10545
10546 eval "$ac_cv_use_splitter"
10547 if test "$no_cache" != 1; then
10548 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10549 fi
10550
10551 if test "$wxUSE_SPLITTER" = yes; then
10552 { echo "$as_me:$LINENO: result: yes" >&5
10553 echo "${ECHO_T}yes" >&6; }
10554 else
10555 { echo "$as_me:$LINENO: result: no" >&5
10556 echo "${ECHO_T}no" >&6; }
10557 fi
10558
10559
10560 enablestring=
10561 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10562 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10563 no_cache=0
10564 # Check whether --enable-statbmp was given.
10565 if test "${enable_statbmp+set}" = set; then
10566 enableval=$enable_statbmp;
10567 if test "$enableval" = yes; then
10568 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10569 else
10570 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10571 fi
10572
10573 else
10574
10575 LINE=`grep "^wxUSE_STATBMP=" ${wx_arg_cache_file}`
10576 if test "x$LINE" != x ; then
10577 eval "DEFAULT_$LINE"
10578 else
10579 no_cache=1
10580 fi
10581
10582 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10583
10584 fi
10585
10586
10587 eval "$ac_cv_use_statbmp"
10588 if test "$no_cache" != 1; then
10589 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10590 fi
10591
10592 if test "$wxUSE_STATBMP" = yes; then
10593 { echo "$as_me:$LINENO: result: yes" >&5
10594 echo "${ECHO_T}yes" >&6; }
10595 else
10596 { echo "$as_me:$LINENO: result: no" >&5
10597 echo "${ECHO_T}no" >&6; }
10598 fi
10599
10600
10601 enablestring=
10602 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10603 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10604 no_cache=0
10605 # Check whether --enable-statbox was given.
10606 if test "${enable_statbox+set}" = set; then
10607 enableval=$enable_statbox;
10608 if test "$enableval" = yes; then
10609 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10610 else
10611 ac_cv_use_statbox='wxUSE_STATBOX=no'
10612 fi
10613
10614 else
10615
10616 LINE=`grep "^wxUSE_STATBOX=" ${wx_arg_cache_file}`
10617 if test "x$LINE" != x ; then
10618 eval "DEFAULT_$LINE"
10619 else
10620 no_cache=1
10621 fi
10622
10623 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10624
10625 fi
10626
10627
10628 eval "$ac_cv_use_statbox"
10629 if test "$no_cache" != 1; then
10630 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10631 fi
10632
10633 if test "$wxUSE_STATBOX" = yes; then
10634 { echo "$as_me:$LINENO: result: yes" >&5
10635 echo "${ECHO_T}yes" >&6; }
10636 else
10637 { echo "$as_me:$LINENO: result: no" >&5
10638 echo "${ECHO_T}no" >&6; }
10639 fi
10640
10641
10642 enablestring=
10643 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10644 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10645 no_cache=0
10646 # Check whether --enable-statline was given.
10647 if test "${enable_statline+set}" = set; then
10648 enableval=$enable_statline;
10649 if test "$enableval" = yes; then
10650 ac_cv_use_statline='wxUSE_STATLINE=yes'
10651 else
10652 ac_cv_use_statline='wxUSE_STATLINE=no'
10653 fi
10654
10655 else
10656
10657 LINE=`grep "^wxUSE_STATLINE=" ${wx_arg_cache_file}`
10658 if test "x$LINE" != x ; then
10659 eval "DEFAULT_$LINE"
10660 else
10661 no_cache=1
10662 fi
10663
10664 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10665
10666 fi
10667
10668
10669 eval "$ac_cv_use_statline"
10670 if test "$no_cache" != 1; then
10671 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10672 fi
10673
10674 if test "$wxUSE_STATLINE" = yes; then
10675 { echo "$as_me:$LINENO: result: yes" >&5
10676 echo "${ECHO_T}yes" >&6; }
10677 else
10678 { echo "$as_me:$LINENO: result: no" >&5
10679 echo "${ECHO_T}no" >&6; }
10680 fi
10681
10682
10683 enablestring=
10684 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10685 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10686 no_cache=0
10687 # Check whether --enable-stattext was given.
10688 if test "${enable_stattext+set}" = set; then
10689 enableval=$enable_stattext;
10690 if test "$enableval" = yes; then
10691 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10692 else
10693 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10694 fi
10695
10696 else
10697
10698 LINE=`grep "^wxUSE_STATTEXT=" ${wx_arg_cache_file}`
10699 if test "x$LINE" != x ; then
10700 eval "DEFAULT_$LINE"
10701 else
10702 no_cache=1
10703 fi
10704
10705 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10706
10707 fi
10708
10709
10710 eval "$ac_cv_use_stattext"
10711 if test "$no_cache" != 1; then
10712 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10713 fi
10714
10715 if test "$wxUSE_STATTEXT" = yes; then
10716 { echo "$as_me:$LINENO: result: yes" >&5
10717 echo "${ECHO_T}yes" >&6; }
10718 else
10719 { echo "$as_me:$LINENO: result: no" >&5
10720 echo "${ECHO_T}no" >&6; }
10721 fi
10722
10723
10724 enablestring=
10725 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10726 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10727 no_cache=0
10728 # Check whether --enable-statusbar was given.
10729 if test "${enable_statusbar+set}" = set; then
10730 enableval=$enable_statusbar;
10731 if test "$enableval" = yes; then
10732 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10733 else
10734 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10735 fi
10736
10737 else
10738
10739 LINE=`grep "^wxUSE_STATUSBAR=" ${wx_arg_cache_file}`
10740 if test "x$LINE" != x ; then
10741 eval "DEFAULT_$LINE"
10742 else
10743 no_cache=1
10744 fi
10745
10746 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10747
10748 fi
10749
10750
10751 eval "$ac_cv_use_statusbar"
10752 if test "$no_cache" != 1; then
10753 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10754 fi
10755
10756 if test "$wxUSE_STATUSBAR" = yes; then
10757 { echo "$as_me:$LINENO: result: yes" >&5
10758 echo "${ECHO_T}yes" >&6; }
10759 else
10760 { echo "$as_me:$LINENO: result: no" >&5
10761 echo "${ECHO_T}no" >&6; }
10762 fi
10763
10764
10765 enablestring=
10766 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10767 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10768 no_cache=0
10769 # Check whether --enable-tabdialog was given.
10770 if test "${enable_tabdialog+set}" = set; then
10771 enableval=$enable_tabdialog;
10772 if test "$enableval" = yes; then
10773 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10774 else
10775 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10776 fi
10777
10778 else
10779
10780 LINE=`grep "^wxUSE_TAB_DIALOG=" ${wx_arg_cache_file}`
10781 if test "x$LINE" != x ; then
10782 eval "DEFAULT_$LINE"
10783 else
10784 no_cache=1
10785 fi
10786
10787 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10788
10789 fi
10790
10791
10792 eval "$ac_cv_use_tabdialog"
10793 if test "$no_cache" != 1; then
10794 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10795 fi
10796
10797 if test "$wxUSE_TAB_DIALOG" = yes; then
10798 { echo "$as_me:$LINENO: result: yes" >&5
10799 echo "${ECHO_T}yes" >&6; }
10800 else
10801 { echo "$as_me:$LINENO: result: no" >&5
10802 echo "${ECHO_T}no" >&6; }
10803 fi
10804
10805
10806 enablestring=
10807 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10808 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10809 no_cache=0
10810 # Check whether --enable-textctrl was given.
10811 if test "${enable_textctrl+set}" = set; then
10812 enableval=$enable_textctrl;
10813 if test "$enableval" = yes; then
10814 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10815 else
10816 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10817 fi
10818
10819 else
10820
10821 LINE=`grep "^wxUSE_TEXTCTRL=" ${wx_arg_cache_file}`
10822 if test "x$LINE" != x ; then
10823 eval "DEFAULT_$LINE"
10824 else
10825 no_cache=1
10826 fi
10827
10828 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10829
10830 fi
10831
10832
10833 eval "$ac_cv_use_textctrl"
10834 if test "$no_cache" != 1; then
10835 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10836 fi
10837
10838 if test "$wxUSE_TEXTCTRL" = yes; then
10839 { echo "$as_me:$LINENO: result: yes" >&5
10840 echo "${ECHO_T}yes" >&6; }
10841 else
10842 { echo "$as_me:$LINENO: result: no" >&5
10843 echo "${ECHO_T}no" >&6; }
10844 fi
10845
10846
10847 enablestring=
10848 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10849 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10850 no_cache=0
10851 # Check whether --enable-togglebtn was given.
10852 if test "${enable_togglebtn+set}" = set; then
10853 enableval=$enable_togglebtn;
10854 if test "$enableval" = yes; then
10855 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10856 else
10857 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10858 fi
10859
10860 else
10861
10862 LINE=`grep "^wxUSE_TOGGLEBTN=" ${wx_arg_cache_file}`
10863 if test "x$LINE" != x ; then
10864 eval "DEFAULT_$LINE"
10865 else
10866 no_cache=1
10867 fi
10868
10869 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10870
10871 fi
10872
10873
10874 eval "$ac_cv_use_togglebtn"
10875 if test "$no_cache" != 1; then
10876 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10877 fi
10878
10879 if test "$wxUSE_TOGGLEBTN" = yes; then
10880 { echo "$as_me:$LINENO: result: yes" >&5
10881 echo "${ECHO_T}yes" >&6; }
10882 else
10883 { echo "$as_me:$LINENO: result: no" >&5
10884 echo "${ECHO_T}no" >&6; }
10885 fi
10886
10887
10888 enablestring=
10889 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10890 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10891 no_cache=0
10892 # Check whether --enable-toolbar was given.
10893 if test "${enable_toolbar+set}" = set; then
10894 enableval=$enable_toolbar;
10895 if test "$enableval" = yes; then
10896 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10897 else
10898 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10899 fi
10900
10901 else
10902
10903 LINE=`grep "^wxUSE_TOOLBAR=" ${wx_arg_cache_file}`
10904 if test "x$LINE" != x ; then
10905 eval "DEFAULT_$LINE"
10906 else
10907 no_cache=1
10908 fi
10909
10910 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10911
10912 fi
10913
10914
10915 eval "$ac_cv_use_toolbar"
10916 if test "$no_cache" != 1; then
10917 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10918 fi
10919
10920 if test "$wxUSE_TOOLBAR" = yes; then
10921 { echo "$as_me:$LINENO: result: yes" >&5
10922 echo "${ECHO_T}yes" >&6; }
10923 else
10924 { echo "$as_me:$LINENO: result: no" >&5
10925 echo "${ECHO_T}no" >&6; }
10926 fi
10927
10928
10929 enablestring=
10930 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10931 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10932 no_cache=0
10933 # Check whether --enable-tbarnative was given.
10934 if test "${enable_tbarnative+set}" = set; then
10935 enableval=$enable_tbarnative;
10936 if test "$enableval" = yes; then
10937 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10938 else
10939 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10940 fi
10941
10942 else
10943
10944 LINE=`grep "^wxUSE_TOOLBAR_NATIVE=" ${wx_arg_cache_file}`
10945 if test "x$LINE" != x ; then
10946 eval "DEFAULT_$LINE"
10947 else
10948 no_cache=1
10949 fi
10950
10951 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10952
10953 fi
10954
10955
10956 eval "$ac_cv_use_tbarnative"
10957 if test "$no_cache" != 1; then
10958 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10959 fi
10960
10961 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10962 { echo "$as_me:$LINENO: result: yes" >&5
10963 echo "${ECHO_T}yes" >&6; }
10964 else
10965 { echo "$as_me:$LINENO: result: no" >&5
10966 echo "${ECHO_T}no" >&6; }
10967 fi
10968
10969
10970 enablestring=
10971 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10972 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10973 no_cache=0
10974 # Check whether --enable-treebook was given.
10975 if test "${enable_treebook+set}" = set; then
10976 enableval=$enable_treebook;
10977 if test "$enableval" = yes; then
10978 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10979 else
10980 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10981 fi
10982
10983 else
10984
10985 LINE=`grep "^wxUSE_TREEBOOK=" ${wx_arg_cache_file}`
10986 if test "x$LINE" != x ; then
10987 eval "DEFAULT_$LINE"
10988 else
10989 no_cache=1
10990 fi
10991
10992 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10993
10994 fi
10995
10996
10997 eval "$ac_cv_use_treebook"
10998 if test "$no_cache" != 1; then
10999 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
11000 fi
11001
11002 if test "$wxUSE_TREEBOOK" = yes; then
11003 { echo "$as_me:$LINENO: result: yes" >&5
11004 echo "${ECHO_T}yes" >&6; }
11005 else
11006 { echo "$as_me:$LINENO: result: no" >&5
11007 echo "${ECHO_T}no" >&6; }
11008 fi
11009
11010
11011 enablestring=
11012 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
11013 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
11014 no_cache=0
11015 # Check whether --enable-toolbook was given.
11016 if test "${enable_toolbook+set}" = set; then
11017 enableval=$enable_toolbook;
11018 if test "$enableval" = yes; then
11019 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
11020 else
11021 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
11022 fi
11023
11024 else
11025
11026 LINE=`grep "^wxUSE_TOOLBOOK=" ${wx_arg_cache_file}`
11027 if test "x$LINE" != x ; then
11028 eval "DEFAULT_$LINE"
11029 else
11030 no_cache=1
11031 fi
11032
11033 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
11034
11035 fi
11036
11037
11038 eval "$ac_cv_use_toolbook"
11039 if test "$no_cache" != 1; then
11040 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
11041 fi
11042
11043 if test "$wxUSE_TOOLBOOK" = yes; then
11044 { echo "$as_me:$LINENO: result: yes" >&5
11045 echo "${ECHO_T}yes" >&6; }
11046 else
11047 { echo "$as_me:$LINENO: result: no" >&5
11048 echo "${ECHO_T}no" >&6; }
11049 fi
11050
11051
11052 enablestring=
11053 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
11054 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
11055 no_cache=0
11056 # Check whether --enable-treectrl was given.
11057 if test "${enable_treectrl+set}" = set; then
11058 enableval=$enable_treectrl;
11059 if test "$enableval" = yes; then
11060 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
11061 else
11062 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
11063 fi
11064
11065 else
11066
11067 LINE=`grep "^wxUSE_TREECTRL=" ${wx_arg_cache_file}`
11068 if test "x$LINE" != x ; then
11069 eval "DEFAULT_$LINE"
11070 else
11071 no_cache=1
11072 fi
11073
11074 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
11075
11076 fi
11077
11078
11079 eval "$ac_cv_use_treectrl"
11080 if test "$no_cache" != 1; then
11081 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
11082 fi
11083
11084 if test "$wxUSE_TREECTRL" = yes; then
11085 { echo "$as_me:$LINENO: result: yes" >&5
11086 echo "${ECHO_T}yes" >&6; }
11087 else
11088 { echo "$as_me:$LINENO: result: no" >&5
11089 echo "${ECHO_T}no" >&6; }
11090 fi
11091
11092
11093 enablestring=
11094 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
11095 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
11096 no_cache=0
11097 # Check whether --enable-tipwindow was given.
11098 if test "${enable_tipwindow+set}" = set; then
11099 enableval=$enable_tipwindow;
11100 if test "$enableval" = yes; then
11101 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
11102 else
11103 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
11104 fi
11105
11106 else
11107
11108 LINE=`grep "^wxUSE_TIPWINDOW=" ${wx_arg_cache_file}`
11109 if test "x$LINE" != x ; then
11110 eval "DEFAULT_$LINE"
11111 else
11112 no_cache=1
11113 fi
11114
11115 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
11116
11117 fi
11118
11119
11120 eval "$ac_cv_use_tipwindow"
11121 if test "$no_cache" != 1; then
11122 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
11123 fi
11124
11125 if test "$wxUSE_TIPWINDOW" = yes; then
11126 { echo "$as_me:$LINENO: result: yes" >&5
11127 echo "${ECHO_T}yes" >&6; }
11128 else
11129 { echo "$as_me:$LINENO: result: no" >&5
11130 echo "${ECHO_T}no" >&6; }
11131 fi
11132
11133
11134 enablestring=
11135 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
11136 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
11137 no_cache=0
11138 # Check whether --enable-popupwin was given.
11139 if test "${enable_popupwin+set}" = set; then
11140 enableval=$enable_popupwin;
11141 if test "$enableval" = yes; then
11142 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
11143 else
11144 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
11145 fi
11146
11147 else
11148
11149 LINE=`grep "^wxUSE_POPUPWIN=" ${wx_arg_cache_file}`
11150 if test "x$LINE" != x ; then
11151 eval "DEFAULT_$LINE"
11152 else
11153 no_cache=1
11154 fi
11155
11156 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
11157
11158 fi
11159
11160
11161 eval "$ac_cv_use_popupwin"
11162 if test "$no_cache" != 1; then
11163 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
11164 fi
11165
11166 if test "$wxUSE_POPUPWIN" = yes; then
11167 { echo "$as_me:$LINENO: result: yes" >&5
11168 echo "${ECHO_T}yes" >&6; }
11169 else
11170 { echo "$as_me:$LINENO: result: no" >&5
11171 echo "${ECHO_T}no" >&6; }
11172 fi
11173
11174
11175
11176
11177 enablestring=
11178 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11179 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11180 no_cache=0
11181 # Check whether --enable-commondlg was given.
11182 if test "${enable_commondlg+set}" = set; then
11183 enableval=$enable_commondlg;
11184 if test "$enableval" = yes; then
11185 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11186 else
11187 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11188 fi
11189
11190 else
11191
11192 LINE=`grep "^wxUSE_COMMONDLGS=" ${wx_arg_cache_file}`
11193 if test "x$LINE" != x ; then
11194 eval "DEFAULT_$LINE"
11195 else
11196 no_cache=1
11197 fi
11198
11199 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11200
11201 fi
11202
11203
11204 eval "$ac_cv_use_commondlg"
11205 if test "$no_cache" != 1; then
11206 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11207 fi
11208
11209 if test "$wxUSE_COMMONDLGS" = yes; then
11210 { echo "$as_me:$LINENO: result: yes" >&5
11211 echo "${ECHO_T}yes" >&6; }
11212 else
11213 { echo "$as_me:$LINENO: result: no" >&5
11214 echo "${ECHO_T}no" >&6; }
11215 fi
11216
11217
11218 enablestring=
11219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11220 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11221 no_cache=0
11222 # Check whether --enable-aboutdlg was given.
11223 if test "${enable_aboutdlg+set}" = set; then
11224 enableval=$enable_aboutdlg;
11225 if test "$enableval" = yes; then
11226 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11227 else
11228 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11229 fi
11230
11231 else
11232
11233 LINE=`grep "^wxUSE_ABOUTDLG=" ${wx_arg_cache_file}`
11234 if test "x$LINE" != x ; then
11235 eval "DEFAULT_$LINE"
11236 else
11237 no_cache=1
11238 fi
11239
11240 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11241
11242 fi
11243
11244
11245 eval "$ac_cv_use_aboutdlg"
11246 if test "$no_cache" != 1; then
11247 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11248 fi
11249
11250 if test "$wxUSE_ABOUTDLG" = yes; then
11251 { echo "$as_me:$LINENO: result: yes" >&5
11252 echo "${ECHO_T}yes" >&6; }
11253 else
11254 { echo "$as_me:$LINENO: result: no" >&5
11255 echo "${ECHO_T}no" >&6; }
11256 fi
11257
11258
11259 enablestring=
11260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11261 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11262 no_cache=0
11263 # Check whether --enable-choicedlg was given.
11264 if test "${enable_choicedlg+set}" = set; then
11265 enableval=$enable_choicedlg;
11266 if test "$enableval" = yes; then
11267 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11268 else
11269 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11270 fi
11271
11272 else
11273
11274 LINE=`grep "^wxUSE_CHOICEDLG=" ${wx_arg_cache_file}`
11275 if test "x$LINE" != x ; then
11276 eval "DEFAULT_$LINE"
11277 else
11278 no_cache=1
11279 fi
11280
11281 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11282
11283 fi
11284
11285
11286 eval "$ac_cv_use_choicedlg"
11287 if test "$no_cache" != 1; then
11288 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11289 fi
11290
11291 if test "$wxUSE_CHOICEDLG" = yes; then
11292 { echo "$as_me:$LINENO: result: yes" >&5
11293 echo "${ECHO_T}yes" >&6; }
11294 else
11295 { echo "$as_me:$LINENO: result: no" >&5
11296 echo "${ECHO_T}no" >&6; }
11297 fi
11298
11299
11300 enablestring=
11301 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11302 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11303 no_cache=0
11304 # Check whether --enable-coldlg was given.
11305 if test "${enable_coldlg+set}" = set; then
11306 enableval=$enable_coldlg;
11307 if test "$enableval" = yes; then
11308 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11309 else
11310 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11311 fi
11312
11313 else
11314
11315 LINE=`grep "^wxUSE_COLOURDLG=" ${wx_arg_cache_file}`
11316 if test "x$LINE" != x ; then
11317 eval "DEFAULT_$LINE"
11318 else
11319 no_cache=1
11320 fi
11321
11322 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11323
11324 fi
11325
11326
11327 eval "$ac_cv_use_coldlg"
11328 if test "$no_cache" != 1; then
11329 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11330 fi
11331
11332 if test "$wxUSE_COLOURDLG" = yes; then
11333 { echo "$as_me:$LINENO: result: yes" >&5
11334 echo "${ECHO_T}yes" >&6; }
11335 else
11336 { echo "$as_me:$LINENO: result: no" >&5
11337 echo "${ECHO_T}no" >&6; }
11338 fi
11339
11340
11341 enablestring=
11342 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11343 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11344 no_cache=0
11345 # Check whether --enable-filedlg was given.
11346 if test "${enable_filedlg+set}" = set; then
11347 enableval=$enable_filedlg;
11348 if test "$enableval" = yes; then
11349 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11350 else
11351 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11352 fi
11353
11354 else
11355
11356 LINE=`grep "^wxUSE_FILEDLG=" ${wx_arg_cache_file}`
11357 if test "x$LINE" != x ; then
11358 eval "DEFAULT_$LINE"
11359 else
11360 no_cache=1
11361 fi
11362
11363 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11364
11365 fi
11366
11367
11368 eval "$ac_cv_use_filedlg"
11369 if test "$no_cache" != 1; then
11370 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11371 fi
11372
11373 if test "$wxUSE_FILEDLG" = yes; then
11374 { echo "$as_me:$LINENO: result: yes" >&5
11375 echo "${ECHO_T}yes" >&6; }
11376 else
11377 { echo "$as_me:$LINENO: result: no" >&5
11378 echo "${ECHO_T}no" >&6; }
11379 fi
11380
11381
11382 enablestring=
11383 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11384 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11385 no_cache=0
11386 # Check whether --enable-finddlg was given.
11387 if test "${enable_finddlg+set}" = set; then
11388 enableval=$enable_finddlg;
11389 if test "$enableval" = yes; then
11390 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11391 else
11392 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11393 fi
11394
11395 else
11396
11397 LINE=`grep "^wxUSE_FINDREPLDLG=" ${wx_arg_cache_file}`
11398 if test "x$LINE" != x ; then
11399 eval "DEFAULT_$LINE"
11400 else
11401 no_cache=1
11402 fi
11403
11404 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11405
11406 fi
11407
11408
11409 eval "$ac_cv_use_finddlg"
11410 if test "$no_cache" != 1; then
11411 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11412 fi
11413
11414 if test "$wxUSE_FINDREPLDLG" = yes; then
11415 { echo "$as_me:$LINENO: result: yes" >&5
11416 echo "${ECHO_T}yes" >&6; }
11417 else
11418 { echo "$as_me:$LINENO: result: no" >&5
11419 echo "${ECHO_T}no" >&6; }
11420 fi
11421
11422
11423 enablestring=
11424 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11425 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11426 no_cache=0
11427 # Check whether --enable-fontdlg was given.
11428 if test "${enable_fontdlg+set}" = set; then
11429 enableval=$enable_fontdlg;
11430 if test "$enableval" = yes; then
11431 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11432 else
11433 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11434 fi
11435
11436 else
11437
11438 LINE=`grep "^wxUSE_FONTDLG=" ${wx_arg_cache_file}`
11439 if test "x$LINE" != x ; then
11440 eval "DEFAULT_$LINE"
11441 else
11442 no_cache=1
11443 fi
11444
11445 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11446
11447 fi
11448
11449
11450 eval "$ac_cv_use_fontdlg"
11451 if test "$no_cache" != 1; then
11452 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11453 fi
11454
11455 if test "$wxUSE_FONTDLG" = yes; then
11456 { echo "$as_me:$LINENO: result: yes" >&5
11457 echo "${ECHO_T}yes" >&6; }
11458 else
11459 { echo "$as_me:$LINENO: result: no" >&5
11460 echo "${ECHO_T}no" >&6; }
11461 fi
11462
11463
11464 enablestring=
11465 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11466 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11467 no_cache=0
11468 # Check whether --enable-dirdlg was given.
11469 if test "${enable_dirdlg+set}" = set; then
11470 enableval=$enable_dirdlg;
11471 if test "$enableval" = yes; then
11472 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11473 else
11474 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11475 fi
11476
11477 else
11478
11479 LINE=`grep "^wxUSE_DIRDLG=" ${wx_arg_cache_file}`
11480 if test "x$LINE" != x ; then
11481 eval "DEFAULT_$LINE"
11482 else
11483 no_cache=1
11484 fi
11485
11486 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11487
11488 fi
11489
11490
11491 eval "$ac_cv_use_dirdlg"
11492 if test "$no_cache" != 1; then
11493 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11494 fi
11495
11496 if test "$wxUSE_DIRDLG" = yes; then
11497 { echo "$as_me:$LINENO: result: yes" >&5
11498 echo "${ECHO_T}yes" >&6; }
11499 else
11500 { echo "$as_me:$LINENO: result: no" >&5
11501 echo "${ECHO_T}no" >&6; }
11502 fi
11503
11504
11505 enablestring=
11506 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11507 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11508 no_cache=0
11509 # Check whether --enable-msgdlg was given.
11510 if test "${enable_msgdlg+set}" = set; then
11511 enableval=$enable_msgdlg;
11512 if test "$enableval" = yes; then
11513 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11514 else
11515 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11516 fi
11517
11518 else
11519
11520 LINE=`grep "^wxUSE_MSGDLG=" ${wx_arg_cache_file}`
11521 if test "x$LINE" != x ; then
11522 eval "DEFAULT_$LINE"
11523 else
11524 no_cache=1
11525 fi
11526
11527 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11528
11529 fi
11530
11531
11532 eval "$ac_cv_use_msgdlg"
11533 if test "$no_cache" != 1; then
11534 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11535 fi
11536
11537 if test "$wxUSE_MSGDLG" = yes; then
11538 { echo "$as_me:$LINENO: result: yes" >&5
11539 echo "${ECHO_T}yes" >&6; }
11540 else
11541 { echo "$as_me:$LINENO: result: no" >&5
11542 echo "${ECHO_T}no" >&6; }
11543 fi
11544
11545
11546 enablestring=
11547 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11548 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11549 no_cache=0
11550 # Check whether --enable-numberdlg was given.
11551 if test "${enable_numberdlg+set}" = set; then
11552 enableval=$enable_numberdlg;
11553 if test "$enableval" = yes; then
11554 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11555 else
11556 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11557 fi
11558
11559 else
11560
11561 LINE=`grep "^wxUSE_NUMBERDLG=" ${wx_arg_cache_file}`
11562 if test "x$LINE" != x ; then
11563 eval "DEFAULT_$LINE"
11564 else
11565 no_cache=1
11566 fi
11567
11568 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11569
11570 fi
11571
11572
11573 eval "$ac_cv_use_numberdlg"
11574 if test "$no_cache" != 1; then
11575 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11576 fi
11577
11578 if test "$wxUSE_NUMBERDLG" = yes; then
11579 { echo "$as_me:$LINENO: result: yes" >&5
11580 echo "${ECHO_T}yes" >&6; }
11581 else
11582 { echo "$as_me:$LINENO: result: no" >&5
11583 echo "${ECHO_T}no" >&6; }
11584 fi
11585
11586
11587 enablestring=
11588 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11589 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11590 no_cache=0
11591 # Check whether --enable-splash was given.
11592 if test "${enable_splash+set}" = set; then
11593 enableval=$enable_splash;
11594 if test "$enableval" = yes; then
11595 ac_cv_use_splash='wxUSE_SPLASH=yes'
11596 else
11597 ac_cv_use_splash='wxUSE_SPLASH=no'
11598 fi
11599
11600 else
11601
11602 LINE=`grep "^wxUSE_SPLASH=" ${wx_arg_cache_file}`
11603 if test "x$LINE" != x ; then
11604 eval "DEFAULT_$LINE"
11605 else
11606 no_cache=1
11607 fi
11608
11609 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11610
11611 fi
11612
11613
11614 eval "$ac_cv_use_splash"
11615 if test "$no_cache" != 1; then
11616 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11617 fi
11618
11619 if test "$wxUSE_SPLASH" = yes; then
11620 { echo "$as_me:$LINENO: result: yes" >&5
11621 echo "${ECHO_T}yes" >&6; }
11622 else
11623 { echo "$as_me:$LINENO: result: no" >&5
11624 echo "${ECHO_T}no" >&6; }
11625 fi
11626
11627
11628 enablestring=
11629 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11630 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11631 no_cache=0
11632 # Check whether --enable-textdlg was given.
11633 if test "${enable_textdlg+set}" = set; then
11634 enableval=$enable_textdlg;
11635 if test "$enableval" = yes; then
11636 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11637 else
11638 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11639 fi
11640
11641 else
11642
11643 LINE=`grep "^wxUSE_TEXTDLG=" ${wx_arg_cache_file}`
11644 if test "x$LINE" != x ; then
11645 eval "DEFAULT_$LINE"
11646 else
11647 no_cache=1
11648 fi
11649
11650 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11651
11652 fi
11653
11654
11655 eval "$ac_cv_use_textdlg"
11656 if test "$no_cache" != 1; then
11657 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11658 fi
11659
11660 if test "$wxUSE_TEXTDLG" = yes; then
11661 { echo "$as_me:$LINENO: result: yes" >&5
11662 echo "${ECHO_T}yes" >&6; }
11663 else
11664 { echo "$as_me:$LINENO: result: no" >&5
11665 echo "${ECHO_T}no" >&6; }
11666 fi
11667
11668
11669 enablestring=
11670 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11671 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11672 no_cache=0
11673 # Check whether --enable-tipdlg was given.
11674 if test "${enable_tipdlg+set}" = set; then
11675 enableval=$enable_tipdlg;
11676 if test "$enableval" = yes; then
11677 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11678 else
11679 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11680 fi
11681
11682 else
11683
11684 LINE=`grep "^wxUSE_STARTUP_TIPS=" ${wx_arg_cache_file}`
11685 if test "x$LINE" != x ; then
11686 eval "DEFAULT_$LINE"
11687 else
11688 no_cache=1
11689 fi
11690
11691 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11692
11693 fi
11694
11695
11696 eval "$ac_cv_use_tipdlg"
11697 if test "$no_cache" != 1; then
11698 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11699 fi
11700
11701 if test "$wxUSE_STARTUP_TIPS" = yes; then
11702 { echo "$as_me:$LINENO: result: yes" >&5
11703 echo "${ECHO_T}yes" >&6; }
11704 else
11705 { echo "$as_me:$LINENO: result: no" >&5
11706 echo "${ECHO_T}no" >&6; }
11707 fi
11708
11709
11710 enablestring=
11711 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11712 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11713 no_cache=0
11714 # Check whether --enable-progressdlg was given.
11715 if test "${enable_progressdlg+set}" = set; then
11716 enableval=$enable_progressdlg;
11717 if test "$enableval" = yes; then
11718 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11719 else
11720 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11721 fi
11722
11723 else
11724
11725 LINE=`grep "^wxUSE_PROGRESSDLG=" ${wx_arg_cache_file}`
11726 if test "x$LINE" != x ; then
11727 eval "DEFAULT_$LINE"
11728 else
11729 no_cache=1
11730 fi
11731
11732 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11733
11734 fi
11735
11736
11737 eval "$ac_cv_use_progressdlg"
11738 if test "$no_cache" != 1; then
11739 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11740 fi
11741
11742 if test "$wxUSE_PROGRESSDLG" = yes; then
11743 { echo "$as_me:$LINENO: result: yes" >&5
11744 echo "${ECHO_T}yes" >&6; }
11745 else
11746 { echo "$as_me:$LINENO: result: no" >&5
11747 echo "${ECHO_T}no" >&6; }
11748 fi
11749
11750
11751 enablestring=
11752 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11753 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11754 no_cache=0
11755 # Check whether --enable-wizarddlg was given.
11756 if test "${enable_wizarddlg+set}" = set; then
11757 enableval=$enable_wizarddlg;
11758 if test "$enableval" = yes; then
11759 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11760 else
11761 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11762 fi
11763
11764 else
11765
11766 LINE=`grep "^wxUSE_WIZARDDLG=" ${wx_arg_cache_file}`
11767 if test "x$LINE" != x ; then
11768 eval "DEFAULT_$LINE"
11769 else
11770 no_cache=1
11771 fi
11772
11773 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11774
11775 fi
11776
11777
11778 eval "$ac_cv_use_wizarddlg"
11779 if test "$no_cache" != 1; then
11780 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11781 fi
11782
11783 if test "$wxUSE_WIZARDDLG" = yes; then
11784 { echo "$as_me:$LINENO: result: yes" >&5
11785 echo "${ECHO_T}yes" >&6; }
11786 else
11787 { echo "$as_me:$LINENO: result: no" >&5
11788 echo "${ECHO_T}no" >&6; }
11789 fi
11790
11791
11792
11793
11794 enablestring=
11795 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11796 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11797 no_cache=0
11798 # Check whether --enable-menus was given.
11799 if test "${enable_menus+set}" = set; then
11800 enableval=$enable_menus;
11801 if test "$enableval" = yes; then
11802 ac_cv_use_menus='wxUSE_MENUS=yes'
11803 else
11804 ac_cv_use_menus='wxUSE_MENUS=no'
11805 fi
11806
11807 else
11808
11809 LINE=`grep "^wxUSE_MENUS=" ${wx_arg_cache_file}`
11810 if test "x$LINE" != x ; then
11811 eval "DEFAULT_$LINE"
11812 else
11813 no_cache=1
11814 fi
11815
11816 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11817
11818 fi
11819
11820
11821 eval "$ac_cv_use_menus"
11822 if test "$no_cache" != 1; then
11823 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11824 fi
11825
11826 if test "$wxUSE_MENUS" = yes; then
11827 { echo "$as_me:$LINENO: result: yes" >&5
11828 echo "${ECHO_T}yes" >&6; }
11829 else
11830 { echo "$as_me:$LINENO: result: no" >&5
11831 echo "${ECHO_T}no" >&6; }
11832 fi
11833
11834
11835 enablestring=
11836 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11837 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11838 no_cache=0
11839 # Check whether --enable-miniframe was given.
11840 if test "${enable_miniframe+set}" = set; then
11841 enableval=$enable_miniframe;
11842 if test "$enableval" = yes; then
11843 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11844 else
11845 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11846 fi
11847
11848 else
11849
11850 LINE=`grep "^wxUSE_MINIFRAME=" ${wx_arg_cache_file}`
11851 if test "x$LINE" != x ; then
11852 eval "DEFAULT_$LINE"
11853 else
11854 no_cache=1
11855 fi
11856
11857 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11858
11859 fi
11860
11861
11862 eval "$ac_cv_use_miniframe"
11863 if test "$no_cache" != 1; then
11864 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11865 fi
11866
11867 if test "$wxUSE_MINIFRAME" = yes; then
11868 { echo "$as_me:$LINENO: result: yes" >&5
11869 echo "${ECHO_T}yes" >&6; }
11870 else
11871 { echo "$as_me:$LINENO: result: no" >&5
11872 echo "${ECHO_T}no" >&6; }
11873 fi
11874
11875
11876 enablestring=
11877 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11878 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11879 no_cache=0
11880 # Check whether --enable-tooltips was given.
11881 if test "${enable_tooltips+set}" = set; then
11882 enableval=$enable_tooltips;
11883 if test "$enableval" = yes; then
11884 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11885 else
11886 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11887 fi
11888
11889 else
11890
11891 LINE=`grep "^wxUSE_TOOLTIPS=" ${wx_arg_cache_file}`
11892 if test "x$LINE" != x ; then
11893 eval "DEFAULT_$LINE"
11894 else
11895 no_cache=1
11896 fi
11897
11898 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11899
11900 fi
11901
11902
11903 eval "$ac_cv_use_tooltips"
11904 if test "$no_cache" != 1; then
11905 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11906 fi
11907
11908 if test "$wxUSE_TOOLTIPS" = yes; then
11909 { echo "$as_me:$LINENO: result: yes" >&5
11910 echo "${ECHO_T}yes" >&6; }
11911 else
11912 { echo "$as_me:$LINENO: result: no" >&5
11913 echo "${ECHO_T}no" >&6; }
11914 fi
11915
11916
11917 enablestring=
11918 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11919 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11920 no_cache=0
11921 # Check whether --enable-splines was given.
11922 if test "${enable_splines+set}" = set; then
11923 enableval=$enable_splines;
11924 if test "$enableval" = yes; then
11925 ac_cv_use_splines='wxUSE_SPLINES=yes'
11926 else
11927 ac_cv_use_splines='wxUSE_SPLINES=no'
11928 fi
11929
11930 else
11931
11932 LINE=`grep "^wxUSE_SPLINES=" ${wx_arg_cache_file}`
11933 if test "x$LINE" != x ; then
11934 eval "DEFAULT_$LINE"
11935 else
11936 no_cache=1
11937 fi
11938
11939 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11940
11941 fi
11942
11943
11944 eval "$ac_cv_use_splines"
11945 if test "$no_cache" != 1; then
11946 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11947 fi
11948
11949 if test "$wxUSE_SPLINES" = yes; then
11950 { echo "$as_me:$LINENO: result: yes" >&5
11951 echo "${ECHO_T}yes" >&6; }
11952 else
11953 { echo "$as_me:$LINENO: result: no" >&5
11954 echo "${ECHO_T}no" >&6; }
11955 fi
11956
11957
11958 enablestring=
11959 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11960 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11961 no_cache=0
11962 # Check whether --enable-mousewheel was given.
11963 if test "${enable_mousewheel+set}" = set; then
11964 enableval=$enable_mousewheel;
11965 if test "$enableval" = yes; then
11966 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11967 else
11968 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11969 fi
11970
11971 else
11972
11973 LINE=`grep "^wxUSE_MOUSEWHEEL=" ${wx_arg_cache_file}`
11974 if test "x$LINE" != x ; then
11975 eval "DEFAULT_$LINE"
11976 else
11977 no_cache=1
11978 fi
11979
11980 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11981
11982 fi
11983
11984
11985 eval "$ac_cv_use_mousewheel"
11986 if test "$no_cache" != 1; then
11987 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11988 fi
11989
11990 if test "$wxUSE_MOUSEWHEEL" = yes; then
11991 { echo "$as_me:$LINENO: result: yes" >&5
11992 echo "${ECHO_T}yes" >&6; }
11993 else
11994 { echo "$as_me:$LINENO: result: no" >&5
11995 echo "${ECHO_T}no" >&6; }
11996 fi
11997
11998
11999 enablestring=
12000 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
12001 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
12002 no_cache=0
12003 # Check whether --enable-validators was given.
12004 if test "${enable_validators+set}" = set; then
12005 enableval=$enable_validators;
12006 if test "$enableval" = yes; then
12007 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
12008 else
12009 ac_cv_use_validators='wxUSE_VALIDATORS=no'
12010 fi
12011
12012 else
12013
12014 LINE=`grep "^wxUSE_VALIDATORS=" ${wx_arg_cache_file}`
12015 if test "x$LINE" != x ; then
12016 eval "DEFAULT_$LINE"
12017 else
12018 no_cache=1
12019 fi
12020
12021 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
12022
12023 fi
12024
12025
12026 eval "$ac_cv_use_validators"
12027 if test "$no_cache" != 1; then
12028 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
12029 fi
12030
12031 if test "$wxUSE_VALIDATORS" = yes; then
12032 { echo "$as_me:$LINENO: result: yes" >&5
12033 echo "${ECHO_T}yes" >&6; }
12034 else
12035 { echo "$as_me:$LINENO: result: no" >&5
12036 echo "${ECHO_T}no" >&6; }
12037 fi
12038
12039
12040 enablestring=
12041 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
12042 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
12043 no_cache=0
12044 # Check whether --enable-busyinfo was given.
12045 if test "${enable_busyinfo+set}" = set; then
12046 enableval=$enable_busyinfo;
12047 if test "$enableval" = yes; then
12048 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
12049 else
12050 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
12051 fi
12052
12053 else
12054
12055 LINE=`grep "^wxUSE_BUSYINFO=" ${wx_arg_cache_file}`
12056 if test "x$LINE" != x ; then
12057 eval "DEFAULT_$LINE"
12058 else
12059 no_cache=1
12060 fi
12061
12062 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
12063
12064 fi
12065
12066
12067 eval "$ac_cv_use_busyinfo"
12068 if test "$no_cache" != 1; then
12069 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
12070 fi
12071
12072 if test "$wxUSE_BUSYINFO" = yes; then
12073 { echo "$as_me:$LINENO: result: yes" >&5
12074 echo "${ECHO_T}yes" >&6; }
12075 else
12076 { echo "$as_me:$LINENO: result: no" >&5
12077 echo "${ECHO_T}no" >&6; }
12078 fi
12079
12080
12081 enablestring=
12082 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
12083 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
12084 no_cache=0
12085 # Check whether --enable-joystick was given.
12086 if test "${enable_joystick+set}" = set; then
12087 enableval=$enable_joystick;
12088 if test "$enableval" = yes; then
12089 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
12090 else
12091 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
12092 fi
12093
12094 else
12095
12096 LINE=`grep "^wxUSE_JOYSTICK=" ${wx_arg_cache_file}`
12097 if test "x$LINE" != x ; then
12098 eval "DEFAULT_$LINE"
12099 else
12100 no_cache=1
12101 fi
12102
12103 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
12104
12105 fi
12106
12107
12108 eval "$ac_cv_use_joystick"
12109 if test "$no_cache" != 1; then
12110 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
12111 fi
12112
12113 if test "$wxUSE_JOYSTICK" = yes; then
12114 { echo "$as_me:$LINENO: result: yes" >&5
12115 echo "${ECHO_T}yes" >&6; }
12116 else
12117 { echo "$as_me:$LINENO: result: no" >&5
12118 echo "${ECHO_T}no" >&6; }
12119 fi
12120
12121
12122 enablestring=
12123 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
12124 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
12125 no_cache=0
12126 # Check whether --enable-metafile was given.
12127 if test "${enable_metafile+set}" = set; then
12128 enableval=$enable_metafile;
12129 if test "$enableval" = yes; then
12130 ac_cv_use_metafile='wxUSE_METAFILE=yes'
12131 else
12132 ac_cv_use_metafile='wxUSE_METAFILE=no'
12133 fi
12134
12135 else
12136
12137 LINE=`grep "^wxUSE_METAFILE=" ${wx_arg_cache_file}`
12138 if test "x$LINE" != x ; then
12139 eval "DEFAULT_$LINE"
12140 else
12141 no_cache=1
12142 fi
12143
12144 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
12145
12146 fi
12147
12148
12149 eval "$ac_cv_use_metafile"
12150 if test "$no_cache" != 1; then
12151 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
12152 fi
12153
12154 if test "$wxUSE_METAFILE" = yes; then
12155 { echo "$as_me:$LINENO: result: yes" >&5
12156 echo "${ECHO_T}yes" >&6; }
12157 else
12158 { echo "$as_me:$LINENO: result: no" >&5
12159 echo "${ECHO_T}no" >&6; }
12160 fi
12161
12162
12163 enablestring=
12164 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
12165 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
12166 no_cache=0
12167 # Check whether --enable-dragimage was given.
12168 if test "${enable_dragimage+set}" = set; then
12169 enableval=$enable_dragimage;
12170 if test "$enableval" = yes; then
12171 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12172 else
12173 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12174 fi
12175
12176 else
12177
12178 LINE=`grep "^wxUSE_DRAGIMAGE=" ${wx_arg_cache_file}`
12179 if test "x$LINE" != x ; then
12180 eval "DEFAULT_$LINE"
12181 else
12182 no_cache=1
12183 fi
12184
12185 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12186
12187 fi
12188
12189
12190 eval "$ac_cv_use_dragimage"
12191 if test "$no_cache" != 1; then
12192 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12193 fi
12194
12195 if test "$wxUSE_DRAGIMAGE" = yes; then
12196 { echo "$as_me:$LINENO: result: yes" >&5
12197 echo "${ECHO_T}yes" >&6; }
12198 else
12199 { echo "$as_me:$LINENO: result: no" >&5
12200 echo "${ECHO_T}no" >&6; }
12201 fi
12202
12203
12204 enablestring=
12205 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12206 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12207 no_cache=0
12208 # Check whether --enable-accessibility was given.
12209 if test "${enable_accessibility+set}" = set; then
12210 enableval=$enable_accessibility;
12211 if test "$enableval" = yes; then
12212 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12213 else
12214 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12215 fi
12216
12217 else
12218
12219 LINE=`grep "^wxUSE_ACCESSIBILITY=" ${wx_arg_cache_file}`
12220 if test "x$LINE" != x ; then
12221 eval "DEFAULT_$LINE"
12222 else
12223 no_cache=1
12224 fi
12225
12226 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12227
12228 fi
12229
12230
12231 eval "$ac_cv_use_accessibility"
12232 if test "$no_cache" != 1; then
12233 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12234 fi
12235
12236 if test "$wxUSE_ACCESSIBILITY" = yes; then
12237 { echo "$as_me:$LINENO: result: yes" >&5
12238 echo "${ECHO_T}yes" >&6; }
12239 else
12240 { echo "$as_me:$LINENO: result: no" >&5
12241 echo "${ECHO_T}no" >&6; }
12242 fi
12243
12244
12245 if test "$wxUSE_MSW" = "1"; then
12246
12247 enablestring=
12248 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12249 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12250 no_cache=0
12251 # Check whether --enable-dccache was given.
12252 if test "${enable_dccache+set}" = set; then
12253 enableval=$enable_dccache;
12254 if test "$enableval" = yes; then
12255 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12256 else
12257 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12258 fi
12259
12260 else
12261
12262 LINE=`grep "^wxUSE_DC_CACHEING=" ${wx_arg_cache_file}`
12263 if test "x$LINE" != x ; then
12264 eval "DEFAULT_$LINE"
12265 else
12266 no_cache=1
12267 fi
12268
12269 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12270
12271 fi
12272
12273
12274 eval "$ac_cv_use_dccache"
12275 if test "$no_cache" != 1; then
12276 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12277 fi
12278
12279 if test "$wxUSE_DC_CACHEING" = yes; then
12280 { echo "$as_me:$LINENO: result: yes" >&5
12281 echo "${ECHO_T}yes" >&6; }
12282 else
12283 { echo "$as_me:$LINENO: result: no" >&5
12284 echo "${ECHO_T}no" >&6; }
12285 fi
12286
12287 fi
12288
12289
12290
12291 enablestring=
12292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12293 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12294 no_cache=0
12295 # Check whether --enable-palette was given.
12296 if test "${enable_palette+set}" = set; then
12297 enableval=$enable_palette;
12298 if test "$enableval" = yes; then
12299 ac_cv_use_palette='wxUSE_PALETTE=yes'
12300 else
12301 ac_cv_use_palette='wxUSE_PALETTE=no'
12302 fi
12303
12304 else
12305
12306 LINE=`grep "^wxUSE_PALETTE=" ${wx_arg_cache_file}`
12307 if test "x$LINE" != x ; then
12308 eval "DEFAULT_$LINE"
12309 else
12310 no_cache=1
12311 fi
12312
12313 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12314
12315 fi
12316
12317
12318 eval "$ac_cv_use_palette"
12319 if test "$no_cache" != 1; then
12320 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12321 fi
12322
12323 if test "$wxUSE_PALETTE" = yes; then
12324 { echo "$as_me:$LINENO: result: yes" >&5
12325 echo "${ECHO_T}yes" >&6; }
12326 else
12327 { echo "$as_me:$LINENO: result: no" >&5
12328 echo "${ECHO_T}no" >&6; }
12329 fi
12330
12331
12332 enablestring=
12333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12334 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12335 no_cache=0
12336 # Check whether --enable-image was given.
12337 if test "${enable_image+set}" = set; then
12338 enableval=$enable_image;
12339 if test "$enableval" = yes; then
12340 ac_cv_use_image='wxUSE_IMAGE=yes'
12341 else
12342 ac_cv_use_image='wxUSE_IMAGE=no'
12343 fi
12344
12345 else
12346
12347 LINE=`grep "^wxUSE_IMAGE=" ${wx_arg_cache_file}`
12348 if test "x$LINE" != x ; then
12349 eval "DEFAULT_$LINE"
12350 else
12351 no_cache=1
12352 fi
12353
12354 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12355
12356 fi
12357
12358
12359 eval "$ac_cv_use_image"
12360 if test "$no_cache" != 1; then
12361 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12362 fi
12363
12364 if test "$wxUSE_IMAGE" = yes; then
12365 { echo "$as_me:$LINENO: result: yes" >&5
12366 echo "${ECHO_T}yes" >&6; }
12367 else
12368 { echo "$as_me:$LINENO: result: no" >&5
12369 echo "${ECHO_T}no" >&6; }
12370 fi
12371
12372
12373 enablestring=
12374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12375 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12376 no_cache=0
12377 # Check whether --enable-gif was given.
12378 if test "${enable_gif+set}" = set; then
12379 enableval=$enable_gif;
12380 if test "$enableval" = yes; then
12381 ac_cv_use_gif='wxUSE_GIF=yes'
12382 else
12383 ac_cv_use_gif='wxUSE_GIF=no'
12384 fi
12385
12386 else
12387
12388 LINE=`grep "^wxUSE_GIF=" ${wx_arg_cache_file}`
12389 if test "x$LINE" != x ; then
12390 eval "DEFAULT_$LINE"
12391 else
12392 no_cache=1
12393 fi
12394
12395 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12396
12397 fi
12398
12399
12400 eval "$ac_cv_use_gif"
12401 if test "$no_cache" != 1; then
12402 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12403 fi
12404
12405 if test "$wxUSE_GIF" = yes; then
12406 { echo "$as_me:$LINENO: result: yes" >&5
12407 echo "${ECHO_T}yes" >&6; }
12408 else
12409 { echo "$as_me:$LINENO: result: no" >&5
12410 echo "${ECHO_T}no" >&6; }
12411 fi
12412
12413
12414 enablestring=
12415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12416 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12417 no_cache=0
12418 # Check whether --enable-pcx was given.
12419 if test "${enable_pcx+set}" = set; then
12420 enableval=$enable_pcx;
12421 if test "$enableval" = yes; then
12422 ac_cv_use_pcx='wxUSE_PCX=yes'
12423 else
12424 ac_cv_use_pcx='wxUSE_PCX=no'
12425 fi
12426
12427 else
12428
12429 LINE=`grep "^wxUSE_PCX=" ${wx_arg_cache_file}`
12430 if test "x$LINE" != x ; then
12431 eval "DEFAULT_$LINE"
12432 else
12433 no_cache=1
12434 fi
12435
12436 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12437
12438 fi
12439
12440
12441 eval "$ac_cv_use_pcx"
12442 if test "$no_cache" != 1; then
12443 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12444 fi
12445
12446 if test "$wxUSE_PCX" = yes; then
12447 { echo "$as_me:$LINENO: result: yes" >&5
12448 echo "${ECHO_T}yes" >&6; }
12449 else
12450 { echo "$as_me:$LINENO: result: no" >&5
12451 echo "${ECHO_T}no" >&6; }
12452 fi
12453
12454
12455 enablestring=
12456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12457 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12458 no_cache=0
12459 # Check whether --enable-tga was given.
12460 if test "${enable_tga+set}" = set; then
12461 enableval=$enable_tga;
12462 if test "$enableval" = yes; then
12463 ac_cv_use_tga='wxUSE_TGA=yes'
12464 else
12465 ac_cv_use_tga='wxUSE_TGA=no'
12466 fi
12467
12468 else
12469
12470 LINE=`grep "^wxUSE_TGA=" ${wx_arg_cache_file}`
12471 if test "x$LINE" != x ; then
12472 eval "DEFAULT_$LINE"
12473 else
12474 no_cache=1
12475 fi
12476
12477 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12478
12479 fi
12480
12481
12482 eval "$ac_cv_use_tga"
12483 if test "$no_cache" != 1; then
12484 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12485 fi
12486
12487 if test "$wxUSE_TGA" = yes; then
12488 { echo "$as_me:$LINENO: result: yes" >&5
12489 echo "${ECHO_T}yes" >&6; }
12490 else
12491 { echo "$as_me:$LINENO: result: no" >&5
12492 echo "${ECHO_T}no" >&6; }
12493 fi
12494
12495
12496 enablestring=
12497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12498 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12499 no_cache=0
12500 # Check whether --enable-iff was given.
12501 if test "${enable_iff+set}" = set; then
12502 enableval=$enable_iff;
12503 if test "$enableval" = yes; then
12504 ac_cv_use_iff='wxUSE_IFF=yes'
12505 else
12506 ac_cv_use_iff='wxUSE_IFF=no'
12507 fi
12508
12509 else
12510
12511 LINE=`grep "^wxUSE_IFF=" ${wx_arg_cache_file}`
12512 if test "x$LINE" != x ; then
12513 eval "DEFAULT_$LINE"
12514 else
12515 no_cache=1
12516 fi
12517
12518 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12519
12520 fi
12521
12522
12523 eval "$ac_cv_use_iff"
12524 if test "$no_cache" != 1; then
12525 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12526 fi
12527
12528 if test "$wxUSE_IFF" = yes; then
12529 { echo "$as_me:$LINENO: result: yes" >&5
12530 echo "${ECHO_T}yes" >&6; }
12531 else
12532 { echo "$as_me:$LINENO: result: no" >&5
12533 echo "${ECHO_T}no" >&6; }
12534 fi
12535
12536
12537 enablestring=
12538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12539 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12540 no_cache=0
12541 # Check whether --enable-pnm was given.
12542 if test "${enable_pnm+set}" = set; then
12543 enableval=$enable_pnm;
12544 if test "$enableval" = yes; then
12545 ac_cv_use_pnm='wxUSE_PNM=yes'
12546 else
12547 ac_cv_use_pnm='wxUSE_PNM=no'
12548 fi
12549
12550 else
12551
12552 LINE=`grep "^wxUSE_PNM=" ${wx_arg_cache_file}`
12553 if test "x$LINE" != x ; then
12554 eval "DEFAULT_$LINE"
12555 else
12556 no_cache=1
12557 fi
12558
12559 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12560
12561 fi
12562
12563
12564 eval "$ac_cv_use_pnm"
12565 if test "$no_cache" != 1; then
12566 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12567 fi
12568
12569 if test "$wxUSE_PNM" = yes; then
12570 { echo "$as_me:$LINENO: result: yes" >&5
12571 echo "${ECHO_T}yes" >&6; }
12572 else
12573 { echo "$as_me:$LINENO: result: no" >&5
12574 echo "${ECHO_T}no" >&6; }
12575 fi
12576
12577
12578 enablestring=
12579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12580 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12581 no_cache=0
12582 # Check whether --enable-xpm was given.
12583 if test "${enable_xpm+set}" = set; then
12584 enableval=$enable_xpm;
12585 if test "$enableval" = yes; then
12586 ac_cv_use_xpm='wxUSE_XPM=yes'
12587 else
12588 ac_cv_use_xpm='wxUSE_XPM=no'
12589 fi
12590
12591 else
12592
12593 LINE=`grep "^wxUSE_XPM=" ${wx_arg_cache_file}`
12594 if test "x$LINE" != x ; then
12595 eval "DEFAULT_$LINE"
12596 else
12597 no_cache=1
12598 fi
12599
12600 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12601
12602 fi
12603
12604
12605 eval "$ac_cv_use_xpm"
12606 if test "$no_cache" != 1; then
12607 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12608 fi
12609
12610 if test "$wxUSE_XPM" = yes; then
12611 { echo "$as_me:$LINENO: result: yes" >&5
12612 echo "${ECHO_T}yes" >&6; }
12613 else
12614 { echo "$as_me:$LINENO: result: no" >&5
12615 echo "${ECHO_T}no" >&6; }
12616 fi
12617
12618
12619 enablestring=
12620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12621 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12622 no_cache=0
12623 # Check whether --enable-ico_cur was given.
12624 if test "${enable_ico_cur+set}" = set; then
12625 enableval=$enable_ico_cur;
12626 if test "$enableval" = yes; then
12627 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12628 else
12629 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12630 fi
12631
12632 else
12633
12634 LINE=`grep "^wxUSE_ICO_CUR=" ${wx_arg_cache_file}`
12635 if test "x$LINE" != x ; then
12636 eval "DEFAULT_$LINE"
12637 else
12638 no_cache=1
12639 fi
12640
12641 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12642
12643 fi
12644
12645
12646 eval "$ac_cv_use_ico_cur"
12647 if test "$no_cache" != 1; then
12648 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12649 fi
12650
12651 if test "$wxUSE_ICO_CUR" = yes; then
12652 { echo "$as_me:$LINENO: result: yes" >&5
12653 echo "${ECHO_T}yes" >&6; }
12654 else
12655 { echo "$as_me:$LINENO: result: no" >&5
12656 echo "${ECHO_T}no" >&6; }
12657 fi
12658
12659
12660 fi
12661
12662
12663
12664 # Check whether --with-flavour was given.
12665 if test "${with_flavour+set}" = set; then
12666 withval=$with_flavour; WX_FLAVOUR="$withval"
12667 fi
12668
12669
12670
12671
12672 enablestring=
12673 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12674 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12675 no_cache=0
12676 # Check whether --enable-official_build was given.
12677 if test "${enable_official_build+set}" = set; then
12678 enableval=$enable_official_build;
12679 if test "$enableval" = yes; then
12680 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12681 else
12682 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12683 fi
12684
12685 else
12686
12687 LINE=`grep "^wxUSE_OFFICIAL_BUILD=" ${wx_arg_cache_file}`
12688 if test "x$LINE" != x ; then
12689 eval "DEFAULT_$LINE"
12690 else
12691 no_cache=1
12692 fi
12693
12694 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12695
12696 fi
12697
12698
12699 eval "$ac_cv_use_official_build"
12700 if test "$no_cache" != 1; then
12701 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12702 fi
12703
12704 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12705 { echo "$as_me:$LINENO: result: yes" >&5
12706 echo "${ECHO_T}yes" >&6; }
12707 else
12708 { echo "$as_me:$LINENO: result: no" >&5
12709 echo "${ECHO_T}no" >&6; }
12710 fi
12711
12712 # Check whether --enable-vendor was given.
12713 if test "${enable_vendor+set}" = set; then
12714 enableval=$enable_vendor; VENDOR="$enableval"
12715 fi
12716
12717 if test "x$VENDOR" = "x"; then
12718 VENDOR="custom"
12719 fi
12720
12721
12722
12723
12724 echo "saving argument cache $wx_arg_cache_file"
12725 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12726
12727
12728
12729 { echo "$as_me:$LINENO: checking for toolkit" >&5
12730 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12731
12732 # In Wine, we need to default to MSW, not GTK or MOTIF
12733 if test "$wxUSE_WINE" = "yes"; then
12734 DEFAULT_DEFAULT_wxUSE_GTK=0
12735 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12736 DEFAULT_DEFAULT_wxUSE_MSW=1
12737 wxUSE_SHARED=no
12738 CC=${CC:-winegcc}
12739 CXX=${CXX:-wineg++}
12740 fi
12741
12742
12743 if test "$wxUSE_GUI" = "yes"; then
12744
12745 if test "$USE_BEOS" = 1; then
12746 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12747 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12748 { (exit 1); exit 1; }; }
12749 fi
12750
12751 if test "$TOOLKIT_GIVEN" = 1; then
12752 for toolkit in `echo $ALL_TOOLKITS`; do
12753 var=wxUSE_$toolkit
12754 eval "value=\$${var}"
12755 if test "x$value" = "xno"; then
12756 eval "$var=0"
12757 elif test "x$value" != "x"; then
12758 eval "$var=1"
12759 fi
12760
12761 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12762 eval "wx${toolkit}_VERSION=$value"
12763 fi
12764 done
12765 else
12766 for toolkit in `echo $ALL_TOOLKITS`; do
12767 if test "$has_toolkit_in_cache" != 1; then
12768 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12769 else
12770 var=DEFAULT_wxUSE_$toolkit
12771
12772 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12773 if test "x$version" != "x"; then
12774 eval "wx${toolkit}_VERSION=$version"
12775 fi
12776 fi
12777 eval "wxUSE_$toolkit=\$${var}"
12778 done
12779 fi
12780
12781 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12782 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12783 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12784
12785 case "${host}" in
12786 *-pc-os2_emx | *-pc-os2-emx )
12787 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12788 esac
12789
12790 case "$NUM_TOOLKITS" in
12791 1)
12792 ;;
12793 0)
12794 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12795 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12796 { (exit 1); exit 1; }; }
12797 ;;
12798 *)
12799 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12800 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12801 { (exit 1); exit 1; }; }
12802 esac
12803
12804 # to be removed when --disable-gtk2 isn't needed
12805 if test "x$wxUSE_GTK2" = "xyes"; then
12806 wxGTK_VERSION=2
12807 elif test "x$wxUSE_GTK2" = "xno"; then
12808 wxGTK_VERSION=1
12809 fi
12810
12811 for toolkit in `echo $ALL_TOOLKITS`; do
12812 var=wxUSE_$toolkit
12813 eval "value=\$${var}"
12814 if test "x$value" != x; then
12815 cache_var=CACHE_$toolkit
12816 eval "cache=\$${cache_var}"
12817 if test "$cache" = 1; then
12818 echo "$var=$value" >> ${wx_arg_cache_file}
12819 eval "version=\$wx${toolkit}_VERSION"
12820 if test "x$version" != "x"; then
12821 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12822 fi
12823 fi
12824 if test "$value" = 1; then
12825 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12826 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12827 echo "${ECHO_T}$toolkit_echo" >&6; }
12828 fi
12829 fi
12830 done
12831 else
12832 if test "x$host_alias" != "x"; then
12833 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12834 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12835 else
12836 { echo "$as_me:$LINENO: result: base only" >&5
12837 echo "${ECHO_T}base only" >&6; }
12838 fi
12839 fi
12840
12841
12842 cat >confcache <<\_ACEOF
12843 # This file is a shell script that caches the results of configure
12844 # tests run on this system so they can be shared between configure
12845 # scripts and configure runs, see configure's option --config-cache.
12846 # It is not useful on other systems. If it contains results you don't
12847 # want to keep, you may remove or edit it.
12848 #
12849 # config.status only pays attention to the cache file if you give it
12850 # the --recheck option to rerun configure.
12851 #
12852 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12853 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12854 # following values.
12855
12856 _ACEOF
12857
12858 # The following way of writing the cache mishandles newlines in values,
12859 # but we know of no workaround that is simple, portable, and efficient.
12860 # So, we kill variables containing newlines.
12861 # Ultrix sh set writes to stderr and can't be redirected directly,
12862 # and sets the high bit in the cache file unless we assign to the vars.
12863 (
12864 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12865 eval ac_val=\$$ac_var
12866 case $ac_val in #(
12867 *${as_nl}*)
12868 case $ac_var in #(
12869 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12870 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12871 esac
12872 case $ac_var in #(
12873 _ | IFS | as_nl) ;; #(
12874 *) $as_unset $ac_var ;;
12875 esac ;;
12876 esac
12877 done
12878
12879 (set) 2>&1 |
12880 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12881 *${as_nl}ac_space=\ *)
12882 # `set' does not quote correctly, so add quotes (double-quote
12883 # substitution turns \\\\ into \\, and sed turns \\ into \).
12884 sed -n \
12885 "s/'/'\\\\''/g;
12886 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12887 ;; #(
12888 *)
12889 # `set' quotes correctly as required by POSIX, so do not add quotes.
12890 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12891 ;;
12892 esac |
12893 sort
12894 ) |
12895 sed '
12896 /^ac_cv_env_/b end
12897 t clear
12898 :clear
12899 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12900 t end
12901 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12902 :end' >>confcache
12903 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12904 if test -w "$cache_file"; then
12905 test "x$cache_file" != "x/dev/null" &&
12906 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12907 echo "$as_me: updating cache $cache_file" >&6;}
12908 cat confcache >$cache_file
12909 else
12910 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12911 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12912 fi
12913 fi
12914 rm -f confcache
12915
12916 CFLAGS=${CFLAGS:=}
12917
12918
12919
12920 ac_ext=c
12921 ac_cpp='$CPP $CPPFLAGS'
12922 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12923 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12924 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12925 if test -n "$ac_tool_prefix"; then
12926 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12927 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12928 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12929 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12930 if test "${ac_cv_prog_CC+set}" = set; then
12931 echo $ECHO_N "(cached) $ECHO_C" >&6
12932 else
12933 if test -n "$CC"; then
12934 ac_cv_prog_CC="$CC" # Let the user override the test.
12935 else
12936 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12937 for as_dir in $PATH
12938 do
12939 IFS=$as_save_IFS
12940 test -z "$as_dir" && as_dir=.
12941 for ac_exec_ext in '' $ac_executable_extensions; do
12942 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12943 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12944 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12945 break 2
12946 fi
12947 done
12948 done
12949 IFS=$as_save_IFS
12950
12951 fi
12952 fi
12953 CC=$ac_cv_prog_CC
12954 if test -n "$CC"; then
12955 { echo "$as_me:$LINENO: result: $CC" >&5
12956 echo "${ECHO_T}$CC" >&6; }
12957 else
12958 { echo "$as_me:$LINENO: result: no" >&5
12959 echo "${ECHO_T}no" >&6; }
12960 fi
12961
12962
12963 fi
12964 if test -z "$ac_cv_prog_CC"; then
12965 ac_ct_CC=$CC
12966 # Extract the first word of "gcc", so it can be a program name with args.
12967 set dummy gcc; ac_word=$2
12968 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12969 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12970 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12971 echo $ECHO_N "(cached) $ECHO_C" >&6
12972 else
12973 if test -n "$ac_ct_CC"; then
12974 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12975 else
12976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12977 for as_dir in $PATH
12978 do
12979 IFS=$as_save_IFS
12980 test -z "$as_dir" && as_dir=.
12981 for ac_exec_ext in '' $ac_executable_extensions; do
12982 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12983 ac_cv_prog_ac_ct_CC="gcc"
12984 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12985 break 2
12986 fi
12987 done
12988 done
12989 IFS=$as_save_IFS
12990
12991 fi
12992 fi
12993 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12994 if test -n "$ac_ct_CC"; then
12995 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12996 echo "${ECHO_T}$ac_ct_CC" >&6; }
12997 else
12998 { echo "$as_me:$LINENO: result: no" >&5
12999 echo "${ECHO_T}no" >&6; }
13000 fi
13001
13002 if test "x$ac_ct_CC" = x; then
13003 CC=""
13004 else
13005 case $cross_compiling:$ac_tool_warned in
13006 yes:)
13007 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13008 whose name does not start with the host triplet. If you think this
13009 configuration is useful to you, please write to autoconf@gnu.org." >&5
13010 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13011 whose name does not start with the host triplet. If you think this
13012 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13013 ac_tool_warned=yes ;;
13014 esac
13015 CC=$ac_ct_CC
13016 fi
13017 else
13018 CC="$ac_cv_prog_CC"
13019 fi
13020
13021 if test -z "$CC"; then
13022 if test -n "$ac_tool_prefix"; then
13023 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
13024 set dummy ${ac_tool_prefix}cc; ac_word=$2
13025 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13026 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13027 if test "${ac_cv_prog_CC+set}" = set; then
13028 echo $ECHO_N "(cached) $ECHO_C" >&6
13029 else
13030 if test -n "$CC"; then
13031 ac_cv_prog_CC="$CC" # Let the user override the test.
13032 else
13033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13034 for as_dir in $PATH
13035 do
13036 IFS=$as_save_IFS
13037 test -z "$as_dir" && as_dir=.
13038 for ac_exec_ext in '' $ac_executable_extensions; do
13039 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13040 ac_cv_prog_CC="${ac_tool_prefix}cc"
13041 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13042 break 2
13043 fi
13044 done
13045 done
13046 IFS=$as_save_IFS
13047
13048 fi
13049 fi
13050 CC=$ac_cv_prog_CC
13051 if test -n "$CC"; then
13052 { echo "$as_me:$LINENO: result: $CC" >&5
13053 echo "${ECHO_T}$CC" >&6; }
13054 else
13055 { echo "$as_me:$LINENO: result: no" >&5
13056 echo "${ECHO_T}no" >&6; }
13057 fi
13058
13059
13060 fi
13061 fi
13062 if test -z "$CC"; then
13063 # Extract the first word of "cc", so it can be a program name with args.
13064 set dummy cc; ac_word=$2
13065 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13066 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13067 if test "${ac_cv_prog_CC+set}" = set; then
13068 echo $ECHO_N "(cached) $ECHO_C" >&6
13069 else
13070 if test -n "$CC"; then
13071 ac_cv_prog_CC="$CC" # Let the user override the test.
13072 else
13073 ac_prog_rejected=no
13074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13075 for as_dir in $PATH
13076 do
13077 IFS=$as_save_IFS
13078 test -z "$as_dir" && as_dir=.
13079 for ac_exec_ext in '' $ac_executable_extensions; do
13080 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13081 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
13082 ac_prog_rejected=yes
13083 continue
13084 fi
13085 ac_cv_prog_CC="cc"
13086 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13087 break 2
13088 fi
13089 done
13090 done
13091 IFS=$as_save_IFS
13092
13093 if test $ac_prog_rejected = yes; then
13094 # We found a bogon in the path, so make sure we never use it.
13095 set dummy $ac_cv_prog_CC
13096 shift
13097 if test $# != 0; then
13098 # We chose a different compiler from the bogus one.
13099 # However, it has the same basename, so the bogon will be chosen
13100 # first if we set CC to just the basename; use the full file name.
13101 shift
13102 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
13103 fi
13104 fi
13105 fi
13106 fi
13107 CC=$ac_cv_prog_CC
13108 if test -n "$CC"; then
13109 { echo "$as_me:$LINENO: result: $CC" >&5
13110 echo "${ECHO_T}$CC" >&6; }
13111 else
13112 { echo "$as_me:$LINENO: result: no" >&5
13113 echo "${ECHO_T}no" >&6; }
13114 fi
13115
13116
13117 fi
13118 if test -z "$CC"; then
13119 if test -n "$ac_tool_prefix"; then
13120 for ac_prog in cl.exe
13121 do
13122 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
13123 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
13124 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13125 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13126 if test "${ac_cv_prog_CC+set}" = set; then
13127 echo $ECHO_N "(cached) $ECHO_C" >&6
13128 else
13129 if test -n "$CC"; then
13130 ac_cv_prog_CC="$CC" # Let the user override the test.
13131 else
13132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13133 for as_dir in $PATH
13134 do
13135 IFS=$as_save_IFS
13136 test -z "$as_dir" && as_dir=.
13137 for ac_exec_ext in '' $ac_executable_extensions; do
13138 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13139 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
13140 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13141 break 2
13142 fi
13143 done
13144 done
13145 IFS=$as_save_IFS
13146
13147 fi
13148 fi
13149 CC=$ac_cv_prog_CC
13150 if test -n "$CC"; then
13151 { echo "$as_me:$LINENO: result: $CC" >&5
13152 echo "${ECHO_T}$CC" >&6; }
13153 else
13154 { echo "$as_me:$LINENO: result: no" >&5
13155 echo "${ECHO_T}no" >&6; }
13156 fi
13157
13158
13159 test -n "$CC" && break
13160 done
13161 fi
13162 if test -z "$CC"; then
13163 ac_ct_CC=$CC
13164 for ac_prog in cl.exe
13165 do
13166 # Extract the first word of "$ac_prog", so it can be a program name with args.
13167 set dummy $ac_prog; ac_word=$2
13168 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13169 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13170 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13171 echo $ECHO_N "(cached) $ECHO_C" >&6
13172 else
13173 if test -n "$ac_ct_CC"; then
13174 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13175 else
13176 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13177 for as_dir in $PATH
13178 do
13179 IFS=$as_save_IFS
13180 test -z "$as_dir" && as_dir=.
13181 for ac_exec_ext in '' $ac_executable_extensions; do
13182 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13183 ac_cv_prog_ac_ct_CC="$ac_prog"
13184 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13185 break 2
13186 fi
13187 done
13188 done
13189 IFS=$as_save_IFS
13190
13191 fi
13192 fi
13193 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13194 if test -n "$ac_ct_CC"; then
13195 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13196 echo "${ECHO_T}$ac_ct_CC" >&6; }
13197 else
13198 { echo "$as_me:$LINENO: result: no" >&5
13199 echo "${ECHO_T}no" >&6; }
13200 fi
13201
13202
13203 test -n "$ac_ct_CC" && break
13204 done
13205
13206 if test "x$ac_ct_CC" = x; then
13207 CC=""
13208 else
13209 case $cross_compiling:$ac_tool_warned in
13210 yes:)
13211 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13212 whose name does not start with the host triplet. If you think this
13213 configuration is useful to you, please write to autoconf@gnu.org." >&5
13214 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13215 whose name does not start with the host triplet. If you think this
13216 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13217 ac_tool_warned=yes ;;
13218 esac
13219 CC=$ac_ct_CC
13220 fi
13221 fi
13222
13223 fi
13224
13225
13226 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13227 See \`config.log' for more details." >&5
13228 echo "$as_me: error: no acceptable C compiler found in \$PATH
13229 See \`config.log' for more details." >&2;}
13230 { (exit 1); exit 1; }; }
13231
13232 # Provide some information about the compiler.
13233 echo "$as_me:$LINENO: checking for C compiler version" >&5
13234 ac_compiler=`set X $ac_compile; echo $2`
13235 { (ac_try="$ac_compiler --version >&5"
13236 case "(($ac_try" in
13237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13238 *) ac_try_echo=$ac_try;;
13239 esac
13240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13241 (eval "$ac_compiler --version >&5") 2>&5
13242 ac_status=$?
13243 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13244 (exit $ac_status); }
13245 { (ac_try="$ac_compiler -v >&5"
13246 case "(($ac_try" in
13247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13248 *) ac_try_echo=$ac_try;;
13249 esac
13250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13251 (eval "$ac_compiler -v >&5") 2>&5
13252 ac_status=$?
13253 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13254 (exit $ac_status); }
13255 { (ac_try="$ac_compiler -V >&5"
13256 case "(($ac_try" in
13257 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13258 *) ac_try_echo=$ac_try;;
13259 esac
13260 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13261 (eval "$ac_compiler -V >&5") 2>&5
13262 ac_status=$?
13263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13264 (exit $ac_status); }
13265
13266 cat >conftest.$ac_ext <<_ACEOF
13267 /* confdefs.h. */
13268 _ACEOF
13269 cat confdefs.h >>conftest.$ac_ext
13270 cat >>conftest.$ac_ext <<_ACEOF
13271 /* end confdefs.h. */
13272
13273 int
13274 main ()
13275 {
13276
13277 ;
13278 return 0;
13279 }
13280 _ACEOF
13281 ac_clean_files_save=$ac_clean_files
13282 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13283 # Try to create an executable without -o first, disregard a.out.
13284 # It will help us diagnose broken compilers, and finding out an intuition
13285 # of exeext.
13286 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13287 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13288 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13289 #
13290 # List of possible output files, starting from the most likely.
13291 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13292 # only as a last resort. b.out is created by i960 compilers.
13293 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13294 #
13295 # The IRIX 6 linker writes into existing files which may not be
13296 # executable, retaining their permissions. Remove them first so a
13297 # subsequent execution test works.
13298 ac_rmfiles=
13299 for ac_file in $ac_files
13300 do
13301 case $ac_file in
13302 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13303 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13304 esac
13305 done
13306 rm -f $ac_rmfiles
13307
13308 if { (ac_try="$ac_link_default"
13309 case "(($ac_try" in
13310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13311 *) ac_try_echo=$ac_try;;
13312 esac
13313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13314 (eval "$ac_link_default") 2>&5
13315 ac_status=$?
13316 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13317 (exit $ac_status); }; then
13318 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13319 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13320 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13321 # so that the user can short-circuit this test for compilers unknown to
13322 # Autoconf.
13323 for ac_file in $ac_files ''
13324 do
13325 test -f "$ac_file" || continue
13326 case $ac_file in
13327 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13328 ;;
13329 [ab].out )
13330 # We found the default executable, but exeext='' is most
13331 # certainly right.
13332 break;;
13333 *.* )
13334 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13335 then :; else
13336 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13337 fi
13338 # We set ac_cv_exeext here because the later test for it is not
13339 # safe: cross compilers may not add the suffix if given an `-o'
13340 # argument, so we may need to know it at that point already.
13341 # Even if this section looks crufty: it has the advantage of
13342 # actually working.
13343 break;;
13344 * )
13345 break;;
13346 esac
13347 done
13348 test "$ac_cv_exeext" = no && ac_cv_exeext=
13349
13350 else
13351 ac_file=''
13352 fi
13353
13354 { echo "$as_me:$LINENO: result: $ac_file" >&5
13355 echo "${ECHO_T}$ac_file" >&6; }
13356 if test -z "$ac_file"; then
13357 echo "$as_me: failed program was:" >&5
13358 sed 's/^/| /' conftest.$ac_ext >&5
13359
13360 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13361 See \`config.log' for more details." >&5
13362 echo "$as_me: error: C compiler cannot create executables
13363 See \`config.log' for more details." >&2;}
13364 { (exit 77); exit 77; }; }
13365 fi
13366
13367 ac_exeext=$ac_cv_exeext
13368
13369 # Check that the compiler produces executables we can run. If not, either
13370 # the compiler is broken, or we cross compile.
13371 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13372 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13373 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13374 # If not cross compiling, check that we can run a simple program.
13375 if test "$cross_compiling" != yes; then
13376 if { ac_try='./$ac_file'
13377 { (case "(($ac_try" in
13378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13379 *) ac_try_echo=$ac_try;;
13380 esac
13381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13382 (eval "$ac_try") 2>&5
13383 ac_status=$?
13384 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13385 (exit $ac_status); }; }; then
13386 cross_compiling=no
13387 else
13388 if test "$cross_compiling" = maybe; then
13389 cross_compiling=yes
13390 else
13391 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13392 If you meant to cross compile, use \`--host'.
13393 See \`config.log' for more details." >&5
13394 echo "$as_me: error: cannot run C compiled programs.
13395 If you meant to cross compile, use \`--host'.
13396 See \`config.log' for more details." >&2;}
13397 { (exit 1); exit 1; }; }
13398 fi
13399 fi
13400 fi
13401 { echo "$as_me:$LINENO: result: yes" >&5
13402 echo "${ECHO_T}yes" >&6; }
13403
13404 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13405 ac_clean_files=$ac_clean_files_save
13406 # Check that the compiler produces executables we can run. If not, either
13407 # the compiler is broken, or we cross compile.
13408 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13409 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13410 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13411 echo "${ECHO_T}$cross_compiling" >&6; }
13412
13413 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13414 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13415 if { (ac_try="$ac_link"
13416 case "(($ac_try" in
13417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13418 *) ac_try_echo=$ac_try;;
13419 esac
13420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13421 (eval "$ac_link") 2>&5
13422 ac_status=$?
13423 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13424 (exit $ac_status); }; then
13425 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13426 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13427 # work properly (i.e., refer to `conftest.exe'), while it won't with
13428 # `rm'.
13429 for ac_file in conftest.exe conftest conftest.*; do
13430 test -f "$ac_file" || continue
13431 case $ac_file in
13432 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13433 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13434 break;;
13435 * ) break;;
13436 esac
13437 done
13438 else
13439 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13440 See \`config.log' for more details." >&5
13441 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13442 See \`config.log' for more details." >&2;}
13443 { (exit 1); exit 1; }; }
13444 fi
13445
13446 rm -f conftest$ac_cv_exeext
13447 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13448 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13449
13450 rm -f conftest.$ac_ext
13451 EXEEXT=$ac_cv_exeext
13452 ac_exeext=$EXEEXT
13453 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13454 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13455 if test "${ac_cv_objext+set}" = set; then
13456 echo $ECHO_N "(cached) $ECHO_C" >&6
13457 else
13458 cat >conftest.$ac_ext <<_ACEOF
13459 /* confdefs.h. */
13460 _ACEOF
13461 cat confdefs.h >>conftest.$ac_ext
13462 cat >>conftest.$ac_ext <<_ACEOF
13463 /* end confdefs.h. */
13464
13465 int
13466 main ()
13467 {
13468
13469 ;
13470 return 0;
13471 }
13472 _ACEOF
13473 rm -f conftest.o conftest.obj
13474 if { (ac_try="$ac_compile"
13475 case "(($ac_try" in
13476 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13477 *) ac_try_echo=$ac_try;;
13478 esac
13479 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13480 (eval "$ac_compile") 2>&5
13481 ac_status=$?
13482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13483 (exit $ac_status); }; then
13484 for ac_file in conftest.o conftest.obj conftest.*; do
13485 test -f "$ac_file" || continue;
13486 case $ac_file in
13487 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13488 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13489 break;;
13490 esac
13491 done
13492 else
13493 echo "$as_me: failed program was:" >&5
13494 sed 's/^/| /' conftest.$ac_ext >&5
13495
13496 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13497 See \`config.log' for more details." >&5
13498 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13499 See \`config.log' for more details." >&2;}
13500 { (exit 1); exit 1; }; }
13501 fi
13502
13503 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13504 fi
13505 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13506 echo "${ECHO_T}$ac_cv_objext" >&6; }
13507 OBJEXT=$ac_cv_objext
13508 ac_objext=$OBJEXT
13509 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13510 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13511 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13512 echo $ECHO_N "(cached) $ECHO_C" >&6
13513 else
13514 cat >conftest.$ac_ext <<_ACEOF
13515 /* confdefs.h. */
13516 _ACEOF
13517 cat confdefs.h >>conftest.$ac_ext
13518 cat >>conftest.$ac_ext <<_ACEOF
13519 /* end confdefs.h. */
13520
13521 int
13522 main ()
13523 {
13524 #ifndef __GNUC__
13525 choke me
13526 #endif
13527
13528 ;
13529 return 0;
13530 }
13531 _ACEOF
13532 rm -f conftest.$ac_objext
13533 if { (ac_try="$ac_compile"
13534 case "(($ac_try" in
13535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13536 *) ac_try_echo=$ac_try;;
13537 esac
13538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13539 (eval "$ac_compile") 2>conftest.er1
13540 ac_status=$?
13541 grep -v '^ *+' conftest.er1 >conftest.err
13542 rm -f conftest.er1
13543 cat conftest.err >&5
13544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13545 (exit $ac_status); } && {
13546 test -z "$ac_c_werror_flag" ||
13547 test ! -s conftest.err
13548 } && test -s conftest.$ac_objext; then
13549 ac_compiler_gnu=yes
13550 else
13551 echo "$as_me: failed program was:" >&5
13552 sed 's/^/| /' conftest.$ac_ext >&5
13553
13554 ac_compiler_gnu=no
13555 fi
13556
13557 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13558 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13559
13560 fi
13561 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13562 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13563 GCC=`test $ac_compiler_gnu = yes && echo yes`
13564 ac_test_CFLAGS=${CFLAGS+set}
13565 ac_save_CFLAGS=$CFLAGS
13566 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13567 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13568 if test "${ac_cv_prog_cc_g+set}" = set; then
13569 echo $ECHO_N "(cached) $ECHO_C" >&6
13570 else
13571 ac_save_c_werror_flag=$ac_c_werror_flag
13572 ac_c_werror_flag=yes
13573 ac_cv_prog_cc_g=no
13574 CFLAGS="-g"
13575 cat >conftest.$ac_ext <<_ACEOF
13576 /* confdefs.h. */
13577 _ACEOF
13578 cat confdefs.h >>conftest.$ac_ext
13579 cat >>conftest.$ac_ext <<_ACEOF
13580 /* end confdefs.h. */
13581
13582 int
13583 main ()
13584 {
13585
13586 ;
13587 return 0;
13588 }
13589 _ACEOF
13590 rm -f conftest.$ac_objext
13591 if { (ac_try="$ac_compile"
13592 case "(($ac_try" in
13593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13594 *) ac_try_echo=$ac_try;;
13595 esac
13596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13597 (eval "$ac_compile") 2>conftest.er1
13598 ac_status=$?
13599 grep -v '^ *+' conftest.er1 >conftest.err
13600 rm -f conftest.er1
13601 cat conftest.err >&5
13602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13603 (exit $ac_status); } && {
13604 test -z "$ac_c_werror_flag" ||
13605 test ! -s conftest.err
13606 } && test -s conftest.$ac_objext; then
13607 ac_cv_prog_cc_g=yes
13608 else
13609 echo "$as_me: failed program was:" >&5
13610 sed 's/^/| /' conftest.$ac_ext >&5
13611
13612 CFLAGS=""
13613 cat >conftest.$ac_ext <<_ACEOF
13614 /* confdefs.h. */
13615 _ACEOF
13616 cat confdefs.h >>conftest.$ac_ext
13617 cat >>conftest.$ac_ext <<_ACEOF
13618 /* end confdefs.h. */
13619
13620 int
13621 main ()
13622 {
13623
13624 ;
13625 return 0;
13626 }
13627 _ACEOF
13628 rm -f conftest.$ac_objext
13629 if { (ac_try="$ac_compile"
13630 case "(($ac_try" in
13631 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13632 *) ac_try_echo=$ac_try;;
13633 esac
13634 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13635 (eval "$ac_compile") 2>conftest.er1
13636 ac_status=$?
13637 grep -v '^ *+' conftest.er1 >conftest.err
13638 rm -f conftest.er1
13639 cat conftest.err >&5
13640 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13641 (exit $ac_status); } && {
13642 test -z "$ac_c_werror_flag" ||
13643 test ! -s conftest.err
13644 } && test -s conftest.$ac_objext; then
13645 :
13646 else
13647 echo "$as_me: failed program was:" >&5
13648 sed 's/^/| /' conftest.$ac_ext >&5
13649
13650 ac_c_werror_flag=$ac_save_c_werror_flag
13651 CFLAGS="-g"
13652 cat >conftest.$ac_ext <<_ACEOF
13653 /* confdefs.h. */
13654 _ACEOF
13655 cat confdefs.h >>conftest.$ac_ext
13656 cat >>conftest.$ac_ext <<_ACEOF
13657 /* end confdefs.h. */
13658
13659 int
13660 main ()
13661 {
13662
13663 ;
13664 return 0;
13665 }
13666 _ACEOF
13667 rm -f conftest.$ac_objext
13668 if { (ac_try="$ac_compile"
13669 case "(($ac_try" in
13670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13671 *) ac_try_echo=$ac_try;;
13672 esac
13673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13674 (eval "$ac_compile") 2>conftest.er1
13675 ac_status=$?
13676 grep -v '^ *+' conftest.er1 >conftest.err
13677 rm -f conftest.er1
13678 cat conftest.err >&5
13679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13680 (exit $ac_status); } && {
13681 test -z "$ac_c_werror_flag" ||
13682 test ! -s conftest.err
13683 } && test -s conftest.$ac_objext; then
13684 ac_cv_prog_cc_g=yes
13685 else
13686 echo "$as_me: failed program was:" >&5
13687 sed 's/^/| /' conftest.$ac_ext >&5
13688
13689
13690 fi
13691
13692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13693 fi
13694
13695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13696 fi
13697
13698 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13699 ac_c_werror_flag=$ac_save_c_werror_flag
13700 fi
13701 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13702 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13703 if test "$ac_test_CFLAGS" = set; then
13704 CFLAGS=$ac_save_CFLAGS
13705 elif test $ac_cv_prog_cc_g = yes; then
13706 if test "$GCC" = yes; then
13707 CFLAGS="-g -O2"
13708 else
13709 CFLAGS="-g"
13710 fi
13711 else
13712 if test "$GCC" = yes; then
13713 CFLAGS="-O2"
13714 else
13715 CFLAGS=
13716 fi
13717 fi
13718 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13719 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13720 if test "${ac_cv_prog_cc_c89+set}" = set; then
13721 echo $ECHO_N "(cached) $ECHO_C" >&6
13722 else
13723 ac_cv_prog_cc_c89=no
13724 ac_save_CC=$CC
13725 cat >conftest.$ac_ext <<_ACEOF
13726 /* confdefs.h. */
13727 _ACEOF
13728 cat confdefs.h >>conftest.$ac_ext
13729 cat >>conftest.$ac_ext <<_ACEOF
13730 /* end confdefs.h. */
13731 #include <stdarg.h>
13732 #include <stdio.h>
13733 #include <sys/types.h>
13734 #include <sys/stat.h>
13735 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13736 struct buf { int x; };
13737 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13738 static char *e (p, i)
13739 char **p;
13740 int i;
13741 {
13742 return p[i];
13743 }
13744 static char *f (char * (*g) (char **, int), char **p, ...)
13745 {
13746 char *s;
13747 va_list v;
13748 va_start (v,p);
13749 s = g (p, va_arg (v,int));
13750 va_end (v);
13751 return s;
13752 }
13753
13754 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13755 function prototypes and stuff, but not '\xHH' hex character constants.
13756 These don't provoke an error unfortunately, instead are silently treated
13757 as 'x'. The following induces an error, until -std is added to get
13758 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13759 array size at least. It's necessary to write '\x00'==0 to get something
13760 that's true only with -std. */
13761 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13762
13763 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13764 inside strings and character constants. */
13765 #define FOO(x) 'x'
13766 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13767
13768 int test (int i, double x);
13769 struct s1 {int (*f) (int a);};
13770 struct s2 {int (*f) (double a);};
13771 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13772 int argc;
13773 char **argv;
13774 int
13775 main ()
13776 {
13777 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13778 ;
13779 return 0;
13780 }
13781 _ACEOF
13782 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13783 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13784 do
13785 CC="$ac_save_CC $ac_arg"
13786 rm -f conftest.$ac_objext
13787 if { (ac_try="$ac_compile"
13788 case "(($ac_try" in
13789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13790 *) ac_try_echo=$ac_try;;
13791 esac
13792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13793 (eval "$ac_compile") 2>conftest.er1
13794 ac_status=$?
13795 grep -v '^ *+' conftest.er1 >conftest.err
13796 rm -f conftest.er1
13797 cat conftest.err >&5
13798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13799 (exit $ac_status); } && {
13800 test -z "$ac_c_werror_flag" ||
13801 test ! -s conftest.err
13802 } && test -s conftest.$ac_objext; then
13803 ac_cv_prog_cc_c89=$ac_arg
13804 else
13805 echo "$as_me: failed program was:" >&5
13806 sed 's/^/| /' conftest.$ac_ext >&5
13807
13808
13809 fi
13810
13811 rm -f core conftest.err conftest.$ac_objext
13812 test "x$ac_cv_prog_cc_c89" != "xno" && break
13813 done
13814 rm -f conftest.$ac_ext
13815 CC=$ac_save_CC
13816
13817 fi
13818 # AC_CACHE_VAL
13819 case "x$ac_cv_prog_cc_c89" in
13820 x)
13821 { echo "$as_me:$LINENO: result: none needed" >&5
13822 echo "${ECHO_T}none needed" >&6; } ;;
13823 xno)
13824 { echo "$as_me:$LINENO: result: unsupported" >&5
13825 echo "${ECHO_T}unsupported" >&6; } ;;
13826 *)
13827 CC="$CC $ac_cv_prog_cc_c89"
13828 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13829 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13830 esac
13831
13832
13833 ac_ext=c
13834 ac_cpp='$CPP $CPPFLAGS'
13835 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13836 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13837 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13838
13839
13840
13841 ac_ext=c
13842 ac_cpp='$CPP $CPPFLAGS'
13843 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13844 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13845 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13846
13847 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13848 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13849 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13850 echo $ECHO_N "(cached) $ECHO_C" >&6
13851 else
13852 cat >conftest.$ac_ext <<_ACEOF
13853 /* confdefs.h. */
13854 _ACEOF
13855 cat confdefs.h >>conftest.$ac_ext
13856 cat >>conftest.$ac_ext <<_ACEOF
13857 /* end confdefs.h. */
13858
13859 int
13860 main ()
13861 {
13862
13863 #ifndef __INTEL_COMPILER
13864 choke me
13865 #endif
13866
13867 ;
13868 return 0;
13869 }
13870 _ACEOF
13871 rm -f conftest.$ac_objext
13872 if { (ac_try="$ac_compile"
13873 case "(($ac_try" in
13874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13875 *) ac_try_echo=$ac_try;;
13876 esac
13877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13878 (eval "$ac_compile") 2>conftest.er1
13879 ac_status=$?
13880 grep -v '^ *+' conftest.er1 >conftest.err
13881 rm -f conftest.er1
13882 cat conftest.err >&5
13883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13884 (exit $ac_status); } && {
13885 test -z "$ac_c_werror_flag" ||
13886 test ! -s conftest.err
13887 } && test -s conftest.$ac_objext; then
13888 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13889 else
13890 echo "$as_me: failed program was:" >&5
13891 sed 's/^/| /' conftest.$ac_ext >&5
13892
13893 bakefile_cv_c_compiler___INTEL_COMPILER=no
13894
13895 fi
13896
13897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13898
13899
13900 fi
13901 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13902 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13903 ac_ext=c
13904 ac_cpp='$CPP $CPPFLAGS'
13905 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13906 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13907 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13908
13909 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13910 :; INTELCC=yes
13911 else
13912 :;
13913 fi
13914
13915
13916 if test "x$GCC" != "xyes"; then
13917 if test "xCC" = "xC"; then
13918 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13919 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13920 if test "${bakefile_cv_c_exto+set}" = set; then
13921 echo $ECHO_N "(cached) $ECHO_C" >&6
13922 else
13923 cat >conftest.$ac_ext <<_ACEOF
13924 /* confdefs.h. */
13925 _ACEOF
13926 cat confdefs.h >>conftest.$ac_ext
13927 cat >>conftest.$ac_ext <<_ACEOF
13928 /* end confdefs.h. */
13929
13930 int
13931 main ()
13932 {
13933
13934 ;
13935 return 0;
13936 }
13937 _ACEOF
13938 rm -f conftest.$ac_objext conftest.$ac_ext.o
13939 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13940 (eval $ac_compile) 2>&5
13941 ac_status=$?
13942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13943 (exit $ac_status); }; then
13944 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13945 case $ac_file in
13946 conftest.$ac_ext.o)
13947 bakefile_cv_c_exto="-ext o"
13948 ;;
13949 *)
13950 ;;
13951 esac
13952 done
13953 else
13954 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13955 See \`config.log' for more details." >&5
13956 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13957 See \`config.log' for more details." >&2;}
13958 { (exit 1); exit 1; }; }
13959
13960 fi
13961
13962 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13963
13964 fi
13965 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13966 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13967 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13968 if test "c" = "c"; then
13969 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13970 fi
13971 if test "c" = "cxx"; then
13972 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13973 fi
13974 fi
13975
13976 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13977 unset ac_cv_prog_cc_g
13978 ac_test_CFLAGS=${CFLAGS+set}
13979 ac_save_CFLAGS=$CFLAGS
13980 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13981 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13982 if test "${ac_cv_prog_cc_g+set}" = set; then
13983 echo $ECHO_N "(cached) $ECHO_C" >&6
13984 else
13985 ac_save_c_werror_flag=$ac_c_werror_flag
13986 ac_c_werror_flag=yes
13987 ac_cv_prog_cc_g=no
13988 CFLAGS="-g"
13989 cat >conftest.$ac_ext <<_ACEOF
13990 /* confdefs.h. */
13991 _ACEOF
13992 cat confdefs.h >>conftest.$ac_ext
13993 cat >>conftest.$ac_ext <<_ACEOF
13994 /* end confdefs.h. */
13995
13996 int
13997 main ()
13998 {
13999
14000 ;
14001 return 0;
14002 }
14003 _ACEOF
14004 rm -f conftest.$ac_objext
14005 if { (ac_try="$ac_compile"
14006 case "(($ac_try" in
14007 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14008 *) ac_try_echo=$ac_try;;
14009 esac
14010 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14011 (eval "$ac_compile") 2>conftest.er1
14012 ac_status=$?
14013 grep -v '^ *+' conftest.er1 >conftest.err
14014 rm -f conftest.er1
14015 cat conftest.err >&5
14016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14017 (exit $ac_status); } && {
14018 test -z "$ac_c_werror_flag" ||
14019 test ! -s conftest.err
14020 } && test -s conftest.$ac_objext; then
14021 ac_cv_prog_cc_g=yes
14022 else
14023 echo "$as_me: failed program was:" >&5
14024 sed 's/^/| /' conftest.$ac_ext >&5
14025
14026 CFLAGS=""
14027 cat >conftest.$ac_ext <<_ACEOF
14028 /* confdefs.h. */
14029 _ACEOF
14030 cat confdefs.h >>conftest.$ac_ext
14031 cat >>conftest.$ac_ext <<_ACEOF
14032 /* end confdefs.h. */
14033
14034 int
14035 main ()
14036 {
14037
14038 ;
14039 return 0;
14040 }
14041 _ACEOF
14042 rm -f conftest.$ac_objext
14043 if { (ac_try="$ac_compile"
14044 case "(($ac_try" in
14045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14046 *) ac_try_echo=$ac_try;;
14047 esac
14048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14049 (eval "$ac_compile") 2>conftest.er1
14050 ac_status=$?
14051 grep -v '^ *+' conftest.er1 >conftest.err
14052 rm -f conftest.er1
14053 cat conftest.err >&5
14054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14055 (exit $ac_status); } && {
14056 test -z "$ac_c_werror_flag" ||
14057 test ! -s conftest.err
14058 } && test -s conftest.$ac_objext; then
14059 :
14060 else
14061 echo "$as_me: failed program was:" >&5
14062 sed 's/^/| /' conftest.$ac_ext >&5
14063
14064 ac_c_werror_flag=$ac_save_c_werror_flag
14065 CFLAGS="-g"
14066 cat >conftest.$ac_ext <<_ACEOF
14067 /* confdefs.h. */
14068 _ACEOF
14069 cat confdefs.h >>conftest.$ac_ext
14070 cat >>conftest.$ac_ext <<_ACEOF
14071 /* end confdefs.h. */
14072
14073 int
14074 main ()
14075 {
14076
14077 ;
14078 return 0;
14079 }
14080 _ACEOF
14081 rm -f conftest.$ac_objext
14082 if { (ac_try="$ac_compile"
14083 case "(($ac_try" in
14084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14085 *) ac_try_echo=$ac_try;;
14086 esac
14087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14088 (eval "$ac_compile") 2>conftest.er1
14089 ac_status=$?
14090 grep -v '^ *+' conftest.er1 >conftest.err
14091 rm -f conftest.er1
14092 cat conftest.err >&5
14093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14094 (exit $ac_status); } && {
14095 test -z "$ac_c_werror_flag" ||
14096 test ! -s conftest.err
14097 } && test -s conftest.$ac_objext; then
14098 ac_cv_prog_cc_g=yes
14099 else
14100 echo "$as_me: failed program was:" >&5
14101 sed 's/^/| /' conftest.$ac_ext >&5
14102
14103
14104 fi
14105
14106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14107 fi
14108
14109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14110 fi
14111
14112 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14113 ac_c_werror_flag=$ac_save_c_werror_flag
14114 fi
14115 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
14116 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
14117 if test "$ac_test_CFLAGS" = set; then
14118 CFLAGS=$ac_save_CFLAGS
14119 elif test $ac_cv_prog_cc_g = yes; then
14120 if test "$GCC" = yes; then
14121 CFLAGS="-g -O2"
14122 else
14123 CFLAGS="-g"
14124 fi
14125 else
14126 if test "$GCC" = yes; then
14127 CFLAGS="-O2"
14128 else
14129 CFLAGS=
14130 fi
14131 fi
14132 fi
14133 fi
14134
14135 case `uname -s` in
14136 AIX*)
14137 ac_ext=c
14138 ac_cpp='$CPP $CPPFLAGS'
14139 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14140 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14141 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14142
14143 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14144 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14145 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14146 echo $ECHO_N "(cached) $ECHO_C" >&6
14147 else
14148 cat >conftest.$ac_ext <<_ACEOF
14149 /* confdefs.h. */
14150 _ACEOF
14151 cat confdefs.h >>conftest.$ac_ext
14152 cat >>conftest.$ac_ext <<_ACEOF
14153 /* end confdefs.h. */
14154
14155 int
14156 main ()
14157 {
14158 #ifndef __xlC__
14159 choke me
14160 #endif
14161
14162 ;
14163 return 0;
14164 }
14165 _ACEOF
14166 rm -f conftest.$ac_objext
14167 if { (ac_try="$ac_compile"
14168 case "(($ac_try" in
14169 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14170 *) ac_try_echo=$ac_try;;
14171 esac
14172 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14173 (eval "$ac_compile") 2>conftest.er1
14174 ac_status=$?
14175 grep -v '^ *+' conftest.er1 >conftest.err
14176 rm -f conftest.er1
14177 cat conftest.err >&5
14178 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14179 (exit $ac_status); } && {
14180 test -z "$ac_c_werror_flag" ||
14181 test ! -s conftest.err
14182 } && test -s conftest.$ac_objext; then
14183 bakefile_compiler_xlc=yes
14184 else
14185 echo "$as_me: failed program was:" >&5
14186 sed 's/^/| /' conftest.$ac_ext >&5
14187
14188 bakefile_compiler_xlc=no
14189 fi
14190
14191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14192 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14193
14194 fi
14195 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14196 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14197
14198 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14199 ac_ext=c
14200 ac_cpp='$CPP $CPPFLAGS'
14201 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14202 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14203 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14204
14205
14206 ;;
14207
14208 Darwin)
14209 ac_ext=c
14210 ac_cpp='$CPP $CPPFLAGS'
14211 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14212 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14213 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14214
14215 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14216 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14217 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14218 echo $ECHO_N "(cached) $ECHO_C" >&6
14219 else
14220 cat >conftest.$ac_ext <<_ACEOF
14221 /* confdefs.h. */
14222 _ACEOF
14223 cat confdefs.h >>conftest.$ac_ext
14224 cat >>conftest.$ac_ext <<_ACEOF
14225 /* end confdefs.h. */
14226
14227 int
14228 main ()
14229 {
14230 #ifndef __MWERKS__
14231 choke me
14232 #endif
14233
14234 ;
14235 return 0;
14236 }
14237 _ACEOF
14238 rm -f conftest.$ac_objext
14239 if { (ac_try="$ac_compile"
14240 case "(($ac_try" in
14241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14242 *) ac_try_echo=$ac_try;;
14243 esac
14244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14245 (eval "$ac_compile") 2>conftest.er1
14246 ac_status=$?
14247 grep -v '^ *+' conftest.er1 >conftest.err
14248 rm -f conftest.er1
14249 cat conftest.err >&5
14250 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14251 (exit $ac_status); } && {
14252 test -z "$ac_c_werror_flag" ||
14253 test ! -s conftest.err
14254 } && test -s conftest.$ac_objext; then
14255 bakefile_compiler_mwerks=yes
14256 else
14257 echo "$as_me: failed program was:" >&5
14258 sed 's/^/| /' conftest.$ac_ext >&5
14259
14260 bakefile_compiler_mwerks=no
14261 fi
14262
14263 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14264 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14265
14266 fi
14267 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14268 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14269
14270 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14271 ac_ext=c
14272 ac_cpp='$CPP $CPPFLAGS'
14273 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14274 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14275 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14276
14277
14278 ac_ext=c
14279 ac_cpp='$CPP $CPPFLAGS'
14280 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14281 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14282 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14283
14284 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14285 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14286 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14287 echo $ECHO_N "(cached) $ECHO_C" >&6
14288 else
14289 cat >conftest.$ac_ext <<_ACEOF
14290 /* confdefs.h. */
14291 _ACEOF
14292 cat confdefs.h >>conftest.$ac_ext
14293 cat >>conftest.$ac_ext <<_ACEOF
14294 /* end confdefs.h. */
14295
14296 int
14297 main ()
14298 {
14299 #ifndef __xlC__
14300 choke me
14301 #endif
14302
14303 ;
14304 return 0;
14305 }
14306 _ACEOF
14307 rm -f conftest.$ac_objext
14308 if { (ac_try="$ac_compile"
14309 case "(($ac_try" in
14310 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14311 *) ac_try_echo=$ac_try;;
14312 esac
14313 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14314 (eval "$ac_compile") 2>conftest.er1
14315 ac_status=$?
14316 grep -v '^ *+' conftest.er1 >conftest.err
14317 rm -f conftest.er1
14318 cat conftest.err >&5
14319 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14320 (exit $ac_status); } && {
14321 test -z "$ac_c_werror_flag" ||
14322 test ! -s conftest.err
14323 } && test -s conftest.$ac_objext; then
14324 bakefile_compiler_xlc=yes
14325 else
14326 echo "$as_me: failed program was:" >&5
14327 sed 's/^/| /' conftest.$ac_ext >&5
14328
14329 bakefile_compiler_xlc=no
14330 fi
14331
14332 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14333 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14334
14335 fi
14336 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14337 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14338
14339 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14340 ac_ext=c
14341 ac_cpp='$CPP $CPPFLAGS'
14342 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14343 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14344 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14345
14346
14347 ;;
14348
14349 IRIX*)
14350
14351
14352 ac_ext=c
14353 ac_cpp='$CPP $CPPFLAGS'
14354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14357
14358 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14359 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14360 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14361 echo $ECHO_N "(cached) $ECHO_C" >&6
14362 else
14363 cat >conftest.$ac_ext <<_ACEOF
14364 /* confdefs.h. */
14365 _ACEOF
14366 cat confdefs.h >>conftest.$ac_ext
14367 cat >>conftest.$ac_ext <<_ACEOF
14368 /* end confdefs.h. */
14369
14370 int
14371 main ()
14372 {
14373
14374 #ifndef _SGI_COMPILER_VERSION
14375 choke me
14376 #endif
14377
14378 ;
14379 return 0;
14380 }
14381 _ACEOF
14382 rm -f conftest.$ac_objext
14383 if { (ac_try="$ac_compile"
14384 case "(($ac_try" in
14385 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14386 *) ac_try_echo=$ac_try;;
14387 esac
14388 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14389 (eval "$ac_compile") 2>conftest.er1
14390 ac_status=$?
14391 grep -v '^ *+' conftest.er1 >conftest.err
14392 rm -f conftest.er1
14393 cat conftest.err >&5
14394 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14395 (exit $ac_status); } && {
14396 test -z "$ac_c_werror_flag" ||
14397 test ! -s conftest.err
14398 } && test -s conftest.$ac_objext; then
14399 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14400 else
14401 echo "$as_me: failed program was:" >&5
14402 sed 's/^/| /' conftest.$ac_ext >&5
14403
14404 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14405
14406 fi
14407
14408 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14409
14410
14411 fi
14412 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14413 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14414 ac_ext=c
14415 ac_cpp='$CPP $CPPFLAGS'
14416 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14417 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14418 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14419
14420 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14421 :; SGICC=yes
14422 else
14423 :;
14424 fi
14425
14426
14427 ;;
14428
14429 HP-UX*)
14430
14431
14432 ac_ext=c
14433 ac_cpp='$CPP $CPPFLAGS'
14434 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14435 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14436 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14437
14438 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14439 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14440 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14441 echo $ECHO_N "(cached) $ECHO_C" >&6
14442 else
14443 cat >conftest.$ac_ext <<_ACEOF
14444 /* confdefs.h. */
14445 _ACEOF
14446 cat confdefs.h >>conftest.$ac_ext
14447 cat >>conftest.$ac_ext <<_ACEOF
14448 /* end confdefs.h. */
14449
14450 int
14451 main ()
14452 {
14453
14454 #ifndef __HP_cc
14455 choke me
14456 #endif
14457
14458 ;
14459 return 0;
14460 }
14461 _ACEOF
14462 rm -f conftest.$ac_objext
14463 if { (ac_try="$ac_compile"
14464 case "(($ac_try" in
14465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14466 *) ac_try_echo=$ac_try;;
14467 esac
14468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14469 (eval "$ac_compile") 2>conftest.er1
14470 ac_status=$?
14471 grep -v '^ *+' conftest.er1 >conftest.err
14472 rm -f conftest.er1
14473 cat conftest.err >&5
14474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14475 (exit $ac_status); } && {
14476 test -z "$ac_c_werror_flag" ||
14477 test ! -s conftest.err
14478 } && test -s conftest.$ac_objext; then
14479 bakefile_cv_c_compiler___HP_cc=yes
14480 else
14481 echo "$as_me: failed program was:" >&5
14482 sed 's/^/| /' conftest.$ac_ext >&5
14483
14484 bakefile_cv_c_compiler___HP_cc=no
14485
14486 fi
14487
14488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14489
14490
14491 fi
14492 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14493 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14494 ac_ext=c
14495 ac_cpp='$CPP $CPPFLAGS'
14496 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14497 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14498 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14499
14500 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14501 :; HPCC=yes
14502 else
14503 :;
14504 fi
14505
14506
14507 ;;
14508
14509 OSF1)
14510
14511
14512 ac_ext=c
14513 ac_cpp='$CPP $CPPFLAGS'
14514 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14515 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14516 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14517
14518 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14519 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14520 if test "${bakefile_cv_c_compiler___DECC+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
14534 #ifndef __DECC
14535 choke me
14536 #endif
14537
14538 ;
14539 return 0;
14540 }
14541 _ACEOF
14542 rm -f conftest.$ac_objext
14543 if { (ac_try="$ac_compile"
14544 case "(($ac_try" in
14545 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14546 *) ac_try_echo=$ac_try;;
14547 esac
14548 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14549 (eval "$ac_compile") 2>conftest.er1
14550 ac_status=$?
14551 grep -v '^ *+' conftest.er1 >conftest.err
14552 rm -f conftest.er1
14553 cat conftest.err >&5
14554 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14555 (exit $ac_status); } && {
14556 test -z "$ac_c_werror_flag" ||
14557 test ! -s conftest.err
14558 } && test -s conftest.$ac_objext; then
14559 bakefile_cv_c_compiler___DECC=yes
14560 else
14561 echo "$as_me: failed program was:" >&5
14562 sed 's/^/| /' conftest.$ac_ext >&5
14563
14564 bakefile_cv_c_compiler___DECC=no
14565
14566 fi
14567
14568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14569
14570
14571 fi
14572 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14573 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14574 ac_ext=c
14575 ac_cpp='$CPP $CPPFLAGS'
14576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14579
14580 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14581 :; COMPAQCC=yes
14582 else
14583 :;
14584 fi
14585
14586
14587 ;;
14588
14589 SunOS)
14590
14591
14592 ac_ext=c
14593 ac_cpp='$CPP $CPPFLAGS'
14594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14597
14598 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14599 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14600 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14601 echo $ECHO_N "(cached) $ECHO_C" >&6
14602 else
14603 cat >conftest.$ac_ext <<_ACEOF
14604 /* confdefs.h. */
14605 _ACEOF
14606 cat confdefs.h >>conftest.$ac_ext
14607 cat >>conftest.$ac_ext <<_ACEOF
14608 /* end confdefs.h. */
14609
14610 int
14611 main ()
14612 {
14613
14614 #ifndef __SUNPRO_C
14615 choke me
14616 #endif
14617
14618 ;
14619 return 0;
14620 }
14621 _ACEOF
14622 rm -f conftest.$ac_objext
14623 if { (ac_try="$ac_compile"
14624 case "(($ac_try" in
14625 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14626 *) ac_try_echo=$ac_try;;
14627 esac
14628 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14629 (eval "$ac_compile") 2>conftest.er1
14630 ac_status=$?
14631 grep -v '^ *+' conftest.er1 >conftest.err
14632 rm -f conftest.er1
14633 cat conftest.err >&5
14634 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14635 (exit $ac_status); } && {
14636 test -z "$ac_c_werror_flag" ||
14637 test ! -s conftest.err
14638 } && test -s conftest.$ac_objext; then
14639 bakefile_cv_c_compiler___SUNPRO_C=yes
14640 else
14641 echo "$as_me: failed program was:" >&5
14642 sed 's/^/| /' conftest.$ac_ext >&5
14643
14644 bakefile_cv_c_compiler___SUNPRO_C=no
14645
14646 fi
14647
14648 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14649
14650
14651 fi
14652 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14653 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14654 ac_ext=c
14655 ac_cpp='$CPP $CPPFLAGS'
14656 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14657 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14658 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14659
14660 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14661 :; SUNCC=yes
14662 else
14663 :;
14664 fi
14665
14666
14667 ;;
14668 esac
14669 fi
14670
14671
14672
14673 ac_ext=c
14674 ac_cpp='$CPP $CPPFLAGS'
14675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14678 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14679 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14680 # On Suns, sometimes $CPP names a directory.
14681 if test -n "$CPP" && test -d "$CPP"; then
14682 CPP=
14683 fi
14684 if test -z "$CPP"; then
14685 if test "${ac_cv_prog_CPP+set}" = set; then
14686 echo $ECHO_N "(cached) $ECHO_C" >&6
14687 else
14688 # Double quotes because CPP needs to be expanded
14689 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14690 do
14691 ac_preproc_ok=false
14692 for ac_c_preproc_warn_flag in '' yes
14693 do
14694 # Use a header file that comes with gcc, so configuring glibc
14695 # with a fresh cross-compiler works.
14696 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14697 # <limits.h> exists even on freestanding compilers.
14698 # On the NeXT, cc -E runs the code through the compiler's parser,
14699 # not just through cpp. "Syntax error" is here to catch this case.
14700 cat >conftest.$ac_ext <<_ACEOF
14701 /* confdefs.h. */
14702 _ACEOF
14703 cat confdefs.h >>conftest.$ac_ext
14704 cat >>conftest.$ac_ext <<_ACEOF
14705 /* end confdefs.h. */
14706 #ifdef __STDC__
14707 # include <limits.h>
14708 #else
14709 # include <assert.h>
14710 #endif
14711 Syntax error
14712 _ACEOF
14713 if { (ac_try="$ac_cpp conftest.$ac_ext"
14714 case "(($ac_try" in
14715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14716 *) ac_try_echo=$ac_try;;
14717 esac
14718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14719 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14720 ac_status=$?
14721 grep -v '^ *+' conftest.er1 >conftest.err
14722 rm -f conftest.er1
14723 cat conftest.err >&5
14724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14725 (exit $ac_status); } >/dev/null && {
14726 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14727 test ! -s conftest.err
14728 }; then
14729 :
14730 else
14731 echo "$as_me: failed program was:" >&5
14732 sed 's/^/| /' conftest.$ac_ext >&5
14733
14734 # Broken: fails on valid input.
14735 continue
14736 fi
14737
14738 rm -f conftest.err conftest.$ac_ext
14739
14740 # OK, works on sane cases. Now check whether nonexistent headers
14741 # can be detected and how.
14742 cat >conftest.$ac_ext <<_ACEOF
14743 /* confdefs.h. */
14744 _ACEOF
14745 cat confdefs.h >>conftest.$ac_ext
14746 cat >>conftest.$ac_ext <<_ACEOF
14747 /* end confdefs.h. */
14748 #include <ac_nonexistent.h>
14749 _ACEOF
14750 if { (ac_try="$ac_cpp conftest.$ac_ext"
14751 case "(($ac_try" in
14752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14753 *) ac_try_echo=$ac_try;;
14754 esac
14755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14756 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14757 ac_status=$?
14758 grep -v '^ *+' conftest.er1 >conftest.err
14759 rm -f conftest.er1
14760 cat conftest.err >&5
14761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14762 (exit $ac_status); } >/dev/null && {
14763 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14764 test ! -s conftest.err
14765 }; then
14766 # Broken: success on invalid input.
14767 continue
14768 else
14769 echo "$as_me: failed program was:" >&5
14770 sed 's/^/| /' conftest.$ac_ext >&5
14771
14772 # Passes both tests.
14773 ac_preproc_ok=:
14774 break
14775 fi
14776
14777 rm -f conftest.err conftest.$ac_ext
14778
14779 done
14780 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14781 rm -f conftest.err conftest.$ac_ext
14782 if $ac_preproc_ok; then
14783 break
14784 fi
14785
14786 done
14787 ac_cv_prog_CPP=$CPP
14788
14789 fi
14790 CPP=$ac_cv_prog_CPP
14791 else
14792 ac_cv_prog_CPP=$CPP
14793 fi
14794 { echo "$as_me:$LINENO: result: $CPP" >&5
14795 echo "${ECHO_T}$CPP" >&6; }
14796 ac_preproc_ok=false
14797 for ac_c_preproc_warn_flag in '' yes
14798 do
14799 # Use a header file that comes with gcc, so configuring glibc
14800 # with a fresh cross-compiler works.
14801 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14802 # <limits.h> exists even on freestanding compilers.
14803 # On the NeXT, cc -E runs the code through the compiler's parser,
14804 # not just through cpp. "Syntax error" is here to catch this case.
14805 cat >conftest.$ac_ext <<_ACEOF
14806 /* confdefs.h. */
14807 _ACEOF
14808 cat confdefs.h >>conftest.$ac_ext
14809 cat >>conftest.$ac_ext <<_ACEOF
14810 /* end confdefs.h. */
14811 #ifdef __STDC__
14812 # include <limits.h>
14813 #else
14814 # include <assert.h>
14815 #endif
14816 Syntax error
14817 _ACEOF
14818 if { (ac_try="$ac_cpp conftest.$ac_ext"
14819 case "(($ac_try" in
14820 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14821 *) ac_try_echo=$ac_try;;
14822 esac
14823 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14824 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14825 ac_status=$?
14826 grep -v '^ *+' conftest.er1 >conftest.err
14827 rm -f conftest.er1
14828 cat conftest.err >&5
14829 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14830 (exit $ac_status); } >/dev/null && {
14831 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14832 test ! -s conftest.err
14833 }; then
14834 :
14835 else
14836 echo "$as_me: failed program was:" >&5
14837 sed 's/^/| /' conftest.$ac_ext >&5
14838
14839 # Broken: fails on valid input.
14840 continue
14841 fi
14842
14843 rm -f conftest.err conftest.$ac_ext
14844
14845 # OK, works on sane cases. Now check whether nonexistent headers
14846 # can be detected and how.
14847 cat >conftest.$ac_ext <<_ACEOF
14848 /* confdefs.h. */
14849 _ACEOF
14850 cat confdefs.h >>conftest.$ac_ext
14851 cat >>conftest.$ac_ext <<_ACEOF
14852 /* end confdefs.h. */
14853 #include <ac_nonexistent.h>
14854 _ACEOF
14855 if { (ac_try="$ac_cpp conftest.$ac_ext"
14856 case "(($ac_try" in
14857 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14858 *) ac_try_echo=$ac_try;;
14859 esac
14860 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14861 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14862 ac_status=$?
14863 grep -v '^ *+' conftest.er1 >conftest.err
14864 rm -f conftest.er1
14865 cat conftest.err >&5
14866 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14867 (exit $ac_status); } >/dev/null && {
14868 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14869 test ! -s conftest.err
14870 }; then
14871 # Broken: success on invalid input.
14872 continue
14873 else
14874 echo "$as_me: failed program was:" >&5
14875 sed 's/^/| /' conftest.$ac_ext >&5
14876
14877 # Passes both tests.
14878 ac_preproc_ok=:
14879 break
14880 fi
14881
14882 rm -f conftest.err conftest.$ac_ext
14883
14884 done
14885 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14886 rm -f conftest.err conftest.$ac_ext
14887 if $ac_preproc_ok; then
14888 :
14889 else
14890 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14891 See \`config.log' for more details." >&5
14892 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14893 See \`config.log' for more details." >&2;}
14894 { (exit 1); exit 1; }; }
14895 fi
14896
14897 ac_ext=c
14898 ac_cpp='$CPP $CPPFLAGS'
14899 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14900 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14901 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14902
14903
14904 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14905 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14906 if test "${ac_cv_path_GREP+set}" = set; then
14907 echo $ECHO_N "(cached) $ECHO_C" >&6
14908 else
14909 # Extract the first word of "grep ggrep" to use in msg output
14910 if test -z "$GREP"; then
14911 set dummy grep ggrep; ac_prog_name=$2
14912 if test "${ac_cv_path_GREP+set}" = set; then
14913 echo $ECHO_N "(cached) $ECHO_C" >&6
14914 else
14915 ac_path_GREP_found=false
14916 # Loop through the user's path and test for each of PROGNAME-LIST
14917 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14918 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14919 do
14920 IFS=$as_save_IFS
14921 test -z "$as_dir" && as_dir=.
14922 for ac_prog in grep ggrep; do
14923 for ac_exec_ext in '' $ac_executable_extensions; do
14924 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14925 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14926 # Check for GNU ac_path_GREP and select it if it is found.
14927 # Check for GNU $ac_path_GREP
14928 case `"$ac_path_GREP" --version 2>&1` in
14929 *GNU*)
14930 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14931 *)
14932 ac_count=0
14933 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14934 while :
14935 do
14936 cat "conftest.in" "conftest.in" >"conftest.tmp"
14937 mv "conftest.tmp" "conftest.in"
14938 cp "conftest.in" "conftest.nl"
14939 echo 'GREP' >> "conftest.nl"
14940 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14941 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14942 ac_count=`expr $ac_count + 1`
14943 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14944 # Best one so far, save it but keep looking for a better one
14945 ac_cv_path_GREP="$ac_path_GREP"
14946 ac_path_GREP_max=$ac_count
14947 fi
14948 # 10*(2^10) chars as input seems more than enough
14949 test $ac_count -gt 10 && break
14950 done
14951 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14952 esac
14953
14954
14955 $ac_path_GREP_found && break 3
14956 done
14957 done
14958
14959 done
14960 IFS=$as_save_IFS
14961
14962
14963 fi
14964
14965 GREP="$ac_cv_path_GREP"
14966 if test -z "$GREP"; then
14967 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14968 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14969 { (exit 1); exit 1; }; }
14970 fi
14971
14972 else
14973 ac_cv_path_GREP=$GREP
14974 fi
14975
14976
14977 fi
14978 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14979 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14980 GREP="$ac_cv_path_GREP"
14981
14982
14983 { echo "$as_me:$LINENO: checking for egrep" >&5
14984 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14985 if test "${ac_cv_path_EGREP+set}" = set; then
14986 echo $ECHO_N "(cached) $ECHO_C" >&6
14987 else
14988 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14989 then ac_cv_path_EGREP="$GREP -E"
14990 else
14991 # Extract the first word of "egrep" to use in msg output
14992 if test -z "$EGREP"; then
14993 set dummy egrep; ac_prog_name=$2
14994 if test "${ac_cv_path_EGREP+set}" = set; then
14995 echo $ECHO_N "(cached) $ECHO_C" >&6
14996 else
14997 ac_path_EGREP_found=false
14998 # Loop through the user's path and test for each of PROGNAME-LIST
14999 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15000 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
15001 do
15002 IFS=$as_save_IFS
15003 test -z "$as_dir" && as_dir=.
15004 for ac_prog in egrep; do
15005 for ac_exec_ext in '' $ac_executable_extensions; do
15006 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
15007 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
15008 # Check for GNU ac_path_EGREP and select it if it is found.
15009 # Check for GNU $ac_path_EGREP
15010 case `"$ac_path_EGREP" --version 2>&1` in
15011 *GNU*)
15012 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
15013 *)
15014 ac_count=0
15015 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
15016 while :
15017 do
15018 cat "conftest.in" "conftest.in" >"conftest.tmp"
15019 mv "conftest.tmp" "conftest.in"
15020 cp "conftest.in" "conftest.nl"
15021 echo 'EGREP' >> "conftest.nl"
15022 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
15023 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
15024 ac_count=`expr $ac_count + 1`
15025 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
15026 # Best one so far, save it but keep looking for a better one
15027 ac_cv_path_EGREP="$ac_path_EGREP"
15028 ac_path_EGREP_max=$ac_count
15029 fi
15030 # 10*(2^10) chars as input seems more than enough
15031 test $ac_count -gt 10 && break
15032 done
15033 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
15034 esac
15035
15036
15037 $ac_path_EGREP_found && break 3
15038 done
15039 done
15040
15041 done
15042 IFS=$as_save_IFS
15043
15044
15045 fi
15046
15047 EGREP="$ac_cv_path_EGREP"
15048 if test -z "$EGREP"; then
15049 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
15050 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
15051 { (exit 1); exit 1; }; }
15052 fi
15053
15054 else
15055 ac_cv_path_EGREP=$EGREP
15056 fi
15057
15058
15059 fi
15060 fi
15061 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
15062 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
15063 EGREP="$ac_cv_path_EGREP"
15064
15065
15066 if test $ac_cv_c_compiler_gnu = yes; then
15067 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
15068 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
15069 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
15070 echo $ECHO_N "(cached) $ECHO_C" >&6
15071 else
15072 ac_pattern="Autoconf.*'x'"
15073 cat >conftest.$ac_ext <<_ACEOF
15074 /* confdefs.h. */
15075 _ACEOF
15076 cat confdefs.h >>conftest.$ac_ext
15077 cat >>conftest.$ac_ext <<_ACEOF
15078 /* end confdefs.h. */
15079 #include <sgtty.h>
15080 Autoconf TIOCGETP
15081 _ACEOF
15082 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15083 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15084 ac_cv_prog_gcc_traditional=yes
15085 else
15086 ac_cv_prog_gcc_traditional=no
15087 fi
15088 rm -f conftest*
15089
15090
15091 if test $ac_cv_prog_gcc_traditional = no; then
15092 cat >conftest.$ac_ext <<_ACEOF
15093 /* confdefs.h. */
15094 _ACEOF
15095 cat confdefs.h >>conftest.$ac_ext
15096 cat >>conftest.$ac_ext <<_ACEOF
15097 /* end confdefs.h. */
15098 #include <termio.h>
15099 Autoconf TCGETA
15100 _ACEOF
15101 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
15102 $EGREP "$ac_pattern" >/dev/null 2>&1; then
15103 ac_cv_prog_gcc_traditional=yes
15104 fi
15105 rm -f conftest*
15106
15107 fi
15108 fi
15109 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
15110 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
15111 if test $ac_cv_prog_gcc_traditional = yes; then
15112 CC="$CC -traditional"
15113 fi
15114 fi
15115
15116
15117 CXXFLAGS=${CXXFLAGS:=}
15118
15119
15120
15121 ac_ext=cpp
15122 ac_cpp='$CXXCPP $CPPFLAGS'
15123 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15124 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15125 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15126 if test -z "$CXX"; then
15127 if test -n "$CCC"; then
15128 CXX=$CCC
15129 else
15130 if test -n "$ac_tool_prefix"; then
15131 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15132 do
15133 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
15134 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
15135 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15136 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15137 if test "${ac_cv_prog_CXX+set}" = set; then
15138 echo $ECHO_N "(cached) $ECHO_C" >&6
15139 else
15140 if test -n "$CXX"; then
15141 ac_cv_prog_CXX="$CXX" # Let the user override the test.
15142 else
15143 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15144 for as_dir in $PATH
15145 do
15146 IFS=$as_save_IFS
15147 test -z "$as_dir" && as_dir=.
15148 for ac_exec_ext in '' $ac_executable_extensions; do
15149 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15150 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
15151 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15152 break 2
15153 fi
15154 done
15155 done
15156 IFS=$as_save_IFS
15157
15158 fi
15159 fi
15160 CXX=$ac_cv_prog_CXX
15161 if test -n "$CXX"; then
15162 { echo "$as_me:$LINENO: result: $CXX" >&5
15163 echo "${ECHO_T}$CXX" >&6; }
15164 else
15165 { echo "$as_me:$LINENO: result: no" >&5
15166 echo "${ECHO_T}no" >&6; }
15167 fi
15168
15169
15170 test -n "$CXX" && break
15171 done
15172 fi
15173 if test -z "$CXX"; then
15174 ac_ct_CXX=$CXX
15175 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15176 do
15177 # Extract the first word of "$ac_prog", so it can be a program name with args.
15178 set dummy $ac_prog; ac_word=$2
15179 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15180 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15181 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15182 echo $ECHO_N "(cached) $ECHO_C" >&6
15183 else
15184 if test -n "$ac_ct_CXX"; then
15185 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15186 else
15187 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15188 for as_dir in $PATH
15189 do
15190 IFS=$as_save_IFS
15191 test -z "$as_dir" && as_dir=.
15192 for ac_exec_ext in '' $ac_executable_extensions; do
15193 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15194 ac_cv_prog_ac_ct_CXX="$ac_prog"
15195 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15196 break 2
15197 fi
15198 done
15199 done
15200 IFS=$as_save_IFS
15201
15202 fi
15203 fi
15204 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15205 if test -n "$ac_ct_CXX"; then
15206 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15207 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15208 else
15209 { echo "$as_me:$LINENO: result: no" >&5
15210 echo "${ECHO_T}no" >&6; }
15211 fi
15212
15213
15214 test -n "$ac_ct_CXX" && break
15215 done
15216
15217 if test "x$ac_ct_CXX" = x; then
15218 CXX="g++"
15219 else
15220 case $cross_compiling:$ac_tool_warned in
15221 yes:)
15222 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15223 whose name does not start with the host triplet. If you think this
15224 configuration is useful to you, please write to autoconf@gnu.org." >&5
15225 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15226 whose name does not start with the host triplet. If you think this
15227 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15228 ac_tool_warned=yes ;;
15229 esac
15230 CXX=$ac_ct_CXX
15231 fi
15232 fi
15233
15234 fi
15235 fi
15236 # Provide some information about the compiler.
15237 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15238 ac_compiler=`set X $ac_compile; echo $2`
15239 { (ac_try="$ac_compiler --version >&5"
15240 case "(($ac_try" in
15241 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15242 *) ac_try_echo=$ac_try;;
15243 esac
15244 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15245 (eval "$ac_compiler --version >&5") 2>&5
15246 ac_status=$?
15247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15248 (exit $ac_status); }
15249 { (ac_try="$ac_compiler -v >&5"
15250 case "(($ac_try" in
15251 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15252 *) ac_try_echo=$ac_try;;
15253 esac
15254 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15255 (eval "$ac_compiler -v >&5") 2>&5
15256 ac_status=$?
15257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15258 (exit $ac_status); }
15259 { (ac_try="$ac_compiler -V >&5"
15260 case "(($ac_try" in
15261 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15262 *) ac_try_echo=$ac_try;;
15263 esac
15264 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15265 (eval "$ac_compiler -V >&5") 2>&5
15266 ac_status=$?
15267 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15268 (exit $ac_status); }
15269
15270 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15271 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15272 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15273 echo $ECHO_N "(cached) $ECHO_C" >&6
15274 else
15275 cat >conftest.$ac_ext <<_ACEOF
15276 /* confdefs.h. */
15277 _ACEOF
15278 cat confdefs.h >>conftest.$ac_ext
15279 cat >>conftest.$ac_ext <<_ACEOF
15280 /* end confdefs.h. */
15281
15282 int
15283 main ()
15284 {
15285 #ifndef __GNUC__
15286 choke me
15287 #endif
15288
15289 ;
15290 return 0;
15291 }
15292 _ACEOF
15293 rm -f conftest.$ac_objext
15294 if { (ac_try="$ac_compile"
15295 case "(($ac_try" in
15296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15297 *) ac_try_echo=$ac_try;;
15298 esac
15299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15300 (eval "$ac_compile") 2>conftest.er1
15301 ac_status=$?
15302 grep -v '^ *+' conftest.er1 >conftest.err
15303 rm -f conftest.er1
15304 cat conftest.err >&5
15305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15306 (exit $ac_status); } && {
15307 test -z "$ac_cxx_werror_flag" ||
15308 test ! -s conftest.err
15309 } && test -s conftest.$ac_objext; then
15310 ac_compiler_gnu=yes
15311 else
15312 echo "$as_me: failed program was:" >&5
15313 sed 's/^/| /' conftest.$ac_ext >&5
15314
15315 ac_compiler_gnu=no
15316 fi
15317
15318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15319 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15320
15321 fi
15322 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15323 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15324 GXX=`test $ac_compiler_gnu = yes && echo yes`
15325 ac_test_CXXFLAGS=${CXXFLAGS+set}
15326 ac_save_CXXFLAGS=$CXXFLAGS
15327 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15328 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15329 if test "${ac_cv_prog_cxx_g+set}" = set; then
15330 echo $ECHO_N "(cached) $ECHO_C" >&6
15331 else
15332 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15333 ac_cxx_werror_flag=yes
15334 ac_cv_prog_cxx_g=no
15335 CXXFLAGS="-g"
15336 cat >conftest.$ac_ext <<_ACEOF
15337 /* confdefs.h. */
15338 _ACEOF
15339 cat confdefs.h >>conftest.$ac_ext
15340 cat >>conftest.$ac_ext <<_ACEOF
15341 /* end confdefs.h. */
15342
15343 int
15344 main ()
15345 {
15346
15347 ;
15348 return 0;
15349 }
15350 _ACEOF
15351 rm -f conftest.$ac_objext
15352 if { (ac_try="$ac_compile"
15353 case "(($ac_try" in
15354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15355 *) ac_try_echo=$ac_try;;
15356 esac
15357 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15358 (eval "$ac_compile") 2>conftest.er1
15359 ac_status=$?
15360 grep -v '^ *+' conftest.er1 >conftest.err
15361 rm -f conftest.er1
15362 cat conftest.err >&5
15363 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15364 (exit $ac_status); } && {
15365 test -z "$ac_cxx_werror_flag" ||
15366 test ! -s conftest.err
15367 } && test -s conftest.$ac_objext; then
15368 ac_cv_prog_cxx_g=yes
15369 else
15370 echo "$as_me: failed program was:" >&5
15371 sed 's/^/| /' conftest.$ac_ext >&5
15372
15373 CXXFLAGS=""
15374 cat >conftest.$ac_ext <<_ACEOF
15375 /* confdefs.h. */
15376 _ACEOF
15377 cat confdefs.h >>conftest.$ac_ext
15378 cat >>conftest.$ac_ext <<_ACEOF
15379 /* end confdefs.h. */
15380
15381 int
15382 main ()
15383 {
15384
15385 ;
15386 return 0;
15387 }
15388 _ACEOF
15389 rm -f conftest.$ac_objext
15390 if { (ac_try="$ac_compile"
15391 case "(($ac_try" in
15392 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15393 *) ac_try_echo=$ac_try;;
15394 esac
15395 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15396 (eval "$ac_compile") 2>conftest.er1
15397 ac_status=$?
15398 grep -v '^ *+' conftest.er1 >conftest.err
15399 rm -f conftest.er1
15400 cat conftest.err >&5
15401 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15402 (exit $ac_status); } && {
15403 test -z "$ac_cxx_werror_flag" ||
15404 test ! -s conftest.err
15405 } && test -s conftest.$ac_objext; then
15406 :
15407 else
15408 echo "$as_me: failed program was:" >&5
15409 sed 's/^/| /' conftest.$ac_ext >&5
15410
15411 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15412 CXXFLAGS="-g"
15413 cat >conftest.$ac_ext <<_ACEOF
15414 /* confdefs.h. */
15415 _ACEOF
15416 cat confdefs.h >>conftest.$ac_ext
15417 cat >>conftest.$ac_ext <<_ACEOF
15418 /* end confdefs.h. */
15419
15420 int
15421 main ()
15422 {
15423
15424 ;
15425 return 0;
15426 }
15427 _ACEOF
15428 rm -f conftest.$ac_objext
15429 if { (ac_try="$ac_compile"
15430 case "(($ac_try" in
15431 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15432 *) ac_try_echo=$ac_try;;
15433 esac
15434 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15435 (eval "$ac_compile") 2>conftest.er1
15436 ac_status=$?
15437 grep -v '^ *+' conftest.er1 >conftest.err
15438 rm -f conftest.er1
15439 cat conftest.err >&5
15440 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15441 (exit $ac_status); } && {
15442 test -z "$ac_cxx_werror_flag" ||
15443 test ! -s conftest.err
15444 } && test -s conftest.$ac_objext; then
15445 ac_cv_prog_cxx_g=yes
15446 else
15447 echo "$as_me: failed program was:" >&5
15448 sed 's/^/| /' conftest.$ac_ext >&5
15449
15450
15451 fi
15452
15453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15454 fi
15455
15456 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15457 fi
15458
15459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15460 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15461 fi
15462 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15463 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15464 if test "$ac_test_CXXFLAGS" = set; then
15465 CXXFLAGS=$ac_save_CXXFLAGS
15466 elif test $ac_cv_prog_cxx_g = yes; then
15467 if test "$GXX" = yes; then
15468 CXXFLAGS="-g -O2"
15469 else
15470 CXXFLAGS="-g"
15471 fi
15472 else
15473 if test "$GXX" = yes; then
15474 CXXFLAGS="-O2"
15475 else
15476 CXXFLAGS=
15477 fi
15478 fi
15479 ac_ext=c
15480 ac_cpp='$CPP $CPPFLAGS'
15481 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15482 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15483 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15484
15485
15486
15487 ac_ext=cpp
15488 ac_cpp='$CXXCPP $CPPFLAGS'
15489 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15490 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15491 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15492
15493 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15494 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15495 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15496 echo $ECHO_N "(cached) $ECHO_C" >&6
15497 else
15498 cat >conftest.$ac_ext <<_ACEOF
15499 /* confdefs.h. */
15500 _ACEOF
15501 cat confdefs.h >>conftest.$ac_ext
15502 cat >>conftest.$ac_ext <<_ACEOF
15503 /* end confdefs.h. */
15504
15505 int
15506 main ()
15507 {
15508
15509 #ifndef __INTEL_COMPILER
15510 choke me
15511 #endif
15512
15513 ;
15514 return 0;
15515 }
15516 _ACEOF
15517 rm -f conftest.$ac_objext
15518 if { (ac_try="$ac_compile"
15519 case "(($ac_try" in
15520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15521 *) ac_try_echo=$ac_try;;
15522 esac
15523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15524 (eval "$ac_compile") 2>conftest.er1
15525 ac_status=$?
15526 grep -v '^ *+' conftest.er1 >conftest.err
15527 rm -f conftest.er1
15528 cat conftest.err >&5
15529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15530 (exit $ac_status); } && {
15531 test -z "$ac_cxx_werror_flag" ||
15532 test ! -s conftest.err
15533 } && test -s conftest.$ac_objext; then
15534 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15535 else
15536 echo "$as_me: failed program was:" >&5
15537 sed 's/^/| /' conftest.$ac_ext >&5
15538
15539 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15540
15541 fi
15542
15543 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15544
15545
15546 fi
15547 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15548 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15549 ac_ext=c
15550 ac_cpp='$CPP $CPPFLAGS'
15551 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15552 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15553 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15554
15555 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15556 :; INTELCXX=yes
15557 else
15558 :;
15559 fi
15560
15561
15562 if test "x$GCXX" != "xyes"; then
15563 if test "xCXX" = "xC"; then
15564 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15565 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15566 if test "${bakefile_cv_c_exto+set}" = set; then
15567 echo $ECHO_N "(cached) $ECHO_C" >&6
15568 else
15569 cat >conftest.$ac_ext <<_ACEOF
15570 /* confdefs.h. */
15571 _ACEOF
15572 cat confdefs.h >>conftest.$ac_ext
15573 cat >>conftest.$ac_ext <<_ACEOF
15574 /* end confdefs.h. */
15575
15576 int
15577 main ()
15578 {
15579
15580 ;
15581 return 0;
15582 }
15583 _ACEOF
15584 rm -f conftest.$ac_objext conftest.$ac_ext.o
15585 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15586 (eval $ac_compile) 2>&5
15587 ac_status=$?
15588 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15589 (exit $ac_status); }; then
15590 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15591 case $ac_file in
15592 conftest.$ac_ext.o)
15593 bakefile_cv_c_exto="-ext o"
15594 ;;
15595 *)
15596 ;;
15597 esac
15598 done
15599 else
15600 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15601 See \`config.log' for more details." >&5
15602 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15603 See \`config.log' for more details." >&2;}
15604 { (exit 1); exit 1; }; }
15605
15606 fi
15607
15608 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15609
15610 fi
15611 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15612 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15613 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15614 if test "c" = "c"; then
15615 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15616 fi
15617 if test "c" = "cxx"; then
15618 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15619 fi
15620 fi
15621
15622 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15623 unset ac_cv_prog_cc_g
15624 ac_test_CFLAGS=${CFLAGS+set}
15625 ac_save_CFLAGS=$CFLAGS
15626 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15627 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15628 if test "${ac_cv_prog_cc_g+set}" = set; then
15629 echo $ECHO_N "(cached) $ECHO_C" >&6
15630 else
15631 ac_save_c_werror_flag=$ac_c_werror_flag
15632 ac_c_werror_flag=yes
15633 ac_cv_prog_cc_g=no
15634 CFLAGS="-g"
15635 cat >conftest.$ac_ext <<_ACEOF
15636 /* confdefs.h. */
15637 _ACEOF
15638 cat confdefs.h >>conftest.$ac_ext
15639 cat >>conftest.$ac_ext <<_ACEOF
15640 /* end confdefs.h. */
15641
15642 int
15643 main ()
15644 {
15645
15646 ;
15647 return 0;
15648 }
15649 _ACEOF
15650 rm -f conftest.$ac_objext
15651 if { (ac_try="$ac_compile"
15652 case "(($ac_try" in
15653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15654 *) ac_try_echo=$ac_try;;
15655 esac
15656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15657 (eval "$ac_compile") 2>conftest.er1
15658 ac_status=$?
15659 grep -v '^ *+' conftest.er1 >conftest.err
15660 rm -f conftest.er1
15661 cat conftest.err >&5
15662 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15663 (exit $ac_status); } && {
15664 test -z "$ac_c_werror_flag" ||
15665 test ! -s conftest.err
15666 } && test -s conftest.$ac_objext; then
15667 ac_cv_prog_cc_g=yes
15668 else
15669 echo "$as_me: failed program was:" >&5
15670 sed 's/^/| /' conftest.$ac_ext >&5
15671
15672 CFLAGS=""
15673 cat >conftest.$ac_ext <<_ACEOF
15674 /* confdefs.h. */
15675 _ACEOF
15676 cat confdefs.h >>conftest.$ac_ext
15677 cat >>conftest.$ac_ext <<_ACEOF
15678 /* end confdefs.h. */
15679
15680 int
15681 main ()
15682 {
15683
15684 ;
15685 return 0;
15686 }
15687 _ACEOF
15688 rm -f conftest.$ac_objext
15689 if { (ac_try="$ac_compile"
15690 case "(($ac_try" in
15691 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15692 *) ac_try_echo=$ac_try;;
15693 esac
15694 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15695 (eval "$ac_compile") 2>conftest.er1
15696 ac_status=$?
15697 grep -v '^ *+' conftest.er1 >conftest.err
15698 rm -f conftest.er1
15699 cat conftest.err >&5
15700 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15701 (exit $ac_status); } && {
15702 test -z "$ac_c_werror_flag" ||
15703 test ! -s conftest.err
15704 } && test -s conftest.$ac_objext; then
15705 :
15706 else
15707 echo "$as_me: failed program was:" >&5
15708 sed 's/^/| /' conftest.$ac_ext >&5
15709
15710 ac_c_werror_flag=$ac_save_c_werror_flag
15711 CFLAGS="-g"
15712 cat >conftest.$ac_ext <<_ACEOF
15713 /* confdefs.h. */
15714 _ACEOF
15715 cat confdefs.h >>conftest.$ac_ext
15716 cat >>conftest.$ac_ext <<_ACEOF
15717 /* end confdefs.h. */
15718
15719 int
15720 main ()
15721 {
15722
15723 ;
15724 return 0;
15725 }
15726 _ACEOF
15727 rm -f conftest.$ac_objext
15728 if { (ac_try="$ac_compile"
15729 case "(($ac_try" in
15730 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15731 *) ac_try_echo=$ac_try;;
15732 esac
15733 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15734 (eval "$ac_compile") 2>conftest.er1
15735 ac_status=$?
15736 grep -v '^ *+' conftest.er1 >conftest.err
15737 rm -f conftest.er1
15738 cat conftest.err >&5
15739 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15740 (exit $ac_status); } && {
15741 test -z "$ac_c_werror_flag" ||
15742 test ! -s conftest.err
15743 } && test -s conftest.$ac_objext; then
15744 ac_cv_prog_cc_g=yes
15745 else
15746 echo "$as_me: failed program was:" >&5
15747 sed 's/^/| /' conftest.$ac_ext >&5
15748
15749
15750 fi
15751
15752 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15753 fi
15754
15755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15756 fi
15757
15758 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15759 ac_c_werror_flag=$ac_save_c_werror_flag
15760 fi
15761 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15762 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15763 if test "$ac_test_CFLAGS" = set; then
15764 CFLAGS=$ac_save_CFLAGS
15765 elif test $ac_cv_prog_cc_g = yes; then
15766 if test "$GCC" = yes; then
15767 CFLAGS="-g -O2"
15768 else
15769 CFLAGS="-g"
15770 fi
15771 else
15772 if test "$GCC" = yes; then
15773 CFLAGS="-O2"
15774 else
15775 CFLAGS=
15776 fi
15777 fi
15778 fi
15779 fi
15780
15781 case `uname -s` in
15782 AIX*)
15783 ac_ext=cpp
15784 ac_cpp='$CXXCPP $CPPFLAGS'
15785 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15786 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15787 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15788
15789 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15790 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15791 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15792 echo $ECHO_N "(cached) $ECHO_C" >&6
15793 else
15794 cat >conftest.$ac_ext <<_ACEOF
15795 /* confdefs.h. */
15796 _ACEOF
15797 cat confdefs.h >>conftest.$ac_ext
15798 cat >>conftest.$ac_ext <<_ACEOF
15799 /* end confdefs.h. */
15800
15801 int
15802 main ()
15803 {
15804 #ifndef __xlC__
15805 choke me
15806 #endif
15807
15808 ;
15809 return 0;
15810 }
15811 _ACEOF
15812 rm -f conftest.$ac_objext
15813 if { (ac_try="$ac_compile"
15814 case "(($ac_try" in
15815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15816 *) ac_try_echo=$ac_try;;
15817 esac
15818 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15819 (eval "$ac_compile") 2>conftest.er1
15820 ac_status=$?
15821 grep -v '^ *+' conftest.er1 >conftest.err
15822 rm -f conftest.er1
15823 cat conftest.err >&5
15824 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15825 (exit $ac_status); } && {
15826 test -z "$ac_cxx_werror_flag" ||
15827 test ! -s conftest.err
15828 } && test -s conftest.$ac_objext; then
15829 bakefile_compiler_xlc=yes
15830 else
15831 echo "$as_me: failed program was:" >&5
15832 sed 's/^/| /' conftest.$ac_ext >&5
15833
15834 bakefile_compiler_xlc=no
15835 fi
15836
15837 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15838 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15839
15840 fi
15841 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15842 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15843
15844 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15845 ac_ext=c
15846 ac_cpp='$CPP $CPPFLAGS'
15847 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15848 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15849 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15850
15851
15852 ;;
15853
15854 Darwin)
15855 ac_ext=cpp
15856 ac_cpp='$CXXCPP $CPPFLAGS'
15857 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15858 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15859 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15860
15861 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15862 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15863 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15864 echo $ECHO_N "(cached) $ECHO_C" >&6
15865 else
15866 cat >conftest.$ac_ext <<_ACEOF
15867 /* confdefs.h. */
15868 _ACEOF
15869 cat confdefs.h >>conftest.$ac_ext
15870 cat >>conftest.$ac_ext <<_ACEOF
15871 /* end confdefs.h. */
15872
15873 int
15874 main ()
15875 {
15876 #ifndef __MWERKS__
15877 choke me
15878 #endif
15879
15880 ;
15881 return 0;
15882 }
15883 _ACEOF
15884 rm -f conftest.$ac_objext
15885 if { (ac_try="$ac_compile"
15886 case "(($ac_try" in
15887 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15888 *) ac_try_echo=$ac_try;;
15889 esac
15890 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15891 (eval "$ac_compile") 2>conftest.er1
15892 ac_status=$?
15893 grep -v '^ *+' conftest.er1 >conftest.err
15894 rm -f conftest.er1
15895 cat conftest.err >&5
15896 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15897 (exit $ac_status); } && {
15898 test -z "$ac_cxx_werror_flag" ||
15899 test ! -s conftest.err
15900 } && test -s conftest.$ac_objext; then
15901 bakefile_compiler_mwerks=yes
15902 else
15903 echo "$as_me: failed program was:" >&5
15904 sed 's/^/| /' conftest.$ac_ext >&5
15905
15906 bakefile_compiler_mwerks=no
15907 fi
15908
15909 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15910 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15911
15912 fi
15913 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15914 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15915
15916 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15917 ac_ext=c
15918 ac_cpp='$CPP $CPPFLAGS'
15919 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15920 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15921 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15922
15923
15924 ac_ext=cpp
15925 ac_cpp='$CXXCPP $CPPFLAGS'
15926 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15927 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15928 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15929
15930 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15931 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15932 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15933 echo $ECHO_N "(cached) $ECHO_C" >&6
15934 else
15935 cat >conftest.$ac_ext <<_ACEOF
15936 /* confdefs.h. */
15937 _ACEOF
15938 cat confdefs.h >>conftest.$ac_ext
15939 cat >>conftest.$ac_ext <<_ACEOF
15940 /* end confdefs.h. */
15941
15942 int
15943 main ()
15944 {
15945 #ifndef __xlC__
15946 choke me
15947 #endif
15948
15949 ;
15950 return 0;
15951 }
15952 _ACEOF
15953 rm -f conftest.$ac_objext
15954 if { (ac_try="$ac_compile"
15955 case "(($ac_try" in
15956 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15957 *) ac_try_echo=$ac_try;;
15958 esac
15959 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15960 (eval "$ac_compile") 2>conftest.er1
15961 ac_status=$?
15962 grep -v '^ *+' conftest.er1 >conftest.err
15963 rm -f conftest.er1
15964 cat conftest.err >&5
15965 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15966 (exit $ac_status); } && {
15967 test -z "$ac_cxx_werror_flag" ||
15968 test ! -s conftest.err
15969 } && test -s conftest.$ac_objext; then
15970 bakefile_compiler_xlc=yes
15971 else
15972 echo "$as_me: failed program was:" >&5
15973 sed 's/^/| /' conftest.$ac_ext >&5
15974
15975 bakefile_compiler_xlc=no
15976 fi
15977
15978 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15979 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15980
15981 fi
15982 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15983 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15984
15985 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15986 ac_ext=c
15987 ac_cpp='$CPP $CPPFLAGS'
15988 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15989 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15990 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15991
15992
15993 ;;
15994
15995 IRIX*)
15996
15997
15998 ac_ext=cpp
15999 ac_cpp='$CXXCPP $CPPFLAGS'
16000 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16001 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16002 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16003
16004 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
16005 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
16006 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
16007 echo $ECHO_N "(cached) $ECHO_C" >&6
16008 else
16009 cat >conftest.$ac_ext <<_ACEOF
16010 /* confdefs.h. */
16011 _ACEOF
16012 cat confdefs.h >>conftest.$ac_ext
16013 cat >>conftest.$ac_ext <<_ACEOF
16014 /* end confdefs.h. */
16015
16016 int
16017 main ()
16018 {
16019
16020 #ifndef _SGI_COMPILER_VERSION
16021 choke me
16022 #endif
16023
16024 ;
16025 return 0;
16026 }
16027 _ACEOF
16028 rm -f conftest.$ac_objext
16029 if { (ac_try="$ac_compile"
16030 case "(($ac_try" in
16031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16032 *) ac_try_echo=$ac_try;;
16033 esac
16034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16035 (eval "$ac_compile") 2>conftest.er1
16036 ac_status=$?
16037 grep -v '^ *+' conftest.er1 >conftest.err
16038 rm -f conftest.er1
16039 cat conftest.err >&5
16040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16041 (exit $ac_status); } && {
16042 test -z "$ac_cxx_werror_flag" ||
16043 test ! -s conftest.err
16044 } && test -s conftest.$ac_objext; then
16045 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
16046 else
16047 echo "$as_me: failed program was:" >&5
16048 sed 's/^/| /' conftest.$ac_ext >&5
16049
16050 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
16051
16052 fi
16053
16054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16055
16056
16057 fi
16058 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
16059 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
16060 ac_ext=c
16061 ac_cpp='$CPP $CPPFLAGS'
16062 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16063 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16064 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16065
16066 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
16067 :; SGICXX=yes
16068 else
16069 :;
16070 fi
16071
16072
16073 ;;
16074
16075 HP-UX*)
16076
16077
16078 ac_ext=cpp
16079 ac_cpp='$CXXCPP $CPPFLAGS'
16080 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16081 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16082 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16083
16084 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
16085 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
16086 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
16087 echo $ECHO_N "(cached) $ECHO_C" >&6
16088 else
16089 cat >conftest.$ac_ext <<_ACEOF
16090 /* confdefs.h. */
16091 _ACEOF
16092 cat confdefs.h >>conftest.$ac_ext
16093 cat >>conftest.$ac_ext <<_ACEOF
16094 /* end confdefs.h. */
16095
16096 int
16097 main ()
16098 {
16099
16100 #ifndef __HP_aCC
16101 choke me
16102 #endif
16103
16104 ;
16105 return 0;
16106 }
16107 _ACEOF
16108 rm -f conftest.$ac_objext
16109 if { (ac_try="$ac_compile"
16110 case "(($ac_try" in
16111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16112 *) ac_try_echo=$ac_try;;
16113 esac
16114 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16115 (eval "$ac_compile") 2>conftest.er1
16116 ac_status=$?
16117 grep -v '^ *+' conftest.er1 >conftest.err
16118 rm -f conftest.er1
16119 cat conftest.err >&5
16120 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16121 (exit $ac_status); } && {
16122 test -z "$ac_cxx_werror_flag" ||
16123 test ! -s conftest.err
16124 } && test -s conftest.$ac_objext; then
16125 bakefile_cv_cxx_compiler___HP_aCC=yes
16126 else
16127 echo "$as_me: failed program was:" >&5
16128 sed 's/^/| /' conftest.$ac_ext >&5
16129
16130 bakefile_cv_cxx_compiler___HP_aCC=no
16131
16132 fi
16133
16134 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16135
16136
16137 fi
16138 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
16139 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
16140 ac_ext=c
16141 ac_cpp='$CPP $CPPFLAGS'
16142 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16143 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16144 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16145
16146 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
16147 :; HPCXX=yes
16148 else
16149 :;
16150 fi
16151
16152
16153 ;;
16154
16155 OSF1)
16156
16157
16158 ac_ext=cpp
16159 ac_cpp='$CXXCPP $CPPFLAGS'
16160 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16161 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16162 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16163
16164 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
16165 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
16166 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
16167 echo $ECHO_N "(cached) $ECHO_C" >&6
16168 else
16169 cat >conftest.$ac_ext <<_ACEOF
16170 /* confdefs.h. */
16171 _ACEOF
16172 cat confdefs.h >>conftest.$ac_ext
16173 cat >>conftest.$ac_ext <<_ACEOF
16174 /* end confdefs.h. */
16175
16176 int
16177 main ()
16178 {
16179
16180 #ifndef __DECCXX
16181 choke me
16182 #endif
16183
16184 ;
16185 return 0;
16186 }
16187 _ACEOF
16188 rm -f conftest.$ac_objext
16189 if { (ac_try="$ac_compile"
16190 case "(($ac_try" in
16191 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16192 *) ac_try_echo=$ac_try;;
16193 esac
16194 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16195 (eval "$ac_compile") 2>conftest.er1
16196 ac_status=$?
16197 grep -v '^ *+' conftest.er1 >conftest.err
16198 rm -f conftest.er1
16199 cat conftest.err >&5
16200 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16201 (exit $ac_status); } && {
16202 test -z "$ac_cxx_werror_flag" ||
16203 test ! -s conftest.err
16204 } && test -s conftest.$ac_objext; then
16205 bakefile_cv_cxx_compiler___DECCXX=yes
16206 else
16207 echo "$as_me: failed program was:" >&5
16208 sed 's/^/| /' conftest.$ac_ext >&5
16209
16210 bakefile_cv_cxx_compiler___DECCXX=no
16211
16212 fi
16213
16214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16215
16216
16217 fi
16218 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16219 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16220 ac_ext=c
16221 ac_cpp='$CPP $CPPFLAGS'
16222 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16223 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16224 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16225
16226 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16227 :; COMPAQCXX=yes
16228 else
16229 :;
16230 fi
16231
16232
16233 ;;
16234
16235 SunOS)
16236
16237
16238 ac_ext=cpp
16239 ac_cpp='$CXXCPP $CPPFLAGS'
16240 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16241 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16242 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16243
16244 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16245 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16246 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16247 echo $ECHO_N "(cached) $ECHO_C" >&6
16248 else
16249 cat >conftest.$ac_ext <<_ACEOF
16250 /* confdefs.h. */
16251 _ACEOF
16252 cat confdefs.h >>conftest.$ac_ext
16253 cat >>conftest.$ac_ext <<_ACEOF
16254 /* end confdefs.h. */
16255
16256 int
16257 main ()
16258 {
16259
16260 #ifndef __SUNPRO_CC
16261 choke me
16262 #endif
16263
16264 ;
16265 return 0;
16266 }
16267 _ACEOF
16268 rm -f conftest.$ac_objext
16269 if { (ac_try="$ac_compile"
16270 case "(($ac_try" in
16271 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16272 *) ac_try_echo=$ac_try;;
16273 esac
16274 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16275 (eval "$ac_compile") 2>conftest.er1
16276 ac_status=$?
16277 grep -v '^ *+' conftest.er1 >conftest.err
16278 rm -f conftest.er1
16279 cat conftest.err >&5
16280 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16281 (exit $ac_status); } && {
16282 test -z "$ac_cxx_werror_flag" ||
16283 test ! -s conftest.err
16284 } && test -s conftest.$ac_objext; then
16285 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16286 else
16287 echo "$as_me: failed program was:" >&5
16288 sed 's/^/| /' conftest.$ac_ext >&5
16289
16290 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16291
16292 fi
16293
16294 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16295
16296
16297 fi
16298 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16299 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16300 ac_ext=c
16301 ac_cpp='$CPP $CPPFLAGS'
16302 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16303 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16304 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16305
16306 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16307 :; SUNCXX=yes
16308 else
16309 :;
16310 fi
16311
16312
16313 ;;
16314 esac
16315 fi
16316
16317
16318
16319 if test "$CXX" = "g++" -a "$GXX" != "yes"; then
16320 { { echo "$as_me:$LINENO: error: C++ compiler is needed to build wxWidgets" >&5
16321 echo "$as_me: error: C++ compiler is needed to build wxWidgets" >&2;}
16322 { (exit 1); exit 1; }; }
16323 fi
16324
16325 if test -n "$ac_tool_prefix"; then
16326 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16327 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16328 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16329 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16330 if test "${ac_cv_prog_RANLIB+set}" = set; then
16331 echo $ECHO_N "(cached) $ECHO_C" >&6
16332 else
16333 if test -n "$RANLIB"; then
16334 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16335 else
16336 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16337 for as_dir in $PATH
16338 do
16339 IFS=$as_save_IFS
16340 test -z "$as_dir" && as_dir=.
16341 for ac_exec_ext in '' $ac_executable_extensions; do
16342 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16343 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16344 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16345 break 2
16346 fi
16347 done
16348 done
16349 IFS=$as_save_IFS
16350
16351 fi
16352 fi
16353 RANLIB=$ac_cv_prog_RANLIB
16354 if test -n "$RANLIB"; then
16355 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16356 echo "${ECHO_T}$RANLIB" >&6; }
16357 else
16358 { echo "$as_me:$LINENO: result: no" >&5
16359 echo "${ECHO_T}no" >&6; }
16360 fi
16361
16362
16363 fi
16364 if test -z "$ac_cv_prog_RANLIB"; then
16365 ac_ct_RANLIB=$RANLIB
16366 # Extract the first word of "ranlib", so it can be a program name with args.
16367 set dummy ranlib; ac_word=$2
16368 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16369 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16370 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16371 echo $ECHO_N "(cached) $ECHO_C" >&6
16372 else
16373 if test -n "$ac_ct_RANLIB"; then
16374 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16375 else
16376 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16377 for as_dir in $PATH
16378 do
16379 IFS=$as_save_IFS
16380 test -z "$as_dir" && as_dir=.
16381 for ac_exec_ext in '' $ac_executable_extensions; do
16382 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16383 ac_cv_prog_ac_ct_RANLIB="ranlib"
16384 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16385 break 2
16386 fi
16387 done
16388 done
16389 IFS=$as_save_IFS
16390
16391 fi
16392 fi
16393 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16394 if test -n "$ac_ct_RANLIB"; then
16395 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16396 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16397 else
16398 { echo "$as_me:$LINENO: result: no" >&5
16399 echo "${ECHO_T}no" >&6; }
16400 fi
16401
16402 if test "x$ac_ct_RANLIB" = x; then
16403 RANLIB=":"
16404 else
16405 case $cross_compiling:$ac_tool_warned in
16406 yes:)
16407 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16408 whose name does not start with the host triplet. If you think this
16409 configuration is useful to you, please write to autoconf@gnu.org." >&5
16410 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16411 whose name does not start with the host triplet. If you think this
16412 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16413 ac_tool_warned=yes ;;
16414 esac
16415 RANLIB=$ac_ct_RANLIB
16416 fi
16417 else
16418 RANLIB="$ac_cv_prog_RANLIB"
16419 fi
16420
16421
16422 if test "x$SUNCXX" != xyes; then
16423 if test -n "$ac_tool_prefix"; then
16424 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16425 set dummy ${ac_tool_prefix}ar; ac_word=$2
16426 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16427 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16428 if test "${ac_cv_prog_AR+set}" = set; then
16429 echo $ECHO_N "(cached) $ECHO_C" >&6
16430 else
16431 if test -n "$AR"; then
16432 ac_cv_prog_AR="$AR" # Let the user override the test.
16433 else
16434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16435 for as_dir in $PATH
16436 do
16437 IFS=$as_save_IFS
16438 test -z "$as_dir" && as_dir=.
16439 for ac_exec_ext in '' $ac_executable_extensions; do
16440 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16441 ac_cv_prog_AR="${ac_tool_prefix}ar"
16442 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16443 break 2
16444 fi
16445 done
16446 done
16447 IFS=$as_save_IFS
16448
16449 fi
16450 fi
16451 AR=$ac_cv_prog_AR
16452 if test -n "$AR"; then
16453 { echo "$as_me:$LINENO: result: $AR" >&5
16454 echo "${ECHO_T}$AR" >&6; }
16455 else
16456 { echo "$as_me:$LINENO: result: no" >&5
16457 echo "${ECHO_T}no" >&6; }
16458 fi
16459
16460
16461 fi
16462 if test -z "$ac_cv_prog_AR"; then
16463 ac_ct_AR=$AR
16464 # Extract the first word of "ar", so it can be a program name with args.
16465 set dummy ar; ac_word=$2
16466 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16467 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16468 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16469 echo $ECHO_N "(cached) $ECHO_C" >&6
16470 else
16471 if test -n "$ac_ct_AR"; then
16472 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16473 else
16474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16475 for as_dir in $PATH
16476 do
16477 IFS=$as_save_IFS
16478 test -z "$as_dir" && as_dir=.
16479 for ac_exec_ext in '' $ac_executable_extensions; do
16480 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16481 ac_cv_prog_ac_ct_AR="ar"
16482 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16483 break 2
16484 fi
16485 done
16486 done
16487 IFS=$as_save_IFS
16488
16489 fi
16490 fi
16491 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16492 if test -n "$ac_ct_AR"; then
16493 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16494 echo "${ECHO_T}$ac_ct_AR" >&6; }
16495 else
16496 { echo "$as_me:$LINENO: result: no" >&5
16497 echo "${ECHO_T}no" >&6; }
16498 fi
16499
16500 if test "x$ac_ct_AR" = x; then
16501 AR=""
16502 else
16503 case $cross_compiling:$ac_tool_warned in
16504 yes:)
16505 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16506 whose name does not start with the host triplet. If you think this
16507 configuration is useful to you, please write to autoconf@gnu.org." >&5
16508 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16509 whose name does not start with the host triplet. If you think this
16510 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16511 ac_tool_warned=yes ;;
16512 esac
16513 AR=$ac_ct_AR
16514 fi
16515 else
16516 AR="$ac_cv_prog_AR"
16517 fi
16518
16519 if test "x$AR" = "x" ; then
16520 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16521 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16522 { (exit 1); exit 1; }; }
16523 fi
16524 fi
16525
16526 # Find a good install program. We prefer a C program (faster),
16527 # so one script is as good as another. But avoid the broken or
16528 # incompatible versions:
16529 # SysV /etc/install, /usr/sbin/install
16530 # SunOS /usr/etc/install
16531 # IRIX /sbin/install
16532 # AIX /bin/install
16533 # AmigaOS /C/install, which installs bootblocks on floppy discs
16534 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16535 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16536 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16537 # OS/2's system install, which has a completely different semantic
16538 # ./install, which can be erroneously created by make from ./install.sh.
16539 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16540 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16541 if test -z "$INSTALL"; then
16542 if test "${ac_cv_path_install+set}" = set; then
16543 echo $ECHO_N "(cached) $ECHO_C" >&6
16544 else
16545 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16546 for as_dir in $PATH
16547 do
16548 IFS=$as_save_IFS
16549 test -z "$as_dir" && as_dir=.
16550 # Account for people who put trailing slashes in PATH elements.
16551 case $as_dir/ in
16552 ./ | .// | /cC/* | \
16553 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16554 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16555 /usr/ucb/* ) ;;
16556 *)
16557 # OSF1 and SCO ODT 3.0 have their own names for install.
16558 # Don't use installbsd from OSF since it installs stuff as root
16559 # by default.
16560 for ac_prog in ginstall scoinst install; do
16561 for ac_exec_ext in '' $ac_executable_extensions; do
16562 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16563 if test $ac_prog = install &&
16564 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16565 # AIX install. It has an incompatible calling convention.
16566 :
16567 elif test $ac_prog = install &&
16568 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16569 # program-specific install script used by HP pwplus--don't use.
16570 :
16571 else
16572 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16573 break 3
16574 fi
16575 fi
16576 done
16577 done
16578 ;;
16579 esac
16580 done
16581 IFS=$as_save_IFS
16582
16583
16584 fi
16585 if test "${ac_cv_path_install+set}" = set; then
16586 INSTALL=$ac_cv_path_install
16587 else
16588 # As a last resort, use the slow shell script. Don't cache a
16589 # value for INSTALL within a source directory, because that will
16590 # break other packages using the cache if that directory is
16591 # removed, or if the value is a relative name.
16592 INSTALL=$ac_install_sh
16593 fi
16594 fi
16595 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16596 echo "${ECHO_T}$INSTALL" >&6; }
16597
16598 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16599 # It thinks the first close brace ends the variable substitution.
16600 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16601
16602 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16603
16604 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16605
16606
16607 case ${INSTALL} in
16608 /* ) # Absolute
16609 ;;
16610 ?:* ) # Drive letter, considered as absolute.
16611 ;;
16612 *)
16613 INSTALL=`pwd`/${INSTALL} ;;
16614 esac
16615
16616
16617 case "${host}" in
16618
16619 *-*-darwin* )
16620 INSTALL_PROGRAM="cp -fp"
16621 INSTALL_DATA="cp -fp"
16622 ;;
16623 *)
16624 ;;
16625 esac
16626
16627 if test -n "$ac_tool_prefix"; then
16628 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16629 set dummy ${ac_tool_prefix}strip; ac_word=$2
16630 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16631 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16632 if test "${ac_cv_prog_STRIP+set}" = set; then
16633 echo $ECHO_N "(cached) $ECHO_C" >&6
16634 else
16635 if test -n "$STRIP"; then
16636 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16637 else
16638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16639 for as_dir in $PATH
16640 do
16641 IFS=$as_save_IFS
16642 test -z "$as_dir" && as_dir=.
16643 for ac_exec_ext in '' $ac_executable_extensions; do
16644 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16645 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16646 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16647 break 2
16648 fi
16649 done
16650 done
16651 IFS=$as_save_IFS
16652
16653 fi
16654 fi
16655 STRIP=$ac_cv_prog_STRIP
16656 if test -n "$STRIP"; then
16657 { echo "$as_me:$LINENO: result: $STRIP" >&5
16658 echo "${ECHO_T}$STRIP" >&6; }
16659 else
16660 { echo "$as_me:$LINENO: result: no" >&5
16661 echo "${ECHO_T}no" >&6; }
16662 fi
16663
16664
16665 fi
16666 if test -z "$ac_cv_prog_STRIP"; then
16667 ac_ct_STRIP=$STRIP
16668 # Extract the first word of "strip", so it can be a program name with args.
16669 set dummy strip; ac_word=$2
16670 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16671 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16672 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16673 echo $ECHO_N "(cached) $ECHO_C" >&6
16674 else
16675 if test -n "$ac_ct_STRIP"; then
16676 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16677 else
16678 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16679 for as_dir in $PATH
16680 do
16681 IFS=$as_save_IFS
16682 test -z "$as_dir" && as_dir=.
16683 for ac_exec_ext in '' $ac_executable_extensions; do
16684 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16685 ac_cv_prog_ac_ct_STRIP="strip"
16686 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16687 break 2
16688 fi
16689 done
16690 done
16691 IFS=$as_save_IFS
16692
16693 fi
16694 fi
16695 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16696 if test -n "$ac_ct_STRIP"; then
16697 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16698 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16699 else
16700 { echo "$as_me:$LINENO: result: no" >&5
16701 echo "${ECHO_T}no" >&6; }
16702 fi
16703
16704 if test "x$ac_ct_STRIP" = x; then
16705 STRIP="true"
16706 else
16707 case $cross_compiling:$ac_tool_warned in
16708 yes:)
16709 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16710 whose name does not start with the host triplet. If you think this
16711 configuration is useful to you, please write to autoconf@gnu.org." >&5
16712 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16713 whose name does not start with the host triplet. If you think this
16714 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16715 ac_tool_warned=yes ;;
16716 esac
16717 STRIP=$ac_ct_STRIP
16718 fi
16719 else
16720 STRIP="$ac_cv_prog_STRIP"
16721 fi
16722
16723
16724 if test "$wxUSE_WINE" = "yes"; then
16725 if test -n "$ac_tool_prefix"; then
16726 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16727 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16728 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16729 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16730 if test "${ac_cv_prog_WINDRES+set}" = set; then
16731 echo $ECHO_N "(cached) $ECHO_C" >&6
16732 else
16733 if test -n "$WINDRES"; then
16734 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16735 else
16736 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16737 for as_dir in $PATH
16738 do
16739 IFS=$as_save_IFS
16740 test -z "$as_dir" && as_dir=.
16741 for ac_exec_ext in '' $ac_executable_extensions; do
16742 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16743 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16744 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16745 break 2
16746 fi
16747 done
16748 done
16749 IFS=$as_save_IFS
16750
16751 fi
16752 fi
16753 WINDRES=$ac_cv_prog_WINDRES
16754 if test -n "$WINDRES"; then
16755 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16756 echo "${ECHO_T}$WINDRES" >&6; }
16757 else
16758 { echo "$as_me:$LINENO: result: no" >&5
16759 echo "${ECHO_T}no" >&6; }
16760 fi
16761
16762
16763 fi
16764 if test -z "$ac_cv_prog_WINDRES"; then
16765 ac_ct_WINDRES=$WINDRES
16766 # Extract the first word of "wrc", so it can be a program name with args.
16767 set dummy wrc; ac_word=$2
16768 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16769 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16770 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16771 echo $ECHO_N "(cached) $ECHO_C" >&6
16772 else
16773 if test -n "$ac_ct_WINDRES"; then
16774 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16775 else
16776 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16777 for as_dir in $PATH
16778 do
16779 IFS=$as_save_IFS
16780 test -z "$as_dir" && as_dir=.
16781 for ac_exec_ext in '' $ac_executable_extensions; do
16782 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16783 ac_cv_prog_ac_ct_WINDRES="wrc"
16784 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16785 break 2
16786 fi
16787 done
16788 done
16789 IFS=$as_save_IFS
16790
16791 fi
16792 fi
16793 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16794 if test -n "$ac_ct_WINDRES"; then
16795 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16796 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16797 else
16798 { echo "$as_me:$LINENO: result: no" >&5
16799 echo "${ECHO_T}no" >&6; }
16800 fi
16801
16802 if test "x$ac_ct_WINDRES" = x; then
16803 WINDRES=""
16804 else
16805 case $cross_compiling:$ac_tool_warned in
16806 yes:)
16807 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16808 whose name does not start with the host triplet. If you think this
16809 configuration is useful to you, please write to autoconf@gnu.org." >&5
16810 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16811 whose name does not start with the host triplet. If you think this
16812 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16813 ac_tool_warned=yes ;;
16814 esac
16815 WINDRES=$ac_ct_WINDRES
16816 fi
16817 else
16818 WINDRES="$ac_cv_prog_WINDRES"
16819 fi
16820
16821 RESCOMP="$WINDRES"
16822 else
16823 case "${host}" in
16824 *-*-cygwin* | *-*-mingw32* )
16825 if test -n "$ac_tool_prefix"; then
16826 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16827 set dummy ${ac_tool_prefix}windres; ac_word=$2
16828 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16829 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16830 if test "${ac_cv_prog_WINDRES+set}" = set; then
16831 echo $ECHO_N "(cached) $ECHO_C" >&6
16832 else
16833 if test -n "$WINDRES"; then
16834 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16835 else
16836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16837 for as_dir in $PATH
16838 do
16839 IFS=$as_save_IFS
16840 test -z "$as_dir" && as_dir=.
16841 for ac_exec_ext in '' $ac_executable_extensions; do
16842 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16843 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16844 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16845 break 2
16846 fi
16847 done
16848 done
16849 IFS=$as_save_IFS
16850
16851 fi
16852 fi
16853 WINDRES=$ac_cv_prog_WINDRES
16854 if test -n "$WINDRES"; then
16855 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16856 echo "${ECHO_T}$WINDRES" >&6; }
16857 else
16858 { echo "$as_me:$LINENO: result: no" >&5
16859 echo "${ECHO_T}no" >&6; }
16860 fi
16861
16862
16863 fi
16864 if test -z "$ac_cv_prog_WINDRES"; then
16865 ac_ct_WINDRES=$WINDRES
16866 # Extract the first word of "windres", so it can be a program name with args.
16867 set dummy windres; ac_word=$2
16868 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16869 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16870 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16871 echo $ECHO_N "(cached) $ECHO_C" >&6
16872 else
16873 if test -n "$ac_ct_WINDRES"; then
16874 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16875 else
16876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16877 for as_dir in $PATH
16878 do
16879 IFS=$as_save_IFS
16880 test -z "$as_dir" && as_dir=.
16881 for ac_exec_ext in '' $ac_executable_extensions; do
16882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16883 ac_cv_prog_ac_ct_WINDRES="windres"
16884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16885 break 2
16886 fi
16887 done
16888 done
16889 IFS=$as_save_IFS
16890
16891 fi
16892 fi
16893 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16894 if test -n "$ac_ct_WINDRES"; then
16895 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16896 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16897 else
16898 { echo "$as_me:$LINENO: result: no" >&5
16899 echo "${ECHO_T}no" >&6; }
16900 fi
16901
16902 if test "x$ac_ct_WINDRES" = x; then
16903 WINDRES=""
16904 else
16905 case $cross_compiling:$ac_tool_warned in
16906 yes:)
16907 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16908 whose name does not start with the host triplet. If you think this
16909 configuration is useful to you, please write to autoconf@gnu.org." >&5
16910 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16911 whose name does not start with the host triplet. If you think this
16912 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16913 ac_tool_warned=yes ;;
16914 esac
16915 WINDRES=$ac_ct_WINDRES
16916 fi
16917 else
16918 WINDRES="$ac_cv_prog_WINDRES"
16919 fi
16920
16921 RESCOMP="$WINDRES"
16922 if test -n "$ac_tool_prefix"; then
16923 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16924 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16925 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16926 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16927 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16928 echo $ECHO_N "(cached) $ECHO_C" >&6
16929 else
16930 if test -n "$DLLTOOL"; then
16931 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16932 else
16933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16934 for as_dir in $PATH
16935 do
16936 IFS=$as_save_IFS
16937 test -z "$as_dir" && as_dir=.
16938 for ac_exec_ext in '' $ac_executable_extensions; do
16939 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16940 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16941 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16942 break 2
16943 fi
16944 done
16945 done
16946 IFS=$as_save_IFS
16947
16948 fi
16949 fi
16950 DLLTOOL=$ac_cv_prog_DLLTOOL
16951 if test -n "$DLLTOOL"; then
16952 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16953 echo "${ECHO_T}$DLLTOOL" >&6; }
16954 else
16955 { echo "$as_me:$LINENO: result: no" >&5
16956 echo "${ECHO_T}no" >&6; }
16957 fi
16958
16959
16960 fi
16961 if test -z "$ac_cv_prog_DLLTOOL"; then
16962 ac_ct_DLLTOOL=$DLLTOOL
16963 # Extract the first word of "dlltool", so it can be a program name with args.
16964 set dummy dlltool; ac_word=$2
16965 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16966 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16967 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16968 echo $ECHO_N "(cached) $ECHO_C" >&6
16969 else
16970 if test -n "$ac_ct_DLLTOOL"; then
16971 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16972 else
16973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16974 for as_dir in $PATH
16975 do
16976 IFS=$as_save_IFS
16977 test -z "$as_dir" && as_dir=.
16978 for ac_exec_ext in '' $ac_executable_extensions; do
16979 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16980 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16981 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16982 break 2
16983 fi
16984 done
16985 done
16986 IFS=$as_save_IFS
16987
16988 fi
16989 fi
16990 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16991 if test -n "$ac_ct_DLLTOOL"; then
16992 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16993 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16994 else
16995 { echo "$as_me:$LINENO: result: no" >&5
16996 echo "${ECHO_T}no" >&6; }
16997 fi
16998
16999 if test "x$ac_ct_DLLTOOL" = x; then
17000 DLLTOOL=""
17001 else
17002 case $cross_compiling:$ac_tool_warned in
17003 yes:)
17004 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
17005 whose name does not start with the host triplet. If you think this
17006 configuration is useful to you, please write to autoconf@gnu.org." >&5
17007 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
17008 whose name does not start with the host triplet. If you think this
17009 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
17010 ac_tool_warned=yes ;;
17011 esac
17012 DLLTOOL=$ac_ct_DLLTOOL
17013 fi
17014 else
17015 DLLTOOL="$ac_cv_prog_DLLTOOL"
17016 fi
17017
17018 ;;
17019 esac
17020 fi
17021
17022 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
17023 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
17024 if test "${wx_cv_prog_makeisgnu+set}" = set; then
17025 echo $ECHO_N "(cached) $ECHO_C" >&6
17026 else
17027
17028 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
17029 $EGREP -s GNU > /dev/null); then
17030 wx_cv_prog_makeisgnu="yes"
17031 else
17032 wx_cv_prog_makeisgnu="no"
17033 fi
17034
17035 fi
17036 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
17037 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
17038
17039 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
17040 IF_GNU_MAKE=""
17041 else
17042 IF_GNU_MAKE="#"
17043 fi
17044
17045
17046
17047 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
17048 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
17049 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
17050 if test "${wx_cv_prog_makevpath+set}" = set; then
17051 echo $ECHO_N "(cached) $ECHO_C" >&6
17052 else
17053
17054 cat - << EOF > confMake
17055 check : file
17056 cp \$? \$@
17057 cp \$? final_file
17058 EOF
17059
17060 if test ! -d sub ; then
17061 mkdir sub
17062 fi
17063 echo dummy > sub/file
17064 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
17065 RESULT=$?
17066 rm -f sub/file check final_file confMake
17067 rmdir sub
17068 if test "$RESULT" = 0; then
17069 wx_cv_prog_makevpath="yes"
17070 else
17071 wx_cv_prog_makevpath="no"
17072 fi
17073
17074 fi
17075 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
17076 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
17077
17078 if test "x$wx_cv_prog_makevpath" != "xyes"; then
17079 { { echo "$as_me:$LINENO: error:
17080 You need a make-utility that is able to use the variable
17081 VPATH correctly.
17082 If your version of make does not support VPATH correctly,
17083 please install GNU-make (possibly as gmake), and start
17084 configure with the following command:
17085 export MAKE=gmake; ./configure for sh-type shells
17086 setenv MAKE gmake; ./configure for csh-type shells
17087 Also please do remember to use gmake in this case every time
17088 you are trying to compile.
17089 " >&5
17090 echo "$as_me: error:
17091 You need a make-utility that is able to use the variable
17092 VPATH correctly.
17093 If your version of make does not support VPATH correctly,
17094 please install GNU-make (possibly as gmake), and start
17095 configure with the following command:
17096 export MAKE=gmake; ./configure for sh-type shells
17097 setenv MAKE gmake; ./configure for csh-type shells
17098 Also please do remember to use gmake in this case every time
17099 you are trying to compile.
17100 " >&2;}
17101 { (exit 1); exit 1; }; }
17102 fi fi
17103 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
17104 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
17105 LN_S=$as_ln_s
17106 if test "$LN_S" = "ln -s"; then
17107 { echo "$as_me:$LINENO: result: yes" >&5
17108 echo "${ECHO_T}yes" >&6; }
17109 else
17110 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
17111 echo "${ECHO_T}no, using $LN_S" >&6; }
17112 fi
17113
17114
17115
17116
17117 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
17118 CXXFLAGS="-qunique $CXXFLAGS"
17119 fi
17120
17121 case "${host}" in
17122 powerpc-*-darwin* )
17123 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
17124 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
17125 cat >conftest.$ac_ext <<_ACEOF
17126 /* confdefs.h. */
17127 _ACEOF
17128 cat confdefs.h >>conftest.$ac_ext
17129 cat >>conftest.$ac_ext <<_ACEOF
17130 /* end confdefs.h. */
17131
17132 int
17133 main ()
17134 {
17135 #ifndef __POWERPC__
17136 choke me for lack of PowerPC
17137 #endif
17138
17139 ;
17140 return 0;
17141 }
17142 _ACEOF
17143 rm -f conftest.$ac_objext
17144 if { (ac_try="$ac_compile"
17145 case "(($ac_try" in
17146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17147 *) ac_try_echo=$ac_try;;
17148 esac
17149 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17150 (eval "$ac_compile") 2>conftest.er1
17151 ac_status=$?
17152 grep -v '^ *+' conftest.er1 >conftest.err
17153 rm -f conftest.er1
17154 cat conftest.err >&5
17155 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17156 (exit $ac_status); } && {
17157 test -z "$ac_c_werror_flag" ||
17158 test ! -s conftest.err
17159 } && test -s conftest.$ac_objext; then
17160 { echo "$as_me:$LINENO: result: yes" >&5
17161 echo "${ECHO_T}yes" >&6; }
17162 else
17163 echo "$as_me: failed program was:" >&5
17164 sed 's/^/| /' conftest.$ac_ext >&5
17165
17166 { echo "$as_me:$LINENO: result: no" >&5
17167 echo "${ECHO_T}no" >&6; }
17168 cat >>confdefs.h <<\_ACEOF
17169 #define __POWERPC__ 1
17170 _ACEOF
17171
17172
17173 fi
17174
17175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17176 ;;
17177 esac
17178
17179 case "${host}" in
17180 *-*-darwin* )
17181 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17182 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17183 cat >conftest.$ac_ext <<_ACEOF
17184 /* confdefs.h. */
17185 _ACEOF
17186 cat confdefs.h >>conftest.$ac_ext
17187 cat >>conftest.$ac_ext <<_ACEOF
17188 /* end confdefs.h. */
17189 #include <CoreFoundation/CFBase.h>
17190
17191 int
17192 main ()
17193 {
17194
17195 ;
17196 return 0;
17197 }
17198 _ACEOF
17199 rm -f conftest.$ac_objext
17200 if { (ac_try="$ac_compile"
17201 case "(($ac_try" in
17202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17203 *) ac_try_echo=$ac_try;;
17204 esac
17205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17206 (eval "$ac_compile") 2>conftest.er1
17207 ac_status=$?
17208 grep -v '^ *+' conftest.er1 >conftest.err
17209 rm -f conftest.er1
17210 cat conftest.err >&5
17211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17212 (exit $ac_status); } && {
17213 test -z "$ac_c_werror_flag" ||
17214 test ! -s conftest.err
17215 } && test -s conftest.$ac_objext; then
17216 { echo "$as_me:$LINENO: result: yes" >&5
17217 echo "${ECHO_T}yes" >&6; }
17218 else
17219 echo "$as_me: failed program was:" >&5
17220 sed 's/^/| /' conftest.$ac_ext >&5
17221
17222 { echo "$as_me:$LINENO: result: no" >&5
17223 echo "${ECHO_T}no" >&6; }
17224 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17225 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17226 cat >conftest.$ac_ext <<_ACEOF
17227 /* confdefs.h. */
17228 _ACEOF
17229 cat confdefs.h >>conftest.$ac_ext
17230 cat >>conftest.$ac_ext <<_ACEOF
17231 /* end confdefs.h. */
17232 #define __CF_USE_FRAMEWORK_INCLUDES__
17233 #include <CoreFoundation/CFBase.h>
17234
17235 int
17236 main ()
17237 {
17238
17239 ;
17240 return 0;
17241 }
17242 _ACEOF
17243 rm -f conftest.$ac_objext
17244 if { (ac_try="$ac_compile"
17245 case "(($ac_try" in
17246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17247 *) ac_try_echo=$ac_try;;
17248 esac
17249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17250 (eval "$ac_compile") 2>conftest.er1
17251 ac_status=$?
17252 grep -v '^ *+' conftest.er1 >conftest.err
17253 rm -f conftest.er1
17254 cat conftest.err >&5
17255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17256 (exit $ac_status); } && {
17257 test -z "$ac_c_werror_flag" ||
17258 test ! -s conftest.err
17259 } && test -s conftest.$ac_objext; then
17260 { echo "$as_me:$LINENO: result: yes" >&5
17261 echo "${ECHO_T}yes" >&6; }
17262 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17263 else
17264 echo "$as_me: failed program was:" >&5
17265 sed 's/^/| /' conftest.$ac_ext >&5
17266
17267 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17268 See \`config.log' for more details." >&5
17269 echo "$as_me: error: no. CoreFoundation not available.
17270 See \`config.log' for more details." >&2;}
17271 { (exit 1); exit 1; }; }
17272
17273 fi
17274
17275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17276
17277
17278 fi
17279
17280 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17281 ;;
17282 esac
17283
17284 wants_win32=0
17285 doesnt_want_win32=0
17286 case "${host}" in
17287 *-*-cygwin*)
17288 if test "$wxUSE_MSW" = 1 ; then
17289 wants_win32=1
17290 else
17291 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17292 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17293 if test "${wx_cv_nocygwin+set}" = set; then
17294 echo $ECHO_N "(cached) $ECHO_C" >&6
17295 else
17296
17297 cat >conftest.$ac_ext <<_ACEOF
17298 /* confdefs.h. */
17299 _ACEOF
17300 cat confdefs.h >>conftest.$ac_ext
17301 cat >>conftest.$ac_ext <<_ACEOF
17302 /* end confdefs.h. */
17303
17304 int
17305 main ()
17306 {
17307
17308 #ifdef __MINGW32__
17309 choke me
17310 #endif
17311
17312 ;
17313 return 0;
17314 }
17315 _ACEOF
17316 rm -f conftest.$ac_objext
17317 if { (ac_try="$ac_compile"
17318 case "(($ac_try" in
17319 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17320 *) ac_try_echo=$ac_try;;
17321 esac
17322 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17323 (eval "$ac_compile") 2>conftest.er1
17324 ac_status=$?
17325 grep -v '^ *+' conftest.er1 >conftest.err
17326 rm -f conftest.er1
17327 cat conftest.err >&5
17328 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17329 (exit $ac_status); } && {
17330 test -z "$ac_c_werror_flag" ||
17331 test ! -s conftest.err
17332 } && test -s conftest.$ac_objext; then
17333 wx_cv_nocygwin=no
17334 else
17335 echo "$as_me: failed program was:" >&5
17336 sed 's/^/| /' conftest.$ac_ext >&5
17337
17338 wx_cv_nocygwin=yes
17339
17340 fi
17341
17342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17343
17344
17345 fi
17346 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17347 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17348
17349 if test "$wx_cv_nocygwin" = "yes"; then
17350 wants_win32=1
17351 else
17352 doesnt_want_win32=1
17353 fi
17354 fi
17355 if test "$wants_win32" = 1 ; then
17356 BAKEFILE_FORCE_PLATFORM=win32
17357 fi
17358 ;;
17359 *-*-mingw*)
17360 wants_win32=1
17361 ;;
17362 esac
17363
17364 if test "$wxUSE_WINE" = "yes"; then
17365 wants_win32=1
17366 LDFLAGS_GUI="-mwindows"
17367 fi
17368
17369 if test "$wants_win32" = 1 ; then
17370 USE_UNIX=0
17371 USE_WIN32=1
17372 cat >>confdefs.h <<\_ACEOF
17373 #define __WIN32__ 1
17374 _ACEOF
17375
17376 cat >>confdefs.h <<\_ACEOF
17377 #define __WIN95__ 1
17378 _ACEOF
17379
17380 cat >>confdefs.h <<\_ACEOF
17381 #define __WINDOWS__ 1
17382 _ACEOF
17383
17384 cat >>confdefs.h <<\_ACEOF
17385 #define __GNUWIN32__ 1
17386 _ACEOF
17387
17388 cat >>confdefs.h <<\_ACEOF
17389 #define STRICT 1
17390 _ACEOF
17391
17392 fi
17393 if test "$doesnt_want_win32" = 1 ; then
17394 USE_UNIX=1
17395 USE_WIN32=0
17396 fi
17397
17398 if test "$USE_UNIX" = 1 ; then
17399 wxUSE_UNIX=yes
17400 cat >>confdefs.h <<\_ACEOF
17401 #define __UNIX__ 1
17402 _ACEOF
17403
17404 fi
17405
17406 case "${host}" in
17407 *-pc-os2_emx | *-pc-os2-emx )
17408 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17409 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17410 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17411 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17412 echo $ECHO_N "(cached) $ECHO_C" >&6
17413 else
17414 ac_check_lib_save_LIBS=$LIBS
17415 LIBS="-lcExt $LIBS"
17416 cat >conftest.$ac_ext <<_ACEOF
17417 /* confdefs.h. */
17418 _ACEOF
17419 cat confdefs.h >>conftest.$ac_ext
17420 cat >>conftest.$ac_ext <<_ACEOF
17421 /* end confdefs.h. */
17422
17423 /* Override any GCC internal prototype to avoid an error.
17424 Use char because int might match the return type of a GCC
17425 builtin and then its argument prototype would still apply. */
17426 #ifdef __cplusplus
17427 extern "C"
17428 #endif
17429 char drand48 ();
17430 int
17431 main ()
17432 {
17433 return drand48 ();
17434 ;
17435 return 0;
17436 }
17437 _ACEOF
17438 rm -f conftest.$ac_objext conftest$ac_exeext
17439 if { (ac_try="$ac_link"
17440 case "(($ac_try" in
17441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17442 *) ac_try_echo=$ac_try;;
17443 esac
17444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17445 (eval "$ac_link") 2>conftest.er1
17446 ac_status=$?
17447 grep -v '^ *+' conftest.er1 >conftest.err
17448 rm -f conftest.er1
17449 cat conftest.err >&5
17450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17451 (exit $ac_status); } && {
17452 test -z "$ac_c_werror_flag" ||
17453 test ! -s conftest.err
17454 } && test -s conftest$ac_exeext &&
17455 $as_test_x conftest$ac_exeext; then
17456 ac_cv_lib_cExt_drand48=yes
17457 else
17458 echo "$as_me: failed program was:" >&5
17459 sed 's/^/| /' conftest.$ac_ext >&5
17460
17461 ac_cv_lib_cExt_drand48=no
17462 fi
17463
17464 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17465 conftest$ac_exeext conftest.$ac_ext
17466 LIBS=$ac_check_lib_save_LIBS
17467 fi
17468 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17469 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17470 if test $ac_cv_lib_cExt_drand48 = yes; then
17471 LIBS="$LIBS -lcExt"
17472 fi
17473
17474 else
17475 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17476 fi
17477 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17478 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17479 if test "${wx_cv_gccversion+set}" = set; then
17480 echo $ECHO_N "(cached) $ECHO_C" >&6
17481 else
17482
17483 if test "$cross_compiling" = yes; then
17484 wx_cv_gccversion="EMX2"
17485
17486 else
17487 cat >conftest.$ac_ext <<_ACEOF
17488 /* confdefs.h. */
17489 _ACEOF
17490 cat confdefs.h >>conftest.$ac_ext
17491 cat >>conftest.$ac_ext <<_ACEOF
17492 /* end confdefs.h. */
17493
17494 #include <stdio.h>
17495
17496 int main()
17497 {
17498 FILE *f=fopen("conftestval", "w");
17499 if (!f) exit(1);
17500 fprintf(f,
17501 #if (__GNUC__ < 3)
17502 "EMX2"
17503 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17504 "EMX3"
17505 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17506 "Innotek5"
17507 #else
17508 "Innotek6"
17509 #endif
17510 );
17511 exit(0);
17512 }
17513
17514 _ACEOF
17515 rm -f conftest$ac_exeext
17516 if { (ac_try="$ac_link"
17517 case "(($ac_try" in
17518 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17519 *) ac_try_echo=$ac_try;;
17520 esac
17521 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17522 (eval "$ac_link") 2>&5
17523 ac_status=$?
17524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17525 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17526 { (case "(($ac_try" in
17527 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17528 *) ac_try_echo=$ac_try;;
17529 esac
17530 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17531 (eval "$ac_try") 2>&5
17532 ac_status=$?
17533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17534 (exit $ac_status); }; }; then
17535 wx_cv_gccversion=`cat conftestval`
17536 else
17537 echo "$as_me: program exited with status $ac_status" >&5
17538 echo "$as_me: failed program was:" >&5
17539 sed 's/^/| /' conftest.$ac_ext >&5
17540
17541 ( exit $ac_status )
17542 wx_cv_gccversion="EMX2"
17543 fi
17544 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17545 fi
17546
17547
17548
17549 fi
17550 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17551 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17552 if test "$wx_cv_gccversion" = "EMX2"; then
17553 LIBS="$LIBS -lstdcpp"
17554 LDFLAGS="$LDFLAGS -Zsysv-signals"
17555 else
17556 if test "$wx_cv_gccversion" = "EMX3"; then
17557 LIBS="$LIBS -lstdcxx -lgcc"
17558 LDFLAGS="$LDFLAGS -Zsysv-signals"
17559 else
17560 LIBS="$LIBS -lstdc++"
17561 fi
17562 fi
17563 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17564 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17565 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17566 wxUSE_OMF=yes
17567 enable_omf=yes
17568 fi
17569 ;;
17570 *)
17571
17572 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17573 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17574 if test "${ac_cv_string_strcasecmp+set}" = set; then
17575 echo $ECHO_N "(cached) $ECHO_C" >&6
17576 else
17577
17578 cat >conftest.$ac_ext <<_ACEOF
17579 /* confdefs.h. */
17580 _ACEOF
17581 cat confdefs.h >>conftest.$ac_ext
17582 cat >>conftest.$ac_ext <<_ACEOF
17583 /* end confdefs.h. */
17584
17585 #include <string.h>
17586
17587 int
17588 main ()
17589 {
17590
17591 strcasecmp("foo", "bar");
17592
17593 ;
17594 return 0;
17595 }
17596 _ACEOF
17597 rm -f conftest.$ac_objext conftest$ac_exeext
17598 if { (ac_try="$ac_link"
17599 case "(($ac_try" in
17600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17601 *) ac_try_echo=$ac_try;;
17602 esac
17603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17604 (eval "$ac_link") 2>conftest.er1
17605 ac_status=$?
17606 grep -v '^ *+' conftest.er1 >conftest.err
17607 rm -f conftest.er1
17608 cat conftest.err >&5
17609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17610 (exit $ac_status); } && {
17611 test -z "$ac_c_werror_flag" ||
17612 test ! -s conftest.err
17613 } && test -s conftest$ac_exeext &&
17614 $as_test_x conftest$ac_exeext; then
17615 ac_cv_string_strcasecmp=yes
17616 else
17617 echo "$as_me: failed program was:" >&5
17618 sed 's/^/| /' conftest.$ac_ext >&5
17619
17620 ac_cv_string_strcasecmp=no
17621
17622 fi
17623
17624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17625 conftest$ac_exeext conftest.$ac_ext
17626
17627 fi
17628 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17629 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17630
17631 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17632 cat >>confdefs.h <<\_ACEOF
17633 #define HAVE_STRCASECMP_IN_STRING_H 1
17634 _ACEOF
17635
17636 else
17637 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17638 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17639 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17640 echo $ECHO_N "(cached) $ECHO_C" >&6
17641 else
17642
17643 cat >conftest.$ac_ext <<_ACEOF
17644 /* confdefs.h. */
17645 _ACEOF
17646 cat confdefs.h >>conftest.$ac_ext
17647 cat >>conftest.$ac_ext <<_ACEOF
17648 /* end confdefs.h. */
17649
17650 #include <strings.h>
17651
17652 int
17653 main ()
17654 {
17655
17656 strcasecmp("foo", "bar");
17657
17658 ;
17659 return 0;
17660 }
17661 _ACEOF
17662 rm -f conftest.$ac_objext conftest$ac_exeext
17663 if { (ac_try="$ac_link"
17664 case "(($ac_try" in
17665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17666 *) ac_try_echo=$ac_try;;
17667 esac
17668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17669 (eval "$ac_link") 2>conftest.er1
17670 ac_status=$?
17671 grep -v '^ *+' conftest.er1 >conftest.err
17672 rm -f conftest.er1
17673 cat conftest.err >&5
17674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17675 (exit $ac_status); } && {
17676 test -z "$ac_c_werror_flag" ||
17677 test ! -s conftest.err
17678 } && test -s conftest$ac_exeext &&
17679 $as_test_x conftest$ac_exeext; then
17680 ac_cv_strings_strcasecmp=yes
17681 else
17682 echo "$as_me: failed program was:" >&5
17683 sed 's/^/| /' conftest.$ac_ext >&5
17684
17685 ac_cv_strings_strcasecmp=no
17686
17687 fi
17688
17689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17690 conftest$ac_exeext conftest.$ac_ext
17691
17692 fi
17693 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17694 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17695
17696 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17697 cat >>confdefs.h <<\_ACEOF
17698 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17699 _ACEOF
17700
17701 else
17702 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17703 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17704 { (exit 1); exit 1; }; }
17705 fi
17706 fi
17707
17708 ;;
17709 esac
17710
17711
17712 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17713 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17714 if test "${ac_cv_header_stdc+set}" = set; then
17715 echo $ECHO_N "(cached) $ECHO_C" >&6
17716 else
17717 cat >conftest.$ac_ext <<_ACEOF
17718 /* confdefs.h. */
17719 _ACEOF
17720 cat confdefs.h >>conftest.$ac_ext
17721 cat >>conftest.$ac_ext <<_ACEOF
17722 /* end confdefs.h. */
17723 #include <stdlib.h>
17724 #include <stdarg.h>
17725 #include <string.h>
17726 #include <float.h>
17727
17728 int
17729 main ()
17730 {
17731
17732 ;
17733 return 0;
17734 }
17735 _ACEOF
17736 rm -f conftest.$ac_objext
17737 if { (ac_try="$ac_compile"
17738 case "(($ac_try" in
17739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17740 *) ac_try_echo=$ac_try;;
17741 esac
17742 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17743 (eval "$ac_compile") 2>conftest.er1
17744 ac_status=$?
17745 grep -v '^ *+' conftest.er1 >conftest.err
17746 rm -f conftest.er1
17747 cat conftest.err >&5
17748 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17749 (exit $ac_status); } && {
17750 test -z "$ac_c_werror_flag" ||
17751 test ! -s conftest.err
17752 } && test -s conftest.$ac_objext; then
17753 ac_cv_header_stdc=yes
17754 else
17755 echo "$as_me: failed program was:" >&5
17756 sed 's/^/| /' conftest.$ac_ext >&5
17757
17758 ac_cv_header_stdc=no
17759 fi
17760
17761 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17762
17763 if test $ac_cv_header_stdc = yes; then
17764 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17765 cat >conftest.$ac_ext <<_ACEOF
17766 /* confdefs.h. */
17767 _ACEOF
17768 cat confdefs.h >>conftest.$ac_ext
17769 cat >>conftest.$ac_ext <<_ACEOF
17770 /* end confdefs.h. */
17771 #include <string.h>
17772
17773 _ACEOF
17774 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17775 $EGREP "memchr" >/dev/null 2>&1; then
17776 :
17777 else
17778 ac_cv_header_stdc=no
17779 fi
17780 rm -f conftest*
17781
17782 fi
17783
17784 if test $ac_cv_header_stdc = yes; then
17785 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17786 cat >conftest.$ac_ext <<_ACEOF
17787 /* confdefs.h. */
17788 _ACEOF
17789 cat confdefs.h >>conftest.$ac_ext
17790 cat >>conftest.$ac_ext <<_ACEOF
17791 /* end confdefs.h. */
17792 #include <stdlib.h>
17793
17794 _ACEOF
17795 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17796 $EGREP "free" >/dev/null 2>&1; then
17797 :
17798 else
17799 ac_cv_header_stdc=no
17800 fi
17801 rm -f conftest*
17802
17803 fi
17804
17805 if test $ac_cv_header_stdc = yes; then
17806 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17807 if test "$cross_compiling" = yes; then
17808 :
17809 else
17810 cat >conftest.$ac_ext <<_ACEOF
17811 /* confdefs.h. */
17812 _ACEOF
17813 cat confdefs.h >>conftest.$ac_ext
17814 cat >>conftest.$ac_ext <<_ACEOF
17815 /* end confdefs.h. */
17816 #include <ctype.h>
17817 #include <stdlib.h>
17818 #if ((' ' & 0x0FF) == 0x020)
17819 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17820 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17821 #else
17822 # define ISLOWER(c) \
17823 (('a' <= (c) && (c) <= 'i') \
17824 || ('j' <= (c) && (c) <= 'r') \
17825 || ('s' <= (c) && (c) <= 'z'))
17826 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17827 #endif
17828
17829 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17830 int
17831 main ()
17832 {
17833 int i;
17834 for (i = 0; i < 256; i++)
17835 if (XOR (islower (i), ISLOWER (i))
17836 || toupper (i) != TOUPPER (i))
17837 return 2;
17838 return 0;
17839 }
17840 _ACEOF
17841 rm -f conftest$ac_exeext
17842 if { (ac_try="$ac_link"
17843 case "(($ac_try" in
17844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17845 *) ac_try_echo=$ac_try;;
17846 esac
17847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17848 (eval "$ac_link") 2>&5
17849 ac_status=$?
17850 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17851 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17852 { (case "(($ac_try" in
17853 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17854 *) ac_try_echo=$ac_try;;
17855 esac
17856 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17857 (eval "$ac_try") 2>&5
17858 ac_status=$?
17859 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17860 (exit $ac_status); }; }; then
17861 :
17862 else
17863 echo "$as_me: program exited with status $ac_status" >&5
17864 echo "$as_me: failed program was:" >&5
17865 sed 's/^/| /' conftest.$ac_ext >&5
17866
17867 ( exit $ac_status )
17868 ac_cv_header_stdc=no
17869 fi
17870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17871 fi
17872
17873
17874 fi
17875 fi
17876 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17877 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17878 if test $ac_cv_header_stdc = yes; then
17879
17880 cat >>confdefs.h <<\_ACEOF
17881 #define STDC_HEADERS 1
17882 _ACEOF
17883
17884 fi
17885
17886 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17887
17888
17889
17890
17891
17892
17893
17894
17895
17896 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17897 inttypes.h stdint.h unistd.h
17898 do
17899 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17900 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17901 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17902 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17903 echo $ECHO_N "(cached) $ECHO_C" >&6
17904 else
17905 cat >conftest.$ac_ext <<_ACEOF
17906 /* confdefs.h. */
17907 _ACEOF
17908 cat confdefs.h >>conftest.$ac_ext
17909 cat >>conftest.$ac_ext <<_ACEOF
17910 /* end confdefs.h. */
17911 $ac_includes_default
17912
17913 #include <$ac_header>
17914 _ACEOF
17915 rm -f conftest.$ac_objext
17916 if { (ac_try="$ac_compile"
17917 case "(($ac_try" in
17918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17919 *) ac_try_echo=$ac_try;;
17920 esac
17921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17922 (eval "$ac_compile") 2>conftest.er1
17923 ac_status=$?
17924 grep -v '^ *+' conftest.er1 >conftest.err
17925 rm -f conftest.er1
17926 cat conftest.err >&5
17927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17928 (exit $ac_status); } && {
17929 test -z "$ac_c_werror_flag" ||
17930 test ! -s conftest.err
17931 } && test -s conftest.$ac_objext; then
17932 eval "$as_ac_Header=yes"
17933 else
17934 echo "$as_me: failed program was:" >&5
17935 sed 's/^/| /' conftest.$ac_ext >&5
17936
17937 eval "$as_ac_Header=no"
17938 fi
17939
17940 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17941 fi
17942 ac_res=`eval echo '${'$as_ac_Header'}'`
17943 { echo "$as_me:$LINENO: result: $ac_res" >&5
17944 echo "${ECHO_T}$ac_res" >&6; }
17945 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17946 cat >>confdefs.h <<_ACEOF
17947 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17948 _ACEOF
17949
17950 fi
17951
17952 done
17953
17954
17955
17956
17957
17958
17959
17960
17961 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17962 do
17963 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17964 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17965 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17966 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17967 echo $ECHO_N "(cached) $ECHO_C" >&6
17968 else
17969 cat >conftest.$ac_ext <<_ACEOF
17970 /* confdefs.h. */
17971 _ACEOF
17972 cat confdefs.h >>conftest.$ac_ext
17973 cat >>conftest.$ac_ext <<_ACEOF
17974 /* end confdefs.h. */
17975 $ac_includes_default
17976
17977 #include <$ac_header>
17978 _ACEOF
17979 rm -f conftest.$ac_objext
17980 if { (ac_try="$ac_compile"
17981 case "(($ac_try" in
17982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17983 *) ac_try_echo=$ac_try;;
17984 esac
17985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17986 (eval "$ac_compile") 2>conftest.er1
17987 ac_status=$?
17988 grep -v '^ *+' conftest.er1 >conftest.err
17989 rm -f conftest.er1
17990 cat conftest.err >&5
17991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17992 (exit $ac_status); } && {
17993 test -z "$ac_c_werror_flag" ||
17994 test ! -s conftest.err
17995 } && test -s conftest.$ac_objext; then
17996 eval "$as_ac_Header=yes"
17997 else
17998 echo "$as_me: failed program was:" >&5
17999 sed 's/^/| /' conftest.$ac_ext >&5
18000
18001 eval "$as_ac_Header=no"
18002 fi
18003
18004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18005 fi
18006 ac_res=`eval echo '${'$as_ac_Header'}'`
18007 { echo "$as_me:$LINENO: result: $ac_res" >&5
18008 echo "${ECHO_T}$ac_res" >&6; }
18009 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18010 cat >>confdefs.h <<_ACEOF
18011 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18012 _ACEOF
18013
18014 fi
18015
18016 done
18017
18018
18019 if test "$ac_cv_header_wchar_h" != "yes"; then
18020 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
18021 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
18022 if test "${ac_cv_header_wcstr_h+set}" = set; then
18023 echo $ECHO_N "(cached) $ECHO_C" >&6
18024 else
18025 cat >conftest.$ac_ext <<_ACEOF
18026 /* confdefs.h. */
18027 _ACEOF
18028 cat confdefs.h >>conftest.$ac_ext
18029 cat >>conftest.$ac_ext <<_ACEOF
18030 /* end confdefs.h. */
18031 $ac_includes_default
18032
18033 #include <wcstr.h>
18034 _ACEOF
18035 rm -f conftest.$ac_objext
18036 if { (ac_try="$ac_compile"
18037 case "(($ac_try" in
18038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18039 *) ac_try_echo=$ac_try;;
18040 esac
18041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18042 (eval "$ac_compile") 2>conftest.er1
18043 ac_status=$?
18044 grep -v '^ *+' conftest.er1 >conftest.err
18045 rm -f conftest.er1
18046 cat conftest.err >&5
18047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18048 (exit $ac_status); } && {
18049 test -z "$ac_c_werror_flag" ||
18050 test ! -s conftest.err
18051 } && test -s conftest.$ac_objext; then
18052 ac_cv_header_wcstr_h=yes
18053 else
18054 echo "$as_me: failed program was:" >&5
18055 sed 's/^/| /' conftest.$ac_ext >&5
18056
18057 ac_cv_header_wcstr_h=no
18058 fi
18059
18060 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18061 fi
18062 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
18063 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
18064
18065
18066 fi
18067
18068 case "${host}" in
18069 *-pc-os2_emx | *-pc-os2-emx )
18070 if test $ac_cv_header_langinfo_h = "yes" \
18071 -a \( "$wx_cv_gccversion" = "EMX2" \
18072 -o "$wx_cv_gccversion" = "EMX3" \
18073 -o "$wx_cv_gccversion" = "Innotek5" \); then
18074 LIBS="$LIBS -lintl"
18075 fi
18076 ;;
18077 esac
18078
18079 if test "$USE_UNIX" = 1 ; then
18080 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
18081 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
18082 if test "${ac_cv_header_sys_select_h+set}" = set; then
18083 echo $ECHO_N "(cached) $ECHO_C" >&6
18084 else
18085 cat >conftest.$ac_ext <<_ACEOF
18086 /* confdefs.h. */
18087 _ACEOF
18088 cat confdefs.h >>conftest.$ac_ext
18089 cat >>conftest.$ac_ext <<_ACEOF
18090 /* end confdefs.h. */
18091 $ac_includes_default
18092
18093 #include <sys/select.h>
18094 _ACEOF
18095 rm -f conftest.$ac_objext
18096 if { (ac_try="$ac_compile"
18097 case "(($ac_try" in
18098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18099 *) ac_try_echo=$ac_try;;
18100 esac
18101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18102 (eval "$ac_compile") 2>conftest.er1
18103 ac_status=$?
18104 grep -v '^ *+' conftest.er1 >conftest.err
18105 rm -f conftest.er1
18106 cat conftest.err >&5
18107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18108 (exit $ac_status); } && {
18109 test -z "$ac_c_werror_flag" ||
18110 test ! -s conftest.err
18111 } && test -s conftest.$ac_objext; then
18112 ac_cv_header_sys_select_h=yes
18113 else
18114 echo "$as_me: failed program was:" >&5
18115 sed 's/^/| /' conftest.$ac_ext >&5
18116
18117 ac_cv_header_sys_select_h=no
18118 fi
18119
18120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18121 fi
18122 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
18123 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
18124
18125
18126 fi
18127
18128
18129 for ac_header in sys/epoll.h
18130 do
18131 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
18132 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18133 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18134 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18135 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18136 echo $ECHO_N "(cached) $ECHO_C" >&6
18137 fi
18138 ac_res=`eval echo '${'$as_ac_Header'}'`
18139 { echo "$as_me:$LINENO: result: $ac_res" >&5
18140 echo "${ECHO_T}$ac_res" >&6; }
18141 else
18142 # Is the header compilable?
18143 { echo "$as_me:$LINENO: checking $ac_header usability" >&5
18144 echo $ECHO_N "checking $ac_header usability... $ECHO_C" >&6; }
18145 cat >conftest.$ac_ext <<_ACEOF
18146 /* confdefs.h. */
18147 _ACEOF
18148 cat confdefs.h >>conftest.$ac_ext
18149 cat >>conftest.$ac_ext <<_ACEOF
18150 /* end confdefs.h. */
18151 $ac_includes_default
18152 #include <$ac_header>
18153 _ACEOF
18154 rm -f conftest.$ac_objext
18155 if { (ac_try="$ac_compile"
18156 case "(($ac_try" in
18157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18158 *) ac_try_echo=$ac_try;;
18159 esac
18160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18161 (eval "$ac_compile") 2>conftest.er1
18162 ac_status=$?
18163 grep -v '^ *+' conftest.er1 >conftest.err
18164 rm -f conftest.er1
18165 cat conftest.err >&5
18166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18167 (exit $ac_status); } && {
18168 test -z "$ac_c_werror_flag" ||
18169 test ! -s conftest.err
18170 } && test -s conftest.$ac_objext; then
18171 ac_header_compiler=yes
18172 else
18173 echo "$as_me: failed program was:" >&5
18174 sed 's/^/| /' conftest.$ac_ext >&5
18175
18176 ac_header_compiler=no
18177 fi
18178
18179 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18180 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
18181 echo "${ECHO_T}$ac_header_compiler" >&6; }
18182
18183 # Is the header present?
18184 { echo "$as_me:$LINENO: checking $ac_header presence" >&5
18185 echo $ECHO_N "checking $ac_header presence... $ECHO_C" >&6; }
18186 cat >conftest.$ac_ext <<_ACEOF
18187 /* confdefs.h. */
18188 _ACEOF
18189 cat confdefs.h >>conftest.$ac_ext
18190 cat >>conftest.$ac_ext <<_ACEOF
18191 /* end confdefs.h. */
18192 #include <$ac_header>
18193 _ACEOF
18194 if { (ac_try="$ac_cpp conftest.$ac_ext"
18195 case "(($ac_try" in
18196 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18197 *) ac_try_echo=$ac_try;;
18198 esac
18199 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18200 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
18201 ac_status=$?
18202 grep -v '^ *+' conftest.er1 >conftest.err
18203 rm -f conftest.er1
18204 cat conftest.err >&5
18205 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18206 (exit $ac_status); } >/dev/null && {
18207 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
18208 test ! -s conftest.err
18209 }; then
18210 ac_header_preproc=yes
18211 else
18212 echo "$as_me: failed program was:" >&5
18213 sed 's/^/| /' conftest.$ac_ext >&5
18214
18215 ac_header_preproc=no
18216 fi
18217
18218 rm -f conftest.err conftest.$ac_ext
18219 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
18220 echo "${ECHO_T}$ac_header_preproc" >&6; }
18221
18222 # So? What about this header?
18223 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
18224 yes:no: )
18225 { echo "$as_me:$LINENO: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&5
18226 echo "$as_me: WARNING: $ac_header: accepted by the compiler, rejected by the preprocessor!" >&2;}
18227 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the compiler's result" >&5
18228 echo "$as_me: WARNING: $ac_header: proceeding with the compiler's result" >&2;}
18229 ac_header_preproc=yes
18230 ;;
18231 no:yes:* )
18232 { echo "$as_me:$LINENO: WARNING: $ac_header: present but cannot be compiled" >&5
18233 echo "$as_me: WARNING: $ac_header: present but cannot be compiled" >&2;}
18234 { echo "$as_me:$LINENO: WARNING: $ac_header: check for missing prerequisite headers?" >&5
18235 echo "$as_me: WARNING: $ac_header: check for missing prerequisite headers?" >&2;}
18236 { echo "$as_me:$LINENO: WARNING: $ac_header: see the Autoconf documentation" >&5
18237 echo "$as_me: WARNING: $ac_header: see the Autoconf documentation" >&2;}
18238 { echo "$as_me:$LINENO: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&5
18239 echo "$as_me: WARNING: $ac_header: section \"Present But Cannot Be Compiled\"" >&2;}
18240 { echo "$as_me:$LINENO: WARNING: $ac_header: proceeding with the preprocessor's result" >&5
18241 echo "$as_me: WARNING: $ac_header: proceeding with the preprocessor's result" >&2;}
18242 { echo "$as_me:$LINENO: WARNING: $ac_header: in the future, the compiler will take precedence" >&5
18243 echo "$as_me: WARNING: $ac_header: in the future, the compiler will take precedence" >&2;}
18244 ( cat <<\_ASBOX
18245 ## ----------------------------------------- ##
18246 ## Report this to wx-dev@lists.wxwidgets.org ##
18247 ## ----------------------------------------- ##
18248 _ASBOX
18249 ) | sed "s/^/$as_me: WARNING: /" >&2
18250 ;;
18251 esac
18252 { echo "$as_me:$LINENO: checking for $ac_header" >&5
18253 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
18254 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
18255 echo $ECHO_N "(cached) $ECHO_C" >&6
18256 else
18257 eval "$as_ac_Header=\$ac_header_preproc"
18258 fi
18259 ac_res=`eval echo '${'$as_ac_Header'}'`
18260 { echo "$as_me:$LINENO: result: $ac_res" >&5
18261 echo "${ECHO_T}$ac_res" >&6; }
18262
18263 fi
18264 if test `eval echo '${'$as_ac_Header'}'` = yes; then
18265 cat >>confdefs.h <<_ACEOF
18266 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
18267 _ACEOF
18268
18269 fi
18270
18271 done
18272
18273
18274
18275 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
18276 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
18277 if test "${ac_cv_c_const+set}" = set; then
18278 echo $ECHO_N "(cached) $ECHO_C" >&6
18279 else
18280 cat >conftest.$ac_ext <<_ACEOF
18281 /* confdefs.h. */
18282 _ACEOF
18283 cat confdefs.h >>conftest.$ac_ext
18284 cat >>conftest.$ac_ext <<_ACEOF
18285 /* end confdefs.h. */
18286
18287 int
18288 main ()
18289 {
18290 /* FIXME: Include the comments suggested by Paul. */
18291 #ifndef __cplusplus
18292 /* Ultrix mips cc rejects this. */
18293 typedef int charset[2];
18294 const charset cs;
18295 /* SunOS 4.1.1 cc rejects this. */
18296 char const *const *pcpcc;
18297 char **ppc;
18298 /* NEC SVR4.0.2 mips cc rejects this. */
18299 struct point {int x, y;};
18300 static struct point const zero = {0,0};
18301 /* AIX XL C 1.02.0.0 rejects this.
18302 It does not let you subtract one const X* pointer from another in
18303 an arm of an if-expression whose if-part is not a constant
18304 expression */
18305 const char *g = "string";
18306 pcpcc = &g + (g ? g-g : 0);
18307 /* HPUX 7.0 cc rejects these. */
18308 ++pcpcc;
18309 ppc = (char**) pcpcc;
18310 pcpcc = (char const *const *) ppc;
18311 { /* SCO 3.2v4 cc rejects this. */
18312 char *t;
18313 char const *s = 0 ? (char *) 0 : (char const *) 0;
18314
18315 *t++ = 0;
18316 if (s) return 0;
18317 }
18318 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
18319 int x[] = {25, 17};
18320 const int *foo = &x[0];
18321 ++foo;
18322 }
18323 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18324 typedef const int *iptr;
18325 iptr p = 0;
18326 ++p;
18327 }
18328 { /* AIX XL C 1.02.0.0 rejects this saying
18329 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18330 struct s { int j; const int *ap[3]; };
18331 struct s *b; b->j = 5;
18332 }
18333 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18334 const int foo = 10;
18335 if (!foo) return 0;
18336 }
18337 return !cs[0] && !zero.x;
18338 #endif
18339
18340 ;
18341 return 0;
18342 }
18343 _ACEOF
18344 rm -f conftest.$ac_objext
18345 if { (ac_try="$ac_compile"
18346 case "(($ac_try" in
18347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18348 *) ac_try_echo=$ac_try;;
18349 esac
18350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18351 (eval "$ac_compile") 2>conftest.er1
18352 ac_status=$?
18353 grep -v '^ *+' conftest.er1 >conftest.err
18354 rm -f conftest.er1
18355 cat conftest.err >&5
18356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18357 (exit $ac_status); } && {
18358 test -z "$ac_c_werror_flag" ||
18359 test ! -s conftest.err
18360 } && test -s conftest.$ac_objext; then
18361 ac_cv_c_const=yes
18362 else
18363 echo "$as_me: failed program was:" >&5
18364 sed 's/^/| /' conftest.$ac_ext >&5
18365
18366 ac_cv_c_const=no
18367 fi
18368
18369 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18370 fi
18371 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18372 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18373 if test $ac_cv_c_const = no; then
18374
18375 cat >>confdefs.h <<\_ACEOF
18376 #define const
18377 _ACEOF
18378
18379 fi
18380
18381 { echo "$as_me:$LINENO: checking for inline" >&5
18382 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18383 if test "${ac_cv_c_inline+set}" = set; then
18384 echo $ECHO_N "(cached) $ECHO_C" >&6
18385 else
18386 ac_cv_c_inline=no
18387 for ac_kw in inline __inline__ __inline; do
18388 cat >conftest.$ac_ext <<_ACEOF
18389 /* confdefs.h. */
18390 _ACEOF
18391 cat confdefs.h >>conftest.$ac_ext
18392 cat >>conftest.$ac_ext <<_ACEOF
18393 /* end confdefs.h. */
18394 #ifndef __cplusplus
18395 typedef int foo_t;
18396 static $ac_kw foo_t static_foo () {return 0; }
18397 $ac_kw foo_t foo () {return 0; }
18398 #endif
18399
18400 _ACEOF
18401 rm -f conftest.$ac_objext
18402 if { (ac_try="$ac_compile"
18403 case "(($ac_try" in
18404 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18405 *) ac_try_echo=$ac_try;;
18406 esac
18407 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18408 (eval "$ac_compile") 2>conftest.er1
18409 ac_status=$?
18410 grep -v '^ *+' conftest.er1 >conftest.err
18411 rm -f conftest.er1
18412 cat conftest.err >&5
18413 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18414 (exit $ac_status); } && {
18415 test -z "$ac_c_werror_flag" ||
18416 test ! -s conftest.err
18417 } && test -s conftest.$ac_objext; then
18418 ac_cv_c_inline=$ac_kw
18419 else
18420 echo "$as_me: failed program was:" >&5
18421 sed 's/^/| /' conftest.$ac_ext >&5
18422
18423
18424 fi
18425
18426 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18427 test "$ac_cv_c_inline" != no && break
18428 done
18429
18430 fi
18431 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18432 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18433
18434
18435 case $ac_cv_c_inline in
18436 inline | yes) ;;
18437 *)
18438 case $ac_cv_c_inline in
18439 no) ac_val=;;
18440 *) ac_val=$ac_cv_c_inline;;
18441 esac
18442 cat >>confdefs.h <<_ACEOF
18443 #ifndef __cplusplus
18444 #define inline $ac_val
18445 #endif
18446 _ACEOF
18447 ;;
18448 esac
18449
18450
18451 { echo "$as_me:$LINENO: checking for short" >&5
18452 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18453 if test "${ac_cv_type_short+set}" = set; then
18454 echo $ECHO_N "(cached) $ECHO_C" >&6
18455 else
18456 cat >conftest.$ac_ext <<_ACEOF
18457 /* confdefs.h. */
18458 _ACEOF
18459 cat confdefs.h >>conftest.$ac_ext
18460 cat >>conftest.$ac_ext <<_ACEOF
18461 /* end confdefs.h. */
18462 $ac_includes_default
18463 typedef short ac__type_new_;
18464 int
18465 main ()
18466 {
18467 if ((ac__type_new_ *) 0)
18468 return 0;
18469 if (sizeof (ac__type_new_))
18470 return 0;
18471 ;
18472 return 0;
18473 }
18474 _ACEOF
18475 rm -f conftest.$ac_objext
18476 if { (ac_try="$ac_compile"
18477 case "(($ac_try" in
18478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18479 *) ac_try_echo=$ac_try;;
18480 esac
18481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18482 (eval "$ac_compile") 2>conftest.er1
18483 ac_status=$?
18484 grep -v '^ *+' conftest.er1 >conftest.err
18485 rm -f conftest.er1
18486 cat conftest.err >&5
18487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18488 (exit $ac_status); } && {
18489 test -z "$ac_c_werror_flag" ||
18490 test ! -s conftest.err
18491 } && test -s conftest.$ac_objext; then
18492 ac_cv_type_short=yes
18493 else
18494 echo "$as_me: failed program was:" >&5
18495 sed 's/^/| /' conftest.$ac_ext >&5
18496
18497 ac_cv_type_short=no
18498 fi
18499
18500 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18501 fi
18502 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18503 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18504
18505 # The cast to long int works around a bug in the HP C Compiler
18506 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18507 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18508 # This bug is HP SR number 8606223364.
18509 { echo "$as_me:$LINENO: checking size of short" >&5
18510 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18511 if test "${ac_cv_sizeof_short+set}" = set; then
18512 echo $ECHO_N "(cached) $ECHO_C" >&6
18513 else
18514 if test "$cross_compiling" = yes; then
18515 # Depending upon the size, compute the lo and hi bounds.
18516 cat >conftest.$ac_ext <<_ACEOF
18517 /* confdefs.h. */
18518 _ACEOF
18519 cat confdefs.h >>conftest.$ac_ext
18520 cat >>conftest.$ac_ext <<_ACEOF
18521 /* end confdefs.h. */
18522 $ac_includes_default
18523 typedef short ac__type_sizeof_;
18524 int
18525 main ()
18526 {
18527 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18528 test_array [0] = 0
18529
18530 ;
18531 return 0;
18532 }
18533 _ACEOF
18534 rm -f conftest.$ac_objext
18535 if { (ac_try="$ac_compile"
18536 case "(($ac_try" in
18537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18538 *) ac_try_echo=$ac_try;;
18539 esac
18540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18541 (eval "$ac_compile") 2>conftest.er1
18542 ac_status=$?
18543 grep -v '^ *+' conftest.er1 >conftest.err
18544 rm -f conftest.er1
18545 cat conftest.err >&5
18546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18547 (exit $ac_status); } && {
18548 test -z "$ac_c_werror_flag" ||
18549 test ! -s conftest.err
18550 } && test -s conftest.$ac_objext; then
18551 ac_lo=0 ac_mid=0
18552 while :; do
18553 cat >conftest.$ac_ext <<_ACEOF
18554 /* confdefs.h. */
18555 _ACEOF
18556 cat confdefs.h >>conftest.$ac_ext
18557 cat >>conftest.$ac_ext <<_ACEOF
18558 /* end confdefs.h. */
18559 $ac_includes_default
18560 typedef short ac__type_sizeof_;
18561 int
18562 main ()
18563 {
18564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18565 test_array [0] = 0
18566
18567 ;
18568 return 0;
18569 }
18570 _ACEOF
18571 rm -f conftest.$ac_objext
18572 if { (ac_try="$ac_compile"
18573 case "(($ac_try" in
18574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18575 *) ac_try_echo=$ac_try;;
18576 esac
18577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18578 (eval "$ac_compile") 2>conftest.er1
18579 ac_status=$?
18580 grep -v '^ *+' conftest.er1 >conftest.err
18581 rm -f conftest.er1
18582 cat conftest.err >&5
18583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18584 (exit $ac_status); } && {
18585 test -z "$ac_c_werror_flag" ||
18586 test ! -s conftest.err
18587 } && test -s conftest.$ac_objext; then
18588 ac_hi=$ac_mid; break
18589 else
18590 echo "$as_me: failed program was:" >&5
18591 sed 's/^/| /' conftest.$ac_ext >&5
18592
18593 ac_lo=`expr $ac_mid + 1`
18594 if test $ac_lo -le $ac_mid; then
18595 ac_lo= ac_hi=
18596 break
18597 fi
18598 ac_mid=`expr 2 '*' $ac_mid + 1`
18599 fi
18600
18601 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18602 done
18603 else
18604 echo "$as_me: failed program was:" >&5
18605 sed 's/^/| /' conftest.$ac_ext >&5
18606
18607 cat >conftest.$ac_ext <<_ACEOF
18608 /* confdefs.h. */
18609 _ACEOF
18610 cat confdefs.h >>conftest.$ac_ext
18611 cat >>conftest.$ac_ext <<_ACEOF
18612 /* end confdefs.h. */
18613 $ac_includes_default
18614 typedef short ac__type_sizeof_;
18615 int
18616 main ()
18617 {
18618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18619 test_array [0] = 0
18620
18621 ;
18622 return 0;
18623 }
18624 _ACEOF
18625 rm -f conftest.$ac_objext
18626 if { (ac_try="$ac_compile"
18627 case "(($ac_try" in
18628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18629 *) ac_try_echo=$ac_try;;
18630 esac
18631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18632 (eval "$ac_compile") 2>conftest.er1
18633 ac_status=$?
18634 grep -v '^ *+' conftest.er1 >conftest.err
18635 rm -f conftest.er1
18636 cat conftest.err >&5
18637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18638 (exit $ac_status); } && {
18639 test -z "$ac_c_werror_flag" ||
18640 test ! -s conftest.err
18641 } && test -s conftest.$ac_objext; then
18642 ac_hi=-1 ac_mid=-1
18643 while :; do
18644 cat >conftest.$ac_ext <<_ACEOF
18645 /* confdefs.h. */
18646 _ACEOF
18647 cat confdefs.h >>conftest.$ac_ext
18648 cat >>conftest.$ac_ext <<_ACEOF
18649 /* end confdefs.h. */
18650 $ac_includes_default
18651 typedef short ac__type_sizeof_;
18652 int
18653 main ()
18654 {
18655 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18656 test_array [0] = 0
18657
18658 ;
18659 return 0;
18660 }
18661 _ACEOF
18662 rm -f conftest.$ac_objext
18663 if { (ac_try="$ac_compile"
18664 case "(($ac_try" in
18665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18666 *) ac_try_echo=$ac_try;;
18667 esac
18668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18669 (eval "$ac_compile") 2>conftest.er1
18670 ac_status=$?
18671 grep -v '^ *+' conftest.er1 >conftest.err
18672 rm -f conftest.er1
18673 cat conftest.err >&5
18674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18675 (exit $ac_status); } && {
18676 test -z "$ac_c_werror_flag" ||
18677 test ! -s conftest.err
18678 } && test -s conftest.$ac_objext; then
18679 ac_lo=$ac_mid; break
18680 else
18681 echo "$as_me: failed program was:" >&5
18682 sed 's/^/| /' conftest.$ac_ext >&5
18683
18684 ac_hi=`expr '(' $ac_mid ')' - 1`
18685 if test $ac_mid -le $ac_hi; then
18686 ac_lo= ac_hi=
18687 break
18688 fi
18689 ac_mid=`expr 2 '*' $ac_mid`
18690 fi
18691
18692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18693 done
18694 else
18695 echo "$as_me: failed program was:" >&5
18696 sed 's/^/| /' conftest.$ac_ext >&5
18697
18698 ac_lo= ac_hi=
18699 fi
18700
18701 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18702 fi
18703
18704 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18705 # Binary search between lo and hi bounds.
18706 while test "x$ac_lo" != "x$ac_hi"; do
18707 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18708 cat >conftest.$ac_ext <<_ACEOF
18709 /* confdefs.h. */
18710 _ACEOF
18711 cat confdefs.h >>conftest.$ac_ext
18712 cat >>conftest.$ac_ext <<_ACEOF
18713 /* end confdefs.h. */
18714 $ac_includes_default
18715 typedef short ac__type_sizeof_;
18716 int
18717 main ()
18718 {
18719 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18720 test_array [0] = 0
18721
18722 ;
18723 return 0;
18724 }
18725 _ACEOF
18726 rm -f conftest.$ac_objext
18727 if { (ac_try="$ac_compile"
18728 case "(($ac_try" in
18729 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18730 *) ac_try_echo=$ac_try;;
18731 esac
18732 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18733 (eval "$ac_compile") 2>conftest.er1
18734 ac_status=$?
18735 grep -v '^ *+' conftest.er1 >conftest.err
18736 rm -f conftest.er1
18737 cat conftest.err >&5
18738 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18739 (exit $ac_status); } && {
18740 test -z "$ac_c_werror_flag" ||
18741 test ! -s conftest.err
18742 } && test -s conftest.$ac_objext; then
18743 ac_hi=$ac_mid
18744 else
18745 echo "$as_me: failed program was:" >&5
18746 sed 's/^/| /' conftest.$ac_ext >&5
18747
18748 ac_lo=`expr '(' $ac_mid ')' + 1`
18749 fi
18750
18751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18752 done
18753 case $ac_lo in
18754 ?*) ac_cv_sizeof_short=$ac_lo;;
18755 '') if test "$ac_cv_type_short" = yes; then
18756 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18757 See \`config.log' for more details." >&5
18758 echo "$as_me: error: cannot compute sizeof (short)
18759 See \`config.log' for more details." >&2;}
18760 { (exit 77); exit 77; }; }
18761 else
18762 ac_cv_sizeof_short=0
18763 fi ;;
18764 esac
18765 else
18766 cat >conftest.$ac_ext <<_ACEOF
18767 /* confdefs.h. */
18768 _ACEOF
18769 cat confdefs.h >>conftest.$ac_ext
18770 cat >>conftest.$ac_ext <<_ACEOF
18771 /* end confdefs.h. */
18772 $ac_includes_default
18773 typedef short ac__type_sizeof_;
18774 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18775 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18776 #include <stdio.h>
18777 #include <stdlib.h>
18778 int
18779 main ()
18780 {
18781
18782 FILE *f = fopen ("conftest.val", "w");
18783 if (! f)
18784 return 1;
18785 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18786 {
18787 long int i = longval ();
18788 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18789 return 1;
18790 fprintf (f, "%ld\n", i);
18791 }
18792 else
18793 {
18794 unsigned long int i = ulongval ();
18795 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18796 return 1;
18797 fprintf (f, "%lu\n", i);
18798 }
18799 return ferror (f) || fclose (f) != 0;
18800
18801 ;
18802 return 0;
18803 }
18804 _ACEOF
18805 rm -f conftest$ac_exeext
18806 if { (ac_try="$ac_link"
18807 case "(($ac_try" in
18808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18809 *) ac_try_echo=$ac_try;;
18810 esac
18811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18812 (eval "$ac_link") 2>&5
18813 ac_status=$?
18814 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18815 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18816 { (case "(($ac_try" in
18817 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18818 *) ac_try_echo=$ac_try;;
18819 esac
18820 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18821 (eval "$ac_try") 2>&5
18822 ac_status=$?
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); }; }; then
18825 ac_cv_sizeof_short=`cat conftest.val`
18826 else
18827 echo "$as_me: program exited with status $ac_status" >&5
18828 echo "$as_me: failed program was:" >&5
18829 sed 's/^/| /' conftest.$ac_ext >&5
18830
18831 ( exit $ac_status )
18832 if test "$ac_cv_type_short" = yes; then
18833 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18834 See \`config.log' for more details." >&5
18835 echo "$as_me: error: cannot compute sizeof (short)
18836 See \`config.log' for more details." >&2;}
18837 { (exit 77); exit 77; }; }
18838 else
18839 ac_cv_sizeof_short=0
18840 fi
18841 fi
18842 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18843 fi
18844 rm -f conftest.val
18845 fi
18846 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18847 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18848
18849
18850
18851 cat >>confdefs.h <<_ACEOF
18852 #define SIZEOF_SHORT $ac_cv_sizeof_short
18853 _ACEOF
18854
18855
18856 { echo "$as_me:$LINENO: checking for void *" >&5
18857 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18858 if test "${ac_cv_type_void_p+set}" = set; then
18859 echo $ECHO_N "(cached) $ECHO_C" >&6
18860 else
18861 cat >conftest.$ac_ext <<_ACEOF
18862 /* confdefs.h. */
18863 _ACEOF
18864 cat confdefs.h >>conftest.$ac_ext
18865 cat >>conftest.$ac_ext <<_ACEOF
18866 /* end confdefs.h. */
18867 $ac_includes_default
18868 typedef void * ac__type_new_;
18869 int
18870 main ()
18871 {
18872 if ((ac__type_new_ *) 0)
18873 return 0;
18874 if (sizeof (ac__type_new_))
18875 return 0;
18876 ;
18877 return 0;
18878 }
18879 _ACEOF
18880 rm -f conftest.$ac_objext
18881 if { (ac_try="$ac_compile"
18882 case "(($ac_try" in
18883 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18884 *) ac_try_echo=$ac_try;;
18885 esac
18886 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18887 (eval "$ac_compile") 2>conftest.er1
18888 ac_status=$?
18889 grep -v '^ *+' conftest.er1 >conftest.err
18890 rm -f conftest.er1
18891 cat conftest.err >&5
18892 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18893 (exit $ac_status); } && {
18894 test -z "$ac_c_werror_flag" ||
18895 test ! -s conftest.err
18896 } && test -s conftest.$ac_objext; then
18897 ac_cv_type_void_p=yes
18898 else
18899 echo "$as_me: failed program was:" >&5
18900 sed 's/^/| /' conftest.$ac_ext >&5
18901
18902 ac_cv_type_void_p=no
18903 fi
18904
18905 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18906 fi
18907 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18908 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18909
18910 # The cast to long int works around a bug in the HP C Compiler
18911 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18912 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18913 # This bug is HP SR number 8606223364.
18914 { echo "$as_me:$LINENO: checking size of void *" >&5
18915 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18916 if test "${ac_cv_sizeof_void_p+set}" = set; then
18917 echo $ECHO_N "(cached) $ECHO_C" >&6
18918 else
18919 if test "$cross_compiling" = yes; then
18920 # Depending upon the size, compute the lo and hi bounds.
18921 cat >conftest.$ac_ext <<_ACEOF
18922 /* confdefs.h. */
18923 _ACEOF
18924 cat confdefs.h >>conftest.$ac_ext
18925 cat >>conftest.$ac_ext <<_ACEOF
18926 /* end confdefs.h. */
18927 $ac_includes_default
18928 typedef void * ac__type_sizeof_;
18929 int
18930 main ()
18931 {
18932 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18933 test_array [0] = 0
18934
18935 ;
18936 return 0;
18937 }
18938 _ACEOF
18939 rm -f conftest.$ac_objext
18940 if { (ac_try="$ac_compile"
18941 case "(($ac_try" in
18942 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18943 *) ac_try_echo=$ac_try;;
18944 esac
18945 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18946 (eval "$ac_compile") 2>conftest.er1
18947 ac_status=$?
18948 grep -v '^ *+' conftest.er1 >conftest.err
18949 rm -f conftest.er1
18950 cat conftest.err >&5
18951 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18952 (exit $ac_status); } && {
18953 test -z "$ac_c_werror_flag" ||
18954 test ! -s conftest.err
18955 } && test -s conftest.$ac_objext; then
18956 ac_lo=0 ac_mid=0
18957 while :; do
18958 cat >conftest.$ac_ext <<_ACEOF
18959 /* confdefs.h. */
18960 _ACEOF
18961 cat confdefs.h >>conftest.$ac_ext
18962 cat >>conftest.$ac_ext <<_ACEOF
18963 /* end confdefs.h. */
18964 $ac_includes_default
18965 typedef void * ac__type_sizeof_;
18966 int
18967 main ()
18968 {
18969 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18970 test_array [0] = 0
18971
18972 ;
18973 return 0;
18974 }
18975 _ACEOF
18976 rm -f conftest.$ac_objext
18977 if { (ac_try="$ac_compile"
18978 case "(($ac_try" in
18979 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18980 *) ac_try_echo=$ac_try;;
18981 esac
18982 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18983 (eval "$ac_compile") 2>conftest.er1
18984 ac_status=$?
18985 grep -v '^ *+' conftest.er1 >conftest.err
18986 rm -f conftest.er1
18987 cat conftest.err >&5
18988 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18989 (exit $ac_status); } && {
18990 test -z "$ac_c_werror_flag" ||
18991 test ! -s conftest.err
18992 } && test -s conftest.$ac_objext; then
18993 ac_hi=$ac_mid; break
18994 else
18995 echo "$as_me: failed program was:" >&5
18996 sed 's/^/| /' conftest.$ac_ext >&5
18997
18998 ac_lo=`expr $ac_mid + 1`
18999 if test $ac_lo -le $ac_mid; then
19000 ac_lo= ac_hi=
19001 break
19002 fi
19003 ac_mid=`expr 2 '*' $ac_mid + 1`
19004 fi
19005
19006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19007 done
19008 else
19009 echo "$as_me: failed program was:" >&5
19010 sed 's/^/| /' conftest.$ac_ext >&5
19011
19012 cat >conftest.$ac_ext <<_ACEOF
19013 /* confdefs.h. */
19014 _ACEOF
19015 cat confdefs.h >>conftest.$ac_ext
19016 cat >>conftest.$ac_ext <<_ACEOF
19017 /* end confdefs.h. */
19018 $ac_includes_default
19019 typedef void * ac__type_sizeof_;
19020 int
19021 main ()
19022 {
19023 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19024 test_array [0] = 0
19025
19026 ;
19027 return 0;
19028 }
19029 _ACEOF
19030 rm -f conftest.$ac_objext
19031 if { (ac_try="$ac_compile"
19032 case "(($ac_try" in
19033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19034 *) ac_try_echo=$ac_try;;
19035 esac
19036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19037 (eval "$ac_compile") 2>conftest.er1
19038 ac_status=$?
19039 grep -v '^ *+' conftest.er1 >conftest.err
19040 rm -f conftest.er1
19041 cat conftest.err >&5
19042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19043 (exit $ac_status); } && {
19044 test -z "$ac_c_werror_flag" ||
19045 test ! -s conftest.err
19046 } && test -s conftest.$ac_objext; then
19047 ac_hi=-1 ac_mid=-1
19048 while :; do
19049 cat >conftest.$ac_ext <<_ACEOF
19050 /* confdefs.h. */
19051 _ACEOF
19052 cat confdefs.h >>conftest.$ac_ext
19053 cat >>conftest.$ac_ext <<_ACEOF
19054 /* end confdefs.h. */
19055 $ac_includes_default
19056 typedef void * ac__type_sizeof_;
19057 int
19058 main ()
19059 {
19060 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19061 test_array [0] = 0
19062
19063 ;
19064 return 0;
19065 }
19066 _ACEOF
19067 rm -f conftest.$ac_objext
19068 if { (ac_try="$ac_compile"
19069 case "(($ac_try" in
19070 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19071 *) ac_try_echo=$ac_try;;
19072 esac
19073 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19074 (eval "$ac_compile") 2>conftest.er1
19075 ac_status=$?
19076 grep -v '^ *+' conftest.er1 >conftest.err
19077 rm -f conftest.er1
19078 cat conftest.err >&5
19079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19080 (exit $ac_status); } && {
19081 test -z "$ac_c_werror_flag" ||
19082 test ! -s conftest.err
19083 } && test -s conftest.$ac_objext; then
19084 ac_lo=$ac_mid; break
19085 else
19086 echo "$as_me: failed program was:" >&5
19087 sed 's/^/| /' conftest.$ac_ext >&5
19088
19089 ac_hi=`expr '(' $ac_mid ')' - 1`
19090 if test $ac_mid -le $ac_hi; then
19091 ac_lo= ac_hi=
19092 break
19093 fi
19094 ac_mid=`expr 2 '*' $ac_mid`
19095 fi
19096
19097 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19098 done
19099 else
19100 echo "$as_me: failed program was:" >&5
19101 sed 's/^/| /' conftest.$ac_ext >&5
19102
19103 ac_lo= ac_hi=
19104 fi
19105
19106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19107 fi
19108
19109 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19110 # Binary search between lo and hi bounds.
19111 while test "x$ac_lo" != "x$ac_hi"; do
19112 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19113 cat >conftest.$ac_ext <<_ACEOF
19114 /* confdefs.h. */
19115 _ACEOF
19116 cat confdefs.h >>conftest.$ac_ext
19117 cat >>conftest.$ac_ext <<_ACEOF
19118 /* end confdefs.h. */
19119 $ac_includes_default
19120 typedef void * ac__type_sizeof_;
19121 int
19122 main ()
19123 {
19124 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19125 test_array [0] = 0
19126
19127 ;
19128 return 0;
19129 }
19130 _ACEOF
19131 rm -f conftest.$ac_objext
19132 if { (ac_try="$ac_compile"
19133 case "(($ac_try" in
19134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19135 *) ac_try_echo=$ac_try;;
19136 esac
19137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19138 (eval "$ac_compile") 2>conftest.er1
19139 ac_status=$?
19140 grep -v '^ *+' conftest.er1 >conftest.err
19141 rm -f conftest.er1
19142 cat conftest.err >&5
19143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19144 (exit $ac_status); } && {
19145 test -z "$ac_c_werror_flag" ||
19146 test ! -s conftest.err
19147 } && test -s conftest.$ac_objext; then
19148 ac_hi=$ac_mid
19149 else
19150 echo "$as_me: failed program was:" >&5
19151 sed 's/^/| /' conftest.$ac_ext >&5
19152
19153 ac_lo=`expr '(' $ac_mid ')' + 1`
19154 fi
19155
19156 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19157 done
19158 case $ac_lo in
19159 ?*) ac_cv_sizeof_void_p=$ac_lo;;
19160 '') if test "$ac_cv_type_void_p" = yes; then
19161 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19162 See \`config.log' for more details." >&5
19163 echo "$as_me: error: cannot compute sizeof (void *)
19164 See \`config.log' for more details." >&2;}
19165 { (exit 77); exit 77; }; }
19166 else
19167 ac_cv_sizeof_void_p=0
19168 fi ;;
19169 esac
19170 else
19171 cat >conftest.$ac_ext <<_ACEOF
19172 /* confdefs.h. */
19173 _ACEOF
19174 cat confdefs.h >>conftest.$ac_ext
19175 cat >>conftest.$ac_ext <<_ACEOF
19176 /* end confdefs.h. */
19177 $ac_includes_default
19178 typedef void * ac__type_sizeof_;
19179 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19180 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19181 #include <stdio.h>
19182 #include <stdlib.h>
19183 int
19184 main ()
19185 {
19186
19187 FILE *f = fopen ("conftest.val", "w");
19188 if (! f)
19189 return 1;
19190 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19191 {
19192 long int i = longval ();
19193 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19194 return 1;
19195 fprintf (f, "%ld\n", i);
19196 }
19197 else
19198 {
19199 unsigned long int i = ulongval ();
19200 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19201 return 1;
19202 fprintf (f, "%lu\n", i);
19203 }
19204 return ferror (f) || fclose (f) != 0;
19205
19206 ;
19207 return 0;
19208 }
19209 _ACEOF
19210 rm -f conftest$ac_exeext
19211 if { (ac_try="$ac_link"
19212 case "(($ac_try" in
19213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19214 *) ac_try_echo=$ac_try;;
19215 esac
19216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19217 (eval "$ac_link") 2>&5
19218 ac_status=$?
19219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19220 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19221 { (case "(($ac_try" in
19222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19223 *) ac_try_echo=$ac_try;;
19224 esac
19225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19226 (eval "$ac_try") 2>&5
19227 ac_status=$?
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); }; }; then
19230 ac_cv_sizeof_void_p=`cat conftest.val`
19231 else
19232 echo "$as_me: program exited with status $ac_status" >&5
19233 echo "$as_me: failed program was:" >&5
19234 sed 's/^/| /' conftest.$ac_ext >&5
19235
19236 ( exit $ac_status )
19237 if test "$ac_cv_type_void_p" = yes; then
19238 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
19239 See \`config.log' for more details." >&5
19240 echo "$as_me: error: cannot compute sizeof (void *)
19241 See \`config.log' for more details." >&2;}
19242 { (exit 77); exit 77; }; }
19243 else
19244 ac_cv_sizeof_void_p=0
19245 fi
19246 fi
19247 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19248 fi
19249 rm -f conftest.val
19250 fi
19251 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
19252 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
19253
19254
19255
19256 cat >>confdefs.h <<_ACEOF
19257 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
19258 _ACEOF
19259
19260
19261 { echo "$as_me:$LINENO: checking for int" >&5
19262 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
19263 if test "${ac_cv_type_int+set}" = set; then
19264 echo $ECHO_N "(cached) $ECHO_C" >&6
19265 else
19266 cat >conftest.$ac_ext <<_ACEOF
19267 /* confdefs.h. */
19268 _ACEOF
19269 cat confdefs.h >>conftest.$ac_ext
19270 cat >>conftest.$ac_ext <<_ACEOF
19271 /* end confdefs.h. */
19272 $ac_includes_default
19273 typedef int ac__type_new_;
19274 int
19275 main ()
19276 {
19277 if ((ac__type_new_ *) 0)
19278 return 0;
19279 if (sizeof (ac__type_new_))
19280 return 0;
19281 ;
19282 return 0;
19283 }
19284 _ACEOF
19285 rm -f conftest.$ac_objext
19286 if { (ac_try="$ac_compile"
19287 case "(($ac_try" in
19288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19289 *) ac_try_echo=$ac_try;;
19290 esac
19291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19292 (eval "$ac_compile") 2>conftest.er1
19293 ac_status=$?
19294 grep -v '^ *+' conftest.er1 >conftest.err
19295 rm -f conftest.er1
19296 cat conftest.err >&5
19297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19298 (exit $ac_status); } && {
19299 test -z "$ac_c_werror_flag" ||
19300 test ! -s conftest.err
19301 } && test -s conftest.$ac_objext; then
19302 ac_cv_type_int=yes
19303 else
19304 echo "$as_me: failed program was:" >&5
19305 sed 's/^/| /' conftest.$ac_ext >&5
19306
19307 ac_cv_type_int=no
19308 fi
19309
19310 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19311 fi
19312 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
19313 echo "${ECHO_T}$ac_cv_type_int" >&6; }
19314
19315 # The cast to long int works around a bug in the HP C Compiler
19316 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19317 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19318 # This bug is HP SR number 8606223364.
19319 { echo "$as_me:$LINENO: checking size of int" >&5
19320 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19321 if test "${ac_cv_sizeof_int+set}" = set; then
19322 echo $ECHO_N "(cached) $ECHO_C" >&6
19323 else
19324 if test "$cross_compiling" = yes; then
19325 # Depending upon the size, compute the lo and hi bounds.
19326 cat >conftest.$ac_ext <<_ACEOF
19327 /* confdefs.h. */
19328 _ACEOF
19329 cat confdefs.h >>conftest.$ac_ext
19330 cat >>conftest.$ac_ext <<_ACEOF
19331 /* end confdefs.h. */
19332 $ac_includes_default
19333 typedef int ac__type_sizeof_;
19334 int
19335 main ()
19336 {
19337 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19338 test_array [0] = 0
19339
19340 ;
19341 return 0;
19342 }
19343 _ACEOF
19344 rm -f conftest.$ac_objext
19345 if { (ac_try="$ac_compile"
19346 case "(($ac_try" in
19347 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19348 *) ac_try_echo=$ac_try;;
19349 esac
19350 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19351 (eval "$ac_compile") 2>conftest.er1
19352 ac_status=$?
19353 grep -v '^ *+' conftest.er1 >conftest.err
19354 rm -f conftest.er1
19355 cat conftest.err >&5
19356 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19357 (exit $ac_status); } && {
19358 test -z "$ac_c_werror_flag" ||
19359 test ! -s conftest.err
19360 } && test -s conftest.$ac_objext; then
19361 ac_lo=0 ac_mid=0
19362 while :; do
19363 cat >conftest.$ac_ext <<_ACEOF
19364 /* confdefs.h. */
19365 _ACEOF
19366 cat confdefs.h >>conftest.$ac_ext
19367 cat >>conftest.$ac_ext <<_ACEOF
19368 /* end confdefs.h. */
19369 $ac_includes_default
19370 typedef int ac__type_sizeof_;
19371 int
19372 main ()
19373 {
19374 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19375 test_array [0] = 0
19376
19377 ;
19378 return 0;
19379 }
19380 _ACEOF
19381 rm -f conftest.$ac_objext
19382 if { (ac_try="$ac_compile"
19383 case "(($ac_try" in
19384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19385 *) ac_try_echo=$ac_try;;
19386 esac
19387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19388 (eval "$ac_compile") 2>conftest.er1
19389 ac_status=$?
19390 grep -v '^ *+' conftest.er1 >conftest.err
19391 rm -f conftest.er1
19392 cat conftest.err >&5
19393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19394 (exit $ac_status); } && {
19395 test -z "$ac_c_werror_flag" ||
19396 test ! -s conftest.err
19397 } && test -s conftest.$ac_objext; then
19398 ac_hi=$ac_mid; break
19399 else
19400 echo "$as_me: failed program was:" >&5
19401 sed 's/^/| /' conftest.$ac_ext >&5
19402
19403 ac_lo=`expr $ac_mid + 1`
19404 if test $ac_lo -le $ac_mid; then
19405 ac_lo= ac_hi=
19406 break
19407 fi
19408 ac_mid=`expr 2 '*' $ac_mid + 1`
19409 fi
19410
19411 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19412 done
19413 else
19414 echo "$as_me: failed program was:" >&5
19415 sed 's/^/| /' conftest.$ac_ext >&5
19416
19417 cat >conftest.$ac_ext <<_ACEOF
19418 /* confdefs.h. */
19419 _ACEOF
19420 cat confdefs.h >>conftest.$ac_ext
19421 cat >>conftest.$ac_ext <<_ACEOF
19422 /* end confdefs.h. */
19423 $ac_includes_default
19424 typedef int ac__type_sizeof_;
19425 int
19426 main ()
19427 {
19428 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19429 test_array [0] = 0
19430
19431 ;
19432 return 0;
19433 }
19434 _ACEOF
19435 rm -f conftest.$ac_objext
19436 if { (ac_try="$ac_compile"
19437 case "(($ac_try" in
19438 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19439 *) ac_try_echo=$ac_try;;
19440 esac
19441 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19442 (eval "$ac_compile") 2>conftest.er1
19443 ac_status=$?
19444 grep -v '^ *+' conftest.er1 >conftest.err
19445 rm -f conftest.er1
19446 cat conftest.err >&5
19447 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19448 (exit $ac_status); } && {
19449 test -z "$ac_c_werror_flag" ||
19450 test ! -s conftest.err
19451 } && test -s conftest.$ac_objext; then
19452 ac_hi=-1 ac_mid=-1
19453 while :; do
19454 cat >conftest.$ac_ext <<_ACEOF
19455 /* confdefs.h. */
19456 _ACEOF
19457 cat confdefs.h >>conftest.$ac_ext
19458 cat >>conftest.$ac_ext <<_ACEOF
19459 /* end confdefs.h. */
19460 $ac_includes_default
19461 typedef int ac__type_sizeof_;
19462 int
19463 main ()
19464 {
19465 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19466 test_array [0] = 0
19467
19468 ;
19469 return 0;
19470 }
19471 _ACEOF
19472 rm -f conftest.$ac_objext
19473 if { (ac_try="$ac_compile"
19474 case "(($ac_try" in
19475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19476 *) ac_try_echo=$ac_try;;
19477 esac
19478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19479 (eval "$ac_compile") 2>conftest.er1
19480 ac_status=$?
19481 grep -v '^ *+' conftest.er1 >conftest.err
19482 rm -f conftest.er1
19483 cat conftest.err >&5
19484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19485 (exit $ac_status); } && {
19486 test -z "$ac_c_werror_flag" ||
19487 test ! -s conftest.err
19488 } && test -s conftest.$ac_objext; then
19489 ac_lo=$ac_mid; break
19490 else
19491 echo "$as_me: failed program was:" >&5
19492 sed 's/^/| /' conftest.$ac_ext >&5
19493
19494 ac_hi=`expr '(' $ac_mid ')' - 1`
19495 if test $ac_mid -le $ac_hi; then
19496 ac_lo= ac_hi=
19497 break
19498 fi
19499 ac_mid=`expr 2 '*' $ac_mid`
19500 fi
19501
19502 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19503 done
19504 else
19505 echo "$as_me: failed program was:" >&5
19506 sed 's/^/| /' conftest.$ac_ext >&5
19507
19508 ac_lo= ac_hi=
19509 fi
19510
19511 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19512 fi
19513
19514 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19515 # Binary search between lo and hi bounds.
19516 while test "x$ac_lo" != "x$ac_hi"; do
19517 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19518 cat >conftest.$ac_ext <<_ACEOF
19519 /* confdefs.h. */
19520 _ACEOF
19521 cat confdefs.h >>conftest.$ac_ext
19522 cat >>conftest.$ac_ext <<_ACEOF
19523 /* end confdefs.h. */
19524 $ac_includes_default
19525 typedef int ac__type_sizeof_;
19526 int
19527 main ()
19528 {
19529 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19530 test_array [0] = 0
19531
19532 ;
19533 return 0;
19534 }
19535 _ACEOF
19536 rm -f conftest.$ac_objext
19537 if { (ac_try="$ac_compile"
19538 case "(($ac_try" in
19539 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19540 *) ac_try_echo=$ac_try;;
19541 esac
19542 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19543 (eval "$ac_compile") 2>conftest.er1
19544 ac_status=$?
19545 grep -v '^ *+' conftest.er1 >conftest.err
19546 rm -f conftest.er1
19547 cat conftest.err >&5
19548 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19549 (exit $ac_status); } && {
19550 test -z "$ac_c_werror_flag" ||
19551 test ! -s conftest.err
19552 } && test -s conftest.$ac_objext; then
19553 ac_hi=$ac_mid
19554 else
19555 echo "$as_me: failed program was:" >&5
19556 sed 's/^/| /' conftest.$ac_ext >&5
19557
19558 ac_lo=`expr '(' $ac_mid ')' + 1`
19559 fi
19560
19561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19562 done
19563 case $ac_lo in
19564 ?*) ac_cv_sizeof_int=$ac_lo;;
19565 '') if test "$ac_cv_type_int" = yes; then
19566 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19567 See \`config.log' for more details." >&5
19568 echo "$as_me: error: cannot compute sizeof (int)
19569 See \`config.log' for more details." >&2;}
19570 { (exit 77); exit 77; }; }
19571 else
19572 ac_cv_sizeof_int=0
19573 fi ;;
19574 esac
19575 else
19576 cat >conftest.$ac_ext <<_ACEOF
19577 /* confdefs.h. */
19578 _ACEOF
19579 cat confdefs.h >>conftest.$ac_ext
19580 cat >>conftest.$ac_ext <<_ACEOF
19581 /* end confdefs.h. */
19582 $ac_includes_default
19583 typedef int ac__type_sizeof_;
19584 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19585 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19586 #include <stdio.h>
19587 #include <stdlib.h>
19588 int
19589 main ()
19590 {
19591
19592 FILE *f = fopen ("conftest.val", "w");
19593 if (! f)
19594 return 1;
19595 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19596 {
19597 long int i = longval ();
19598 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19599 return 1;
19600 fprintf (f, "%ld\n", i);
19601 }
19602 else
19603 {
19604 unsigned long int i = ulongval ();
19605 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19606 return 1;
19607 fprintf (f, "%lu\n", i);
19608 }
19609 return ferror (f) || fclose (f) != 0;
19610
19611 ;
19612 return 0;
19613 }
19614 _ACEOF
19615 rm -f conftest$ac_exeext
19616 if { (ac_try="$ac_link"
19617 case "(($ac_try" in
19618 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19619 *) ac_try_echo=$ac_try;;
19620 esac
19621 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19622 (eval "$ac_link") 2>&5
19623 ac_status=$?
19624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19625 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19626 { (case "(($ac_try" in
19627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19628 *) ac_try_echo=$ac_try;;
19629 esac
19630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19631 (eval "$ac_try") 2>&5
19632 ac_status=$?
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); }; }; then
19635 ac_cv_sizeof_int=`cat conftest.val`
19636 else
19637 echo "$as_me: program exited with status $ac_status" >&5
19638 echo "$as_me: failed program was:" >&5
19639 sed 's/^/| /' conftest.$ac_ext >&5
19640
19641 ( exit $ac_status )
19642 if test "$ac_cv_type_int" = yes; then
19643 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19644 See \`config.log' for more details." >&5
19645 echo "$as_me: error: cannot compute sizeof (int)
19646 See \`config.log' for more details." >&2;}
19647 { (exit 77); exit 77; }; }
19648 else
19649 ac_cv_sizeof_int=0
19650 fi
19651 fi
19652 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19653 fi
19654 rm -f conftest.val
19655 fi
19656 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19657 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19658
19659
19660
19661 cat >>confdefs.h <<_ACEOF
19662 #define SIZEOF_INT $ac_cv_sizeof_int
19663 _ACEOF
19664
19665
19666 { echo "$as_me:$LINENO: checking for long" >&5
19667 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19668 if test "${ac_cv_type_long+set}" = set; then
19669 echo $ECHO_N "(cached) $ECHO_C" >&6
19670 else
19671 cat >conftest.$ac_ext <<_ACEOF
19672 /* confdefs.h. */
19673 _ACEOF
19674 cat confdefs.h >>conftest.$ac_ext
19675 cat >>conftest.$ac_ext <<_ACEOF
19676 /* end confdefs.h. */
19677 $ac_includes_default
19678 typedef long ac__type_new_;
19679 int
19680 main ()
19681 {
19682 if ((ac__type_new_ *) 0)
19683 return 0;
19684 if (sizeof (ac__type_new_))
19685 return 0;
19686 ;
19687 return 0;
19688 }
19689 _ACEOF
19690 rm -f conftest.$ac_objext
19691 if { (ac_try="$ac_compile"
19692 case "(($ac_try" in
19693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19694 *) ac_try_echo=$ac_try;;
19695 esac
19696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19697 (eval "$ac_compile") 2>conftest.er1
19698 ac_status=$?
19699 grep -v '^ *+' conftest.er1 >conftest.err
19700 rm -f conftest.er1
19701 cat conftest.err >&5
19702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19703 (exit $ac_status); } && {
19704 test -z "$ac_c_werror_flag" ||
19705 test ! -s conftest.err
19706 } && test -s conftest.$ac_objext; then
19707 ac_cv_type_long=yes
19708 else
19709 echo "$as_me: failed program was:" >&5
19710 sed 's/^/| /' conftest.$ac_ext >&5
19711
19712 ac_cv_type_long=no
19713 fi
19714
19715 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19716 fi
19717 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19718 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19719
19720 # The cast to long int works around a bug in the HP C Compiler
19721 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19722 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19723 # This bug is HP SR number 8606223364.
19724 { echo "$as_me:$LINENO: checking size of long" >&5
19725 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19726 if test "${ac_cv_sizeof_long+set}" = set; then
19727 echo $ECHO_N "(cached) $ECHO_C" >&6
19728 else
19729 if test "$cross_compiling" = yes; then
19730 # Depending upon the size, compute the lo and hi bounds.
19731 cat >conftest.$ac_ext <<_ACEOF
19732 /* confdefs.h. */
19733 _ACEOF
19734 cat confdefs.h >>conftest.$ac_ext
19735 cat >>conftest.$ac_ext <<_ACEOF
19736 /* end confdefs.h. */
19737 $ac_includes_default
19738 typedef long ac__type_sizeof_;
19739 int
19740 main ()
19741 {
19742 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19743 test_array [0] = 0
19744
19745 ;
19746 return 0;
19747 }
19748 _ACEOF
19749 rm -f conftest.$ac_objext
19750 if { (ac_try="$ac_compile"
19751 case "(($ac_try" in
19752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19753 *) ac_try_echo=$ac_try;;
19754 esac
19755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19756 (eval "$ac_compile") 2>conftest.er1
19757 ac_status=$?
19758 grep -v '^ *+' conftest.er1 >conftest.err
19759 rm -f conftest.er1
19760 cat conftest.err >&5
19761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19762 (exit $ac_status); } && {
19763 test -z "$ac_c_werror_flag" ||
19764 test ! -s conftest.err
19765 } && test -s conftest.$ac_objext; then
19766 ac_lo=0 ac_mid=0
19767 while :; do
19768 cat >conftest.$ac_ext <<_ACEOF
19769 /* confdefs.h. */
19770 _ACEOF
19771 cat confdefs.h >>conftest.$ac_ext
19772 cat >>conftest.$ac_ext <<_ACEOF
19773 /* end confdefs.h. */
19774 $ac_includes_default
19775 typedef long ac__type_sizeof_;
19776 int
19777 main ()
19778 {
19779 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19780 test_array [0] = 0
19781
19782 ;
19783 return 0;
19784 }
19785 _ACEOF
19786 rm -f conftest.$ac_objext
19787 if { (ac_try="$ac_compile"
19788 case "(($ac_try" in
19789 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19790 *) ac_try_echo=$ac_try;;
19791 esac
19792 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19793 (eval "$ac_compile") 2>conftest.er1
19794 ac_status=$?
19795 grep -v '^ *+' conftest.er1 >conftest.err
19796 rm -f conftest.er1
19797 cat conftest.err >&5
19798 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19799 (exit $ac_status); } && {
19800 test -z "$ac_c_werror_flag" ||
19801 test ! -s conftest.err
19802 } && test -s conftest.$ac_objext; then
19803 ac_hi=$ac_mid; break
19804 else
19805 echo "$as_me: failed program was:" >&5
19806 sed 's/^/| /' conftest.$ac_ext >&5
19807
19808 ac_lo=`expr $ac_mid + 1`
19809 if test $ac_lo -le $ac_mid; then
19810 ac_lo= ac_hi=
19811 break
19812 fi
19813 ac_mid=`expr 2 '*' $ac_mid + 1`
19814 fi
19815
19816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19817 done
19818 else
19819 echo "$as_me: failed program was:" >&5
19820 sed 's/^/| /' conftest.$ac_ext >&5
19821
19822 cat >conftest.$ac_ext <<_ACEOF
19823 /* confdefs.h. */
19824 _ACEOF
19825 cat confdefs.h >>conftest.$ac_ext
19826 cat >>conftest.$ac_ext <<_ACEOF
19827 /* end confdefs.h. */
19828 $ac_includes_default
19829 typedef long ac__type_sizeof_;
19830 int
19831 main ()
19832 {
19833 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19834 test_array [0] = 0
19835
19836 ;
19837 return 0;
19838 }
19839 _ACEOF
19840 rm -f conftest.$ac_objext
19841 if { (ac_try="$ac_compile"
19842 case "(($ac_try" in
19843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19844 *) ac_try_echo=$ac_try;;
19845 esac
19846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19847 (eval "$ac_compile") 2>conftest.er1
19848 ac_status=$?
19849 grep -v '^ *+' conftest.er1 >conftest.err
19850 rm -f conftest.er1
19851 cat conftest.err >&5
19852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19853 (exit $ac_status); } && {
19854 test -z "$ac_c_werror_flag" ||
19855 test ! -s conftest.err
19856 } && test -s conftest.$ac_objext; then
19857 ac_hi=-1 ac_mid=-1
19858 while :; do
19859 cat >conftest.$ac_ext <<_ACEOF
19860 /* confdefs.h. */
19861 _ACEOF
19862 cat confdefs.h >>conftest.$ac_ext
19863 cat >>conftest.$ac_ext <<_ACEOF
19864 /* end confdefs.h. */
19865 $ac_includes_default
19866 typedef long ac__type_sizeof_;
19867 int
19868 main ()
19869 {
19870 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19871 test_array [0] = 0
19872
19873 ;
19874 return 0;
19875 }
19876 _ACEOF
19877 rm -f conftest.$ac_objext
19878 if { (ac_try="$ac_compile"
19879 case "(($ac_try" in
19880 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19881 *) ac_try_echo=$ac_try;;
19882 esac
19883 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19884 (eval "$ac_compile") 2>conftest.er1
19885 ac_status=$?
19886 grep -v '^ *+' conftest.er1 >conftest.err
19887 rm -f conftest.er1
19888 cat conftest.err >&5
19889 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19890 (exit $ac_status); } && {
19891 test -z "$ac_c_werror_flag" ||
19892 test ! -s conftest.err
19893 } && test -s conftest.$ac_objext; then
19894 ac_lo=$ac_mid; break
19895 else
19896 echo "$as_me: failed program was:" >&5
19897 sed 's/^/| /' conftest.$ac_ext >&5
19898
19899 ac_hi=`expr '(' $ac_mid ')' - 1`
19900 if test $ac_mid -le $ac_hi; then
19901 ac_lo= ac_hi=
19902 break
19903 fi
19904 ac_mid=`expr 2 '*' $ac_mid`
19905 fi
19906
19907 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19908 done
19909 else
19910 echo "$as_me: failed program was:" >&5
19911 sed 's/^/| /' conftest.$ac_ext >&5
19912
19913 ac_lo= ac_hi=
19914 fi
19915
19916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19917 fi
19918
19919 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19920 # Binary search between lo and hi bounds.
19921 while test "x$ac_lo" != "x$ac_hi"; do
19922 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19923 cat >conftest.$ac_ext <<_ACEOF
19924 /* confdefs.h. */
19925 _ACEOF
19926 cat confdefs.h >>conftest.$ac_ext
19927 cat >>conftest.$ac_ext <<_ACEOF
19928 /* end confdefs.h. */
19929 $ac_includes_default
19930 typedef long ac__type_sizeof_;
19931 int
19932 main ()
19933 {
19934 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19935 test_array [0] = 0
19936
19937 ;
19938 return 0;
19939 }
19940 _ACEOF
19941 rm -f conftest.$ac_objext
19942 if { (ac_try="$ac_compile"
19943 case "(($ac_try" in
19944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19945 *) ac_try_echo=$ac_try;;
19946 esac
19947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19948 (eval "$ac_compile") 2>conftest.er1
19949 ac_status=$?
19950 grep -v '^ *+' conftest.er1 >conftest.err
19951 rm -f conftest.er1
19952 cat conftest.err >&5
19953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19954 (exit $ac_status); } && {
19955 test -z "$ac_c_werror_flag" ||
19956 test ! -s conftest.err
19957 } && test -s conftest.$ac_objext; then
19958 ac_hi=$ac_mid
19959 else
19960 echo "$as_me: failed program was:" >&5
19961 sed 's/^/| /' conftest.$ac_ext >&5
19962
19963 ac_lo=`expr '(' $ac_mid ')' + 1`
19964 fi
19965
19966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19967 done
19968 case $ac_lo in
19969 ?*) ac_cv_sizeof_long=$ac_lo;;
19970 '') if test "$ac_cv_type_long" = yes; then
19971 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19972 See \`config.log' for more details." >&5
19973 echo "$as_me: error: cannot compute sizeof (long)
19974 See \`config.log' for more details." >&2;}
19975 { (exit 77); exit 77; }; }
19976 else
19977 ac_cv_sizeof_long=0
19978 fi ;;
19979 esac
19980 else
19981 cat >conftest.$ac_ext <<_ACEOF
19982 /* confdefs.h. */
19983 _ACEOF
19984 cat confdefs.h >>conftest.$ac_ext
19985 cat >>conftest.$ac_ext <<_ACEOF
19986 /* end confdefs.h. */
19987 $ac_includes_default
19988 typedef long ac__type_sizeof_;
19989 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19990 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19991 #include <stdio.h>
19992 #include <stdlib.h>
19993 int
19994 main ()
19995 {
19996
19997 FILE *f = fopen ("conftest.val", "w");
19998 if (! f)
19999 return 1;
20000 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20001 {
20002 long int i = longval ();
20003 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20004 return 1;
20005 fprintf (f, "%ld\n", i);
20006 }
20007 else
20008 {
20009 unsigned long int i = ulongval ();
20010 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20011 return 1;
20012 fprintf (f, "%lu\n", i);
20013 }
20014 return ferror (f) || fclose (f) != 0;
20015
20016 ;
20017 return 0;
20018 }
20019 _ACEOF
20020 rm -f conftest$ac_exeext
20021 if { (ac_try="$ac_link"
20022 case "(($ac_try" in
20023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20024 *) ac_try_echo=$ac_try;;
20025 esac
20026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20027 (eval "$ac_link") 2>&5
20028 ac_status=$?
20029 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20030 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20031 { (case "(($ac_try" in
20032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20033 *) ac_try_echo=$ac_try;;
20034 esac
20035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20036 (eval "$ac_try") 2>&5
20037 ac_status=$?
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); }; }; then
20040 ac_cv_sizeof_long=`cat conftest.val`
20041 else
20042 echo "$as_me: program exited with status $ac_status" >&5
20043 echo "$as_me: failed program was:" >&5
20044 sed 's/^/| /' conftest.$ac_ext >&5
20045
20046 ( exit $ac_status )
20047 if test "$ac_cv_type_long" = yes; then
20048 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
20049 See \`config.log' for more details." >&5
20050 echo "$as_me: error: cannot compute sizeof (long)
20051 See \`config.log' for more details." >&2;}
20052 { (exit 77); exit 77; }; }
20053 else
20054 ac_cv_sizeof_long=0
20055 fi
20056 fi
20057 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20058 fi
20059 rm -f conftest.val
20060 fi
20061 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
20062 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
20063
20064
20065
20066 cat >>confdefs.h <<_ACEOF
20067 #define SIZEOF_LONG $ac_cv_sizeof_long
20068 _ACEOF
20069
20070
20071 { echo "$as_me:$LINENO: checking for size_t" >&5
20072 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
20073 if test "${ac_cv_type_size_t+set}" = set; then
20074 echo $ECHO_N "(cached) $ECHO_C" >&6
20075 else
20076 cat >conftest.$ac_ext <<_ACEOF
20077 /* confdefs.h. */
20078 _ACEOF
20079 cat confdefs.h >>conftest.$ac_ext
20080 cat >>conftest.$ac_ext <<_ACEOF
20081 /* end confdefs.h. */
20082 $ac_includes_default
20083 typedef size_t ac__type_new_;
20084 int
20085 main ()
20086 {
20087 if ((ac__type_new_ *) 0)
20088 return 0;
20089 if (sizeof (ac__type_new_))
20090 return 0;
20091 ;
20092 return 0;
20093 }
20094 _ACEOF
20095 rm -f conftest.$ac_objext
20096 if { (ac_try="$ac_compile"
20097 case "(($ac_try" in
20098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20099 *) ac_try_echo=$ac_try;;
20100 esac
20101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20102 (eval "$ac_compile") 2>conftest.er1
20103 ac_status=$?
20104 grep -v '^ *+' conftest.er1 >conftest.err
20105 rm -f conftest.er1
20106 cat conftest.err >&5
20107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20108 (exit $ac_status); } && {
20109 test -z "$ac_c_werror_flag" ||
20110 test ! -s conftest.err
20111 } && test -s conftest.$ac_objext; then
20112 ac_cv_type_size_t=yes
20113 else
20114 echo "$as_me: failed program was:" >&5
20115 sed 's/^/| /' conftest.$ac_ext >&5
20116
20117 ac_cv_type_size_t=no
20118 fi
20119
20120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20121 fi
20122 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
20123 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
20124
20125 # The cast to long int works around a bug in the HP C Compiler
20126 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20127 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20128 # This bug is HP SR number 8606223364.
20129 { echo "$as_me:$LINENO: checking size of size_t" >&5
20130 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
20131 if test "${ac_cv_sizeof_size_t+set}" = set; then
20132 echo $ECHO_N "(cached) $ECHO_C" >&6
20133 else
20134 if test "$cross_compiling" = yes; then
20135 # Depending upon the size, compute the lo and hi bounds.
20136 cat >conftest.$ac_ext <<_ACEOF
20137 /* confdefs.h. */
20138 _ACEOF
20139 cat confdefs.h >>conftest.$ac_ext
20140 cat >>conftest.$ac_ext <<_ACEOF
20141 /* end confdefs.h. */
20142 $ac_includes_default
20143 typedef size_t ac__type_sizeof_;
20144 int
20145 main ()
20146 {
20147 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20148 test_array [0] = 0
20149
20150 ;
20151 return 0;
20152 }
20153 _ACEOF
20154 rm -f conftest.$ac_objext
20155 if { (ac_try="$ac_compile"
20156 case "(($ac_try" in
20157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20158 *) ac_try_echo=$ac_try;;
20159 esac
20160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20161 (eval "$ac_compile") 2>conftest.er1
20162 ac_status=$?
20163 grep -v '^ *+' conftest.er1 >conftest.err
20164 rm -f conftest.er1
20165 cat conftest.err >&5
20166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20167 (exit $ac_status); } && {
20168 test -z "$ac_c_werror_flag" ||
20169 test ! -s conftest.err
20170 } && test -s conftest.$ac_objext; then
20171 ac_lo=0 ac_mid=0
20172 while :; do
20173 cat >conftest.$ac_ext <<_ACEOF
20174 /* confdefs.h. */
20175 _ACEOF
20176 cat confdefs.h >>conftest.$ac_ext
20177 cat >>conftest.$ac_ext <<_ACEOF
20178 /* end confdefs.h. */
20179 $ac_includes_default
20180 typedef size_t ac__type_sizeof_;
20181 int
20182 main ()
20183 {
20184 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20185 test_array [0] = 0
20186
20187 ;
20188 return 0;
20189 }
20190 _ACEOF
20191 rm -f conftest.$ac_objext
20192 if { (ac_try="$ac_compile"
20193 case "(($ac_try" in
20194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20195 *) ac_try_echo=$ac_try;;
20196 esac
20197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20198 (eval "$ac_compile") 2>conftest.er1
20199 ac_status=$?
20200 grep -v '^ *+' conftest.er1 >conftest.err
20201 rm -f conftest.er1
20202 cat conftest.err >&5
20203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20204 (exit $ac_status); } && {
20205 test -z "$ac_c_werror_flag" ||
20206 test ! -s conftest.err
20207 } && test -s conftest.$ac_objext; then
20208 ac_hi=$ac_mid; break
20209 else
20210 echo "$as_me: failed program was:" >&5
20211 sed 's/^/| /' conftest.$ac_ext >&5
20212
20213 ac_lo=`expr $ac_mid + 1`
20214 if test $ac_lo -le $ac_mid; then
20215 ac_lo= ac_hi=
20216 break
20217 fi
20218 ac_mid=`expr 2 '*' $ac_mid + 1`
20219 fi
20220
20221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20222 done
20223 else
20224 echo "$as_me: failed program was:" >&5
20225 sed 's/^/| /' conftest.$ac_ext >&5
20226
20227 cat >conftest.$ac_ext <<_ACEOF
20228 /* confdefs.h. */
20229 _ACEOF
20230 cat confdefs.h >>conftest.$ac_ext
20231 cat >>conftest.$ac_ext <<_ACEOF
20232 /* end confdefs.h. */
20233 $ac_includes_default
20234 typedef size_t ac__type_sizeof_;
20235 int
20236 main ()
20237 {
20238 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20239 test_array [0] = 0
20240
20241 ;
20242 return 0;
20243 }
20244 _ACEOF
20245 rm -f conftest.$ac_objext
20246 if { (ac_try="$ac_compile"
20247 case "(($ac_try" in
20248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20249 *) ac_try_echo=$ac_try;;
20250 esac
20251 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20252 (eval "$ac_compile") 2>conftest.er1
20253 ac_status=$?
20254 grep -v '^ *+' conftest.er1 >conftest.err
20255 rm -f conftest.er1
20256 cat conftest.err >&5
20257 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20258 (exit $ac_status); } && {
20259 test -z "$ac_c_werror_flag" ||
20260 test ! -s conftest.err
20261 } && test -s conftest.$ac_objext; then
20262 ac_hi=-1 ac_mid=-1
20263 while :; do
20264 cat >conftest.$ac_ext <<_ACEOF
20265 /* confdefs.h. */
20266 _ACEOF
20267 cat confdefs.h >>conftest.$ac_ext
20268 cat >>conftest.$ac_ext <<_ACEOF
20269 /* end confdefs.h. */
20270 $ac_includes_default
20271 typedef size_t ac__type_sizeof_;
20272 int
20273 main ()
20274 {
20275 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20276 test_array [0] = 0
20277
20278 ;
20279 return 0;
20280 }
20281 _ACEOF
20282 rm -f conftest.$ac_objext
20283 if { (ac_try="$ac_compile"
20284 case "(($ac_try" in
20285 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20286 *) ac_try_echo=$ac_try;;
20287 esac
20288 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20289 (eval "$ac_compile") 2>conftest.er1
20290 ac_status=$?
20291 grep -v '^ *+' conftest.er1 >conftest.err
20292 rm -f conftest.er1
20293 cat conftest.err >&5
20294 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20295 (exit $ac_status); } && {
20296 test -z "$ac_c_werror_flag" ||
20297 test ! -s conftest.err
20298 } && test -s conftest.$ac_objext; then
20299 ac_lo=$ac_mid; break
20300 else
20301 echo "$as_me: failed program was:" >&5
20302 sed 's/^/| /' conftest.$ac_ext >&5
20303
20304 ac_hi=`expr '(' $ac_mid ')' - 1`
20305 if test $ac_mid -le $ac_hi; then
20306 ac_lo= ac_hi=
20307 break
20308 fi
20309 ac_mid=`expr 2 '*' $ac_mid`
20310 fi
20311
20312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20313 done
20314 else
20315 echo "$as_me: failed program was:" >&5
20316 sed 's/^/| /' conftest.$ac_ext >&5
20317
20318 ac_lo= ac_hi=
20319 fi
20320
20321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20322 fi
20323
20324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20325 # Binary search between lo and hi bounds.
20326 while test "x$ac_lo" != "x$ac_hi"; do
20327 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20328 cat >conftest.$ac_ext <<_ACEOF
20329 /* confdefs.h. */
20330 _ACEOF
20331 cat confdefs.h >>conftest.$ac_ext
20332 cat >>conftest.$ac_ext <<_ACEOF
20333 /* end confdefs.h. */
20334 $ac_includes_default
20335 typedef size_t ac__type_sizeof_;
20336 int
20337 main ()
20338 {
20339 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20340 test_array [0] = 0
20341
20342 ;
20343 return 0;
20344 }
20345 _ACEOF
20346 rm -f conftest.$ac_objext
20347 if { (ac_try="$ac_compile"
20348 case "(($ac_try" in
20349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20350 *) ac_try_echo=$ac_try;;
20351 esac
20352 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20353 (eval "$ac_compile") 2>conftest.er1
20354 ac_status=$?
20355 grep -v '^ *+' conftest.er1 >conftest.err
20356 rm -f conftest.er1
20357 cat conftest.err >&5
20358 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20359 (exit $ac_status); } && {
20360 test -z "$ac_c_werror_flag" ||
20361 test ! -s conftest.err
20362 } && test -s conftest.$ac_objext; then
20363 ac_hi=$ac_mid
20364 else
20365 echo "$as_me: failed program was:" >&5
20366 sed 's/^/| /' conftest.$ac_ext >&5
20367
20368 ac_lo=`expr '(' $ac_mid ')' + 1`
20369 fi
20370
20371 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20372 done
20373 case $ac_lo in
20374 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20375 '') if test "$ac_cv_type_size_t" = yes; then
20376 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20377 See \`config.log' for more details." >&5
20378 echo "$as_me: error: cannot compute sizeof (size_t)
20379 See \`config.log' for more details." >&2;}
20380 { (exit 77); exit 77; }; }
20381 else
20382 ac_cv_sizeof_size_t=0
20383 fi ;;
20384 esac
20385 else
20386 cat >conftest.$ac_ext <<_ACEOF
20387 /* confdefs.h. */
20388 _ACEOF
20389 cat confdefs.h >>conftest.$ac_ext
20390 cat >>conftest.$ac_ext <<_ACEOF
20391 /* end confdefs.h. */
20392 $ac_includes_default
20393 typedef size_t ac__type_sizeof_;
20394 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20395 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20396 #include <stdio.h>
20397 #include <stdlib.h>
20398 int
20399 main ()
20400 {
20401
20402 FILE *f = fopen ("conftest.val", "w");
20403 if (! f)
20404 return 1;
20405 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20406 {
20407 long int i = longval ();
20408 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20409 return 1;
20410 fprintf (f, "%ld\n", i);
20411 }
20412 else
20413 {
20414 unsigned long int i = ulongval ();
20415 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20416 return 1;
20417 fprintf (f, "%lu\n", i);
20418 }
20419 return ferror (f) || fclose (f) != 0;
20420
20421 ;
20422 return 0;
20423 }
20424 _ACEOF
20425 rm -f conftest$ac_exeext
20426 if { (ac_try="$ac_link"
20427 case "(($ac_try" in
20428 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20429 *) ac_try_echo=$ac_try;;
20430 esac
20431 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20432 (eval "$ac_link") 2>&5
20433 ac_status=$?
20434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20435 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20436 { (case "(($ac_try" in
20437 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20438 *) ac_try_echo=$ac_try;;
20439 esac
20440 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20441 (eval "$ac_try") 2>&5
20442 ac_status=$?
20443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20444 (exit $ac_status); }; }; then
20445 ac_cv_sizeof_size_t=`cat conftest.val`
20446 else
20447 echo "$as_me: program exited with status $ac_status" >&5
20448 echo "$as_me: failed program was:" >&5
20449 sed 's/^/| /' conftest.$ac_ext >&5
20450
20451 ( exit $ac_status )
20452 if test "$ac_cv_type_size_t" = yes; then
20453 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20454 See \`config.log' for more details." >&5
20455 echo "$as_me: error: cannot compute sizeof (size_t)
20456 See \`config.log' for more details." >&2;}
20457 { (exit 77); exit 77; }; }
20458 else
20459 ac_cv_sizeof_size_t=0
20460 fi
20461 fi
20462 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20463 fi
20464 rm -f conftest.val
20465 fi
20466 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20467 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20468
20469
20470
20471 cat >>confdefs.h <<_ACEOF
20472 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20473 _ACEOF
20474
20475
20476
20477 case "${host}" in
20478 arm-*-linux* )
20479 { echo "$as_me:$LINENO: checking for long long" >&5
20480 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20481 if test "${ac_cv_type_long_long+set}" = set; then
20482 echo $ECHO_N "(cached) $ECHO_C" >&6
20483 else
20484 cat >conftest.$ac_ext <<_ACEOF
20485 /* confdefs.h. */
20486 _ACEOF
20487 cat confdefs.h >>conftest.$ac_ext
20488 cat >>conftest.$ac_ext <<_ACEOF
20489 /* end confdefs.h. */
20490 $ac_includes_default
20491 typedef long long ac__type_new_;
20492 int
20493 main ()
20494 {
20495 if ((ac__type_new_ *) 0)
20496 return 0;
20497 if (sizeof (ac__type_new_))
20498 return 0;
20499 ;
20500 return 0;
20501 }
20502 _ACEOF
20503 rm -f conftest.$ac_objext
20504 if { (ac_try="$ac_compile"
20505 case "(($ac_try" in
20506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20507 *) ac_try_echo=$ac_try;;
20508 esac
20509 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20510 (eval "$ac_compile") 2>conftest.er1
20511 ac_status=$?
20512 grep -v '^ *+' conftest.er1 >conftest.err
20513 rm -f conftest.er1
20514 cat conftest.err >&5
20515 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20516 (exit $ac_status); } && {
20517 test -z "$ac_c_werror_flag" ||
20518 test ! -s conftest.err
20519 } && test -s conftest.$ac_objext; then
20520 ac_cv_type_long_long=yes
20521 else
20522 echo "$as_me: failed program was:" >&5
20523 sed 's/^/| /' conftest.$ac_ext >&5
20524
20525 ac_cv_type_long_long=no
20526 fi
20527
20528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20529 fi
20530 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20531 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20532
20533 # The cast to long int works around a bug in the HP C Compiler
20534 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20535 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20536 # This bug is HP SR number 8606223364.
20537 { echo "$as_me:$LINENO: checking size of long long" >&5
20538 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20539 if test "${ac_cv_sizeof_long_long+set}" = set; then
20540 echo $ECHO_N "(cached) $ECHO_C" >&6
20541 else
20542 if test "$cross_compiling" = yes; then
20543 # Depending upon the size, compute the lo and hi bounds.
20544 cat >conftest.$ac_ext <<_ACEOF
20545 /* confdefs.h. */
20546 _ACEOF
20547 cat confdefs.h >>conftest.$ac_ext
20548 cat >>conftest.$ac_ext <<_ACEOF
20549 /* end confdefs.h. */
20550 $ac_includes_default
20551 typedef long long ac__type_sizeof_;
20552 int
20553 main ()
20554 {
20555 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20556 test_array [0] = 0
20557
20558 ;
20559 return 0;
20560 }
20561 _ACEOF
20562 rm -f conftest.$ac_objext
20563 if { (ac_try="$ac_compile"
20564 case "(($ac_try" in
20565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20566 *) ac_try_echo=$ac_try;;
20567 esac
20568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20569 (eval "$ac_compile") 2>conftest.er1
20570 ac_status=$?
20571 grep -v '^ *+' conftest.er1 >conftest.err
20572 rm -f conftest.er1
20573 cat conftest.err >&5
20574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20575 (exit $ac_status); } && {
20576 test -z "$ac_c_werror_flag" ||
20577 test ! -s conftest.err
20578 } && test -s conftest.$ac_objext; then
20579 ac_lo=0 ac_mid=0
20580 while :; do
20581 cat >conftest.$ac_ext <<_ACEOF
20582 /* confdefs.h. */
20583 _ACEOF
20584 cat confdefs.h >>conftest.$ac_ext
20585 cat >>conftest.$ac_ext <<_ACEOF
20586 /* end confdefs.h. */
20587 $ac_includes_default
20588 typedef long long ac__type_sizeof_;
20589 int
20590 main ()
20591 {
20592 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20593 test_array [0] = 0
20594
20595 ;
20596 return 0;
20597 }
20598 _ACEOF
20599 rm -f conftest.$ac_objext
20600 if { (ac_try="$ac_compile"
20601 case "(($ac_try" in
20602 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20603 *) ac_try_echo=$ac_try;;
20604 esac
20605 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20606 (eval "$ac_compile") 2>conftest.er1
20607 ac_status=$?
20608 grep -v '^ *+' conftest.er1 >conftest.err
20609 rm -f conftest.er1
20610 cat conftest.err >&5
20611 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20612 (exit $ac_status); } && {
20613 test -z "$ac_c_werror_flag" ||
20614 test ! -s conftest.err
20615 } && test -s conftest.$ac_objext; then
20616 ac_hi=$ac_mid; break
20617 else
20618 echo "$as_me: failed program was:" >&5
20619 sed 's/^/| /' conftest.$ac_ext >&5
20620
20621 ac_lo=`expr $ac_mid + 1`
20622 if test $ac_lo -le $ac_mid; then
20623 ac_lo= ac_hi=
20624 break
20625 fi
20626 ac_mid=`expr 2 '*' $ac_mid + 1`
20627 fi
20628
20629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20630 done
20631 else
20632 echo "$as_me: failed program was:" >&5
20633 sed 's/^/| /' conftest.$ac_ext >&5
20634
20635 cat >conftest.$ac_ext <<_ACEOF
20636 /* confdefs.h. */
20637 _ACEOF
20638 cat confdefs.h >>conftest.$ac_ext
20639 cat >>conftest.$ac_ext <<_ACEOF
20640 /* end confdefs.h. */
20641 $ac_includes_default
20642 typedef long long ac__type_sizeof_;
20643 int
20644 main ()
20645 {
20646 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20647 test_array [0] = 0
20648
20649 ;
20650 return 0;
20651 }
20652 _ACEOF
20653 rm -f conftest.$ac_objext
20654 if { (ac_try="$ac_compile"
20655 case "(($ac_try" in
20656 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20657 *) ac_try_echo=$ac_try;;
20658 esac
20659 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20660 (eval "$ac_compile") 2>conftest.er1
20661 ac_status=$?
20662 grep -v '^ *+' conftest.er1 >conftest.err
20663 rm -f conftest.er1
20664 cat conftest.err >&5
20665 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20666 (exit $ac_status); } && {
20667 test -z "$ac_c_werror_flag" ||
20668 test ! -s conftest.err
20669 } && test -s conftest.$ac_objext; then
20670 ac_hi=-1 ac_mid=-1
20671 while :; do
20672 cat >conftest.$ac_ext <<_ACEOF
20673 /* confdefs.h. */
20674 _ACEOF
20675 cat confdefs.h >>conftest.$ac_ext
20676 cat >>conftest.$ac_ext <<_ACEOF
20677 /* end confdefs.h. */
20678 $ac_includes_default
20679 typedef long long ac__type_sizeof_;
20680 int
20681 main ()
20682 {
20683 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20684 test_array [0] = 0
20685
20686 ;
20687 return 0;
20688 }
20689 _ACEOF
20690 rm -f conftest.$ac_objext
20691 if { (ac_try="$ac_compile"
20692 case "(($ac_try" in
20693 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20694 *) ac_try_echo=$ac_try;;
20695 esac
20696 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20697 (eval "$ac_compile") 2>conftest.er1
20698 ac_status=$?
20699 grep -v '^ *+' conftest.er1 >conftest.err
20700 rm -f conftest.er1
20701 cat conftest.err >&5
20702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20703 (exit $ac_status); } && {
20704 test -z "$ac_c_werror_flag" ||
20705 test ! -s conftest.err
20706 } && test -s conftest.$ac_objext; then
20707 ac_lo=$ac_mid; break
20708 else
20709 echo "$as_me: failed program was:" >&5
20710 sed 's/^/| /' conftest.$ac_ext >&5
20711
20712 ac_hi=`expr '(' $ac_mid ')' - 1`
20713 if test $ac_mid -le $ac_hi; then
20714 ac_lo= ac_hi=
20715 break
20716 fi
20717 ac_mid=`expr 2 '*' $ac_mid`
20718 fi
20719
20720 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20721 done
20722 else
20723 echo "$as_me: failed program was:" >&5
20724 sed 's/^/| /' conftest.$ac_ext >&5
20725
20726 ac_lo= ac_hi=
20727 fi
20728
20729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20730 fi
20731
20732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20733 # Binary search between lo and hi bounds.
20734 while test "x$ac_lo" != "x$ac_hi"; do
20735 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20736 cat >conftest.$ac_ext <<_ACEOF
20737 /* confdefs.h. */
20738 _ACEOF
20739 cat confdefs.h >>conftest.$ac_ext
20740 cat >>conftest.$ac_ext <<_ACEOF
20741 /* end confdefs.h. */
20742 $ac_includes_default
20743 typedef long long ac__type_sizeof_;
20744 int
20745 main ()
20746 {
20747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20748 test_array [0] = 0
20749
20750 ;
20751 return 0;
20752 }
20753 _ACEOF
20754 rm -f conftest.$ac_objext
20755 if { (ac_try="$ac_compile"
20756 case "(($ac_try" in
20757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20758 *) ac_try_echo=$ac_try;;
20759 esac
20760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20761 (eval "$ac_compile") 2>conftest.er1
20762 ac_status=$?
20763 grep -v '^ *+' conftest.er1 >conftest.err
20764 rm -f conftest.er1
20765 cat conftest.err >&5
20766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20767 (exit $ac_status); } && {
20768 test -z "$ac_c_werror_flag" ||
20769 test ! -s conftest.err
20770 } && test -s conftest.$ac_objext; then
20771 ac_hi=$ac_mid
20772 else
20773 echo "$as_me: failed program was:" >&5
20774 sed 's/^/| /' conftest.$ac_ext >&5
20775
20776 ac_lo=`expr '(' $ac_mid ')' + 1`
20777 fi
20778
20779 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20780 done
20781 case $ac_lo in
20782 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20783 '') if test "$ac_cv_type_long_long" = yes; then
20784 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20785 See \`config.log' for more details." >&5
20786 echo "$as_me: error: cannot compute sizeof (long long)
20787 See \`config.log' for more details." >&2;}
20788 { (exit 77); exit 77; }; }
20789 else
20790 ac_cv_sizeof_long_long=0
20791 fi ;;
20792 esac
20793 else
20794 cat >conftest.$ac_ext <<_ACEOF
20795 /* confdefs.h. */
20796 _ACEOF
20797 cat confdefs.h >>conftest.$ac_ext
20798 cat >>conftest.$ac_ext <<_ACEOF
20799 /* end confdefs.h. */
20800 $ac_includes_default
20801 typedef long long ac__type_sizeof_;
20802 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20803 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20804 #include <stdio.h>
20805 #include <stdlib.h>
20806 int
20807 main ()
20808 {
20809
20810 FILE *f = fopen ("conftest.val", "w");
20811 if (! f)
20812 return 1;
20813 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20814 {
20815 long int i = longval ();
20816 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20817 return 1;
20818 fprintf (f, "%ld\n", i);
20819 }
20820 else
20821 {
20822 unsigned long int i = ulongval ();
20823 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20824 return 1;
20825 fprintf (f, "%lu\n", i);
20826 }
20827 return ferror (f) || fclose (f) != 0;
20828
20829 ;
20830 return 0;
20831 }
20832 _ACEOF
20833 rm -f conftest$ac_exeext
20834 if { (ac_try="$ac_link"
20835 case "(($ac_try" in
20836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20837 *) ac_try_echo=$ac_try;;
20838 esac
20839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20840 (eval "$ac_link") 2>&5
20841 ac_status=$?
20842 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20843 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20844 { (case "(($ac_try" in
20845 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20846 *) ac_try_echo=$ac_try;;
20847 esac
20848 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20849 (eval "$ac_try") 2>&5
20850 ac_status=$?
20851 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20852 (exit $ac_status); }; }; then
20853 ac_cv_sizeof_long_long=`cat conftest.val`
20854 else
20855 echo "$as_me: program exited with status $ac_status" >&5
20856 echo "$as_me: failed program was:" >&5
20857 sed 's/^/| /' conftest.$ac_ext >&5
20858
20859 ( exit $ac_status )
20860 if test "$ac_cv_type_long_long" = yes; then
20861 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20862 See \`config.log' for more details." >&5
20863 echo "$as_me: error: cannot compute sizeof (long long)
20864 See \`config.log' for more details." >&2;}
20865 { (exit 77); exit 77; }; }
20866 else
20867 ac_cv_sizeof_long_long=0
20868 fi
20869 fi
20870 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20871 fi
20872 rm -f conftest.val
20873 fi
20874 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20875 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20876
20877
20878
20879 cat >>confdefs.h <<_ACEOF
20880 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20881 _ACEOF
20882
20883
20884 ;;
20885 *-hp-hpux* )
20886 { echo "$as_me:$LINENO: checking for long long" >&5
20887 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20888 if test "${ac_cv_type_long_long+set}" = set; then
20889 echo $ECHO_N "(cached) $ECHO_C" >&6
20890 else
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 long long ac__type_new_;
20899 int
20900 main ()
20901 {
20902 if ((ac__type_new_ *) 0)
20903 return 0;
20904 if (sizeof (ac__type_new_))
20905 return 0;
20906 ;
20907 return 0;
20908 }
20909 _ACEOF
20910 rm -f conftest.$ac_objext
20911 if { (ac_try="$ac_compile"
20912 case "(($ac_try" in
20913 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20914 *) ac_try_echo=$ac_try;;
20915 esac
20916 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20917 (eval "$ac_compile") 2>conftest.er1
20918 ac_status=$?
20919 grep -v '^ *+' conftest.er1 >conftest.err
20920 rm -f conftest.er1
20921 cat conftest.err >&5
20922 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20923 (exit $ac_status); } && {
20924 test -z "$ac_c_werror_flag" ||
20925 test ! -s conftest.err
20926 } && test -s conftest.$ac_objext; then
20927 ac_cv_type_long_long=yes
20928 else
20929 echo "$as_me: failed program was:" >&5
20930 sed 's/^/| /' conftest.$ac_ext >&5
20931
20932 ac_cv_type_long_long=no
20933 fi
20934
20935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20936 fi
20937 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20938 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20939
20940 # The cast to long int works around a bug in the HP C Compiler
20941 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20942 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20943 # This bug is HP SR number 8606223364.
20944 { echo "$as_me:$LINENO: checking size of long long" >&5
20945 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20946 if test "${ac_cv_sizeof_long_long+set}" = set; then
20947 echo $ECHO_N "(cached) $ECHO_C" >&6
20948 else
20949 if test "$cross_compiling" = yes; then
20950 # Depending upon the size, compute the lo and hi bounds.
20951 cat >conftest.$ac_ext <<_ACEOF
20952 /* confdefs.h. */
20953 _ACEOF
20954 cat confdefs.h >>conftest.$ac_ext
20955 cat >>conftest.$ac_ext <<_ACEOF
20956 /* end confdefs.h. */
20957 $ac_includes_default
20958 typedef long long ac__type_sizeof_;
20959 int
20960 main ()
20961 {
20962 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20963 test_array [0] = 0
20964
20965 ;
20966 return 0;
20967 }
20968 _ACEOF
20969 rm -f conftest.$ac_objext
20970 if { (ac_try="$ac_compile"
20971 case "(($ac_try" in
20972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20973 *) ac_try_echo=$ac_try;;
20974 esac
20975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20976 (eval "$ac_compile") 2>conftest.er1
20977 ac_status=$?
20978 grep -v '^ *+' conftest.er1 >conftest.err
20979 rm -f conftest.er1
20980 cat conftest.err >&5
20981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20982 (exit $ac_status); } && {
20983 test -z "$ac_c_werror_flag" ||
20984 test ! -s conftest.err
20985 } && test -s conftest.$ac_objext; then
20986 ac_lo=0 ac_mid=0
20987 while :; do
20988 cat >conftest.$ac_ext <<_ACEOF
20989 /* confdefs.h. */
20990 _ACEOF
20991 cat confdefs.h >>conftest.$ac_ext
20992 cat >>conftest.$ac_ext <<_ACEOF
20993 /* end confdefs.h. */
20994 $ac_includes_default
20995 typedef long long ac__type_sizeof_;
20996 int
20997 main ()
20998 {
20999 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21000 test_array [0] = 0
21001
21002 ;
21003 return 0;
21004 }
21005 _ACEOF
21006 rm -f conftest.$ac_objext
21007 if { (ac_try="$ac_compile"
21008 case "(($ac_try" in
21009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21010 *) ac_try_echo=$ac_try;;
21011 esac
21012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21013 (eval "$ac_compile") 2>conftest.er1
21014 ac_status=$?
21015 grep -v '^ *+' conftest.er1 >conftest.err
21016 rm -f conftest.er1
21017 cat conftest.err >&5
21018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21019 (exit $ac_status); } && {
21020 test -z "$ac_c_werror_flag" ||
21021 test ! -s conftest.err
21022 } && test -s conftest.$ac_objext; then
21023 ac_hi=$ac_mid; break
21024 else
21025 echo "$as_me: failed program was:" >&5
21026 sed 's/^/| /' conftest.$ac_ext >&5
21027
21028 ac_lo=`expr $ac_mid + 1`
21029 if test $ac_lo -le $ac_mid; then
21030 ac_lo= ac_hi=
21031 break
21032 fi
21033 ac_mid=`expr 2 '*' $ac_mid + 1`
21034 fi
21035
21036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21037 done
21038 else
21039 echo "$as_me: failed program was:" >&5
21040 sed 's/^/| /' conftest.$ac_ext >&5
21041
21042 cat >conftest.$ac_ext <<_ACEOF
21043 /* confdefs.h. */
21044 _ACEOF
21045 cat confdefs.h >>conftest.$ac_ext
21046 cat >>conftest.$ac_ext <<_ACEOF
21047 /* end confdefs.h. */
21048 $ac_includes_default
21049 typedef long long ac__type_sizeof_;
21050 int
21051 main ()
21052 {
21053 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21054 test_array [0] = 0
21055
21056 ;
21057 return 0;
21058 }
21059 _ACEOF
21060 rm -f conftest.$ac_objext
21061 if { (ac_try="$ac_compile"
21062 case "(($ac_try" in
21063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21064 *) ac_try_echo=$ac_try;;
21065 esac
21066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21067 (eval "$ac_compile") 2>conftest.er1
21068 ac_status=$?
21069 grep -v '^ *+' conftest.er1 >conftest.err
21070 rm -f conftest.er1
21071 cat conftest.err >&5
21072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21073 (exit $ac_status); } && {
21074 test -z "$ac_c_werror_flag" ||
21075 test ! -s conftest.err
21076 } && test -s conftest.$ac_objext; then
21077 ac_hi=-1 ac_mid=-1
21078 while :; do
21079 cat >conftest.$ac_ext <<_ACEOF
21080 /* confdefs.h. */
21081 _ACEOF
21082 cat confdefs.h >>conftest.$ac_ext
21083 cat >>conftest.$ac_ext <<_ACEOF
21084 /* end confdefs.h. */
21085 $ac_includes_default
21086 typedef long long ac__type_sizeof_;
21087 int
21088 main ()
21089 {
21090 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21091 test_array [0] = 0
21092
21093 ;
21094 return 0;
21095 }
21096 _ACEOF
21097 rm -f conftest.$ac_objext
21098 if { (ac_try="$ac_compile"
21099 case "(($ac_try" in
21100 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21101 *) ac_try_echo=$ac_try;;
21102 esac
21103 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21104 (eval "$ac_compile") 2>conftest.er1
21105 ac_status=$?
21106 grep -v '^ *+' conftest.er1 >conftest.err
21107 rm -f conftest.er1
21108 cat conftest.err >&5
21109 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21110 (exit $ac_status); } && {
21111 test -z "$ac_c_werror_flag" ||
21112 test ! -s conftest.err
21113 } && test -s conftest.$ac_objext; then
21114 ac_lo=$ac_mid; break
21115 else
21116 echo "$as_me: failed program was:" >&5
21117 sed 's/^/| /' conftest.$ac_ext >&5
21118
21119 ac_hi=`expr '(' $ac_mid ')' - 1`
21120 if test $ac_mid -le $ac_hi; then
21121 ac_lo= ac_hi=
21122 break
21123 fi
21124 ac_mid=`expr 2 '*' $ac_mid`
21125 fi
21126
21127 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21128 done
21129 else
21130 echo "$as_me: failed program was:" >&5
21131 sed 's/^/| /' conftest.$ac_ext >&5
21132
21133 ac_lo= ac_hi=
21134 fi
21135
21136 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21137 fi
21138
21139 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21140 # Binary search between lo and hi bounds.
21141 while test "x$ac_lo" != "x$ac_hi"; do
21142 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21143 cat >conftest.$ac_ext <<_ACEOF
21144 /* confdefs.h. */
21145 _ACEOF
21146 cat confdefs.h >>conftest.$ac_ext
21147 cat >>conftest.$ac_ext <<_ACEOF
21148 /* end confdefs.h. */
21149 $ac_includes_default
21150 typedef long long ac__type_sizeof_;
21151 int
21152 main ()
21153 {
21154 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21155 test_array [0] = 0
21156
21157 ;
21158 return 0;
21159 }
21160 _ACEOF
21161 rm -f conftest.$ac_objext
21162 if { (ac_try="$ac_compile"
21163 case "(($ac_try" in
21164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21165 *) ac_try_echo=$ac_try;;
21166 esac
21167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21168 (eval "$ac_compile") 2>conftest.er1
21169 ac_status=$?
21170 grep -v '^ *+' conftest.er1 >conftest.err
21171 rm -f conftest.er1
21172 cat conftest.err >&5
21173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21174 (exit $ac_status); } && {
21175 test -z "$ac_c_werror_flag" ||
21176 test ! -s conftest.err
21177 } && test -s conftest.$ac_objext; then
21178 ac_hi=$ac_mid
21179 else
21180 echo "$as_me: failed program was:" >&5
21181 sed 's/^/| /' conftest.$ac_ext >&5
21182
21183 ac_lo=`expr '(' $ac_mid ')' + 1`
21184 fi
21185
21186 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21187 done
21188 case $ac_lo in
21189 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21190 '') if test "$ac_cv_type_long_long" = yes; then
21191 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21192 See \`config.log' for more details." >&5
21193 echo "$as_me: error: cannot compute sizeof (long long)
21194 See \`config.log' for more details." >&2;}
21195 { (exit 77); exit 77; }; }
21196 else
21197 ac_cv_sizeof_long_long=0
21198 fi ;;
21199 esac
21200 else
21201 cat >conftest.$ac_ext <<_ACEOF
21202 /* confdefs.h. */
21203 _ACEOF
21204 cat confdefs.h >>conftest.$ac_ext
21205 cat >>conftest.$ac_ext <<_ACEOF
21206 /* end confdefs.h. */
21207 $ac_includes_default
21208 typedef long long ac__type_sizeof_;
21209 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21210 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21211 #include <stdio.h>
21212 #include <stdlib.h>
21213 int
21214 main ()
21215 {
21216
21217 FILE *f = fopen ("conftest.val", "w");
21218 if (! f)
21219 return 1;
21220 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21221 {
21222 long int i = longval ();
21223 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21224 return 1;
21225 fprintf (f, "%ld\n", i);
21226 }
21227 else
21228 {
21229 unsigned long int i = ulongval ();
21230 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21231 return 1;
21232 fprintf (f, "%lu\n", i);
21233 }
21234 return ferror (f) || fclose (f) != 0;
21235
21236 ;
21237 return 0;
21238 }
21239 _ACEOF
21240 rm -f conftest$ac_exeext
21241 if { (ac_try="$ac_link"
21242 case "(($ac_try" in
21243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21244 *) ac_try_echo=$ac_try;;
21245 esac
21246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21247 (eval "$ac_link") 2>&5
21248 ac_status=$?
21249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21250 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21251 { (case "(($ac_try" in
21252 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21253 *) ac_try_echo=$ac_try;;
21254 esac
21255 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21256 (eval "$ac_try") 2>&5
21257 ac_status=$?
21258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21259 (exit $ac_status); }; }; then
21260 ac_cv_sizeof_long_long=`cat conftest.val`
21261 else
21262 echo "$as_me: program exited with status $ac_status" >&5
21263 echo "$as_me: failed program was:" >&5
21264 sed 's/^/| /' conftest.$ac_ext >&5
21265
21266 ( exit $ac_status )
21267 if test "$ac_cv_type_long_long" = yes; then
21268 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21269 See \`config.log' for more details." >&5
21270 echo "$as_me: error: cannot compute sizeof (long long)
21271 See \`config.log' for more details." >&2;}
21272 { (exit 77); exit 77; }; }
21273 else
21274 ac_cv_sizeof_long_long=0
21275 fi
21276 fi
21277 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21278 fi
21279 rm -f conftest.val
21280 fi
21281 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21282 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21283
21284
21285
21286 cat >>confdefs.h <<_ACEOF
21287 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21288 _ACEOF
21289
21290
21291 if test "$ac_cv_sizeof_long_long" != "0"; then
21292 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
21293 fi
21294 ;;
21295 * )
21296 { echo "$as_me:$LINENO: checking for long long" >&5
21297 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
21298 if test "${ac_cv_type_long_long+set}" = set; then
21299 echo $ECHO_N "(cached) $ECHO_C" >&6
21300 else
21301 cat >conftest.$ac_ext <<_ACEOF
21302 /* confdefs.h. */
21303 _ACEOF
21304 cat confdefs.h >>conftest.$ac_ext
21305 cat >>conftest.$ac_ext <<_ACEOF
21306 /* end confdefs.h. */
21307 $ac_includes_default
21308 typedef long long ac__type_new_;
21309 int
21310 main ()
21311 {
21312 if ((ac__type_new_ *) 0)
21313 return 0;
21314 if (sizeof (ac__type_new_))
21315 return 0;
21316 ;
21317 return 0;
21318 }
21319 _ACEOF
21320 rm -f conftest.$ac_objext
21321 if { (ac_try="$ac_compile"
21322 case "(($ac_try" in
21323 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21324 *) ac_try_echo=$ac_try;;
21325 esac
21326 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21327 (eval "$ac_compile") 2>conftest.er1
21328 ac_status=$?
21329 grep -v '^ *+' conftest.er1 >conftest.err
21330 rm -f conftest.er1
21331 cat conftest.err >&5
21332 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21333 (exit $ac_status); } && {
21334 test -z "$ac_c_werror_flag" ||
21335 test ! -s conftest.err
21336 } && test -s conftest.$ac_objext; then
21337 ac_cv_type_long_long=yes
21338 else
21339 echo "$as_me: failed program was:" >&5
21340 sed 's/^/| /' conftest.$ac_ext >&5
21341
21342 ac_cv_type_long_long=no
21343 fi
21344
21345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21346 fi
21347 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21348 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21349
21350 # The cast to long int works around a bug in the HP C Compiler
21351 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21352 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21353 # This bug is HP SR number 8606223364.
21354 { echo "$as_me:$LINENO: checking size of long long" >&5
21355 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21356 if test "${ac_cv_sizeof_long_long+set}" = set; then
21357 echo $ECHO_N "(cached) $ECHO_C" >&6
21358 else
21359 if test "$cross_compiling" = yes; then
21360 # Depending upon the size, compute the lo and hi bounds.
21361 cat >conftest.$ac_ext <<_ACEOF
21362 /* confdefs.h. */
21363 _ACEOF
21364 cat confdefs.h >>conftest.$ac_ext
21365 cat >>conftest.$ac_ext <<_ACEOF
21366 /* end confdefs.h. */
21367 $ac_includes_default
21368 typedef long long ac__type_sizeof_;
21369 int
21370 main ()
21371 {
21372 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21373 test_array [0] = 0
21374
21375 ;
21376 return 0;
21377 }
21378 _ACEOF
21379 rm -f conftest.$ac_objext
21380 if { (ac_try="$ac_compile"
21381 case "(($ac_try" in
21382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21383 *) ac_try_echo=$ac_try;;
21384 esac
21385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21386 (eval "$ac_compile") 2>conftest.er1
21387 ac_status=$?
21388 grep -v '^ *+' conftest.er1 >conftest.err
21389 rm -f conftest.er1
21390 cat conftest.err >&5
21391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21392 (exit $ac_status); } && {
21393 test -z "$ac_c_werror_flag" ||
21394 test ! -s conftest.err
21395 } && test -s conftest.$ac_objext; then
21396 ac_lo=0 ac_mid=0
21397 while :; do
21398 cat >conftest.$ac_ext <<_ACEOF
21399 /* confdefs.h. */
21400 _ACEOF
21401 cat confdefs.h >>conftest.$ac_ext
21402 cat >>conftest.$ac_ext <<_ACEOF
21403 /* end confdefs.h. */
21404 $ac_includes_default
21405 typedef long long ac__type_sizeof_;
21406 int
21407 main ()
21408 {
21409 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21410 test_array [0] = 0
21411
21412 ;
21413 return 0;
21414 }
21415 _ACEOF
21416 rm -f conftest.$ac_objext
21417 if { (ac_try="$ac_compile"
21418 case "(($ac_try" in
21419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21420 *) ac_try_echo=$ac_try;;
21421 esac
21422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21423 (eval "$ac_compile") 2>conftest.er1
21424 ac_status=$?
21425 grep -v '^ *+' conftest.er1 >conftest.err
21426 rm -f conftest.er1
21427 cat conftest.err >&5
21428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21429 (exit $ac_status); } && {
21430 test -z "$ac_c_werror_flag" ||
21431 test ! -s conftest.err
21432 } && test -s conftest.$ac_objext; then
21433 ac_hi=$ac_mid; break
21434 else
21435 echo "$as_me: failed program was:" >&5
21436 sed 's/^/| /' conftest.$ac_ext >&5
21437
21438 ac_lo=`expr $ac_mid + 1`
21439 if test $ac_lo -le $ac_mid; then
21440 ac_lo= ac_hi=
21441 break
21442 fi
21443 ac_mid=`expr 2 '*' $ac_mid + 1`
21444 fi
21445
21446 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21447 done
21448 else
21449 echo "$as_me: failed program was:" >&5
21450 sed 's/^/| /' conftest.$ac_ext >&5
21451
21452 cat >conftest.$ac_ext <<_ACEOF
21453 /* confdefs.h. */
21454 _ACEOF
21455 cat confdefs.h >>conftest.$ac_ext
21456 cat >>conftest.$ac_ext <<_ACEOF
21457 /* end confdefs.h. */
21458 $ac_includes_default
21459 typedef long long ac__type_sizeof_;
21460 int
21461 main ()
21462 {
21463 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21464 test_array [0] = 0
21465
21466 ;
21467 return 0;
21468 }
21469 _ACEOF
21470 rm -f conftest.$ac_objext
21471 if { (ac_try="$ac_compile"
21472 case "(($ac_try" in
21473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21474 *) ac_try_echo=$ac_try;;
21475 esac
21476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21477 (eval "$ac_compile") 2>conftest.er1
21478 ac_status=$?
21479 grep -v '^ *+' conftest.er1 >conftest.err
21480 rm -f conftest.er1
21481 cat conftest.err >&5
21482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21483 (exit $ac_status); } && {
21484 test -z "$ac_c_werror_flag" ||
21485 test ! -s conftest.err
21486 } && test -s conftest.$ac_objext; then
21487 ac_hi=-1 ac_mid=-1
21488 while :; do
21489 cat >conftest.$ac_ext <<_ACEOF
21490 /* confdefs.h. */
21491 _ACEOF
21492 cat confdefs.h >>conftest.$ac_ext
21493 cat >>conftest.$ac_ext <<_ACEOF
21494 /* end confdefs.h. */
21495 $ac_includes_default
21496 typedef long long ac__type_sizeof_;
21497 int
21498 main ()
21499 {
21500 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21501 test_array [0] = 0
21502
21503 ;
21504 return 0;
21505 }
21506 _ACEOF
21507 rm -f conftest.$ac_objext
21508 if { (ac_try="$ac_compile"
21509 case "(($ac_try" in
21510 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21511 *) ac_try_echo=$ac_try;;
21512 esac
21513 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21514 (eval "$ac_compile") 2>conftest.er1
21515 ac_status=$?
21516 grep -v '^ *+' conftest.er1 >conftest.err
21517 rm -f conftest.er1
21518 cat conftest.err >&5
21519 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21520 (exit $ac_status); } && {
21521 test -z "$ac_c_werror_flag" ||
21522 test ! -s conftest.err
21523 } && test -s conftest.$ac_objext; then
21524 ac_lo=$ac_mid; break
21525 else
21526 echo "$as_me: failed program was:" >&5
21527 sed 's/^/| /' conftest.$ac_ext >&5
21528
21529 ac_hi=`expr '(' $ac_mid ')' - 1`
21530 if test $ac_mid -le $ac_hi; then
21531 ac_lo= ac_hi=
21532 break
21533 fi
21534 ac_mid=`expr 2 '*' $ac_mid`
21535 fi
21536
21537 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21538 done
21539 else
21540 echo "$as_me: failed program was:" >&5
21541 sed 's/^/| /' conftest.$ac_ext >&5
21542
21543 ac_lo= ac_hi=
21544 fi
21545
21546 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21547 fi
21548
21549 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21550 # Binary search between lo and hi bounds.
21551 while test "x$ac_lo" != "x$ac_hi"; do
21552 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21553 cat >conftest.$ac_ext <<_ACEOF
21554 /* confdefs.h. */
21555 _ACEOF
21556 cat confdefs.h >>conftest.$ac_ext
21557 cat >>conftest.$ac_ext <<_ACEOF
21558 /* end confdefs.h. */
21559 $ac_includes_default
21560 typedef long long ac__type_sizeof_;
21561 int
21562 main ()
21563 {
21564 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21565 test_array [0] = 0
21566
21567 ;
21568 return 0;
21569 }
21570 _ACEOF
21571 rm -f conftest.$ac_objext
21572 if { (ac_try="$ac_compile"
21573 case "(($ac_try" in
21574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21575 *) ac_try_echo=$ac_try;;
21576 esac
21577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21578 (eval "$ac_compile") 2>conftest.er1
21579 ac_status=$?
21580 grep -v '^ *+' conftest.er1 >conftest.err
21581 rm -f conftest.er1
21582 cat conftest.err >&5
21583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21584 (exit $ac_status); } && {
21585 test -z "$ac_c_werror_flag" ||
21586 test ! -s conftest.err
21587 } && test -s conftest.$ac_objext; then
21588 ac_hi=$ac_mid
21589 else
21590 echo "$as_me: failed program was:" >&5
21591 sed 's/^/| /' conftest.$ac_ext >&5
21592
21593 ac_lo=`expr '(' $ac_mid ')' + 1`
21594 fi
21595
21596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21597 done
21598 case $ac_lo in
21599 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21600 '') if test "$ac_cv_type_long_long" = yes; then
21601 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21602 See \`config.log' for more details." >&5
21603 echo "$as_me: error: cannot compute sizeof (long long)
21604 See \`config.log' for more details." >&2;}
21605 { (exit 77); exit 77; }; }
21606 else
21607 ac_cv_sizeof_long_long=0
21608 fi ;;
21609 esac
21610 else
21611 cat >conftest.$ac_ext <<_ACEOF
21612 /* confdefs.h. */
21613 _ACEOF
21614 cat confdefs.h >>conftest.$ac_ext
21615 cat >>conftest.$ac_ext <<_ACEOF
21616 /* end confdefs.h. */
21617 $ac_includes_default
21618 typedef long long ac__type_sizeof_;
21619 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21620 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21621 #include <stdio.h>
21622 #include <stdlib.h>
21623 int
21624 main ()
21625 {
21626
21627 FILE *f = fopen ("conftest.val", "w");
21628 if (! f)
21629 return 1;
21630 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21631 {
21632 long int i = longval ();
21633 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21634 return 1;
21635 fprintf (f, "%ld\n", i);
21636 }
21637 else
21638 {
21639 unsigned long int i = ulongval ();
21640 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21641 return 1;
21642 fprintf (f, "%lu\n", i);
21643 }
21644 return ferror (f) || fclose (f) != 0;
21645
21646 ;
21647 return 0;
21648 }
21649 _ACEOF
21650 rm -f conftest$ac_exeext
21651 if { (ac_try="$ac_link"
21652 case "(($ac_try" in
21653 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21654 *) ac_try_echo=$ac_try;;
21655 esac
21656 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21657 (eval "$ac_link") 2>&5
21658 ac_status=$?
21659 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21660 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21661 { (case "(($ac_try" in
21662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21663 *) ac_try_echo=$ac_try;;
21664 esac
21665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21666 (eval "$ac_try") 2>&5
21667 ac_status=$?
21668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21669 (exit $ac_status); }; }; then
21670 ac_cv_sizeof_long_long=`cat conftest.val`
21671 else
21672 echo "$as_me: program exited with status $ac_status" >&5
21673 echo "$as_me: failed program was:" >&5
21674 sed 's/^/| /' conftest.$ac_ext >&5
21675
21676 ( exit $ac_status )
21677 if test "$ac_cv_type_long_long" = yes; then
21678 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21679 See \`config.log' for more details." >&5
21680 echo "$as_me: error: cannot compute sizeof (long long)
21681 See \`config.log' for more details." >&2;}
21682 { (exit 77); exit 77; }; }
21683 else
21684 ac_cv_sizeof_long_long=0
21685 fi
21686 fi
21687 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21688 fi
21689 rm -f conftest.val
21690 fi
21691 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21692 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21693
21694
21695
21696 cat >>confdefs.h <<_ACEOF
21697 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21698 _ACEOF
21699
21700
21701 esac
21702
21703 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21704 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21705 if test "${ac_cv_type_wchar_t+set}" = set; then
21706 echo $ECHO_N "(cached) $ECHO_C" >&6
21707 else
21708 cat >conftest.$ac_ext <<_ACEOF
21709 /* confdefs.h. */
21710 _ACEOF
21711 cat confdefs.h >>conftest.$ac_ext
21712 cat >>conftest.$ac_ext <<_ACEOF
21713 /* end confdefs.h. */
21714
21715 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21716 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21717 # error "fake wchar_t"
21718 #endif
21719 #ifdef HAVE_WCHAR_H
21720 # ifdef __CYGWIN__
21721 # include <stddef.h>
21722 # endif
21723 # include <wchar.h>
21724 #endif
21725 #ifdef HAVE_STDLIB_H
21726 # include <stdlib.h>
21727 #endif
21728 #include <stdio.h>
21729
21730
21731
21732 typedef wchar_t ac__type_new_;
21733 int
21734 main ()
21735 {
21736 if ((ac__type_new_ *) 0)
21737 return 0;
21738 if (sizeof (ac__type_new_))
21739 return 0;
21740 ;
21741 return 0;
21742 }
21743 _ACEOF
21744 rm -f conftest.$ac_objext
21745 if { (ac_try="$ac_compile"
21746 case "(($ac_try" in
21747 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21748 *) ac_try_echo=$ac_try;;
21749 esac
21750 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21751 (eval "$ac_compile") 2>conftest.er1
21752 ac_status=$?
21753 grep -v '^ *+' conftest.er1 >conftest.err
21754 rm -f conftest.er1
21755 cat conftest.err >&5
21756 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21757 (exit $ac_status); } && {
21758 test -z "$ac_c_werror_flag" ||
21759 test ! -s conftest.err
21760 } && test -s conftest.$ac_objext; then
21761 ac_cv_type_wchar_t=yes
21762 else
21763 echo "$as_me: failed program was:" >&5
21764 sed 's/^/| /' conftest.$ac_ext >&5
21765
21766 ac_cv_type_wchar_t=no
21767 fi
21768
21769 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21770 fi
21771 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21772 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21773
21774 # The cast to long int works around a bug in the HP C Compiler
21775 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21776 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21777 # This bug is HP SR number 8606223364.
21778 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21779 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21780 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21781 echo $ECHO_N "(cached) $ECHO_C" >&6
21782 else
21783 if test "$cross_compiling" = yes; then
21784 # Depending upon the size, compute the lo and hi bounds.
21785 cat >conftest.$ac_ext <<_ACEOF
21786 /* confdefs.h. */
21787 _ACEOF
21788 cat confdefs.h >>conftest.$ac_ext
21789 cat >>conftest.$ac_ext <<_ACEOF
21790 /* end confdefs.h. */
21791
21792 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21793 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21794 # error "fake wchar_t"
21795 #endif
21796 #ifdef HAVE_WCHAR_H
21797 # ifdef __CYGWIN__
21798 # include <stddef.h>
21799 # endif
21800 # include <wchar.h>
21801 #endif
21802 #ifdef HAVE_STDLIB_H
21803 # include <stdlib.h>
21804 #endif
21805 #include <stdio.h>
21806
21807
21808
21809 typedef wchar_t ac__type_sizeof_;
21810 int
21811 main ()
21812 {
21813 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21814 test_array [0] = 0
21815
21816 ;
21817 return 0;
21818 }
21819 _ACEOF
21820 rm -f conftest.$ac_objext
21821 if { (ac_try="$ac_compile"
21822 case "(($ac_try" in
21823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21824 *) ac_try_echo=$ac_try;;
21825 esac
21826 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21827 (eval "$ac_compile") 2>conftest.er1
21828 ac_status=$?
21829 grep -v '^ *+' conftest.er1 >conftest.err
21830 rm -f conftest.er1
21831 cat conftest.err >&5
21832 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21833 (exit $ac_status); } && {
21834 test -z "$ac_c_werror_flag" ||
21835 test ! -s conftest.err
21836 } && test -s conftest.$ac_objext; then
21837 ac_lo=0 ac_mid=0
21838 while :; do
21839 cat >conftest.$ac_ext <<_ACEOF
21840 /* confdefs.h. */
21841 _ACEOF
21842 cat confdefs.h >>conftest.$ac_ext
21843 cat >>conftest.$ac_ext <<_ACEOF
21844 /* end confdefs.h. */
21845
21846 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21847 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21848 # error "fake wchar_t"
21849 #endif
21850 #ifdef HAVE_WCHAR_H
21851 # ifdef __CYGWIN__
21852 # include <stddef.h>
21853 # endif
21854 # include <wchar.h>
21855 #endif
21856 #ifdef HAVE_STDLIB_H
21857 # include <stdlib.h>
21858 #endif
21859 #include <stdio.h>
21860
21861
21862
21863 typedef wchar_t ac__type_sizeof_;
21864 int
21865 main ()
21866 {
21867 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21868 test_array [0] = 0
21869
21870 ;
21871 return 0;
21872 }
21873 _ACEOF
21874 rm -f conftest.$ac_objext
21875 if { (ac_try="$ac_compile"
21876 case "(($ac_try" in
21877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21878 *) ac_try_echo=$ac_try;;
21879 esac
21880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21881 (eval "$ac_compile") 2>conftest.er1
21882 ac_status=$?
21883 grep -v '^ *+' conftest.er1 >conftest.err
21884 rm -f conftest.er1
21885 cat conftest.err >&5
21886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21887 (exit $ac_status); } && {
21888 test -z "$ac_c_werror_flag" ||
21889 test ! -s conftest.err
21890 } && test -s conftest.$ac_objext; then
21891 ac_hi=$ac_mid; break
21892 else
21893 echo "$as_me: failed program was:" >&5
21894 sed 's/^/| /' conftest.$ac_ext >&5
21895
21896 ac_lo=`expr $ac_mid + 1`
21897 if test $ac_lo -le $ac_mid; then
21898 ac_lo= ac_hi=
21899 break
21900 fi
21901 ac_mid=`expr 2 '*' $ac_mid + 1`
21902 fi
21903
21904 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21905 done
21906 else
21907 echo "$as_me: failed program was:" >&5
21908 sed 's/^/| /' conftest.$ac_ext >&5
21909
21910 cat >conftest.$ac_ext <<_ACEOF
21911 /* confdefs.h. */
21912 _ACEOF
21913 cat confdefs.h >>conftest.$ac_ext
21914 cat >>conftest.$ac_ext <<_ACEOF
21915 /* end confdefs.h. */
21916
21917 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21918 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21919 # error "fake wchar_t"
21920 #endif
21921 #ifdef HAVE_WCHAR_H
21922 # ifdef __CYGWIN__
21923 # include <stddef.h>
21924 # endif
21925 # include <wchar.h>
21926 #endif
21927 #ifdef HAVE_STDLIB_H
21928 # include <stdlib.h>
21929 #endif
21930 #include <stdio.h>
21931
21932
21933
21934 typedef wchar_t ac__type_sizeof_;
21935 int
21936 main ()
21937 {
21938 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21939 test_array [0] = 0
21940
21941 ;
21942 return 0;
21943 }
21944 _ACEOF
21945 rm -f conftest.$ac_objext
21946 if { (ac_try="$ac_compile"
21947 case "(($ac_try" in
21948 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21949 *) ac_try_echo=$ac_try;;
21950 esac
21951 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21952 (eval "$ac_compile") 2>conftest.er1
21953 ac_status=$?
21954 grep -v '^ *+' conftest.er1 >conftest.err
21955 rm -f conftest.er1
21956 cat conftest.err >&5
21957 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21958 (exit $ac_status); } && {
21959 test -z "$ac_c_werror_flag" ||
21960 test ! -s conftest.err
21961 } && test -s conftest.$ac_objext; then
21962 ac_hi=-1 ac_mid=-1
21963 while :; do
21964 cat >conftest.$ac_ext <<_ACEOF
21965 /* confdefs.h. */
21966 _ACEOF
21967 cat confdefs.h >>conftest.$ac_ext
21968 cat >>conftest.$ac_ext <<_ACEOF
21969 /* end confdefs.h. */
21970
21971 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21972 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21973 # error "fake wchar_t"
21974 #endif
21975 #ifdef HAVE_WCHAR_H
21976 # ifdef __CYGWIN__
21977 # include <stddef.h>
21978 # endif
21979 # include <wchar.h>
21980 #endif
21981 #ifdef HAVE_STDLIB_H
21982 # include <stdlib.h>
21983 #endif
21984 #include <stdio.h>
21985
21986
21987
21988 typedef wchar_t ac__type_sizeof_;
21989 int
21990 main ()
21991 {
21992 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21993 test_array [0] = 0
21994
21995 ;
21996 return 0;
21997 }
21998 _ACEOF
21999 rm -f conftest.$ac_objext
22000 if { (ac_try="$ac_compile"
22001 case "(($ac_try" in
22002 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22003 *) ac_try_echo=$ac_try;;
22004 esac
22005 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22006 (eval "$ac_compile") 2>conftest.er1
22007 ac_status=$?
22008 grep -v '^ *+' conftest.er1 >conftest.err
22009 rm -f conftest.er1
22010 cat conftest.err >&5
22011 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22012 (exit $ac_status); } && {
22013 test -z "$ac_c_werror_flag" ||
22014 test ! -s conftest.err
22015 } && test -s conftest.$ac_objext; then
22016 ac_lo=$ac_mid; break
22017 else
22018 echo "$as_me: failed program was:" >&5
22019 sed 's/^/| /' conftest.$ac_ext >&5
22020
22021 ac_hi=`expr '(' $ac_mid ')' - 1`
22022 if test $ac_mid -le $ac_hi; then
22023 ac_lo= ac_hi=
22024 break
22025 fi
22026 ac_mid=`expr 2 '*' $ac_mid`
22027 fi
22028
22029 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22030 done
22031 else
22032 echo "$as_me: failed program was:" >&5
22033 sed 's/^/| /' conftest.$ac_ext >&5
22034
22035 ac_lo= ac_hi=
22036 fi
22037
22038 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22039 fi
22040
22041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22042 # Binary search between lo and hi bounds.
22043 while test "x$ac_lo" != "x$ac_hi"; do
22044 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
22045 cat >conftest.$ac_ext <<_ACEOF
22046 /* confdefs.h. */
22047 _ACEOF
22048 cat confdefs.h >>conftest.$ac_ext
22049 cat >>conftest.$ac_ext <<_ACEOF
22050 /* end confdefs.h. */
22051
22052 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22053 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22054 # error "fake wchar_t"
22055 #endif
22056 #ifdef HAVE_WCHAR_H
22057 # ifdef __CYGWIN__
22058 # include <stddef.h>
22059 # endif
22060 # include <wchar.h>
22061 #endif
22062 #ifdef HAVE_STDLIB_H
22063 # include <stdlib.h>
22064 #endif
22065 #include <stdio.h>
22066
22067
22068
22069 typedef wchar_t 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
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 fi
22104
22105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22106 done
22107 case $ac_lo in
22108 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
22109 '') if test "$ac_cv_type_wchar_t" = yes; then
22110 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22111 See \`config.log' for more details." >&5
22112 echo "$as_me: error: cannot compute sizeof (wchar_t)
22113 See \`config.log' for more details." >&2;}
22114 { (exit 77); exit 77; }; }
22115 else
22116 ac_cv_sizeof_wchar_t=0
22117 fi ;;
22118 esac
22119 else
22120 cat >conftest.$ac_ext <<_ACEOF
22121 /* confdefs.h. */
22122 _ACEOF
22123 cat confdefs.h >>conftest.$ac_ext
22124 cat >>conftest.$ac_ext <<_ACEOF
22125 /* end confdefs.h. */
22126
22127 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
22128 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
22129 # error "fake wchar_t"
22130 #endif
22131 #ifdef HAVE_WCHAR_H
22132 # ifdef __CYGWIN__
22133 # include <stddef.h>
22134 # endif
22135 # include <wchar.h>
22136 #endif
22137 #ifdef HAVE_STDLIB_H
22138 # include <stdlib.h>
22139 #endif
22140 #include <stdio.h>
22141
22142
22143
22144 typedef wchar_t ac__type_sizeof_;
22145 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
22146 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
22147 #include <stdio.h>
22148 #include <stdlib.h>
22149 int
22150 main ()
22151 {
22152
22153 FILE *f = fopen ("conftest.val", "w");
22154 if (! f)
22155 return 1;
22156 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
22157 {
22158 long int i = longval ();
22159 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22160 return 1;
22161 fprintf (f, "%ld\n", i);
22162 }
22163 else
22164 {
22165 unsigned long int i = ulongval ();
22166 if (i != ((long int) (sizeof (ac__type_sizeof_))))
22167 return 1;
22168 fprintf (f, "%lu\n", i);
22169 }
22170 return ferror (f) || fclose (f) != 0;
22171
22172 ;
22173 return 0;
22174 }
22175 _ACEOF
22176 rm -f conftest$ac_exeext
22177 if { (ac_try="$ac_link"
22178 case "(($ac_try" in
22179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22180 *) ac_try_echo=$ac_try;;
22181 esac
22182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22183 (eval "$ac_link") 2>&5
22184 ac_status=$?
22185 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22186 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22187 { (case "(($ac_try" in
22188 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22189 *) ac_try_echo=$ac_try;;
22190 esac
22191 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22192 (eval "$ac_try") 2>&5
22193 ac_status=$?
22194 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22195 (exit $ac_status); }; }; then
22196 ac_cv_sizeof_wchar_t=`cat conftest.val`
22197 else
22198 echo "$as_me: program exited with status $ac_status" >&5
22199 echo "$as_me: failed program was:" >&5
22200 sed 's/^/| /' conftest.$ac_ext >&5
22201
22202 ( exit $ac_status )
22203 if test "$ac_cv_type_wchar_t" = yes; then
22204 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
22205 See \`config.log' for more details." >&5
22206 echo "$as_me: error: cannot compute sizeof (wchar_t)
22207 See \`config.log' for more details." >&2;}
22208 { (exit 77); exit 77; }; }
22209 else
22210 ac_cv_sizeof_wchar_t=0
22211 fi
22212 fi
22213 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22214 fi
22215 rm -f conftest.val
22216 fi
22217 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
22218 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
22219
22220
22221
22222 cat >>confdefs.h <<_ACEOF
22223 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
22224 _ACEOF
22225
22226
22227 if test "$ac_cv_sizeof_wchar_t" != "0"; then
22228 wxUSE_WCHAR_T=yes
22229 else
22230 wxUSE_WCHAR_T=no
22231 fi
22232
22233 { echo "$as_me:$LINENO: checking for va_copy" >&5
22234 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
22235 if test "${wx_cv_func_va_copy+set}" = set; then
22236 echo $ECHO_N "(cached) $ECHO_C" >&6
22237 else
22238
22239 cat >conftest.$ac_ext <<_ACEOF
22240
22241 #include <stdarg.h>
22242 void foo(char *f, ...)
22243 {
22244 va_list ap1, ap2;
22245 va_start(ap1, f);
22246 va_copy(ap2, ap1);
22247 va_end(ap2);
22248 va_end(ap1);
22249 }
22250 int main()
22251 {
22252 foo("hi", 17);
22253 return 0;
22254 }
22255 _ACEOF
22256 rm -f conftest.$ac_objext conftest$ac_exeext
22257 if { (ac_try="$ac_link"
22258 case "(($ac_try" in
22259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22260 *) ac_try_echo=$ac_try;;
22261 esac
22262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22263 (eval "$ac_link") 2>conftest.er1
22264 ac_status=$?
22265 grep -v '^ *+' conftest.er1 >conftest.err
22266 rm -f conftest.er1
22267 cat conftest.err >&5
22268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22269 (exit $ac_status); } && {
22270 test -z "$ac_c_werror_flag" ||
22271 test ! -s conftest.err
22272 } && test -s conftest$ac_exeext &&
22273 $as_test_x conftest$ac_exeext; then
22274 wx_cv_func_va_copy=yes
22275 else
22276 echo "$as_me: failed program was:" >&5
22277 sed 's/^/| /' conftest.$ac_ext >&5
22278
22279 wx_cv_func_va_copy=no
22280
22281 fi
22282
22283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22284 conftest$ac_exeext conftest.$ac_ext
22285
22286
22287 fi
22288 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
22289 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
22290
22291 if test $wx_cv_func_va_copy = "yes"; then
22292 cat >>confdefs.h <<\_ACEOF
22293 #define HAVE_VA_COPY 1
22294 _ACEOF
22295
22296 else
22297 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
22298 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
22299 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
22300 echo $ECHO_N "(cached) $ECHO_C" >&6
22301 else
22302
22303 if test "$cross_compiling" = yes; then
22304 wx_cv_type_va_list_lvalue=yes
22305
22306 else
22307 cat >conftest.$ac_ext <<_ACEOF
22308
22309 #include <stdarg.h>
22310 int foo(char *f, ...)
22311 {
22312 va_list ap1, ap2;
22313 va_start(ap1, f);
22314 ap2 = ap1;
22315 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
22316 return 1;
22317 va_end(ap2);
22318 va_end(ap1);
22319 return 0;
22320 }
22321 int main()
22322 {
22323 return foo("hi", 17);
22324 }
22325 _ACEOF
22326 rm -f conftest$ac_exeext
22327 if { (ac_try="$ac_link"
22328 case "(($ac_try" in
22329 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22330 *) ac_try_echo=$ac_try;;
22331 esac
22332 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22333 (eval "$ac_link") 2>&5
22334 ac_status=$?
22335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22336 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22337 { (case "(($ac_try" in
22338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22339 *) ac_try_echo=$ac_try;;
22340 esac
22341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22342 (eval "$ac_try") 2>&5
22343 ac_status=$?
22344 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22345 (exit $ac_status); }; }; then
22346 wx_cv_type_va_list_lvalue=yes
22347 else
22348 echo "$as_me: program exited with status $ac_status" >&5
22349 echo "$as_me: failed program was:" >&5
22350 sed 's/^/| /' conftest.$ac_ext >&5
22351
22352 ( exit $ac_status )
22353 wx_cv_type_va_list_lvalue=no
22354 fi
22355 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22356 fi
22357
22358
22359
22360
22361 fi
22362 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22363 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22364
22365 if test $wx_cv_type_va_list_lvalue != "yes"; then
22366 cat >>confdefs.h <<\_ACEOF
22367 #define VA_LIST_IS_ARRAY 1
22368 _ACEOF
22369
22370 fi
22371 fi
22372
22373 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22374
22375 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22376 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22377 if test "${wx_cv_have_variadic_macros+set}" = set; then
22378 echo $ECHO_N "(cached) $ECHO_C" >&6
22379 else
22380
22381 ac_ext=cpp
22382 ac_cpp='$CXXCPP $CPPFLAGS'
22383 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22384 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22385 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22386
22387 cat >conftest.$ac_ext <<_ACEOF
22388 /* confdefs.h. */
22389 _ACEOF
22390 cat confdefs.h >>conftest.$ac_ext
22391 cat >>conftest.$ac_ext <<_ACEOF
22392 /* end confdefs.h. */
22393
22394 #include <stdio.h>
22395 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22396
22397 int
22398 main ()
22399 {
22400
22401 test("%s %d %p", "test", 1, 0);
22402
22403
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_cxx_werror_flag" ||
22423 test ! -s conftest.err
22424 } && test -s conftest.$ac_objext; then
22425 wx_cv_have_variadic_macros=yes
22426 else
22427 echo "$as_me: failed program was:" >&5
22428 sed 's/^/| /' conftest.$ac_ext >&5
22429
22430 wx_cv_have_variadic_macros=no
22431
22432 fi
22433
22434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22435 ac_ext=c
22436 ac_cpp='$CPP $CPPFLAGS'
22437 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22438 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22439 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22440
22441
22442
22443 fi
22444 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22445 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22446
22447 if test $wx_cv_have_variadic_macros = "yes"; then
22448 cat >>confdefs.h <<\_ACEOF
22449 #define HAVE_VARIADIC_MACROS 1
22450 _ACEOF
22451
22452 fi
22453
22454 fi
22455 # Check whether --enable-largefile was given.
22456 if test "${enable_largefile+set}" = set; then
22457 enableval=$enable_largefile;
22458 fi
22459
22460 if test "$enable_largefile" != no; then
22461 wx_largefile=no
22462
22463 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22464 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22465 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22466 echo $ECHO_N "(cached) $ECHO_C" >&6
22467 else
22468
22469 cat >conftest.$ac_ext <<_ACEOF
22470 /* confdefs.h. */
22471 _ACEOF
22472 cat confdefs.h >>conftest.$ac_ext
22473 cat >>conftest.$ac_ext <<_ACEOF
22474 /* end confdefs.h. */
22475 #define _FILE_OFFSET_BITS 64
22476 #include <sys/types.h>
22477 int
22478 main ()
22479 {
22480 typedef struct {
22481 unsigned int field: sizeof(off_t) == 8;
22482 } wxlf;
22483
22484 ;
22485 return 0;
22486 }
22487 _ACEOF
22488 rm -f conftest.$ac_objext
22489 if { (ac_try="$ac_compile"
22490 case "(($ac_try" in
22491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22492 *) ac_try_echo=$ac_try;;
22493 esac
22494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22495 (eval "$ac_compile") 2>conftest.er1
22496 ac_status=$?
22497 grep -v '^ *+' conftest.er1 >conftest.err
22498 rm -f conftest.er1
22499 cat conftest.err >&5
22500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22501 (exit $ac_status); } && {
22502 test -z "$ac_c_werror_flag" ||
22503 test ! -s conftest.err
22504 } && test -s conftest.$ac_objext; then
22505 ac_cv_sys_file_offset_bits=64
22506 else
22507 echo "$as_me: failed program was:" >&5
22508 sed 's/^/| /' conftest.$ac_ext >&5
22509
22510 ac_cv_sys_file_offset_bits=no
22511 fi
22512
22513 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22514
22515
22516 fi
22517 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22518 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22519
22520 if test "$ac_cv_sys_file_offset_bits" != no; then
22521 wx_largefile=yes
22522 cat >>confdefs.h <<_ACEOF
22523 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22524 _ACEOF
22525
22526 fi
22527
22528 if test "x$wx_largefile" != "xyes"; then
22529
22530 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22531 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22532 if test "${ac_cv_sys_large_files+set}" = set; then
22533 echo $ECHO_N "(cached) $ECHO_C" >&6
22534 else
22535
22536 cat >conftest.$ac_ext <<_ACEOF
22537 /* confdefs.h. */
22538 _ACEOF
22539 cat confdefs.h >>conftest.$ac_ext
22540 cat >>conftest.$ac_ext <<_ACEOF
22541 /* end confdefs.h. */
22542 #define _LARGE_FILES 1
22543 #include <sys/types.h>
22544 int
22545 main ()
22546 {
22547 typedef struct {
22548 unsigned int field: sizeof(off_t) == 8;
22549 } wxlf;
22550
22551 ;
22552 return 0;
22553 }
22554 _ACEOF
22555 rm -f conftest.$ac_objext
22556 if { (ac_try="$ac_compile"
22557 case "(($ac_try" in
22558 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22559 *) ac_try_echo=$ac_try;;
22560 esac
22561 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22562 (eval "$ac_compile") 2>conftest.er1
22563 ac_status=$?
22564 grep -v '^ *+' conftest.er1 >conftest.err
22565 rm -f conftest.er1
22566 cat conftest.err >&5
22567 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22568 (exit $ac_status); } && {
22569 test -z "$ac_c_werror_flag" ||
22570 test ! -s conftest.err
22571 } && test -s conftest.$ac_objext; then
22572 ac_cv_sys_large_files=1
22573 else
22574 echo "$as_me: failed program was:" >&5
22575 sed 's/^/| /' conftest.$ac_ext >&5
22576
22577 ac_cv_sys_large_files=no
22578 fi
22579
22580 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22581
22582
22583 fi
22584 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22585 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22586
22587 if test "$ac_cv_sys_large_files" != no; then
22588 wx_largefile=yes
22589 cat >>confdefs.h <<_ACEOF
22590 #define _LARGE_FILES $ac_cv_sys_large_files
22591 _ACEOF
22592
22593 fi
22594
22595 fi
22596
22597 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22598 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22599 if test "x$wx_largefile" = "xyes"; then
22600 cat >>confdefs.h <<\_ACEOF
22601 #define HAVE_LARGEFILE_SUPPORT 1
22602 _ACEOF
22603
22604 fi
22605 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22606 echo "${ECHO_T}$wx_largefile" >&6; }
22607 fi
22608
22609
22610 if test "x$wx_largefile" = "xyes"; then
22611 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22612 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22613
22614 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22615 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22616 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22617 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22618 echo $ECHO_N "(cached) $ECHO_C" >&6
22619 else
22620
22621 ac_ext=cpp
22622 ac_cpp='$CXXCPP $CPPFLAGS'
22623 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22624 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22625 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22626
22627 cat >conftest.$ac_ext <<_ACEOF
22628 /* confdefs.h. */
22629 _ACEOF
22630 cat confdefs.h >>conftest.$ac_ext
22631 cat >>conftest.$ac_ext <<_ACEOF
22632 /* end confdefs.h. */
22633
22634 int
22635 main ()
22636 {
22637
22638 #ifndef __STDC_EXT__
22639 choke me
22640 #endif
22641
22642 ;
22643 return 0;
22644 }
22645 _ACEOF
22646 rm -f conftest.$ac_objext
22647 if { (ac_try="$ac_compile"
22648 case "(($ac_try" in
22649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22650 *) ac_try_echo=$ac_try;;
22651 esac
22652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22653 (eval "$ac_compile") 2>conftest.er1
22654 ac_status=$?
22655 grep -v '^ *+' conftest.er1 >conftest.err
22656 rm -f conftest.er1
22657 cat conftest.err >&5
22658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22659 (exit $ac_status); } && {
22660 test -z "$ac_cxx_werror_flag" ||
22661 test ! -s conftest.err
22662 } && test -s conftest.$ac_objext; then
22663 wx_cv_STDC_EXT_required=no
22664 else
22665 echo "$as_me: failed program was:" >&5
22666 sed 's/^/| /' conftest.$ac_ext >&5
22667
22668 wx_cv_STDC_EXT_required=yes
22669
22670 fi
22671
22672 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22673 ac_ext=c
22674 ac_cpp='$CPP $CPPFLAGS'
22675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22678
22679
22680
22681 fi
22682 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22683 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22684 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22685 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22686 fi
22687 fi
22688 else
22689 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22690 fi
22691 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22692 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22693 if test "${ac_cv_sys_largefile_source+set}" = set; then
22694 echo $ECHO_N "(cached) $ECHO_C" >&6
22695 else
22696 while :; do
22697 cat >conftest.$ac_ext <<_ACEOF
22698 /* confdefs.h. */
22699 _ACEOF
22700 cat confdefs.h >>conftest.$ac_ext
22701 cat >>conftest.$ac_ext <<_ACEOF
22702 /* end confdefs.h. */
22703 #include <sys/types.h> /* for off_t */
22704 #include <stdio.h>
22705 int
22706 main ()
22707 {
22708 int (*fp) (FILE *, off_t, int) = fseeko;
22709 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22710 ;
22711 return 0;
22712 }
22713 _ACEOF
22714 rm -f conftest.$ac_objext conftest$ac_exeext
22715 if { (ac_try="$ac_link"
22716 case "(($ac_try" in
22717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22718 *) ac_try_echo=$ac_try;;
22719 esac
22720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22721 (eval "$ac_link") 2>conftest.er1
22722 ac_status=$?
22723 grep -v '^ *+' conftest.er1 >conftest.err
22724 rm -f conftest.er1
22725 cat conftest.err >&5
22726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22727 (exit $ac_status); } && {
22728 test -z "$ac_c_werror_flag" ||
22729 test ! -s conftest.err
22730 } && test -s conftest$ac_exeext &&
22731 $as_test_x conftest$ac_exeext; then
22732 ac_cv_sys_largefile_source=no; break
22733 else
22734 echo "$as_me: failed program was:" >&5
22735 sed 's/^/| /' conftest.$ac_ext >&5
22736
22737
22738 fi
22739
22740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22741 conftest$ac_exeext conftest.$ac_ext
22742 cat >conftest.$ac_ext <<_ACEOF
22743 /* confdefs.h. */
22744 _ACEOF
22745 cat confdefs.h >>conftest.$ac_ext
22746 cat >>conftest.$ac_ext <<_ACEOF
22747 /* end confdefs.h. */
22748 #define _LARGEFILE_SOURCE 1
22749 #include <sys/types.h> /* for off_t */
22750 #include <stdio.h>
22751 int
22752 main ()
22753 {
22754 int (*fp) (FILE *, off_t, int) = fseeko;
22755 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22756 ;
22757 return 0;
22758 }
22759 _ACEOF
22760 rm -f conftest.$ac_objext conftest$ac_exeext
22761 if { (ac_try="$ac_link"
22762 case "(($ac_try" in
22763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22764 *) ac_try_echo=$ac_try;;
22765 esac
22766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22767 (eval "$ac_link") 2>conftest.er1
22768 ac_status=$?
22769 grep -v '^ *+' conftest.er1 >conftest.err
22770 rm -f conftest.er1
22771 cat conftest.err >&5
22772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22773 (exit $ac_status); } && {
22774 test -z "$ac_c_werror_flag" ||
22775 test ! -s conftest.err
22776 } && test -s conftest$ac_exeext &&
22777 $as_test_x conftest$ac_exeext; then
22778 ac_cv_sys_largefile_source=1; break
22779 else
22780 echo "$as_me: failed program was:" >&5
22781 sed 's/^/| /' conftest.$ac_ext >&5
22782
22783
22784 fi
22785
22786 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22787 conftest$ac_exeext conftest.$ac_ext
22788 ac_cv_sys_largefile_source=unknown
22789 break
22790 done
22791 fi
22792 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22793 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22794 case $ac_cv_sys_largefile_source in #(
22795 no | unknown) ;;
22796 *)
22797 cat >>confdefs.h <<_ACEOF
22798 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22799 _ACEOF
22800 ;;
22801 esac
22802 rm -f conftest*
22803
22804 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22805 # in glibc 2.1.3, but that breaks too many other things.
22806 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22807 if test $ac_cv_sys_largefile_source != unknown; then
22808
22809 cat >>confdefs.h <<\_ACEOF
22810 #define HAVE_FSEEKO 1
22811 _ACEOF
22812
22813 fi
22814
22815 if test "$ac_cv_sys_largefile_source" != no; then
22816 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22817 fi
22818 fi
22819
22820 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22821 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22822 if test "${ac_cv_c_bigendian+set}" = set; then
22823 echo $ECHO_N "(cached) $ECHO_C" >&6
22824 else
22825 ac_cv_c_bigendian=unknown
22826 # See if sys/param.h defines the BYTE_ORDER macro.
22827 cat >conftest.$ac_ext <<_ACEOF
22828 /* confdefs.h. */
22829 _ACEOF
22830 cat confdefs.h >>conftest.$ac_ext
22831 cat >>conftest.$ac_ext <<_ACEOF
22832 /* end confdefs.h. */
22833 #include <sys/types.h>
22834 #include <sys/param.h>
22835 int
22836 main ()
22837 {
22838
22839 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22840 bogus endian macros
22841 #endif
22842 ;
22843 return 0;
22844 }
22845 _ACEOF
22846 rm -f conftest.$ac_objext
22847 if { (ac_try="$ac_compile"
22848 case "(($ac_try" in
22849 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22850 *) ac_try_echo=$ac_try;;
22851 esac
22852 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22853 (eval "$ac_compile") 2>conftest.er1
22854 ac_status=$?
22855 grep -v '^ *+' conftest.er1 >conftest.err
22856 rm -f conftest.er1
22857 cat conftest.err >&5
22858 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22859 (exit $ac_status); } && {
22860 test -z "$ac_c_werror_flag" ||
22861 test ! -s conftest.err
22862 } && test -s conftest.$ac_objext; then
22863 # It does; now see whether it defined to BIG_ENDIAN or not.
22864 cat >conftest.$ac_ext <<_ACEOF
22865 /* confdefs.h. */
22866 _ACEOF
22867 cat confdefs.h >>conftest.$ac_ext
22868 cat >>conftest.$ac_ext <<_ACEOF
22869 /* end confdefs.h. */
22870 #include <sys/types.h>
22871 #include <sys/param.h>
22872 int
22873 main ()
22874 {
22875
22876 #if BYTE_ORDER != BIG_ENDIAN
22877 not big endian
22878 #endif
22879 ;
22880 return 0;
22881 }
22882 _ACEOF
22883 rm -f conftest.$ac_objext
22884 if { (ac_try="$ac_compile"
22885 case "(($ac_try" in
22886 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22887 *) ac_try_echo=$ac_try;;
22888 esac
22889 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22890 (eval "$ac_compile") 2>conftest.er1
22891 ac_status=$?
22892 grep -v '^ *+' conftest.er1 >conftest.err
22893 rm -f conftest.er1
22894 cat conftest.err >&5
22895 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22896 (exit $ac_status); } && {
22897 test -z "$ac_c_werror_flag" ||
22898 test ! -s conftest.err
22899 } && test -s conftest.$ac_objext; then
22900 ac_cv_c_bigendian=yes
22901 else
22902 echo "$as_me: failed program was:" >&5
22903 sed 's/^/| /' conftest.$ac_ext >&5
22904
22905 ac_cv_c_bigendian=no
22906 fi
22907
22908 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22909 else
22910 echo "$as_me: failed program was:" >&5
22911 sed 's/^/| /' conftest.$ac_ext >&5
22912
22913
22914 fi
22915
22916 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22917 if test $ac_cv_c_bigendian = unknown; then
22918 if test "$cross_compiling" = yes; then
22919 ac_cv_c_bigendian=unknown
22920 else
22921 cat >conftest.$ac_ext <<_ACEOF
22922 /* confdefs.h. */
22923 _ACEOF
22924 cat confdefs.h >>conftest.$ac_ext
22925 cat >>conftest.$ac_ext <<_ACEOF
22926 /* end confdefs.h. */
22927 main () {
22928 /* Are we little or big endian? From Harbison&Steele. */
22929 union
22930 {
22931 long l;
22932 char c[sizeof (long)];
22933 } u;
22934 u.l = 1;
22935 exit (u.c[sizeof (long) - 1] == 1);
22936 }
22937 _ACEOF
22938 rm -f conftest$ac_exeext
22939 if { (ac_try="$ac_link"
22940 case "(($ac_try" in
22941 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22942 *) ac_try_echo=$ac_try;;
22943 esac
22944 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22945 (eval "$ac_link") 2>&5
22946 ac_status=$?
22947 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22948 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22949 { (case "(($ac_try" in
22950 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22951 *) ac_try_echo=$ac_try;;
22952 esac
22953 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22954 (eval "$ac_try") 2>&5
22955 ac_status=$?
22956 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22957 (exit $ac_status); }; }; then
22958 ac_cv_c_bigendian=no
22959 else
22960 echo "$as_me: program exited with status $ac_status" >&5
22961 echo "$as_me: failed program was:" >&5
22962 sed 's/^/| /' conftest.$ac_ext >&5
22963
22964 ( exit $ac_status )
22965 ac_cv_c_bigendian=yes
22966 fi
22967 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22968 fi
22969
22970
22971 fi
22972 fi
22973 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22974 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22975 if test $ac_cv_c_bigendian = unknown; then
22976 { 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
22977 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;}
22978 fi
22979 if test $ac_cv_c_bigendian = yes; then
22980 cat >>confdefs.h <<\_ACEOF
22981 #define WORDS_BIGENDIAN 1
22982 _ACEOF
22983
22984 fi
22985
22986
22987
22988
22989 ac_ext=cpp
22990 ac_cpp='$CXXCPP $CPPFLAGS'
22991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22994
22995
22996 { echo "$as_me:$LINENO: checking for iostream" >&5
22997 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22998 if test "${ac_cv_header_iostream+set}" = set; then
22999 echo $ECHO_N "(cached) $ECHO_C" >&6
23000 else
23001 cat >conftest.$ac_ext <<_ACEOF
23002 /* confdefs.h. */
23003 _ACEOF
23004 cat confdefs.h >>conftest.$ac_ext
23005 cat >>conftest.$ac_ext <<_ACEOF
23006 /* end confdefs.h. */
23007
23008
23009 #include <iostream>
23010 _ACEOF
23011 rm -f conftest.$ac_objext
23012 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
23019 ac_status=$?
23020 grep -v '^ *+' conftest.er1 >conftest.err
23021 rm -f conftest.er1
23022 cat conftest.err >&5
23023 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23024 (exit $ac_status); } && {
23025 test -z "$ac_cxx_werror_flag" ||
23026 test ! -s conftest.err
23027 } && test -s conftest.$ac_objext; then
23028 ac_cv_header_iostream=yes
23029 else
23030 echo "$as_me: failed program was:" >&5
23031 sed 's/^/| /' conftest.$ac_ext >&5
23032
23033 ac_cv_header_iostream=no
23034 fi
23035
23036 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23037 fi
23038 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
23039 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
23040
23041
23042
23043 if test "$ac_cv_header_iostream" = "yes" ; then
23044 :
23045 else
23046 cat >>confdefs.h <<\_ACEOF
23047 #define wxUSE_IOSTREAMH 1
23048 _ACEOF
23049
23050 fi
23051
23052 ac_ext=c
23053 ac_cpp='$CPP $CPPFLAGS'
23054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23057
23058
23059
23060
23061 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
23062 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
23063 if test "${wx_cv_cpp_bool+set}" = set; then
23064 echo $ECHO_N "(cached) $ECHO_C" >&6
23065 else
23066
23067
23068 ac_ext=cpp
23069 ac_cpp='$CXXCPP $CPPFLAGS'
23070 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23071 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23072 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23073
23074
23075 cat >conftest.$ac_ext <<_ACEOF
23076 /* confdefs.h. */
23077 _ACEOF
23078 cat confdefs.h >>conftest.$ac_ext
23079 cat >>conftest.$ac_ext <<_ACEOF
23080 /* end confdefs.h. */
23081
23082
23083 int
23084 main ()
23085 {
23086
23087 bool b = true;
23088
23089 return 0;
23090
23091 ;
23092 return 0;
23093 }
23094 _ACEOF
23095 rm -f conftest.$ac_objext
23096 if { (ac_try="$ac_compile"
23097 case "(($ac_try" in
23098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23099 *) ac_try_echo=$ac_try;;
23100 esac
23101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23102 (eval "$ac_compile") 2>conftest.er1
23103 ac_status=$?
23104 grep -v '^ *+' conftest.er1 >conftest.err
23105 rm -f conftest.er1
23106 cat conftest.err >&5
23107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23108 (exit $ac_status); } && {
23109 test -z "$ac_cxx_werror_flag" ||
23110 test ! -s conftest.err
23111 } && test -s conftest.$ac_objext; then
23112
23113 wx_cv_cpp_bool=yes
23114
23115 else
23116 echo "$as_me: failed program was:" >&5
23117 sed 's/^/| /' conftest.$ac_ext >&5
23118
23119
23120 wx_cv_cpp_bool=no
23121
23122
23123 fi
23124
23125 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23126
23127 ac_ext=c
23128 ac_cpp='$CPP $CPPFLAGS'
23129 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23130 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23131 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23132
23133
23134 fi
23135 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
23136 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
23137
23138 if test "$wx_cv_cpp_bool" = "yes"; then
23139 cat >>confdefs.h <<\_ACEOF
23140 #define HAVE_BOOL 1
23141 _ACEOF
23142
23143 fi
23144
23145
23146
23147 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
23148 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
23149 if test "${wx_cv_explicit+set}" = set; then
23150 echo $ECHO_N "(cached) $ECHO_C" >&6
23151 else
23152
23153
23154 ac_ext=cpp
23155 ac_cpp='$CXXCPP $CPPFLAGS'
23156 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23157 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23158 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23159
23160
23161 cat >conftest.$ac_ext <<_ACEOF
23162 /* confdefs.h. */
23163 _ACEOF
23164 cat confdefs.h >>conftest.$ac_ext
23165 cat >>conftest.$ac_ext <<_ACEOF
23166 /* end confdefs.h. */
23167
23168 class Foo { public: explicit Foo(int) {} };
23169
23170 int
23171 main ()
23172 {
23173
23174 return 0;
23175
23176 ;
23177 return 0;
23178 }
23179 _ACEOF
23180 rm -f conftest.$ac_objext
23181 if { (ac_try="$ac_compile"
23182 case "(($ac_try" in
23183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23184 *) ac_try_echo=$ac_try;;
23185 esac
23186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23187 (eval "$ac_compile") 2>conftest.er1
23188 ac_status=$?
23189 grep -v '^ *+' conftest.er1 >conftest.err
23190 rm -f conftest.er1
23191 cat conftest.err >&5
23192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23193 (exit $ac_status); } && {
23194 test -z "$ac_cxx_werror_flag" ||
23195 test ! -s conftest.err
23196 } && test -s conftest.$ac_objext; then
23197
23198 cat >conftest.$ac_ext <<_ACEOF
23199 /* confdefs.h. */
23200 _ACEOF
23201 cat confdefs.h >>conftest.$ac_ext
23202 cat >>conftest.$ac_ext <<_ACEOF
23203 /* end confdefs.h. */
23204
23205 class Foo { public: explicit Foo(int) {} };
23206 static void TakeFoo(const Foo& foo) { }
23207
23208 int
23209 main ()
23210 {
23211
23212 TakeFoo(17);
23213 return 0;
23214
23215 ;
23216 return 0;
23217 }
23218 _ACEOF
23219 rm -f conftest.$ac_objext
23220 if { (ac_try="$ac_compile"
23221 case "(($ac_try" in
23222 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23223 *) ac_try_echo=$ac_try;;
23224 esac
23225 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23226 (eval "$ac_compile") 2>conftest.er1
23227 ac_status=$?
23228 grep -v '^ *+' conftest.er1 >conftest.err
23229 rm -f conftest.er1
23230 cat conftest.err >&5
23231 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23232 (exit $ac_status); } && {
23233 test -z "$ac_cxx_werror_flag" ||
23234 test ! -s conftest.err
23235 } && test -s conftest.$ac_objext; then
23236 wx_cv_explicit=no
23237 else
23238 echo "$as_me: failed program was:" >&5
23239 sed 's/^/| /' conftest.$ac_ext >&5
23240
23241 wx_cv_explicit=yes
23242
23243 fi
23244
23245 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23246
23247 else
23248 echo "$as_me: failed program was:" >&5
23249 sed 's/^/| /' conftest.$ac_ext >&5
23250
23251 wx_cv_explicit=no
23252
23253 fi
23254
23255 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23256
23257 ac_ext=c
23258 ac_cpp='$CPP $CPPFLAGS'
23259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23262
23263
23264 fi
23265 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
23266 echo "${ECHO_T}$wx_cv_explicit" >&6; }
23267
23268 if test "$wx_cv_explicit" = "yes"; then
23269 cat >>confdefs.h <<\_ACEOF
23270 #define HAVE_EXPLICIT 1
23271 _ACEOF
23272
23273 fi
23274
23275
23276 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
23277 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
23278 if test "${ac_cv_cxx_const_cast+set}" = set; then
23279 echo $ECHO_N "(cached) $ECHO_C" >&6
23280 else
23281
23282 ac_ext=cpp
23283 ac_cpp='$CXXCPP $CPPFLAGS'
23284 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23285 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23286 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23287
23288 cat >conftest.$ac_ext <<_ACEOF
23289 /* confdefs.h. */
23290 _ACEOF
23291 cat confdefs.h >>conftest.$ac_ext
23292 cat >>conftest.$ac_ext <<_ACEOF
23293 /* end confdefs.h. */
23294
23295 int
23296 main ()
23297 {
23298 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
23299 ;
23300 return 0;
23301 }
23302 _ACEOF
23303 rm -f conftest.$ac_objext
23304 if { (ac_try="$ac_compile"
23305 case "(($ac_try" in
23306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23307 *) ac_try_echo=$ac_try;;
23308 esac
23309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23310 (eval "$ac_compile") 2>conftest.er1
23311 ac_status=$?
23312 grep -v '^ *+' conftest.er1 >conftest.err
23313 rm -f conftest.er1
23314 cat conftest.err >&5
23315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23316 (exit $ac_status); } && {
23317 test -z "$ac_cxx_werror_flag" ||
23318 test ! -s conftest.err
23319 } && test -s conftest.$ac_objext; then
23320 ac_cv_cxx_const_cast=yes
23321 else
23322 echo "$as_me: failed program was:" >&5
23323 sed 's/^/| /' conftest.$ac_ext >&5
23324
23325 ac_cv_cxx_const_cast=no
23326 fi
23327
23328 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23329 ac_ext=c
23330 ac_cpp='$CPP $CPPFLAGS'
23331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23334
23335
23336 fi
23337 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23338 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23339 if test "$ac_cv_cxx_const_cast" = yes; then
23340
23341 cat >>confdefs.h <<\_ACEOF
23342 #define HAVE_CONST_CAST
23343 _ACEOF
23344
23345 fi
23346
23347 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23348 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23349 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23350 echo $ECHO_N "(cached) $ECHO_C" >&6
23351 else
23352
23353 ac_ext=cpp
23354 ac_cpp='$CXXCPP $CPPFLAGS'
23355 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23356 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23357 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23358
23359 cat >conftest.$ac_ext <<_ACEOF
23360 /* confdefs.h. */
23361 _ACEOF
23362 cat confdefs.h >>conftest.$ac_ext
23363 cat >>conftest.$ac_ext <<_ACEOF
23364 /* end confdefs.h. */
23365 #include <typeinfo>
23366 class Base { public : Base () {} virtual void f () = 0;};
23367 class Derived : public Base { public : Derived () {} virtual void f () {} };
23368 class Unrelated { public : Unrelated () {} };
23369 int g (Unrelated&) { return 0; }
23370 int
23371 main ()
23372 {
23373
23374 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23375 ;
23376 return 0;
23377 }
23378 _ACEOF
23379 rm -f conftest.$ac_objext
23380 if { (ac_try="$ac_compile"
23381 case "(($ac_try" in
23382 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23383 *) ac_try_echo=$ac_try;;
23384 esac
23385 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23386 (eval "$ac_compile") 2>conftest.er1
23387 ac_status=$?
23388 grep -v '^ *+' conftest.er1 >conftest.err
23389 rm -f conftest.er1
23390 cat conftest.err >&5
23391 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23392 (exit $ac_status); } && {
23393 test -z "$ac_cxx_werror_flag" ||
23394 test ! -s conftest.err
23395 } && test -s conftest.$ac_objext; then
23396 ac_cv_cxx_reinterpret_cast=yes
23397 else
23398 echo "$as_me: failed program was:" >&5
23399 sed 's/^/| /' conftest.$ac_ext >&5
23400
23401 ac_cv_cxx_reinterpret_cast=no
23402 fi
23403
23404 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23405 ac_ext=c
23406 ac_cpp='$CPP $CPPFLAGS'
23407 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23408 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23409 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23410
23411
23412 fi
23413 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23414 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23415 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23416
23417 cat >>confdefs.h <<\_ACEOF
23418 #define HAVE_REINTERPRET_CAST
23419 _ACEOF
23420
23421 fi
23422
23423 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23424 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23425 if test "${ac_cv_cxx_static_cast+set}" = set; then
23426 echo $ECHO_N "(cached) $ECHO_C" >&6
23427 else
23428
23429 ac_ext=cpp
23430 ac_cpp='$CXXCPP $CPPFLAGS'
23431 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23432 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23433 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23434
23435 cat >conftest.$ac_ext <<_ACEOF
23436 /* confdefs.h. */
23437 _ACEOF
23438 cat confdefs.h >>conftest.$ac_ext
23439 cat >>conftest.$ac_ext <<_ACEOF
23440 /* end confdefs.h. */
23441 #include <typeinfo>
23442 class Base { public : Base () {} virtual void f () = 0; };
23443 class Derived : public Base { public : Derived () {} virtual void f () {} };
23444 int g (Derived&) { return 0; }
23445 int
23446 main ()
23447 {
23448
23449 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23450 ;
23451 return 0;
23452 }
23453 _ACEOF
23454 rm -f conftest.$ac_objext
23455 if { (ac_try="$ac_compile"
23456 case "(($ac_try" in
23457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23458 *) ac_try_echo=$ac_try;;
23459 esac
23460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23461 (eval "$ac_compile") 2>conftest.er1
23462 ac_status=$?
23463 grep -v '^ *+' conftest.er1 >conftest.err
23464 rm -f conftest.er1
23465 cat conftest.err >&5
23466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23467 (exit $ac_status); } && {
23468 test -z "$ac_cxx_werror_flag" ||
23469 test ! -s conftest.err
23470 } && test -s conftest.$ac_objext; then
23471 ac_cv_cxx_static_cast=yes
23472 else
23473 echo "$as_me: failed program was:" >&5
23474 sed 's/^/| /' conftest.$ac_ext >&5
23475
23476 ac_cv_cxx_static_cast=no
23477 fi
23478
23479 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23480 ac_ext=c
23481 ac_cpp='$CPP $CPPFLAGS'
23482 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23483 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23484 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23485
23486
23487 fi
23488 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23489 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23490 if test "$ac_cv_cxx_static_cast" = yes; then
23491
23492 cat >>confdefs.h <<\_ACEOF
23493 #define HAVE_STATIC_CAST
23494 _ACEOF
23495
23496 fi
23497
23498
23499 if test "x$SUNCXX" = xyes; then
23500 CXXFLAGS="-features=tmplife $CXXFLAGS"
23501 fi
23502
23503 if test "x$SUNCC" = xyes; then
23504 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23505 fi
23506
23507 if test "x$SGICC" = "xyes"; then
23508 CFLAGS="-woff 3970 $CFLAGS"
23509 fi
23510 if test "x$SGICXX" = "xyes"; then
23511 CXXFLAGS="-woff 3970 $CXXFLAGS"
23512 fi
23513
23514 if test "x$HPCC" = "xyes"; then
23515 CFLAGS="+W 2011,2450 $CFLAGS"
23516 fi
23517 if test "x$HPCXX" = "xyes"; then
23518 CXXFLAGS="+W 2340 $CXXFLAGS"
23519 fi
23520
23521 if test "x$COMPAQCXX" = "xyes"; then
23522 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23523 fi
23524
23525 ac_ext=cpp
23526 ac_cpp='$CXXCPP $CPPFLAGS'
23527 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23528 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23529 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23530
23531
23532 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23533 if test "$wxUSE_UNICODE" = "yes"; then
23534 std_string="std::wstring"
23535 char_type="wchar_t"
23536 else
23537 std_string="std::string"
23538 char_type="char"
23539 fi
23540
23541 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23542 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23543 if test "${wx_cv_class_stdstring+set}" = set; then
23544 echo $ECHO_N "(cached) $ECHO_C" >&6
23545 else
23546
23547 cat >conftest.$ac_ext <<_ACEOF
23548 /* confdefs.h. */
23549 _ACEOF
23550 cat confdefs.h >>conftest.$ac_ext
23551 cat >>conftest.$ac_ext <<_ACEOF
23552 /* end confdefs.h. */
23553 #include <string>
23554 int
23555 main ()
23556 {
23557 $std_string foo;
23558 ;
23559 return 0;
23560 }
23561 _ACEOF
23562 rm -f conftest.$ac_objext
23563 if { (ac_try="$ac_compile"
23564 case "(($ac_try" in
23565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23566 *) ac_try_echo=$ac_try;;
23567 esac
23568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23569 (eval "$ac_compile") 2>conftest.er1
23570 ac_status=$?
23571 grep -v '^ *+' conftest.er1 >conftest.err
23572 rm -f conftest.er1
23573 cat conftest.err >&5
23574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23575 (exit $ac_status); } && {
23576 test -z "$ac_cxx_werror_flag" ||
23577 test ! -s conftest.err
23578 } && test -s conftest.$ac_objext; then
23579 wx_cv_class_stdstring=yes
23580 else
23581 echo "$as_me: failed program was:" >&5
23582 sed 's/^/| /' conftest.$ac_ext >&5
23583
23584 wx_cv_class_stdstring=no
23585
23586 fi
23587
23588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23589
23590
23591 fi
23592 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23593 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23594
23595 if test "$wx_cv_class_stdstring" = yes; then
23596 if test "$wxUSE_UNICODE" = "yes"; then
23597 cat >>confdefs.h <<\_ACEOF
23598 #define HAVE_STD_WSTRING 1
23599 _ACEOF
23600
23601 fi
23602 else
23603 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23604 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23605 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23606 echo $ECHO_N "(cached) $ECHO_C" >&6
23607 else
23608
23609 cat >conftest.$ac_ext <<_ACEOF
23610 /* confdefs.h. */
23611 _ACEOF
23612 cat confdefs.h >>conftest.$ac_ext
23613 cat >>conftest.$ac_ext <<_ACEOF
23614 /* end confdefs.h. */
23615
23616 #ifdef HAVE_WCHAR_H
23617 # ifdef __CYGWIN__
23618 # include <stddef.h>
23619 # endif
23620 # include <wchar.h>
23621 #endif
23622 #ifdef HAVE_STDLIB_H
23623 # include <stdlib.h>
23624 #endif
23625 #include <stdio.h>
23626 #include <string>
23627
23628 int
23629 main ()
23630 {
23631 std::basic_string<$char_type> foo;
23632 const $char_type* dummy = foo.c_str();
23633 ;
23634 return 0;
23635 }
23636 _ACEOF
23637 rm -f conftest.$ac_objext
23638 if { (ac_try="$ac_compile"
23639 case "(($ac_try" in
23640 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23641 *) ac_try_echo=$ac_try;;
23642 esac
23643 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23644 (eval "$ac_compile") 2>conftest.er1
23645 ac_status=$?
23646 grep -v '^ *+' conftest.er1 >conftest.err
23647 rm -f conftest.er1
23648 cat conftest.err >&5
23649 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23650 (exit $ac_status); } && {
23651 test -z "$ac_cxx_werror_flag" ||
23652 test ! -s conftest.err
23653 } && test -s conftest.$ac_objext; then
23654 wx_cv_class_stdbasicstring=yes
23655 else
23656 echo "$as_me: failed program was:" >&5
23657 sed 's/^/| /' conftest.$ac_ext >&5
23658
23659 wx_cv_class_stdbasicstring=no
23660
23661 fi
23662
23663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23664
23665
23666 fi
23667 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23668 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23669
23670 if test "$wx_cv_class_stdbasicstring" != yes; then
23671 if test "$wxUSE_STL" = "yes"; then
23672 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23673 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23674 { (exit 1); exit 1; }; }
23675 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23676 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23677 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23678 { (exit 1); exit 1; }; }
23679 else
23680 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23681 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23682 wxUSE_STD_STRING=no
23683 fi
23684 fi
23685 fi
23686 fi
23687
23688 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23689 { echo "$as_me:$LINENO: checking for std::istream" >&5
23690 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23691 if test "${ac_cv_type_std__istream+set}" = set; then
23692 echo $ECHO_N "(cached) $ECHO_C" >&6
23693 else
23694 cat >conftest.$ac_ext <<_ACEOF
23695 /* confdefs.h. */
23696 _ACEOF
23697 cat confdefs.h >>conftest.$ac_ext
23698 cat >>conftest.$ac_ext <<_ACEOF
23699 /* end confdefs.h. */
23700 #include <iostream>
23701
23702 typedef std::istream ac__type_new_;
23703 int
23704 main ()
23705 {
23706 if ((ac__type_new_ *) 0)
23707 return 0;
23708 if (sizeof (ac__type_new_))
23709 return 0;
23710 ;
23711 return 0;
23712 }
23713 _ACEOF
23714 rm -f conftest.$ac_objext
23715 if { (ac_try="$ac_compile"
23716 case "(($ac_try" in
23717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23718 *) ac_try_echo=$ac_try;;
23719 esac
23720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23721 (eval "$ac_compile") 2>conftest.er1
23722 ac_status=$?
23723 grep -v '^ *+' conftest.er1 >conftest.err
23724 rm -f conftest.er1
23725 cat conftest.err >&5
23726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23727 (exit $ac_status); } && {
23728 test -z "$ac_cxx_werror_flag" ||
23729 test ! -s conftest.err
23730 } && test -s conftest.$ac_objext; then
23731 ac_cv_type_std__istream=yes
23732 else
23733 echo "$as_me: failed program was:" >&5
23734 sed 's/^/| /' conftest.$ac_ext >&5
23735
23736 ac_cv_type_std__istream=no
23737 fi
23738
23739 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23740 fi
23741 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23742 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23743 if test $ac_cv_type_std__istream = yes; then
23744
23745 cat >>confdefs.h <<_ACEOF
23746 #define HAVE_STD__ISTREAM 1
23747 _ACEOF
23748
23749
23750 else
23751 wxUSE_STD_IOSTREAM=no
23752 fi
23753 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23754 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23755 if test "${ac_cv_type_std__ostream+set}" = set; then
23756 echo $ECHO_N "(cached) $ECHO_C" >&6
23757 else
23758 cat >conftest.$ac_ext <<_ACEOF
23759 /* confdefs.h. */
23760 _ACEOF
23761 cat confdefs.h >>conftest.$ac_ext
23762 cat >>conftest.$ac_ext <<_ACEOF
23763 /* end confdefs.h. */
23764 #include <iostream>
23765
23766 typedef std::ostream ac__type_new_;
23767 int
23768 main ()
23769 {
23770 if ((ac__type_new_ *) 0)
23771 return 0;
23772 if (sizeof (ac__type_new_))
23773 return 0;
23774 ;
23775 return 0;
23776 }
23777 _ACEOF
23778 rm -f conftest.$ac_objext
23779 if { (ac_try="$ac_compile"
23780 case "(($ac_try" in
23781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23782 *) ac_try_echo=$ac_try;;
23783 esac
23784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23785 (eval "$ac_compile") 2>conftest.er1
23786 ac_status=$?
23787 grep -v '^ *+' conftest.er1 >conftest.err
23788 rm -f conftest.er1
23789 cat conftest.err >&5
23790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23791 (exit $ac_status); } && {
23792 test -z "$ac_cxx_werror_flag" ||
23793 test ! -s conftest.err
23794 } && test -s conftest.$ac_objext; then
23795 ac_cv_type_std__ostream=yes
23796 else
23797 echo "$as_me: failed program was:" >&5
23798 sed 's/^/| /' conftest.$ac_ext >&5
23799
23800 ac_cv_type_std__ostream=no
23801 fi
23802
23803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23804 fi
23805 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23806 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23807 if test $ac_cv_type_std__ostream = yes; then
23808
23809 cat >>confdefs.h <<_ACEOF
23810 #define HAVE_STD__OSTREAM 1
23811 _ACEOF
23812
23813
23814 else
23815 wxUSE_STD_IOSTREAM=no
23816 fi
23817
23818
23819 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23820 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23821 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23822 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23823 { (exit 1); exit 1; }; }
23824 else
23825 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23826 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23827 fi
23828 fi
23829 fi
23830
23831 if test "$wxUSE_STL" = "yes"; then
23832 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23833 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23834 if test "${wx_cv_lib_stl+set}" = set; then
23835 echo $ECHO_N "(cached) $ECHO_C" >&6
23836 else
23837 cat >conftest.$ac_ext <<_ACEOF
23838 /* confdefs.h. */
23839 _ACEOF
23840 cat confdefs.h >>conftest.$ac_ext
23841 cat >>conftest.$ac_ext <<_ACEOF
23842 /* end confdefs.h. */
23843 #include <string>
23844 #include <functional>
23845 #include <algorithm>
23846 #include <vector>
23847 #include <list>
23848 int
23849 main ()
23850 {
23851 std::vector<int> moo;
23852 std::list<int> foo;
23853 std::vector<int>::iterator it =
23854 std::find_if(moo.begin(), moo.end(),
23855 std::bind2nd(std::less<int>(), 3));
23856 ;
23857 return 0;
23858 }
23859 _ACEOF
23860 rm -f conftest.$ac_objext
23861 if { (ac_try="$ac_compile"
23862 case "(($ac_try" in
23863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23864 *) ac_try_echo=$ac_try;;
23865 esac
23866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23867 (eval "$ac_compile") 2>conftest.er1
23868 ac_status=$?
23869 grep -v '^ *+' conftest.er1 >conftest.err
23870 rm -f conftest.er1
23871 cat conftest.err >&5
23872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23873 (exit $ac_status); } && {
23874 test -z "$ac_cxx_werror_flag" ||
23875 test ! -s conftest.err
23876 } && test -s conftest.$ac_objext; then
23877 wx_cv_lib_stl=yes
23878 else
23879 echo "$as_me: failed program was:" >&5
23880 sed 's/^/| /' conftest.$ac_ext >&5
23881
23882 wx_cv_lib_stl=no
23883
23884 fi
23885
23886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23887
23888 fi
23889 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23890 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23891
23892 if test "$wx_cv_lib_stl" != yes; then
23893 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23894 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23895 { (exit 1); exit 1; }; }
23896 fi
23897
23898 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23899 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23900 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23901 echo $ECHO_N "(cached) $ECHO_C" >&6
23902 else
23903 cat >conftest.$ac_ext <<_ACEOF
23904 /* confdefs.h. */
23905 _ACEOF
23906 cat confdefs.h >>conftest.$ac_ext
23907 cat >>conftest.$ac_ext <<_ACEOF
23908 /* end confdefs.h. */
23909 #include <string>
23910 int
23911 main ()
23912 {
23913 std::string foo, bar;
23914 foo.compare(bar);
23915 foo.compare(1, 1, bar);
23916 foo.compare(1, 1, bar, 1, 1);
23917 foo.compare("");
23918 foo.compare(1, 1, "");
23919 foo.compare(1, 1, "", 2);
23920 ;
23921 return 0;
23922 }
23923 _ACEOF
23924 rm -f conftest.$ac_objext
23925 if { (ac_try="$ac_compile"
23926 case "(($ac_try" in
23927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23928 *) ac_try_echo=$ac_try;;
23929 esac
23930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23931 (eval "$ac_compile") 2>conftest.er1
23932 ac_status=$?
23933 grep -v '^ *+' conftest.er1 >conftest.err
23934 rm -f conftest.er1
23935 cat conftest.err >&5
23936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23937 (exit $ac_status); } && {
23938 test -z "$ac_cxx_werror_flag" ||
23939 test ! -s conftest.err
23940 } && test -s conftest.$ac_objext; then
23941 wx_cv_func_stdstring_compare=yes
23942 else
23943 echo "$as_me: failed program was:" >&5
23944 sed 's/^/| /' conftest.$ac_ext >&5
23945
23946 wx_cv_func_stdstring_compare=no
23947
23948 fi
23949
23950 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23951
23952 fi
23953 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23954 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23955
23956 if test "$wx_cv_func_stdstring_compare" = yes; then
23957 cat >>confdefs.h <<\_ACEOF
23958 #define HAVE_STD_STRING_COMPARE 1
23959 _ACEOF
23960
23961 fi
23962
23963 { echo "$as_me:$LINENO: checking for hash_map" >&5
23964 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23965 if test "${ac_cv_header_hash_map+set}" = set; then
23966 echo $ECHO_N "(cached) $ECHO_C" >&6
23967 else
23968 cat >conftest.$ac_ext <<_ACEOF
23969 /* confdefs.h. */
23970 _ACEOF
23971 cat confdefs.h >>conftest.$ac_ext
23972 cat >>conftest.$ac_ext <<_ACEOF
23973 /* end confdefs.h. */
23974
23975
23976
23977 #include <hash_map>
23978 _ACEOF
23979 rm -f conftest.$ac_objext
23980 if { (ac_try="$ac_compile"
23981 case "(($ac_try" in
23982 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23983 *) ac_try_echo=$ac_try;;
23984 esac
23985 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23986 (eval "$ac_compile") 2>conftest.er1
23987 ac_status=$?
23988 grep -v '^ *+' conftest.er1 >conftest.err
23989 rm -f conftest.er1
23990 cat conftest.err >&5
23991 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23992 (exit $ac_status); } && {
23993 test -z "$ac_cxx_werror_flag" ||
23994 test ! -s conftest.err
23995 } && test -s conftest.$ac_objext; then
23996 ac_cv_header_hash_map=yes
23997 else
23998 echo "$as_me: failed program was:" >&5
23999 sed 's/^/| /' conftest.$ac_ext >&5
24000
24001 ac_cv_header_hash_map=no
24002 fi
24003
24004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24005 fi
24006 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
24007 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
24008 if test $ac_cv_header_hash_map = yes; then
24009 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
24010 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
24011 if test "${wx_cv_class_stdhashmapset+set}" = set; then
24012 echo $ECHO_N "(cached) $ECHO_C" >&6
24013 else
24014 cat >conftest.$ac_ext <<_ACEOF
24015 /* confdefs.h. */
24016 _ACEOF
24017 cat confdefs.h >>conftest.$ac_ext
24018 cat >>conftest.$ac_ext <<_ACEOF
24019 /* end confdefs.h. */
24020 #include <hash_map>
24021 #include <hash_set>
24022 int
24023 main ()
24024 {
24025 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
24026 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
24027 ;
24028 return 0;
24029 }
24030 _ACEOF
24031 rm -f conftest.$ac_objext
24032 if { (ac_try="$ac_compile"
24033 case "(($ac_try" in
24034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24035 *) ac_try_echo=$ac_try;;
24036 esac
24037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24038 (eval "$ac_compile") 2>conftest.er1
24039 ac_status=$?
24040 grep -v '^ *+' conftest.er1 >conftest.err
24041 rm -f conftest.er1
24042 cat conftest.err >&5
24043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24044 (exit $ac_status); } && {
24045 test -z "$ac_cxx_werror_flag" ||
24046 test ! -s conftest.err
24047 } && test -s conftest.$ac_objext; then
24048 wx_cv_class_stdhashmapset=yes
24049 else
24050 echo "$as_me: failed program was:" >&5
24051 sed 's/^/| /' conftest.$ac_ext >&5
24052
24053 wx_cv_class_stdhashmapset=no
24054 fi
24055
24056 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24057
24058
24059 fi
24060 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
24061 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
24062 fi
24063
24064
24065
24066 if test "$wx_cv_class_stdhashmapset" = yes; then
24067 cat >>confdefs.h <<\_ACEOF
24068 #define HAVE_HASH_MAP 1
24069 _ACEOF
24070
24071 cat >>confdefs.h <<\_ACEOF
24072 #define HAVE_STD_HASH_MAP 1
24073 _ACEOF
24074
24075 fi
24076
24077 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
24078 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
24079 if test "${ac_cv_header_ext_hash_map+set}" = set; then
24080 echo $ECHO_N "(cached) $ECHO_C" >&6
24081 else
24082 cat >conftest.$ac_ext <<_ACEOF
24083 /* confdefs.h. */
24084 _ACEOF
24085 cat confdefs.h >>conftest.$ac_ext
24086 cat >>conftest.$ac_ext <<_ACEOF
24087 /* end confdefs.h. */
24088
24089
24090
24091 #include <ext/hash_map>
24092 _ACEOF
24093 rm -f conftest.$ac_objext
24094 if { (ac_try="$ac_compile"
24095 case "(($ac_try" in
24096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24097 *) ac_try_echo=$ac_try;;
24098 esac
24099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24100 (eval "$ac_compile") 2>conftest.er1
24101 ac_status=$?
24102 grep -v '^ *+' conftest.er1 >conftest.err
24103 rm -f conftest.er1
24104 cat conftest.err >&5
24105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24106 (exit $ac_status); } && {
24107 test -z "$ac_cxx_werror_flag" ||
24108 test ! -s conftest.err
24109 } && test -s conftest.$ac_objext; then
24110 ac_cv_header_ext_hash_map=yes
24111 else
24112 echo "$as_me: failed program was:" >&5
24113 sed 's/^/| /' conftest.$ac_ext >&5
24114
24115 ac_cv_header_ext_hash_map=no
24116 fi
24117
24118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24119 fi
24120 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
24121 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
24122 if test $ac_cv_header_ext_hash_map = yes; then
24123 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
24124 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
24125 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
24126 echo $ECHO_N "(cached) $ECHO_C" >&6
24127 else
24128 cat >conftest.$ac_ext <<_ACEOF
24129 /* confdefs.h. */
24130 _ACEOF
24131 cat confdefs.h >>conftest.$ac_ext
24132 cat >>conftest.$ac_ext <<_ACEOF
24133 /* end confdefs.h. */
24134 #include <ext/hash_map>
24135 #include <ext/hash_set>
24136 int
24137 main ()
24138 {
24139 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
24140 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
24141 ;
24142 return 0;
24143 }
24144 _ACEOF
24145 rm -f conftest.$ac_objext
24146 if { (ac_try="$ac_compile"
24147 case "(($ac_try" in
24148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24149 *) ac_try_echo=$ac_try;;
24150 esac
24151 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24152 (eval "$ac_compile") 2>conftest.er1
24153 ac_status=$?
24154 grep -v '^ *+' conftest.er1 >conftest.err
24155 rm -f conftest.er1
24156 cat conftest.err >&5
24157 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24158 (exit $ac_status); } && {
24159 test -z "$ac_cxx_werror_flag" ||
24160 test ! -s conftest.err
24161 } && test -s conftest.$ac_objext; then
24162 wx_cv_class_gnuhashmapset=yes
24163 else
24164 echo "$as_me: failed program was:" >&5
24165 sed 's/^/| /' conftest.$ac_ext >&5
24166
24167 wx_cv_class_gnuhashmapset=no
24168 fi
24169
24170 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24171
24172
24173 fi
24174 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
24175 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
24176 fi
24177
24178
24179
24180 if test "$wx_cv_class_gnuhashmapset" = yes; then
24181 cat >>confdefs.h <<\_ACEOF
24182 #define HAVE_EXT_HASH_MAP 1
24183 _ACEOF
24184
24185 cat >>confdefs.h <<\_ACEOF
24186 #define HAVE_GNU_CXX_HASH_MAP 1
24187 _ACEOF
24188
24189 fi
24190 fi
24191
24192 ac_ext=c
24193 ac_cpp='$CPP $CPPFLAGS'
24194 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24195 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24196 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24197
24198
24199
24200 SEARCH_INCLUDE="\
24201 /usr/local/include \
24202 \
24203 /usr/Motif-2.1/include \
24204 /usr/Motif-1.2/include \
24205 /usr/include/Motif1.2 \
24206 \
24207 /usr/dt/include \
24208 /usr/openwin/include \
24209 \
24210 /usr/include/Xm \
24211 \
24212 /usr/X11R6/include \
24213 /usr/X11R6.4/include \
24214 /usr/X11R5/include \
24215 /usr/X11R4/include \
24216 \
24217 /usr/include/X11R6 \
24218 /usr/include/X11R5 \
24219 /usr/include/X11R4 \
24220 \
24221 /usr/local/X11R6/include \
24222 /usr/local/X11R5/include \
24223 /usr/local/X11R4/include \
24224 \
24225 /usr/local/include/X11R6 \
24226 /usr/local/include/X11R5 \
24227 /usr/local/include/X11R4 \
24228 \
24229 /usr/X11/include \
24230 /usr/include/X11 \
24231 /usr/local/X11/include \
24232 /usr/local/include/X11 \
24233 \
24234 /usr/XFree86/include/X11 \
24235 /usr/pkg/include \
24236 \
24237 /usr/openwin/share/include"
24238
24239 { echo "$as_me:$LINENO: checking for libraries directory" >&5
24240 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
24241
24242 case "${host}" in
24243 *-*-irix6* )
24244 if test "${wx_cv_std_libpath+set}" = set; then
24245 echo $ECHO_N "(cached) $ECHO_C" >&6
24246 else
24247
24248 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
24249 for e in a so sl dylib dll.a; do
24250 libc="$d/libc.$e"
24251 if test -f $libc; then
24252 save_LIBS="$LIBS"
24253 LIBS="$libc"
24254 cat >conftest.$ac_ext <<_ACEOF
24255 int main() { return 0; }
24256 _ACEOF
24257 rm -f conftest.$ac_objext conftest$ac_exeext
24258 if { (ac_try="$ac_link"
24259 case "(($ac_try" in
24260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24261 *) ac_try_echo=$ac_try;;
24262 esac
24263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24264 (eval "$ac_link") 2>conftest.er1
24265 ac_status=$?
24266 grep -v '^ *+' conftest.er1 >conftest.err
24267 rm -f conftest.er1
24268 cat conftest.err >&5
24269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24270 (exit $ac_status); } && {
24271 test -z "$ac_c_werror_flag" ||
24272 test ! -s conftest.err
24273 } && test -s conftest$ac_exeext &&
24274 $as_test_x conftest$ac_exeext; then
24275 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
24276 else
24277 echo "$as_me: failed program was:" >&5
24278 sed 's/^/| /' conftest.$ac_ext >&5
24279
24280
24281 fi
24282
24283 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24284 conftest$ac_exeext conftest.$ac_ext
24285 LIBS="$save_LIBS"
24286 if test "x$wx_cv_std_libpath" != "x"; then
24287 break 2
24288 fi
24289 fi
24290 done
24291 done
24292 if test "x$wx_cv_std_libpath" = "x"; then
24293 wx_cv_std_libpath="lib"
24294 fi
24295
24296
24297 fi
24298
24299 ;;
24300
24301 *-*-solaris2* )
24302 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
24303 wx_cv_std_libpath="lib/64"
24304 else
24305 wx_cv_std_libpath="lib"
24306 fi
24307 ;;
24308
24309 *-*-linux* )
24310 if test "$ac_cv_sizeof_void_p" = 8 -a \
24311 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
24312 wx_cv_std_libpath="lib64"
24313 else
24314 wx_cv_std_libpath="lib"
24315 fi
24316 ;;
24317
24318 *)
24319 wx_cv_std_libpath="lib";
24320 ;;
24321 esac
24322
24323 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24324 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24325
24326 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24327
24328 if test "$build" != "$host" -a "$GCC" = yes; then
24329 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24330 cross_root=`dirname $cross_root`
24331 cross_root=`dirname $cross_root`
24332
24333 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24334 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24335 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24336
24337 if test -z "$PKG_CONFIG_PATH"; then
24338 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24339 export PKG_CONFIG_PATH
24340 fi
24341
24342 if test -z "$x_includes" -o "$x_includes" = NONE; then
24343
24344 ac_find_includes=
24345 for ac_dir in $SEARCH_INCLUDE /usr/include;
24346 do
24347 if test -f "$ac_dir/X11/Intrinsic.h"; then
24348 ac_find_includes=$ac_dir
24349 break
24350 fi
24351 done
24352
24353 x_includes=$ac_find_includes
24354 fi
24355 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24356
24357 ac_find_libraries=
24358 for ac_dir in $SEARCH_LIB;
24359 do
24360 for ac_extension in a so sl dylib dll.a; do
24361 if test -f "$ac_dir/libXt.$ac_extension"; then
24362 ac_find_libraries=$ac_dir
24363 break 2
24364 fi
24365 done
24366 done
24367
24368 x_libraries=$ac_find_libraries
24369 fi
24370 fi
24371 fi
24372
24373
24374 cat >confcache <<\_ACEOF
24375 # This file is a shell script that caches the results of configure
24376 # tests run on this system so they can be shared between configure
24377 # scripts and configure runs, see configure's option --config-cache.
24378 # It is not useful on other systems. If it contains results you don't
24379 # want to keep, you may remove or edit it.
24380 #
24381 # config.status only pays attention to the cache file if you give it
24382 # the --recheck option to rerun configure.
24383 #
24384 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24385 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24386 # following values.
24387
24388 _ACEOF
24389
24390 # The following way of writing the cache mishandles newlines in values,
24391 # but we know of no workaround that is simple, portable, and efficient.
24392 # So, we kill variables containing newlines.
24393 # Ultrix sh set writes to stderr and can't be redirected directly,
24394 # and sets the high bit in the cache file unless we assign to the vars.
24395 (
24396 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24397 eval ac_val=\$$ac_var
24398 case $ac_val in #(
24399 *${as_nl}*)
24400 case $ac_var in #(
24401 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24402 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24403 esac
24404 case $ac_var in #(
24405 _ | IFS | as_nl) ;; #(
24406 *) $as_unset $ac_var ;;
24407 esac ;;
24408 esac
24409 done
24410
24411 (set) 2>&1 |
24412 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24413 *${as_nl}ac_space=\ *)
24414 # `set' does not quote correctly, so add quotes (double-quote
24415 # substitution turns \\\\ into \\, and sed turns \\ into \).
24416 sed -n \
24417 "s/'/'\\\\''/g;
24418 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24419 ;; #(
24420 *)
24421 # `set' quotes correctly as required by POSIX, so do not add quotes.
24422 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24423 ;;
24424 esac |
24425 sort
24426 ) |
24427 sed '
24428 /^ac_cv_env_/b end
24429 t clear
24430 :clear
24431 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24432 t end
24433 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24434 :end' >>confcache
24435 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24436 if test -w "$cache_file"; then
24437 test "x$cache_file" != "x/dev/null" &&
24438 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24439 echo "$as_me: updating cache $cache_file" >&6;}
24440 cat confcache >$cache_file
24441 else
24442 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24443 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24444 fi
24445 fi
24446 rm -f confcache
24447
24448 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24449 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24450 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24451 if test "${wx_cv_lib_glibc21+set}" = set; then
24452 echo $ECHO_N "(cached) $ECHO_C" >&6
24453 else
24454
24455 cat >conftest.$ac_ext <<_ACEOF
24456 /* confdefs.h. */
24457 _ACEOF
24458 cat confdefs.h >>conftest.$ac_ext
24459 cat >>conftest.$ac_ext <<_ACEOF
24460 /* end confdefs.h. */
24461 #include <features.h>
24462 int
24463 main ()
24464 {
24465
24466 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24467 not glibc 2.1
24468 #endif
24469
24470 ;
24471 return 0;
24472 }
24473 _ACEOF
24474 rm -f conftest.$ac_objext
24475 if { (ac_try="$ac_compile"
24476 case "(($ac_try" in
24477 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24478 *) ac_try_echo=$ac_try;;
24479 esac
24480 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24481 (eval "$ac_compile") 2>conftest.er1
24482 ac_status=$?
24483 grep -v '^ *+' conftest.er1 >conftest.err
24484 rm -f conftest.er1
24485 cat conftest.err >&5
24486 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24487 (exit $ac_status); } && {
24488 test -z "$ac_c_werror_flag" ||
24489 test ! -s conftest.err
24490 } && test -s conftest.$ac_objext; then
24491
24492 wx_cv_lib_glibc21=yes
24493
24494 else
24495 echo "$as_me: failed program was:" >&5
24496 sed 's/^/| /' conftest.$ac_ext >&5
24497
24498
24499 wx_cv_lib_glibc21=no
24500
24501
24502 fi
24503
24504 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24505
24506 fi
24507 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24508 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24509 if test "$wx_cv_lib_glibc21" = "yes"; then
24510 cat >>confdefs.h <<\_ACEOF
24511 #define wxHAVE_GLIBC2 1
24512 _ACEOF
24513
24514 fi
24515 fi
24516
24517 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24518 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24519 cat >>confdefs.h <<\_ACEOF
24520 #define _GNU_SOURCE 1
24521 _ACEOF
24522
24523 fi
24524 fi
24525
24526 have_cos=0
24527 have_floor=0
24528
24529 for ac_func in cos
24530 do
24531 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24532 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24533 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24534 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24535 echo $ECHO_N "(cached) $ECHO_C" >&6
24536 else
24537 cat >conftest.$ac_ext <<_ACEOF
24538 /* confdefs.h. */
24539 _ACEOF
24540 cat confdefs.h >>conftest.$ac_ext
24541 cat >>conftest.$ac_ext <<_ACEOF
24542 /* end confdefs.h. */
24543 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24544 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24545 #define $ac_func innocuous_$ac_func
24546
24547 /* System header to define __stub macros and hopefully few prototypes,
24548 which can conflict with char $ac_func (); below.
24549 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24550 <limits.h> exists even on freestanding compilers. */
24551
24552 #ifdef __STDC__
24553 # include <limits.h>
24554 #else
24555 # include <assert.h>
24556 #endif
24557
24558 #undef $ac_func
24559
24560 /* Override any GCC internal prototype to avoid an error.
24561 Use char because int might match the return type of a GCC
24562 builtin and then its argument prototype would still apply. */
24563 #ifdef __cplusplus
24564 extern "C"
24565 #endif
24566 char $ac_func ();
24567 /* The GNU C library defines this for functions which it implements
24568 to always fail with ENOSYS. Some functions are actually named
24569 something starting with __ and the normal name is an alias. */
24570 #if defined __stub_$ac_func || defined __stub___$ac_func
24571 choke me
24572 #endif
24573
24574 int
24575 main ()
24576 {
24577 return $ac_func ();
24578 ;
24579 return 0;
24580 }
24581 _ACEOF
24582 rm -f conftest.$ac_objext conftest$ac_exeext
24583 if { (ac_try="$ac_link"
24584 case "(($ac_try" in
24585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24586 *) ac_try_echo=$ac_try;;
24587 esac
24588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24589 (eval "$ac_link") 2>conftest.er1
24590 ac_status=$?
24591 grep -v '^ *+' conftest.er1 >conftest.err
24592 rm -f conftest.er1
24593 cat conftest.err >&5
24594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24595 (exit $ac_status); } && {
24596 test -z "$ac_c_werror_flag" ||
24597 test ! -s conftest.err
24598 } && test -s conftest$ac_exeext &&
24599 $as_test_x conftest$ac_exeext; then
24600 eval "$as_ac_var=yes"
24601 else
24602 echo "$as_me: failed program was:" >&5
24603 sed 's/^/| /' conftest.$ac_ext >&5
24604
24605 eval "$as_ac_var=no"
24606 fi
24607
24608 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24609 conftest$ac_exeext conftest.$ac_ext
24610 fi
24611 ac_res=`eval echo '${'$as_ac_var'}'`
24612 { echo "$as_me:$LINENO: result: $ac_res" >&5
24613 echo "${ECHO_T}$ac_res" >&6; }
24614 if test `eval echo '${'$as_ac_var'}'` = yes; then
24615 cat >>confdefs.h <<_ACEOF
24616 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24617 _ACEOF
24618 have_cos=1
24619 fi
24620 done
24621
24622
24623 for ac_func in floor
24624 do
24625 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24626 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24627 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24628 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24629 echo $ECHO_N "(cached) $ECHO_C" >&6
24630 else
24631 cat >conftest.$ac_ext <<_ACEOF
24632 /* confdefs.h. */
24633 _ACEOF
24634 cat confdefs.h >>conftest.$ac_ext
24635 cat >>conftest.$ac_ext <<_ACEOF
24636 /* end confdefs.h. */
24637 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24639 #define $ac_func innocuous_$ac_func
24640
24641 /* System header to define __stub macros and hopefully few prototypes,
24642 which can conflict with char $ac_func (); below.
24643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24644 <limits.h> exists even on freestanding compilers. */
24645
24646 #ifdef __STDC__
24647 # include <limits.h>
24648 #else
24649 # include <assert.h>
24650 #endif
24651
24652 #undef $ac_func
24653
24654 /* Override any GCC internal prototype to avoid an error.
24655 Use char because int might match the return type of a GCC
24656 builtin and then its argument prototype would still apply. */
24657 #ifdef __cplusplus
24658 extern "C"
24659 #endif
24660 char $ac_func ();
24661 /* The GNU C library defines this for functions which it implements
24662 to always fail with ENOSYS. Some functions are actually named
24663 something starting with __ and the normal name is an alias. */
24664 #if defined __stub_$ac_func || defined __stub___$ac_func
24665 choke me
24666 #endif
24667
24668 int
24669 main ()
24670 {
24671 return $ac_func ();
24672 ;
24673 return 0;
24674 }
24675 _ACEOF
24676 rm -f conftest.$ac_objext conftest$ac_exeext
24677 if { (ac_try="$ac_link"
24678 case "(($ac_try" in
24679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24680 *) ac_try_echo=$ac_try;;
24681 esac
24682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24683 (eval "$ac_link") 2>conftest.er1
24684 ac_status=$?
24685 grep -v '^ *+' conftest.er1 >conftest.err
24686 rm -f conftest.er1
24687 cat conftest.err >&5
24688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24689 (exit $ac_status); } && {
24690 test -z "$ac_c_werror_flag" ||
24691 test ! -s conftest.err
24692 } && test -s conftest$ac_exeext &&
24693 $as_test_x conftest$ac_exeext; then
24694 eval "$as_ac_var=yes"
24695 else
24696 echo "$as_me: failed program was:" >&5
24697 sed 's/^/| /' conftest.$ac_ext >&5
24698
24699 eval "$as_ac_var=no"
24700 fi
24701
24702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24703 conftest$ac_exeext conftest.$ac_ext
24704 fi
24705 ac_res=`eval echo '${'$as_ac_var'}'`
24706 { echo "$as_me:$LINENO: result: $ac_res" >&5
24707 echo "${ECHO_T}$ac_res" >&6; }
24708 if test `eval echo '${'$as_ac_var'}'` = yes; then
24709 cat >>confdefs.h <<_ACEOF
24710 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24711 _ACEOF
24712 have_floor=1
24713 fi
24714 done
24715
24716 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24717 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24718 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24719 { echo "$as_me:$LINENO: result: yes" >&5
24720 echo "${ECHO_T}yes" >&6; }
24721 else
24722 { echo "$as_me:$LINENO: result: no" >&5
24723 echo "${ECHO_T}no" >&6; }
24724 LIBS="$LIBS -lm"
24725 # use different functions to avoid configure caching
24726 have_sin=0
24727 have_ceil=0
24728
24729 for ac_func in sin
24730 do
24731 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24732 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24733 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24734 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24735 echo $ECHO_N "(cached) $ECHO_C" >&6
24736 else
24737 cat >conftest.$ac_ext <<_ACEOF
24738 /* confdefs.h. */
24739 _ACEOF
24740 cat confdefs.h >>conftest.$ac_ext
24741 cat >>conftest.$ac_ext <<_ACEOF
24742 /* end confdefs.h. */
24743 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24744 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24745 #define $ac_func innocuous_$ac_func
24746
24747 /* System header to define __stub macros and hopefully few prototypes,
24748 which can conflict with char $ac_func (); below.
24749 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24750 <limits.h> exists even on freestanding compilers. */
24751
24752 #ifdef __STDC__
24753 # include <limits.h>
24754 #else
24755 # include <assert.h>
24756 #endif
24757
24758 #undef $ac_func
24759
24760 /* Override any GCC internal prototype to avoid an error.
24761 Use char because int might match the return type of a GCC
24762 builtin and then its argument prototype would still apply. */
24763 #ifdef __cplusplus
24764 extern "C"
24765 #endif
24766 char $ac_func ();
24767 /* The GNU C library defines this for functions which it implements
24768 to always fail with ENOSYS. Some functions are actually named
24769 something starting with __ and the normal name is an alias. */
24770 #if defined __stub_$ac_func || defined __stub___$ac_func
24771 choke me
24772 #endif
24773
24774 int
24775 main ()
24776 {
24777 return $ac_func ();
24778 ;
24779 return 0;
24780 }
24781 _ACEOF
24782 rm -f conftest.$ac_objext conftest$ac_exeext
24783 if { (ac_try="$ac_link"
24784 case "(($ac_try" in
24785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24786 *) ac_try_echo=$ac_try;;
24787 esac
24788 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24789 (eval "$ac_link") 2>conftest.er1
24790 ac_status=$?
24791 grep -v '^ *+' conftest.er1 >conftest.err
24792 rm -f conftest.er1
24793 cat conftest.err >&5
24794 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24795 (exit $ac_status); } && {
24796 test -z "$ac_c_werror_flag" ||
24797 test ! -s conftest.err
24798 } && test -s conftest$ac_exeext &&
24799 $as_test_x conftest$ac_exeext; then
24800 eval "$as_ac_var=yes"
24801 else
24802 echo "$as_me: failed program was:" >&5
24803 sed 's/^/| /' conftest.$ac_ext >&5
24804
24805 eval "$as_ac_var=no"
24806 fi
24807
24808 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24809 conftest$ac_exeext conftest.$ac_ext
24810 fi
24811 ac_res=`eval echo '${'$as_ac_var'}'`
24812 { echo "$as_me:$LINENO: result: $ac_res" >&5
24813 echo "${ECHO_T}$ac_res" >&6; }
24814 if test `eval echo '${'$as_ac_var'}'` = yes; then
24815 cat >>confdefs.h <<_ACEOF
24816 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24817 _ACEOF
24818 have_sin=1
24819 fi
24820 done
24821
24822
24823 for ac_func in ceil
24824 do
24825 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24826 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24827 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24828 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24829 echo $ECHO_N "(cached) $ECHO_C" >&6
24830 else
24831 cat >conftest.$ac_ext <<_ACEOF
24832 /* confdefs.h. */
24833 _ACEOF
24834 cat confdefs.h >>conftest.$ac_ext
24835 cat >>conftest.$ac_ext <<_ACEOF
24836 /* end confdefs.h. */
24837 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24838 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24839 #define $ac_func innocuous_$ac_func
24840
24841 /* System header to define __stub macros and hopefully few prototypes,
24842 which can conflict with char $ac_func (); below.
24843 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24844 <limits.h> exists even on freestanding compilers. */
24845
24846 #ifdef __STDC__
24847 # include <limits.h>
24848 #else
24849 # include <assert.h>
24850 #endif
24851
24852 #undef $ac_func
24853
24854 /* Override any GCC internal prototype to avoid an error.
24855 Use char because int might match the return type of a GCC
24856 builtin and then its argument prototype would still apply. */
24857 #ifdef __cplusplus
24858 extern "C"
24859 #endif
24860 char $ac_func ();
24861 /* The GNU C library defines this for functions which it implements
24862 to always fail with ENOSYS. Some functions are actually named
24863 something starting with __ and the normal name is an alias. */
24864 #if defined __stub_$ac_func || defined __stub___$ac_func
24865 choke me
24866 #endif
24867
24868 int
24869 main ()
24870 {
24871 return $ac_func ();
24872 ;
24873 return 0;
24874 }
24875 _ACEOF
24876 rm -f conftest.$ac_objext conftest$ac_exeext
24877 if { (ac_try="$ac_link"
24878 case "(($ac_try" in
24879 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24880 *) ac_try_echo=$ac_try;;
24881 esac
24882 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24883 (eval "$ac_link") 2>conftest.er1
24884 ac_status=$?
24885 grep -v '^ *+' conftest.er1 >conftest.err
24886 rm -f conftest.er1
24887 cat conftest.err >&5
24888 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24889 (exit $ac_status); } && {
24890 test -z "$ac_c_werror_flag" ||
24891 test ! -s conftest.err
24892 } && test -s conftest$ac_exeext &&
24893 $as_test_x conftest$ac_exeext; then
24894 eval "$as_ac_var=yes"
24895 else
24896 echo "$as_me: failed program was:" >&5
24897 sed 's/^/| /' conftest.$ac_ext >&5
24898
24899 eval "$as_ac_var=no"
24900 fi
24901
24902 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24903 conftest$ac_exeext conftest.$ac_ext
24904 fi
24905 ac_res=`eval echo '${'$as_ac_var'}'`
24906 { echo "$as_me:$LINENO: result: $ac_res" >&5
24907 echo "${ECHO_T}$ac_res" >&6; }
24908 if test `eval echo '${'$as_ac_var'}'` = yes; then
24909 cat >>confdefs.h <<_ACEOF
24910 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24911 _ACEOF
24912 have_ceil=1
24913 fi
24914 done
24915
24916 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24917 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24918 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24919 { echo "$as_me:$LINENO: result: yes" >&5
24920 echo "${ECHO_T}yes" >&6; }
24921 else
24922 { echo "$as_me:$LINENO: result: no" >&5
24923 echo "${ECHO_T}no" >&6; }
24924 # not sure we should warn the user, crash, etc.
24925 fi
24926 fi
24927
24928 ac_ext=cpp
24929 ac_cpp='$CXXCPP $CPPFLAGS'
24930 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24931 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24932 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24933
24934 if test "wxUSE_UNICODE" = "yes"; then
24935
24936 for wx_func in wcstoull
24937 do
24938 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24939 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24940 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24941 echo $ECHO_N "(cached) $ECHO_C" >&6
24942 else
24943
24944 cat >conftest.$ac_ext <<_ACEOF
24945
24946 /* confdefs.h. */
24947 _ACEOF
24948 cat confdefs.h >>conftest.$ac_ext
24949 cat >>conftest.$ac_ext <<_ACEOF
24950 /* end confdefs.h. */
24951
24952
24953 $ac_includes_default
24954
24955 int
24956 main ()
24957 {
24958
24959 #ifndef $wx_func
24960 &$wx_func;
24961 #endif
24962
24963
24964 ;
24965 return 0;
24966 }
24967
24968 _ACEOF
24969 rm -f conftest.$ac_objext conftest$ac_exeext
24970 if { (ac_try="$ac_link"
24971 case "(($ac_try" in
24972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24973 *) ac_try_echo=$ac_try;;
24974 esac
24975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24976 (eval "$ac_link") 2>conftest.er1
24977 ac_status=$?
24978 grep -v '^ *+' conftest.er1 >conftest.err
24979 rm -f conftest.er1
24980 cat conftest.err >&5
24981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24982 (exit $ac_status); } && {
24983 test -z "$ac_cxx_werror_flag" ||
24984 test ! -s conftest.err
24985 } && test -s conftest$ac_exeext &&
24986 $as_test_x conftest$ac_exeext; then
24987 eval wx_cv_func_$wx_func=yes
24988 else
24989 echo "$as_me: failed program was:" >&5
24990 sed 's/^/| /' conftest.$ac_ext >&5
24991
24992 eval wx_cv_func_$wx_func=no
24993 fi
24994
24995 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24996 conftest$ac_exeext conftest.$ac_ext
24997
24998 fi
24999 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25000 { echo "$as_me:$LINENO: result: $ac_res" >&5
25001 echo "${ECHO_T}$ac_res" >&6; }
25002
25003 if eval test \$wx_cv_func_$wx_func = yes
25004 then
25005 cat >>confdefs.h <<_ACEOF
25006 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25007 _ACEOF
25008
25009
25010 else
25011 :
25012
25013 fi
25014 done
25015
25016 else
25017
25018 for wx_func in strtoull
25019 do
25020 { echo "$as_me:$LINENO: checking for $wx_func" >&5
25021 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
25022 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
25023 echo $ECHO_N "(cached) $ECHO_C" >&6
25024 else
25025
25026 cat >conftest.$ac_ext <<_ACEOF
25027
25028 /* confdefs.h. */
25029 _ACEOF
25030 cat confdefs.h >>conftest.$ac_ext
25031 cat >>conftest.$ac_ext <<_ACEOF
25032 /* end confdefs.h. */
25033
25034
25035 $ac_includes_default
25036
25037 int
25038 main ()
25039 {
25040
25041 #ifndef $wx_func
25042 &$wx_func;
25043 #endif
25044
25045
25046 ;
25047 return 0;
25048 }
25049
25050 _ACEOF
25051 rm -f conftest.$ac_objext conftest$ac_exeext
25052 if { (ac_try="$ac_link"
25053 case "(($ac_try" in
25054 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25055 *) ac_try_echo=$ac_try;;
25056 esac
25057 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25058 (eval "$ac_link") 2>conftest.er1
25059 ac_status=$?
25060 grep -v '^ *+' conftest.er1 >conftest.err
25061 rm -f conftest.er1
25062 cat conftest.err >&5
25063 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25064 (exit $ac_status); } && {
25065 test -z "$ac_cxx_werror_flag" ||
25066 test ! -s conftest.err
25067 } && test -s conftest$ac_exeext &&
25068 $as_test_x conftest$ac_exeext; then
25069 eval wx_cv_func_$wx_func=yes
25070 else
25071 echo "$as_me: failed program was:" >&5
25072 sed 's/^/| /' conftest.$ac_ext >&5
25073
25074 eval wx_cv_func_$wx_func=no
25075 fi
25076
25077 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25078 conftest$ac_exeext conftest.$ac_ext
25079
25080 fi
25081 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
25082 { echo "$as_me:$LINENO: result: $ac_res" >&5
25083 echo "${ECHO_T}$ac_res" >&6; }
25084
25085 if eval test \$wx_cv_func_$wx_func = yes
25086 then
25087 cat >>confdefs.h <<_ACEOF
25088 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
25089 _ACEOF
25090
25091
25092 else
25093 :
25094
25095 fi
25096 done
25097
25098 fi
25099 ac_ext=c
25100 ac_cpp='$CPP $CPPFLAGS'
25101 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
25102 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
25103 ac_compiler_gnu=$ac_cv_c_compiler_gnu
25104
25105
25106
25107
25108 if test "$wxUSE_REGEX" != "no"; then
25109 cat >>confdefs.h <<\_ACEOF
25110 #define wxUSE_REGEX 1
25111 _ACEOF
25112
25113
25114 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
25115 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
25116 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
25117 wxUSE_REGEX=builtin
25118 fi
25119
25120 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
25121 { echo "$as_me:$LINENO: checking for regex.h" >&5
25122 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
25123 if test "${ac_cv_header_regex_h+set}" = set; then
25124 echo $ECHO_N "(cached) $ECHO_C" >&6
25125 else
25126 cat >conftest.$ac_ext <<_ACEOF
25127 /* confdefs.h. */
25128 _ACEOF
25129 cat confdefs.h >>conftest.$ac_ext
25130 cat >>conftest.$ac_ext <<_ACEOF
25131 /* end confdefs.h. */
25132
25133
25134 #include <regex.h>
25135 _ACEOF
25136 rm -f conftest.$ac_objext
25137 if { (ac_try="$ac_compile"
25138 case "(($ac_try" in
25139 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25140 *) ac_try_echo=$ac_try;;
25141 esac
25142 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25143 (eval "$ac_compile") 2>conftest.er1
25144 ac_status=$?
25145 grep -v '^ *+' conftest.er1 >conftest.err
25146 rm -f conftest.er1
25147 cat conftest.err >&5
25148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25149 (exit $ac_status); } && {
25150 test -z "$ac_c_werror_flag" ||
25151 test ! -s conftest.err
25152 } && test -s conftest.$ac_objext; then
25153 ac_cv_header_regex_h=yes
25154 else
25155 echo "$as_me: failed program was:" >&5
25156 sed 's/^/| /' conftest.$ac_ext >&5
25157
25158 ac_cv_header_regex_h=no
25159 fi
25160
25161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25162 fi
25163 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
25164 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
25165 if test $ac_cv_header_regex_h = yes; then
25166
25167
25168 for ac_func in regcomp re_search
25169 do
25170 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
25171 { echo "$as_me:$LINENO: checking for $ac_func" >&5
25172 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
25173 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
25174 echo $ECHO_N "(cached) $ECHO_C" >&6
25175 else
25176 cat >conftest.$ac_ext <<_ACEOF
25177 /* confdefs.h. */
25178 _ACEOF
25179 cat confdefs.h >>conftest.$ac_ext
25180 cat >>conftest.$ac_ext <<_ACEOF
25181 /* end confdefs.h. */
25182 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
25183 For example, HP-UX 11i <limits.h> declares gettimeofday. */
25184 #define $ac_func innocuous_$ac_func
25185
25186 /* System header to define __stub macros and hopefully few prototypes,
25187 which can conflict with char $ac_func (); below.
25188 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
25189 <limits.h> exists even on freestanding compilers. */
25190
25191 #ifdef __STDC__
25192 # include <limits.h>
25193 #else
25194 # include <assert.h>
25195 #endif
25196
25197 #undef $ac_func
25198
25199 /* Override any GCC internal prototype to avoid an error.
25200 Use char because int might match the return type of a GCC
25201 builtin and then its argument prototype would still apply. */
25202 #ifdef __cplusplus
25203 extern "C"
25204 #endif
25205 char $ac_func ();
25206 /* The GNU C library defines this for functions which it implements
25207 to always fail with ENOSYS. Some functions are actually named
25208 something starting with __ and the normal name is an alias. */
25209 #if defined __stub_$ac_func || defined __stub___$ac_func
25210 choke me
25211 #endif
25212
25213 int
25214 main ()
25215 {
25216 return $ac_func ();
25217 ;
25218 return 0;
25219 }
25220 _ACEOF
25221 rm -f conftest.$ac_objext conftest$ac_exeext
25222 if { (ac_try="$ac_link"
25223 case "(($ac_try" in
25224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25225 *) ac_try_echo=$ac_try;;
25226 esac
25227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25228 (eval "$ac_link") 2>conftest.er1
25229 ac_status=$?
25230 grep -v '^ *+' conftest.er1 >conftest.err
25231 rm -f conftest.er1
25232 cat conftest.err >&5
25233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25234 (exit $ac_status); } && {
25235 test -z "$ac_c_werror_flag" ||
25236 test ! -s conftest.err
25237 } && test -s conftest$ac_exeext &&
25238 $as_test_x conftest$ac_exeext; then
25239 eval "$as_ac_var=yes"
25240 else
25241 echo "$as_me: failed program was:" >&5
25242 sed 's/^/| /' conftest.$ac_ext >&5
25243
25244 eval "$as_ac_var=no"
25245 fi
25246
25247 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25248 conftest$ac_exeext conftest.$ac_ext
25249 fi
25250 ac_res=`eval echo '${'$as_ac_var'}'`
25251 { echo "$as_me:$LINENO: result: $ac_res" >&5
25252 echo "${ECHO_T}$ac_res" >&6; }
25253 if test `eval echo '${'$as_ac_var'}'` = yes; then
25254 cat >>confdefs.h <<_ACEOF
25255 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
25256 _ACEOF
25257
25258 fi
25259 done
25260
25261 fi
25262
25263
25264
25265 if test "x$ac_cv_func_regcomp" != "xyes"; then
25266 if test "$wxUSE_REGEX" = "sys" ; then
25267 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
25268 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
25269 { (exit 1); exit 1; }; }
25270 else
25271 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
25272 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
25273 wxUSE_REGEX=builtin
25274 fi
25275 else
25276 wxUSE_REGEX=sys
25277 cat >>confdefs.h <<\_ACEOF
25278 #define WX_NO_REGEX_ADVANCED 1
25279 _ACEOF
25280
25281 fi
25282 fi
25283 fi
25284
25285
25286 ZLIB_LINK=
25287 if test "$wxUSE_ZLIB" != "no" ; then
25288 cat >>confdefs.h <<\_ACEOF
25289 #define wxUSE_ZLIB 1
25290 _ACEOF
25291
25292
25293 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
25294 if test "$USE_DARWIN" = 1; then
25295 system_zlib_h_ok="yes"
25296 else
25297 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
25298 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
25299 if test "${ac_cv_header_zlib_h+set}" = set; then
25300 echo $ECHO_N "(cached) $ECHO_C" >&6
25301 else
25302 if test "$cross_compiling" = yes; then
25303 unset ac_cv_header_zlib_h
25304
25305 else
25306 cat >conftest.$ac_ext <<_ACEOF
25307 /* confdefs.h. */
25308 _ACEOF
25309 cat confdefs.h >>conftest.$ac_ext
25310 cat >>conftest.$ac_ext <<_ACEOF
25311 /* end confdefs.h. */
25312
25313 #include <zlib.h>
25314 #include <stdio.h>
25315
25316 int main()
25317 {
25318 FILE *f=fopen("conftestval", "w");
25319 if (!f) exit(1);
25320 fprintf(f, "%s",
25321 ZLIB_VERSION[0] == '1' &&
25322 (ZLIB_VERSION[2] > '1' ||
25323 (ZLIB_VERSION[2] == '1' &&
25324 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25325 exit(0);
25326 }
25327
25328 _ACEOF
25329 rm -f conftest$ac_exeext
25330 if { (ac_try="$ac_link"
25331 case "(($ac_try" in
25332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25333 *) ac_try_echo=$ac_try;;
25334 esac
25335 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25336 (eval "$ac_link") 2>&5
25337 ac_status=$?
25338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25339 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25340 { (case "(($ac_try" in
25341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25342 *) ac_try_echo=$ac_try;;
25343 esac
25344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25345 (eval "$ac_try") 2>&5
25346 ac_status=$?
25347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25348 (exit $ac_status); }; }; then
25349 ac_cv_header_zlib_h=`cat conftestval`
25350 else
25351 echo "$as_me: program exited with status $ac_status" >&5
25352 echo "$as_me: failed program was:" >&5
25353 sed 's/^/| /' conftest.$ac_ext >&5
25354
25355 ( exit $ac_status )
25356 ac_cv_header_zlib_h=no
25357 fi
25358 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25359 fi
25360
25361
25362
25363 fi
25364 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25365 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25366 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25367 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25368 if test "${ac_cv_header_zlib_h+set}" = set; then
25369 echo $ECHO_N "(cached) $ECHO_C" >&6
25370 else
25371 cat >conftest.$ac_ext <<_ACEOF
25372 /* confdefs.h. */
25373 _ACEOF
25374 cat confdefs.h >>conftest.$ac_ext
25375 cat >>conftest.$ac_ext <<_ACEOF
25376 /* end confdefs.h. */
25377
25378
25379 #include <zlib.h>
25380 _ACEOF
25381 rm -f conftest.$ac_objext
25382 if { (ac_try="$ac_compile"
25383 case "(($ac_try" in
25384 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25385 *) ac_try_echo=$ac_try;;
25386 esac
25387 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25388 (eval "$ac_compile") 2>conftest.er1
25389 ac_status=$?
25390 grep -v '^ *+' conftest.er1 >conftest.err
25391 rm -f conftest.er1
25392 cat conftest.err >&5
25393 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25394 (exit $ac_status); } && {
25395 test -z "$ac_c_werror_flag" ||
25396 test ! -s conftest.err
25397 } && test -s conftest.$ac_objext; then
25398 ac_cv_header_zlib_h=yes
25399 else
25400 echo "$as_me: failed program was:" >&5
25401 sed 's/^/| /' conftest.$ac_ext >&5
25402
25403 ac_cv_header_zlib_h=no
25404 fi
25405
25406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25407 fi
25408 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25409 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25410
25411
25412
25413 system_zlib_h_ok=$ac_cv_header_zlib_h
25414 fi
25415
25416 if test "$system_zlib_h_ok" = "yes"; then
25417 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25418 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25419 if test "${ac_cv_lib_z_deflate+set}" = set; then
25420 echo $ECHO_N "(cached) $ECHO_C" >&6
25421 else
25422 ac_check_lib_save_LIBS=$LIBS
25423 LIBS="-lz $LIBS"
25424 cat >conftest.$ac_ext <<_ACEOF
25425 /* confdefs.h. */
25426 _ACEOF
25427 cat confdefs.h >>conftest.$ac_ext
25428 cat >>conftest.$ac_ext <<_ACEOF
25429 /* end confdefs.h. */
25430
25431 /* Override any GCC internal prototype to avoid an error.
25432 Use char because int might match the return type of a GCC
25433 builtin and then its argument prototype would still apply. */
25434 #ifdef __cplusplus
25435 extern "C"
25436 #endif
25437 char deflate ();
25438 int
25439 main ()
25440 {
25441 return deflate ();
25442 ;
25443 return 0;
25444 }
25445 _ACEOF
25446 rm -f conftest.$ac_objext conftest$ac_exeext
25447 if { (ac_try="$ac_link"
25448 case "(($ac_try" in
25449 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25450 *) ac_try_echo=$ac_try;;
25451 esac
25452 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25453 (eval "$ac_link") 2>conftest.er1
25454 ac_status=$?
25455 grep -v '^ *+' conftest.er1 >conftest.err
25456 rm -f conftest.er1
25457 cat conftest.err >&5
25458 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25459 (exit $ac_status); } && {
25460 test -z "$ac_c_werror_flag" ||
25461 test ! -s conftest.err
25462 } && test -s conftest$ac_exeext &&
25463 $as_test_x conftest$ac_exeext; then
25464 ac_cv_lib_z_deflate=yes
25465 else
25466 echo "$as_me: failed program was:" >&5
25467 sed 's/^/| /' conftest.$ac_ext >&5
25468
25469 ac_cv_lib_z_deflate=no
25470 fi
25471
25472 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25473 conftest$ac_exeext conftest.$ac_ext
25474 LIBS=$ac_check_lib_save_LIBS
25475 fi
25476 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25477 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25478 if test $ac_cv_lib_z_deflate = yes; then
25479 ZLIB_LINK=" -lz"
25480 fi
25481
25482 fi
25483
25484 if test "x$ZLIB_LINK" = "x" ; then
25485 if test "$wxUSE_ZLIB" = "sys" ; then
25486 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25487 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25488 { (exit 1); exit 1; }; }
25489 else
25490 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25491 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25492 wxUSE_ZLIB=builtin
25493 fi
25494 else
25495 wxUSE_ZLIB=sys
25496 fi
25497 fi
25498 fi
25499
25500
25501 PNG_LINK=
25502 if test "$wxUSE_LIBPNG" != "no" ; then
25503 cat >>confdefs.h <<\_ACEOF
25504 #define wxUSE_LIBPNG 1
25505 _ACEOF
25506
25507
25508 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25509 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25510 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25511 wxUSE_LIBPNG=sys
25512 fi
25513
25514 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25515 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25516 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25517 wxUSE_LIBPNG=builtin
25518 fi
25519
25520 if test "$wxUSE_MGL" != 1 ; then
25521 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25522 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25523 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25524 if test "${ac_cv_header_png_h+set}" = set; then
25525 echo $ECHO_N "(cached) $ECHO_C" >&6
25526 else
25527 if test "$cross_compiling" = yes; then
25528 unset ac_cv_header_png_h
25529
25530 else
25531 cat >conftest.$ac_ext <<_ACEOF
25532 /* confdefs.h. */
25533 _ACEOF
25534 cat confdefs.h >>conftest.$ac_ext
25535 cat >>conftest.$ac_ext <<_ACEOF
25536 /* end confdefs.h. */
25537
25538 #include <png.h>
25539 #include <stdio.h>
25540
25541 int main()
25542 {
25543 FILE *f=fopen("conftestval", "w");
25544 if (!f) exit(1);
25545 fprintf(f, "%s",
25546 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25547 exit(0);
25548 }
25549
25550 _ACEOF
25551 rm -f conftest$ac_exeext
25552 if { (ac_try="$ac_link"
25553 case "(($ac_try" in
25554 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25555 *) ac_try_echo=$ac_try;;
25556 esac
25557 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25558 (eval "$ac_link") 2>&5
25559 ac_status=$?
25560 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25561 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25562 { (case "(($ac_try" in
25563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25564 *) ac_try_echo=$ac_try;;
25565 esac
25566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25567 (eval "$ac_try") 2>&5
25568 ac_status=$?
25569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25570 (exit $ac_status); }; }; then
25571 ac_cv_header_png_h=`cat conftestval`
25572 else
25573 echo "$as_me: program exited with status $ac_status" >&5
25574 echo "$as_me: failed program was:" >&5
25575 sed 's/^/| /' conftest.$ac_ext >&5
25576
25577 ( exit $ac_status )
25578 ac_cv_header_png_h=no
25579 fi
25580 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25581 fi
25582
25583
25584
25585 fi
25586 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25587 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25588 { echo "$as_me:$LINENO: checking for png.h" >&5
25589 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25590 if test "${ac_cv_header_png_h+set}" = set; then
25591 echo $ECHO_N "(cached) $ECHO_C" >&6
25592 else
25593 cat >conftest.$ac_ext <<_ACEOF
25594 /* confdefs.h. */
25595 _ACEOF
25596 cat confdefs.h >>conftest.$ac_ext
25597 cat >>conftest.$ac_ext <<_ACEOF
25598 /* end confdefs.h. */
25599
25600
25601 #include <png.h>
25602 _ACEOF
25603 rm -f conftest.$ac_objext
25604 if { (ac_try="$ac_compile"
25605 case "(($ac_try" in
25606 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25607 *) ac_try_echo=$ac_try;;
25608 esac
25609 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25610 (eval "$ac_compile") 2>conftest.er1
25611 ac_status=$?
25612 grep -v '^ *+' conftest.er1 >conftest.err
25613 rm -f conftest.er1
25614 cat conftest.err >&5
25615 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25616 (exit $ac_status); } && {
25617 test -z "$ac_c_werror_flag" ||
25618 test ! -s conftest.err
25619 } && test -s conftest.$ac_objext; then
25620 ac_cv_header_png_h=yes
25621 else
25622 echo "$as_me: failed program was:" >&5
25623 sed 's/^/| /' conftest.$ac_ext >&5
25624
25625 ac_cv_header_png_h=no
25626 fi
25627
25628 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25629 fi
25630 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25631 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25632
25633
25634
25635 if test "$ac_cv_header_png_h" = "yes"; then
25636 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25637 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25638 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25639 echo $ECHO_N "(cached) $ECHO_C" >&6
25640 else
25641 ac_check_lib_save_LIBS=$LIBS
25642 LIBS="-lpng -lz -lm $LIBS"
25643 cat >conftest.$ac_ext <<_ACEOF
25644 /* confdefs.h. */
25645 _ACEOF
25646 cat confdefs.h >>conftest.$ac_ext
25647 cat >>conftest.$ac_ext <<_ACEOF
25648 /* end confdefs.h. */
25649
25650 /* Override any GCC internal prototype to avoid an error.
25651 Use char because int might match the return type of a GCC
25652 builtin and then its argument prototype would still apply. */
25653 #ifdef __cplusplus
25654 extern "C"
25655 #endif
25656 char png_check_sig ();
25657 int
25658 main ()
25659 {
25660 return png_check_sig ();
25661 ;
25662 return 0;
25663 }
25664 _ACEOF
25665 rm -f conftest.$ac_objext conftest$ac_exeext
25666 if { (ac_try="$ac_link"
25667 case "(($ac_try" in
25668 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25669 *) ac_try_echo=$ac_try;;
25670 esac
25671 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25672 (eval "$ac_link") 2>conftest.er1
25673 ac_status=$?
25674 grep -v '^ *+' conftest.er1 >conftest.err
25675 rm -f conftest.er1
25676 cat conftest.err >&5
25677 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25678 (exit $ac_status); } && {
25679 test -z "$ac_c_werror_flag" ||
25680 test ! -s conftest.err
25681 } && test -s conftest$ac_exeext &&
25682 $as_test_x conftest$ac_exeext; then
25683 ac_cv_lib_png_png_check_sig=yes
25684 else
25685 echo "$as_me: failed program was:" >&5
25686 sed 's/^/| /' conftest.$ac_ext >&5
25687
25688 ac_cv_lib_png_png_check_sig=no
25689 fi
25690
25691 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25692 conftest$ac_exeext conftest.$ac_ext
25693 LIBS=$ac_check_lib_save_LIBS
25694 fi
25695 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25696 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25697 if test $ac_cv_lib_png_png_check_sig = yes; then
25698 PNG_LINK=" -lpng -lz"
25699 fi
25700
25701 fi
25702
25703 if test "x$PNG_LINK" = "x" ; then
25704 if test "$wxUSE_LIBPNG" = "sys" ; then
25705 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25706 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25707 { (exit 1); exit 1; }; }
25708 else
25709 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25710 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25711 wxUSE_LIBPNG=builtin
25712 fi
25713 else
25714 wxUSE_LIBPNG=sys
25715 fi
25716 fi
25717 fi
25718
25719 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25720 fi
25721
25722
25723 JPEG_LINK=
25724 if test "$wxUSE_LIBJPEG" != "no" ; then
25725 cat >>confdefs.h <<\_ACEOF
25726 #define wxUSE_LIBJPEG 1
25727 _ACEOF
25728
25729
25730 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25731 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25732 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25733 wxUSE_LIBJPEG=sys
25734 fi
25735
25736 if test "$wxUSE_MGL" != 1 ; then
25737 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25738 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25739 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25740 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25741 echo $ECHO_N "(cached) $ECHO_C" >&6
25742 else
25743 cat >conftest.$ac_ext <<_ACEOF
25744 /* confdefs.h. */
25745 _ACEOF
25746 cat confdefs.h >>conftest.$ac_ext
25747 cat >>conftest.$ac_ext <<_ACEOF
25748 /* end confdefs.h. */
25749
25750 #undef HAVE_STDLIB_H
25751 #include <stdio.h>
25752 #include <jpeglib.h>
25753
25754 int
25755 main ()
25756 {
25757
25758
25759 ;
25760 return 0;
25761 }
25762 _ACEOF
25763 rm -f conftest.$ac_objext
25764 if { (ac_try="$ac_compile"
25765 case "(($ac_try" in
25766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25767 *) ac_try_echo=$ac_try;;
25768 esac
25769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25770 (eval "$ac_compile") 2>conftest.er1
25771 ac_status=$?
25772 grep -v '^ *+' conftest.er1 >conftest.err
25773 rm -f conftest.er1
25774 cat conftest.err >&5
25775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25776 (exit $ac_status); } && {
25777 test -z "$ac_c_werror_flag" ||
25778 test ! -s conftest.err
25779 } && test -s conftest.$ac_objext; then
25780 ac_cv_header_jpeglib_h=yes
25781 else
25782 echo "$as_me: failed program was:" >&5
25783 sed 's/^/| /' conftest.$ac_ext >&5
25784
25785 ac_cv_header_jpeglib_h=no
25786
25787 fi
25788
25789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25790
25791 fi
25792
25793 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25794 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25795
25796 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25797 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25798 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25799 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25800 echo $ECHO_N "(cached) $ECHO_C" >&6
25801 else
25802 ac_check_lib_save_LIBS=$LIBS
25803 LIBS="-ljpeg $LIBS"
25804 cat >conftest.$ac_ext <<_ACEOF
25805 /* confdefs.h. */
25806 _ACEOF
25807 cat confdefs.h >>conftest.$ac_ext
25808 cat >>conftest.$ac_ext <<_ACEOF
25809 /* end confdefs.h. */
25810
25811 /* Override any GCC internal prototype to avoid an error.
25812 Use char because int might match the return type of a GCC
25813 builtin and then its argument prototype would still apply. */
25814 #ifdef __cplusplus
25815 extern "C"
25816 #endif
25817 char jpeg_read_header ();
25818 int
25819 main ()
25820 {
25821 return jpeg_read_header ();
25822 ;
25823 return 0;
25824 }
25825 _ACEOF
25826 rm -f conftest.$ac_objext conftest$ac_exeext
25827 if { (ac_try="$ac_link"
25828 case "(($ac_try" in
25829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25830 *) ac_try_echo=$ac_try;;
25831 esac
25832 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25833 (eval "$ac_link") 2>conftest.er1
25834 ac_status=$?
25835 grep -v '^ *+' conftest.er1 >conftest.err
25836 rm -f conftest.er1
25837 cat conftest.err >&5
25838 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25839 (exit $ac_status); } && {
25840 test -z "$ac_c_werror_flag" ||
25841 test ! -s conftest.err
25842 } && test -s conftest$ac_exeext &&
25843 $as_test_x conftest$ac_exeext; then
25844 ac_cv_lib_jpeg_jpeg_read_header=yes
25845 else
25846 echo "$as_me: failed program was:" >&5
25847 sed 's/^/| /' conftest.$ac_ext >&5
25848
25849 ac_cv_lib_jpeg_jpeg_read_header=no
25850 fi
25851
25852 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25853 conftest$ac_exeext conftest.$ac_ext
25854 LIBS=$ac_check_lib_save_LIBS
25855 fi
25856 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25857 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25858 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25859 JPEG_LINK=" -ljpeg"
25860 fi
25861
25862 fi
25863
25864 if test "x$JPEG_LINK" = "x" ; then
25865 if test "$wxUSE_LIBJPEG" = "sys" ; then
25866 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25867 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25868 { (exit 1); exit 1; }; }
25869 else
25870 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25871 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25872 wxUSE_LIBJPEG=builtin
25873 fi
25874 else
25875 wxUSE_LIBJPEG=sys
25876
25877 if test "$wxUSE_MSW" = 1; then
25878 { echo "$as_me:$LINENO: checking for boolean" >&5
25879 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25880 if test "${ac_cv_type_boolean+set}" = set; then
25881 echo $ECHO_N "(cached) $ECHO_C" >&6
25882 else
25883 cat >conftest.$ac_ext <<_ACEOF
25884 /* confdefs.h. */
25885 _ACEOF
25886 cat confdefs.h >>conftest.$ac_ext
25887 cat >>conftest.$ac_ext <<_ACEOF
25888 /* end confdefs.h. */
25889 #include <windows.h>
25890
25891 typedef boolean ac__type_new_;
25892 int
25893 main ()
25894 {
25895 if ((ac__type_new_ *) 0)
25896 return 0;
25897 if (sizeof (ac__type_new_))
25898 return 0;
25899 ;
25900 return 0;
25901 }
25902 _ACEOF
25903 rm -f conftest.$ac_objext
25904 if { (ac_try="$ac_compile"
25905 case "(($ac_try" in
25906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25907 *) ac_try_echo=$ac_try;;
25908 esac
25909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25910 (eval "$ac_compile") 2>conftest.er1
25911 ac_status=$?
25912 grep -v '^ *+' conftest.er1 >conftest.err
25913 rm -f conftest.er1
25914 cat conftest.err >&5
25915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25916 (exit $ac_status); } && {
25917 test -z "$ac_c_werror_flag" ||
25918 test ! -s conftest.err
25919 } && test -s conftest.$ac_objext; then
25920 ac_cv_type_boolean=yes
25921 else
25922 echo "$as_me: failed program was:" >&5
25923 sed 's/^/| /' conftest.$ac_ext >&5
25924
25925 ac_cv_type_boolean=no
25926 fi
25927
25928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25929 fi
25930 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25931 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25932 if test $ac_cv_type_boolean = yes; then
25933
25934 cat >>confdefs.h <<_ACEOF
25935 #define HAVE_BOOLEAN 1
25936 _ACEOF
25937
25938
25939 { echo "$as_me:$LINENO: checking for boolean" >&5
25940 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25941 if test "${ac_cv_type_boolean+set}" = set; then
25942 echo $ECHO_N "(cached) $ECHO_C" >&6
25943 else
25944 cat >conftest.$ac_ext <<_ACEOF
25945 /* confdefs.h. */
25946 _ACEOF
25947 cat confdefs.h >>conftest.$ac_ext
25948 cat >>conftest.$ac_ext <<_ACEOF
25949 /* end confdefs.h. */
25950
25951 #undef HAVE_BOOLEAN
25952 #include <stdio.h>
25953 #include <jpeglib.h>
25954
25955
25956 typedef boolean ac__type_new_;
25957 int
25958 main ()
25959 {
25960 if ((ac__type_new_ *) 0)
25961 return 0;
25962 if (sizeof (ac__type_new_))
25963 return 0;
25964 ;
25965 return 0;
25966 }
25967 _ACEOF
25968 rm -f conftest.$ac_objext
25969 if { (ac_try="$ac_compile"
25970 case "(($ac_try" in
25971 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25972 *) ac_try_echo=$ac_try;;
25973 esac
25974 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25975 (eval "$ac_compile") 2>conftest.er1
25976 ac_status=$?
25977 grep -v '^ *+' conftest.er1 >conftest.err
25978 rm -f conftest.er1
25979 cat conftest.err >&5
25980 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25981 (exit $ac_status); } && {
25982 test -z "$ac_c_werror_flag" ||
25983 test ! -s conftest.err
25984 } && test -s conftest.$ac_objext; then
25985 ac_cv_type_boolean=yes
25986 else
25987 echo "$as_me: failed program was:" >&5
25988 sed 's/^/| /' conftest.$ac_ext >&5
25989
25990 ac_cv_type_boolean=no
25991 fi
25992
25993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25994 fi
25995 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25996 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25997
25998 # The cast to long int works around a bug in the HP C Compiler
25999 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
26000 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
26001 # This bug is HP SR number 8606223364.
26002 { echo "$as_me:$LINENO: checking size of boolean" >&5
26003 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
26004 if test "${ac_cv_sizeof_boolean+set}" = set; then
26005 echo $ECHO_N "(cached) $ECHO_C" >&6
26006 else
26007 if test "$cross_compiling" = yes; then
26008 # Depending upon the size, compute the lo and hi bounds.
26009 cat >conftest.$ac_ext <<_ACEOF
26010 /* confdefs.h. */
26011 _ACEOF
26012 cat confdefs.h >>conftest.$ac_ext
26013 cat >>conftest.$ac_ext <<_ACEOF
26014 /* end confdefs.h. */
26015
26016 #undef HAVE_BOOLEAN
26017 #include <stdio.h>
26018 #include <jpeglib.h>
26019
26020
26021 typedef boolean ac__type_sizeof_;
26022 int
26023 main ()
26024 {
26025 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
26026 test_array [0] = 0
26027
26028 ;
26029 return 0;
26030 }
26031 _ACEOF
26032 rm -f conftest.$ac_objext
26033 if { (ac_try="$ac_compile"
26034 case "(($ac_try" in
26035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26036 *) ac_try_echo=$ac_try;;
26037 esac
26038 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26039 (eval "$ac_compile") 2>conftest.er1
26040 ac_status=$?
26041 grep -v '^ *+' conftest.er1 >conftest.err
26042 rm -f conftest.er1
26043 cat conftest.err >&5
26044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26045 (exit $ac_status); } && {
26046 test -z "$ac_c_werror_flag" ||
26047 test ! -s conftest.err
26048 } && test -s conftest.$ac_objext; then
26049 ac_lo=0 ac_mid=0
26050 while :; do
26051 cat >conftest.$ac_ext <<_ACEOF
26052 /* confdefs.h. */
26053 _ACEOF
26054 cat confdefs.h >>conftest.$ac_ext
26055 cat >>conftest.$ac_ext <<_ACEOF
26056 /* end confdefs.h. */
26057
26058 #undef HAVE_BOOLEAN
26059 #include <stdio.h>
26060 #include <jpeglib.h>
26061
26062
26063 typedef boolean ac__type_sizeof_;
26064 int
26065 main ()
26066 {
26067 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26068 test_array [0] = 0
26069
26070 ;
26071 return 0;
26072 }
26073 _ACEOF
26074 rm -f conftest.$ac_objext
26075 if { (ac_try="$ac_compile"
26076 case "(($ac_try" in
26077 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26078 *) ac_try_echo=$ac_try;;
26079 esac
26080 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26081 (eval "$ac_compile") 2>conftest.er1
26082 ac_status=$?
26083 grep -v '^ *+' conftest.er1 >conftest.err
26084 rm -f conftest.er1
26085 cat conftest.err >&5
26086 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26087 (exit $ac_status); } && {
26088 test -z "$ac_c_werror_flag" ||
26089 test ! -s conftest.err
26090 } && test -s conftest.$ac_objext; then
26091 ac_hi=$ac_mid; break
26092 else
26093 echo "$as_me: failed program was:" >&5
26094 sed 's/^/| /' conftest.$ac_ext >&5
26095
26096 ac_lo=`expr $ac_mid + 1`
26097 if test $ac_lo -le $ac_mid; then
26098 ac_lo= ac_hi=
26099 break
26100 fi
26101 ac_mid=`expr 2 '*' $ac_mid + 1`
26102 fi
26103
26104 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26105 done
26106 else
26107 echo "$as_me: failed program was:" >&5
26108 sed 's/^/| /' conftest.$ac_ext >&5
26109
26110 cat >conftest.$ac_ext <<_ACEOF
26111 /* confdefs.h. */
26112 _ACEOF
26113 cat confdefs.h >>conftest.$ac_ext
26114 cat >>conftest.$ac_ext <<_ACEOF
26115 /* end confdefs.h. */
26116
26117 #undef HAVE_BOOLEAN
26118 #include <stdio.h>
26119 #include <jpeglib.h>
26120
26121
26122 typedef boolean ac__type_sizeof_;
26123 int
26124 main ()
26125 {
26126 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
26127 test_array [0] = 0
26128
26129 ;
26130 return 0;
26131 }
26132 _ACEOF
26133 rm -f conftest.$ac_objext
26134 if { (ac_try="$ac_compile"
26135 case "(($ac_try" in
26136 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26137 *) ac_try_echo=$ac_try;;
26138 esac
26139 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26140 (eval "$ac_compile") 2>conftest.er1
26141 ac_status=$?
26142 grep -v '^ *+' conftest.er1 >conftest.err
26143 rm -f conftest.er1
26144 cat conftest.err >&5
26145 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26146 (exit $ac_status); } && {
26147 test -z "$ac_c_werror_flag" ||
26148 test ! -s conftest.err
26149 } && test -s conftest.$ac_objext; then
26150 ac_hi=-1 ac_mid=-1
26151 while :; do
26152 cat >conftest.$ac_ext <<_ACEOF
26153 /* confdefs.h. */
26154 _ACEOF
26155 cat confdefs.h >>conftest.$ac_ext
26156 cat >>conftest.$ac_ext <<_ACEOF
26157 /* end confdefs.h. */
26158
26159 #undef HAVE_BOOLEAN
26160 #include <stdio.h>
26161 #include <jpeglib.h>
26162
26163
26164 typedef boolean ac__type_sizeof_;
26165 int
26166 main ()
26167 {
26168 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
26169 test_array [0] = 0
26170
26171 ;
26172 return 0;
26173 }
26174 _ACEOF
26175 rm -f conftest.$ac_objext
26176 if { (ac_try="$ac_compile"
26177 case "(($ac_try" in
26178 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26179 *) ac_try_echo=$ac_try;;
26180 esac
26181 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26182 (eval "$ac_compile") 2>conftest.er1
26183 ac_status=$?
26184 grep -v '^ *+' conftest.er1 >conftest.err
26185 rm -f conftest.er1
26186 cat conftest.err >&5
26187 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26188 (exit $ac_status); } && {
26189 test -z "$ac_c_werror_flag" ||
26190 test ! -s conftest.err
26191 } && test -s conftest.$ac_objext; then
26192 ac_lo=$ac_mid; break
26193 else
26194 echo "$as_me: failed program was:" >&5
26195 sed 's/^/| /' conftest.$ac_ext >&5
26196
26197 ac_hi=`expr '(' $ac_mid ')' - 1`
26198 if test $ac_mid -le $ac_hi; then
26199 ac_lo= ac_hi=
26200 break
26201 fi
26202 ac_mid=`expr 2 '*' $ac_mid`
26203 fi
26204
26205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26206 done
26207 else
26208 echo "$as_me: failed program was:" >&5
26209 sed 's/^/| /' conftest.$ac_ext >&5
26210
26211 ac_lo= ac_hi=
26212 fi
26213
26214 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26215 fi
26216
26217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26218 # Binary search between lo and hi bounds.
26219 while test "x$ac_lo" != "x$ac_hi"; do
26220 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
26221 cat >conftest.$ac_ext <<_ACEOF
26222 /* confdefs.h. */
26223 _ACEOF
26224 cat confdefs.h >>conftest.$ac_ext
26225 cat >>conftest.$ac_ext <<_ACEOF
26226 /* end confdefs.h. */
26227
26228 #undef HAVE_BOOLEAN
26229 #include <stdio.h>
26230 #include <jpeglib.h>
26231
26232
26233 typedef boolean ac__type_sizeof_;
26234 int
26235 main ()
26236 {
26237 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
26238 test_array [0] = 0
26239
26240 ;
26241 return 0;
26242 }
26243 _ACEOF
26244 rm -f conftest.$ac_objext
26245 if { (ac_try="$ac_compile"
26246 case "(($ac_try" in
26247 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26248 *) ac_try_echo=$ac_try;;
26249 esac
26250 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26251 (eval "$ac_compile") 2>conftest.er1
26252 ac_status=$?
26253 grep -v '^ *+' conftest.er1 >conftest.err
26254 rm -f conftest.er1
26255 cat conftest.err >&5
26256 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26257 (exit $ac_status); } && {
26258 test -z "$ac_c_werror_flag" ||
26259 test ! -s conftest.err
26260 } && test -s conftest.$ac_objext; then
26261 ac_hi=$ac_mid
26262 else
26263 echo "$as_me: failed program was:" >&5
26264 sed 's/^/| /' conftest.$ac_ext >&5
26265
26266 ac_lo=`expr '(' $ac_mid ')' + 1`
26267 fi
26268
26269 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26270 done
26271 case $ac_lo in
26272 ?*) ac_cv_sizeof_boolean=$ac_lo;;
26273 '') if test "$ac_cv_type_boolean" = yes; then
26274 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26275 See \`config.log' for more details." >&5
26276 echo "$as_me: error: cannot compute sizeof (boolean)
26277 See \`config.log' for more details." >&2;}
26278 { (exit 77); exit 77; }; }
26279 else
26280 ac_cv_sizeof_boolean=0
26281 fi ;;
26282 esac
26283 else
26284 cat >conftest.$ac_ext <<_ACEOF
26285 /* confdefs.h. */
26286 _ACEOF
26287 cat confdefs.h >>conftest.$ac_ext
26288 cat >>conftest.$ac_ext <<_ACEOF
26289 /* end confdefs.h. */
26290
26291 #undef HAVE_BOOLEAN
26292 #include <stdio.h>
26293 #include <jpeglib.h>
26294
26295
26296 typedef boolean ac__type_sizeof_;
26297 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
26298 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
26299 #include <stdio.h>
26300 #include <stdlib.h>
26301 int
26302 main ()
26303 {
26304
26305 FILE *f = fopen ("conftest.val", "w");
26306 if (! f)
26307 return 1;
26308 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
26309 {
26310 long int i = longval ();
26311 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26312 return 1;
26313 fprintf (f, "%ld\n", i);
26314 }
26315 else
26316 {
26317 unsigned long int i = ulongval ();
26318 if (i != ((long int) (sizeof (ac__type_sizeof_))))
26319 return 1;
26320 fprintf (f, "%lu\n", i);
26321 }
26322 return ferror (f) || fclose (f) != 0;
26323
26324 ;
26325 return 0;
26326 }
26327 _ACEOF
26328 rm -f conftest$ac_exeext
26329 if { (ac_try="$ac_link"
26330 case "(($ac_try" in
26331 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26332 *) ac_try_echo=$ac_try;;
26333 esac
26334 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26335 (eval "$ac_link") 2>&5
26336 ac_status=$?
26337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26338 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26339 { (case "(($ac_try" in
26340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26341 *) ac_try_echo=$ac_try;;
26342 esac
26343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26344 (eval "$ac_try") 2>&5
26345 ac_status=$?
26346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26347 (exit $ac_status); }; }; then
26348 ac_cv_sizeof_boolean=`cat conftest.val`
26349 else
26350 echo "$as_me: program exited with status $ac_status" >&5
26351 echo "$as_me: failed program was:" >&5
26352 sed 's/^/| /' conftest.$ac_ext >&5
26353
26354 ( exit $ac_status )
26355 if test "$ac_cv_type_boolean" = yes; then
26356 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26357 See \`config.log' for more details." >&5
26358 echo "$as_me: error: cannot compute sizeof (boolean)
26359 See \`config.log' for more details." >&2;}
26360 { (exit 77); exit 77; }; }
26361 else
26362 ac_cv_sizeof_boolean=0
26363 fi
26364 fi
26365 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26366 fi
26367 rm -f conftest.val
26368 fi
26369 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26370 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26371
26372
26373
26374 cat >>confdefs.h <<_ACEOF
26375 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26376 _ACEOF
26377
26378
26379 cat >>confdefs.h <<_ACEOF
26380 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26381 _ACEOF
26382
26383
26384 fi
26385
26386 fi
26387 fi
26388 fi
26389 fi
26390 fi
26391
26392
26393 TIFF_LINK=
26394 TIFF_PREREQ_LINKS=-lm
26395 if test "$wxUSE_LIBTIFF" != "no" ; then
26396 cat >>confdefs.h <<\_ACEOF
26397 #define wxUSE_LIBTIFF 1
26398 _ACEOF
26399
26400
26401 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26402 if test "$wxUSE_LIBJPEG" = "sys"; then
26403 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26404 fi
26405 if test "$wxUSE_ZLIB" = "sys"; then
26406 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26407 fi
26408 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26409 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26410 if test "${ac_cv_header_tiffio_h+set}" = set; then
26411 echo $ECHO_N "(cached) $ECHO_C" >&6
26412 else
26413 cat >conftest.$ac_ext <<_ACEOF
26414 /* confdefs.h. */
26415 _ACEOF
26416 cat confdefs.h >>conftest.$ac_ext
26417 cat >>conftest.$ac_ext <<_ACEOF
26418 /* end confdefs.h. */
26419
26420
26421
26422 #include <tiffio.h>
26423 _ACEOF
26424 rm -f conftest.$ac_objext
26425 if { (ac_try="$ac_compile"
26426 case "(($ac_try" in
26427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26428 *) ac_try_echo=$ac_try;;
26429 esac
26430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26431 (eval "$ac_compile") 2>conftest.er1
26432 ac_status=$?
26433 grep -v '^ *+' conftest.er1 >conftest.err
26434 rm -f conftest.er1
26435 cat conftest.err >&5
26436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26437 (exit $ac_status); } && {
26438 test -z "$ac_c_werror_flag" ||
26439 test ! -s conftest.err
26440 } && test -s conftest.$ac_objext; then
26441 ac_cv_header_tiffio_h=yes
26442 else
26443 echo "$as_me: failed program was:" >&5
26444 sed 's/^/| /' conftest.$ac_ext >&5
26445
26446 ac_cv_header_tiffio_h=no
26447 fi
26448
26449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26450 fi
26451 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26452 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26453 if test $ac_cv_header_tiffio_h = yes; then
26454
26455 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26456 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26457 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26458 echo $ECHO_N "(cached) $ECHO_C" >&6
26459 else
26460 ac_check_lib_save_LIBS=$LIBS
26461 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26462 cat >conftest.$ac_ext <<_ACEOF
26463 /* confdefs.h. */
26464 _ACEOF
26465 cat confdefs.h >>conftest.$ac_ext
26466 cat >>conftest.$ac_ext <<_ACEOF
26467 /* end confdefs.h. */
26468
26469 /* Override any GCC internal prototype to avoid an error.
26470 Use char because int might match the return type of a GCC
26471 builtin and then its argument prototype would still apply. */
26472 #ifdef __cplusplus
26473 extern "C"
26474 #endif
26475 char TIFFError ();
26476 int
26477 main ()
26478 {
26479 return TIFFError ();
26480 ;
26481 return 0;
26482 }
26483 _ACEOF
26484 rm -f conftest.$ac_objext conftest$ac_exeext
26485 if { (ac_try="$ac_link"
26486 case "(($ac_try" in
26487 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26488 *) ac_try_echo=$ac_try;;
26489 esac
26490 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26491 (eval "$ac_link") 2>conftest.er1
26492 ac_status=$?
26493 grep -v '^ *+' conftest.er1 >conftest.err
26494 rm -f conftest.er1
26495 cat conftest.err >&5
26496 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26497 (exit $ac_status); } && {
26498 test -z "$ac_c_werror_flag" ||
26499 test ! -s conftest.err
26500 } && test -s conftest$ac_exeext &&
26501 $as_test_x conftest$ac_exeext; then
26502 ac_cv_lib_tiff_TIFFError=yes
26503 else
26504 echo "$as_me: failed program was:" >&5
26505 sed 's/^/| /' conftest.$ac_ext >&5
26506
26507 ac_cv_lib_tiff_TIFFError=no
26508 fi
26509
26510 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26511 conftest$ac_exeext conftest.$ac_ext
26512 LIBS=$ac_check_lib_save_LIBS
26513 fi
26514 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26515 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26516 if test $ac_cv_lib_tiff_TIFFError = yes; then
26517 TIFF_LINK=" -ltiff"
26518 fi
26519
26520
26521 fi
26522
26523
26524
26525 if test "x$TIFF_LINK" = "x" ; then
26526 if test "$wxUSE_LIBTIFF" = "sys" ; then
26527 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26528 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26529 { (exit 1); exit 1; }; }
26530 else
26531 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26532 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26533 wxUSE_LIBTIFF=builtin
26534 fi
26535 else
26536 wxUSE_LIBTIFF=sys
26537 fi
26538 fi
26539 fi
26540
26541
26542 if test "$wxUSE_WCHAR_T" != "yes"; then
26543 if test "$wxUSE_EXPAT" != "no"; then
26544 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26545 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26546 wxUSE_EXPAT=no
26547 fi
26548 if test "$wxUSE_XML" != "no"; then
26549 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26550 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26551 wxUSE_XML=no
26552 fi
26553 fi
26554
26555 if test "$wxUSE_EXPAT" != "no"; then
26556 wxUSE_XML=yes
26557 cat >>confdefs.h <<\_ACEOF
26558 #define wxUSE_EXPAT 1
26559 _ACEOF
26560
26561 cat >>confdefs.h <<\_ACEOF
26562 #define wxUSE_XML 1
26563 _ACEOF
26564
26565
26566 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26567 { echo "$as_me:$LINENO: checking for expat.h" >&5
26568 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26569 if test "${ac_cv_header_expat_h+set}" = set; then
26570 echo $ECHO_N "(cached) $ECHO_C" >&6
26571 else
26572 cat >conftest.$ac_ext <<_ACEOF
26573 /* confdefs.h. */
26574 _ACEOF
26575 cat confdefs.h >>conftest.$ac_ext
26576 cat >>conftest.$ac_ext <<_ACEOF
26577 /* end confdefs.h. */
26578
26579
26580 #include <expat.h>
26581 _ACEOF
26582 rm -f conftest.$ac_objext
26583 if { (ac_try="$ac_compile"
26584 case "(($ac_try" in
26585 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26586 *) ac_try_echo=$ac_try;;
26587 esac
26588 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26589 (eval "$ac_compile") 2>conftest.er1
26590 ac_status=$?
26591 grep -v '^ *+' conftest.er1 >conftest.err
26592 rm -f conftest.er1
26593 cat conftest.err >&5
26594 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26595 (exit $ac_status); } && {
26596 test -z "$ac_c_werror_flag" ||
26597 test ! -s conftest.err
26598 } && test -s conftest.$ac_objext; then
26599 ac_cv_header_expat_h=yes
26600 else
26601 echo "$as_me: failed program was:" >&5
26602 sed 's/^/| /' conftest.$ac_ext >&5
26603
26604 ac_cv_header_expat_h=no
26605 fi
26606
26607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26608 fi
26609 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26610 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26611 if test $ac_cv_header_expat_h = yes; then
26612 found_expat_h=1
26613 fi
26614
26615
26616 if test "x$found_expat_h" = "x1"; then
26617 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26618 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26619 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26620 echo $ECHO_N "(cached) $ECHO_C" >&6
26621 else
26622
26623 ac_ext=cpp
26624 ac_cpp='$CXXCPP $CPPFLAGS'
26625 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26626 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26627 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26628
26629 cat >conftest.$ac_ext <<_ACEOF
26630 /* confdefs.h. */
26631 _ACEOF
26632 cat confdefs.h >>conftest.$ac_ext
26633 cat >>conftest.$ac_ext <<_ACEOF
26634 /* end confdefs.h. */
26635 #include <expat.h>
26636 int
26637 main ()
26638 {
26639
26640 ;
26641 return 0;
26642 }
26643 _ACEOF
26644 rm -f conftest.$ac_objext
26645 if { (ac_try="$ac_compile"
26646 case "(($ac_try" in
26647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26648 *) ac_try_echo=$ac_try;;
26649 esac
26650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26651 (eval "$ac_compile") 2>conftest.er1
26652 ac_status=$?
26653 grep -v '^ *+' conftest.er1 >conftest.err
26654 rm -f conftest.er1
26655 cat conftest.err >&5
26656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26657 (exit $ac_status); } && {
26658 test -z "$ac_cxx_werror_flag" ||
26659 test ! -s conftest.err
26660 } && test -s conftest.$ac_objext; then
26661 wx_cv_expat_is_not_broken=yes
26662 else
26663 echo "$as_me: failed program was:" >&5
26664 sed 's/^/| /' conftest.$ac_ext >&5
26665
26666 wx_cv_expat_is_not_broken=no
26667
26668 fi
26669
26670 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26671 ac_ext=c
26672 ac_cpp='$CPP $CPPFLAGS'
26673 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26674 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26675 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26676
26677
26678
26679 fi
26680 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26681 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26682 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26683 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26684 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26685 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26686 echo $ECHO_N "(cached) $ECHO_C" >&6
26687 else
26688 ac_check_lib_save_LIBS=$LIBS
26689 LIBS="-lexpat $LIBS"
26690 cat >conftest.$ac_ext <<_ACEOF
26691 /* confdefs.h. */
26692 _ACEOF
26693 cat confdefs.h >>conftest.$ac_ext
26694 cat >>conftest.$ac_ext <<_ACEOF
26695 /* end confdefs.h. */
26696
26697 /* Override any GCC internal prototype to avoid an error.
26698 Use char because int might match the return type of a GCC
26699 builtin and then its argument prototype would still apply. */
26700 #ifdef __cplusplus
26701 extern "C"
26702 #endif
26703 char XML_ParserCreate ();
26704 int
26705 main ()
26706 {
26707 return XML_ParserCreate ();
26708 ;
26709 return 0;
26710 }
26711 _ACEOF
26712 rm -f conftest.$ac_objext conftest$ac_exeext
26713 if { (ac_try="$ac_link"
26714 case "(($ac_try" in
26715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26716 *) ac_try_echo=$ac_try;;
26717 esac
26718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26719 (eval "$ac_link") 2>conftest.er1
26720 ac_status=$?
26721 grep -v '^ *+' conftest.er1 >conftest.err
26722 rm -f conftest.er1
26723 cat conftest.err >&5
26724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26725 (exit $ac_status); } && {
26726 test -z "$ac_c_werror_flag" ||
26727 test ! -s conftest.err
26728 } && test -s conftest$ac_exeext &&
26729 $as_test_x conftest$ac_exeext; then
26730 ac_cv_lib_expat_XML_ParserCreate=yes
26731 else
26732 echo "$as_me: failed program was:" >&5
26733 sed 's/^/| /' conftest.$ac_ext >&5
26734
26735 ac_cv_lib_expat_XML_ParserCreate=no
26736 fi
26737
26738 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26739 conftest$ac_exeext conftest.$ac_ext
26740 LIBS=$ac_check_lib_save_LIBS
26741 fi
26742 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26743 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26744 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26745 EXPAT_LINK=" -lexpat"
26746 fi
26747
26748 fi
26749 fi
26750 if test "x$EXPAT_LINK" = "x" ; then
26751 if test "$wxUSE_EXPAT" = "sys" ; then
26752 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26753 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26754 { (exit 1); exit 1; }; }
26755 else
26756 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26757 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26758 wxUSE_EXPAT=builtin
26759 fi
26760 else
26761 wxUSE_EXPAT=sys
26762 fi
26763 fi
26764 if test "$wxUSE_EXPAT" = "builtin" ; then
26765 subdirs="$subdirs src/expat"
26766
26767 fi
26768 fi
26769
26770
26771
26772 if test "$wxUSE_LIBMSPACK" != "no"; then
26773 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26774 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26775 if test "${ac_cv_header_mspack_h+set}" = set; then
26776 echo $ECHO_N "(cached) $ECHO_C" >&6
26777 else
26778 cat >conftest.$ac_ext <<_ACEOF
26779 /* confdefs.h. */
26780 _ACEOF
26781 cat confdefs.h >>conftest.$ac_ext
26782 cat >>conftest.$ac_ext <<_ACEOF
26783 /* end confdefs.h. */
26784
26785
26786 #include <mspack.h>
26787 _ACEOF
26788 rm -f conftest.$ac_objext
26789 if { (ac_try="$ac_compile"
26790 case "(($ac_try" in
26791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26792 *) ac_try_echo=$ac_try;;
26793 esac
26794 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26795 (eval "$ac_compile") 2>conftest.er1
26796 ac_status=$?
26797 grep -v '^ *+' conftest.er1 >conftest.err
26798 rm -f conftest.er1
26799 cat conftest.err >&5
26800 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26801 (exit $ac_status); } && {
26802 test -z "$ac_c_werror_flag" ||
26803 test ! -s conftest.err
26804 } && test -s conftest.$ac_objext; then
26805 ac_cv_header_mspack_h=yes
26806 else
26807 echo "$as_me: failed program was:" >&5
26808 sed 's/^/| /' conftest.$ac_ext >&5
26809
26810 ac_cv_header_mspack_h=no
26811 fi
26812
26813 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26814 fi
26815 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26816 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26817 if test $ac_cv_header_mspack_h = yes; then
26818 found_mspack_h=1
26819 fi
26820
26821
26822 if test "x$found_mspack_h" = "x1"; then
26823 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26824 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26825 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26826 echo $ECHO_N "(cached) $ECHO_C" >&6
26827 else
26828 ac_check_lib_save_LIBS=$LIBS
26829 LIBS="-lmspack $LIBS"
26830 cat >conftest.$ac_ext <<_ACEOF
26831 /* confdefs.h. */
26832 _ACEOF
26833 cat confdefs.h >>conftest.$ac_ext
26834 cat >>conftest.$ac_ext <<_ACEOF
26835 /* end confdefs.h. */
26836
26837 /* Override any GCC internal prototype to avoid an error.
26838 Use char because int might match the return type of a GCC
26839 builtin and then its argument prototype would still apply. */
26840 #ifdef __cplusplus
26841 extern "C"
26842 #endif
26843 char mspack_create_chm_decompressor ();
26844 int
26845 main ()
26846 {
26847 return mspack_create_chm_decompressor ();
26848 ;
26849 return 0;
26850 }
26851 _ACEOF
26852 rm -f conftest.$ac_objext conftest$ac_exeext
26853 if { (ac_try="$ac_link"
26854 case "(($ac_try" in
26855 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26856 *) ac_try_echo=$ac_try;;
26857 esac
26858 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26859 (eval "$ac_link") 2>conftest.er1
26860 ac_status=$?
26861 grep -v '^ *+' conftest.er1 >conftest.err
26862 rm -f conftest.er1
26863 cat conftest.err >&5
26864 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26865 (exit $ac_status); } && {
26866 test -z "$ac_c_werror_flag" ||
26867 test ! -s conftest.err
26868 } && test -s conftest$ac_exeext &&
26869 $as_test_x conftest$ac_exeext; then
26870 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26871 else
26872 echo "$as_me: failed program was:" >&5
26873 sed 's/^/| /' conftest.$ac_ext >&5
26874
26875 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26876 fi
26877
26878 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26879 conftest$ac_exeext conftest.$ac_ext
26880 LIBS=$ac_check_lib_save_LIBS
26881 fi
26882 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26883 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26884 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26885 MSPACK_LINK=" -lmspack"
26886 fi
26887
26888 fi
26889 if test "x$MSPACK_LINK" = "x" ; then
26890 wxUSE_LIBMSPACK=no
26891 fi
26892 fi
26893
26894 if test "$wxUSE_LIBMSPACK" != "no"; then
26895 cat >>confdefs.h <<\_ACEOF
26896 #define wxUSE_LIBMSPACK 1
26897 _ACEOF
26898
26899 fi
26900
26901
26902
26903 AFMINSTALL=
26904 WIN32INSTALL=
26905
26906 TOOLKIT=
26907 TOOLKIT_INCLUDE=
26908 WIDGET_SET=
26909
26910 if test "$USE_WIN32" = 1 ; then
26911 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26912 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26913 if test "${ac_cv_header_w32api_h+set}" = set; then
26914 echo $ECHO_N "(cached) $ECHO_C" >&6
26915 else
26916 cat >conftest.$ac_ext <<_ACEOF
26917 /* confdefs.h. */
26918 _ACEOF
26919 cat confdefs.h >>conftest.$ac_ext
26920 cat >>conftest.$ac_ext <<_ACEOF
26921 /* end confdefs.h. */
26922
26923
26924 #include <w32api.h>
26925 _ACEOF
26926 rm -f conftest.$ac_objext
26927 if { (ac_try="$ac_compile"
26928 case "(($ac_try" in
26929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26930 *) ac_try_echo=$ac_try;;
26931 esac
26932 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26933 (eval "$ac_compile") 2>conftest.er1
26934 ac_status=$?
26935 grep -v '^ *+' conftest.er1 >conftest.err
26936 rm -f conftest.er1
26937 cat conftest.err >&5
26938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26939 (exit $ac_status); } && {
26940 test -z "$ac_c_werror_flag" ||
26941 test ! -s conftest.err
26942 } && test -s conftest.$ac_objext; then
26943 ac_cv_header_w32api_h=yes
26944 else
26945 echo "$as_me: failed program was:" >&5
26946 sed 's/^/| /' conftest.$ac_ext >&5
26947
26948 ac_cv_header_w32api_h=no
26949 fi
26950
26951 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26952 fi
26953 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26954 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26955
26956
26957 { echo "$as_me:$LINENO: checking for windows.h" >&5
26958 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26959 if test "${ac_cv_header_windows_h+set}" = set; then
26960 echo $ECHO_N "(cached) $ECHO_C" >&6
26961 else
26962 cat >conftest.$ac_ext <<_ACEOF
26963 /* confdefs.h. */
26964 _ACEOF
26965 cat confdefs.h >>conftest.$ac_ext
26966 cat >>conftest.$ac_ext <<_ACEOF
26967 /* end confdefs.h. */
26968
26969
26970 #include <windows.h>
26971 _ACEOF
26972 rm -f conftest.$ac_objext
26973 if { (ac_try="$ac_compile"
26974 case "(($ac_try" in
26975 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26976 *) ac_try_echo=$ac_try;;
26977 esac
26978 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26979 (eval "$ac_compile") 2>conftest.er1
26980 ac_status=$?
26981 grep -v '^ *+' conftest.er1 >conftest.err
26982 rm -f conftest.er1
26983 cat conftest.err >&5
26984 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26985 (exit $ac_status); } && {
26986 test -z "$ac_c_werror_flag" ||
26987 test ! -s conftest.err
26988 } && test -s conftest.$ac_objext; then
26989 ac_cv_header_windows_h=yes
26990 else
26991 echo "$as_me: failed program was:" >&5
26992 sed 's/^/| /' conftest.$ac_ext >&5
26993
26994 ac_cv_header_windows_h=no
26995 fi
26996
26997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26998 fi
26999 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
27000 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
27001 if test $ac_cv_header_windows_h = yes; then
27002 :
27003 else
27004
27005 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
27006 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
27007 { (exit 1); exit 1; }; }
27008
27009 fi
27010
27011
27012
27013 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
27014
27015 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
27016 LIBS="$LIBS -loleacc"
27017 fi
27018
27019 case "${host}" in
27020 *-*-cygwin* )
27021 LIBS="$LIBS -lkernel32 -luser32"
27022 esac
27023
27024 if test "$wxUSE_ODBC" = "sys" ; then
27025 wxUSE_ODBC = "yes"
27026 fi
27027 if test "$wxUSE_ODBC" = "yes" ; then
27028 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
27029 cat >>confdefs.h <<\_ACEOF
27030 #define wxUSE_ODBC 1
27031 _ACEOF
27032
27033 fi
27034
27035 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27036 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
27037
27038 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
27039
27040 WIN32INSTALL=win32install
27041
27042 { echo "$as_me:$LINENO: checking for pbt.h" >&5
27043 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
27044 if test "${ac_cv_header_pbt_h+set}" = set; then
27045 echo $ECHO_N "(cached) $ECHO_C" >&6
27046 else
27047 cat >conftest.$ac_ext <<_ACEOF
27048 /* confdefs.h. */
27049 _ACEOF
27050 cat confdefs.h >>conftest.$ac_ext
27051 cat >>conftest.$ac_ext <<_ACEOF
27052 /* end confdefs.h. */
27053
27054
27055 #include <pbt.h>
27056 _ACEOF
27057 rm -f conftest.$ac_objext
27058 if { (ac_try="$ac_compile"
27059 case "(($ac_try" in
27060 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27061 *) ac_try_echo=$ac_try;;
27062 esac
27063 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27064 (eval "$ac_compile") 2>conftest.er1
27065 ac_status=$?
27066 grep -v '^ *+' conftest.er1 >conftest.err
27067 rm -f conftest.er1
27068 cat conftest.err >&5
27069 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27070 (exit $ac_status); } && {
27071 test -z "$ac_c_werror_flag" ||
27072 test ! -s conftest.err
27073 } && test -s conftest.$ac_objext; then
27074 ac_cv_header_pbt_h=yes
27075 else
27076 echo "$as_me: failed program was:" >&5
27077 sed 's/^/| /' conftest.$ac_ext >&5
27078
27079 ac_cv_header_pbt_h=no
27080 fi
27081
27082 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27083 fi
27084 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
27085 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
27086 if test $ac_cv_header_pbt_h = yes; then
27087 :
27088 else
27089 cat >>confdefs.h <<\_ACEOF
27090 #define NEED_PBT_H 1
27091 _ACEOF
27092
27093 fi
27094
27095
27096 fi
27097
27098 if test "$wxUSE_GUI" = "yes"; then
27099 USE_GUI=1
27100
27101 GUI_TK_LIBRARY=
27102
27103 WXGTK12=
27104 WXGTK127=
27105 WXGTK20=
27106 WXGPE=
27107
27108 if test "$wxUSE_COCOA" = 1 ; then
27109 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
27110 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
27111 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
27112 wxUSE_PRINTING_ARCHITECTURE=no
27113 fi
27114 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
27115 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
27116 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
27117 wxUSE_DRAG_AND_DROP=no
27118 fi
27119 if test "$wxUSE_DRAGIMAGE" = "yes"; then
27120 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
27121 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
27122 wxUSE_DRAGIMAGE=no
27123 fi
27124 fi
27125
27126 if test "$wxUSE_MSW" = 1 ; then
27127 TOOLKIT=MSW
27128 GUIDIST=MSW_DIST
27129
27130 case "${host}" in
27131 *-*-mingw32* )
27132 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
27133 esac
27134 fi
27135
27136 if test "$wxUSE_GTK" = 1; then
27137 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
27138 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
27139
27140 gtk_version_cached=1
27141 if test "${wx_cv_lib_gtk+set}" = set; then
27142 echo $ECHO_N "(cached) $ECHO_C" >&6
27143 else
27144
27145 gtk_version_cached=0
27146 { echo "$as_me:$LINENO: result: " >&5
27147 echo "${ECHO_T}" >&6; }
27148
27149 GTK_MODULES=
27150 if test "$wxUSE_THREADS" = "yes"; then
27151 GTK_MODULES=gthread
27152 fi
27153
27154 wx_cv_lib_gtk=
27155 if test "x$wxGTK_VERSION" != "x1"
27156 then
27157 case "${host}" in
27158 *-*-solaris2* )
27159 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27160 enable_gtktest=no
27161 fi
27162 esac
27163
27164 # Check whether --enable-gtktest was given.
27165 if test "${enable_gtktest+set}" = set; then
27166 enableval=$enable_gtktest;
27167 else
27168 enable_gtktest=yes
27169 fi
27170
27171
27172 pkg_config_args=gtk+-2.0
27173 for module in . $GTK_MODULES
27174 do
27175 case "$module" in
27176 gthread)
27177 pkg_config_args="$pkg_config_args gthread-2.0"
27178 ;;
27179 esac
27180 done
27181
27182 no_gtk=""
27183
27184 # Extract the first word of "pkg-config", so it can be a program name with args.
27185 set dummy pkg-config; ac_word=$2
27186 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27187 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27188 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
27189 echo $ECHO_N "(cached) $ECHO_C" >&6
27190 else
27191 case $PKG_CONFIG in
27192 [\\/]* | ?:[\\/]*)
27193 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
27194 ;;
27195 *)
27196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27197 for as_dir in $PATH
27198 do
27199 IFS=$as_save_IFS
27200 test -z "$as_dir" && as_dir=.
27201 for ac_exec_ext in '' $ac_executable_extensions; do
27202 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27203 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27204 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27205 break 2
27206 fi
27207 done
27208 done
27209 IFS=$as_save_IFS
27210
27211 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
27212 ;;
27213 esac
27214 fi
27215 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
27216 if test -n "$PKG_CONFIG"; then
27217 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
27218 echo "${ECHO_T}$PKG_CONFIG" >&6; }
27219 else
27220 { echo "$as_me:$LINENO: result: no" >&5
27221 echo "${ECHO_T}no" >&6; }
27222 fi
27223
27224
27225
27226 if test x$PKG_CONFIG != xno ; then
27227 if pkg-config --atleast-pkgconfig-version 0.7 ; then
27228 :
27229 else
27230 echo "*** pkg-config too old; version 0.7 or better required."
27231 no_gtk=yes
27232 PKG_CONFIG=no
27233 fi
27234 else
27235 no_gtk=yes
27236 fi
27237
27238 min_gtk_version=2.0.0
27239 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
27240 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
27241
27242 if test x$PKG_CONFIG != xno ; then
27243 ## don't try to run the test against uninstalled libtool libs
27244 if $PKG_CONFIG --uninstalled $pkg_config_args; then
27245 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
27246 enable_gtktest=no
27247 fi
27248
27249 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
27250 :
27251 else
27252 no_gtk=yes
27253 fi
27254 fi
27255
27256 if test x"$no_gtk" = x ; then
27257 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
27258 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
27259 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27260 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27261 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27262 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27263 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
27264 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27265 if test "x$enable_gtktest" = "xyes" ; then
27266 ac_save_CFLAGS="$CFLAGS"
27267 ac_save_LIBS="$LIBS"
27268 CFLAGS="$CFLAGS $GTK_CFLAGS"
27269 LIBS="$GTK_LIBS $LIBS"
27270 rm -f conf.gtktest
27271 if test "$cross_compiling" = yes; then
27272 echo $ac_n "cross compiling; assumed OK... $ac_c"
27273 else
27274 cat >conftest.$ac_ext <<_ACEOF
27275 /* confdefs.h. */
27276 _ACEOF
27277 cat confdefs.h >>conftest.$ac_ext
27278 cat >>conftest.$ac_ext <<_ACEOF
27279 /* end confdefs.h. */
27280
27281 #include <gtk/gtk.h>
27282 #include <stdio.h>
27283 #include <stdlib.h>
27284
27285 int
27286 main ()
27287 {
27288 int major, minor, micro;
27289 char *tmp_version;
27290
27291 system ("touch conf.gtktest");
27292
27293 /* HP/UX 9 (%@#!) writes to sscanf strings */
27294 tmp_version = g_strdup("$min_gtk_version");
27295 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27296 printf("%s, bad version string\n", "$min_gtk_version");
27297 exit(1);
27298 }
27299
27300 if ((gtk_major_version != $gtk_config_major_version) ||
27301 (gtk_minor_version != $gtk_config_minor_version) ||
27302 (gtk_micro_version != $gtk_config_micro_version))
27303 {
27304 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27305 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27306 gtk_major_version, gtk_minor_version, gtk_micro_version);
27307 printf ("*** was found! If pkg-config was correct, then it is best\n");
27308 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27309 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27310 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27311 printf("*** required on your system.\n");
27312 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
27313 printf("*** to point to the correct configuration files\n");
27314 }
27315 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27316 (gtk_minor_version != GTK_MINOR_VERSION) ||
27317 (gtk_micro_version != GTK_MICRO_VERSION))
27318 {
27319 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27320 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27321 printf("*** library (version %d.%d.%d)\n",
27322 gtk_major_version, gtk_minor_version, gtk_micro_version);
27323 }
27324 else
27325 {
27326 if ((gtk_major_version > major) ||
27327 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27328 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27329 {
27330 return 0;
27331 }
27332 else
27333 {
27334 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27335 gtk_major_version, gtk_minor_version, gtk_micro_version);
27336 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27337 major, minor, micro);
27338 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27339 printf("***\n");
27340 printf("*** If you have already installed a sufficiently new version, this error\n");
27341 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27342 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27343 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27344 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27345 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27346 printf("*** so that the correct libraries are found at run-time))\n");
27347 }
27348 }
27349 return 1;
27350 }
27351
27352 _ACEOF
27353 rm -f conftest$ac_exeext
27354 if { (ac_try="$ac_link"
27355 case "(($ac_try" in
27356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27357 *) ac_try_echo=$ac_try;;
27358 esac
27359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27360 (eval "$ac_link") 2>&5
27361 ac_status=$?
27362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27363 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27364 { (case "(($ac_try" in
27365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27366 *) ac_try_echo=$ac_try;;
27367 esac
27368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27369 (eval "$ac_try") 2>&5
27370 ac_status=$?
27371 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27372 (exit $ac_status); }; }; then
27373 :
27374 else
27375 echo "$as_me: program exited with status $ac_status" >&5
27376 echo "$as_me: failed program was:" >&5
27377 sed 's/^/| /' conftest.$ac_ext >&5
27378
27379 ( exit $ac_status )
27380 no_gtk=yes
27381 fi
27382 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27383 fi
27384
27385
27386 CFLAGS="$ac_save_CFLAGS"
27387 LIBS="$ac_save_LIBS"
27388 fi
27389 fi
27390 if test "x$no_gtk" = x ; then
27391 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27392 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27393 wx_cv_lib_gtk=2.0
27394 else
27395 { echo "$as_me:$LINENO: result: no" >&5
27396 echo "${ECHO_T}no" >&6; }
27397 if test "$PKG_CONFIG" = "no" ; then
27398 echo "*** A new enough version of pkg-config was not found."
27399 echo "*** See http://pkgconfig.sourceforge.net"
27400 else
27401 if test -f conf.gtktest ; then
27402 :
27403 else
27404 echo "*** Could not run GTK+ test program, checking why..."
27405 ac_save_CFLAGS="$CFLAGS"
27406 ac_save_LIBS="$LIBS"
27407 CFLAGS="$CFLAGS $GTK_CFLAGS"
27408 LIBS="$LIBS $GTK_LIBS"
27409 cat >conftest.$ac_ext <<_ACEOF
27410 /* confdefs.h. */
27411 _ACEOF
27412 cat confdefs.h >>conftest.$ac_ext
27413 cat >>conftest.$ac_ext <<_ACEOF
27414 /* end confdefs.h. */
27415
27416 #include <gtk/gtk.h>
27417 #include <stdio.h>
27418
27419 int
27420 main ()
27421 {
27422 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27423 ;
27424 return 0;
27425 }
27426 _ACEOF
27427 rm -f conftest.$ac_objext conftest$ac_exeext
27428 if { (ac_try="$ac_link"
27429 case "(($ac_try" in
27430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27431 *) ac_try_echo=$ac_try;;
27432 esac
27433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27434 (eval "$ac_link") 2>conftest.er1
27435 ac_status=$?
27436 grep -v '^ *+' conftest.er1 >conftest.err
27437 rm -f conftest.er1
27438 cat conftest.err >&5
27439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27440 (exit $ac_status); } && {
27441 test -z "$ac_c_werror_flag" ||
27442 test ! -s conftest.err
27443 } && test -s conftest$ac_exeext &&
27444 $as_test_x conftest$ac_exeext; then
27445 echo "*** The test program compiled, but did not run. This usually means"
27446 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27447 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27448 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27449 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27450 echo "*** is required on your system"
27451 echo "***"
27452 echo "*** If you have an old version installed, it is best to remove it, although"
27453 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27454 else
27455 echo "$as_me: failed program was:" >&5
27456 sed 's/^/| /' conftest.$ac_ext >&5
27457
27458 echo "*** The test program failed to compile or link. See the file config.log for the"
27459 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27460 fi
27461
27462 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27463 conftest$ac_exeext conftest.$ac_ext
27464 CFLAGS="$ac_save_CFLAGS"
27465 LIBS="$ac_save_LIBS"
27466 fi
27467 fi
27468 GTK_CFLAGS=""
27469 GTK_LIBS=""
27470 :
27471 fi
27472
27473
27474 rm -f conf.gtktest
27475
27476
27477 case "${host}" in
27478 *-*-solaris2* )
27479 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27480 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27481 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27482 fi
27483 if test "$wxUSE_SHARED" != "yes"; then
27484 GTK_LIBS="$GTK_LIBS -lX11"
27485 fi
27486 esac
27487 fi
27488
27489 if test -z "$wx_cv_lib_gtk"; then
27490 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27491
27492 # Check whether --with-gtk-prefix was given.
27493 if test "${with_gtk_prefix+set}" = set; then
27494 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27495 else
27496 gtk_config_prefix=""
27497 fi
27498
27499
27500 # Check whether --with-gtk-exec-prefix was given.
27501 if test "${with_gtk_exec_prefix+set}" = set; then
27502 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27503 else
27504 gtk_config_exec_prefix=""
27505 fi
27506
27507 # Check whether --enable-gtktest was given.
27508 if test "${enable_gtktest+set}" = set; then
27509 enableval=$enable_gtktest;
27510 else
27511 enable_gtktest=yes
27512 fi
27513
27514
27515 for module in . $GTK_MODULES
27516 do
27517 case "$module" in
27518 gthread)
27519 gtk_config_args="$gtk_config_args gthread"
27520 ;;
27521 esac
27522 done
27523
27524 if test x$gtk_config_exec_prefix != x ; then
27525 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27526 if test x${GTK_CONFIG+set} != xset ; then
27527 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27528 fi
27529 fi
27530 if test x$gtk_config_prefix != x ; then
27531 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27532 if test x${GTK_CONFIG+set} != xset ; then
27533 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27534 fi
27535 fi
27536
27537 # Extract the first word of "gtk-config", so it can be a program name with args.
27538 set dummy gtk-config; ac_word=$2
27539 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27540 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27541 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27542 echo $ECHO_N "(cached) $ECHO_C" >&6
27543 else
27544 case $GTK_CONFIG in
27545 [\\/]* | ?:[\\/]*)
27546 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27547 ;;
27548 *)
27549 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27550 for as_dir in $PATH
27551 do
27552 IFS=$as_save_IFS
27553 test -z "$as_dir" && as_dir=.
27554 for ac_exec_ext in '' $ac_executable_extensions; do
27555 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27556 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27557 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27558 break 2
27559 fi
27560 done
27561 done
27562 IFS=$as_save_IFS
27563
27564 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27565 ;;
27566 esac
27567 fi
27568 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27569 if test -n "$GTK_CONFIG"; then
27570 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27571 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27572 else
27573 { echo "$as_me:$LINENO: result: no" >&5
27574 echo "${ECHO_T}no" >&6; }
27575 fi
27576
27577
27578 min_gtk_version=1.2.7
27579 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27580 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27581 no_gtk=""
27582 if test "$GTK_CONFIG" = "no" ; then
27583 no_gtk=yes
27584 else
27585 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27586 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27587 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27588 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27589 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27590 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27591 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27592 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27593 if test "x$enable_gtktest" = "xyes" ; then
27594 ac_save_CFLAGS="$CFLAGS"
27595 ac_save_LIBS="$LIBS"
27596 CFLAGS="$CFLAGS $GTK_CFLAGS"
27597 LIBS="$GTK_LIBS $LIBS"
27598 rm -f conf.gtktest
27599 if test "$cross_compiling" = yes; then
27600 echo $ac_n "cross compiling; assumed OK... $ac_c"
27601 else
27602 cat >conftest.$ac_ext <<_ACEOF
27603 /* confdefs.h. */
27604 _ACEOF
27605 cat confdefs.h >>conftest.$ac_ext
27606 cat >>conftest.$ac_ext <<_ACEOF
27607 /* end confdefs.h. */
27608
27609 #include <gtk/gtk.h>
27610 #include <stdio.h>
27611 #include <stdlib.h>
27612
27613 int
27614 main ()
27615 {
27616 int major, minor, micro;
27617 char *tmp_version;
27618
27619 system ("touch conf.gtktest");
27620
27621 /* HP/UX 9 (%@#!) writes to sscanf strings */
27622 tmp_version = g_strdup("$min_gtk_version");
27623 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27624 printf("%s, bad version string\n", "$min_gtk_version");
27625 exit(1);
27626 }
27627
27628 if ((gtk_major_version != $gtk_config_major_version) ||
27629 (gtk_minor_version != $gtk_config_minor_version) ||
27630 (gtk_micro_version != $gtk_config_micro_version))
27631 {
27632 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27633 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27634 gtk_major_version, gtk_minor_version, gtk_micro_version);
27635 printf ("*** was found! If gtk-config was correct, then it is best\n");
27636 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27637 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27638 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27639 printf("*** required on your system.\n");
27640 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27641 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27642 printf("*** before re-running configure\n");
27643 }
27644 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27645 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27646 (gtk_minor_version != GTK_MINOR_VERSION) ||
27647 (gtk_micro_version != GTK_MICRO_VERSION))
27648 {
27649 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27650 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27651 printf("*** library (version %d.%d.%d)\n",
27652 gtk_major_version, gtk_minor_version, gtk_micro_version);
27653 }
27654 #endif /* defined (GTK_MAJOR_VERSION) ... */
27655 else
27656 {
27657 if ((gtk_major_version > major) ||
27658 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27659 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27660 {
27661 return 0;
27662 }
27663 else
27664 {
27665 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27666 gtk_major_version, gtk_minor_version, gtk_micro_version);
27667 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27668 major, minor, micro);
27669 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27670 printf("***\n");
27671 printf("*** If you have already installed a sufficiently new version, this error\n");
27672 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27673 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27674 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27675 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27676 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27677 printf("*** so that the correct libraries are found at run-time))\n");
27678 }
27679 }
27680 return 1;
27681 }
27682
27683 _ACEOF
27684 rm -f conftest$ac_exeext
27685 if { (ac_try="$ac_link"
27686 case "(($ac_try" in
27687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27688 *) ac_try_echo=$ac_try;;
27689 esac
27690 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27691 (eval "$ac_link") 2>&5
27692 ac_status=$?
27693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27694 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27695 { (case "(($ac_try" in
27696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27697 *) ac_try_echo=$ac_try;;
27698 esac
27699 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27700 (eval "$ac_try") 2>&5
27701 ac_status=$?
27702 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27703 (exit $ac_status); }; }; then
27704 :
27705 else
27706 echo "$as_me: program exited with status $ac_status" >&5
27707 echo "$as_me: failed program was:" >&5
27708 sed 's/^/| /' conftest.$ac_ext >&5
27709
27710 ( exit $ac_status )
27711 no_gtk=yes
27712 fi
27713 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27714 fi
27715
27716
27717 CFLAGS="$ac_save_CFLAGS"
27718 LIBS="$ac_save_LIBS"
27719 fi
27720 fi
27721 if test "x$no_gtk" = x ; then
27722 { echo "$as_me:$LINENO: result: yes" >&5
27723 echo "${ECHO_T}yes" >&6; }
27724 wx_cv_lib_gtk=1.2.7
27725 else
27726 { echo "$as_me:$LINENO: result: no" >&5
27727 echo "${ECHO_T}no" >&6; }
27728 if test "$GTK_CONFIG" = "no" ; then
27729 echo "*** The gtk-config script installed by GTK could not be found"
27730 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27731 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27732 echo "*** full path to gtk-config."
27733 else
27734 if test -f conf.gtktest ; then
27735 :
27736 else
27737 echo "*** Could not run GTK test program, checking why..."
27738 CFLAGS="$CFLAGS $GTK_CFLAGS"
27739 LIBS="$LIBS $GTK_LIBS"
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 #include <gtk/gtk.h>
27748 #include <stdio.h>
27749
27750 int
27751 main ()
27752 {
27753 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27754 ;
27755 return 0;
27756 }
27757 _ACEOF
27758 rm -f conftest.$ac_objext conftest$ac_exeext
27759 if { (ac_try="$ac_link"
27760 case "(($ac_try" in
27761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27762 *) ac_try_echo=$ac_try;;
27763 esac
27764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27765 (eval "$ac_link") 2>conftest.er1
27766 ac_status=$?
27767 grep -v '^ *+' conftest.er1 >conftest.err
27768 rm -f conftest.er1
27769 cat conftest.err >&5
27770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27771 (exit $ac_status); } && {
27772 test -z "$ac_c_werror_flag" ||
27773 test ! -s conftest.err
27774 } && test -s conftest$ac_exeext &&
27775 $as_test_x conftest$ac_exeext; then
27776 echo "*** The test program compiled, but did not run. This usually means"
27777 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27778 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27779 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27780 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27781 echo "*** is required on your system"
27782 echo "***"
27783 echo "*** If you have an old version installed, it is best to remove it, although"
27784 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27785 echo "***"
27786 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27787 echo "*** came with the system with the command"
27788 echo "***"
27789 echo "*** rpm --erase --nodeps gtk gtk-devel"
27790 else
27791 echo "$as_me: failed program was:" >&5
27792 sed 's/^/| /' conftest.$ac_ext >&5
27793
27794 echo "*** The test program failed to compile or link. See the file config.log for the"
27795 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27796 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27797 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27798 fi
27799
27800 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27801 conftest$ac_exeext conftest.$ac_ext
27802 CFLAGS="$ac_save_CFLAGS"
27803 LIBS="$ac_save_LIBS"
27804 fi
27805 fi
27806 GTK_CFLAGS=""
27807 GTK_LIBS=""
27808 :
27809 fi
27810
27811
27812 rm -f conf.gtktest
27813
27814
27815 if test -z "$wx_cv_lib_gtk"; then
27816
27817 # Check whether --with-gtk-prefix was given.
27818 if test "${with_gtk_prefix+set}" = set; then
27819 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27820 else
27821 gtk_config_prefix=""
27822 fi
27823
27824
27825 # Check whether --with-gtk-exec-prefix was given.
27826 if test "${with_gtk_exec_prefix+set}" = set; then
27827 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27828 else
27829 gtk_config_exec_prefix=""
27830 fi
27831
27832 # Check whether --enable-gtktest was given.
27833 if test "${enable_gtktest+set}" = set; then
27834 enableval=$enable_gtktest;
27835 else
27836 enable_gtktest=yes
27837 fi
27838
27839
27840 for module in . $GTK_MODULES
27841 do
27842 case "$module" in
27843 gthread)
27844 gtk_config_args="$gtk_config_args gthread"
27845 ;;
27846 esac
27847 done
27848
27849 if test x$gtk_config_exec_prefix != x ; then
27850 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27851 if test x${GTK_CONFIG+set} != xset ; then
27852 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27853 fi
27854 fi
27855 if test x$gtk_config_prefix != x ; then
27856 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27857 if test x${GTK_CONFIG+set} != xset ; then
27858 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27859 fi
27860 fi
27861
27862 # Extract the first word of "gtk-config", so it can be a program name with args.
27863 set dummy gtk-config; ac_word=$2
27864 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27865 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27866 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27867 echo $ECHO_N "(cached) $ECHO_C" >&6
27868 else
27869 case $GTK_CONFIG in
27870 [\\/]* | ?:[\\/]*)
27871 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27872 ;;
27873 *)
27874 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27875 for as_dir in $PATH
27876 do
27877 IFS=$as_save_IFS
27878 test -z "$as_dir" && as_dir=.
27879 for ac_exec_ext in '' $ac_executable_extensions; do
27880 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27881 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27882 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27883 break 2
27884 fi
27885 done
27886 done
27887 IFS=$as_save_IFS
27888
27889 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27890 ;;
27891 esac
27892 fi
27893 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27894 if test -n "$GTK_CONFIG"; then
27895 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27896 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27897 else
27898 { echo "$as_me:$LINENO: result: no" >&5
27899 echo "${ECHO_T}no" >&6; }
27900 fi
27901
27902
27903 min_gtk_version=1.2.3
27904 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27905 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27906 no_gtk=""
27907 if test "$GTK_CONFIG" = "no" ; then
27908 no_gtk=yes
27909 else
27910 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27911 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27912 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27913 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27914 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27915 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27916 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27917 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27918 if test "x$enable_gtktest" = "xyes" ; then
27919 ac_save_CFLAGS="$CFLAGS"
27920 ac_save_LIBS="$LIBS"
27921 CFLAGS="$CFLAGS $GTK_CFLAGS"
27922 LIBS="$GTK_LIBS $LIBS"
27923 rm -f conf.gtktest
27924 if test "$cross_compiling" = yes; then
27925 echo $ac_n "cross compiling; assumed OK... $ac_c"
27926 else
27927 cat >conftest.$ac_ext <<_ACEOF
27928 /* confdefs.h. */
27929 _ACEOF
27930 cat confdefs.h >>conftest.$ac_ext
27931 cat >>conftest.$ac_ext <<_ACEOF
27932 /* end confdefs.h. */
27933
27934 #include <gtk/gtk.h>
27935 #include <stdio.h>
27936 #include <stdlib.h>
27937
27938 int
27939 main ()
27940 {
27941 int major, minor, micro;
27942 char *tmp_version;
27943
27944 system ("touch conf.gtktest");
27945
27946 /* HP/UX 9 (%@#!) writes to sscanf strings */
27947 tmp_version = g_strdup("$min_gtk_version");
27948 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27949 printf("%s, bad version string\n", "$min_gtk_version");
27950 exit(1);
27951 }
27952
27953 if ((gtk_major_version != $gtk_config_major_version) ||
27954 (gtk_minor_version != $gtk_config_minor_version) ||
27955 (gtk_micro_version != $gtk_config_micro_version))
27956 {
27957 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27958 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27959 gtk_major_version, gtk_minor_version, gtk_micro_version);
27960 printf ("*** was found! If gtk-config was correct, then it is best\n");
27961 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27962 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27963 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27964 printf("*** required on your system.\n");
27965 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27966 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27967 printf("*** before re-running configure\n");
27968 }
27969 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27970 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27971 (gtk_minor_version != GTK_MINOR_VERSION) ||
27972 (gtk_micro_version != GTK_MICRO_VERSION))
27973 {
27974 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27975 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27976 printf("*** library (version %d.%d.%d)\n",
27977 gtk_major_version, gtk_minor_version, gtk_micro_version);
27978 }
27979 #endif /* defined (GTK_MAJOR_VERSION) ... */
27980 else
27981 {
27982 if ((gtk_major_version > major) ||
27983 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27984 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27985 {
27986 return 0;
27987 }
27988 else
27989 {
27990 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27991 gtk_major_version, gtk_minor_version, gtk_micro_version);
27992 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27993 major, minor, micro);
27994 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27995 printf("***\n");
27996 printf("*** If you have already installed a sufficiently new version, this error\n");
27997 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27998 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27999 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
28000 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
28001 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
28002 printf("*** so that the correct libraries are found at run-time))\n");
28003 }
28004 }
28005 return 1;
28006 }
28007
28008 _ACEOF
28009 rm -f conftest$ac_exeext
28010 if { (ac_try="$ac_link"
28011 case "(($ac_try" in
28012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28013 *) ac_try_echo=$ac_try;;
28014 esac
28015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28016 (eval "$ac_link") 2>&5
28017 ac_status=$?
28018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
28020 { (case "(($ac_try" in
28021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28022 *) ac_try_echo=$ac_try;;
28023 esac
28024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28025 (eval "$ac_try") 2>&5
28026 ac_status=$?
28027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28028 (exit $ac_status); }; }; then
28029 :
28030 else
28031 echo "$as_me: program exited with status $ac_status" >&5
28032 echo "$as_me: failed program was:" >&5
28033 sed 's/^/| /' conftest.$ac_ext >&5
28034
28035 ( exit $ac_status )
28036 no_gtk=yes
28037 fi
28038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
28039 fi
28040
28041
28042 CFLAGS="$ac_save_CFLAGS"
28043 LIBS="$ac_save_LIBS"
28044 fi
28045 fi
28046 if test "x$no_gtk" = x ; then
28047 { echo "$as_me:$LINENO: result: yes" >&5
28048 echo "${ECHO_T}yes" >&6; }
28049 wx_cv_lib_gtk=1.2.3
28050 else
28051 { echo "$as_me:$LINENO: result: no" >&5
28052 echo "${ECHO_T}no" >&6; }
28053 if test "$GTK_CONFIG" = "no" ; then
28054 echo "*** The gtk-config script installed by GTK could not be found"
28055 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
28056 echo "*** your path, or set the GTK_CONFIG environment variable to the"
28057 echo "*** full path to gtk-config."
28058 else
28059 if test -f conf.gtktest ; then
28060 :
28061 else
28062 echo "*** Could not run GTK test program, checking why..."
28063 CFLAGS="$CFLAGS $GTK_CFLAGS"
28064 LIBS="$LIBS $GTK_LIBS"
28065 cat >conftest.$ac_ext <<_ACEOF
28066 /* confdefs.h. */
28067 _ACEOF
28068 cat confdefs.h >>conftest.$ac_ext
28069 cat >>conftest.$ac_ext <<_ACEOF
28070 /* end confdefs.h. */
28071
28072 #include <gtk/gtk.h>
28073 #include <stdio.h>
28074
28075 int
28076 main ()
28077 {
28078 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
28079 ;
28080 return 0;
28081 }
28082 _ACEOF
28083 rm -f conftest.$ac_objext conftest$ac_exeext
28084 if { (ac_try="$ac_link"
28085 case "(($ac_try" in
28086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28087 *) ac_try_echo=$ac_try;;
28088 esac
28089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28090 (eval "$ac_link") 2>conftest.er1
28091 ac_status=$?
28092 grep -v '^ *+' conftest.er1 >conftest.err
28093 rm -f conftest.er1
28094 cat conftest.err >&5
28095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28096 (exit $ac_status); } && {
28097 test -z "$ac_c_werror_flag" ||
28098 test ! -s conftest.err
28099 } && test -s conftest$ac_exeext &&
28100 $as_test_x conftest$ac_exeext; then
28101 echo "*** The test program compiled, but did not run. This usually means"
28102 echo "*** that the run-time linker is not finding GTK or finding the wrong"
28103 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
28104 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
28105 echo "*** to the installed location Also, make sure you have run ldconfig if that"
28106 echo "*** is required on your system"
28107 echo "***"
28108 echo "*** If you have an old version installed, it is best to remove it, although"
28109 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
28110 echo "***"
28111 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
28112 echo "*** came with the system with the command"
28113 echo "***"
28114 echo "*** rpm --erase --nodeps gtk gtk-devel"
28115 else
28116 echo "$as_me: failed program was:" >&5
28117 sed 's/^/| /' conftest.$ac_ext >&5
28118
28119 echo "*** The test program failed to compile or link. See the file config.log for the"
28120 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
28121 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
28122 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
28123 fi
28124
28125 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28126 conftest$ac_exeext conftest.$ac_ext
28127 CFLAGS="$ac_save_CFLAGS"
28128 LIBS="$ac_save_LIBS"
28129 fi
28130 fi
28131 GTK_CFLAGS=""
28132 GTK_LIBS=""
28133 :
28134 fi
28135
28136
28137 rm -f conf.gtktest
28138
28139 fi
28140 fi
28141 fi
28142
28143 if test -z "$wx_cv_lib_gtk"; then
28144 wx_cv_lib_gtk=none
28145 else
28146 wx_cv_cflags_gtk=$GTK_CFLAGS
28147 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
28148 fi
28149
28150
28151 fi
28152
28153
28154 if test "$gtk_version_cached" = 1; then
28155 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
28156 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
28157 fi
28158
28159 case "$wx_cv_lib_gtk" in
28160 2.0) WXGTK20=1
28161 TOOLKIT_VERSION=2
28162 ;;
28163 1.2.7) WXGTK127=1
28164 WXGTK12=1
28165 ;;
28166 1.2.3) WXGTK12=1
28167 ;;
28168 *) { { echo "$as_me:$LINENO: error:
28169 The development files for GTK+ were not found. For GTK+ 2, please
28170 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28171 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28172 and that the version is 1.2.3 or above. Also check that the
28173 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28174 --libs' are in the LD_LIBRARY_PATH or equivalent.
28175 " >&5
28176 echo "$as_me: error:
28177 The development files for GTK+ were not found. For GTK+ 2, please
28178 ensure that pkg-config is in the path and that gtk+-2.0.pc is
28179 installed. For GTK+ 1.2 please check that gtk-config is in the path,
28180 and that the version is 1.2.3 or above. Also check that the
28181 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
28182 --libs' are in the LD_LIBRARY_PATH or equivalent.
28183 " >&2;}
28184 { (exit 1); exit 1; }; }
28185 ;;
28186 esac
28187
28188 if test "$WXGTK20" = 1; then
28189 save_CFLAGS="$CFLAGS"
28190 save_LIBS="$LIBS"
28191 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
28192 LIBS="$LIBS $wx_cv_libs_gtk"
28193
28194 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
28195 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
28196 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
28197 echo $ECHO_N "(cached) $ECHO_C" >&6
28198 else
28199 cat >conftest.$ac_ext <<_ACEOF
28200 /* confdefs.h. */
28201 _ACEOF
28202 cat confdefs.h >>conftest.$ac_ext
28203 cat >>conftest.$ac_ext <<_ACEOF
28204 /* end confdefs.h. */
28205 #include <gtk/gtk.h>
28206
28207 int
28208 main ()
28209 {
28210 #ifndef gtk_icon_size_lookup
28211 (void) gtk_icon_size_lookup;
28212 #endif
28213
28214 ;
28215 return 0;
28216 }
28217 _ACEOF
28218 rm -f conftest.$ac_objext
28219 if { (ac_try="$ac_compile"
28220 case "(($ac_try" in
28221 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28222 *) ac_try_echo=$ac_try;;
28223 esac
28224 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28225 (eval "$ac_compile") 2>conftest.er1
28226 ac_status=$?
28227 grep -v '^ *+' conftest.er1 >conftest.err
28228 rm -f conftest.er1
28229 cat conftest.err >&5
28230 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28231 (exit $ac_status); } && {
28232 test -z "$ac_c_werror_flag" ||
28233 test ! -s conftest.err
28234 } && test -s conftest.$ac_objext; then
28235 ac_cv_have_decl_gtk_icon_size_lookup=yes
28236 else
28237 echo "$as_me: failed program was:" >&5
28238 sed 's/^/| /' conftest.$ac_ext >&5
28239
28240 ac_cv_have_decl_gtk_icon_size_lookup=no
28241 fi
28242
28243 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28244 fi
28245 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
28246 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
28247 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
28248
28249 cat >>confdefs.h <<_ACEOF
28250 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
28251 _ACEOF
28252
28253
28254 else
28255 cat >>confdefs.h <<_ACEOF
28256 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
28257 _ACEOF
28258
28259 cat >>confdefs.h <<\_ACEOF
28260 #define NEED_GTK_ICON_SIZE_LOOKUP 1
28261 _ACEOF
28262
28263 fi
28264
28265
28266
28267
28268 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
28269 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
28270 cat >conftest.$ac_ext <<_ACEOF
28271 /* confdefs.h. */
28272 _ACEOF
28273 cat confdefs.h >>conftest.$ac_ext
28274 cat >>conftest.$ac_ext <<_ACEOF
28275 /* end confdefs.h. */
28276
28277 #include <gtk/gtk.h>
28278
28279 int
28280 main ()
28281 {
28282
28283 #if !GTK_CHECK_VERSION(2,10,0)
28284 Not GTK+ 2.10
28285 #endif
28286
28287 ;
28288 return 0;
28289 }
28290 _ACEOF
28291 rm -f conftest.$ac_objext
28292 if { (ac_try="$ac_compile"
28293 case "(($ac_try" in
28294 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28295 *) ac_try_echo=$ac_try;;
28296 esac
28297 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28298 (eval "$ac_compile") 2>conftest.er1
28299 ac_status=$?
28300 grep -v '^ *+' conftest.er1 >conftest.err
28301 rm -f conftest.er1
28302 cat conftest.err >&5
28303 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28304 (exit $ac_status); } && {
28305 test -z "$ac_c_werror_flag" ||
28306 test ! -s conftest.err
28307 } && test -s conftest.$ac_objext; then
28308
28309 cat >>confdefs.h <<\_ACEOF
28310 #define __WXGTK210__ 1
28311 _ACEOF
28312
28313 cat >>confdefs.h <<\_ACEOF
28314 #define __WXGTK26__ 1
28315 _ACEOF
28316
28317 cat >>confdefs.h <<\_ACEOF
28318 #define __WXGTK24__ 1
28319 _ACEOF
28320
28321 { echo "$as_me:$LINENO: result: yes" >&5
28322 echo "${ECHO_T}yes" >&6; }
28323 ac_wxgtk210=1
28324
28325 else
28326 echo "$as_me: failed program was:" >&5
28327 sed 's/^/| /' conftest.$ac_ext >&5
28328
28329
28330 { echo "$as_me:$LINENO: result: no" >&5
28331 echo "${ECHO_T}no" >&6; }
28332 ac_wxgtk210=0
28333
28334 fi
28335
28336 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28337
28338 if test "$ac_wxgtk210" = 0; then
28339 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28340 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28341 cat >conftest.$ac_ext <<_ACEOF
28342 /* confdefs.h. */
28343 _ACEOF
28344 cat confdefs.h >>conftest.$ac_ext
28345 cat >>conftest.$ac_ext <<_ACEOF
28346 /* end confdefs.h. */
28347
28348 #include <gtk/gtk.h>
28349
28350 int
28351 main ()
28352 {
28353
28354 #if !GTK_CHECK_VERSION(2,6,0)
28355 Not GTK+ 2.6
28356 #endif
28357
28358 ;
28359 return 0;
28360 }
28361 _ACEOF
28362 rm -f conftest.$ac_objext
28363 if { (ac_try="$ac_compile"
28364 case "(($ac_try" in
28365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28366 *) ac_try_echo=$ac_try;;
28367 esac
28368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28369 (eval "$ac_compile") 2>conftest.er1
28370 ac_status=$?
28371 grep -v '^ *+' conftest.er1 >conftest.err
28372 rm -f conftest.er1
28373 cat conftest.err >&5
28374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28375 (exit $ac_status); } && {
28376 test -z "$ac_c_werror_flag" ||
28377 test ! -s conftest.err
28378 } && test -s conftest.$ac_objext; then
28379
28380 cat >>confdefs.h <<\_ACEOF
28381 #define __WXGTK26__ 1
28382 _ACEOF
28383
28384 cat >>confdefs.h <<\_ACEOF
28385 #define __WXGTK24__ 1
28386 _ACEOF
28387
28388 { echo "$as_me:$LINENO: result: yes" >&5
28389 echo "${ECHO_T}yes" >&6; }
28390 ac_wxgtk26=1
28391
28392 else
28393 echo "$as_me: failed program was:" >&5
28394 sed 's/^/| /' conftest.$ac_ext >&5
28395
28396
28397 { echo "$as_me:$LINENO: result: no" >&5
28398 echo "${ECHO_T}no" >&6; }
28399 ac_wxgtk26=0
28400
28401 fi
28402
28403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28404 fi
28405
28406 if test "$ac_wxgtk26" = 0; then
28407 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28408 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28409 cat >conftest.$ac_ext <<_ACEOF
28410 /* confdefs.h. */
28411 _ACEOF
28412 cat confdefs.h >>conftest.$ac_ext
28413 cat >>conftest.$ac_ext <<_ACEOF
28414 /* end confdefs.h. */
28415
28416 #include <gtk/gtk.h>
28417
28418 int
28419 main ()
28420 {
28421
28422 #if !GTK_CHECK_VERSION(2,4,0)
28423 Not GTK+ 2.4
28424 #endif
28425
28426 ;
28427 return 0;
28428 }
28429 _ACEOF
28430 rm -f conftest.$ac_objext
28431 if { (ac_try="$ac_compile"
28432 case "(($ac_try" in
28433 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28434 *) ac_try_echo=$ac_try;;
28435 esac
28436 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28437 (eval "$ac_compile") 2>conftest.er1
28438 ac_status=$?
28439 grep -v '^ *+' conftest.er1 >conftest.err
28440 rm -f conftest.er1
28441 cat conftest.err >&5
28442 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28443 (exit $ac_status); } && {
28444 test -z "$ac_c_werror_flag" ||
28445 test ! -s conftest.err
28446 } && test -s conftest.$ac_objext; then
28447
28448 cat >>confdefs.h <<\_ACEOF
28449 #define __WXGTK24__ 1
28450 _ACEOF
28451
28452 { echo "$as_me:$LINENO: result: yes" >&5
28453 echo "${ECHO_T}yes" >&6; }
28454
28455 else
28456 echo "$as_me: failed program was:" >&5
28457 sed 's/^/| /' conftest.$ac_ext >&5
28458
28459
28460 { echo "$as_me:$LINENO: result: no" >&5
28461 echo "${ECHO_T}no" >&6; }
28462
28463 fi
28464
28465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28466 fi
28467
28468 CFLAGS="$save_CFLAGS"
28469 LIBS="$save_LIBS"
28470 else
28471 if test "$wxUSE_UNICODE" = "yes"; then
28472 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28473 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28474 wxUSE_UNICODE=no
28475 fi
28476
28477 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28478 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28479 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28480 echo $ECHO_N "(cached) $ECHO_C" >&6
28481 else
28482 ac_check_lib_save_LIBS=$LIBS
28483 LIBS="-lgdk $LIBS"
28484 cat >conftest.$ac_ext <<_ACEOF
28485 /* confdefs.h. */
28486 _ACEOF
28487 cat confdefs.h >>conftest.$ac_ext
28488 cat >>conftest.$ac_ext <<_ACEOF
28489 /* end confdefs.h. */
28490
28491 /* Override any GCC internal prototype to avoid an error.
28492 Use char because int might match the return type of a GCC
28493 builtin and then its argument prototype would still apply. */
28494 #ifdef __cplusplus
28495 extern "C"
28496 #endif
28497 char gdk_im_open ();
28498 int
28499 main ()
28500 {
28501 return gdk_im_open ();
28502 ;
28503 return 0;
28504 }
28505 _ACEOF
28506 rm -f conftest.$ac_objext conftest$ac_exeext
28507 if { (ac_try="$ac_link"
28508 case "(($ac_try" in
28509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28510 *) ac_try_echo=$ac_try;;
28511 esac
28512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28513 (eval "$ac_link") 2>conftest.er1
28514 ac_status=$?
28515 grep -v '^ *+' conftest.er1 >conftest.err
28516 rm -f conftest.er1
28517 cat conftest.err >&5
28518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28519 (exit $ac_status); } && {
28520 test -z "$ac_c_werror_flag" ||
28521 test ! -s conftest.err
28522 } && test -s conftest$ac_exeext &&
28523 $as_test_x conftest$ac_exeext; then
28524 ac_cv_lib_gdk_gdk_im_open=yes
28525 else
28526 echo "$as_me: failed program was:" >&5
28527 sed 's/^/| /' conftest.$ac_ext >&5
28528
28529 ac_cv_lib_gdk_gdk_im_open=no
28530 fi
28531
28532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28533 conftest$ac_exeext conftest.$ac_ext
28534 LIBS=$ac_check_lib_save_LIBS
28535 fi
28536 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28537 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28538 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28539 cat >>confdefs.h <<\_ACEOF
28540 #define HAVE_XIM 1
28541 _ACEOF
28542
28543 fi
28544
28545
28546 if test "$USE_DARWIN" != 1; then
28547
28548 for ac_func in poll
28549 do
28550 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28551 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28552 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28553 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28554 echo $ECHO_N "(cached) $ECHO_C" >&6
28555 else
28556 cat >conftest.$ac_ext <<_ACEOF
28557 /* confdefs.h. */
28558 _ACEOF
28559 cat confdefs.h >>conftest.$ac_ext
28560 cat >>conftest.$ac_ext <<_ACEOF
28561 /* end confdefs.h. */
28562 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28563 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28564 #define $ac_func innocuous_$ac_func
28565
28566 /* System header to define __stub macros and hopefully few prototypes,
28567 which can conflict with char $ac_func (); below.
28568 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28569 <limits.h> exists even on freestanding compilers. */
28570
28571 #ifdef __STDC__
28572 # include <limits.h>
28573 #else
28574 # include <assert.h>
28575 #endif
28576
28577 #undef $ac_func
28578
28579 /* Override any GCC internal prototype to avoid an error.
28580 Use char because int might match the return type of a GCC
28581 builtin and then its argument prototype would still apply. */
28582 #ifdef __cplusplus
28583 extern "C"
28584 #endif
28585 char $ac_func ();
28586 /* The GNU C library defines this for functions which it implements
28587 to always fail with ENOSYS. Some functions are actually named
28588 something starting with __ and the normal name is an alias. */
28589 #if defined __stub_$ac_func || defined __stub___$ac_func
28590 choke me
28591 #endif
28592
28593 int
28594 main ()
28595 {
28596 return $ac_func ();
28597 ;
28598 return 0;
28599 }
28600 _ACEOF
28601 rm -f conftest.$ac_objext conftest$ac_exeext
28602 if { (ac_try="$ac_link"
28603 case "(($ac_try" in
28604 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28605 *) ac_try_echo=$ac_try;;
28606 esac
28607 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28608 (eval "$ac_link") 2>conftest.er1
28609 ac_status=$?
28610 grep -v '^ *+' conftest.er1 >conftest.err
28611 rm -f conftest.er1
28612 cat conftest.err >&5
28613 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28614 (exit $ac_status); } && {
28615 test -z "$ac_c_werror_flag" ||
28616 test ! -s conftest.err
28617 } && test -s conftest$ac_exeext &&
28618 $as_test_x conftest$ac_exeext; then
28619 eval "$as_ac_var=yes"
28620 else
28621 echo "$as_me: failed program was:" >&5
28622 sed 's/^/| /' conftest.$ac_ext >&5
28623
28624 eval "$as_ac_var=no"
28625 fi
28626
28627 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28628 conftest$ac_exeext conftest.$ac_ext
28629 fi
28630 ac_res=`eval echo '${'$as_ac_var'}'`
28631 { echo "$as_me:$LINENO: result: $ac_res" >&5
28632 echo "${ECHO_T}$ac_res" >&6; }
28633 if test `eval echo '${'$as_ac_var'}'` = yes; then
28634 cat >>confdefs.h <<_ACEOF
28635 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28636 _ACEOF
28637
28638 fi
28639 done
28640
28641 fi
28642 fi
28643
28644 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28645 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28646
28647 AFMINSTALL=afminstall
28648 TOOLKIT=GTK
28649 GUIDIST=GTK_DIST
28650
28651 if test "$wxUSE_GPE" = "yes"; then
28652 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28653 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28654
28655 ac_find_libraries=
28656 for ac_dir in $SEARCH_LIB;
28657 do
28658 for ac_extension in a so sl dylib dll.a; do
28659 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28660 ac_find_libraries=$ac_dir
28661 break 2
28662 fi
28663 done
28664 done
28665
28666 if test "$ac_find_libraries" != "" ; then
28667
28668 if test "$ac_find_libraries" = "default location"; then
28669 ac_path_to_link=""
28670 else
28671 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28672 result=$?
28673 if test $result = 0; then
28674 ac_path_to_link=""
28675 else
28676 ac_path_to_link=" -L$ac_find_libraries"
28677 fi
28678 fi
28679
28680 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28681 WXGPE=1
28682 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28683 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28684 else
28685 { echo "$as_me:$LINENO: result: not found" >&5
28686 echo "${ECHO_T}not found" >&6; }
28687 fi
28688
28689 fi
28690 fi
28691
28692 if test "$wxUSE_MGL" = 1; then
28693 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28694 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28695 if test "x$MGL_ROOT" = x ; then
28696 { echo "$as_me:$LINENO: result: not found" >&5
28697 echo "${ECHO_T}not found" >&6; }
28698 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28699 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28700 { (exit 1); exit 1; }; }
28701 else
28702 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28703 echo "${ECHO_T}$MGL_ROOT" >&6; }
28704 fi
28705
28706 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28707 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28708 case "${host}" in
28709 *-*-linux* )
28710 if test "x$wxUSE_SHARED" = xyes ; then
28711 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28712 else
28713 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28714 fi
28715 ;;
28716 *-pc-msdosdjgpp )
28717 mgl_os_candidates="dos32/dj2"
28718 ;;
28719 *)
28720 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28721 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28722 { (exit 1); exit 1; }; }
28723 esac
28724
28725 mgl_lib_type=""
28726 mgl_os=""
28727
28728 for mgl_os_i in $mgl_os_candidates ; do
28729 if test "x$mgl_os" = x ; then
28730 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28731 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28732 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28733 mgl_lib_type=debug
28734 mgl_os=$mgl_os_i
28735 fi
28736 fi
28737 if test "x$mgl_lib_type" = x ; then
28738 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28739 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28740 mgl_lib_type=release
28741 mgl_os=$mgl_os_i
28742 fi
28743 fi
28744 fi
28745 done
28746
28747 if test "x$mgl_os" = x ; then
28748 { echo "$as_me:$LINENO: result: not found" >&5
28749 echo "${ECHO_T}not found" >&6; }
28750 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28751 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28752 { (exit 1); exit 1; }; }
28753 fi
28754 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28755 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28756
28757 wxUSE_UNIVERSAL="yes"
28758
28759 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28760 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28761
28762 AFMINSTALL=afminstall
28763 TOOLKIT=MGL
28764 GUIDIST=MGL_DIST
28765 fi
28766
28767 if test "$wxUSE_DFB" = 1; then
28768
28769
28770 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28771 if test -n "$ac_tool_prefix"; then
28772 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28773 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28774 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28775 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28776 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28777 echo $ECHO_N "(cached) $ECHO_C" >&6
28778 else
28779 case $PKG_CONFIG in
28780 [\\/]* | ?:[\\/]*)
28781 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28782 ;;
28783 *)
28784 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28785 for as_dir in $PATH
28786 do
28787 IFS=$as_save_IFS
28788 test -z "$as_dir" && as_dir=.
28789 for ac_exec_ext in '' $ac_executable_extensions; do
28790 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28791 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28792 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28793 break 2
28794 fi
28795 done
28796 done
28797 IFS=$as_save_IFS
28798
28799 ;;
28800 esac
28801 fi
28802 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28803 if test -n "$PKG_CONFIG"; then
28804 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28805 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28806 else
28807 { echo "$as_me:$LINENO: result: no" >&5
28808 echo "${ECHO_T}no" >&6; }
28809 fi
28810
28811
28812 fi
28813 if test -z "$ac_cv_path_PKG_CONFIG"; then
28814 ac_pt_PKG_CONFIG=$PKG_CONFIG
28815 # Extract the first word of "pkg-config", so it can be a program name with args.
28816 set dummy pkg-config; ac_word=$2
28817 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28818 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28819 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28820 echo $ECHO_N "(cached) $ECHO_C" >&6
28821 else
28822 case $ac_pt_PKG_CONFIG in
28823 [\\/]* | ?:[\\/]*)
28824 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28825 ;;
28826 *)
28827 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28828 for as_dir in $PATH
28829 do
28830 IFS=$as_save_IFS
28831 test -z "$as_dir" && as_dir=.
28832 for ac_exec_ext in '' $ac_executable_extensions; do
28833 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28834 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28835 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28836 break 2
28837 fi
28838 done
28839 done
28840 IFS=$as_save_IFS
28841
28842 ;;
28843 esac
28844 fi
28845 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28846 if test -n "$ac_pt_PKG_CONFIG"; then
28847 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28848 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28849 else
28850 { echo "$as_me:$LINENO: result: no" >&5
28851 echo "${ECHO_T}no" >&6; }
28852 fi
28853
28854 if test "x$ac_pt_PKG_CONFIG" = x; then
28855 PKG_CONFIG=""
28856 else
28857 case $cross_compiling:$ac_tool_warned in
28858 yes:)
28859 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28860 whose name does not start with the host triplet. If you think this
28861 configuration is useful to you, please write to autoconf@gnu.org." >&5
28862 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28863 whose name does not start with the host triplet. If you think this
28864 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28865 ac_tool_warned=yes ;;
28866 esac
28867 PKG_CONFIG=$ac_pt_PKG_CONFIG
28868 fi
28869 else
28870 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28871 fi
28872
28873 fi
28874 if test -n "$PKG_CONFIG"; then
28875 _pkg_min_version=0.9.0
28876 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28877 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28878 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28879 { echo "$as_me:$LINENO: result: yes" >&5
28880 echo "${ECHO_T}yes" >&6; }
28881 else
28882 { echo "$as_me:$LINENO: result: no" >&5
28883 echo "${ECHO_T}no" >&6; }
28884 PKG_CONFIG=""
28885 fi
28886
28887 fi
28888
28889
28890 pkg_failed=no
28891 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28892 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28893
28894 if test -n "$PKG_CONFIG"; then
28895 if test -n "$DIRECTFB_CFLAGS"; then
28896 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28897 else
28898 if test -n "$PKG_CONFIG" && \
28899 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28900 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28901 ac_status=$?
28902 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28903 (exit $ac_status); }; then
28904 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28905 else
28906 pkg_failed=yes
28907 fi
28908 fi
28909 else
28910 pkg_failed=untried
28911 fi
28912 if test -n "$PKG_CONFIG"; then
28913 if test -n "$DIRECTFB_LIBS"; then
28914 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28915 else
28916 if test -n "$PKG_CONFIG" && \
28917 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28918 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28919 ac_status=$?
28920 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28921 (exit $ac_status); }; then
28922 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28923 else
28924 pkg_failed=yes
28925 fi
28926 fi
28927 else
28928 pkg_failed=untried
28929 fi
28930
28931
28932
28933 if test $pkg_failed = yes; then
28934
28935 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28936 _pkg_short_errors_supported=yes
28937 else
28938 _pkg_short_errors_supported=no
28939 fi
28940 if test $_pkg_short_errors_supported = yes; then
28941 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28942 else
28943 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28944 fi
28945 # Put the nasty error message in config.log where it belongs
28946 echo "$DIRECTFB_PKG_ERRORS" >&5
28947
28948
28949 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28950 echo "$as_me: error: DirectFB not found." >&2;}
28951 { (exit 1); exit 1; }; }
28952
28953
28954 elif test $pkg_failed = untried; then
28955
28956 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28957 echo "$as_me: error: DirectFB not found." >&2;}
28958 { (exit 1); exit 1; }; }
28959
28960
28961 else
28962 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28963 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28964 { echo "$as_me:$LINENO: result: yes" >&5
28965 echo "${ECHO_T}yes" >&6; }
28966
28967 wxUSE_UNIVERSAL="yes"
28968 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28969 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28970 TOOLKIT=DFB
28971 GUIDIST=DFB_DIST
28972
28973 fi
28974 fi
28975
28976 if test "$wxUSE_MICROWIN" = 1; then
28977 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28978 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28979 if test "x$MICROWINDOWS" = x ; then
28980 { echo "$as_me:$LINENO: result: not found" >&5
28981 echo "${ECHO_T}not found" >&6; }
28982 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28983 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28984 { (exit 1); exit 1; }; }
28985 else
28986 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28987 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28988 fi
28989
28990 if test -f $MICROWINDOWS/lib/libmwin.a; then
28991 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28992 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28993 else
28994 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28995 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28996 { (exit 1); exit 1; }; }
28997 fi
28998
28999 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
29000 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
29001
29002 wxUSE_UNIVERSAL="yes"
29003
29004 AFMINSTALL=afminstall
29005 TOOLKIT=MICROWIN
29006 GUIDIST=MICROWIN_DIST
29007
29008 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
29009 fi
29010
29011 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
29012 { echo "$as_me:$LINENO: checking for X" >&5
29013 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
29014
29015
29016 # Check whether --with-x was given.
29017 if test "${with_x+set}" = set; then
29018 withval=$with_x;
29019 fi
29020
29021 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
29022 if test "x$with_x" = xno; then
29023 # The user explicitly disabled X.
29024 have_x=disabled
29025 else
29026 case $x_includes,$x_libraries in #(
29027 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
29028 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
29029 { (exit 1); exit 1; }; };; #(
29030 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
29031 echo $ECHO_N "(cached) $ECHO_C" >&6
29032 else
29033 # One or both of the vars are not set, and there is no cached value.
29034 ac_x_includes=no ac_x_libraries=no
29035 rm -f -r conftest.dir
29036 if mkdir conftest.dir; then
29037 cd conftest.dir
29038 cat >Imakefile <<'_ACEOF'
29039 incroot:
29040 @echo incroot='${INCROOT}'
29041 usrlibdir:
29042 @echo usrlibdir='${USRLIBDIR}'
29043 libdir:
29044 @echo libdir='${LIBDIR}'
29045 _ACEOF
29046 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
29047 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
29048 for ac_var in incroot usrlibdir libdir; do
29049 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
29050 done
29051 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
29052 for ac_extension in a so sl; do
29053 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
29054 test -f "$ac_im_libdir/libX11.$ac_extension"; then
29055 ac_im_usrlibdir=$ac_im_libdir; break
29056 fi
29057 done
29058 # Screen out bogus values from the imake configuration. They are
29059 # bogus both because they are the default anyway, and because
29060 # using them would break gcc on systems where it needs fixed includes.
29061 case $ac_im_incroot in
29062 /usr/include) ac_x_includes= ;;
29063 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
29064 esac
29065 case $ac_im_usrlibdir in
29066 /usr/lib | /lib) ;;
29067 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
29068 esac
29069 fi
29070 cd ..
29071 rm -f -r conftest.dir
29072 fi
29073
29074 # Standard set of common directories for X headers.
29075 # Check X11 before X11Rn because it is often a symlink to the current release.
29076 ac_x_header_dirs='
29077 /usr/X11/include
29078 /usr/X11R6/include
29079 /usr/X11R5/include
29080 /usr/X11R4/include
29081
29082 /usr/include/X11
29083 /usr/include/X11R6
29084 /usr/include/X11R5
29085 /usr/include/X11R4
29086
29087 /usr/local/X11/include
29088 /usr/local/X11R6/include
29089 /usr/local/X11R5/include
29090 /usr/local/X11R4/include
29091
29092 /usr/local/include/X11
29093 /usr/local/include/X11R6
29094 /usr/local/include/X11R5
29095 /usr/local/include/X11R4
29096
29097 /usr/X386/include
29098 /usr/x386/include
29099 /usr/XFree86/include/X11
29100
29101 /usr/include
29102 /usr/local/include
29103 /usr/unsupported/include
29104 /usr/athena/include
29105 /usr/local/x11r5/include
29106 /usr/lpp/Xamples/include
29107
29108 /usr/openwin/include
29109 /usr/openwin/share/include'
29110
29111 if test "$ac_x_includes" = no; then
29112 # Guess where to find include files, by looking for Xlib.h.
29113 # First, try using that file with no special directory specified.
29114 cat >conftest.$ac_ext <<_ACEOF
29115 /* confdefs.h. */
29116 _ACEOF
29117 cat confdefs.h >>conftest.$ac_ext
29118 cat >>conftest.$ac_ext <<_ACEOF
29119 /* end confdefs.h. */
29120 #include <X11/Xlib.h>
29121 _ACEOF
29122 if { (ac_try="$ac_cpp conftest.$ac_ext"
29123 case "(($ac_try" in
29124 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29125 *) ac_try_echo=$ac_try;;
29126 esac
29127 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29128 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
29129 ac_status=$?
29130 grep -v '^ *+' conftest.er1 >conftest.err
29131 rm -f conftest.er1
29132 cat conftest.err >&5
29133 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29134 (exit $ac_status); } >/dev/null && {
29135 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
29136 test ! -s conftest.err
29137 }; then
29138 # We can compile using X headers with no special include directory.
29139 ac_x_includes=
29140 else
29141 echo "$as_me: failed program was:" >&5
29142 sed 's/^/| /' conftest.$ac_ext >&5
29143
29144 for ac_dir in $ac_x_header_dirs; do
29145 if test -r "$ac_dir/X11/Xlib.h"; then
29146 ac_x_includes=$ac_dir
29147 break
29148 fi
29149 done
29150 fi
29151
29152 rm -f conftest.err conftest.$ac_ext
29153 fi # $ac_x_includes = no
29154
29155 if test "$ac_x_libraries" = no; then
29156 # Check for the libraries.
29157 # See if we find them without any special options.
29158 # Don't add to $LIBS permanently.
29159 ac_save_LIBS=$LIBS
29160 LIBS="-lX11 $LIBS"
29161 cat >conftest.$ac_ext <<_ACEOF
29162 /* confdefs.h. */
29163 _ACEOF
29164 cat confdefs.h >>conftest.$ac_ext
29165 cat >>conftest.$ac_ext <<_ACEOF
29166 /* end confdefs.h. */
29167 #include <X11/Xlib.h>
29168 int
29169 main ()
29170 {
29171 XrmInitialize ()
29172 ;
29173 return 0;
29174 }
29175 _ACEOF
29176 rm -f conftest.$ac_objext conftest$ac_exeext
29177 if { (ac_try="$ac_link"
29178 case "(($ac_try" in
29179 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29180 *) ac_try_echo=$ac_try;;
29181 esac
29182 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29183 (eval "$ac_link") 2>conftest.er1
29184 ac_status=$?
29185 grep -v '^ *+' conftest.er1 >conftest.err
29186 rm -f conftest.er1
29187 cat conftest.err >&5
29188 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29189 (exit $ac_status); } && {
29190 test -z "$ac_c_werror_flag" ||
29191 test ! -s conftest.err
29192 } && test -s conftest$ac_exeext &&
29193 $as_test_x conftest$ac_exeext; then
29194 LIBS=$ac_save_LIBS
29195 # We can link X programs with no special library path.
29196 ac_x_libraries=
29197 else
29198 echo "$as_me: failed program was:" >&5
29199 sed 's/^/| /' conftest.$ac_ext >&5
29200
29201 LIBS=$ac_save_LIBS
29202 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
29203 do
29204 # Don't even attempt the hair of trying to link an X program!
29205 for ac_extension in a so sl; do
29206 if test -r "$ac_dir/libX11.$ac_extension"; then
29207 ac_x_libraries=$ac_dir
29208 break 2
29209 fi
29210 done
29211 done
29212 fi
29213
29214 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29215 conftest$ac_exeext conftest.$ac_ext
29216 fi # $ac_x_libraries = no
29217
29218 case $ac_x_includes,$ac_x_libraries in #(
29219 no,* | *,no | *\'*)
29220 # Didn't find X, or a directory has "'" in its name.
29221 ac_cv_have_x="have_x=no";; #(
29222 *)
29223 # Record where we found X for the cache.
29224 ac_cv_have_x="have_x=yes\
29225 ac_x_includes='$ac_x_includes'\
29226 ac_x_libraries='$ac_x_libraries'"
29227 esac
29228 fi
29229 ;; #(
29230 *) have_x=yes;;
29231 esac
29232 eval "$ac_cv_have_x"
29233 fi # $with_x != no
29234
29235 if test "$have_x" != yes; then
29236 { echo "$as_me:$LINENO: result: $have_x" >&5
29237 echo "${ECHO_T}$have_x" >&6; }
29238 no_x=yes
29239 else
29240 # If each of the values was on the command line, it overrides each guess.
29241 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
29242 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
29243 # Update the cache value to reflect the command line values.
29244 ac_cv_have_x="have_x=yes\
29245 ac_x_includes='$x_includes'\
29246 ac_x_libraries='$x_libraries'"
29247 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
29248 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
29249 fi
29250
29251 if test "$no_x" = yes; then
29252 # Not all programs may use this symbol, but it does not hurt to define it.
29253
29254 cat >>confdefs.h <<\_ACEOF
29255 #define X_DISPLAY_MISSING 1
29256 _ACEOF
29257
29258 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
29259 else
29260 if test -n "$x_includes"; then
29261 X_CFLAGS="$X_CFLAGS -I$x_includes"
29262 fi
29263
29264 # It would also be nice to do this for all -L options, not just this one.
29265 if test -n "$x_libraries"; then
29266 X_LIBS="$X_LIBS -L$x_libraries"
29267 # For Solaris; some versions of Sun CC require a space after -R and
29268 # others require no space. Words are not sufficient . . . .
29269 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
29270 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
29271 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
29272 ac_xsave_c_werror_flag=$ac_c_werror_flag
29273 ac_c_werror_flag=yes
29274 cat >conftest.$ac_ext <<_ACEOF
29275 /* confdefs.h. */
29276 _ACEOF
29277 cat confdefs.h >>conftest.$ac_ext
29278 cat >>conftest.$ac_ext <<_ACEOF
29279 /* end confdefs.h. */
29280
29281 int
29282 main ()
29283 {
29284
29285 ;
29286 return 0;
29287 }
29288 _ACEOF
29289 rm -f conftest.$ac_objext conftest$ac_exeext
29290 if { (ac_try="$ac_link"
29291 case "(($ac_try" in
29292 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29293 *) ac_try_echo=$ac_try;;
29294 esac
29295 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29296 (eval "$ac_link") 2>conftest.er1
29297 ac_status=$?
29298 grep -v '^ *+' conftest.er1 >conftest.err
29299 rm -f conftest.er1
29300 cat conftest.err >&5
29301 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29302 (exit $ac_status); } && {
29303 test -z "$ac_c_werror_flag" ||
29304 test ! -s conftest.err
29305 } && test -s conftest$ac_exeext &&
29306 $as_test_x conftest$ac_exeext; then
29307 { echo "$as_me:$LINENO: result: no" >&5
29308 echo "${ECHO_T}no" >&6; }
29309 X_LIBS="$X_LIBS -R$x_libraries"
29310 else
29311 echo "$as_me: failed program was:" >&5
29312 sed 's/^/| /' conftest.$ac_ext >&5
29313
29314 LIBS="$ac_xsave_LIBS -R $x_libraries"
29315 cat >conftest.$ac_ext <<_ACEOF
29316 /* confdefs.h. */
29317 _ACEOF
29318 cat confdefs.h >>conftest.$ac_ext
29319 cat >>conftest.$ac_ext <<_ACEOF
29320 /* end confdefs.h. */
29321
29322 int
29323 main ()
29324 {
29325
29326 ;
29327 return 0;
29328 }
29329 _ACEOF
29330 rm -f conftest.$ac_objext conftest$ac_exeext
29331 if { (ac_try="$ac_link"
29332 case "(($ac_try" in
29333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29334 *) ac_try_echo=$ac_try;;
29335 esac
29336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29337 (eval "$ac_link") 2>conftest.er1
29338 ac_status=$?
29339 grep -v '^ *+' conftest.er1 >conftest.err
29340 rm -f conftest.er1
29341 cat conftest.err >&5
29342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29343 (exit $ac_status); } && {
29344 test -z "$ac_c_werror_flag" ||
29345 test ! -s conftest.err
29346 } && test -s conftest$ac_exeext &&
29347 $as_test_x conftest$ac_exeext; then
29348 { echo "$as_me:$LINENO: result: yes" >&5
29349 echo "${ECHO_T}yes" >&6; }
29350 X_LIBS="$X_LIBS -R $x_libraries"
29351 else
29352 echo "$as_me: failed program was:" >&5
29353 sed 's/^/| /' conftest.$ac_ext >&5
29354
29355 { echo "$as_me:$LINENO: result: neither works" >&5
29356 echo "${ECHO_T}neither works" >&6; }
29357 fi
29358
29359 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29360 conftest$ac_exeext conftest.$ac_ext
29361 fi
29362
29363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29364 conftest$ac_exeext conftest.$ac_ext
29365 ac_c_werror_flag=$ac_xsave_c_werror_flag
29366 LIBS=$ac_xsave_LIBS
29367 fi
29368
29369 # Check for system-dependent libraries X programs must link with.
29370 # Do this before checking for the system-independent R6 libraries
29371 # (-lICE), since we may need -lsocket or whatever for X linking.
29372
29373 if test "$ISC" = yes; then
29374 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29375 else
29376 # Martyn Johnson says this is needed for Ultrix, if the X
29377 # libraries were built with DECnet support. And Karl Berry says
29378 # the Alpha needs dnet_stub (dnet does not exist).
29379 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29380 cat >conftest.$ac_ext <<_ACEOF
29381 /* confdefs.h. */
29382 _ACEOF
29383 cat confdefs.h >>conftest.$ac_ext
29384 cat >>conftest.$ac_ext <<_ACEOF
29385 /* end confdefs.h. */
29386
29387 /* Override any GCC internal prototype to avoid an error.
29388 Use char because int might match the return type of a GCC
29389 builtin and then its argument prototype would still apply. */
29390 #ifdef __cplusplus
29391 extern "C"
29392 #endif
29393 char XOpenDisplay ();
29394 int
29395 main ()
29396 {
29397 return XOpenDisplay ();
29398 ;
29399 return 0;
29400 }
29401 _ACEOF
29402 rm -f conftest.$ac_objext conftest$ac_exeext
29403 if { (ac_try="$ac_link"
29404 case "(($ac_try" in
29405 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29406 *) ac_try_echo=$ac_try;;
29407 esac
29408 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29409 (eval "$ac_link") 2>conftest.er1
29410 ac_status=$?
29411 grep -v '^ *+' conftest.er1 >conftest.err
29412 rm -f conftest.er1
29413 cat conftest.err >&5
29414 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29415 (exit $ac_status); } && {
29416 test -z "$ac_c_werror_flag" ||
29417 test ! -s conftest.err
29418 } && test -s conftest$ac_exeext &&
29419 $as_test_x conftest$ac_exeext; then
29420 :
29421 else
29422 echo "$as_me: failed program was:" >&5
29423 sed 's/^/| /' conftest.$ac_ext >&5
29424
29425 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29426 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29427 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29428 echo $ECHO_N "(cached) $ECHO_C" >&6
29429 else
29430 ac_check_lib_save_LIBS=$LIBS
29431 LIBS="-ldnet $LIBS"
29432 cat >conftest.$ac_ext <<_ACEOF
29433 /* confdefs.h. */
29434 _ACEOF
29435 cat confdefs.h >>conftest.$ac_ext
29436 cat >>conftest.$ac_ext <<_ACEOF
29437 /* end confdefs.h. */
29438
29439 /* Override any GCC internal prototype to avoid an error.
29440 Use char because int might match the return type of a GCC
29441 builtin and then its argument prototype would still apply. */
29442 #ifdef __cplusplus
29443 extern "C"
29444 #endif
29445 char dnet_ntoa ();
29446 int
29447 main ()
29448 {
29449 return dnet_ntoa ();
29450 ;
29451 return 0;
29452 }
29453 _ACEOF
29454 rm -f conftest.$ac_objext conftest$ac_exeext
29455 if { (ac_try="$ac_link"
29456 case "(($ac_try" in
29457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29458 *) ac_try_echo=$ac_try;;
29459 esac
29460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29461 (eval "$ac_link") 2>conftest.er1
29462 ac_status=$?
29463 grep -v '^ *+' conftest.er1 >conftest.err
29464 rm -f conftest.er1
29465 cat conftest.err >&5
29466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29467 (exit $ac_status); } && {
29468 test -z "$ac_c_werror_flag" ||
29469 test ! -s conftest.err
29470 } && test -s conftest$ac_exeext &&
29471 $as_test_x conftest$ac_exeext; then
29472 ac_cv_lib_dnet_dnet_ntoa=yes
29473 else
29474 echo "$as_me: failed program was:" >&5
29475 sed 's/^/| /' conftest.$ac_ext >&5
29476
29477 ac_cv_lib_dnet_dnet_ntoa=no
29478 fi
29479
29480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29481 conftest$ac_exeext conftest.$ac_ext
29482 LIBS=$ac_check_lib_save_LIBS
29483 fi
29484 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29485 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29486 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29487 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29488 fi
29489
29490 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29491 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29492 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29493 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29494 echo $ECHO_N "(cached) $ECHO_C" >&6
29495 else
29496 ac_check_lib_save_LIBS=$LIBS
29497 LIBS="-ldnet_stub $LIBS"
29498 cat >conftest.$ac_ext <<_ACEOF
29499 /* confdefs.h. */
29500 _ACEOF
29501 cat confdefs.h >>conftest.$ac_ext
29502 cat >>conftest.$ac_ext <<_ACEOF
29503 /* end confdefs.h. */
29504
29505 /* Override any GCC internal prototype to avoid an error.
29506 Use char because int might match the return type of a GCC
29507 builtin and then its argument prototype would still apply. */
29508 #ifdef __cplusplus
29509 extern "C"
29510 #endif
29511 char dnet_ntoa ();
29512 int
29513 main ()
29514 {
29515 return dnet_ntoa ();
29516 ;
29517 return 0;
29518 }
29519 _ACEOF
29520 rm -f conftest.$ac_objext conftest$ac_exeext
29521 if { (ac_try="$ac_link"
29522 case "(($ac_try" in
29523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29524 *) ac_try_echo=$ac_try;;
29525 esac
29526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29527 (eval "$ac_link") 2>conftest.er1
29528 ac_status=$?
29529 grep -v '^ *+' conftest.er1 >conftest.err
29530 rm -f conftest.er1
29531 cat conftest.err >&5
29532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29533 (exit $ac_status); } && {
29534 test -z "$ac_c_werror_flag" ||
29535 test ! -s conftest.err
29536 } && test -s conftest$ac_exeext &&
29537 $as_test_x conftest$ac_exeext; then
29538 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29539 else
29540 echo "$as_me: failed program was:" >&5
29541 sed 's/^/| /' conftest.$ac_ext >&5
29542
29543 ac_cv_lib_dnet_stub_dnet_ntoa=no
29544 fi
29545
29546 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29547 conftest$ac_exeext conftest.$ac_ext
29548 LIBS=$ac_check_lib_save_LIBS
29549 fi
29550 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29551 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29552 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29553 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29554 fi
29555
29556 fi
29557 fi
29558
29559 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29560 conftest$ac_exeext conftest.$ac_ext
29561 LIBS="$ac_xsave_LIBS"
29562
29563 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29564 # to get the SysV transport functions.
29565 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29566 # needs -lnsl.
29567 # The nsl library prevents programs from opening the X display
29568 # on Irix 5.2, according to T.E. Dickey.
29569 # The functions gethostbyname, getservbyname, and inet_addr are
29570 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29571 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29572 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29573 if test "${ac_cv_func_gethostbyname+set}" = set; then
29574 echo $ECHO_N "(cached) $ECHO_C" >&6
29575 else
29576 cat >conftest.$ac_ext <<_ACEOF
29577 /* confdefs.h. */
29578 _ACEOF
29579 cat confdefs.h >>conftest.$ac_ext
29580 cat >>conftest.$ac_ext <<_ACEOF
29581 /* end confdefs.h. */
29582 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29583 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29584 #define gethostbyname innocuous_gethostbyname
29585
29586 /* System header to define __stub macros and hopefully few prototypes,
29587 which can conflict with char gethostbyname (); below.
29588 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29589 <limits.h> exists even on freestanding compilers. */
29590
29591 #ifdef __STDC__
29592 # include <limits.h>
29593 #else
29594 # include <assert.h>
29595 #endif
29596
29597 #undef gethostbyname
29598
29599 /* Override any GCC internal prototype to avoid an error.
29600 Use char because int might match the return type of a GCC
29601 builtin and then its argument prototype would still apply. */
29602 #ifdef __cplusplus
29603 extern "C"
29604 #endif
29605 char gethostbyname ();
29606 /* The GNU C library defines this for functions which it implements
29607 to always fail with ENOSYS. Some functions are actually named
29608 something starting with __ and the normal name is an alias. */
29609 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29610 choke me
29611 #endif
29612
29613 int
29614 main ()
29615 {
29616 return gethostbyname ();
29617 ;
29618 return 0;
29619 }
29620 _ACEOF
29621 rm -f conftest.$ac_objext conftest$ac_exeext
29622 if { (ac_try="$ac_link"
29623 case "(($ac_try" in
29624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29625 *) ac_try_echo=$ac_try;;
29626 esac
29627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29628 (eval "$ac_link") 2>conftest.er1
29629 ac_status=$?
29630 grep -v '^ *+' conftest.er1 >conftest.err
29631 rm -f conftest.er1
29632 cat conftest.err >&5
29633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29634 (exit $ac_status); } && {
29635 test -z "$ac_c_werror_flag" ||
29636 test ! -s conftest.err
29637 } && test -s conftest$ac_exeext &&
29638 $as_test_x conftest$ac_exeext; then
29639 ac_cv_func_gethostbyname=yes
29640 else
29641 echo "$as_me: failed program was:" >&5
29642 sed 's/^/| /' conftest.$ac_ext >&5
29643
29644 ac_cv_func_gethostbyname=no
29645 fi
29646
29647 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29648 conftest$ac_exeext conftest.$ac_ext
29649 fi
29650 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29651 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29652
29653 if test $ac_cv_func_gethostbyname = no; then
29654 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29655 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29656 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29657 echo $ECHO_N "(cached) $ECHO_C" >&6
29658 else
29659 ac_check_lib_save_LIBS=$LIBS
29660 LIBS="-lnsl $LIBS"
29661 cat >conftest.$ac_ext <<_ACEOF
29662 /* confdefs.h. */
29663 _ACEOF
29664 cat confdefs.h >>conftest.$ac_ext
29665 cat >>conftest.$ac_ext <<_ACEOF
29666 /* end confdefs.h. */
29667
29668 /* Override any GCC internal prototype to avoid an error.
29669 Use char because int might match the return type of a GCC
29670 builtin and then its argument prototype would still apply. */
29671 #ifdef __cplusplus
29672 extern "C"
29673 #endif
29674 char gethostbyname ();
29675 int
29676 main ()
29677 {
29678 return gethostbyname ();
29679 ;
29680 return 0;
29681 }
29682 _ACEOF
29683 rm -f conftest.$ac_objext conftest$ac_exeext
29684 if { (ac_try="$ac_link"
29685 case "(($ac_try" in
29686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29687 *) ac_try_echo=$ac_try;;
29688 esac
29689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29690 (eval "$ac_link") 2>conftest.er1
29691 ac_status=$?
29692 grep -v '^ *+' conftest.er1 >conftest.err
29693 rm -f conftest.er1
29694 cat conftest.err >&5
29695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29696 (exit $ac_status); } && {
29697 test -z "$ac_c_werror_flag" ||
29698 test ! -s conftest.err
29699 } && test -s conftest$ac_exeext &&
29700 $as_test_x conftest$ac_exeext; then
29701 ac_cv_lib_nsl_gethostbyname=yes
29702 else
29703 echo "$as_me: failed program was:" >&5
29704 sed 's/^/| /' conftest.$ac_ext >&5
29705
29706 ac_cv_lib_nsl_gethostbyname=no
29707 fi
29708
29709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29710 conftest$ac_exeext conftest.$ac_ext
29711 LIBS=$ac_check_lib_save_LIBS
29712 fi
29713 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29714 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29715 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29716 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29717 fi
29718
29719 if test $ac_cv_lib_nsl_gethostbyname = no; then
29720 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29721 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29722 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29723 echo $ECHO_N "(cached) $ECHO_C" >&6
29724 else
29725 ac_check_lib_save_LIBS=$LIBS
29726 LIBS="-lbsd $LIBS"
29727 cat >conftest.$ac_ext <<_ACEOF
29728 /* confdefs.h. */
29729 _ACEOF
29730 cat confdefs.h >>conftest.$ac_ext
29731 cat >>conftest.$ac_ext <<_ACEOF
29732 /* end confdefs.h. */
29733
29734 /* Override any GCC internal prototype to avoid an error.
29735 Use char because int might match the return type of a GCC
29736 builtin and then its argument prototype would still apply. */
29737 #ifdef __cplusplus
29738 extern "C"
29739 #endif
29740 char gethostbyname ();
29741 int
29742 main ()
29743 {
29744 return gethostbyname ();
29745 ;
29746 return 0;
29747 }
29748 _ACEOF
29749 rm -f conftest.$ac_objext conftest$ac_exeext
29750 if { (ac_try="$ac_link"
29751 case "(($ac_try" in
29752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29753 *) ac_try_echo=$ac_try;;
29754 esac
29755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29756 (eval "$ac_link") 2>conftest.er1
29757 ac_status=$?
29758 grep -v '^ *+' conftest.er1 >conftest.err
29759 rm -f conftest.er1
29760 cat conftest.err >&5
29761 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29762 (exit $ac_status); } && {
29763 test -z "$ac_c_werror_flag" ||
29764 test ! -s conftest.err
29765 } && test -s conftest$ac_exeext &&
29766 $as_test_x conftest$ac_exeext; then
29767 ac_cv_lib_bsd_gethostbyname=yes
29768 else
29769 echo "$as_me: failed program was:" >&5
29770 sed 's/^/| /' conftest.$ac_ext >&5
29771
29772 ac_cv_lib_bsd_gethostbyname=no
29773 fi
29774
29775 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29776 conftest$ac_exeext conftest.$ac_ext
29777 LIBS=$ac_check_lib_save_LIBS
29778 fi
29779 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29780 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29781 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29782 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29783 fi
29784
29785 fi
29786 fi
29787
29788 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29789 # socket/setsockopt and other routines are undefined under SCO ODT
29790 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29791 # on later versions), says Simon Leinen: it contains gethostby*
29792 # variants that don't use the name server (or something). -lsocket
29793 # must be given before -lnsl if both are needed. We assume that
29794 # if connect needs -lnsl, so does gethostbyname.
29795 { echo "$as_me:$LINENO: checking for connect" >&5
29796 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29797 if test "${ac_cv_func_connect+set}" = set; then
29798 echo $ECHO_N "(cached) $ECHO_C" >&6
29799 else
29800 cat >conftest.$ac_ext <<_ACEOF
29801 /* confdefs.h. */
29802 _ACEOF
29803 cat confdefs.h >>conftest.$ac_ext
29804 cat >>conftest.$ac_ext <<_ACEOF
29805 /* end confdefs.h. */
29806 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29807 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29808 #define connect innocuous_connect
29809
29810 /* System header to define __stub macros and hopefully few prototypes,
29811 which can conflict with char connect (); below.
29812 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29813 <limits.h> exists even on freestanding compilers. */
29814
29815 #ifdef __STDC__
29816 # include <limits.h>
29817 #else
29818 # include <assert.h>
29819 #endif
29820
29821 #undef connect
29822
29823 /* Override any GCC internal prototype to avoid an error.
29824 Use char because int might match the return type of a GCC
29825 builtin and then its argument prototype would still apply. */
29826 #ifdef __cplusplus
29827 extern "C"
29828 #endif
29829 char connect ();
29830 /* The GNU C library defines this for functions which it implements
29831 to always fail with ENOSYS. Some functions are actually named
29832 something starting with __ and the normal name is an alias. */
29833 #if defined __stub_connect || defined __stub___connect
29834 choke me
29835 #endif
29836
29837 int
29838 main ()
29839 {
29840 return connect ();
29841 ;
29842 return 0;
29843 }
29844 _ACEOF
29845 rm -f conftest.$ac_objext conftest$ac_exeext
29846 if { (ac_try="$ac_link"
29847 case "(($ac_try" in
29848 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29849 *) ac_try_echo=$ac_try;;
29850 esac
29851 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29852 (eval "$ac_link") 2>conftest.er1
29853 ac_status=$?
29854 grep -v '^ *+' conftest.er1 >conftest.err
29855 rm -f conftest.er1
29856 cat conftest.err >&5
29857 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29858 (exit $ac_status); } && {
29859 test -z "$ac_c_werror_flag" ||
29860 test ! -s conftest.err
29861 } && test -s conftest$ac_exeext &&
29862 $as_test_x conftest$ac_exeext; then
29863 ac_cv_func_connect=yes
29864 else
29865 echo "$as_me: failed program was:" >&5
29866 sed 's/^/| /' conftest.$ac_ext >&5
29867
29868 ac_cv_func_connect=no
29869 fi
29870
29871 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29872 conftest$ac_exeext conftest.$ac_ext
29873 fi
29874 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29875 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29876
29877 if test $ac_cv_func_connect = no; then
29878 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29879 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29880 if test "${ac_cv_lib_socket_connect+set}" = set; then
29881 echo $ECHO_N "(cached) $ECHO_C" >&6
29882 else
29883 ac_check_lib_save_LIBS=$LIBS
29884 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29885 cat >conftest.$ac_ext <<_ACEOF
29886 /* confdefs.h. */
29887 _ACEOF
29888 cat confdefs.h >>conftest.$ac_ext
29889 cat >>conftest.$ac_ext <<_ACEOF
29890 /* end confdefs.h. */
29891
29892 /* Override any GCC internal prototype to avoid an error.
29893 Use char because int might match the return type of a GCC
29894 builtin and then its argument prototype would still apply. */
29895 #ifdef __cplusplus
29896 extern "C"
29897 #endif
29898 char connect ();
29899 int
29900 main ()
29901 {
29902 return connect ();
29903 ;
29904 return 0;
29905 }
29906 _ACEOF
29907 rm -f conftest.$ac_objext conftest$ac_exeext
29908 if { (ac_try="$ac_link"
29909 case "(($ac_try" in
29910 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29911 *) ac_try_echo=$ac_try;;
29912 esac
29913 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29914 (eval "$ac_link") 2>conftest.er1
29915 ac_status=$?
29916 grep -v '^ *+' conftest.er1 >conftest.err
29917 rm -f conftest.er1
29918 cat conftest.err >&5
29919 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29920 (exit $ac_status); } && {
29921 test -z "$ac_c_werror_flag" ||
29922 test ! -s conftest.err
29923 } && test -s conftest$ac_exeext &&
29924 $as_test_x conftest$ac_exeext; then
29925 ac_cv_lib_socket_connect=yes
29926 else
29927 echo "$as_me: failed program was:" >&5
29928 sed 's/^/| /' conftest.$ac_ext >&5
29929
29930 ac_cv_lib_socket_connect=no
29931 fi
29932
29933 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29934 conftest$ac_exeext conftest.$ac_ext
29935 LIBS=$ac_check_lib_save_LIBS
29936 fi
29937 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29938 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29939 if test $ac_cv_lib_socket_connect = yes; then
29940 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29941 fi
29942
29943 fi
29944
29945 # Guillermo Gomez says -lposix is necessary on A/UX.
29946 { echo "$as_me:$LINENO: checking for remove" >&5
29947 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29948 if test "${ac_cv_func_remove+set}" = set; then
29949 echo $ECHO_N "(cached) $ECHO_C" >&6
29950 else
29951 cat >conftest.$ac_ext <<_ACEOF
29952 /* confdefs.h. */
29953 _ACEOF
29954 cat confdefs.h >>conftest.$ac_ext
29955 cat >>conftest.$ac_ext <<_ACEOF
29956 /* end confdefs.h. */
29957 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29958 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29959 #define remove innocuous_remove
29960
29961 /* System header to define __stub macros and hopefully few prototypes,
29962 which can conflict with char remove (); below.
29963 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29964 <limits.h> exists even on freestanding compilers. */
29965
29966 #ifdef __STDC__
29967 # include <limits.h>
29968 #else
29969 # include <assert.h>
29970 #endif
29971
29972 #undef remove
29973
29974 /* Override any GCC internal prototype to avoid an error.
29975 Use char because int might match the return type of a GCC
29976 builtin and then its argument prototype would still apply. */
29977 #ifdef __cplusplus
29978 extern "C"
29979 #endif
29980 char remove ();
29981 /* The GNU C library defines this for functions which it implements
29982 to always fail with ENOSYS. Some functions are actually named
29983 something starting with __ and the normal name is an alias. */
29984 #if defined __stub_remove || defined __stub___remove
29985 choke me
29986 #endif
29987
29988 int
29989 main ()
29990 {
29991 return remove ();
29992 ;
29993 return 0;
29994 }
29995 _ACEOF
29996 rm -f conftest.$ac_objext conftest$ac_exeext
29997 if { (ac_try="$ac_link"
29998 case "(($ac_try" in
29999 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30000 *) ac_try_echo=$ac_try;;
30001 esac
30002 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30003 (eval "$ac_link") 2>conftest.er1
30004 ac_status=$?
30005 grep -v '^ *+' conftest.er1 >conftest.err
30006 rm -f conftest.er1
30007 cat conftest.err >&5
30008 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30009 (exit $ac_status); } && {
30010 test -z "$ac_c_werror_flag" ||
30011 test ! -s conftest.err
30012 } && test -s conftest$ac_exeext &&
30013 $as_test_x conftest$ac_exeext; then
30014 ac_cv_func_remove=yes
30015 else
30016 echo "$as_me: failed program was:" >&5
30017 sed 's/^/| /' conftest.$ac_ext >&5
30018
30019 ac_cv_func_remove=no
30020 fi
30021
30022 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30023 conftest$ac_exeext conftest.$ac_ext
30024 fi
30025 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
30026 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
30027
30028 if test $ac_cv_func_remove = no; then
30029 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
30030 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
30031 if test "${ac_cv_lib_posix_remove+set}" = set; then
30032 echo $ECHO_N "(cached) $ECHO_C" >&6
30033 else
30034 ac_check_lib_save_LIBS=$LIBS
30035 LIBS="-lposix $LIBS"
30036 cat >conftest.$ac_ext <<_ACEOF
30037 /* confdefs.h. */
30038 _ACEOF
30039 cat confdefs.h >>conftest.$ac_ext
30040 cat >>conftest.$ac_ext <<_ACEOF
30041 /* end confdefs.h. */
30042
30043 /* Override any GCC internal prototype to avoid an error.
30044 Use char because int might match the return type of a GCC
30045 builtin and then its argument prototype would still apply. */
30046 #ifdef __cplusplus
30047 extern "C"
30048 #endif
30049 char remove ();
30050 int
30051 main ()
30052 {
30053 return remove ();
30054 ;
30055 return 0;
30056 }
30057 _ACEOF
30058 rm -f conftest.$ac_objext conftest$ac_exeext
30059 if { (ac_try="$ac_link"
30060 case "(($ac_try" in
30061 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30062 *) ac_try_echo=$ac_try;;
30063 esac
30064 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30065 (eval "$ac_link") 2>conftest.er1
30066 ac_status=$?
30067 grep -v '^ *+' conftest.er1 >conftest.err
30068 rm -f conftest.er1
30069 cat conftest.err >&5
30070 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30071 (exit $ac_status); } && {
30072 test -z "$ac_c_werror_flag" ||
30073 test ! -s conftest.err
30074 } && test -s conftest$ac_exeext &&
30075 $as_test_x conftest$ac_exeext; then
30076 ac_cv_lib_posix_remove=yes
30077 else
30078 echo "$as_me: failed program was:" >&5
30079 sed 's/^/| /' conftest.$ac_ext >&5
30080
30081 ac_cv_lib_posix_remove=no
30082 fi
30083
30084 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30085 conftest$ac_exeext conftest.$ac_ext
30086 LIBS=$ac_check_lib_save_LIBS
30087 fi
30088 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
30089 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
30090 if test $ac_cv_lib_posix_remove = yes; then
30091 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
30092 fi
30093
30094 fi
30095
30096 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
30097 { echo "$as_me:$LINENO: checking for shmat" >&5
30098 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
30099 if test "${ac_cv_func_shmat+set}" = set; then
30100 echo $ECHO_N "(cached) $ECHO_C" >&6
30101 else
30102 cat >conftest.$ac_ext <<_ACEOF
30103 /* confdefs.h. */
30104 _ACEOF
30105 cat confdefs.h >>conftest.$ac_ext
30106 cat >>conftest.$ac_ext <<_ACEOF
30107 /* end confdefs.h. */
30108 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
30109 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30110 #define shmat innocuous_shmat
30111
30112 /* System header to define __stub macros and hopefully few prototypes,
30113 which can conflict with char shmat (); below.
30114 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30115 <limits.h> exists even on freestanding compilers. */
30116
30117 #ifdef __STDC__
30118 # include <limits.h>
30119 #else
30120 # include <assert.h>
30121 #endif
30122
30123 #undef shmat
30124
30125 /* Override any GCC internal prototype to avoid an error.
30126 Use char because int might match the return type of a GCC
30127 builtin and then its argument prototype would still apply. */
30128 #ifdef __cplusplus
30129 extern "C"
30130 #endif
30131 char shmat ();
30132 /* The GNU C library defines this for functions which it implements
30133 to always fail with ENOSYS. Some functions are actually named
30134 something starting with __ and the normal name is an alias. */
30135 #if defined __stub_shmat || defined __stub___shmat
30136 choke me
30137 #endif
30138
30139 int
30140 main ()
30141 {
30142 return shmat ();
30143 ;
30144 return 0;
30145 }
30146 _ACEOF
30147 rm -f conftest.$ac_objext conftest$ac_exeext
30148 if { (ac_try="$ac_link"
30149 case "(($ac_try" in
30150 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30151 *) ac_try_echo=$ac_try;;
30152 esac
30153 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30154 (eval "$ac_link") 2>conftest.er1
30155 ac_status=$?
30156 grep -v '^ *+' conftest.er1 >conftest.err
30157 rm -f conftest.er1
30158 cat conftest.err >&5
30159 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30160 (exit $ac_status); } && {
30161 test -z "$ac_c_werror_flag" ||
30162 test ! -s conftest.err
30163 } && test -s conftest$ac_exeext &&
30164 $as_test_x conftest$ac_exeext; then
30165 ac_cv_func_shmat=yes
30166 else
30167 echo "$as_me: failed program was:" >&5
30168 sed 's/^/| /' conftest.$ac_ext >&5
30169
30170 ac_cv_func_shmat=no
30171 fi
30172
30173 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30174 conftest$ac_exeext conftest.$ac_ext
30175 fi
30176 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
30177 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
30178
30179 if test $ac_cv_func_shmat = no; then
30180 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
30181 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
30182 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
30183 echo $ECHO_N "(cached) $ECHO_C" >&6
30184 else
30185 ac_check_lib_save_LIBS=$LIBS
30186 LIBS="-lipc $LIBS"
30187 cat >conftest.$ac_ext <<_ACEOF
30188 /* confdefs.h. */
30189 _ACEOF
30190 cat confdefs.h >>conftest.$ac_ext
30191 cat >>conftest.$ac_ext <<_ACEOF
30192 /* end confdefs.h. */
30193
30194 /* Override any GCC internal prototype to avoid an error.
30195 Use char because int might match the return type of a GCC
30196 builtin and then its argument prototype would still apply. */
30197 #ifdef __cplusplus
30198 extern "C"
30199 #endif
30200 char shmat ();
30201 int
30202 main ()
30203 {
30204 return shmat ();
30205 ;
30206 return 0;
30207 }
30208 _ACEOF
30209 rm -f conftest.$ac_objext conftest$ac_exeext
30210 if { (ac_try="$ac_link"
30211 case "(($ac_try" in
30212 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30213 *) ac_try_echo=$ac_try;;
30214 esac
30215 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30216 (eval "$ac_link") 2>conftest.er1
30217 ac_status=$?
30218 grep -v '^ *+' conftest.er1 >conftest.err
30219 rm -f conftest.er1
30220 cat conftest.err >&5
30221 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30222 (exit $ac_status); } && {
30223 test -z "$ac_c_werror_flag" ||
30224 test ! -s conftest.err
30225 } && test -s conftest$ac_exeext &&
30226 $as_test_x conftest$ac_exeext; then
30227 ac_cv_lib_ipc_shmat=yes
30228 else
30229 echo "$as_me: failed program was:" >&5
30230 sed 's/^/| /' conftest.$ac_ext >&5
30231
30232 ac_cv_lib_ipc_shmat=no
30233 fi
30234
30235 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30236 conftest$ac_exeext conftest.$ac_ext
30237 LIBS=$ac_check_lib_save_LIBS
30238 fi
30239 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
30240 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
30241 if test $ac_cv_lib_ipc_shmat = yes; then
30242 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
30243 fi
30244
30245 fi
30246 fi
30247
30248 # Check for libraries that X11R6 Xt/Xaw programs need.
30249 ac_save_LDFLAGS=$LDFLAGS
30250 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
30251 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
30252 # check for ICE first), but we must link in the order -lSM -lICE or
30253 # we get undefined symbols. So assume we have SM if we have ICE.
30254 # These have to be linked with before -lX11, unlike the other
30255 # libraries we check for below, so use a different variable.
30256 # John Interrante, Karl Berry
30257 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
30258 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
30259 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
30260 echo $ECHO_N "(cached) $ECHO_C" >&6
30261 else
30262 ac_check_lib_save_LIBS=$LIBS
30263 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
30264 cat >conftest.$ac_ext <<_ACEOF
30265 /* confdefs.h. */
30266 _ACEOF
30267 cat confdefs.h >>conftest.$ac_ext
30268 cat >>conftest.$ac_ext <<_ACEOF
30269 /* end confdefs.h. */
30270
30271 /* Override any GCC internal prototype to avoid an error.
30272 Use char because int might match the return type of a GCC
30273 builtin and then its argument prototype would still apply. */
30274 #ifdef __cplusplus
30275 extern "C"
30276 #endif
30277 char IceConnectionNumber ();
30278 int
30279 main ()
30280 {
30281 return IceConnectionNumber ();
30282 ;
30283 return 0;
30284 }
30285 _ACEOF
30286 rm -f conftest.$ac_objext conftest$ac_exeext
30287 if { (ac_try="$ac_link"
30288 case "(($ac_try" in
30289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30290 *) ac_try_echo=$ac_try;;
30291 esac
30292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30293 (eval "$ac_link") 2>conftest.er1
30294 ac_status=$?
30295 grep -v '^ *+' conftest.er1 >conftest.err
30296 rm -f conftest.er1
30297 cat conftest.err >&5
30298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30299 (exit $ac_status); } && {
30300 test -z "$ac_c_werror_flag" ||
30301 test ! -s conftest.err
30302 } && test -s conftest$ac_exeext &&
30303 $as_test_x conftest$ac_exeext; then
30304 ac_cv_lib_ICE_IceConnectionNumber=yes
30305 else
30306 echo "$as_me: failed program was:" >&5
30307 sed 's/^/| /' conftest.$ac_ext >&5
30308
30309 ac_cv_lib_ICE_IceConnectionNumber=no
30310 fi
30311
30312 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30313 conftest$ac_exeext conftest.$ac_ext
30314 LIBS=$ac_check_lib_save_LIBS
30315 fi
30316 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
30317 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
30318 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
30319 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30320 fi
30321
30322 LDFLAGS=$ac_save_LDFLAGS
30323
30324 fi
30325
30326
30327 if test "$no_x" = "yes"; then
30328 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30329 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30330 { (exit 1); exit 1; }; }
30331 fi
30332
30333 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30334 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30335 AFMINSTALL=afminstall
30336 COMPILED_X_PROGRAM=0
30337
30338 fi
30339
30340 if test "$wxUSE_X11" = 1; then
30341 if test "$wxUSE_NANOX" = "yes"; then
30342 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30343 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30344 if test "x$MICROWIN" = x ; then
30345 { echo "$as_me:$LINENO: result: not found" >&5
30346 echo "${ECHO_T}not found" >&6; }
30347 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30348 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30349 { (exit 1); exit 1; }; }
30350 else
30351 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30352 echo "${ECHO_T}$MICROWIN" >&6; }
30353 cat >>confdefs.h <<\_ACEOF
30354 #define wxUSE_NANOX 1
30355 _ACEOF
30356
30357 fi
30358 fi
30359
30360 if test "$wxUSE_UNICODE" = "yes"; then
30361
30362
30363 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30364 if test -n "$ac_tool_prefix"; then
30365 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30366 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30367 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30368 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30369 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30370 echo $ECHO_N "(cached) $ECHO_C" >&6
30371 else
30372 case $PKG_CONFIG in
30373 [\\/]* | ?:[\\/]*)
30374 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30375 ;;
30376 *)
30377 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30378 for as_dir in $PATH
30379 do
30380 IFS=$as_save_IFS
30381 test -z "$as_dir" && as_dir=.
30382 for ac_exec_ext in '' $ac_executable_extensions; do
30383 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30384 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30385 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30386 break 2
30387 fi
30388 done
30389 done
30390 IFS=$as_save_IFS
30391
30392 ;;
30393 esac
30394 fi
30395 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30396 if test -n "$PKG_CONFIG"; then
30397 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30398 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30399 else
30400 { echo "$as_me:$LINENO: result: no" >&5
30401 echo "${ECHO_T}no" >&6; }
30402 fi
30403
30404
30405 fi
30406 if test -z "$ac_cv_path_PKG_CONFIG"; then
30407 ac_pt_PKG_CONFIG=$PKG_CONFIG
30408 # Extract the first word of "pkg-config", so it can be a program name with args.
30409 set dummy pkg-config; ac_word=$2
30410 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30411 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30412 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30413 echo $ECHO_N "(cached) $ECHO_C" >&6
30414 else
30415 case $ac_pt_PKG_CONFIG in
30416 [\\/]* | ?:[\\/]*)
30417 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30418 ;;
30419 *)
30420 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30421 for as_dir in $PATH
30422 do
30423 IFS=$as_save_IFS
30424 test -z "$as_dir" && as_dir=.
30425 for ac_exec_ext in '' $ac_executable_extensions; do
30426 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30427 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30428 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30429 break 2
30430 fi
30431 done
30432 done
30433 IFS=$as_save_IFS
30434
30435 ;;
30436 esac
30437 fi
30438 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30439 if test -n "$ac_pt_PKG_CONFIG"; then
30440 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30441 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30442 else
30443 { echo "$as_me:$LINENO: result: no" >&5
30444 echo "${ECHO_T}no" >&6; }
30445 fi
30446
30447 if test "x$ac_pt_PKG_CONFIG" = x; then
30448 PKG_CONFIG=""
30449 else
30450 case $cross_compiling:$ac_tool_warned in
30451 yes:)
30452 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30453 whose name does not start with the host triplet. If you think this
30454 configuration is useful to you, please write to autoconf@gnu.org." >&5
30455 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30456 whose name does not start with the host triplet. If you think this
30457 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30458 ac_tool_warned=yes ;;
30459 esac
30460 PKG_CONFIG=$ac_pt_PKG_CONFIG
30461 fi
30462 else
30463 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30464 fi
30465
30466 fi
30467 if test -n "$PKG_CONFIG"; then
30468 _pkg_min_version=0.9.0
30469 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30470 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30471 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30472 { echo "$as_me:$LINENO: result: yes" >&5
30473 echo "${ECHO_T}yes" >&6; }
30474 else
30475 { echo "$as_me:$LINENO: result: no" >&5
30476 echo "${ECHO_T}no" >&6; }
30477 PKG_CONFIG=""
30478 fi
30479
30480 fi
30481
30482
30483 pkg_failed=no
30484 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30485 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30486
30487 if test -n "$PKG_CONFIG"; then
30488 if test -n "$PANGOX_CFLAGS"; then
30489 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30490 else
30491 if test -n "$PKG_CONFIG" && \
30492 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30493 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30494 ac_status=$?
30495 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30496 (exit $ac_status); }; then
30497 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30498 else
30499 pkg_failed=yes
30500 fi
30501 fi
30502 else
30503 pkg_failed=untried
30504 fi
30505 if test -n "$PKG_CONFIG"; then
30506 if test -n "$PANGOX_LIBS"; then
30507 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30508 else
30509 if test -n "$PKG_CONFIG" && \
30510 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30511 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30512 ac_status=$?
30513 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30514 (exit $ac_status); }; then
30515 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30516 else
30517 pkg_failed=yes
30518 fi
30519 fi
30520 else
30521 pkg_failed=untried
30522 fi
30523
30524
30525
30526 if test $pkg_failed = yes; then
30527
30528 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30529 _pkg_short_errors_supported=yes
30530 else
30531 _pkg_short_errors_supported=no
30532 fi
30533 if test $_pkg_short_errors_supported = yes; then
30534 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30535 else
30536 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30537 fi
30538 # Put the nasty error message in config.log where it belongs
30539 echo "$PANGOX_PKG_ERRORS" >&5
30540
30541
30542 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30543 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30544 { (exit 1); exit 1; }; }
30545
30546
30547 elif test $pkg_failed = untried; then
30548
30549 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30550 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30551 { (exit 1); exit 1; }; }
30552
30553
30554 else
30555 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30556 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30557 { echo "$as_me:$LINENO: result: yes" >&5
30558 echo "${ECHO_T}yes" >&6; }
30559
30560 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30561 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30562 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30563
30564 fi
30565
30566 pkg_failed=no
30567 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30568 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30569
30570 if test -n "$PKG_CONFIG"; then
30571 if test -n "$PANGOFT2_CFLAGS"; then
30572 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30573 else
30574 if test -n "$PKG_CONFIG" && \
30575 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30576 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30577 ac_status=$?
30578 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30579 (exit $ac_status); }; then
30580 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30581 else
30582 pkg_failed=yes
30583 fi
30584 fi
30585 else
30586 pkg_failed=untried
30587 fi
30588 if test -n "$PKG_CONFIG"; then
30589 if test -n "$PANGOFT2_LIBS"; then
30590 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30591 else
30592 if test -n "$PKG_CONFIG" && \
30593 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30594 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30595 ac_status=$?
30596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30597 (exit $ac_status); }; then
30598 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30599 else
30600 pkg_failed=yes
30601 fi
30602 fi
30603 else
30604 pkg_failed=untried
30605 fi
30606
30607
30608
30609 if test $pkg_failed = yes; then
30610
30611 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30612 _pkg_short_errors_supported=yes
30613 else
30614 _pkg_short_errors_supported=no
30615 fi
30616 if test $_pkg_short_errors_supported = yes; then
30617 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30618 else
30619 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30620 fi
30621 # Put the nasty error message in config.log where it belongs
30622 echo "$PANGOFT2_PKG_ERRORS" >&5
30623
30624
30625 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30626 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30627 wxUSE_PRINTING_ARCHITECTURE="no"
30628
30629
30630 elif test $pkg_failed = untried; then
30631
30632 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30633 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30634 wxUSE_PRINTING_ARCHITECTURE="no"
30635
30636
30637 else
30638 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30639 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30640 { echo "$as_me:$LINENO: result: yes" >&5
30641 echo "${ECHO_T}yes" >&6; }
30642
30643 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30644 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30645 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30646
30647 fi
30648
30649 pkg_failed=no
30650 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30651 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30652
30653 if test -n "$PKG_CONFIG"; then
30654 if test -n "$PANGOXFT_CFLAGS"; then
30655 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30656 else
30657 if test -n "$PKG_CONFIG" && \
30658 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30659 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30660 ac_status=$?
30661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30662 (exit $ac_status); }; then
30663 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30664 else
30665 pkg_failed=yes
30666 fi
30667 fi
30668 else
30669 pkg_failed=untried
30670 fi
30671 if test -n "$PKG_CONFIG"; then
30672 if test -n "$PANGOXFT_LIBS"; then
30673 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30674 else
30675 if test -n "$PKG_CONFIG" && \
30676 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30677 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30678 ac_status=$?
30679 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30680 (exit $ac_status); }; then
30681 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30682 else
30683 pkg_failed=yes
30684 fi
30685 fi
30686 else
30687 pkg_failed=untried
30688 fi
30689
30690
30691
30692 if test $pkg_failed = yes; then
30693
30694 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30695 _pkg_short_errors_supported=yes
30696 else
30697 _pkg_short_errors_supported=no
30698 fi
30699 if test $_pkg_short_errors_supported = yes; then
30700 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30701 else
30702 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30703 fi
30704 # Put the nasty error message in config.log where it belongs
30705 echo "$PANGOXFT_PKG_ERRORS" >&5
30706
30707
30708 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30709 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30710
30711
30712 elif test $pkg_failed = untried; then
30713
30714 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30715 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30716
30717
30718 else
30719 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30720 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30721 { echo "$as_me:$LINENO: result: yes" >&5
30722 echo "${ECHO_T}yes" >&6; }
30723
30724 cat >>confdefs.h <<\_ACEOF
30725 #define HAVE_PANGO_XFT 1
30726 _ACEOF
30727
30728 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30729 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30730 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30731
30732 fi
30733 save_LIBS="$LIBS"
30734 LIBS="$LIBS $PANGOX_LIBS"
30735
30736 for ac_func in pango_font_family_is_monospace
30737 do
30738 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30739 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30740 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30741 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30742 echo $ECHO_N "(cached) $ECHO_C" >&6
30743 else
30744 cat >conftest.$ac_ext <<_ACEOF
30745 /* confdefs.h. */
30746 _ACEOF
30747 cat confdefs.h >>conftest.$ac_ext
30748 cat >>conftest.$ac_ext <<_ACEOF
30749 /* end confdefs.h. */
30750 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30751 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30752 #define $ac_func innocuous_$ac_func
30753
30754 /* System header to define __stub macros and hopefully few prototypes,
30755 which can conflict with char $ac_func (); below.
30756 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30757 <limits.h> exists even on freestanding compilers. */
30758
30759 #ifdef __STDC__
30760 # include <limits.h>
30761 #else
30762 # include <assert.h>
30763 #endif
30764
30765 #undef $ac_func
30766
30767 /* Override any GCC internal prototype to avoid an error.
30768 Use char because int might match the return type of a GCC
30769 builtin and then its argument prototype would still apply. */
30770 #ifdef __cplusplus
30771 extern "C"
30772 #endif
30773 char $ac_func ();
30774 /* The GNU C library defines this for functions which it implements
30775 to always fail with ENOSYS. Some functions are actually named
30776 something starting with __ and the normal name is an alias. */
30777 #if defined __stub_$ac_func || defined __stub___$ac_func
30778 choke me
30779 #endif
30780
30781 int
30782 main ()
30783 {
30784 return $ac_func ();
30785 ;
30786 return 0;
30787 }
30788 _ACEOF
30789 rm -f conftest.$ac_objext conftest$ac_exeext
30790 if { (ac_try="$ac_link"
30791 case "(($ac_try" in
30792 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30793 *) ac_try_echo=$ac_try;;
30794 esac
30795 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30796 (eval "$ac_link") 2>conftest.er1
30797 ac_status=$?
30798 grep -v '^ *+' conftest.er1 >conftest.err
30799 rm -f conftest.er1
30800 cat conftest.err >&5
30801 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30802 (exit $ac_status); } && {
30803 test -z "$ac_c_werror_flag" ||
30804 test ! -s conftest.err
30805 } && test -s conftest$ac_exeext &&
30806 $as_test_x conftest$ac_exeext; then
30807 eval "$as_ac_var=yes"
30808 else
30809 echo "$as_me: failed program was:" >&5
30810 sed 's/^/| /' conftest.$ac_ext >&5
30811
30812 eval "$as_ac_var=no"
30813 fi
30814
30815 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30816 conftest$ac_exeext conftest.$ac_ext
30817 fi
30818 ac_res=`eval echo '${'$as_ac_var'}'`
30819 { echo "$as_me:$LINENO: result: $ac_res" >&5
30820 echo "${ECHO_T}$ac_res" >&6; }
30821 if test `eval echo '${'$as_ac_var'}'` = yes; then
30822 cat >>confdefs.h <<_ACEOF
30823 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30824 _ACEOF
30825
30826 fi
30827 done
30828
30829 LIBS="$save_LIBS"
30830 fi
30831
30832 wxUSE_UNIVERSAL="yes"
30833
30834 if test "$wxUSE_NANOX" = "yes"; then
30835 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30836 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"
30837 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30838 else
30839 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30840 fi
30841
30842 TOOLKIT=X11
30843 GUIDIST=X11_DIST
30844 fi
30845
30846 if test "$wxUSE_MOTIF" = 1; then
30847 if test "$wxUSE_UNICODE" = "yes"; then
30848 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30849 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30850 { (exit 1); exit 1; }; }
30851 fi
30852
30853 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30854 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30855
30856 ac_find_includes=
30857 for ac_dir in $SEARCH_INCLUDE /usr/include;
30858 do
30859 if test -f "$ac_dir/Xm/Xm.h"; then
30860 ac_find_includes=$ac_dir
30861 break
30862 fi
30863 done
30864
30865 if test "$ac_find_includes" != "" ; then
30866 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30867 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30868
30869 if test "x$ac_find_includes" = "x/usr/include"; then
30870 ac_path_to_include=""
30871 else
30872 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30873 result=$?
30874 if test $result = 0; then
30875 ac_path_to_include=""
30876 else
30877 ac_path_to_include=" -I$ac_find_includes"
30878 fi
30879 fi
30880
30881 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30882 else
30883 save_CFLAGS=$CFLAGS
30884 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30885
30886 cat >conftest.$ac_ext <<_ACEOF
30887 /* confdefs.h. */
30888 _ACEOF
30889 cat confdefs.h >>conftest.$ac_ext
30890 cat >>conftest.$ac_ext <<_ACEOF
30891 /* end confdefs.h. */
30892
30893 #include <Xm/Xm.h>
30894
30895 int
30896 main ()
30897 {
30898
30899 int version;
30900 version = xmUseVersion;
30901
30902 ;
30903 return 0;
30904 }
30905 _ACEOF
30906 rm -f conftest.$ac_objext
30907 if { (ac_try="$ac_compile"
30908 case "(($ac_try" in
30909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30910 *) ac_try_echo=$ac_try;;
30911 esac
30912 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30913 (eval "$ac_compile") 2>conftest.er1
30914 ac_status=$?
30915 grep -v '^ *+' conftest.er1 >conftest.err
30916 rm -f conftest.er1
30917 cat conftest.err >&5
30918 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30919 (exit $ac_status); } && {
30920 test -z "$ac_c_werror_flag" ||
30921 test ! -s conftest.err
30922 } && test -s conftest.$ac_objext; then
30923
30924 { echo "$as_me:$LINENO: result: found in default search path" >&5
30925 echo "${ECHO_T}found in default search path" >&6; }
30926 COMPILED_X_PROGRAM=1
30927
30928 else
30929 echo "$as_me: failed program was:" >&5
30930 sed 's/^/| /' conftest.$ac_ext >&5
30931
30932
30933 { echo "$as_me:$LINENO: result: no" >&5
30934 echo "${ECHO_T}no" >&6; }
30935 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30936 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30937 { (exit 1); exit 1; }; }
30938
30939
30940 fi
30941
30942 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30943
30944 CFLAGS=$save_CFLAGS
30945 fi
30946
30947
30948 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30949 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30950
30951 ac_find_libraries=
30952 for ac_dir in $SEARCH_LIB;
30953 do
30954 for ac_extension in a so sl dylib dll.a; do
30955 if test -f "$ac_dir/libXm.$ac_extension"; then
30956 ac_find_libraries=$ac_dir
30957 break 2
30958 fi
30959 done
30960 done
30961
30962
30963 if test "x$ac_find_libraries" != "x" ; then
30964 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30965 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30966
30967
30968 if test "$ac_find_libraries" = "default location"; then
30969 ac_path_to_link=""
30970 else
30971 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30972 result=$?
30973 if test $result = 0; then
30974 ac_path_to_link=""
30975 else
30976 ac_path_to_link=" -L$ac_find_libraries"
30977 fi
30978 fi
30979
30980 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30981 else
30982 save_CFLAGS=$CFLAGS
30983 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30984 save_LIBS="$LIBS"
30985 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30986
30987 cat >conftest.$ac_ext <<_ACEOF
30988 /* confdefs.h. */
30989 _ACEOF
30990 cat confdefs.h >>conftest.$ac_ext
30991 cat >>conftest.$ac_ext <<_ACEOF
30992 /* end confdefs.h. */
30993
30994 #include <Xm/Xm.h>
30995
30996 int
30997 main ()
30998 {
30999
31000 int version;
31001 version = xmUseVersion;
31002
31003 ;
31004 return 0;
31005 }
31006 _ACEOF
31007 rm -f conftest.$ac_objext conftest$ac_exeext
31008 if { (ac_try="$ac_link"
31009 case "(($ac_try" in
31010 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31011 *) ac_try_echo=$ac_try;;
31012 esac
31013 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31014 (eval "$ac_link") 2>conftest.er1
31015 ac_status=$?
31016 grep -v '^ *+' conftest.er1 >conftest.err
31017 rm -f conftest.er1
31018 cat conftest.err >&5
31019 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31020 (exit $ac_status); } && {
31021 test -z "$ac_c_werror_flag" ||
31022 test ! -s conftest.err
31023 } && test -s conftest$ac_exeext &&
31024 $as_test_x conftest$ac_exeext; then
31025
31026 { echo "$as_me:$LINENO: result: found in default search path" >&5
31027 echo "${ECHO_T}found in default search path" >&6; }
31028 COMPILED_X_PROGRAM=1
31029
31030 else
31031 echo "$as_me: failed program was:" >&5
31032 sed 's/^/| /' conftest.$ac_ext >&5
31033
31034
31035 { echo "$as_me:$LINENO: result: no" >&5
31036 echo "${ECHO_T}no" >&6; }
31037 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
31038 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
31039 { (exit 1); exit 1; }; }
31040
31041
31042 fi
31043
31044 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31045 conftest$ac_exeext conftest.$ac_ext
31046
31047 CFLAGS=$save_CFLAGS
31048 LIBS="$save_LIBS"
31049 fi
31050
31051 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
31052 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
31053 libp_link=""
31054 libsm_ice_link=""
31055 libs_found=0
31056 for libp in "" " -lXp"; do
31057 if test "$libs_found" = "0"; then
31058 for libsm_ice in "" " -lSM -lICE"; do
31059 if test "$libs_found" = "0"; then
31060 save_LIBS="$LIBS"
31061 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
31062 save_CFLAGS=$CFLAGS
31063 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31064
31065 cat >conftest.$ac_ext <<_ACEOF
31066 /* confdefs.h. */
31067 _ACEOF
31068 cat confdefs.h >>conftest.$ac_ext
31069 cat >>conftest.$ac_ext <<_ACEOF
31070 /* end confdefs.h. */
31071
31072 #include <Xm/Xm.h>
31073 #include <Xm/List.h>
31074
31075 int
31076 main ()
31077 {
31078
31079 XmString string = NULL;
31080 Widget w = NULL;
31081 int position = 0;
31082 XmListAddItem(w, string, position);
31083
31084 ;
31085 return 0;
31086 }
31087 _ACEOF
31088 rm -f conftest.$ac_objext conftest$ac_exeext
31089 if { (ac_try="$ac_link"
31090 case "(($ac_try" in
31091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31092 *) ac_try_echo=$ac_try;;
31093 esac
31094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31095 (eval "$ac_link") 2>conftest.er1
31096 ac_status=$?
31097 grep -v '^ *+' conftest.er1 >conftest.err
31098 rm -f conftest.er1
31099 cat conftest.err >&5
31100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31101 (exit $ac_status); } && {
31102 test -z "$ac_c_werror_flag" ||
31103 test ! -s conftest.err
31104 } && test -s conftest$ac_exeext &&
31105 $as_test_x conftest$ac_exeext; then
31106
31107 libp_link="$libp"
31108 libsm_ice_link="$libsm_ice"
31109 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
31110 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
31111 libs_found=1
31112
31113 else
31114 echo "$as_me: failed program was:" >&5
31115 sed 's/^/| /' conftest.$ac_ext >&5
31116
31117
31118
31119 fi
31120
31121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31122 conftest$ac_exeext conftest.$ac_ext
31123
31124 LIBS="$save_LIBS"
31125 CFLAGS=$save_CFLAGS
31126 fi
31127 done
31128 fi
31129 done
31130
31131 if test "$libs_found" = "0"; then
31132 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
31133 echo "${ECHO_T}can't find the right libraries" >&6; }
31134 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
31135 echo "$as_me: error: can't link a simple motif program" >&2;}
31136 { (exit 1); exit 1; }; }
31137 fi
31138
31139 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
31140 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
31141 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
31142 echo $ECHO_N "(cached) $ECHO_C" >&6
31143 else
31144 ac_check_lib_save_LIBS=$LIBS
31145 LIBS="-lSgm $LIBS"
31146 cat >conftest.$ac_ext <<_ACEOF
31147 /* confdefs.h. */
31148 _ACEOF
31149 cat confdefs.h >>conftest.$ac_ext
31150 cat >>conftest.$ac_ext <<_ACEOF
31151 /* end confdefs.h. */
31152
31153 /* Override any GCC internal prototype to avoid an error.
31154 Use char because int might match the return type of a GCC
31155 builtin and then its argument prototype would still apply. */
31156 #ifdef __cplusplus
31157 extern "C"
31158 #endif
31159 char SgCreateList ();
31160 int
31161 main ()
31162 {
31163 return SgCreateList ();
31164 ;
31165 return 0;
31166 }
31167 _ACEOF
31168 rm -f conftest.$ac_objext conftest$ac_exeext
31169 if { (ac_try="$ac_link"
31170 case "(($ac_try" in
31171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31172 *) ac_try_echo=$ac_try;;
31173 esac
31174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31175 (eval "$ac_link") 2>conftest.er1
31176 ac_status=$?
31177 grep -v '^ *+' conftest.er1 >conftest.err
31178 rm -f conftest.er1
31179 cat conftest.err >&5
31180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31181 (exit $ac_status); } && {
31182 test -z "$ac_c_werror_flag" ||
31183 test ! -s conftest.err
31184 } && test -s conftest$ac_exeext &&
31185 $as_test_x conftest$ac_exeext; then
31186 ac_cv_lib_Sgm_SgCreateList=yes
31187 else
31188 echo "$as_me: failed program was:" >&5
31189 sed 's/^/| /' conftest.$ac_ext >&5
31190
31191 ac_cv_lib_Sgm_SgCreateList=no
31192 fi
31193
31194 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31195 conftest$ac_exeext conftest.$ac_ext
31196 LIBS=$ac_check_lib_save_LIBS
31197 fi
31198 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
31199 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
31200 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
31201 libsgm_link=" -lSgm"
31202 fi
31203
31204
31205 save_CFLAGS=$CFLAGS
31206 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31207
31208 { echo "$as_me:$LINENO: checking for Motif 2" >&5
31209 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
31210 if test "${wx_cv_lib_motif2+set}" = set; then
31211 echo $ECHO_N "(cached) $ECHO_C" >&6
31212 else
31213 cat >conftest.$ac_ext <<_ACEOF
31214 /* confdefs.h. */
31215 _ACEOF
31216 cat confdefs.h >>conftest.$ac_ext
31217 cat >>conftest.$ac_ext <<_ACEOF
31218 /* end confdefs.h. */
31219
31220 #include <Xm/Xm.h>
31221
31222 int
31223 main ()
31224 {
31225
31226 #if XmVersion < 2000
31227 Not Motif 2
31228 #endif
31229
31230 ;
31231 return 0;
31232 }
31233 _ACEOF
31234 rm -f conftest.$ac_objext
31235 if { (ac_try="$ac_compile"
31236 case "(($ac_try" in
31237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31238 *) ac_try_echo=$ac_try;;
31239 esac
31240 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31241 (eval "$ac_compile") 2>conftest.er1
31242 ac_status=$?
31243 grep -v '^ *+' conftest.er1 >conftest.err
31244 rm -f conftest.er1
31245 cat conftest.err >&5
31246 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31247 (exit $ac_status); } && {
31248 test -z "$ac_c_werror_flag" ||
31249 test ! -s conftest.err
31250 } && test -s conftest.$ac_objext; then
31251 wx_cv_lib_motif2="yes"
31252 else
31253 echo "$as_me: failed program was:" >&5
31254 sed 's/^/| /' conftest.$ac_ext >&5
31255
31256 wx_cv_lib_motif2="no"
31257 fi
31258
31259 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31260 fi
31261 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
31262 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
31263 if test "$wx_cv_lib_motif2" = "yes"; then
31264 cat >>confdefs.h <<\_ACEOF
31265 #define __WXMOTIF20__ 1
31266 _ACEOF
31267
31268 else
31269 cat >>confdefs.h <<\_ACEOF
31270 #define __WXMOTIF20__ 0
31271 _ACEOF
31272
31273 fi
31274
31275 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
31276 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
31277 if test "${wx_cv_lib_lesstif+set}" = set; then
31278 echo $ECHO_N "(cached) $ECHO_C" >&6
31279 else
31280 cat >conftest.$ac_ext <<_ACEOF
31281 /* confdefs.h. */
31282 _ACEOF
31283 cat confdefs.h >>conftest.$ac_ext
31284 cat >>conftest.$ac_ext <<_ACEOF
31285 /* end confdefs.h. */
31286
31287 #include <Xm/Xm.h>
31288
31289 int
31290 main ()
31291 {
31292
31293 #if !defined(LesstifVersion) || LesstifVersion <= 0
31294 Not Lesstif
31295 #endif
31296
31297 ;
31298 return 0;
31299 }
31300 _ACEOF
31301 rm -f conftest.$ac_objext
31302 if { (ac_try="$ac_compile"
31303 case "(($ac_try" in
31304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31305 *) ac_try_echo=$ac_try;;
31306 esac
31307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31308 (eval "$ac_compile") 2>conftest.er1
31309 ac_status=$?
31310 grep -v '^ *+' conftest.er1 >conftest.err
31311 rm -f conftest.er1
31312 cat conftest.err >&5
31313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31314 (exit $ac_status); } && {
31315 test -z "$ac_c_werror_flag" ||
31316 test ! -s conftest.err
31317 } && test -s conftest.$ac_objext; then
31318 wx_cv_lib_lesstif="yes"
31319 else
31320 echo "$as_me: failed program was:" >&5
31321 sed 's/^/| /' conftest.$ac_ext >&5
31322
31323 wx_cv_lib_lesstif="no"
31324 fi
31325
31326 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31327
31328 fi
31329 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31330 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31331 if test "$wx_cv_lib_lesstif" = "yes"; then
31332 cat >>confdefs.h <<\_ACEOF
31333 #define __WXLESSTIF__ 1
31334 _ACEOF
31335
31336 else
31337 cat >>confdefs.h <<\_ACEOF
31338 #define __WXLESSTIF__ 0
31339 _ACEOF
31340
31341 fi
31342
31343 CFLAGS=$save_CFLAGS
31344
31345 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31346 TOOLKIT=MOTIF
31347 GUIDIST=MOTIF_DIST
31348 fi
31349
31350 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31351 if test "$wxUSE_LIBXPM" = "sys"; then
31352 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31353 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31354
31355 ac_find_libraries=
31356 for ac_dir in $SEARCH_LIB;
31357 do
31358 for ac_extension in a so sl dylib dll.a; do
31359 if test -f "$ac_dir/libXpm.$ac_extension"; then
31360 ac_find_libraries=$ac_dir
31361 break 2
31362 fi
31363 done
31364 done
31365
31366 if test "$ac_find_libraries" != "" ; then
31367
31368 if test "$ac_find_libraries" = "default location"; then
31369 ac_path_to_link=""
31370 else
31371 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31372 result=$?
31373 if test $result = 0; then
31374 ac_path_to_link=""
31375 else
31376 ac_path_to_link=" -L$ac_find_libraries"
31377 fi
31378 fi
31379
31380 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31381 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31382 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31383
31384 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31385 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31386 if test "${wx_cv_x11_xpm_h+set}" = set; then
31387 echo $ECHO_N "(cached) $ECHO_C" >&6
31388 else
31389
31390 save_CFLAGS=$CFLAGS
31391 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31392
31393 cat >conftest.$ac_ext <<_ACEOF
31394 /* confdefs.h. */
31395 _ACEOF
31396 cat confdefs.h >>conftest.$ac_ext
31397 cat >>conftest.$ac_ext <<_ACEOF
31398 /* end confdefs.h. */
31399
31400 #include <X11/xpm.h>
31401
31402 int
31403 main ()
31404 {
31405
31406 int version;
31407 version = XpmLibraryVersion();
31408
31409 ;
31410 return 0;
31411 }
31412 _ACEOF
31413 rm -f conftest.$ac_objext
31414 if { (ac_try="$ac_compile"
31415 case "(($ac_try" in
31416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31417 *) ac_try_echo=$ac_try;;
31418 esac
31419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31420 (eval "$ac_compile") 2>conftest.er1
31421 ac_status=$?
31422 grep -v '^ *+' conftest.er1 >conftest.err
31423 rm -f conftest.er1
31424 cat conftest.err >&5
31425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31426 (exit $ac_status); } && {
31427 test -z "$ac_c_werror_flag" ||
31428 test ! -s conftest.err
31429 } && test -s conftest.$ac_objext; then
31430 wx_cv_x11_xpm_h=yes
31431 else
31432 echo "$as_me: failed program was:" >&5
31433 sed 's/^/| /' conftest.$ac_ext >&5
31434
31435 wx_cv_x11_xpm_h=no
31436
31437 fi
31438
31439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31440
31441 CFLAGS=$save_CFLAGS
31442
31443
31444 fi
31445 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31446 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31447
31448 if test $wx_cv_x11_xpm_h = "yes"; then
31449 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31450 cat >>confdefs.h <<\_ACEOF
31451 #define wxHAVE_LIB_XPM 1
31452 _ACEOF
31453
31454 else
31455 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31456 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31457 fi
31458 fi
31459
31460 fi
31461
31462 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31463 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31464 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31465 echo $ECHO_N "(cached) $ECHO_C" >&6
31466 else
31467 ac_check_lib_save_LIBS=$LIBS
31468 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31469 cat >conftest.$ac_ext <<_ACEOF
31470 /* confdefs.h. */
31471 _ACEOF
31472 cat confdefs.h >>conftest.$ac_ext
31473 cat >>conftest.$ac_ext <<_ACEOF
31474 /* end confdefs.h. */
31475
31476 /* Override any GCC internal prototype to avoid an error.
31477 Use char because int might match the return type of a GCC
31478 builtin and then its argument prototype would still apply. */
31479 #ifdef __cplusplus
31480 extern "C"
31481 #endif
31482 char XShapeQueryExtension ();
31483 int
31484 main ()
31485 {
31486 return XShapeQueryExtension ();
31487 ;
31488 return 0;
31489 }
31490 _ACEOF
31491 rm -f conftest.$ac_objext conftest$ac_exeext
31492 if { (ac_try="$ac_link"
31493 case "(($ac_try" in
31494 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31495 *) ac_try_echo=$ac_try;;
31496 esac
31497 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31498 (eval "$ac_link") 2>conftest.er1
31499 ac_status=$?
31500 grep -v '^ *+' conftest.er1 >conftest.err
31501 rm -f conftest.er1
31502 cat conftest.err >&5
31503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31504 (exit $ac_status); } && {
31505 test -z "$ac_c_werror_flag" ||
31506 test ! -s conftest.err
31507 } && test -s conftest$ac_exeext &&
31508 $as_test_x conftest$ac_exeext; then
31509 ac_cv_lib_Xext_XShapeQueryExtension=yes
31510 else
31511 echo "$as_me: failed program was:" >&5
31512 sed 's/^/| /' conftest.$ac_ext >&5
31513
31514 ac_cv_lib_Xext_XShapeQueryExtension=no
31515 fi
31516
31517 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31518 conftest$ac_exeext conftest.$ac_ext
31519 LIBS=$ac_check_lib_save_LIBS
31520 fi
31521 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31522 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31523 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31524
31525 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31526 wxHAVE_XEXT_LIB=1
31527
31528 fi
31529
31530
31531 if test "$wxHAVE_XEXT_LIB" = 1; then
31532 save_CFLAGS="$CFLAGS"
31533 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31534
31535 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31536 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31537 cat >conftest.$ac_ext <<_ACEOF
31538 /* confdefs.h. */
31539 _ACEOF
31540 cat confdefs.h >>conftest.$ac_ext
31541 cat >>conftest.$ac_ext <<_ACEOF
31542 /* end confdefs.h. */
31543
31544 #include <X11/Xlib.h>
31545 #include <X11/extensions/shape.h>
31546
31547 int
31548 main ()
31549 {
31550
31551 int dummy1, dummy2;
31552 XShapeQueryExtension((Display*)NULL,
31553 (int*)NULL, (int*)NULL);
31554
31555 ;
31556 return 0;
31557 }
31558 _ACEOF
31559 rm -f conftest.$ac_objext
31560 if { (ac_try="$ac_compile"
31561 case "(($ac_try" in
31562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31563 *) ac_try_echo=$ac_try;;
31564 esac
31565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31566 (eval "$ac_compile") 2>conftest.er1
31567 ac_status=$?
31568 grep -v '^ *+' conftest.er1 >conftest.err
31569 rm -f conftest.er1
31570 cat conftest.err >&5
31571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31572 (exit $ac_status); } && {
31573 test -z "$ac_c_werror_flag" ||
31574 test ! -s conftest.err
31575 } && test -s conftest.$ac_objext; then
31576
31577 cat >>confdefs.h <<\_ACEOF
31578 #define HAVE_XSHAPE 1
31579 _ACEOF
31580
31581 { echo "$as_me:$LINENO: result: found" >&5
31582 echo "${ECHO_T}found" >&6; }
31583
31584 else
31585 echo "$as_me: failed program was:" >&5
31586 sed 's/^/| /' conftest.$ac_ext >&5
31587
31588
31589 { echo "$as_me:$LINENO: result: not found" >&5
31590 echo "${ECHO_T}not found" >&6; }
31591
31592 fi
31593
31594 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31595 CFLAGS="$save_CFLAGS"
31596
31597 fi
31598 fi
31599
31600 if test "$wxUSE_MAC" = 1; then
31601 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31602 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31603 if test "$GCC" = yes; then
31604 { echo "$as_me:$LINENO: result: gcc" >&5
31605 echo "${ECHO_T}gcc" >&6; }
31606 CPPFLAGS_PASCAL="-fpascal-strings"
31607 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31608 { echo "$as_me:$LINENO: result: xlc" >&5
31609 echo "${ECHO_T}xlc" >&6; }
31610 CPPFLAGS_PASCAL="-qmacpstr"
31611 else
31612 { echo "$as_me:$LINENO: result: none" >&5
31613 echo "${ECHO_T}none" >&6; }
31614 fi
31615
31616 if test "x$wxUSE_UNIX" = "xyes"; then
31617 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31618 else
31619 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31620 fi
31621
31622 TOOLKIT=MAC
31623 GUIDIST=MACX_DIST
31624 WXBASEPORT="_carbon"
31625 fi
31626
31627 if test "$wxUSE_COCOA" = 1; then
31628 TOOLKIT=COCOA
31629 GUIDIST=COCOA_DIST
31630 fi
31631
31632 if test "$wxUSE_PM" = 1; then
31633 TOOLKIT=PM
31634 GUIDIST=PM_DIST
31635 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31636 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31637 if test "${wx_cv_spbcdata+set}" = set; then
31638 echo $ECHO_N "(cached) $ECHO_C" >&6
31639 else
31640
31641 cat >conftest.$ac_ext <<_ACEOF
31642 /* confdefs.h. */
31643 _ACEOF
31644 cat confdefs.h >>conftest.$ac_ext
31645 cat >>conftest.$ac_ext <<_ACEOF
31646 /* end confdefs.h. */
31647
31648 #define INCL_PM
31649 #include <os2.h>
31650
31651 int
31652 main ()
31653 {
31654
31655 SPBCDATA test;
31656
31657 ;
31658 return 0;
31659 }
31660 _ACEOF
31661 rm -f conftest.$ac_objext
31662 if { (ac_try="$ac_compile"
31663 case "(($ac_try" in
31664 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31665 *) ac_try_echo=$ac_try;;
31666 esac
31667 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31668 (eval "$ac_compile") 2>conftest.er1
31669 ac_status=$?
31670 grep -v '^ *+' conftest.er1 >conftest.err
31671 rm -f conftest.er1
31672 cat conftest.err >&5
31673 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31674 (exit $ac_status); } && {
31675 test -z "$ac_c_werror_flag" ||
31676 test ! -s conftest.err
31677 } && test -s conftest.$ac_objext; then
31678 wx_cv_spbcdata=yes
31679 else
31680 echo "$as_me: failed program was:" >&5
31681 sed 's/^/| /' conftest.$ac_ext >&5
31682
31683 wx_cv_spbcdata=no
31684
31685 fi
31686
31687 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31688
31689
31690 fi
31691 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31692 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31693
31694 if test $wx_cv_spbcdata = "yes"; then
31695 cat >>confdefs.h <<\_ACEOF
31696 #define HAVE_SPBCDATA 1
31697 _ACEOF
31698
31699 fi
31700 fi
31701
31702 if test "$TOOLKIT" = "PM" ; then
31703 TOOLKIT_DIR="os2"
31704 else
31705 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31706 fi
31707
31708 if test "$wxUSE_UNIVERSAL" = "yes"; then
31709 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31710 WIDGET_SET=univ
31711 fi
31712
31713 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31714 DISTDIR="wx\$(TOOLKIT)"
31715 else
31716 USE_GUI=0
31717
31718 TOOLKIT_DIR="base"
31719
31720 if test "$USE_WIN32" = 1 ; then
31721 TOOLKIT="MSW"
31722 fi
31723
31724 GUIDIST="BASE_DIST"
31725 DISTDIR="wxBase"
31726 fi
31727
31728
31729
31730 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "auto" ; then
31731 if test "$TOOLKIT" = "DFB" ; then
31732 wxUSE_UNICODE_UTF8=yes
31733 elif test "$TOOLKIT" = "GTK" -a "$WXGTK20" = "1" ; then
31734 wxUSE_UNICODE_UTF8=yes
31735 else
31736 wxUSE_UNICODE_UTF8=no
31737 fi
31738 fi
31739
31740
31741 if test "$wxUSE_GUI" = "yes"; then
31742 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31743 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31744 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31745 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31746 echo $ECHO_N "(cached) $ECHO_C" >&6
31747 else
31748 cat >conftest.$ac_ext <<_ACEOF
31749 /* confdefs.h. */
31750 _ACEOF
31751 cat confdefs.h >>conftest.$ac_ext
31752 cat >>conftest.$ac_ext <<_ACEOF
31753 /* end confdefs.h. */
31754
31755
31756 #include <X11/Xlib.h>
31757 _ACEOF
31758 rm -f conftest.$ac_objext
31759 if { (ac_try="$ac_compile"
31760 case "(($ac_try" in
31761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31762 *) ac_try_echo=$ac_try;;
31763 esac
31764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31765 (eval "$ac_compile") 2>conftest.er1
31766 ac_status=$?
31767 grep -v '^ *+' conftest.er1 >conftest.err
31768 rm -f conftest.er1
31769 cat conftest.err >&5
31770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31771 (exit $ac_status); } && {
31772 test -z "$ac_c_werror_flag" ||
31773 test ! -s conftest.err
31774 } && test -s conftest.$ac_objext; then
31775 ac_cv_header_X11_Xlib_h=yes
31776 else
31777 echo "$as_me: failed program was:" >&5
31778 sed 's/^/| /' conftest.$ac_ext >&5
31779
31780 ac_cv_header_X11_Xlib_h=no
31781 fi
31782
31783 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31784 fi
31785 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31786 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31787
31788
31789 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31790 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31791 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31792 echo $ECHO_N "(cached) $ECHO_C" >&6
31793 else
31794 cat >conftest.$ac_ext <<_ACEOF
31795 /* confdefs.h. */
31796 _ACEOF
31797 cat confdefs.h >>conftest.$ac_ext
31798 cat >>conftest.$ac_ext <<_ACEOF
31799 /* end confdefs.h. */
31800
31801 #if HAVE_X11_XLIB_H
31802 #include <X11/Xlib.h>
31803 #endif
31804
31805
31806 #include <X11/XKBlib.h>
31807 _ACEOF
31808 rm -f conftest.$ac_objext
31809 if { (ac_try="$ac_compile"
31810 case "(($ac_try" in
31811 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31812 *) ac_try_echo=$ac_try;;
31813 esac
31814 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31815 (eval "$ac_compile") 2>conftest.er1
31816 ac_status=$?
31817 grep -v '^ *+' conftest.er1 >conftest.err
31818 rm -f conftest.er1
31819 cat conftest.err >&5
31820 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31821 (exit $ac_status); } && {
31822 test -z "$ac_c_werror_flag" ||
31823 test ! -s conftest.err
31824 } && test -s conftest.$ac_objext; then
31825 ac_cv_header_X11_XKBlib_h=yes
31826 else
31827 echo "$as_me: failed program was:" >&5
31828 sed 's/^/| /' conftest.$ac_ext >&5
31829
31830 ac_cv_header_X11_XKBlib_h=no
31831 fi
31832
31833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31834 fi
31835 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31836 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31837
31838
31839 fi
31840 fi
31841
31842
31843
31844 IODBC_C_SRC=""
31845
31846
31847 if test "$TOOLKIT" != "MSW" ; then
31848
31849 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31850
31851 { echo "$as_me:$LINENO: checking for sql.h" >&5
31852 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31853 if test "${ac_cv_header_sql_h+set}" = set; then
31854 echo $ECHO_N "(cached) $ECHO_C" >&6
31855 else
31856 cat >conftest.$ac_ext <<_ACEOF
31857 /* confdefs.h. */
31858 _ACEOF
31859 cat confdefs.h >>conftest.$ac_ext
31860 cat >>conftest.$ac_ext <<_ACEOF
31861 /* end confdefs.h. */
31862
31863
31864 #include <sql.h>
31865 _ACEOF
31866 rm -f conftest.$ac_objext
31867 if { (ac_try="$ac_compile"
31868 case "(($ac_try" in
31869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31870 *) ac_try_echo=$ac_try;;
31871 esac
31872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31873 (eval "$ac_compile") 2>conftest.er1
31874 ac_status=$?
31875 grep -v '^ *+' conftest.er1 >conftest.err
31876 rm -f conftest.er1
31877 cat conftest.err >&5
31878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31879 (exit $ac_status); } && {
31880 test -z "$ac_c_werror_flag" ||
31881 test ! -s conftest.err
31882 } && test -s conftest.$ac_objext; then
31883 ac_cv_header_sql_h=yes
31884 else
31885 echo "$as_me: failed program was:" >&5
31886 sed 's/^/| /' conftest.$ac_ext >&5
31887
31888 ac_cv_header_sql_h=no
31889 fi
31890
31891 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31892 fi
31893 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31894 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31895 if test $ac_cv_header_sql_h = yes; then
31896 found_sql_h=1
31897 fi
31898
31899
31900 if test "x$found_sql_h" = "x1" ; then
31901 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31902 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31903 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31904 echo $ECHO_N "(cached) $ECHO_C" >&6
31905 else
31906 ac_check_lib_save_LIBS=$LIBS
31907 LIBS="-liodbc $LIBS"
31908 cat >conftest.$ac_ext <<_ACEOF
31909 /* confdefs.h. */
31910 _ACEOF
31911 cat confdefs.h >>conftest.$ac_ext
31912 cat >>conftest.$ac_ext <<_ACEOF
31913 /* end confdefs.h. */
31914
31915 /* Override any GCC internal prototype to avoid an error.
31916 Use char because int might match the return type of a GCC
31917 builtin and then its argument prototype would still apply. */
31918 #ifdef __cplusplus
31919 extern "C"
31920 #endif
31921 char SQLAllocEnv ();
31922 int
31923 main ()
31924 {
31925 return SQLAllocEnv ();
31926 ;
31927 return 0;
31928 }
31929 _ACEOF
31930 rm -f conftest.$ac_objext conftest$ac_exeext
31931 if { (ac_try="$ac_link"
31932 case "(($ac_try" in
31933 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31934 *) ac_try_echo=$ac_try;;
31935 esac
31936 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31937 (eval "$ac_link") 2>conftest.er1
31938 ac_status=$?
31939 grep -v '^ *+' conftest.er1 >conftest.err
31940 rm -f conftest.er1
31941 cat conftest.err >&5
31942 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31943 (exit $ac_status); } && {
31944 test -z "$ac_c_werror_flag" ||
31945 test ! -s conftest.err
31946 } && test -s conftest$ac_exeext &&
31947 $as_test_x conftest$ac_exeext; then
31948 ac_cv_lib_iodbc_SQLAllocEnv=yes
31949 else
31950 echo "$as_me: failed program was:" >&5
31951 sed 's/^/| /' conftest.$ac_ext >&5
31952
31953 ac_cv_lib_iodbc_SQLAllocEnv=no
31954 fi
31955
31956 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31957 conftest$ac_exeext conftest.$ac_ext
31958 LIBS=$ac_check_lib_save_LIBS
31959 fi
31960 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31961 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31962 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31963 ODBC_LINK=" -liodbc"
31964 else
31965
31966 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31967 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31968 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31969 echo $ECHO_N "(cached) $ECHO_C" >&6
31970 else
31971 ac_check_lib_save_LIBS=$LIBS
31972 LIBS="-lunixodbc $LIBS"
31973 cat >conftest.$ac_ext <<_ACEOF
31974 /* confdefs.h. */
31975 _ACEOF
31976 cat confdefs.h >>conftest.$ac_ext
31977 cat >>conftest.$ac_ext <<_ACEOF
31978 /* end confdefs.h. */
31979
31980 /* Override any GCC internal prototype to avoid an error.
31981 Use char because int might match the return type of a GCC
31982 builtin and then its argument prototype would still apply. */
31983 #ifdef __cplusplus
31984 extern "C"
31985 #endif
31986 char SQLAllocEnv ();
31987 int
31988 main ()
31989 {
31990 return SQLAllocEnv ();
31991 ;
31992 return 0;
31993 }
31994 _ACEOF
31995 rm -f conftest.$ac_objext conftest$ac_exeext
31996 if { (ac_try="$ac_link"
31997 case "(($ac_try" in
31998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31999 *) ac_try_echo=$ac_try;;
32000 esac
32001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32002 (eval "$ac_link") 2>conftest.er1
32003 ac_status=$?
32004 grep -v '^ *+' conftest.er1 >conftest.err
32005 rm -f conftest.er1
32006 cat conftest.err >&5
32007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32008 (exit $ac_status); } && {
32009 test -z "$ac_c_werror_flag" ||
32010 test ! -s conftest.err
32011 } && test -s conftest$ac_exeext &&
32012 $as_test_x conftest$ac_exeext; then
32013 ac_cv_lib_unixodbc_SQLAllocEnv=yes
32014 else
32015 echo "$as_me: failed program was:" >&5
32016 sed 's/^/| /' conftest.$ac_ext >&5
32017
32018 ac_cv_lib_unixodbc_SQLAllocEnv=no
32019 fi
32020
32021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32022 conftest$ac_exeext conftest.$ac_ext
32023 LIBS=$ac_check_lib_save_LIBS
32024 fi
32025 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
32026 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
32027 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
32028 ODBC_LINK=" -lunixodbc"
32029 else
32030
32031 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
32032 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
32033 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
32034 echo $ECHO_N "(cached) $ECHO_C" >&6
32035 else
32036 ac_check_lib_save_LIBS=$LIBS
32037 LIBS="-lodbc $LIBS"
32038 cat >conftest.$ac_ext <<_ACEOF
32039 /* confdefs.h. */
32040 _ACEOF
32041 cat confdefs.h >>conftest.$ac_ext
32042 cat >>conftest.$ac_ext <<_ACEOF
32043 /* end confdefs.h. */
32044
32045 /* Override any GCC internal prototype to avoid an error.
32046 Use char because int might match the return type of a GCC
32047 builtin and then its argument prototype would still apply. */
32048 #ifdef __cplusplus
32049 extern "C"
32050 #endif
32051 char SQLAllocEnv ();
32052 int
32053 main ()
32054 {
32055 return SQLAllocEnv ();
32056 ;
32057 return 0;
32058 }
32059 _ACEOF
32060 rm -f conftest.$ac_objext conftest$ac_exeext
32061 if { (ac_try="$ac_link"
32062 case "(($ac_try" in
32063 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32064 *) ac_try_echo=$ac_try;;
32065 esac
32066 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32067 (eval "$ac_link") 2>conftest.er1
32068 ac_status=$?
32069 grep -v '^ *+' conftest.er1 >conftest.err
32070 rm -f conftest.er1
32071 cat conftest.err >&5
32072 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32073 (exit $ac_status); } && {
32074 test -z "$ac_c_werror_flag" ||
32075 test ! -s conftest.err
32076 } && test -s conftest$ac_exeext &&
32077 $as_test_x conftest$ac_exeext; then
32078 ac_cv_lib_odbc_SQLAllocEnv=yes
32079 else
32080 echo "$as_me: failed program was:" >&5
32081 sed 's/^/| /' conftest.$ac_ext >&5
32082
32083 ac_cv_lib_odbc_SQLAllocEnv=no
32084 fi
32085
32086 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32087 conftest$ac_exeext conftest.$ac_ext
32088 LIBS=$ac_check_lib_save_LIBS
32089 fi
32090 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
32091 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
32092 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
32093 ODBC_LINK=" -lodbc"
32094 fi
32095
32096
32097 fi
32098
32099
32100 fi
32101
32102 fi
32103 if test "x$ODBC_LINK" = "x" ; then
32104 if test "$wxUSE_ODBC" = "sys" ; then
32105 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
32106 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
32107 { (exit 1); exit 1; }; }
32108 else
32109 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
32110 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
32111 wxUSE_ODBC=builtin
32112 fi
32113 else
32114 wxUSE_ODBC=sys
32115 fi
32116 fi
32117
32118 if test "$wxUSE_ODBC" = "builtin" ; then
32119 cat >>confdefs.h <<\_ACEOF
32120 #define wxUSE_BUILTIN_IODBC 1
32121 _ACEOF
32122
32123 fi
32124 fi
32125
32126 if test "$wxUSE_ODBC" != "no" ; then
32127 cat >>confdefs.h <<\_ACEOF
32128 #define wxUSE_ODBC 1
32129 _ACEOF
32130
32131 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
32132
32133 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
32134 fi
32135
32136
32137 if test "$wxUSE_DISPLAY" = "yes"; then
32138 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32139 { echo "$as_me:$LINENO: checking for Xinerama" >&5
32140 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
32141
32142 ac_find_libraries=
32143 for ac_dir in $SEARCH_LIB;
32144 do
32145 for ac_extension in a so sl dylib dll.a; do
32146 if test -f "$ac_dir/libXinerama.$ac_extension"; then
32147 ac_find_libraries=$ac_dir
32148 break 2
32149 fi
32150 done
32151 done
32152
32153 if test "$ac_find_libraries" != "" ; then
32154
32155 if test "$ac_find_libraries" = "default location"; then
32156 ac_path_to_link=""
32157 else
32158 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32159 result=$?
32160 if test $result = 0; then
32161 ac_path_to_link=""
32162 else
32163 ac_path_to_link=" -L$ac_find_libraries"
32164 fi
32165 fi
32166
32167 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32168 LDFLAGS="$LDFLAGS $ac_path_to_link"
32169 fi
32170 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
32171 { echo "$as_me:$LINENO: result: yes" >&5
32172 echo "${ECHO_T}yes" >&6; }
32173
32174 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
32175 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
32176
32177 ac_find_libraries=
32178 for ac_dir in $SEARCH_LIB;
32179 do
32180 for ac_extension in a so sl dylib dll.a; do
32181 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
32182 ac_find_libraries=$ac_dir
32183 break 2
32184 fi
32185 done
32186 done
32187
32188 if test "$ac_find_libraries" != "" ; then
32189 { echo "$as_me:$LINENO: result: yes" >&5
32190 echo "${ECHO_T}yes" >&6; }
32191 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
32192 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
32193 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
32194 echo $ECHO_N "(cached) $ECHO_C" >&6
32195 else
32196 cat >conftest.$ac_ext <<_ACEOF
32197 /* confdefs.h. */
32198 _ACEOF
32199 cat confdefs.h >>conftest.$ac_ext
32200 cat >>conftest.$ac_ext <<_ACEOF
32201 /* end confdefs.h. */
32202
32203 #if HAVE_X11_XLIB_H
32204 #include <X11/Xlib.h>
32205 #endif
32206
32207
32208 #include <X11/extensions/xf86vmode.h>
32209 _ACEOF
32210 rm -f conftest.$ac_objext
32211 if { (ac_try="$ac_compile"
32212 case "(($ac_try" in
32213 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32214 *) ac_try_echo=$ac_try;;
32215 esac
32216 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32217 (eval "$ac_compile") 2>conftest.er1
32218 ac_status=$?
32219 grep -v '^ *+' conftest.er1 >conftest.err
32220 rm -f conftest.er1
32221 cat conftest.err >&5
32222 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32223 (exit $ac_status); } && {
32224 test -z "$ac_c_werror_flag" ||
32225 test ! -s conftest.err
32226 } && test -s conftest.$ac_objext; then
32227 ac_cv_header_X11_extensions_xf86vmode_h=yes
32228 else
32229 echo "$as_me: failed program was:" >&5
32230 sed 's/^/| /' conftest.$ac_ext >&5
32231
32232 ac_cv_header_X11_extensions_xf86vmode_h=no
32233 fi
32234
32235 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32236 fi
32237 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
32238 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
32239 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
32240
32241 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
32242
32243 fi
32244
32245
32246 else
32247 { echo "$as_me:$LINENO: result: no" >&5
32248 echo "${ECHO_T}no" >&6; }
32249 fi
32250
32251 else
32252 { echo "$as_me:$LINENO: result: no" >&5
32253 echo "${ECHO_T}no" >&6; }
32254 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
32255 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
32256 wxUSE_DISPLAY="no"
32257 fi
32258 elif test "$wxUSE_MSW" = 1; then
32259 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
32260 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
32261 if test "${ac_cv_header_ddraw_h+set}" = set; then
32262 echo $ECHO_N "(cached) $ECHO_C" >&6
32263 else
32264 cat >conftest.$ac_ext <<_ACEOF
32265 /* confdefs.h. */
32266 _ACEOF
32267 cat confdefs.h >>conftest.$ac_ext
32268 cat >>conftest.$ac_ext <<_ACEOF
32269 /* end confdefs.h. */
32270 #include <windows.h>
32271
32272 #include <ddraw.h>
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 ac_cv_header_ddraw_h=yes
32292 else
32293 echo "$as_me: failed program was:" >&5
32294 sed 's/^/| /' conftest.$ac_ext >&5
32295
32296 ac_cv_header_ddraw_h=no
32297 fi
32298
32299 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32300 fi
32301 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
32302 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
32303
32304
32305 fi
32306 fi
32307
32308 if test "$wxUSE_DETECT_SM" = "yes"; then
32309 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
32310 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
32311 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
32312
32313 ac_find_libraries=
32314 for ac_dir in $SEARCH_LIB;
32315 do
32316 for ac_extension in a so sl dylib dll.a; do
32317 if test -f "$ac_dir/libSM.$ac_extension"; then
32318 ac_find_libraries=$ac_dir
32319 break 2
32320 fi
32321 done
32322 done
32323
32324 if test "$ac_find_libraries" != "" ; then
32325
32326 if test "$ac_find_libraries" = "default location"; then
32327 ac_path_to_link=""
32328 else
32329 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32330 result=$?
32331 if test $result = 0; then
32332 ac_path_to_link=""
32333 else
32334 ac_path_to_link=" -L$ac_find_libraries"
32335 fi
32336 fi
32337
32338 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32339 LDFLAGS="$LDFLAGS $ac_path_to_link"
32340 fi
32341 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32342 { echo "$as_me:$LINENO: result: yes" >&5
32343 echo "${ECHO_T}yes" >&6; }
32344 else
32345 { echo "$as_me:$LINENO: result: no" >&5
32346 echo "${ECHO_T}no" >&6; }
32347 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32348 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32349 wxUSE_DETECT_SM="no"
32350 fi
32351 else
32352 wxUSE_DETECT_SM="no"
32353 fi
32354 fi
32355
32356
32357
32358 USE_OPENGL=0
32359 if test "$wxUSE_OPENGL" = "yes"; then
32360 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32361 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32362 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32363 wxUSE_OPENGL="no"
32364 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32365 OPENGL_LIBS="-framework OpenGL -framework AGL"
32366 elif test "$wxUSE_MSW" = 1; then
32367 OPENGL_LIBS="-lopengl32 -lglu32"
32368 else
32369 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32370 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32371
32372 ac_find_includes=
32373 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32374 do
32375 if test -f "$ac_dir/GL/gl.h"; then
32376 ac_find_includes=$ac_dir
32377 break
32378 fi
32379 done
32380
32381 if test "$ac_find_includes" != "" ; then
32382 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32383 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32384
32385 if test "x$ac_find_includes" = "x/usr/include"; then
32386 ac_path_to_include=""
32387 else
32388 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32389 result=$?
32390 if test $result = 0; then
32391 ac_path_to_include=""
32392 else
32393 ac_path_to_include=" -I$ac_find_includes"
32394 fi
32395 fi
32396
32397 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32398 else
32399 { echo "$as_me:$LINENO: result: not found" >&5
32400 echo "${ECHO_T}not found" >&6; }
32401 fi
32402
32403 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32404 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32405 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32406 echo $ECHO_N "(cached) $ECHO_C" >&6
32407 else
32408 cat >conftest.$ac_ext <<_ACEOF
32409 /* confdefs.h. */
32410 _ACEOF
32411 cat confdefs.h >>conftest.$ac_ext
32412 cat >>conftest.$ac_ext <<_ACEOF
32413 /* end confdefs.h. */
32414
32415
32416 #include <GL/gl.h>
32417 _ACEOF
32418 rm -f conftest.$ac_objext
32419 if { (ac_try="$ac_compile"
32420 case "(($ac_try" in
32421 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32422 *) ac_try_echo=$ac_try;;
32423 esac
32424 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32425 (eval "$ac_compile") 2>conftest.er1
32426 ac_status=$?
32427 grep -v '^ *+' conftest.er1 >conftest.err
32428 rm -f conftest.er1
32429 cat conftest.err >&5
32430 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32431 (exit $ac_status); } && {
32432 test -z "$ac_c_werror_flag" ||
32433 test ! -s conftest.err
32434 } && test -s conftest.$ac_objext; then
32435 ac_cv_header_GL_gl_h=yes
32436 else
32437 echo "$as_me: failed program was:" >&5
32438 sed 's/^/| /' conftest.$ac_ext >&5
32439
32440 ac_cv_header_GL_gl_h=no
32441 fi
32442
32443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32444 fi
32445 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32446 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32447 if test $ac_cv_header_GL_gl_h = yes; then
32448
32449 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32450 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32451 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32452 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32453 echo $ECHO_N "(cached) $ECHO_C" >&6
32454 fi
32455 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32456 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32457 else
32458 # Is the header compilable?
32459 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32460 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32461 cat >conftest.$ac_ext <<_ACEOF
32462 /* confdefs.h. */
32463 _ACEOF
32464 cat confdefs.h >>conftest.$ac_ext
32465 cat >>conftest.$ac_ext <<_ACEOF
32466 /* end confdefs.h. */
32467 $ac_includes_default
32468 #include <GL/glu.h>
32469 _ACEOF
32470 rm -f conftest.$ac_objext
32471 if { (ac_try="$ac_compile"
32472 case "(($ac_try" in
32473 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32474 *) ac_try_echo=$ac_try;;
32475 esac
32476 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32477 (eval "$ac_compile") 2>conftest.er1
32478 ac_status=$?
32479 grep -v '^ *+' conftest.er1 >conftest.err
32480 rm -f conftest.er1
32481 cat conftest.err >&5
32482 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32483 (exit $ac_status); } && {
32484 test -z "$ac_c_werror_flag" ||
32485 test ! -s conftest.err
32486 } && test -s conftest.$ac_objext; then
32487 ac_header_compiler=yes
32488 else
32489 echo "$as_me: failed program was:" >&5
32490 sed 's/^/| /' conftest.$ac_ext >&5
32491
32492 ac_header_compiler=no
32493 fi
32494
32495 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32496 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32497 echo "${ECHO_T}$ac_header_compiler" >&6; }
32498
32499 # Is the header present?
32500 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32501 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32502 cat >conftest.$ac_ext <<_ACEOF
32503 /* confdefs.h. */
32504 _ACEOF
32505 cat confdefs.h >>conftest.$ac_ext
32506 cat >>conftest.$ac_ext <<_ACEOF
32507 /* end confdefs.h. */
32508 #include <GL/glu.h>
32509 _ACEOF
32510 if { (ac_try="$ac_cpp conftest.$ac_ext"
32511 case "(($ac_try" in
32512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32513 *) ac_try_echo=$ac_try;;
32514 esac
32515 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32516 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32517 ac_status=$?
32518 grep -v '^ *+' conftest.er1 >conftest.err
32519 rm -f conftest.er1
32520 cat conftest.err >&5
32521 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32522 (exit $ac_status); } >/dev/null && {
32523 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32524 test ! -s conftest.err
32525 }; then
32526 ac_header_preproc=yes
32527 else
32528 echo "$as_me: failed program was:" >&5
32529 sed 's/^/| /' conftest.$ac_ext >&5
32530
32531 ac_header_preproc=no
32532 fi
32533
32534 rm -f conftest.err conftest.$ac_ext
32535 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32536 echo "${ECHO_T}$ac_header_preproc" >&6; }
32537
32538 # So? What about this header?
32539 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32540 yes:no: )
32541 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32542 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32543 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32544 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32545 ac_header_preproc=yes
32546 ;;
32547 no:yes:* )
32548 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32549 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32550 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32551 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32552 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32553 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32554 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32555 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32556 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32557 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32558 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32559 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32560 ( cat <<\_ASBOX
32561 ## ----------------------------------------- ##
32562 ## Report this to wx-dev@lists.wxwidgets.org ##
32563 ## ----------------------------------------- ##
32564 _ASBOX
32565 ) | sed "s/^/$as_me: WARNING: /" >&2
32566 ;;
32567 esac
32568 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32569 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32570 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32571 echo $ECHO_N "(cached) $ECHO_C" >&6
32572 else
32573 ac_cv_header_GL_glu_h=$ac_header_preproc
32574 fi
32575 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32576 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32577
32578 fi
32579 if test $ac_cv_header_GL_glu_h = yes; then
32580
32581 found_gl=0
32582
32583 { echo "$as_me:$LINENO: checking for -lGL" >&5
32584 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32585
32586 ac_find_libraries=
32587 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32588 do
32589 for ac_extension in a so sl dylib dll.a; do
32590 if test -f "$ac_dir/libGL.$ac_extension"; then
32591 ac_find_libraries=$ac_dir
32592 break 2
32593 fi
32594 done
32595 done
32596
32597 if test "$ac_find_libraries" != "" ; then
32598 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32599 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32600
32601
32602 if test "$ac_find_libraries" = "default location"; then
32603 ac_path_to_link=""
32604 else
32605 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32606 result=$?
32607 if test $result = 0; then
32608 ac_path_to_link=""
32609 else
32610 ac_path_to_link=" -L$ac_find_libraries"
32611 fi
32612 fi
32613
32614 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32615 LDFLAGS_GL="$ac_path_to_link"
32616 fi
32617
32618 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32619 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32620
32621 ac_find_libraries=
32622 for ac_dir in $SEARCH_LIB;
32623 do
32624 for ac_extension in a so sl dylib dll.a; do
32625 if test -f "$ac_dir/libGLU.$ac_extension"; then
32626 ac_find_libraries=$ac_dir
32627 break 2
32628 fi
32629 done
32630 done
32631
32632 if test "$ac_find_libraries" != "" ; then
32633
32634 if test "$ac_find_libraries" = "default location"; then
32635 ac_path_to_link=""
32636 else
32637 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32638 result=$?
32639 if test $result = 0; then
32640 ac_path_to_link=""
32641 else
32642 ac_path_to_link=" -L$ac_find_libraries"
32643 fi
32644 fi
32645
32646 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32647 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32648 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32649 fi
32650
32651 found_gl=1
32652 OPENGL_LIBS="-lGL -lGLU"
32653 { echo "$as_me:$LINENO: result: yes" >&5
32654 echo "${ECHO_T}yes" >&6; }
32655 else
32656 { echo "$as_me:$LINENO: result: no" >&5
32657 echo "${ECHO_T}no" >&6; }
32658 fi
32659 else
32660 { echo "$as_me:$LINENO: result: no" >&5
32661 echo "${ECHO_T}no" >&6; }
32662 fi
32663
32664 if test "$found_gl" != 1; then
32665 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32666 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32667
32668 ac_find_libraries=
32669 for ac_dir in $SEARCH_LIB;
32670 do
32671 for ac_extension in a so sl dylib dll.a; do
32672 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32673 ac_find_libraries=$ac_dir
32674 break 2
32675 fi
32676 done
32677 done
32678
32679 if test "$ac_find_libraries" != "" ; then
32680
32681 if test "$ac_find_libraries" = "default location"; then
32682 ac_path_to_link=""
32683 else
32684 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32685 result=$?
32686 if test $result = 0; then
32687 ac_path_to_link=""
32688 else
32689 ac_path_to_link=" -L$ac_find_libraries"
32690 fi
32691 fi
32692
32693 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32694 OPENGL_LIBS="-lMesaGL -lMesaGLU"
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 fi
32701 fi
32702
32703 fi
32704
32705
32706
32707 fi
32708
32709
32710
32711 if test "x$OPENGL_LIBS" = "x"; then
32712 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32713 echo "$as_me: error: OpenGL libraries not available" >&2;}
32714 { (exit 1); exit 1; }; }
32715 fi
32716 fi
32717
32718 if test "$wxUSE_OPENGL" = "yes"; then
32719 USE_OPENGL=1
32720 cat >>confdefs.h <<\_ACEOF
32721 #define wxUSE_OPENGL 1
32722 _ACEOF
32723
32724 cat >>confdefs.h <<\_ACEOF
32725 #define wxUSE_GLCANVAS 1
32726 _ACEOF
32727
32728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32729 fi
32730 fi
32731
32732
32733 if test -n "$TOOLKIT" ; then
32734 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32735 fi
32736
32737
32738
32739 if test "$wxUSE_SHARED" = "yes"; then
32740 case "${host}" in
32741 *-pc-msdosdjgpp )
32742 wxUSE_SHARED=no
32743 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32744 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32745 ;;
32746 esac
32747 fi
32748
32749 if test "$wxUSE_SHARED" = "yes"; then
32750
32751
32752 case "${host}" in
32753 *-*-cygwin* | *-*-mingw* )
32754 wx_cv_version_script=no
32755 ;;
32756
32757 *)
32758 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32759 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32760 if test "${wx_cv_version_script+set}" = set; then
32761 echo $ECHO_N "(cached) $ECHO_C" >&6
32762 else
32763
32764 echo "VER_1 { *; };" >conftest.sym
32765 echo "int main() { return 0; }" >conftest.cpp
32766
32767 if { ac_try='
32768 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32769 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32770 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32771 (eval $ac_try) 2>&5
32772 ac_status=$?
32773 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32774 (exit $ac_status); }; } ; then
32775 if test -s conftest.stderr ; then
32776 wx_cv_version_script=no
32777 else
32778 wx_cv_version_script=yes
32779 fi
32780 else
32781 wx_cv_version_script=no
32782 fi
32783
32784 if test $wx_cv_version_script = yes
32785 then
32786 echo "struct B { virtual ~B() { } }; \
32787 struct D : public B { }; \
32788 void F() { D d; }" > conftest.cpp
32789
32790 if { ac_try='
32791 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32792 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32793 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32794 (eval $ac_try) 2>&5
32795 ac_status=$?
32796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32797 (exit $ac_status); }; } &&
32798 { ac_try='
32799 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32800 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32801 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32802 (eval $ac_try) 2>&5
32803 ac_status=$?
32804 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32805 (exit $ac_status); }; }
32806 then
32807 if { ac_try='
32808 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32809 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32810 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32811 (eval $ac_try) 2>&5
32812 ac_status=$?
32813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32814 (exit $ac_status); }; }
32815 then
32816 wx_cv_version_script=yes
32817 else
32818 wx_cv_version_script=no
32819 fi
32820 fi
32821 fi
32822
32823 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32824 rm -f conftest1.output conftest2.output conftest3.output
32825
32826 fi
32827 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32828 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32829
32830 if test $wx_cv_version_script = yes ; then
32831 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32832 fi
32833 ;;
32834 esac
32835
32836
32837 case "${host}" in
32838 *-*-linux* | *-*-gnu* )
32839 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32840 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32841 ;;
32842
32843 *-*-solaris2* )
32844 if test "$GCC" = yes ; then
32845 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32846
32847 saveLdflags="$LDFLAGS"
32848 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32849 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32850 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32851 cat >conftest.$ac_ext <<_ACEOF
32852 /* confdefs.h. */
32853 _ACEOF
32854 cat confdefs.h >>conftest.$ac_ext
32855 cat >>conftest.$ac_ext <<_ACEOF
32856 /* end confdefs.h. */
32857
32858 int
32859 main ()
32860 {
32861
32862 ;
32863 return 0;
32864 }
32865 _ACEOF
32866 rm -f conftest.$ac_objext conftest$ac_exeext
32867 if { (ac_try="$ac_link"
32868 case "(($ac_try" in
32869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32870 *) ac_try_echo=$ac_try;;
32871 esac
32872 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32873 (eval "$ac_link") 2>conftest.er1
32874 ac_status=$?
32875 grep -v '^ *+' conftest.er1 >conftest.err
32876 rm -f conftest.er1
32877 cat conftest.err >&5
32878 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32879 (exit $ac_status); } && {
32880 test -z "$ac_c_werror_flag" ||
32881 test ! -s conftest.err
32882 } && test -s conftest$ac_exeext &&
32883 $as_test_x conftest$ac_exeext; then
32884
32885 { echo "$as_me:$LINENO: result: yes" >&5
32886 echo "${ECHO_T}yes" >&6; }
32887 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32888 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32889
32890 else
32891 echo "$as_me: failed program was:" >&5
32892 sed 's/^/| /' conftest.$ac_ext >&5
32893
32894
32895 { echo "$as_me:$LINENO: result: no" >&5
32896 echo "${ECHO_T}no" >&6; }
32897 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32898 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32899 LDFLAGS="$saveLdflags -Wl,-R,/"
32900 cat >conftest.$ac_ext <<_ACEOF
32901 /* confdefs.h. */
32902 _ACEOF
32903 cat confdefs.h >>conftest.$ac_ext
32904 cat >>conftest.$ac_ext <<_ACEOF
32905 /* end confdefs.h. */
32906
32907 int
32908 main ()
32909 {
32910
32911 ;
32912 return 0;
32913 }
32914 _ACEOF
32915 rm -f conftest.$ac_objext conftest$ac_exeext
32916 if { (ac_try="$ac_link"
32917 case "(($ac_try" in
32918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32919 *) ac_try_echo=$ac_try;;
32920 esac
32921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32922 (eval "$ac_link") 2>conftest.er1
32923 ac_status=$?
32924 grep -v '^ *+' conftest.er1 >conftest.err
32925 rm -f conftest.er1
32926 cat conftest.err >&5
32927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32928 (exit $ac_status); } && {
32929 test -z "$ac_c_werror_flag" ||
32930 test ! -s conftest.err
32931 } && test -s conftest$ac_exeext &&
32932 $as_test_x conftest$ac_exeext; then
32933
32934 { echo "$as_me:$LINENO: result: yes" >&5
32935 echo "${ECHO_T}yes" >&6; }
32936 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32937 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32938
32939 else
32940 echo "$as_me: failed program was:" >&5
32941 sed 's/^/| /' conftest.$ac_ext >&5
32942
32943
32944 { echo "$as_me:$LINENO: result: no" >&5
32945 echo "${ECHO_T}no" >&6; }
32946
32947 fi
32948
32949 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32950 conftest$ac_exeext conftest.$ac_ext
32951
32952 fi
32953
32954 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32955 conftest$ac_exeext conftest.$ac_ext
32956 LDFLAGS="$saveLdflags"
32957 else
32958 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32959 WXCONFIG_RPATH="-R\$libdir"
32960 fi
32961 ;;
32962
32963 *-*-darwin* )
32964 install_name_tool=`which install_name_tool`
32965 if test "$install_name_tool" -a -x "$install_name_tool"; then
32966 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32967 cat <<EOF >change-install-names
32968 #!/bin/sh
32969 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32970 inst_cmd="install_name_tool "
32971 for i in \${libnames} ; do
32972 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32973 done
32974 \${inst_cmd} \${3}
32975 EOF
32976 chmod +x change-install-names
32977 fi
32978 ;;
32979
32980 *-*-cygwin* | *-*-mingw32* )
32981 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32982 ;;
32983
32984 *-*-hpux* )
32985 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32986 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32987 ;;
32988
32989 esac
32990
32991 if test $wxUSE_RPATH = "no"; then
32992 SAMPLES_RPATH_FLAG=''
32993 SAMPLES_RPATH_POSTLINK=''
32994 WXCONFIG_RPATH=''
32995 fi
32996
32997 SHARED=1
32998
32999 else
33000
33001 config_linkage_component="-static"
33002 SHARED=0
33003
33004 fi
33005
33006
33007 UNICODE=0
33008 lib_unicode_suffix=
33009 WX_CHARTYPE="ansi"
33010 if test "$wxUSE_UNICODE" = "yes"; then
33011 lib_unicode_suffix=u
33012 WX_CHARTYPE="unicode"
33013 UNICODE=1
33014 fi
33015
33016 lib_debug_suffix=
33017 WX_DEBUGTYPE="release"
33018 DEBUG_FLAG=0
33019 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
33020 lib_debug_suffix=d
33021 WX_DEBUGTYPE="debug"
33022 DEBUG_FLAG=1
33023 fi
33024
33025 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
33026 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
33027
33028 DEBUG_INFO=0
33029 if test "$wxUSE_DEBUG_INFO" = "yes"; then
33030 DEBUG_INFO=1
33031 fi
33032
33033 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
33034
33035 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
33036
33037 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
33038
33039 if test "$cross_compiling" = "yes"; then
33040 HOST_SUFFIX="-$host_alias"
33041 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
33042 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
33043 fi
33044
33045 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33046 if test "${TOOLKIT_DIR}" = "os2"; then
33047 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33048 else
33049 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
33050 fi
33051
33052
33053
33054 if test "$wxUSE_COCOA" = 1; then
33055
33056 ac_ext=c
33057 ac_cpp='$CPP $CPPFLAGS'
33058 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33059 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33060 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33061
33062 ac_ext=m
33063
33064 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
33065 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
33066 cat >conftest.$ac_ext <<_ACEOF
33067 /* confdefs.h. */
33068 _ACEOF
33069 cat confdefs.h >>conftest.$ac_ext
33070 cat >>conftest.$ac_ext <<_ACEOF
33071 /* end confdefs.h. */
33072 #include <AppKit/NSEvent.h>
33073 #include <CoreFoundation/CoreFoundation.h>
33074
33075 int
33076 main ()
33077 {
33078
33079 ;
33080 return 0;
33081 }
33082 _ACEOF
33083 rm -f conftest.$ac_objext
33084 if { (ac_try="$ac_compile"
33085 case "(($ac_try" in
33086 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33087 *) ac_try_echo=$ac_try;;
33088 esac
33089 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33090 (eval "$ac_compile") 2>conftest.er1
33091 ac_status=$?
33092 grep -v '^ *+' conftest.er1 >conftest.err
33093 rm -f conftest.er1
33094 cat conftest.err >&5
33095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33096 (exit $ac_status); } && {
33097 test -z "$ac_c_werror_flag" ||
33098 test ! -s conftest.err
33099 } && test -s conftest.$ac_objext; then
33100 { echo "$as_me:$LINENO: result: no" >&5
33101 echo "${ECHO_T}no" >&6; }
33102 else
33103 echo "$as_me: failed program was:" >&5
33104 sed 's/^/| /' conftest.$ac_ext >&5
33105
33106 { echo "$as_me:$LINENO: result: yes" >&5
33107 echo "${ECHO_T}yes" >&6; }
33108 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
33109 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
33110 cat >conftest.$ac_ext <<_ACEOF
33111 /* confdefs.h. */
33112 _ACEOF
33113 cat confdefs.h >>conftest.$ac_ext
33114 cat >>conftest.$ac_ext <<_ACEOF
33115 /* end confdefs.h. */
33116 #define __Point__ 1
33117 #include <AppKit/NSEvent.h>
33118 #include <CoreFoundation/CoreFoundation.h>
33119
33120 int
33121 main ()
33122 {
33123
33124 ;
33125 return 0;
33126 }
33127 _ACEOF
33128 rm -f conftest.$ac_objext
33129 if { (ac_try="$ac_compile"
33130 case "(($ac_try" in
33131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33132 *) ac_try_echo=$ac_try;;
33133 esac
33134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33135 (eval "$ac_compile") 2>conftest.er1
33136 ac_status=$?
33137 grep -v '^ *+' conftest.er1 >conftest.err
33138 rm -f conftest.er1
33139 cat conftest.err >&5
33140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33141 (exit $ac_status); } && {
33142 test -z "$ac_c_werror_flag" ||
33143 test ! -s conftest.err
33144 } && test -s conftest.$ac_objext; then
33145 { echo "$as_me:$LINENO: result: yes" >&5
33146 echo "${ECHO_T}yes" >&6; }
33147 cat >>confdefs.h <<\_ACEOF
33148 #define __Point__ 1
33149 _ACEOF
33150
33151
33152 else
33153 echo "$as_me: failed program was:" >&5
33154 sed 's/^/| /' conftest.$ac_ext >&5
33155
33156 { { echo "$as_me:$LINENO: error: no
33157 See \`config.log' for more details." >&5
33158 echo "$as_me: error: no
33159 See \`config.log' for more details." >&2;}
33160 { (exit 1); exit 1; }; }
33161
33162 fi
33163
33164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33165
33166 fi
33167
33168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33169 ac_ext=c
33170 ac_cpp='$CPP $CPPFLAGS'
33171 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33172 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33173 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33174
33175 fi
33176
33177 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
33178 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
33179 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
33180
33181 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
33182
33183 # Extract the first word of "Rez", so it can be a program name with args.
33184 set dummy Rez; ac_word=$2
33185 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33186 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33187 if test "${ac_cv_prog_REZ+set}" = set; then
33188 echo $ECHO_N "(cached) $ECHO_C" >&6
33189 else
33190 if test -n "$REZ"; then
33191 ac_cv_prog_REZ="$REZ" # Let the user override the test.
33192 else
33193 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33194 for as_dir in $PATH
33195 do
33196 IFS=$as_save_IFS
33197 test -z "$as_dir" && as_dir=.
33198 for ac_exec_ext in '' $ac_executable_extensions; do
33199 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33200 ac_cv_prog_REZ="Rez"
33201 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33202 break 2
33203 fi
33204 done
33205 done
33206 IFS=$as_save_IFS
33207
33208 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
33209 fi
33210 fi
33211 REZ=$ac_cv_prog_REZ
33212 if test -n "$REZ"; then
33213 { echo "$as_me:$LINENO: result: $REZ" >&5
33214 echo "${ECHO_T}$REZ" >&6; }
33215 else
33216 { echo "$as_me:$LINENO: result: no" >&5
33217 echo "${ECHO_T}no" >&6; }
33218 fi
33219
33220
33221 # Extract the first word of "DeRez", so it can be a program name with args.
33222 set dummy DeRez; ac_word=$2
33223 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33224 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33225 if test "${ac_cv_prog_DEREZ+set}" = set; then
33226 echo $ECHO_N "(cached) $ECHO_C" >&6
33227 else
33228 if test -n "$DEREZ"; then
33229 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
33230 else
33231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33232 for as_dir in $PATH
33233 do
33234 IFS=$as_save_IFS
33235 test -z "$as_dir" && as_dir=.
33236 for ac_exec_ext in '' $ac_executable_extensions; do
33237 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33238 ac_cv_prog_DEREZ="DeRez"
33239 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33240 break 2
33241 fi
33242 done
33243 done
33244 IFS=$as_save_IFS
33245
33246 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
33247 fi
33248 fi
33249 DEREZ=$ac_cv_prog_DEREZ
33250 if test -n "$DEREZ"; then
33251 { echo "$as_me:$LINENO: result: $DEREZ" >&5
33252 echo "${ECHO_T}$DEREZ" >&6; }
33253 else
33254 { echo "$as_me:$LINENO: result: no" >&5
33255 echo "${ECHO_T}no" >&6; }
33256 fi
33257
33258
33259 # Extract the first word of "SetFile", so it can be a program name with args.
33260 set dummy SetFile; ac_word=$2
33261 { echo "$as_me:$LINENO: checking for $ac_word" >&5
33262 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
33263 if test "${ac_cv_prog_SETFILE+set}" = set; then
33264 echo $ECHO_N "(cached) $ECHO_C" >&6
33265 else
33266 if test -n "$SETFILE"; then
33267 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
33268 else
33269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
33270 for as_dir in $PATH
33271 do
33272 IFS=$as_save_IFS
33273 test -z "$as_dir" && as_dir=.
33274 for ac_exec_ext in '' $ac_executable_extensions; do
33275 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
33276 ac_cv_prog_SETFILE="SetFile"
33277 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
33278 break 2
33279 fi
33280 done
33281 done
33282 IFS=$as_save_IFS
33283
33284 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
33285 fi
33286 fi
33287 SETFILE=$ac_cv_prog_SETFILE
33288 if test -n "$SETFILE"; then
33289 { echo "$as_me:$LINENO: result: $SETFILE" >&5
33290 echo "${ECHO_T}$SETFILE" >&6; }
33291 else
33292 { echo "$as_me:$LINENO: result: no" >&5
33293 echo "${ECHO_T}no" >&6; }
33294 fi
33295
33296
33297
33298 MACSETFILE="\$(SETFILE)"
33299
33300 if test "$wxUSE_MAC" = 1; then
33301 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
33302 RESCOMP="$REZ"
33303 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
33304 else
33305 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
33306 RESCOMP="echo -n \| $REZ"
33307 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
33308 fi
33309
33310 else
33311 MACSETFILE="@true"
33312
33313 if test "$wxUSE_PM" = 1; then
33314 RESCOMP="emxbind"
33315 WXCONFIG_RESFLAGS="-ep"
33316
33317 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
33318 else
33319 POSTLINK_COMMAND="@true"
33320 fi
33321
33322 fi
33323
33324
33325
33326 { echo "$as_me:$LINENO: checking for mode_t" >&5
33327 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
33328 if test "${ac_cv_type_mode_t+set}" = set; then
33329 echo $ECHO_N "(cached) $ECHO_C" >&6
33330 else
33331 cat >conftest.$ac_ext <<_ACEOF
33332 /* confdefs.h. */
33333 _ACEOF
33334 cat confdefs.h >>conftest.$ac_ext
33335 cat >>conftest.$ac_ext <<_ACEOF
33336 /* end confdefs.h. */
33337 $ac_includes_default
33338 typedef mode_t ac__type_new_;
33339 int
33340 main ()
33341 {
33342 if ((ac__type_new_ *) 0)
33343 return 0;
33344 if (sizeof (ac__type_new_))
33345 return 0;
33346 ;
33347 return 0;
33348 }
33349 _ACEOF
33350 rm -f conftest.$ac_objext
33351 if { (ac_try="$ac_compile"
33352 case "(($ac_try" in
33353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33354 *) ac_try_echo=$ac_try;;
33355 esac
33356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33357 (eval "$ac_compile") 2>conftest.er1
33358 ac_status=$?
33359 grep -v '^ *+' conftest.er1 >conftest.err
33360 rm -f conftest.er1
33361 cat conftest.err >&5
33362 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33363 (exit $ac_status); } && {
33364 test -z "$ac_c_werror_flag" ||
33365 test ! -s conftest.err
33366 } && test -s conftest.$ac_objext; then
33367 ac_cv_type_mode_t=yes
33368 else
33369 echo "$as_me: failed program was:" >&5
33370 sed 's/^/| /' conftest.$ac_ext >&5
33371
33372 ac_cv_type_mode_t=no
33373 fi
33374
33375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33376 fi
33377 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33378 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33379 if test $ac_cv_type_mode_t = yes; then
33380 :
33381 else
33382
33383 cat >>confdefs.h <<_ACEOF
33384 #define mode_t int
33385 _ACEOF
33386
33387 fi
33388
33389 { echo "$as_me:$LINENO: checking for off_t" >&5
33390 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33391 if test "${ac_cv_type_off_t+set}" = set; then
33392 echo $ECHO_N "(cached) $ECHO_C" >&6
33393 else
33394 cat >conftest.$ac_ext <<_ACEOF
33395 /* confdefs.h. */
33396 _ACEOF
33397 cat confdefs.h >>conftest.$ac_ext
33398 cat >>conftest.$ac_ext <<_ACEOF
33399 /* end confdefs.h. */
33400 $ac_includes_default
33401 typedef off_t ac__type_new_;
33402 int
33403 main ()
33404 {
33405 if ((ac__type_new_ *) 0)
33406 return 0;
33407 if (sizeof (ac__type_new_))
33408 return 0;
33409 ;
33410 return 0;
33411 }
33412 _ACEOF
33413 rm -f conftest.$ac_objext
33414 if { (ac_try="$ac_compile"
33415 case "(($ac_try" in
33416 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33417 *) ac_try_echo=$ac_try;;
33418 esac
33419 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33420 (eval "$ac_compile") 2>conftest.er1
33421 ac_status=$?
33422 grep -v '^ *+' conftest.er1 >conftest.err
33423 rm -f conftest.er1
33424 cat conftest.err >&5
33425 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33426 (exit $ac_status); } && {
33427 test -z "$ac_c_werror_flag" ||
33428 test ! -s conftest.err
33429 } && test -s conftest.$ac_objext; then
33430 ac_cv_type_off_t=yes
33431 else
33432 echo "$as_me: failed program was:" >&5
33433 sed 's/^/| /' conftest.$ac_ext >&5
33434
33435 ac_cv_type_off_t=no
33436 fi
33437
33438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33439 fi
33440 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33441 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33442 if test $ac_cv_type_off_t = yes; then
33443 :
33444 else
33445
33446 cat >>confdefs.h <<_ACEOF
33447 #define off_t long int
33448 _ACEOF
33449
33450 fi
33451
33452 { echo "$as_me:$LINENO: checking for pid_t" >&5
33453 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33454 if test "${ac_cv_type_pid_t+set}" = set; then
33455 echo $ECHO_N "(cached) $ECHO_C" >&6
33456 else
33457 cat >conftest.$ac_ext <<_ACEOF
33458 /* confdefs.h. */
33459 _ACEOF
33460 cat confdefs.h >>conftest.$ac_ext
33461 cat >>conftest.$ac_ext <<_ACEOF
33462 /* end confdefs.h. */
33463 $ac_includes_default
33464 typedef pid_t ac__type_new_;
33465 int
33466 main ()
33467 {
33468 if ((ac__type_new_ *) 0)
33469 return 0;
33470 if (sizeof (ac__type_new_))
33471 return 0;
33472 ;
33473 return 0;
33474 }
33475 _ACEOF
33476 rm -f conftest.$ac_objext
33477 if { (ac_try="$ac_compile"
33478 case "(($ac_try" in
33479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33480 *) ac_try_echo=$ac_try;;
33481 esac
33482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33483 (eval "$ac_compile") 2>conftest.er1
33484 ac_status=$?
33485 grep -v '^ *+' conftest.er1 >conftest.err
33486 rm -f conftest.er1
33487 cat conftest.err >&5
33488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33489 (exit $ac_status); } && {
33490 test -z "$ac_c_werror_flag" ||
33491 test ! -s conftest.err
33492 } && test -s conftest.$ac_objext; then
33493 ac_cv_type_pid_t=yes
33494 else
33495 echo "$as_me: failed program was:" >&5
33496 sed 's/^/| /' conftest.$ac_ext >&5
33497
33498 ac_cv_type_pid_t=no
33499 fi
33500
33501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33502 fi
33503 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33504 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33505 if test $ac_cv_type_pid_t = yes; then
33506 :
33507 else
33508
33509 cat >>confdefs.h <<_ACEOF
33510 #define pid_t int
33511 _ACEOF
33512
33513 fi
33514
33515 { echo "$as_me:$LINENO: checking for size_t" >&5
33516 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33517 if test "${ac_cv_type_size_t+set}" = set; then
33518 echo $ECHO_N "(cached) $ECHO_C" >&6
33519 else
33520 cat >conftest.$ac_ext <<_ACEOF
33521 /* confdefs.h. */
33522 _ACEOF
33523 cat confdefs.h >>conftest.$ac_ext
33524 cat >>conftest.$ac_ext <<_ACEOF
33525 /* end confdefs.h. */
33526 $ac_includes_default
33527 typedef size_t ac__type_new_;
33528 int
33529 main ()
33530 {
33531 if ((ac__type_new_ *) 0)
33532 return 0;
33533 if (sizeof (ac__type_new_))
33534 return 0;
33535 ;
33536 return 0;
33537 }
33538 _ACEOF
33539 rm -f conftest.$ac_objext
33540 if { (ac_try="$ac_compile"
33541 case "(($ac_try" in
33542 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33543 *) ac_try_echo=$ac_try;;
33544 esac
33545 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33546 (eval "$ac_compile") 2>conftest.er1
33547 ac_status=$?
33548 grep -v '^ *+' conftest.er1 >conftest.err
33549 rm -f conftest.er1
33550 cat conftest.err >&5
33551 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33552 (exit $ac_status); } && {
33553 test -z "$ac_c_werror_flag" ||
33554 test ! -s conftest.err
33555 } && test -s conftest.$ac_objext; then
33556 ac_cv_type_size_t=yes
33557 else
33558 echo "$as_me: failed program was:" >&5
33559 sed 's/^/| /' conftest.$ac_ext >&5
33560
33561 ac_cv_type_size_t=no
33562 fi
33563
33564 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33565 fi
33566 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33567 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33568 if test $ac_cv_type_size_t = yes; then
33569 :
33570 else
33571
33572 cat >>confdefs.h <<_ACEOF
33573 #define size_t unsigned int
33574 _ACEOF
33575
33576 fi
33577
33578 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33579 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33580 if test "${ac_cv_type_uid_t+set}" = set; then
33581 echo $ECHO_N "(cached) $ECHO_C" >&6
33582 else
33583 cat >conftest.$ac_ext <<_ACEOF
33584 /* confdefs.h. */
33585 _ACEOF
33586 cat confdefs.h >>conftest.$ac_ext
33587 cat >>conftest.$ac_ext <<_ACEOF
33588 /* end confdefs.h. */
33589 #include <sys/types.h>
33590
33591 _ACEOF
33592 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33593 $EGREP "uid_t" >/dev/null 2>&1; then
33594 ac_cv_type_uid_t=yes
33595 else
33596 ac_cv_type_uid_t=no
33597 fi
33598 rm -f conftest*
33599
33600 fi
33601 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33602 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33603 if test $ac_cv_type_uid_t = no; then
33604
33605 cat >>confdefs.h <<\_ACEOF
33606 #define uid_t int
33607 _ACEOF
33608
33609
33610 cat >>confdefs.h <<\_ACEOF
33611 #define gid_t int
33612 _ACEOF
33613
33614 fi
33615
33616
33617 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33618 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33619 if test "${ac_cv_type_ssize_t+set}" = set; then
33620 echo $ECHO_N "(cached) $ECHO_C" >&6
33621 else
33622 cat >conftest.$ac_ext <<_ACEOF
33623 /* confdefs.h. */
33624 _ACEOF
33625 cat confdefs.h >>conftest.$ac_ext
33626 cat >>conftest.$ac_ext <<_ACEOF
33627 /* end confdefs.h. */
33628 $ac_includes_default
33629 typedef ssize_t ac__type_new_;
33630 int
33631 main ()
33632 {
33633 if ((ac__type_new_ *) 0)
33634 return 0;
33635 if (sizeof (ac__type_new_))
33636 return 0;
33637 ;
33638 return 0;
33639 }
33640 _ACEOF
33641 rm -f conftest.$ac_objext
33642 if { (ac_try="$ac_compile"
33643 case "(($ac_try" in
33644 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33645 *) ac_try_echo=$ac_try;;
33646 esac
33647 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33648 (eval "$ac_compile") 2>conftest.er1
33649 ac_status=$?
33650 grep -v '^ *+' conftest.er1 >conftest.err
33651 rm -f conftest.er1
33652 cat conftest.err >&5
33653 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33654 (exit $ac_status); } && {
33655 test -z "$ac_c_werror_flag" ||
33656 test ! -s conftest.err
33657 } && test -s conftest.$ac_objext; then
33658 ac_cv_type_ssize_t=yes
33659 else
33660 echo "$as_me: failed program was:" >&5
33661 sed 's/^/| /' conftest.$ac_ext >&5
33662
33663 ac_cv_type_ssize_t=no
33664 fi
33665
33666 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33667 fi
33668 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33669 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33670 if test $ac_cv_type_ssize_t = yes; then
33671
33672 cat >>confdefs.h <<_ACEOF
33673 #define HAVE_SSIZE_T 1
33674 _ACEOF
33675
33676
33677 fi
33678
33679
33680 ac_ext=cpp
33681 ac_cpp='$CXXCPP $CPPFLAGS'
33682 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33683 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33684 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33685 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33686 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33687 if test "${wx_cv_size_t_is_uint+set}" = set; then
33688 echo $ECHO_N "(cached) $ECHO_C" >&6
33689 else
33690
33691 cat >conftest.$ac_ext <<_ACEOF
33692 /* confdefs.h. */
33693 _ACEOF
33694 cat confdefs.h >>conftest.$ac_ext
33695 cat >>conftest.$ac_ext <<_ACEOF
33696 /* end confdefs.h. */
33697 #include <stddef.h>
33698 int
33699 main ()
33700 {
33701
33702 return 0; }
33703
33704 struct Foo { void foo(size_t); void foo(unsigned int); };
33705
33706 int bar() {
33707
33708 ;
33709 return 0;
33710 }
33711 _ACEOF
33712 rm -f conftest.$ac_objext
33713 if { (ac_try="$ac_compile"
33714 case "(($ac_try" in
33715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33716 *) ac_try_echo=$ac_try;;
33717 esac
33718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33719 (eval "$ac_compile") 2>conftest.er1
33720 ac_status=$?
33721 grep -v '^ *+' conftest.er1 >conftest.err
33722 rm -f conftest.er1
33723 cat conftest.err >&5
33724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33725 (exit $ac_status); } && {
33726 test -z "$ac_cxx_werror_flag" ||
33727 test ! -s conftest.err
33728 } && test -s conftest.$ac_objext; then
33729 wx_cv_size_t_is_uint=no
33730 else
33731 echo "$as_me: failed program was:" >&5
33732 sed 's/^/| /' conftest.$ac_ext >&5
33733
33734 wx_cv_size_t_is_uint=yes
33735
33736 fi
33737
33738 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33739
33740
33741 fi
33742 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33743 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33744
33745 if test "$wx_cv_size_t_is_uint" = "yes"; then
33746 cat >>confdefs.h <<\_ACEOF
33747 #define wxSIZE_T_IS_UINT 1
33748 _ACEOF
33749
33750 else
33751 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33752 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33753 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33754 echo $ECHO_N "(cached) $ECHO_C" >&6
33755 else
33756 cat >conftest.$ac_ext <<_ACEOF
33757 /* confdefs.h. */
33758 _ACEOF
33759 cat confdefs.h >>conftest.$ac_ext
33760 cat >>conftest.$ac_ext <<_ACEOF
33761 /* end confdefs.h. */
33762 #include <stddef.h>
33763 int
33764 main ()
33765 {
33766
33767 return 0; }
33768
33769 struct Foo { void foo(size_t); void foo(unsigned long); };
33770
33771 int bar() {
33772
33773 ;
33774 return 0;
33775 }
33776 _ACEOF
33777 rm -f conftest.$ac_objext
33778 if { (ac_try="$ac_compile"
33779 case "(($ac_try" in
33780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33781 *) ac_try_echo=$ac_try;;
33782 esac
33783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33784 (eval "$ac_compile") 2>conftest.er1
33785 ac_status=$?
33786 grep -v '^ *+' conftest.er1 >conftest.err
33787 rm -f conftest.er1
33788 cat conftest.err >&5
33789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33790 (exit $ac_status); } && {
33791 test -z "$ac_cxx_werror_flag" ||
33792 test ! -s conftest.err
33793 } && test -s conftest.$ac_objext; then
33794 wx_cv_size_t_is_ulong=no
33795 else
33796 echo "$as_me: failed program was:" >&5
33797 sed 's/^/| /' conftest.$ac_ext >&5
33798
33799 wx_cv_size_t_is_ulong=yes
33800
33801 fi
33802
33803 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33804
33805 fi
33806 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33807 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33808
33809 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33810 cat >>confdefs.h <<\_ACEOF
33811 #define wxSIZE_T_IS_ULONG 1
33812 _ACEOF
33813
33814 fi
33815 fi
33816
33817 ac_ext=c
33818 ac_cpp='$CPP $CPPFLAGS'
33819 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33820 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33821 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33822
33823
33824 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33825 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33826 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33827 echo $ECHO_N "(cached) $ECHO_C" >&6
33828 else
33829
33830 cat >conftest.$ac_ext <<_ACEOF
33831 /* confdefs.h. */
33832 _ACEOF
33833 cat confdefs.h >>conftest.$ac_ext
33834 cat >>conftest.$ac_ext <<_ACEOF
33835 /* end confdefs.h. */
33836 #include <pwd.h>
33837 int
33838 main ()
33839 {
33840
33841 char *p;
33842 struct passwd *pw;
33843 p = pw->pw_gecos;
33844
33845 ;
33846 return 0;
33847 }
33848 _ACEOF
33849 rm -f conftest.$ac_objext
33850 if { (ac_try="$ac_compile"
33851 case "(($ac_try" in
33852 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33853 *) ac_try_echo=$ac_try;;
33854 esac
33855 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33856 (eval "$ac_compile") 2>conftest.er1
33857 ac_status=$?
33858 grep -v '^ *+' conftest.er1 >conftest.err
33859 rm -f conftest.er1
33860 cat conftest.err >&5
33861 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33862 (exit $ac_status); } && {
33863 test -z "$ac_c_werror_flag" ||
33864 test ! -s conftest.err
33865 } && test -s conftest.$ac_objext; then
33866
33867 wx_cv_struct_pw_gecos=yes
33868
33869 else
33870 echo "$as_me: failed program was:" >&5
33871 sed 's/^/| /' conftest.$ac_ext >&5
33872
33873
33874 wx_cv_struct_pw_gecos=no
33875
33876
33877 fi
33878
33879 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33880
33881
33882 fi
33883 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33884 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33885
33886 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33887 cat >>confdefs.h <<\_ACEOF
33888 #define HAVE_PW_GECOS 1
33889 _ACEOF
33890
33891 fi
33892
33893
33894 if test "$wxUSE_WCHAR_T" = "yes"; then
33895 cat >>confdefs.h <<\_ACEOF
33896 #define wxUSE_WCHAR_T 1
33897 _ACEOF
33898
33899
33900 WCSLEN_FOUND=0
33901 WCHAR_LINK=
33902
33903 for ac_func in wcslen
33904 do
33905 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33906 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33907 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33908 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33909 echo $ECHO_N "(cached) $ECHO_C" >&6
33910 else
33911 cat >conftest.$ac_ext <<_ACEOF
33912 /* confdefs.h. */
33913 _ACEOF
33914 cat confdefs.h >>conftest.$ac_ext
33915 cat >>conftest.$ac_ext <<_ACEOF
33916 /* end confdefs.h. */
33917 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33919 #define $ac_func innocuous_$ac_func
33920
33921 /* System header to define __stub macros and hopefully few prototypes,
33922 which can conflict with char $ac_func (); below.
33923 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33924 <limits.h> exists even on freestanding compilers. */
33925
33926 #ifdef __STDC__
33927 # include <limits.h>
33928 #else
33929 # include <assert.h>
33930 #endif
33931
33932 #undef $ac_func
33933
33934 /* Override any GCC internal prototype to avoid an error.
33935 Use char because int might match the return type of a GCC
33936 builtin and then its argument prototype would still apply. */
33937 #ifdef __cplusplus
33938 extern "C"
33939 #endif
33940 char $ac_func ();
33941 /* The GNU C library defines this for functions which it implements
33942 to always fail with ENOSYS. Some functions are actually named
33943 something starting with __ and the normal name is an alias. */
33944 #if defined __stub_$ac_func || defined __stub___$ac_func
33945 choke me
33946 #endif
33947
33948 int
33949 main ()
33950 {
33951 return $ac_func ();
33952 ;
33953 return 0;
33954 }
33955 _ACEOF
33956 rm -f conftest.$ac_objext conftest$ac_exeext
33957 if { (ac_try="$ac_link"
33958 case "(($ac_try" in
33959 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33960 *) ac_try_echo=$ac_try;;
33961 esac
33962 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33963 (eval "$ac_link") 2>conftest.er1
33964 ac_status=$?
33965 grep -v '^ *+' conftest.er1 >conftest.err
33966 rm -f conftest.er1
33967 cat conftest.err >&5
33968 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33969 (exit $ac_status); } && {
33970 test -z "$ac_c_werror_flag" ||
33971 test ! -s conftest.err
33972 } && test -s conftest$ac_exeext &&
33973 $as_test_x conftest$ac_exeext; then
33974 eval "$as_ac_var=yes"
33975 else
33976 echo "$as_me: failed program was:" >&5
33977 sed 's/^/| /' conftest.$ac_ext >&5
33978
33979 eval "$as_ac_var=no"
33980 fi
33981
33982 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33983 conftest$ac_exeext conftest.$ac_ext
33984 fi
33985 ac_res=`eval echo '${'$as_ac_var'}'`
33986 { echo "$as_me:$LINENO: result: $ac_res" >&5
33987 echo "${ECHO_T}$ac_res" >&6; }
33988 if test `eval echo '${'$as_ac_var'}'` = yes; then
33989 cat >>confdefs.h <<_ACEOF
33990 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33991 _ACEOF
33992 WCSLEN_FOUND=1
33993 fi
33994 done
33995
33996
33997 if test "$WCSLEN_FOUND" = 0; then
33998 if test "$TOOLKIT" = "MSW"; then
33999 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
34000 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
34001 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
34002 echo $ECHO_N "(cached) $ECHO_C" >&6
34003 else
34004 ac_check_lib_save_LIBS=$LIBS
34005 LIBS="-lmsvcrt $LIBS"
34006 cat >conftest.$ac_ext <<_ACEOF
34007 /* confdefs.h. */
34008 _ACEOF
34009 cat confdefs.h >>conftest.$ac_ext
34010 cat >>conftest.$ac_ext <<_ACEOF
34011 /* end confdefs.h. */
34012
34013 /* Override any GCC internal prototype to avoid an error.
34014 Use char because int might match the return type of a GCC
34015 builtin and then its argument prototype would still apply. */
34016 #ifdef __cplusplus
34017 extern "C"
34018 #endif
34019 char wcslen ();
34020 int
34021 main ()
34022 {
34023 return wcslen ();
34024 ;
34025 return 0;
34026 }
34027 _ACEOF
34028 rm -f conftest.$ac_objext conftest$ac_exeext
34029 if { (ac_try="$ac_link"
34030 case "(($ac_try" in
34031 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34032 *) ac_try_echo=$ac_try;;
34033 esac
34034 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34035 (eval "$ac_link") 2>conftest.er1
34036 ac_status=$?
34037 grep -v '^ *+' conftest.er1 >conftest.err
34038 rm -f conftest.er1
34039 cat conftest.err >&5
34040 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34041 (exit $ac_status); } && {
34042 test -z "$ac_c_werror_flag" ||
34043 test ! -s conftest.err
34044 } && test -s conftest$ac_exeext &&
34045 $as_test_x conftest$ac_exeext; then
34046 ac_cv_lib_msvcrt_wcslen=yes
34047 else
34048 echo "$as_me: failed program was:" >&5
34049 sed 's/^/| /' conftest.$ac_ext >&5
34050
34051 ac_cv_lib_msvcrt_wcslen=no
34052 fi
34053
34054 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34055 conftest$ac_exeext conftest.$ac_ext
34056 LIBS=$ac_check_lib_save_LIBS
34057 fi
34058 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
34059 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
34060 if test $ac_cv_lib_msvcrt_wcslen = yes; then
34061 WCHAR_OK=1
34062 fi
34063
34064 else
34065 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
34066 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
34067 if test "${ac_cv_lib_w_wcslen+set}" = set; then
34068 echo $ECHO_N "(cached) $ECHO_C" >&6
34069 else
34070 ac_check_lib_save_LIBS=$LIBS
34071 LIBS="-lw $LIBS"
34072 cat >conftest.$ac_ext <<_ACEOF
34073 /* confdefs.h. */
34074 _ACEOF
34075 cat confdefs.h >>conftest.$ac_ext
34076 cat >>conftest.$ac_ext <<_ACEOF
34077 /* end confdefs.h. */
34078
34079 /* Override any GCC internal prototype to avoid an error.
34080 Use char because int might match the return type of a GCC
34081 builtin and then its argument prototype would still apply. */
34082 #ifdef __cplusplus
34083 extern "C"
34084 #endif
34085 char wcslen ();
34086 int
34087 main ()
34088 {
34089 return wcslen ();
34090 ;
34091 return 0;
34092 }
34093 _ACEOF
34094 rm -f conftest.$ac_objext conftest$ac_exeext
34095 if { (ac_try="$ac_link"
34096 case "(($ac_try" in
34097 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34098 *) ac_try_echo=$ac_try;;
34099 esac
34100 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34101 (eval "$ac_link") 2>conftest.er1
34102 ac_status=$?
34103 grep -v '^ *+' conftest.er1 >conftest.err
34104 rm -f conftest.er1
34105 cat conftest.err >&5
34106 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34107 (exit $ac_status); } && {
34108 test -z "$ac_c_werror_flag" ||
34109 test ! -s conftest.err
34110 } && test -s conftest$ac_exeext &&
34111 $as_test_x conftest$ac_exeext; then
34112 ac_cv_lib_w_wcslen=yes
34113 else
34114 echo "$as_me: failed program was:" >&5
34115 sed 's/^/| /' conftest.$ac_ext >&5
34116
34117 ac_cv_lib_w_wcslen=no
34118 fi
34119
34120 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34121 conftest$ac_exeext conftest.$ac_ext
34122 LIBS=$ac_check_lib_save_LIBS
34123 fi
34124 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
34125 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
34126 if test $ac_cv_lib_w_wcslen = yes; then
34127
34128 WCHAR_LINK=" -lw"
34129 WCSLEN_FOUND=1
34130
34131 fi
34132
34133 fi
34134 fi
34135
34136 if test "$WCSLEN_FOUND" = 1; then
34137 cat >>confdefs.h <<\_ACEOF
34138 #define HAVE_WCSLEN 1
34139 _ACEOF
34140
34141 fi
34142
34143 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
34144 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
34145 fi
34146
34147 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
34148 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
34149 if test "${ac_cv_type_mbstate_t+set}" = set; then
34150 echo $ECHO_N "(cached) $ECHO_C" >&6
34151 else
34152 cat >conftest.$ac_ext <<_ACEOF
34153 /* confdefs.h. */
34154 _ACEOF
34155 cat confdefs.h >>conftest.$ac_ext
34156 cat >>conftest.$ac_ext <<_ACEOF
34157 /* end confdefs.h. */
34158 #include <wchar.h>
34159
34160 typedef mbstate_t ac__type_new_;
34161 int
34162 main ()
34163 {
34164 if ((ac__type_new_ *) 0)
34165 return 0;
34166 if (sizeof (ac__type_new_))
34167 return 0;
34168 ;
34169 return 0;
34170 }
34171 _ACEOF
34172 rm -f conftest.$ac_objext
34173 if { (ac_try="$ac_compile"
34174 case "(($ac_try" in
34175 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34176 *) ac_try_echo=$ac_try;;
34177 esac
34178 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34179 (eval "$ac_compile") 2>conftest.er1
34180 ac_status=$?
34181 grep -v '^ *+' conftest.er1 >conftest.err
34182 rm -f conftest.er1
34183 cat conftest.err >&5
34184 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34185 (exit $ac_status); } && {
34186 test -z "$ac_c_werror_flag" ||
34187 test ! -s conftest.err
34188 } && test -s conftest.$ac_objext; then
34189 ac_cv_type_mbstate_t=yes
34190 else
34191 echo "$as_me: failed program was:" >&5
34192 sed 's/^/| /' conftest.$ac_ext >&5
34193
34194 ac_cv_type_mbstate_t=no
34195 fi
34196
34197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34198 fi
34199 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
34200 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
34201 if test $ac_cv_type_mbstate_t = yes; then
34202
34203 cat >>confdefs.h <<_ACEOF
34204 #define HAVE_MBSTATE_T 1
34205 _ACEOF
34206
34207
34208 for ac_func in wcsrtombs
34209 do
34210 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34211 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34212 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34213 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34214 echo $ECHO_N "(cached) $ECHO_C" >&6
34215 else
34216 cat >conftest.$ac_ext <<_ACEOF
34217 /* confdefs.h. */
34218 _ACEOF
34219 cat confdefs.h >>conftest.$ac_ext
34220 cat >>conftest.$ac_ext <<_ACEOF
34221 /* end confdefs.h. */
34222 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34223 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34224 #define $ac_func innocuous_$ac_func
34225
34226 /* System header to define __stub macros and hopefully few prototypes,
34227 which can conflict with char $ac_func (); below.
34228 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34229 <limits.h> exists even on freestanding compilers. */
34230
34231 #ifdef __STDC__
34232 # include <limits.h>
34233 #else
34234 # include <assert.h>
34235 #endif
34236
34237 #undef $ac_func
34238
34239 /* Override any GCC internal prototype to avoid an error.
34240 Use char because int might match the return type of a GCC
34241 builtin and then its argument prototype would still apply. */
34242 #ifdef __cplusplus
34243 extern "C"
34244 #endif
34245 char $ac_func ();
34246 /* The GNU C library defines this for functions which it implements
34247 to always fail with ENOSYS. Some functions are actually named
34248 something starting with __ and the normal name is an alias. */
34249 #if defined __stub_$ac_func || defined __stub___$ac_func
34250 choke me
34251 #endif
34252
34253 int
34254 main ()
34255 {
34256 return $ac_func ();
34257 ;
34258 return 0;
34259 }
34260 _ACEOF
34261 rm -f conftest.$ac_objext conftest$ac_exeext
34262 if { (ac_try="$ac_link"
34263 case "(($ac_try" in
34264 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34265 *) ac_try_echo=$ac_try;;
34266 esac
34267 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34268 (eval "$ac_link") 2>conftest.er1
34269 ac_status=$?
34270 grep -v '^ *+' conftest.er1 >conftest.err
34271 rm -f conftest.er1
34272 cat conftest.err >&5
34273 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34274 (exit $ac_status); } && {
34275 test -z "$ac_c_werror_flag" ||
34276 test ! -s conftest.err
34277 } && test -s conftest$ac_exeext &&
34278 $as_test_x conftest$ac_exeext; then
34279 eval "$as_ac_var=yes"
34280 else
34281 echo "$as_me: failed program was:" >&5
34282 sed 's/^/| /' conftest.$ac_ext >&5
34283
34284 eval "$as_ac_var=no"
34285 fi
34286
34287 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34288 conftest$ac_exeext conftest.$ac_ext
34289 fi
34290 ac_res=`eval echo '${'$as_ac_var'}'`
34291 { echo "$as_me:$LINENO: result: $ac_res" >&5
34292 echo "${ECHO_T}$ac_res" >&6; }
34293 if test `eval echo '${'$as_ac_var'}'` = yes; then
34294 cat >>confdefs.h <<_ACEOF
34295 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34296 _ACEOF
34297
34298 fi
34299 done
34300
34301 fi
34302
34303 else
34304 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
34305 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
34306 fi
34307
34308
34309
34310 for ac_func in snprintf vsnprintf
34311 do
34312 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34313 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34314 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34315 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34316 echo $ECHO_N "(cached) $ECHO_C" >&6
34317 else
34318 cat >conftest.$ac_ext <<_ACEOF
34319 /* confdefs.h. */
34320 _ACEOF
34321 cat confdefs.h >>conftest.$ac_ext
34322 cat >>conftest.$ac_ext <<_ACEOF
34323 /* end confdefs.h. */
34324 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34325 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34326 #define $ac_func innocuous_$ac_func
34327
34328 /* System header to define __stub macros and hopefully few prototypes,
34329 which can conflict with char $ac_func (); below.
34330 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34331 <limits.h> exists even on freestanding compilers. */
34332
34333 #ifdef __STDC__
34334 # include <limits.h>
34335 #else
34336 # include <assert.h>
34337 #endif
34338
34339 #undef $ac_func
34340
34341 /* Override any GCC internal prototype to avoid an error.
34342 Use char because int might match the return type of a GCC
34343 builtin and then its argument prototype would still apply. */
34344 #ifdef __cplusplus
34345 extern "C"
34346 #endif
34347 char $ac_func ();
34348 /* The GNU C library defines this for functions which it implements
34349 to always fail with ENOSYS. Some functions are actually named
34350 something starting with __ and the normal name is an alias. */
34351 #if defined __stub_$ac_func || defined __stub___$ac_func
34352 choke me
34353 #endif
34354
34355 int
34356 main ()
34357 {
34358 return $ac_func ();
34359 ;
34360 return 0;
34361 }
34362 _ACEOF
34363 rm -f conftest.$ac_objext conftest$ac_exeext
34364 if { (ac_try="$ac_link"
34365 case "(($ac_try" in
34366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34367 *) ac_try_echo=$ac_try;;
34368 esac
34369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34370 (eval "$ac_link") 2>conftest.er1
34371 ac_status=$?
34372 grep -v '^ *+' conftest.er1 >conftest.err
34373 rm -f conftest.er1
34374 cat conftest.err >&5
34375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34376 (exit $ac_status); } && {
34377 test -z "$ac_c_werror_flag" ||
34378 test ! -s conftest.err
34379 } && test -s conftest$ac_exeext &&
34380 $as_test_x conftest$ac_exeext; then
34381 eval "$as_ac_var=yes"
34382 else
34383 echo "$as_me: failed program was:" >&5
34384 sed 's/^/| /' conftest.$ac_ext >&5
34385
34386 eval "$as_ac_var=no"
34387 fi
34388
34389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34390 conftest$ac_exeext conftest.$ac_ext
34391 fi
34392 ac_res=`eval echo '${'$as_ac_var'}'`
34393 { echo "$as_me:$LINENO: result: $ac_res" >&5
34394 echo "${ECHO_T}$ac_res" >&6; }
34395 if test `eval echo '${'$as_ac_var'}'` = yes; then
34396 cat >>confdefs.h <<_ACEOF
34397 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34398 _ACEOF
34399
34400 fi
34401 done
34402
34403
34404 if test "$ac_cv_func_vsnprintf" = "yes"; then
34405 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34406 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34407 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34408 echo $ECHO_N "(cached) $ECHO_C" >&6
34409 else
34410
34411 cat >conftest.$ac_ext <<_ACEOF
34412 /* confdefs.h. */
34413 _ACEOF
34414 cat confdefs.h >>conftest.$ac_ext
34415 cat >>conftest.$ac_ext <<_ACEOF
34416 /* end confdefs.h. */
34417
34418 #include <stdio.h>
34419 #include <stdarg.h>
34420 #ifdef __MSL__
34421 #if __MSL__ >= 0x6000
34422 namespace std {}
34423 using namespace std;
34424 #endif
34425 #endif
34426
34427 int
34428 main ()
34429 {
34430
34431 char *buf;
34432 va_list ap;
34433 vsnprintf(buf, 10u, "%s", ap);
34434
34435 ;
34436 return 0;
34437 }
34438 _ACEOF
34439 rm -f conftest.$ac_objext
34440 if { (ac_try="$ac_compile"
34441 case "(($ac_try" in
34442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34443 *) ac_try_echo=$ac_try;;
34444 esac
34445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34446 (eval "$ac_compile") 2>conftest.er1
34447 ac_status=$?
34448 grep -v '^ *+' conftest.er1 >conftest.err
34449 rm -f conftest.er1
34450 cat conftest.err >&5
34451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34452 (exit $ac_status); } && {
34453 test -z "$ac_c_werror_flag" ||
34454 test ! -s conftest.err
34455 } && test -s conftest.$ac_objext; then
34456 wx_cv_func_vsnprintf_decl=yes
34457 else
34458 echo "$as_me: failed program was:" >&5
34459 sed 's/^/| /' conftest.$ac_ext >&5
34460
34461 wx_cv_func_vsnprintf_decl=no
34462
34463 fi
34464
34465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34466
34467
34468 fi
34469 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34470 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34471
34472 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34473 cat >>confdefs.h <<\_ACEOF
34474 #define HAVE_VSNPRINTF_DECL 1
34475 _ACEOF
34476
34477
34478 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34479 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34480 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34481 echo $ECHO_N "(cached) $ECHO_C" >&6
34482 else
34483
34484 cat >conftest.$ac_ext <<_ACEOF
34485 /* confdefs.h. */
34486 _ACEOF
34487 cat confdefs.h >>conftest.$ac_ext
34488 cat >>conftest.$ac_ext <<_ACEOF
34489 /* end confdefs.h. */
34490
34491 #include <stdio.h>
34492 #include <stdarg.h>
34493 #ifdef __MSL__
34494 #if __MSL__ >= 0x6000
34495 namespace std {}
34496 using namespace std;
34497 #endif
34498 #endif
34499
34500 int
34501 main ()
34502 {
34503
34504 char *buf;
34505 va_list ap;
34506 const char *fmt = "%s";
34507 vsnprintf(buf, 10u, fmt, ap);
34508
34509 ;
34510 return 0;
34511 }
34512 _ACEOF
34513 rm -f conftest.$ac_objext
34514 if { (ac_try="$ac_compile"
34515 case "(($ac_try" in
34516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34517 *) ac_try_echo=$ac_try;;
34518 esac
34519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34520 (eval "$ac_compile") 2>conftest.er1
34521 ac_status=$?
34522 grep -v '^ *+' conftest.er1 >conftest.err
34523 rm -f conftest.er1
34524 cat conftest.err >&5
34525 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34526 (exit $ac_status); } && {
34527 test -z "$ac_c_werror_flag" ||
34528 test ! -s conftest.err
34529 } && test -s conftest.$ac_objext; then
34530 wx_cv_func_broken_vsnprintf_decl=no
34531 else
34532 echo "$as_me: failed program was:" >&5
34533 sed 's/^/| /' conftest.$ac_ext >&5
34534
34535 wx_cv_func_broken_vsnprintf_decl=yes
34536
34537 fi
34538
34539 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34540
34541
34542 fi
34543 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34544 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34545
34546 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34547 cat >>confdefs.h <<\_ACEOF
34548 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34549 _ACEOF
34550
34551 fi
34552 fi
34553 fi
34554
34555 if test "$ac_cv_func_snprintf" = "yes"; then
34556 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34557 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34558 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34559 echo $ECHO_N "(cached) $ECHO_C" >&6
34560 else
34561
34562 cat >conftest.$ac_ext <<_ACEOF
34563 /* confdefs.h. */
34564 _ACEOF
34565 cat confdefs.h >>conftest.$ac_ext
34566 cat >>conftest.$ac_ext <<_ACEOF
34567 /* end confdefs.h. */
34568
34569 #include <stdio.h>
34570 #include <stdarg.h>
34571 #ifdef __MSL__
34572 #if __MSL__ >= 0x6000
34573 namespace std {}
34574 using namespace std;
34575 #endif
34576 #endif
34577
34578 int
34579 main ()
34580 {
34581
34582 char *buf;
34583 snprintf(buf, 10u, "%s", "wx");
34584
34585 ;
34586 return 0;
34587 }
34588 _ACEOF
34589 rm -f conftest.$ac_objext
34590 if { (ac_try="$ac_compile"
34591 case "(($ac_try" in
34592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34593 *) ac_try_echo=$ac_try;;
34594 esac
34595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34596 (eval "$ac_compile") 2>conftest.er1
34597 ac_status=$?
34598 grep -v '^ *+' conftest.er1 >conftest.err
34599 rm -f conftest.er1
34600 cat conftest.err >&5
34601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34602 (exit $ac_status); } && {
34603 test -z "$ac_c_werror_flag" ||
34604 test ! -s conftest.err
34605 } && test -s conftest.$ac_objext; then
34606 wx_cv_func_snprintf_decl=yes
34607 else
34608 echo "$as_me: failed program was:" >&5
34609 sed 's/^/| /' conftest.$ac_ext >&5
34610
34611 wx_cv_func_snprintf_decl=no
34612
34613 fi
34614
34615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34616
34617
34618 fi
34619 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34620 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34621
34622 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34623 cat >>confdefs.h <<\_ACEOF
34624 #define HAVE_SNPRINTF_DECL 1
34625 _ACEOF
34626
34627
34628 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34629 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34630 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34631 echo $ECHO_N "(cached) $ECHO_C" >&6
34632 else
34633
34634 cat >conftest.$ac_ext <<_ACEOF
34635 /* confdefs.h. */
34636 _ACEOF
34637 cat confdefs.h >>conftest.$ac_ext
34638 cat >>conftest.$ac_ext <<_ACEOF
34639 /* end confdefs.h. */
34640
34641 #include <stdio.h>
34642 #include <stdarg.h>
34643 #ifdef __MSL__
34644 #if __MSL__ >= 0x6000
34645 namespace std {}
34646 using namespace std;
34647 #endif
34648 #endif
34649
34650 int
34651 main ()
34652 {
34653
34654 char *buf;
34655 const char *fmt = "%s";
34656 snprintf(buf, 10u, fmt, "wx");
34657
34658 ;
34659 return 0;
34660 }
34661 _ACEOF
34662 rm -f conftest.$ac_objext
34663 if { (ac_try="$ac_compile"
34664 case "(($ac_try" in
34665 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34666 *) ac_try_echo=$ac_try;;
34667 esac
34668 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34669 (eval "$ac_compile") 2>conftest.er1
34670 ac_status=$?
34671 grep -v '^ *+' conftest.er1 >conftest.err
34672 rm -f conftest.er1
34673 cat conftest.err >&5
34674 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34675 (exit $ac_status); } && {
34676 test -z "$ac_c_werror_flag" ||
34677 test ! -s conftest.err
34678 } && test -s conftest.$ac_objext; then
34679 wx_cv_func_broken_snprintf_decl=no
34680 else
34681 echo "$as_me: failed program was:" >&5
34682 sed 's/^/| /' conftest.$ac_ext >&5
34683
34684 wx_cv_func_broken_snprintf_decl=yes
34685
34686 fi
34687
34688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34689
34690
34691 fi
34692 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34693 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34694
34695 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34696 cat >>confdefs.h <<\_ACEOF
34697 #define HAVE_BROKEN_SNPRINTF_DECL 1
34698 _ACEOF
34699
34700 fi
34701 fi
34702
34703 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34704
34705 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34706 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34707 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34708 echo $ECHO_N "(cached) $ECHO_C" >&6
34709 else
34710
34711 if test "$cross_compiling" = yes; then
34712
34713 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34714 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34715 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34716 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34717 wx_cv_func_snprintf_pos_params=no
34718
34719
34720 else
34721 cat >conftest.$ac_ext <<_ACEOF
34722 /* confdefs.h. */
34723 _ACEOF
34724 cat confdefs.h >>conftest.$ac_ext
34725 cat >>conftest.$ac_ext <<_ACEOF
34726 /* end confdefs.h. */
34727
34728 #include <stdio.h>
34729
34730 int main (void)
34731 {
34732 char buffer[128];
34733 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34734 if (strcmp ("2 3 1", buffer) == 0)
34735 exit (0);
34736 exit (1);
34737 }
34738
34739 _ACEOF
34740 rm -f conftest$ac_exeext
34741 if { (ac_try="$ac_link"
34742 case "(($ac_try" in
34743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34744 *) ac_try_echo=$ac_try;;
34745 esac
34746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34747 (eval "$ac_link") 2>&5
34748 ac_status=$?
34749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34750 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34751 { (case "(($ac_try" in
34752 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34753 *) ac_try_echo=$ac_try;;
34754 esac
34755 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34756 (eval "$ac_try") 2>&5
34757 ac_status=$?
34758 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34759 (exit $ac_status); }; }; then
34760 wx_cv_func_snprintf_pos_params=no
34761 else
34762 echo "$as_me: program exited with status $ac_status" >&5
34763 echo "$as_me: failed program was:" >&5
34764 sed 's/^/| /' conftest.$ac_ext >&5
34765
34766 ( exit $ac_status )
34767 wx_cv_func_snprintf_pos_params=yes
34768 fi
34769 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34770 fi
34771
34772
34773
34774
34775 fi
34776 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34777 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34778
34779 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34780 cat >>confdefs.h <<\_ACEOF
34781 #define HAVE_UNIX98_PRINTF 1
34782 _ACEOF
34783
34784 fi
34785 fi
34786 fi
34787
34788 if test "$wxUSE_UNICODE" = yes; then
34789
34790
34791 for ac_func in swprintf
34792 do
34793 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34794 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34795 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34796 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34797 echo $ECHO_N "(cached) $ECHO_C" >&6
34798 else
34799 cat >conftest.$ac_ext <<_ACEOF
34800 /* confdefs.h. */
34801 _ACEOF
34802 cat confdefs.h >>conftest.$ac_ext
34803 cat >>conftest.$ac_ext <<_ACEOF
34804 /* end confdefs.h. */
34805 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34806 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34807 #define $ac_func innocuous_$ac_func
34808
34809 /* System header to define __stub macros and hopefully few prototypes,
34810 which can conflict with char $ac_func (); below.
34811 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34812 <limits.h> exists even on freestanding compilers. */
34813
34814 #ifdef __STDC__
34815 # include <limits.h>
34816 #else
34817 # include <assert.h>
34818 #endif
34819
34820 #undef $ac_func
34821
34822 /* Override any GCC internal prototype to avoid an error.
34823 Use char because int might match the return type of a GCC
34824 builtin and then its argument prototype would still apply. */
34825 #ifdef __cplusplus
34826 extern "C"
34827 #endif
34828 char $ac_func ();
34829 /* The GNU C library defines this for functions which it implements
34830 to always fail with ENOSYS. Some functions are actually named
34831 something starting with __ and the normal name is an alias. */
34832 #if defined __stub_$ac_func || defined __stub___$ac_func
34833 choke me
34834 #endif
34835
34836 int
34837 main ()
34838 {
34839 return $ac_func ();
34840 ;
34841 return 0;
34842 }
34843 _ACEOF
34844 rm -f conftest.$ac_objext conftest$ac_exeext
34845 if { (ac_try="$ac_link"
34846 case "(($ac_try" in
34847 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34848 *) ac_try_echo=$ac_try;;
34849 esac
34850 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34851 (eval "$ac_link") 2>conftest.er1
34852 ac_status=$?
34853 grep -v '^ *+' conftest.er1 >conftest.err
34854 rm -f conftest.er1
34855 cat conftest.err >&5
34856 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34857 (exit $ac_status); } && {
34858 test -z "$ac_c_werror_flag" ||
34859 test ! -s conftest.err
34860 } && test -s conftest$ac_exeext &&
34861 $as_test_x conftest$ac_exeext; then
34862 eval "$as_ac_var=yes"
34863 else
34864 echo "$as_me: failed program was:" >&5
34865 sed 's/^/| /' conftest.$ac_ext >&5
34866
34867 eval "$as_ac_var=no"
34868 fi
34869
34870 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34871 conftest$ac_exeext conftest.$ac_ext
34872 fi
34873 ac_res=`eval echo '${'$as_ac_var'}'`
34874 { echo "$as_me:$LINENO: result: $ac_res" >&5
34875 echo "${ECHO_T}$ac_res" >&6; }
34876 if test `eval echo '${'$as_ac_var'}'` = yes; then
34877 cat >>confdefs.h <<_ACEOF
34878 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34879 _ACEOF
34880
34881 fi
34882 done
34883
34884
34885 if test "$ac_cv_func_swprintf" = "yes"; then
34886 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34887 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34888 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34889 echo $ECHO_N "(cached) $ECHO_C" >&6
34890 else
34891
34892 cat >conftest.$ac_ext <<_ACEOF
34893 /* confdefs.h. */
34894 _ACEOF
34895 cat confdefs.h >>conftest.$ac_ext
34896 cat >>conftest.$ac_ext <<_ACEOF
34897 /* end confdefs.h. */
34898
34899 #include <stdio.h>
34900 #include <stdarg.h>
34901 #include <wchar.h>
34902
34903 int
34904 main ()
34905 {
34906
34907 wchar_t *buf;
34908 const wchar_t *fmt = L"test";
34909 swprintf(buf, 10u, fmt);
34910
34911 ;
34912 return 0;
34913 }
34914 _ACEOF
34915 rm -f conftest.$ac_objext
34916 if { (ac_try="$ac_compile"
34917 case "(($ac_try" in
34918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34919 *) ac_try_echo=$ac_try;;
34920 esac
34921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34922 (eval "$ac_compile") 2>conftest.er1
34923 ac_status=$?
34924 grep -v '^ *+' conftest.er1 >conftest.err
34925 rm -f conftest.er1
34926 cat conftest.err >&5
34927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34928 (exit $ac_status); } && {
34929 test -z "$ac_c_werror_flag" ||
34930 test ! -s conftest.err
34931 } && test -s conftest.$ac_objext; then
34932 wx_cv_func_broken_swprintf_decl=no
34933 else
34934 echo "$as_me: failed program was:" >&5
34935 sed 's/^/| /' conftest.$ac_ext >&5
34936
34937 wx_cv_func_broken_swprintf_decl=yes
34938
34939 fi
34940
34941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34942
34943
34944 fi
34945 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34946 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34947
34948 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34949 cat >>confdefs.h <<\_ACEOF
34950 #define HAVE_BROKEN_SWPRINTF_DECL 1
34951 _ACEOF
34952
34953 fi
34954 fi
34955
34956 wchar_headers="#include <stdio.h>
34957 #include <wchar.h>"
34958 case "${host}" in
34959 *-*-solaris2* )
34960 { echo "$as_me:$LINENO: checking for widec.h" >&5
34961 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34962 if test "${ac_cv_header_widec_h+set}" = set; then
34963 echo $ECHO_N "(cached) $ECHO_C" >&6
34964 else
34965 cat >conftest.$ac_ext <<_ACEOF
34966 /* confdefs.h. */
34967 _ACEOF
34968 cat confdefs.h >>conftest.$ac_ext
34969 cat >>conftest.$ac_ext <<_ACEOF
34970 /* end confdefs.h. */
34971 $ac_includes_default
34972
34973 #include <widec.h>
34974 _ACEOF
34975 rm -f conftest.$ac_objext
34976 if { (ac_try="$ac_compile"
34977 case "(($ac_try" in
34978 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34979 *) ac_try_echo=$ac_try;;
34980 esac
34981 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34982 (eval "$ac_compile") 2>conftest.er1
34983 ac_status=$?
34984 grep -v '^ *+' conftest.er1 >conftest.err
34985 rm -f conftest.er1
34986 cat conftest.err >&5
34987 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34988 (exit $ac_status); } && {
34989 test -z "$ac_c_werror_flag" ||
34990 test ! -s conftest.err
34991 } && test -s conftest.$ac_objext; then
34992 ac_cv_header_widec_h=yes
34993 else
34994 echo "$as_me: failed program was:" >&5
34995 sed 's/^/| /' conftest.$ac_ext >&5
34996
34997 ac_cv_header_widec_h=no
34998 fi
34999
35000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35001 fi
35002 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
35003 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
35004
35005
35006 if test "$ac_cv_header_widec_h" = "yes"; then
35007 wchar_headers="$wchar_headers
35008 #include <widec.h>"
35009 fi
35010 esac
35011
35012
35013 for wx_func in wputc wputchar putws fputws wprintf vswprintf
35014 do
35015 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35016 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35017 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35018 echo $ECHO_N "(cached) $ECHO_C" >&6
35019 else
35020
35021 cat >conftest.$ac_ext <<_ACEOF
35022
35023 /* confdefs.h. */
35024 _ACEOF
35025 cat confdefs.h >>conftest.$ac_ext
35026 cat >>conftest.$ac_ext <<_ACEOF
35027 /* end confdefs.h. */
35028
35029 $wchar_headers
35030 $ac_includes_default
35031
35032 int
35033 main ()
35034 {
35035
35036 #ifndef $wx_func
35037 &$wx_func;
35038 #endif
35039
35040
35041 ;
35042 return 0;
35043 }
35044
35045 _ACEOF
35046 rm -f conftest.$ac_objext conftest$ac_exeext
35047 if { (ac_try="$ac_link"
35048 case "(($ac_try" in
35049 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35050 *) ac_try_echo=$ac_try;;
35051 esac
35052 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35053 (eval "$ac_link") 2>conftest.er1
35054 ac_status=$?
35055 grep -v '^ *+' conftest.er1 >conftest.err
35056 rm -f conftest.er1
35057 cat conftest.err >&5
35058 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35059 (exit $ac_status); } && {
35060 test -z "$ac_c_werror_flag" ||
35061 test ! -s conftest.err
35062 } && test -s conftest$ac_exeext &&
35063 $as_test_x conftest$ac_exeext; then
35064 eval wx_cv_func_$wx_func=yes
35065 else
35066 echo "$as_me: failed program was:" >&5
35067 sed 's/^/| /' conftest.$ac_ext >&5
35068
35069 eval wx_cv_func_$wx_func=no
35070 fi
35071
35072 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35073 conftest$ac_exeext conftest.$ac_ext
35074
35075 fi
35076 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35077 { echo "$as_me:$LINENO: result: $ac_res" >&5
35078 echo "${ECHO_T}$ac_res" >&6; }
35079
35080 if eval test \$wx_cv_func_$wx_func = yes
35081 then
35082 cat >>confdefs.h <<_ACEOF
35083 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35084 _ACEOF
35085
35086
35087 else
35088 :
35089
35090 fi
35091 done
35092
35093
35094 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
35095 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
35096 cat >conftest.$ac_ext <<_ACEOF
35097 /* confdefs.h. */
35098 _ACEOF
35099 cat confdefs.h >>conftest.$ac_ext
35100 cat >>conftest.$ac_ext <<_ACEOF
35101 /* end confdefs.h. */
35102 #include <wchar.h>
35103 int
35104 main ()
35105 {
35106 &_vsnwprintf;
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 { echo "$as_me:$LINENO: result: yes" >&5
35129 echo "${ECHO_T}yes" >&6; }
35130 cat >>confdefs.h <<\_ACEOF
35131 #define HAVE__VSNWPRINTF 1
35132 _ACEOF
35133
35134 else
35135 echo "$as_me: failed program was:" >&5
35136 sed 's/^/| /' conftest.$ac_ext >&5
35137
35138 { echo "$as_me:$LINENO: result: no" >&5
35139 echo "${ECHO_T}no" >&6; }
35140 fi
35141
35142 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
35143 fi
35144
35145 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
35146
35147 for wx_func in fnmatch
35148 do
35149 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35150 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35151 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35152 echo $ECHO_N "(cached) $ECHO_C" >&6
35153 else
35154
35155 cat >conftest.$ac_ext <<_ACEOF
35156
35157 /* confdefs.h. */
35158 _ACEOF
35159 cat confdefs.h >>conftest.$ac_ext
35160 cat >>conftest.$ac_ext <<_ACEOF
35161 /* end confdefs.h. */
35162
35163 #include <fnmatch.h>
35164 $ac_includes_default
35165
35166 int
35167 main ()
35168 {
35169
35170 #ifndef $wx_func
35171 &$wx_func;
35172 #endif
35173
35174
35175 ;
35176 return 0;
35177 }
35178
35179 _ACEOF
35180 rm -f conftest.$ac_objext conftest$ac_exeext
35181 if { (ac_try="$ac_link"
35182 case "(($ac_try" in
35183 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35184 *) ac_try_echo=$ac_try;;
35185 esac
35186 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35187 (eval "$ac_link") 2>conftest.er1
35188 ac_status=$?
35189 grep -v '^ *+' conftest.er1 >conftest.err
35190 rm -f conftest.er1
35191 cat conftest.err >&5
35192 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35193 (exit $ac_status); } && {
35194 test -z "$ac_c_werror_flag" ||
35195 test ! -s conftest.err
35196 } && test -s conftest$ac_exeext &&
35197 $as_test_x conftest$ac_exeext; then
35198 eval wx_cv_func_$wx_func=yes
35199 else
35200 echo "$as_me: failed program was:" >&5
35201 sed 's/^/| /' conftest.$ac_ext >&5
35202
35203 eval wx_cv_func_$wx_func=no
35204 fi
35205
35206 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35207 conftest$ac_exeext conftest.$ac_ext
35208
35209 fi
35210 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35211 { echo "$as_me:$LINENO: result: $ac_res" >&5
35212 echo "${ECHO_T}$ac_res" >&6; }
35213
35214 if eval test \$wx_cv_func_$wx_func = yes
35215 then
35216 cat >>confdefs.h <<_ACEOF
35217 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35218 _ACEOF
35219
35220
35221 else
35222 :
35223
35224 fi
35225 done
35226
35227 fi
35228
35229 if test "$wxUSE_FILE" = "yes"; then
35230
35231 for wx_func in fsync
35232 do
35233 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35234 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35235 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35236 echo $ECHO_N "(cached) $ECHO_C" >&6
35237 else
35238
35239 cat >conftest.$ac_ext <<_ACEOF
35240
35241 /* confdefs.h. */
35242 _ACEOF
35243 cat confdefs.h >>conftest.$ac_ext
35244 cat >>conftest.$ac_ext <<_ACEOF
35245 /* end confdefs.h. */
35246
35247
35248 $ac_includes_default
35249
35250 int
35251 main ()
35252 {
35253
35254 #ifndef $wx_func
35255 &$wx_func;
35256 #endif
35257
35258
35259 ;
35260 return 0;
35261 }
35262
35263 _ACEOF
35264 rm -f conftest.$ac_objext conftest$ac_exeext
35265 if { (ac_try="$ac_link"
35266 case "(($ac_try" in
35267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35268 *) ac_try_echo=$ac_try;;
35269 esac
35270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35271 (eval "$ac_link") 2>conftest.er1
35272 ac_status=$?
35273 grep -v '^ *+' conftest.er1 >conftest.err
35274 rm -f conftest.er1
35275 cat conftest.err >&5
35276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35277 (exit $ac_status); } && {
35278 test -z "$ac_c_werror_flag" ||
35279 test ! -s conftest.err
35280 } && test -s conftest$ac_exeext &&
35281 $as_test_x conftest$ac_exeext; then
35282 eval wx_cv_func_$wx_func=yes
35283 else
35284 echo "$as_me: failed program was:" >&5
35285 sed 's/^/| /' conftest.$ac_ext >&5
35286
35287 eval wx_cv_func_$wx_func=no
35288 fi
35289
35290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35291 conftest$ac_exeext conftest.$ac_ext
35292
35293 fi
35294 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35295 { echo "$as_me:$LINENO: result: $ac_res" >&5
35296 echo "${ECHO_T}$ac_res" >&6; }
35297
35298 if eval test \$wx_cv_func_$wx_func = yes
35299 then
35300 cat >>confdefs.h <<_ACEOF
35301 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35302 _ACEOF
35303
35304
35305 else
35306 :
35307
35308 fi
35309 done
35310
35311 fi
35312
35313 ac_ext=cpp
35314 ac_cpp='$CXXCPP $CPPFLAGS'
35315 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35316 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35317 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35318
35319
35320 for wx_func in round
35321 do
35322 { echo "$as_me:$LINENO: checking for $wx_func" >&5
35323 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
35324 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
35325 echo $ECHO_N "(cached) $ECHO_C" >&6
35326 else
35327
35328 cat >conftest.$ac_ext <<_ACEOF
35329
35330 /* confdefs.h. */
35331 _ACEOF
35332 cat confdefs.h >>conftest.$ac_ext
35333 cat >>conftest.$ac_ext <<_ACEOF
35334 /* end confdefs.h. */
35335
35336 #include <math.h>
35337 $ac_includes_default
35338
35339 int
35340 main ()
35341 {
35342
35343 #ifndef $wx_func
35344 &$wx_func;
35345 #endif
35346
35347
35348 ;
35349 return 0;
35350 }
35351
35352 _ACEOF
35353 rm -f conftest.$ac_objext conftest$ac_exeext
35354 if { (ac_try="$ac_link"
35355 case "(($ac_try" in
35356 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35357 *) ac_try_echo=$ac_try;;
35358 esac
35359 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35360 (eval "$ac_link") 2>conftest.er1
35361 ac_status=$?
35362 grep -v '^ *+' conftest.er1 >conftest.err
35363 rm -f conftest.er1
35364 cat conftest.err >&5
35365 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35366 (exit $ac_status); } && {
35367 test -z "$ac_cxx_werror_flag" ||
35368 test ! -s conftest.err
35369 } && test -s conftest$ac_exeext &&
35370 $as_test_x conftest$ac_exeext; then
35371 eval wx_cv_func_$wx_func=yes
35372 else
35373 echo "$as_me: failed program was:" >&5
35374 sed 's/^/| /' conftest.$ac_ext >&5
35375
35376 eval wx_cv_func_$wx_func=no
35377 fi
35378
35379 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35380 conftest$ac_exeext conftest.$ac_ext
35381
35382 fi
35383 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35384 { echo "$as_me:$LINENO: result: $ac_res" >&5
35385 echo "${ECHO_T}$ac_res" >&6; }
35386
35387 if eval test \$wx_cv_func_$wx_func = yes
35388 then
35389 cat >>confdefs.h <<_ACEOF
35390 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35391 _ACEOF
35392
35393
35394 else
35395 :
35396
35397 fi
35398 done
35399
35400 ac_ext=c
35401 ac_cpp='$CPP $CPPFLAGS'
35402 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35403 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35404 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35405
35406
35407 if test "$TOOLKIT" != "MSW"; then
35408
35409
35410
35411
35412
35413 # Check whether --with-libiconv-prefix was given.
35414 if test "${with_libiconv_prefix+set}" = set; then
35415 withval=$with_libiconv_prefix;
35416 for dir in `echo "$withval" | tr : ' '`; do
35417 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35418 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35419 done
35420
35421 fi
35422
35423
35424 { echo "$as_me:$LINENO: checking for iconv" >&5
35425 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35426 if test "${am_cv_func_iconv+set}" = set; then
35427 echo $ECHO_N "(cached) $ECHO_C" >&6
35428 else
35429
35430 am_cv_func_iconv="no, consider installing GNU libiconv"
35431 am_cv_lib_iconv=no
35432 cat >conftest.$ac_ext <<_ACEOF
35433 /* confdefs.h. */
35434 _ACEOF
35435 cat confdefs.h >>conftest.$ac_ext
35436 cat >>conftest.$ac_ext <<_ACEOF
35437 /* end confdefs.h. */
35438 #include <stdlib.h>
35439 #include <iconv.h>
35440 int
35441 main ()
35442 {
35443 iconv_t cd = iconv_open("","");
35444 iconv(cd,NULL,NULL,NULL,NULL);
35445 iconv_close(cd);
35446 ;
35447 return 0;
35448 }
35449 _ACEOF
35450 rm -f conftest.$ac_objext conftest$ac_exeext
35451 if { (ac_try="$ac_link"
35452 case "(($ac_try" in
35453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35454 *) ac_try_echo=$ac_try;;
35455 esac
35456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35457 (eval "$ac_link") 2>conftest.er1
35458 ac_status=$?
35459 grep -v '^ *+' conftest.er1 >conftest.err
35460 rm -f conftest.er1
35461 cat conftest.err >&5
35462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35463 (exit $ac_status); } && {
35464 test -z "$ac_c_werror_flag" ||
35465 test ! -s conftest.err
35466 } && test -s conftest$ac_exeext &&
35467 $as_test_x conftest$ac_exeext; then
35468 am_cv_func_iconv=yes
35469 else
35470 echo "$as_me: failed program was:" >&5
35471 sed 's/^/| /' conftest.$ac_ext >&5
35472
35473
35474 fi
35475
35476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35477 conftest$ac_exeext conftest.$ac_ext
35478 if test "$am_cv_func_iconv" != yes; then
35479 am_save_LIBS="$LIBS"
35480 LIBS="$LIBS -liconv"
35481 cat >conftest.$ac_ext <<_ACEOF
35482 /* confdefs.h. */
35483 _ACEOF
35484 cat confdefs.h >>conftest.$ac_ext
35485 cat >>conftest.$ac_ext <<_ACEOF
35486 /* end confdefs.h. */
35487 #include <stdlib.h>
35488 #include <iconv.h>
35489 int
35490 main ()
35491 {
35492 iconv_t cd = iconv_open("","");
35493 iconv(cd,NULL,NULL,NULL,NULL);
35494 iconv_close(cd);
35495 ;
35496 return 0;
35497 }
35498 _ACEOF
35499 rm -f conftest.$ac_objext conftest$ac_exeext
35500 if { (ac_try="$ac_link"
35501 case "(($ac_try" in
35502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35503 *) ac_try_echo=$ac_try;;
35504 esac
35505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35506 (eval "$ac_link") 2>conftest.er1
35507 ac_status=$?
35508 grep -v '^ *+' conftest.er1 >conftest.err
35509 rm -f conftest.er1
35510 cat conftest.err >&5
35511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35512 (exit $ac_status); } && {
35513 test -z "$ac_c_werror_flag" ||
35514 test ! -s conftest.err
35515 } && test -s conftest$ac_exeext &&
35516 $as_test_x conftest$ac_exeext; then
35517 am_cv_lib_iconv=yes
35518 am_cv_func_iconv=yes
35519 else
35520 echo "$as_me: failed program was:" >&5
35521 sed 's/^/| /' conftest.$ac_ext >&5
35522
35523
35524 fi
35525
35526 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35527 conftest$ac_exeext conftest.$ac_ext
35528 LIBS="$am_save_LIBS"
35529 fi
35530
35531 fi
35532 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35533 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35534 if test "$am_cv_func_iconv" = yes; then
35535
35536 cat >>confdefs.h <<\_ACEOF
35537 #define HAVE_ICONV 1
35538 _ACEOF
35539
35540 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35541 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35542 if test "${wx_cv_func_iconv_const+set}" = set; then
35543 echo $ECHO_N "(cached) $ECHO_C" >&6
35544 else
35545 cat >conftest.$ac_ext <<_ACEOF
35546 /* confdefs.h. */
35547 _ACEOF
35548 cat confdefs.h >>conftest.$ac_ext
35549 cat >>conftest.$ac_ext <<_ACEOF
35550 /* end confdefs.h. */
35551
35552 #include <stdlib.h>
35553 #include <iconv.h>
35554 extern
35555 #ifdef __cplusplus
35556 "C"
35557 #endif
35558 #if defined(__STDC__) || defined(__cplusplus)
35559 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35560 #else
35561 size_t iconv();
35562 #endif
35563
35564 int
35565 main ()
35566 {
35567
35568 ;
35569 return 0;
35570 }
35571 _ACEOF
35572 rm -f conftest.$ac_objext
35573 if { (ac_try="$ac_compile"
35574 case "(($ac_try" in
35575 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35576 *) ac_try_echo=$ac_try;;
35577 esac
35578 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35579 (eval "$ac_compile") 2>conftest.er1
35580 ac_status=$?
35581 grep -v '^ *+' conftest.er1 >conftest.err
35582 rm -f conftest.er1
35583 cat conftest.err >&5
35584 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35585 (exit $ac_status); } && {
35586 test -z "$ac_c_werror_flag" ||
35587 test ! -s conftest.err
35588 } && test -s conftest.$ac_objext; then
35589 wx_cv_func_iconv_const="no"
35590 else
35591 echo "$as_me: failed program was:" >&5
35592 sed 's/^/| /' conftest.$ac_ext >&5
35593
35594 wx_cv_func_iconv_const="yes"
35595
35596 fi
35597
35598 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35599
35600 fi
35601 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35602 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35603
35604 iconv_const=
35605 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35606 iconv_const="const"
35607 fi
35608
35609
35610 cat >>confdefs.h <<_ACEOF
35611 #define ICONV_CONST $iconv_const
35612 _ACEOF
35613
35614 fi
35615 LIBICONV=
35616 if test "$am_cv_lib_iconv" = yes; then
35617 LIBICONV="-liconv"
35618 fi
35619
35620
35621 LIBS="$LIBICONV $LIBS"
35622
35623 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35624
35625 for ac_func in sigaction
35626 do
35627 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35628 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35629 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35630 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35631 echo $ECHO_N "(cached) $ECHO_C" >&6
35632 else
35633 cat >conftest.$ac_ext <<_ACEOF
35634 /* confdefs.h. */
35635 _ACEOF
35636 cat confdefs.h >>conftest.$ac_ext
35637 cat >>conftest.$ac_ext <<_ACEOF
35638 /* end confdefs.h. */
35639 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35640 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35641 #define $ac_func innocuous_$ac_func
35642
35643 /* System header to define __stub macros and hopefully few prototypes,
35644 which can conflict with char $ac_func (); below.
35645 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35646 <limits.h> exists even on freestanding compilers. */
35647
35648 #ifdef __STDC__
35649 # include <limits.h>
35650 #else
35651 # include <assert.h>
35652 #endif
35653
35654 #undef $ac_func
35655
35656 /* Override any GCC internal prototype to avoid an error.
35657 Use char because int might match the return type of a GCC
35658 builtin and then its argument prototype would still apply. */
35659 #ifdef __cplusplus
35660 extern "C"
35661 #endif
35662 char $ac_func ();
35663 /* The GNU C library defines this for functions which it implements
35664 to always fail with ENOSYS. Some functions are actually named
35665 something starting with __ and the normal name is an alias. */
35666 #if defined __stub_$ac_func || defined __stub___$ac_func
35667 choke me
35668 #endif
35669
35670 int
35671 main ()
35672 {
35673 return $ac_func ();
35674 ;
35675 return 0;
35676 }
35677 _ACEOF
35678 rm -f conftest.$ac_objext conftest$ac_exeext
35679 if { (ac_try="$ac_link"
35680 case "(($ac_try" in
35681 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35682 *) ac_try_echo=$ac_try;;
35683 esac
35684 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35685 (eval "$ac_link") 2>conftest.er1
35686 ac_status=$?
35687 grep -v '^ *+' conftest.er1 >conftest.err
35688 rm -f conftest.er1
35689 cat conftest.err >&5
35690 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35691 (exit $ac_status); } && {
35692 test -z "$ac_c_werror_flag" ||
35693 test ! -s conftest.err
35694 } && test -s conftest$ac_exeext &&
35695 $as_test_x conftest$ac_exeext; then
35696 eval "$as_ac_var=yes"
35697 else
35698 echo "$as_me: failed program was:" >&5
35699 sed 's/^/| /' conftest.$ac_ext >&5
35700
35701 eval "$as_ac_var=no"
35702 fi
35703
35704 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35705 conftest$ac_exeext conftest.$ac_ext
35706 fi
35707 ac_res=`eval echo '${'$as_ac_var'}'`
35708 { echo "$as_me:$LINENO: result: $ac_res" >&5
35709 echo "${ECHO_T}$ac_res" >&6; }
35710 if test `eval echo '${'$as_ac_var'}'` = yes; then
35711 cat >>confdefs.h <<_ACEOF
35712 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35713 _ACEOF
35714
35715 fi
35716 done
35717
35718
35719 if test "$ac_cv_func_sigaction" = "no"; then
35720 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35721 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35722 wxUSE_ON_FATAL_EXCEPTION=no
35723 fi
35724
35725 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35726 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35727 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35728 if test "${wx_cv_type_sa_handler+set}" = set; then
35729 echo $ECHO_N "(cached) $ECHO_C" >&6
35730 else
35731
35732 ac_ext=cpp
35733 ac_cpp='$CXXCPP $CPPFLAGS'
35734 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35735 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35736 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35737
35738 cat >conftest.$ac_ext <<_ACEOF
35739 /* confdefs.h. */
35740 _ACEOF
35741 cat confdefs.h >>conftest.$ac_ext
35742 cat >>conftest.$ac_ext <<_ACEOF
35743 /* end confdefs.h. */
35744 #include <signal.h>
35745 int
35746 main ()
35747 {
35748
35749 extern void testSigHandler(int);
35750
35751 struct sigaction sa;
35752 sa.sa_handler = testSigHandler;
35753
35754 ;
35755 return 0;
35756 }
35757 _ACEOF
35758 rm -f conftest.$ac_objext
35759 if { (ac_try="$ac_compile"
35760 case "(($ac_try" in
35761 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35762 *) ac_try_echo=$ac_try;;
35763 esac
35764 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35765 (eval "$ac_compile") 2>conftest.er1
35766 ac_status=$?
35767 grep -v '^ *+' conftest.er1 >conftest.err
35768 rm -f conftest.er1
35769 cat conftest.err >&5
35770 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35771 (exit $ac_status); } && {
35772 test -z "$ac_cxx_werror_flag" ||
35773 test ! -s conftest.err
35774 } && test -s conftest.$ac_objext; then
35775
35776 wx_cv_type_sa_handler=int
35777
35778 else
35779 echo "$as_me: failed program was:" >&5
35780 sed 's/^/| /' conftest.$ac_ext >&5
35781
35782
35783 wx_cv_type_sa_handler=void
35784
35785 fi
35786
35787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35788 ac_ext=c
35789 ac_cpp='$CPP $CPPFLAGS'
35790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35793
35794
35795 fi
35796 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35797 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35798
35799 cat >>confdefs.h <<_ACEOF
35800 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35801 _ACEOF
35802
35803 fi
35804 fi
35805
35806 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35807 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35808 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35809 if test "${wx_cv_func_backtrace+set}" = set; then
35810 echo $ECHO_N "(cached) $ECHO_C" >&6
35811 else
35812
35813 ac_ext=cpp
35814 ac_cpp='$CXXCPP $CPPFLAGS'
35815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35818
35819 cat >conftest.$ac_ext <<_ACEOF
35820 /* confdefs.h. */
35821 _ACEOF
35822 cat confdefs.h >>conftest.$ac_ext
35823 cat >>conftest.$ac_ext <<_ACEOF
35824 /* end confdefs.h. */
35825 #include <execinfo.h>
35826 int
35827 main ()
35828 {
35829
35830 void *trace[1];
35831 char **messages;
35832
35833 backtrace(trace, 1);
35834 messages = backtrace_symbols(trace, 1);
35835
35836 ;
35837 return 0;
35838 }
35839 _ACEOF
35840 rm -f conftest.$ac_objext
35841 if { (ac_try="$ac_compile"
35842 case "(($ac_try" in
35843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35844 *) ac_try_echo=$ac_try;;
35845 esac
35846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35847 (eval "$ac_compile") 2>conftest.er1
35848 ac_status=$?
35849 grep -v '^ *+' conftest.er1 >conftest.err
35850 rm -f conftest.er1
35851 cat conftest.err >&5
35852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35853 (exit $ac_status); } && {
35854 test -z "$ac_cxx_werror_flag" ||
35855 test ! -s conftest.err
35856 } && test -s conftest.$ac_objext; then
35857 wx_cv_func_backtrace=yes
35858 else
35859 echo "$as_me: failed program was:" >&5
35860 sed 's/^/| /' conftest.$ac_ext >&5
35861
35862 wx_cv_func_backtrace=no
35863
35864 fi
35865
35866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35867 ac_ext=c
35868 ac_cpp='$CPP $CPPFLAGS'
35869 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35870 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35871 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35872
35873
35874
35875 fi
35876 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35877 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35878
35879
35880 if test "$wx_cv_func_backtrace" = "no"; then
35881 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35882 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35883 wxUSE_STACKWALKER=no
35884 else
35885 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35886 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35887 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35888 echo $ECHO_N "(cached) $ECHO_C" >&6
35889 else
35890
35891 ac_ext=cpp
35892 ac_cpp='$CXXCPP $CPPFLAGS'
35893 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35894 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35895 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35896
35897 cat >conftest.$ac_ext <<_ACEOF
35898 /* confdefs.h. */
35899 _ACEOF
35900 cat confdefs.h >>conftest.$ac_ext
35901 cat >>conftest.$ac_ext <<_ACEOF
35902 /* end confdefs.h. */
35903 #include <cxxabi.h>
35904 int
35905 main ()
35906 {
35907
35908 int rc;
35909 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35910
35911 ;
35912 return 0;
35913 }
35914 _ACEOF
35915 rm -f conftest.$ac_objext conftest$ac_exeext
35916 if { (ac_try="$ac_link"
35917 case "(($ac_try" in
35918 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35919 *) ac_try_echo=$ac_try;;
35920 esac
35921 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35922 (eval "$ac_link") 2>conftest.er1
35923 ac_status=$?
35924 grep -v '^ *+' conftest.er1 >conftest.err
35925 rm -f conftest.er1
35926 cat conftest.err >&5
35927 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35928 (exit $ac_status); } && {
35929 test -z "$ac_cxx_werror_flag" ||
35930 test ! -s conftest.err
35931 } && test -s conftest$ac_exeext &&
35932 $as_test_x conftest$ac_exeext; then
35933 wx_cv_func_cxa_demangle=yes
35934 else
35935 echo "$as_me: failed program was:" >&5
35936 sed 's/^/| /' conftest.$ac_ext >&5
35937
35938 wx_cv_func_cxa_demangle=no
35939
35940 fi
35941
35942 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35943 conftest$ac_exeext conftest.$ac_ext
35944 ac_ext=c
35945 ac_cpp='$CPP $CPPFLAGS'
35946 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35947 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35948 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35949
35950
35951
35952 fi
35953 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35954 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35955
35956 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35957 cat >>confdefs.h <<\_ACEOF
35958 #define HAVE_CXA_DEMANGLE 1
35959 _ACEOF
35960
35961 fi
35962 fi
35963 fi
35964
35965 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35966 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35967 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35968 wxUSE_STACKWALKER=no
35969 fi
35970
35971
35972
35973
35974 for ac_func in mkstemp mktemp
35975 do
35976 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35977 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35978 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35979 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35980 echo $ECHO_N "(cached) $ECHO_C" >&6
35981 else
35982 cat >conftest.$ac_ext <<_ACEOF
35983 /* confdefs.h. */
35984 _ACEOF
35985 cat confdefs.h >>conftest.$ac_ext
35986 cat >>conftest.$ac_ext <<_ACEOF
35987 /* end confdefs.h. */
35988 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35989 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35990 #define $ac_func innocuous_$ac_func
35991
35992 /* System header to define __stub macros and hopefully few prototypes,
35993 which can conflict with char $ac_func (); below.
35994 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35995 <limits.h> exists even on freestanding compilers. */
35996
35997 #ifdef __STDC__
35998 # include <limits.h>
35999 #else
36000 # include <assert.h>
36001 #endif
36002
36003 #undef $ac_func
36004
36005 /* Override any GCC internal prototype to avoid an error.
36006 Use char because int might match the return type of a GCC
36007 builtin and then its argument prototype would still apply. */
36008 #ifdef __cplusplus
36009 extern "C"
36010 #endif
36011 char $ac_func ();
36012 /* The GNU C library defines this for functions which it implements
36013 to always fail with ENOSYS. Some functions are actually named
36014 something starting with __ and the normal name is an alias. */
36015 #if defined __stub_$ac_func || defined __stub___$ac_func
36016 choke me
36017 #endif
36018
36019 int
36020 main ()
36021 {
36022 return $ac_func ();
36023 ;
36024 return 0;
36025 }
36026 _ACEOF
36027 rm -f conftest.$ac_objext conftest$ac_exeext
36028 if { (ac_try="$ac_link"
36029 case "(($ac_try" in
36030 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36031 *) ac_try_echo=$ac_try;;
36032 esac
36033 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36034 (eval "$ac_link") 2>conftest.er1
36035 ac_status=$?
36036 grep -v '^ *+' conftest.er1 >conftest.err
36037 rm -f conftest.er1
36038 cat conftest.err >&5
36039 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36040 (exit $ac_status); } && {
36041 test -z "$ac_c_werror_flag" ||
36042 test ! -s conftest.err
36043 } && test -s conftest$ac_exeext &&
36044 $as_test_x conftest$ac_exeext; then
36045 eval "$as_ac_var=yes"
36046 else
36047 echo "$as_me: failed program was:" >&5
36048 sed 's/^/| /' conftest.$ac_ext >&5
36049
36050 eval "$as_ac_var=no"
36051 fi
36052
36053 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36054 conftest$ac_exeext conftest.$ac_ext
36055 fi
36056 ac_res=`eval echo '${'$as_ac_var'}'`
36057 { echo "$as_me:$LINENO: result: $ac_res" >&5
36058 echo "${ECHO_T}$ac_res" >&6; }
36059 if test `eval echo '${'$as_ac_var'}'` = yes; then
36060 cat >>confdefs.h <<_ACEOF
36061 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36062 _ACEOF
36063 break
36064 fi
36065 done
36066
36067
36068 { echo "$as_me:$LINENO: checking for statfs" >&5
36069 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
36070 if test "${wx_cv_func_statfs+set}" = set; then
36071 echo $ECHO_N "(cached) $ECHO_C" >&6
36072 else
36073 cat >conftest.$ac_ext <<_ACEOF
36074 /* confdefs.h. */
36075 _ACEOF
36076 cat confdefs.h >>conftest.$ac_ext
36077 cat >>conftest.$ac_ext <<_ACEOF
36078 /* end confdefs.h. */
36079
36080 #if defined(__BSD__)
36081 #include <sys/param.h>
36082 #include <sys/mount.h>
36083 #else
36084 #include <sys/vfs.h>
36085 #endif
36086
36087 int
36088 main ()
36089 {
36090
36091 long l;
36092 struct statfs fs;
36093 statfs("/", &fs);
36094 l = fs.f_bsize;
36095 l += fs.f_blocks;
36096 l += fs.f_bavail;
36097
36098 ;
36099 return 0;
36100 }
36101 _ACEOF
36102 rm -f conftest.$ac_objext
36103 if { (ac_try="$ac_compile"
36104 case "(($ac_try" in
36105 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36106 *) ac_try_echo=$ac_try;;
36107 esac
36108 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36109 (eval "$ac_compile") 2>conftest.er1
36110 ac_status=$?
36111 grep -v '^ *+' conftest.er1 >conftest.err
36112 rm -f conftest.er1
36113 cat conftest.err >&5
36114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36115 (exit $ac_status); } && {
36116 test -z "$ac_c_werror_flag" ||
36117 test ! -s conftest.err
36118 } && test -s conftest.$ac_objext; then
36119 wx_cv_func_statfs=yes
36120 else
36121 echo "$as_me: failed program was:" >&5
36122 sed 's/^/| /' conftest.$ac_ext >&5
36123
36124 wx_cv_func_statfs=no
36125
36126 fi
36127
36128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36129
36130 fi
36131 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
36132 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
36133
36134 if test "$wx_cv_func_statfs" = "yes"; then
36135 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
36136 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
36137 if test "${wx_cv_func_statfs_decl+set}" = set; then
36138 echo $ECHO_N "(cached) $ECHO_C" >&6
36139 else
36140 ac_ext=cpp
36141 ac_cpp='$CXXCPP $CPPFLAGS'
36142 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36143 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36144 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36145
36146 cat >conftest.$ac_ext <<_ACEOF
36147 /* confdefs.h. */
36148 _ACEOF
36149 cat confdefs.h >>conftest.$ac_ext
36150 cat >>conftest.$ac_ext <<_ACEOF
36151 /* end confdefs.h. */
36152
36153 #if defined(__BSD__)
36154 #include <sys/param.h>
36155 #include <sys/mount.h>
36156 #else
36157 #include <sys/vfs.h>
36158 #endif
36159
36160 int
36161 main ()
36162 {
36163
36164 struct statfs fs;
36165 statfs("", &fs);
36166
36167 ;
36168 return 0;
36169 }
36170 _ACEOF
36171 rm -f conftest.$ac_objext
36172 if { (ac_try="$ac_compile"
36173 case "(($ac_try" in
36174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36175 *) ac_try_echo=$ac_try;;
36176 esac
36177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36178 (eval "$ac_compile") 2>conftest.er1
36179 ac_status=$?
36180 grep -v '^ *+' conftest.er1 >conftest.err
36181 rm -f conftest.er1
36182 cat conftest.err >&5
36183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36184 (exit $ac_status); } && {
36185 test -z "$ac_cxx_werror_flag" ||
36186 test ! -s conftest.err
36187 } && test -s conftest.$ac_objext; then
36188 wx_cv_func_statfs_decl=yes
36189 else
36190 echo "$as_me: failed program was:" >&5
36191 sed 's/^/| /' conftest.$ac_ext >&5
36192
36193 wx_cv_func_statfs_decl=no
36194
36195 fi
36196
36197 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36198 ac_ext=c
36199 ac_cpp='$CPP $CPPFLAGS'
36200 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36201 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36202 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36203
36204
36205 fi
36206 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
36207 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
36208
36209 if test "$wx_cv_func_statfs_decl" = "yes"; then
36210 cat >>confdefs.h <<\_ACEOF
36211 #define HAVE_STATFS_DECL 1
36212 _ACEOF
36213
36214 fi
36215
36216 wx_cv_type_statvfs_t="struct statfs"
36217 cat >>confdefs.h <<\_ACEOF
36218 #define HAVE_STATFS 1
36219 _ACEOF
36220
36221 else
36222 { echo "$as_me:$LINENO: checking for statvfs" >&5
36223 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
36224 if test "${wx_cv_func_statvfs+set}" = set; then
36225 echo $ECHO_N "(cached) $ECHO_C" >&6
36226 else
36227 cat >conftest.$ac_ext <<_ACEOF
36228 /* confdefs.h. */
36229 _ACEOF
36230 cat confdefs.h >>conftest.$ac_ext
36231 cat >>conftest.$ac_ext <<_ACEOF
36232 /* end confdefs.h. */
36233
36234 #include <stddef.h>
36235 #include <sys/statvfs.h>
36236
36237 int
36238 main ()
36239 {
36240
36241 statvfs("/", NULL);
36242
36243 ;
36244 return 0;
36245 }
36246 _ACEOF
36247 rm -f conftest.$ac_objext
36248 if { (ac_try="$ac_compile"
36249 case "(($ac_try" in
36250 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36251 *) ac_try_echo=$ac_try;;
36252 esac
36253 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36254 (eval "$ac_compile") 2>conftest.er1
36255 ac_status=$?
36256 grep -v '^ *+' conftest.er1 >conftest.err
36257 rm -f conftest.er1
36258 cat conftest.err >&5
36259 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36260 (exit $ac_status); } && {
36261 test -z "$ac_c_werror_flag" ||
36262 test ! -s conftest.err
36263 } && test -s conftest.$ac_objext; then
36264 wx_cv_func_statvfs=yes
36265 else
36266 echo "$as_me: failed program was:" >&5
36267 sed 's/^/| /' conftest.$ac_ext >&5
36268
36269 wx_cv_func_statvfs=no
36270
36271 fi
36272
36273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36274
36275 fi
36276 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
36277 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
36278
36279 if test "$wx_cv_func_statvfs" = "yes"; then
36280 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
36281 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
36282 if test "${wx_cv_type_statvfs_t+set}" = set; then
36283 echo $ECHO_N "(cached) $ECHO_C" >&6
36284 else
36285 ac_ext=cpp
36286 ac_cpp='$CXXCPP $CPPFLAGS'
36287 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36288 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36289 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
36290
36291 cat >conftest.$ac_ext <<_ACEOF
36292 /* confdefs.h. */
36293 _ACEOF
36294 cat confdefs.h >>conftest.$ac_ext
36295 cat >>conftest.$ac_ext <<_ACEOF
36296 /* end confdefs.h. */
36297
36298 #include <sys/statvfs.h>
36299
36300 int
36301 main ()
36302 {
36303
36304 long l;
36305 statvfs_t fs;
36306 statvfs("/", &fs);
36307 l = fs.f_bsize;
36308 l += fs.f_blocks;
36309 l += fs.f_bavail;
36310
36311 ;
36312 return 0;
36313 }
36314 _ACEOF
36315 rm -f conftest.$ac_objext
36316 if { (ac_try="$ac_compile"
36317 case "(($ac_try" in
36318 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36319 *) ac_try_echo=$ac_try;;
36320 esac
36321 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36322 (eval "$ac_compile") 2>conftest.er1
36323 ac_status=$?
36324 grep -v '^ *+' conftest.er1 >conftest.err
36325 rm -f conftest.er1
36326 cat conftest.err >&5
36327 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36328 (exit $ac_status); } && {
36329 test -z "$ac_cxx_werror_flag" ||
36330 test ! -s conftest.err
36331 } && test -s conftest.$ac_objext; then
36332 wx_cv_type_statvfs_t=statvfs_t
36333 else
36334 echo "$as_me: failed program was:" >&5
36335 sed 's/^/| /' conftest.$ac_ext >&5
36336
36337
36338 cat >conftest.$ac_ext <<_ACEOF
36339 /* confdefs.h. */
36340 _ACEOF
36341 cat confdefs.h >>conftest.$ac_ext
36342 cat >>conftest.$ac_ext <<_ACEOF
36343 /* end confdefs.h. */
36344
36345 #include <sys/statvfs.h>
36346
36347 int
36348 main ()
36349 {
36350
36351 long l;
36352 struct statvfs fs;
36353 statvfs("/", &fs);
36354 l = fs.f_bsize;
36355 l += fs.f_blocks;
36356 l += fs.f_bavail;
36357
36358 ;
36359 return 0;
36360 }
36361 _ACEOF
36362 rm -f conftest.$ac_objext
36363 if { (ac_try="$ac_compile"
36364 case "(($ac_try" in
36365 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36366 *) ac_try_echo=$ac_try;;
36367 esac
36368 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36369 (eval "$ac_compile") 2>conftest.er1
36370 ac_status=$?
36371 grep -v '^ *+' conftest.er1 >conftest.err
36372 rm -f conftest.er1
36373 cat conftest.err >&5
36374 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36375 (exit $ac_status); } && {
36376 test -z "$ac_cxx_werror_flag" ||
36377 test ! -s conftest.err
36378 } && test -s conftest.$ac_objext; then
36379 wx_cv_type_statvfs_t="struct statvfs"
36380 else
36381 echo "$as_me: failed program was:" >&5
36382 sed 's/^/| /' conftest.$ac_ext >&5
36383
36384 wx_cv_type_statvfs_t="unknown"
36385
36386 fi
36387
36388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36389
36390
36391 fi
36392
36393 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36394 ac_ext=c
36395 ac_cpp='$CPP $CPPFLAGS'
36396 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36397 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36398 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36399
36400
36401 fi
36402 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36403 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36404
36405 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36406 cat >>confdefs.h <<\_ACEOF
36407 #define HAVE_STATVFS 1
36408 _ACEOF
36409
36410 fi
36411 else
36412 wx_cv_type_statvfs_t="unknown"
36413 fi
36414 fi
36415
36416 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36417 cat >>confdefs.h <<_ACEOF
36418 #define WX_STATFS_T $wx_cv_type_statvfs_t
36419 _ACEOF
36420
36421 else
36422 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36423 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36424 fi
36425
36426 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36427
36428
36429 for ac_func in fcntl flock
36430 do
36431 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36432 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36433 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36434 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36435 echo $ECHO_N "(cached) $ECHO_C" >&6
36436 else
36437 cat >conftest.$ac_ext <<_ACEOF
36438 /* confdefs.h. */
36439 _ACEOF
36440 cat confdefs.h >>conftest.$ac_ext
36441 cat >>conftest.$ac_ext <<_ACEOF
36442 /* end confdefs.h. */
36443 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36444 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36445 #define $ac_func innocuous_$ac_func
36446
36447 /* System header to define __stub macros and hopefully few prototypes,
36448 which can conflict with char $ac_func (); below.
36449 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36450 <limits.h> exists even on freestanding compilers. */
36451
36452 #ifdef __STDC__
36453 # include <limits.h>
36454 #else
36455 # include <assert.h>
36456 #endif
36457
36458 #undef $ac_func
36459
36460 /* Override any GCC internal prototype to avoid an error.
36461 Use char because int might match the return type of a GCC
36462 builtin and then its argument prototype would still apply. */
36463 #ifdef __cplusplus
36464 extern "C"
36465 #endif
36466 char $ac_func ();
36467 /* The GNU C library defines this for functions which it implements
36468 to always fail with ENOSYS. Some functions are actually named
36469 something starting with __ and the normal name is an alias. */
36470 #if defined __stub_$ac_func || defined __stub___$ac_func
36471 choke me
36472 #endif
36473
36474 int
36475 main ()
36476 {
36477 return $ac_func ();
36478 ;
36479 return 0;
36480 }
36481 _ACEOF
36482 rm -f conftest.$ac_objext conftest$ac_exeext
36483 if { (ac_try="$ac_link"
36484 case "(($ac_try" in
36485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36486 *) ac_try_echo=$ac_try;;
36487 esac
36488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36489 (eval "$ac_link") 2>conftest.er1
36490 ac_status=$?
36491 grep -v '^ *+' conftest.er1 >conftest.err
36492 rm -f conftest.er1
36493 cat conftest.err >&5
36494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36495 (exit $ac_status); } && {
36496 test -z "$ac_c_werror_flag" ||
36497 test ! -s conftest.err
36498 } && test -s conftest$ac_exeext &&
36499 $as_test_x conftest$ac_exeext; then
36500 eval "$as_ac_var=yes"
36501 else
36502 echo "$as_me: failed program was:" >&5
36503 sed 's/^/| /' conftest.$ac_ext >&5
36504
36505 eval "$as_ac_var=no"
36506 fi
36507
36508 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36509 conftest$ac_exeext conftest.$ac_ext
36510 fi
36511 ac_res=`eval echo '${'$as_ac_var'}'`
36512 { echo "$as_me:$LINENO: result: $ac_res" >&5
36513 echo "${ECHO_T}$ac_res" >&6; }
36514 if test `eval echo '${'$as_ac_var'}'` = yes; then
36515 cat >>confdefs.h <<_ACEOF
36516 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36517 _ACEOF
36518 break
36519 fi
36520 done
36521
36522
36523 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36524 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36525 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36526 wxUSE_SNGLINST_CHECKER=no
36527 fi
36528 fi
36529
36530
36531 for ac_func in timegm
36532 do
36533 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36534 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36535 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36536 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36537 echo $ECHO_N "(cached) $ECHO_C" >&6
36538 else
36539 cat >conftest.$ac_ext <<_ACEOF
36540 /* confdefs.h. */
36541 _ACEOF
36542 cat confdefs.h >>conftest.$ac_ext
36543 cat >>conftest.$ac_ext <<_ACEOF
36544 /* end confdefs.h. */
36545 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36546 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36547 #define $ac_func innocuous_$ac_func
36548
36549 /* System header to define __stub macros and hopefully few prototypes,
36550 which can conflict with char $ac_func (); below.
36551 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36552 <limits.h> exists even on freestanding compilers. */
36553
36554 #ifdef __STDC__
36555 # include <limits.h>
36556 #else
36557 # include <assert.h>
36558 #endif
36559
36560 #undef $ac_func
36561
36562 /* Override any GCC internal prototype to avoid an error.
36563 Use char because int might match the return type of a GCC
36564 builtin and then its argument prototype would still apply. */
36565 #ifdef __cplusplus
36566 extern "C"
36567 #endif
36568 char $ac_func ();
36569 /* The GNU C library defines this for functions which it implements
36570 to always fail with ENOSYS. Some functions are actually named
36571 something starting with __ and the normal name is an alias. */
36572 #if defined __stub_$ac_func || defined __stub___$ac_func
36573 choke me
36574 #endif
36575
36576 int
36577 main ()
36578 {
36579 return $ac_func ();
36580 ;
36581 return 0;
36582 }
36583 _ACEOF
36584 rm -f conftest.$ac_objext conftest$ac_exeext
36585 if { (ac_try="$ac_link"
36586 case "(($ac_try" in
36587 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36588 *) ac_try_echo=$ac_try;;
36589 esac
36590 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36591 (eval "$ac_link") 2>conftest.er1
36592 ac_status=$?
36593 grep -v '^ *+' conftest.er1 >conftest.err
36594 rm -f conftest.er1
36595 cat conftest.err >&5
36596 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36597 (exit $ac_status); } && {
36598 test -z "$ac_c_werror_flag" ||
36599 test ! -s conftest.err
36600 } && test -s conftest$ac_exeext &&
36601 $as_test_x conftest$ac_exeext; then
36602 eval "$as_ac_var=yes"
36603 else
36604 echo "$as_me: failed program was:" >&5
36605 sed 's/^/| /' conftest.$ac_ext >&5
36606
36607 eval "$as_ac_var=no"
36608 fi
36609
36610 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36611 conftest$ac_exeext conftest.$ac_ext
36612 fi
36613 ac_res=`eval echo '${'$as_ac_var'}'`
36614 { echo "$as_me:$LINENO: result: $ac_res" >&5
36615 echo "${ECHO_T}$ac_res" >&6; }
36616 if test `eval echo '${'$as_ac_var'}'` = yes; then
36617 cat >>confdefs.h <<_ACEOF
36618 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36619 _ACEOF
36620
36621 fi
36622 done
36623
36624
36625
36626
36627 for ac_func in putenv setenv
36628 do
36629 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36630 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36631 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36632 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36633 echo $ECHO_N "(cached) $ECHO_C" >&6
36634 else
36635 cat >conftest.$ac_ext <<_ACEOF
36636 /* confdefs.h. */
36637 _ACEOF
36638 cat confdefs.h >>conftest.$ac_ext
36639 cat >>conftest.$ac_ext <<_ACEOF
36640 /* end confdefs.h. */
36641 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36642 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36643 #define $ac_func innocuous_$ac_func
36644
36645 /* System header to define __stub macros and hopefully few prototypes,
36646 which can conflict with char $ac_func (); below.
36647 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36648 <limits.h> exists even on freestanding compilers. */
36649
36650 #ifdef __STDC__
36651 # include <limits.h>
36652 #else
36653 # include <assert.h>
36654 #endif
36655
36656 #undef $ac_func
36657
36658 /* Override any GCC internal prototype to avoid an error.
36659 Use char because int might match the return type of a GCC
36660 builtin and then its argument prototype would still apply. */
36661 #ifdef __cplusplus
36662 extern "C"
36663 #endif
36664 char $ac_func ();
36665 /* The GNU C library defines this for functions which it implements
36666 to always fail with ENOSYS. Some functions are actually named
36667 something starting with __ and the normal name is an alias. */
36668 #if defined __stub_$ac_func || defined __stub___$ac_func
36669 choke me
36670 #endif
36671
36672 int
36673 main ()
36674 {
36675 return $ac_func ();
36676 ;
36677 return 0;
36678 }
36679 _ACEOF
36680 rm -f conftest.$ac_objext conftest$ac_exeext
36681 if { (ac_try="$ac_link"
36682 case "(($ac_try" in
36683 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36684 *) ac_try_echo=$ac_try;;
36685 esac
36686 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36687 (eval "$ac_link") 2>conftest.er1
36688 ac_status=$?
36689 grep -v '^ *+' conftest.er1 >conftest.err
36690 rm -f conftest.er1
36691 cat conftest.err >&5
36692 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36693 (exit $ac_status); } && {
36694 test -z "$ac_c_werror_flag" ||
36695 test ! -s conftest.err
36696 } && test -s conftest$ac_exeext &&
36697 $as_test_x conftest$ac_exeext; then
36698 eval "$as_ac_var=yes"
36699 else
36700 echo "$as_me: failed program was:" >&5
36701 sed 's/^/| /' conftest.$ac_ext >&5
36702
36703 eval "$as_ac_var=no"
36704 fi
36705
36706 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36707 conftest$ac_exeext conftest.$ac_ext
36708 fi
36709 ac_res=`eval echo '${'$as_ac_var'}'`
36710 { echo "$as_me:$LINENO: result: $ac_res" >&5
36711 echo "${ECHO_T}$ac_res" >&6; }
36712 if test `eval echo '${'$as_ac_var'}'` = yes; then
36713 cat >>confdefs.h <<_ACEOF
36714 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36715 _ACEOF
36716 break
36717 fi
36718 done
36719
36720
36721 HAVE_SOME_SLEEP_FUNC=0
36722 if test "$USE_BEOS" = 1; then
36723 cat >>confdefs.h <<\_ACEOF
36724 #define HAVE_SLEEP 1
36725 _ACEOF
36726
36727 HAVE_SOME_SLEEP_FUNC=1
36728 fi
36729
36730 if test "$USE_DARWIN" = 1; then
36731 cat >>confdefs.h <<\_ACEOF
36732 #define HAVE_USLEEP 1
36733 _ACEOF
36734
36735 HAVE_SOME_SLEEP_FUNC=1
36736 fi
36737
36738 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36739 POSIX4_LINK=
36740
36741 for ac_func in nanosleep
36742 do
36743 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36744 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36745 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36746 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36747 echo $ECHO_N "(cached) $ECHO_C" >&6
36748 else
36749 cat >conftest.$ac_ext <<_ACEOF
36750 /* confdefs.h. */
36751 _ACEOF
36752 cat confdefs.h >>conftest.$ac_ext
36753 cat >>conftest.$ac_ext <<_ACEOF
36754 /* end confdefs.h. */
36755 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36756 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36757 #define $ac_func innocuous_$ac_func
36758
36759 /* System header to define __stub macros and hopefully few prototypes,
36760 which can conflict with char $ac_func (); below.
36761 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36762 <limits.h> exists even on freestanding compilers. */
36763
36764 #ifdef __STDC__
36765 # include <limits.h>
36766 #else
36767 # include <assert.h>
36768 #endif
36769
36770 #undef $ac_func
36771
36772 /* Override any GCC internal prototype to avoid an error.
36773 Use char because int might match the return type of a GCC
36774 builtin and then its argument prototype would still apply. */
36775 #ifdef __cplusplus
36776 extern "C"
36777 #endif
36778 char $ac_func ();
36779 /* The GNU C library defines this for functions which it implements
36780 to always fail with ENOSYS. Some functions are actually named
36781 something starting with __ and the normal name is an alias. */
36782 #if defined __stub_$ac_func || defined __stub___$ac_func
36783 choke me
36784 #endif
36785
36786 int
36787 main ()
36788 {
36789 return $ac_func ();
36790 ;
36791 return 0;
36792 }
36793 _ACEOF
36794 rm -f conftest.$ac_objext conftest$ac_exeext
36795 if { (ac_try="$ac_link"
36796 case "(($ac_try" in
36797 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36798 *) ac_try_echo=$ac_try;;
36799 esac
36800 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36801 (eval "$ac_link") 2>conftest.er1
36802 ac_status=$?
36803 grep -v '^ *+' conftest.er1 >conftest.err
36804 rm -f conftest.er1
36805 cat conftest.err >&5
36806 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36807 (exit $ac_status); } && {
36808 test -z "$ac_c_werror_flag" ||
36809 test ! -s conftest.err
36810 } && test -s conftest$ac_exeext &&
36811 $as_test_x conftest$ac_exeext; then
36812 eval "$as_ac_var=yes"
36813 else
36814 echo "$as_me: failed program was:" >&5
36815 sed 's/^/| /' conftest.$ac_ext >&5
36816
36817 eval "$as_ac_var=no"
36818 fi
36819
36820 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36821 conftest$ac_exeext conftest.$ac_ext
36822 fi
36823 ac_res=`eval echo '${'$as_ac_var'}'`
36824 { echo "$as_me:$LINENO: result: $ac_res" >&5
36825 echo "${ECHO_T}$ac_res" >&6; }
36826 if test `eval echo '${'$as_ac_var'}'` = yes; then
36827 cat >>confdefs.h <<_ACEOF
36828 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36829 _ACEOF
36830 cat >>confdefs.h <<\_ACEOF
36831 #define HAVE_NANOSLEEP 1
36832 _ACEOF
36833
36834 else
36835
36836 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36837 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36838 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36839 echo $ECHO_N "(cached) $ECHO_C" >&6
36840 else
36841 ac_check_lib_save_LIBS=$LIBS
36842 LIBS="-lposix4 $LIBS"
36843 cat >conftest.$ac_ext <<_ACEOF
36844 /* confdefs.h. */
36845 _ACEOF
36846 cat confdefs.h >>conftest.$ac_ext
36847 cat >>conftest.$ac_ext <<_ACEOF
36848 /* end confdefs.h. */
36849
36850 /* Override any GCC internal prototype to avoid an error.
36851 Use char because int might match the return type of a GCC
36852 builtin and then its argument prototype would still apply. */
36853 #ifdef __cplusplus
36854 extern "C"
36855 #endif
36856 char nanosleep ();
36857 int
36858 main ()
36859 {
36860 return nanosleep ();
36861 ;
36862 return 0;
36863 }
36864 _ACEOF
36865 rm -f conftest.$ac_objext conftest$ac_exeext
36866 if { (ac_try="$ac_link"
36867 case "(($ac_try" in
36868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36869 *) ac_try_echo=$ac_try;;
36870 esac
36871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36872 (eval "$ac_link") 2>conftest.er1
36873 ac_status=$?
36874 grep -v '^ *+' conftest.er1 >conftest.err
36875 rm -f conftest.er1
36876 cat conftest.err >&5
36877 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36878 (exit $ac_status); } && {
36879 test -z "$ac_c_werror_flag" ||
36880 test ! -s conftest.err
36881 } && test -s conftest$ac_exeext &&
36882 $as_test_x conftest$ac_exeext; then
36883 ac_cv_lib_posix4_nanosleep=yes
36884 else
36885 echo "$as_me: failed program was:" >&5
36886 sed 's/^/| /' conftest.$ac_ext >&5
36887
36888 ac_cv_lib_posix4_nanosleep=no
36889 fi
36890
36891 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36892 conftest$ac_exeext conftest.$ac_ext
36893 LIBS=$ac_check_lib_save_LIBS
36894 fi
36895 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36896 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36897 if test $ac_cv_lib_posix4_nanosleep = yes; then
36898
36899 cat >>confdefs.h <<\_ACEOF
36900 #define HAVE_NANOSLEEP 1
36901 _ACEOF
36902
36903 POSIX4_LINK=" -lposix4"
36904
36905 else
36906
36907
36908 for wx_func in usleep
36909 do
36910 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36911 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36912 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36913 echo $ECHO_N "(cached) $ECHO_C" >&6
36914 else
36915
36916 cat >conftest.$ac_ext <<_ACEOF
36917
36918 /* confdefs.h. */
36919 _ACEOF
36920 cat confdefs.h >>conftest.$ac_ext
36921 cat >>conftest.$ac_ext <<_ACEOF
36922 /* end confdefs.h. */
36923
36924
36925 $ac_includes_default
36926
36927 int
36928 main ()
36929 {
36930
36931 #ifndef $wx_func
36932 &$wx_func;
36933 #endif
36934
36935
36936 ;
36937 return 0;
36938 }
36939
36940 _ACEOF
36941 rm -f conftest.$ac_objext conftest$ac_exeext
36942 if { (ac_try="$ac_link"
36943 case "(($ac_try" in
36944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36945 *) ac_try_echo=$ac_try;;
36946 esac
36947 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36948 (eval "$ac_link") 2>conftest.er1
36949 ac_status=$?
36950 grep -v '^ *+' conftest.er1 >conftest.err
36951 rm -f conftest.er1
36952 cat conftest.err >&5
36953 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36954 (exit $ac_status); } && {
36955 test -z "$ac_c_werror_flag" ||
36956 test ! -s conftest.err
36957 } && test -s conftest$ac_exeext &&
36958 $as_test_x conftest$ac_exeext; then
36959 eval wx_cv_func_$wx_func=yes
36960 else
36961 echo "$as_me: failed program was:" >&5
36962 sed 's/^/| /' conftest.$ac_ext >&5
36963
36964 eval wx_cv_func_$wx_func=no
36965 fi
36966
36967 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36968 conftest$ac_exeext conftest.$ac_ext
36969
36970 fi
36971 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36972 { echo "$as_me:$LINENO: result: $ac_res" >&5
36973 echo "${ECHO_T}$ac_res" >&6; }
36974
36975 if eval test \$wx_cv_func_$wx_func = yes
36976 then
36977 cat >>confdefs.h <<_ACEOF
36978 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36979 _ACEOF
36980
36981
36982 else
36983 :
36984 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36985 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36986
36987 fi
36988 done
36989
36990
36991
36992 fi
36993
36994
36995
36996 fi
36997 done
36998
36999 fi
37000
37001
37002 for wx_func in uname
37003 do
37004 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37005 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37006 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37007 echo $ECHO_N "(cached) $ECHO_C" >&6
37008 else
37009
37010 cat >conftest.$ac_ext <<_ACEOF
37011
37012 /* confdefs.h. */
37013 _ACEOF
37014 cat confdefs.h >>conftest.$ac_ext
37015 cat >>conftest.$ac_ext <<_ACEOF
37016 /* end confdefs.h. */
37017
37018 #include <sys/utsname.h>
37019 $ac_includes_default
37020
37021 int
37022 main ()
37023 {
37024
37025 #ifndef $wx_func
37026 &$wx_func;
37027 #endif
37028
37029
37030 ;
37031 return 0;
37032 }
37033
37034 _ACEOF
37035 rm -f conftest.$ac_objext conftest$ac_exeext
37036 if { (ac_try="$ac_link"
37037 case "(($ac_try" in
37038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37039 *) ac_try_echo=$ac_try;;
37040 esac
37041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37042 (eval "$ac_link") 2>conftest.er1
37043 ac_status=$?
37044 grep -v '^ *+' conftest.er1 >conftest.err
37045 rm -f conftest.er1
37046 cat conftest.err >&5
37047 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37048 (exit $ac_status); } && {
37049 test -z "$ac_c_werror_flag" ||
37050 test ! -s conftest.err
37051 } && test -s conftest$ac_exeext &&
37052 $as_test_x conftest$ac_exeext; then
37053 eval wx_cv_func_$wx_func=yes
37054 else
37055 echo "$as_me: failed program was:" >&5
37056 sed 's/^/| /' conftest.$ac_ext >&5
37057
37058 eval wx_cv_func_$wx_func=no
37059 fi
37060
37061 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37062 conftest$ac_exeext conftest.$ac_ext
37063
37064 fi
37065 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37066 { echo "$as_me:$LINENO: result: $ac_res" >&5
37067 echo "${ECHO_T}$ac_res" >&6; }
37068
37069 if eval test \$wx_cv_func_$wx_func = yes
37070 then
37071 cat >>confdefs.h <<_ACEOF
37072 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37073 _ACEOF
37074
37075
37076 else
37077 :
37078
37079 fi
37080 done
37081
37082 if test "$wx_cv_func_uname" != yes; then
37083
37084 for wx_func in gethostname
37085 do
37086 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37087 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37088 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37089 echo $ECHO_N "(cached) $ECHO_C" >&6
37090 else
37091
37092 cat >conftest.$ac_ext <<_ACEOF
37093
37094 /* confdefs.h. */
37095 _ACEOF
37096 cat confdefs.h >>conftest.$ac_ext
37097 cat >>conftest.$ac_ext <<_ACEOF
37098 /* end confdefs.h. */
37099
37100
37101 $ac_includes_default
37102
37103 int
37104 main ()
37105 {
37106
37107 #ifndef $wx_func
37108 &$wx_func;
37109 #endif
37110
37111
37112 ;
37113 return 0;
37114 }
37115
37116 _ACEOF
37117 rm -f conftest.$ac_objext conftest$ac_exeext
37118 if { (ac_try="$ac_link"
37119 case "(($ac_try" in
37120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37121 *) ac_try_echo=$ac_try;;
37122 esac
37123 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37124 (eval "$ac_link") 2>conftest.er1
37125 ac_status=$?
37126 grep -v '^ *+' conftest.er1 >conftest.err
37127 rm -f conftest.er1
37128 cat conftest.err >&5
37129 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37130 (exit $ac_status); } && {
37131 test -z "$ac_c_werror_flag" ||
37132 test ! -s conftest.err
37133 } && test -s conftest$ac_exeext &&
37134 $as_test_x conftest$ac_exeext; then
37135 eval wx_cv_func_$wx_func=yes
37136 else
37137 echo "$as_me: failed program was:" >&5
37138 sed 's/^/| /' conftest.$ac_ext >&5
37139
37140 eval wx_cv_func_$wx_func=no
37141 fi
37142
37143 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37144 conftest$ac_exeext conftest.$ac_ext
37145
37146 fi
37147 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37148 { echo "$as_me:$LINENO: result: $ac_res" >&5
37149 echo "${ECHO_T}$ac_res" >&6; }
37150
37151 if eval test \$wx_cv_func_$wx_func = yes
37152 then
37153 cat >>confdefs.h <<_ACEOF
37154 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37155 _ACEOF
37156
37157
37158 else
37159 :
37160
37161 fi
37162 done
37163
37164 fi
37165
37166
37167 for wx_func in strtok_r
37168 do
37169 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37170 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37171 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37172 echo $ECHO_N "(cached) $ECHO_C" >&6
37173 else
37174
37175 cat >conftest.$ac_ext <<_ACEOF
37176
37177 /* confdefs.h. */
37178 _ACEOF
37179 cat confdefs.h >>conftest.$ac_ext
37180 cat >>conftest.$ac_ext <<_ACEOF
37181 /* end confdefs.h. */
37182
37183 #define _REENTRANT
37184 $ac_includes_default
37185
37186 int
37187 main ()
37188 {
37189
37190 #ifndef $wx_func
37191 &$wx_func;
37192 #endif
37193
37194
37195 ;
37196 return 0;
37197 }
37198
37199 _ACEOF
37200 rm -f conftest.$ac_objext conftest$ac_exeext
37201 if { (ac_try="$ac_link"
37202 case "(($ac_try" in
37203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37204 *) ac_try_echo=$ac_try;;
37205 esac
37206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37207 (eval "$ac_link") 2>conftest.er1
37208 ac_status=$?
37209 grep -v '^ *+' conftest.er1 >conftest.err
37210 rm -f conftest.er1
37211 cat conftest.err >&5
37212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37213 (exit $ac_status); } && {
37214 test -z "$ac_c_werror_flag" ||
37215 test ! -s conftest.err
37216 } && test -s conftest$ac_exeext &&
37217 $as_test_x conftest$ac_exeext; then
37218 eval wx_cv_func_$wx_func=yes
37219 else
37220 echo "$as_me: failed program was:" >&5
37221 sed 's/^/| /' conftest.$ac_ext >&5
37222
37223 eval wx_cv_func_$wx_func=no
37224 fi
37225
37226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37227 conftest$ac_exeext conftest.$ac_ext
37228
37229 fi
37230 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37231 { echo "$as_me:$LINENO: result: $ac_res" >&5
37232 echo "${ECHO_T}$ac_res" >&6; }
37233
37234 if eval test \$wx_cv_func_$wx_func = yes
37235 then
37236 cat >>confdefs.h <<_ACEOF
37237 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37238 _ACEOF
37239
37240
37241 else
37242 :
37243
37244 fi
37245 done
37246
37247
37248 INET_LINK=
37249
37250 for ac_func in inet_addr
37251 do
37252 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37253 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37254 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37255 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37256 echo $ECHO_N "(cached) $ECHO_C" >&6
37257 else
37258 cat >conftest.$ac_ext <<_ACEOF
37259 /* confdefs.h. */
37260 _ACEOF
37261 cat confdefs.h >>conftest.$ac_ext
37262 cat >>conftest.$ac_ext <<_ACEOF
37263 /* end confdefs.h. */
37264 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37265 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37266 #define $ac_func innocuous_$ac_func
37267
37268 /* System header to define __stub macros and hopefully few prototypes,
37269 which can conflict with char $ac_func (); below.
37270 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37271 <limits.h> exists even on freestanding compilers. */
37272
37273 #ifdef __STDC__
37274 # include <limits.h>
37275 #else
37276 # include <assert.h>
37277 #endif
37278
37279 #undef $ac_func
37280
37281 /* Override any GCC internal prototype to avoid an error.
37282 Use char because int might match the return type of a GCC
37283 builtin and then its argument prototype would still apply. */
37284 #ifdef __cplusplus
37285 extern "C"
37286 #endif
37287 char $ac_func ();
37288 /* The GNU C library defines this for functions which it implements
37289 to always fail with ENOSYS. Some functions are actually named
37290 something starting with __ and the normal name is an alias. */
37291 #if defined __stub_$ac_func || defined __stub___$ac_func
37292 choke me
37293 #endif
37294
37295 int
37296 main ()
37297 {
37298 return $ac_func ();
37299 ;
37300 return 0;
37301 }
37302 _ACEOF
37303 rm -f conftest.$ac_objext conftest$ac_exeext
37304 if { (ac_try="$ac_link"
37305 case "(($ac_try" in
37306 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37307 *) ac_try_echo=$ac_try;;
37308 esac
37309 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37310 (eval "$ac_link") 2>conftest.er1
37311 ac_status=$?
37312 grep -v '^ *+' conftest.er1 >conftest.err
37313 rm -f conftest.er1
37314 cat conftest.err >&5
37315 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37316 (exit $ac_status); } && {
37317 test -z "$ac_c_werror_flag" ||
37318 test ! -s conftest.err
37319 } && test -s conftest$ac_exeext &&
37320 $as_test_x conftest$ac_exeext; then
37321 eval "$as_ac_var=yes"
37322 else
37323 echo "$as_me: failed program was:" >&5
37324 sed 's/^/| /' conftest.$ac_ext >&5
37325
37326 eval "$as_ac_var=no"
37327 fi
37328
37329 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37330 conftest$ac_exeext conftest.$ac_ext
37331 fi
37332 ac_res=`eval echo '${'$as_ac_var'}'`
37333 { echo "$as_me:$LINENO: result: $ac_res" >&5
37334 echo "${ECHO_T}$ac_res" >&6; }
37335 if test `eval echo '${'$as_ac_var'}'` = yes; then
37336 cat >>confdefs.h <<_ACEOF
37337 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37338 _ACEOF
37339 cat >>confdefs.h <<\_ACEOF
37340 #define HAVE_INET_ADDR 1
37341 _ACEOF
37342
37343 else
37344
37345 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37346 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37347 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37348 echo $ECHO_N "(cached) $ECHO_C" >&6
37349 else
37350 ac_check_lib_save_LIBS=$LIBS
37351 LIBS="-lnsl $LIBS"
37352 cat >conftest.$ac_ext <<_ACEOF
37353 /* confdefs.h. */
37354 _ACEOF
37355 cat confdefs.h >>conftest.$ac_ext
37356 cat >>conftest.$ac_ext <<_ACEOF
37357 /* end confdefs.h. */
37358
37359 /* Override any GCC internal prototype to avoid an error.
37360 Use char because int might match the return type of a GCC
37361 builtin and then its argument prototype would still apply. */
37362 #ifdef __cplusplus
37363 extern "C"
37364 #endif
37365 char inet_addr ();
37366 int
37367 main ()
37368 {
37369 return inet_addr ();
37370 ;
37371 return 0;
37372 }
37373 _ACEOF
37374 rm -f conftest.$ac_objext conftest$ac_exeext
37375 if { (ac_try="$ac_link"
37376 case "(($ac_try" in
37377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37378 *) ac_try_echo=$ac_try;;
37379 esac
37380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37381 (eval "$ac_link") 2>conftest.er1
37382 ac_status=$?
37383 grep -v '^ *+' conftest.er1 >conftest.err
37384 rm -f conftest.er1
37385 cat conftest.err >&5
37386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37387 (exit $ac_status); } && {
37388 test -z "$ac_c_werror_flag" ||
37389 test ! -s conftest.err
37390 } && test -s conftest$ac_exeext &&
37391 $as_test_x conftest$ac_exeext; then
37392 ac_cv_lib_nsl_inet_addr=yes
37393 else
37394 echo "$as_me: failed program was:" >&5
37395 sed 's/^/| /' conftest.$ac_ext >&5
37396
37397 ac_cv_lib_nsl_inet_addr=no
37398 fi
37399
37400 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37401 conftest$ac_exeext conftest.$ac_ext
37402 LIBS=$ac_check_lib_save_LIBS
37403 fi
37404 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37405 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37406 if test $ac_cv_lib_nsl_inet_addr = yes; then
37407 INET_LINK="nsl"
37408 else
37409
37410 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37411 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37412 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37413 echo $ECHO_N "(cached) $ECHO_C" >&6
37414 else
37415 ac_check_lib_save_LIBS=$LIBS
37416 LIBS="-lresolv $LIBS"
37417 cat >conftest.$ac_ext <<_ACEOF
37418 /* confdefs.h. */
37419 _ACEOF
37420 cat confdefs.h >>conftest.$ac_ext
37421 cat >>conftest.$ac_ext <<_ACEOF
37422 /* end confdefs.h. */
37423
37424 /* Override any GCC internal prototype to avoid an error.
37425 Use char because int might match the return type of a GCC
37426 builtin and then its argument prototype would still apply. */
37427 #ifdef __cplusplus
37428 extern "C"
37429 #endif
37430 char inet_addr ();
37431 int
37432 main ()
37433 {
37434 return inet_addr ();
37435 ;
37436 return 0;
37437 }
37438 _ACEOF
37439 rm -f conftest.$ac_objext conftest$ac_exeext
37440 if { (ac_try="$ac_link"
37441 case "(($ac_try" in
37442 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37443 *) ac_try_echo=$ac_try;;
37444 esac
37445 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37446 (eval "$ac_link") 2>conftest.er1
37447 ac_status=$?
37448 grep -v '^ *+' conftest.er1 >conftest.err
37449 rm -f conftest.er1
37450 cat conftest.err >&5
37451 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37452 (exit $ac_status); } && {
37453 test -z "$ac_c_werror_flag" ||
37454 test ! -s conftest.err
37455 } && test -s conftest$ac_exeext &&
37456 $as_test_x conftest$ac_exeext; then
37457 ac_cv_lib_resolv_inet_addr=yes
37458 else
37459 echo "$as_me: failed program was:" >&5
37460 sed 's/^/| /' conftest.$ac_ext >&5
37461
37462 ac_cv_lib_resolv_inet_addr=no
37463 fi
37464
37465 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37466 conftest$ac_exeext conftest.$ac_ext
37467 LIBS=$ac_check_lib_save_LIBS
37468 fi
37469 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37470 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37471 if test $ac_cv_lib_resolv_inet_addr = yes; then
37472 INET_LINK="resolv"
37473 else
37474
37475 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37476 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37477 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37478 echo $ECHO_N "(cached) $ECHO_C" >&6
37479 else
37480 ac_check_lib_save_LIBS=$LIBS
37481 LIBS="-lsocket $LIBS"
37482 cat >conftest.$ac_ext <<_ACEOF
37483 /* confdefs.h. */
37484 _ACEOF
37485 cat confdefs.h >>conftest.$ac_ext
37486 cat >>conftest.$ac_ext <<_ACEOF
37487 /* end confdefs.h. */
37488
37489 /* Override any GCC internal prototype to avoid an error.
37490 Use char because int might match the return type of a GCC
37491 builtin and then its argument prototype would still apply. */
37492 #ifdef __cplusplus
37493 extern "C"
37494 #endif
37495 char inet_addr ();
37496 int
37497 main ()
37498 {
37499 return inet_addr ();
37500 ;
37501 return 0;
37502 }
37503 _ACEOF
37504 rm -f conftest.$ac_objext conftest$ac_exeext
37505 if { (ac_try="$ac_link"
37506 case "(($ac_try" in
37507 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37508 *) ac_try_echo=$ac_try;;
37509 esac
37510 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37511 (eval "$ac_link") 2>conftest.er1
37512 ac_status=$?
37513 grep -v '^ *+' conftest.er1 >conftest.err
37514 rm -f conftest.er1
37515 cat conftest.err >&5
37516 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37517 (exit $ac_status); } && {
37518 test -z "$ac_c_werror_flag" ||
37519 test ! -s conftest.err
37520 } && test -s conftest$ac_exeext &&
37521 $as_test_x conftest$ac_exeext; then
37522 ac_cv_lib_socket_inet_addr=yes
37523 else
37524 echo "$as_me: failed program was:" >&5
37525 sed 's/^/| /' conftest.$ac_ext >&5
37526
37527 ac_cv_lib_socket_inet_addr=no
37528 fi
37529
37530 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37531 conftest$ac_exeext conftest.$ac_ext
37532 LIBS=$ac_check_lib_save_LIBS
37533 fi
37534 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37535 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37536 if test $ac_cv_lib_socket_inet_addr = yes; then
37537 INET_LINK="socket"
37538
37539 fi
37540
37541
37542
37543 fi
37544
37545
37546
37547 fi
37548
37549
37550
37551 fi
37552 done
37553
37554
37555
37556 for ac_func in inet_aton
37557 do
37558 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37559 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37560 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37561 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37562 echo $ECHO_N "(cached) $ECHO_C" >&6
37563 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37571 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37572 #define $ac_func innocuous_$ac_func
37573
37574 /* System header to define __stub macros and hopefully few prototypes,
37575 which can conflict with char $ac_func (); below.
37576 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37577 <limits.h> exists even on freestanding compilers. */
37578
37579 #ifdef __STDC__
37580 # include <limits.h>
37581 #else
37582 # include <assert.h>
37583 #endif
37584
37585 #undef $ac_func
37586
37587 /* Override any GCC internal prototype to avoid an error.
37588 Use char because int might match the return type of a GCC
37589 builtin and then its argument prototype would still apply. */
37590 #ifdef __cplusplus
37591 extern "C"
37592 #endif
37593 char $ac_func ();
37594 /* The GNU C library defines this for functions which it implements
37595 to always fail with ENOSYS. Some functions are actually named
37596 something starting with __ and the normal name is an alias. */
37597 #if defined __stub_$ac_func || defined __stub___$ac_func
37598 choke me
37599 #endif
37600
37601 int
37602 main ()
37603 {
37604 return $ac_func ();
37605 ;
37606 return 0;
37607 }
37608 _ACEOF
37609 rm -f conftest.$ac_objext conftest$ac_exeext
37610 if { (ac_try="$ac_link"
37611 case "(($ac_try" in
37612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37613 *) ac_try_echo=$ac_try;;
37614 esac
37615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37616 (eval "$ac_link") 2>conftest.er1
37617 ac_status=$?
37618 grep -v '^ *+' conftest.er1 >conftest.err
37619 rm -f conftest.er1
37620 cat conftest.err >&5
37621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37622 (exit $ac_status); } && {
37623 test -z "$ac_c_werror_flag" ||
37624 test ! -s conftest.err
37625 } && test -s conftest$ac_exeext &&
37626 $as_test_x conftest$ac_exeext; then
37627 eval "$as_ac_var=yes"
37628 else
37629 echo "$as_me: failed program was:" >&5
37630 sed 's/^/| /' conftest.$ac_ext >&5
37631
37632 eval "$as_ac_var=no"
37633 fi
37634
37635 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37636 conftest$ac_exeext conftest.$ac_ext
37637 fi
37638 ac_res=`eval echo '${'$as_ac_var'}'`
37639 { echo "$as_me:$LINENO: result: $ac_res" >&5
37640 echo "${ECHO_T}$ac_res" >&6; }
37641 if test `eval echo '${'$as_ac_var'}'` = yes; then
37642 cat >>confdefs.h <<_ACEOF
37643 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37644 _ACEOF
37645 cat >>confdefs.h <<\_ACEOF
37646 #define HAVE_INET_ATON 1
37647 _ACEOF
37648
37649 else
37650
37651 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37652 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37653 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37654 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37655 echo $ECHO_N "(cached) $ECHO_C" >&6
37656 else
37657 ac_check_lib_save_LIBS=$LIBS
37658 LIBS="-l$INET_LINK $LIBS"
37659 cat >conftest.$ac_ext <<_ACEOF
37660 /* confdefs.h. */
37661 _ACEOF
37662 cat confdefs.h >>conftest.$ac_ext
37663 cat >>conftest.$ac_ext <<_ACEOF
37664 /* end confdefs.h. */
37665
37666 /* Override any GCC internal prototype to avoid an error.
37667 Use char because int might match the return type of a GCC
37668 builtin and then its argument prototype would still apply. */
37669 #ifdef __cplusplus
37670 extern "C"
37671 #endif
37672 char inet_aton ();
37673 int
37674 main ()
37675 {
37676 return inet_aton ();
37677 ;
37678 return 0;
37679 }
37680 _ACEOF
37681 rm -f conftest.$ac_objext conftest$ac_exeext
37682 if { (ac_try="$ac_link"
37683 case "(($ac_try" in
37684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37685 *) ac_try_echo=$ac_try;;
37686 esac
37687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37688 (eval "$ac_link") 2>conftest.er1
37689 ac_status=$?
37690 grep -v '^ *+' conftest.er1 >conftest.err
37691 rm -f conftest.er1
37692 cat conftest.err >&5
37693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37694 (exit $ac_status); } && {
37695 test -z "$ac_c_werror_flag" ||
37696 test ! -s conftest.err
37697 } && test -s conftest$ac_exeext &&
37698 $as_test_x conftest$ac_exeext; then
37699 eval "$as_ac_Lib=yes"
37700 else
37701 echo "$as_me: failed program was:" >&5
37702 sed 's/^/| /' conftest.$ac_ext >&5
37703
37704 eval "$as_ac_Lib=no"
37705 fi
37706
37707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37708 conftest$ac_exeext conftest.$ac_ext
37709 LIBS=$ac_check_lib_save_LIBS
37710 fi
37711 ac_res=`eval echo '${'$as_ac_Lib'}'`
37712 { echo "$as_me:$LINENO: result: $ac_res" >&5
37713 echo "${ECHO_T}$ac_res" >&6; }
37714 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37715 cat >>confdefs.h <<\_ACEOF
37716 #define HAVE_INET_ATON 1
37717 _ACEOF
37718
37719 fi
37720
37721
37722 fi
37723 done
37724
37725
37726 if test "x$INET_LINK" != "x"; then
37727 cat >>confdefs.h <<\_ACEOF
37728 #define HAVE_INET_ADDR 1
37729 _ACEOF
37730
37731 INET_LINK=" -l$INET_LINK"
37732 fi
37733
37734
37735 for wx_func in fdopen
37736 do
37737 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37738 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37739 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37741 else
37742
37743 cat >conftest.$ac_ext <<_ACEOF
37744
37745 /* confdefs.h. */
37746 _ACEOF
37747 cat confdefs.h >>conftest.$ac_ext
37748 cat >>conftest.$ac_ext <<_ACEOF
37749 /* end confdefs.h. */
37750
37751
37752 $ac_includes_default
37753
37754 int
37755 main ()
37756 {
37757
37758 #ifndef $wx_func
37759 &$wx_func;
37760 #endif
37761
37762
37763 ;
37764 return 0;
37765 }
37766
37767 _ACEOF
37768 rm -f conftest.$ac_objext conftest$ac_exeext
37769 if { (ac_try="$ac_link"
37770 case "(($ac_try" in
37771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37772 *) ac_try_echo=$ac_try;;
37773 esac
37774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37775 (eval "$ac_link") 2>conftest.er1
37776 ac_status=$?
37777 grep -v '^ *+' conftest.er1 >conftest.err
37778 rm -f conftest.er1
37779 cat conftest.err >&5
37780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37781 (exit $ac_status); } && {
37782 test -z "$ac_c_werror_flag" ||
37783 test ! -s conftest.err
37784 } && test -s conftest$ac_exeext &&
37785 $as_test_x conftest$ac_exeext; then
37786 eval wx_cv_func_$wx_func=yes
37787 else
37788 echo "$as_me: failed program was:" >&5
37789 sed 's/^/| /' conftest.$ac_ext >&5
37790
37791 eval wx_cv_func_$wx_func=no
37792 fi
37793
37794 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37795 conftest$ac_exeext conftest.$ac_ext
37796
37797 fi
37798 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37799 { echo "$as_me:$LINENO: result: $ac_res" >&5
37800 echo "${ECHO_T}$ac_res" >&6; }
37801
37802 if eval test \$wx_cv_func_$wx_func = yes
37803 then
37804 cat >>confdefs.h <<_ACEOF
37805 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37806 _ACEOF
37807
37808
37809 else
37810 :
37811
37812 fi
37813 done
37814
37815
37816 fi
37817
37818
37819
37820 cat >confcache <<\_ACEOF
37821 # This file is a shell script that caches the results of configure
37822 # tests run on this system so they can be shared between configure
37823 # scripts and configure runs, see configure's option --config-cache.
37824 # It is not useful on other systems. If it contains results you don't
37825 # want to keep, you may remove or edit it.
37826 #
37827 # config.status only pays attention to the cache file if you give it
37828 # the --recheck option to rerun configure.
37829 #
37830 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37831 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37832 # following values.
37833
37834 _ACEOF
37835
37836 # The following way of writing the cache mishandles newlines in values,
37837 # but we know of no workaround that is simple, portable, and efficient.
37838 # So, we kill variables containing newlines.
37839 # Ultrix sh set writes to stderr and can't be redirected directly,
37840 # and sets the high bit in the cache file unless we assign to the vars.
37841 (
37842 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37843 eval ac_val=\$$ac_var
37844 case $ac_val in #(
37845 *${as_nl}*)
37846 case $ac_var in #(
37847 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37848 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37849 esac
37850 case $ac_var in #(
37851 _ | IFS | as_nl) ;; #(
37852 *) $as_unset $ac_var ;;
37853 esac ;;
37854 esac
37855 done
37856
37857 (set) 2>&1 |
37858 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37859 *${as_nl}ac_space=\ *)
37860 # `set' does not quote correctly, so add quotes (double-quote
37861 # substitution turns \\\\ into \\, and sed turns \\ into \).
37862 sed -n \
37863 "s/'/'\\\\''/g;
37864 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37865 ;; #(
37866 *)
37867 # `set' quotes correctly as required by POSIX, so do not add quotes.
37868 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37869 ;;
37870 esac |
37871 sort
37872 ) |
37873 sed '
37874 /^ac_cv_env_/b end
37875 t clear
37876 :clear
37877 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37878 t end
37879 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37880 :end' >>confcache
37881 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37882 if test -w "$cache_file"; then
37883 test "x$cache_file" != "x/dev/null" &&
37884 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37885 echo "$as_me: updating cache $cache_file" >&6;}
37886 cat confcache >$cache_file
37887 else
37888 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37889 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37890 fi
37891 fi
37892 rm -f confcache
37893
37894
37895 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37896
37897
37898 THREADS_LINK=
37899 THREADS_CFLAGS=
37900
37901 if test "$wxUSE_THREADS" = "yes" ; then
37902 if test "$USE_BEOS" = 1; then
37903 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37904 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37905 wxUSE_THREADS="no"
37906 fi
37907 fi
37908
37909 if test "$wxUSE_THREADS" = "yes" ; then
37910
37911
37912 THREAD_OPTS="-pthread"
37913 case "${host}" in
37914 *-*-solaris2* | *-*-sunos4* )
37915 if test "x$GCC" = "xyes"; then
37916 THREAD_OPTS="-pthreads $THREAD_OPTS"
37917 else
37918 THREAD_OPTS="-mt $THREAD_OPTS"
37919 fi
37920 ;;
37921 *-*-freebsd*)
37922 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37923 ;;
37924 *-*-darwin* | *-*-cygwin* )
37925 THREAD_OPTS=""
37926 ;;
37927 *-*-aix*)
37928 THREAD_OPTS="pthreads"
37929 ;;
37930 *-hp-hpux* )
37931 if test "x$GCC" = "xyes"; then
37932 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37933 THREAD_OPTS=""
37934 else
37935 THREAD_OPTS="-mt"
37936 fi
37937 ;;
37938
37939 *-*-irix* )
37940 if test "x$GCC" = "xyes"; then
37941 THREAD_OPTS=""
37942 fi
37943 ;;
37944
37945 *-*-*UnixWare*)
37946 if test "x$GCC" != "xyes"; then
37947 THREAD_OPTS="-Ethread"
37948 fi
37949 ;;
37950 esac
37951
37952 THREAD_OPTS="$THREAD_OPTS pthread none"
37953
37954 THREADS_OK=no
37955 for flag in $THREAD_OPTS; do
37956 case $flag in
37957 none)
37958 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37959 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37960 ;;
37961
37962 -*)
37963 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37964 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37965 THREADS_CFLAGS="$flag"
37966 ;;
37967
37968 *)
37969 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37970 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37971 THREADS_LINK="-l$flag"
37972 ;;
37973 esac
37974
37975 save_LIBS="$LIBS"
37976 save_CFLAGS="$CFLAGS"
37977 LIBS="$THREADS_LINK $LIBS"
37978 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37979
37980 cat >conftest.$ac_ext <<_ACEOF
37981 /* confdefs.h. */
37982 _ACEOF
37983 cat confdefs.h >>conftest.$ac_ext
37984 cat >>conftest.$ac_ext <<_ACEOF
37985 /* end confdefs.h. */
37986 #include <pthread.h>
37987 int
37988 main ()
37989 {
37990 pthread_create(0,0,0,0);
37991 ;
37992 return 0;
37993 }
37994 _ACEOF
37995 rm -f conftest.$ac_objext conftest$ac_exeext
37996 if { (ac_try="$ac_link"
37997 case "(($ac_try" in
37998 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37999 *) ac_try_echo=$ac_try;;
38000 esac
38001 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38002 (eval "$ac_link") 2>conftest.er1
38003 ac_status=$?
38004 grep -v '^ *+' conftest.er1 >conftest.err
38005 rm -f conftest.er1
38006 cat conftest.err >&5
38007 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38008 (exit $ac_status); } && {
38009 test -z "$ac_c_werror_flag" ||
38010 test ! -s conftest.err
38011 } && test -s conftest$ac_exeext &&
38012 $as_test_x conftest$ac_exeext; then
38013 THREADS_OK=yes
38014 else
38015 echo "$as_me: failed program was:" >&5
38016 sed 's/^/| /' conftest.$ac_ext >&5
38017
38018
38019 fi
38020
38021 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38022 conftest$ac_exeext conftest.$ac_ext
38023
38024 LIBS="$save_LIBS"
38025 CFLAGS="$save_CFLAGS"
38026
38027 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
38028 echo "${ECHO_T}$THREADS_OK" >&6; }
38029 if test "x$THREADS_OK" = "xyes"; then
38030 break;
38031 fi
38032
38033 THREADS_LINK=""
38034 THREADS_CFLAGS=""
38035 done
38036
38037 if test "x$THREADS_OK" != "xyes"; then
38038 wxUSE_THREADS=no
38039 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
38040 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
38041 else
38042 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
38043 LIBS="$THREADS_LINK $LIBS"
38044
38045 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
38046 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
38047 flag=no
38048 case "${host}" in
38049 *-aix*)
38050 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
38051 flag="-D_THREAD_SAFE"
38052 ;;
38053 *-freebsd*)
38054 flag="-D_THREAD_SAFE"
38055 ;;
38056 *-hp-hpux* )
38057 flag="-D_REENTRANT"
38058 if test "x$GCC" != "xyes"; then
38059 flag="$flag -D_RWSTD_MULTI_THREAD"
38060 fi
38061 ;;
38062 *solaris* | alpha*-osf*)
38063 flag="-D_REENTRANT"
38064 ;;
38065 esac
38066 { echo "$as_me:$LINENO: result: ${flag}" >&5
38067 echo "${ECHO_T}${flag}" >&6; }
38068 if test "x$flag" != xno; then
38069 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
38070 fi
38071
38072 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
38073 fi
38074 fi
38075
38076 if test "$wxUSE_THREADS" = "yes" ; then
38077
38078 for ac_func in thr_setconcurrency
38079 do
38080 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
38081 { echo "$as_me:$LINENO: checking for $ac_func" >&5
38082 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
38083 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
38084 echo $ECHO_N "(cached) $ECHO_C" >&6
38085 else
38086 cat >conftest.$ac_ext <<_ACEOF
38087 /* confdefs.h. */
38088 _ACEOF
38089 cat confdefs.h >>conftest.$ac_ext
38090 cat >>conftest.$ac_ext <<_ACEOF
38091 /* end confdefs.h. */
38092 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
38093 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38094 #define $ac_func innocuous_$ac_func
38095
38096 /* System header to define __stub macros and hopefully few prototypes,
38097 which can conflict with char $ac_func (); below.
38098 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38099 <limits.h> exists even on freestanding compilers. */
38100
38101 #ifdef __STDC__
38102 # include <limits.h>
38103 #else
38104 # include <assert.h>
38105 #endif
38106
38107 #undef $ac_func
38108
38109 /* Override any GCC internal prototype to avoid an error.
38110 Use char because int might match the return type of a GCC
38111 builtin and then its argument prototype would still apply. */
38112 #ifdef __cplusplus
38113 extern "C"
38114 #endif
38115 char $ac_func ();
38116 /* The GNU C library defines this for functions which it implements
38117 to always fail with ENOSYS. Some functions are actually named
38118 something starting with __ and the normal name is an alias. */
38119 #if defined __stub_$ac_func || defined __stub___$ac_func
38120 choke me
38121 #endif
38122
38123 int
38124 main ()
38125 {
38126 return $ac_func ();
38127 ;
38128 return 0;
38129 }
38130 _ACEOF
38131 rm -f conftest.$ac_objext conftest$ac_exeext
38132 if { (ac_try="$ac_link"
38133 case "(($ac_try" in
38134 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38135 *) ac_try_echo=$ac_try;;
38136 esac
38137 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38138 (eval "$ac_link") 2>conftest.er1
38139 ac_status=$?
38140 grep -v '^ *+' conftest.er1 >conftest.err
38141 rm -f conftest.er1
38142 cat conftest.err >&5
38143 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38144 (exit $ac_status); } && {
38145 test -z "$ac_c_werror_flag" ||
38146 test ! -s conftest.err
38147 } && test -s conftest$ac_exeext &&
38148 $as_test_x conftest$ac_exeext; then
38149 eval "$as_ac_var=yes"
38150 else
38151 echo "$as_me: failed program was:" >&5
38152 sed 's/^/| /' conftest.$ac_ext >&5
38153
38154 eval "$as_ac_var=no"
38155 fi
38156
38157 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38158 conftest$ac_exeext conftest.$ac_ext
38159 fi
38160 ac_res=`eval echo '${'$as_ac_var'}'`
38161 { echo "$as_me:$LINENO: result: $ac_res" >&5
38162 echo "${ECHO_T}$ac_res" >&6; }
38163 if test `eval echo '${'$as_ac_var'}'` = yes; then
38164 cat >>confdefs.h <<_ACEOF
38165 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
38166 _ACEOF
38167
38168 fi
38169 done
38170
38171
38172 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
38173 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
38174 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
38175 echo $ECHO_N "(cached) $ECHO_C" >&6
38176 else
38177
38178 cat >conftest.$ac_ext <<_ACEOF
38179 /* confdefs.h. */
38180 _ACEOF
38181 cat confdefs.h >>conftest.$ac_ext
38182 cat >>conftest.$ac_ext <<_ACEOF
38183 /* end confdefs.h. */
38184 #include <pthread.h>
38185 void ThreadCleanupFunc(void *p);
38186
38187 int
38188 main ()
38189 {
38190
38191 void *p;
38192 pthread_cleanup_push(ThreadCleanupFunc, p);
38193 pthread_cleanup_pop(0);
38194
38195 ;
38196 return 0;
38197 }
38198 _ACEOF
38199 rm -f conftest.$ac_objext
38200 if { (ac_try="$ac_compile"
38201 case "(($ac_try" in
38202 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38203 *) ac_try_echo=$ac_try;;
38204 esac
38205 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38206 (eval "$ac_compile") 2>conftest.er1
38207 ac_status=$?
38208 grep -v '^ *+' conftest.er1 >conftest.err
38209 rm -f conftest.er1
38210 cat conftest.err >&5
38211 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38212 (exit $ac_status); } && {
38213 test -z "$ac_c_werror_flag" ||
38214 test ! -s conftest.err
38215 } && test -s conftest.$ac_objext; then
38216
38217 wx_cv_func_pthread_cleanup=yes
38218
38219 else
38220 echo "$as_me: failed program was:" >&5
38221 sed 's/^/| /' conftest.$ac_ext >&5
38222
38223
38224 wx_cv_func_pthread_cleanup=no
38225
38226
38227 fi
38228
38229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38230
38231 fi
38232 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
38233 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
38234 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
38235 cat >>confdefs.h <<\_ACEOF
38236 #define wxHAVE_PTHREAD_CLEANUP 1
38237 _ACEOF
38238
38239 fi
38240
38241 { echo "$as_me:$LINENO: checking for sched.h" >&5
38242 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
38243 if test "${ac_cv_header_sched_h+set}" = set; then
38244 echo $ECHO_N "(cached) $ECHO_C" >&6
38245 else
38246 cat >conftest.$ac_ext <<_ACEOF
38247 /* confdefs.h. */
38248 _ACEOF
38249 cat confdefs.h >>conftest.$ac_ext
38250 cat >>conftest.$ac_ext <<_ACEOF
38251 /* end confdefs.h. */
38252 $ac_includes_default
38253
38254 #include <sched.h>
38255 _ACEOF
38256 rm -f conftest.$ac_objext
38257 if { (ac_try="$ac_compile"
38258 case "(($ac_try" in
38259 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38260 *) ac_try_echo=$ac_try;;
38261 esac
38262 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38263 (eval "$ac_compile") 2>conftest.er1
38264 ac_status=$?
38265 grep -v '^ *+' conftest.er1 >conftest.err
38266 rm -f conftest.er1
38267 cat conftest.err >&5
38268 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38269 (exit $ac_status); } && {
38270 test -z "$ac_c_werror_flag" ||
38271 test ! -s conftest.err
38272 } && test -s conftest.$ac_objext; then
38273 ac_cv_header_sched_h=yes
38274 else
38275 echo "$as_me: failed program was:" >&5
38276 sed 's/^/| /' conftest.$ac_ext >&5
38277
38278 ac_cv_header_sched_h=no
38279 fi
38280
38281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38282 fi
38283 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
38284 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
38285
38286
38287 if test "$ac_cv_header_sched_h" = "yes"; then
38288 { echo "$as_me:$LINENO: checking for sched_yield" >&5
38289 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
38290 if test "${ac_cv_func_sched_yield+set}" = set; then
38291 echo $ECHO_N "(cached) $ECHO_C" >&6
38292 else
38293 cat >conftest.$ac_ext <<_ACEOF
38294 /* confdefs.h. */
38295 _ACEOF
38296 cat confdefs.h >>conftest.$ac_ext
38297 cat >>conftest.$ac_ext <<_ACEOF
38298 /* end confdefs.h. */
38299 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
38300 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38301 #define sched_yield innocuous_sched_yield
38302
38303 /* System header to define __stub macros and hopefully few prototypes,
38304 which can conflict with char sched_yield (); below.
38305 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38306 <limits.h> exists even on freestanding compilers. */
38307
38308 #ifdef __STDC__
38309 # include <limits.h>
38310 #else
38311 # include <assert.h>
38312 #endif
38313
38314 #undef sched_yield
38315
38316 /* Override any GCC internal prototype to avoid an error.
38317 Use char because int might match the return type of a GCC
38318 builtin and then its argument prototype would still apply. */
38319 #ifdef __cplusplus
38320 extern "C"
38321 #endif
38322 char sched_yield ();
38323 /* The GNU C library defines this for functions which it implements
38324 to always fail with ENOSYS. Some functions are actually named
38325 something starting with __ and the normal name is an alias. */
38326 #if defined __stub_sched_yield || defined __stub___sched_yield
38327 choke me
38328 #endif
38329
38330 int
38331 main ()
38332 {
38333 return sched_yield ();
38334 ;
38335 return 0;
38336 }
38337 _ACEOF
38338 rm -f conftest.$ac_objext conftest$ac_exeext
38339 if { (ac_try="$ac_link"
38340 case "(($ac_try" in
38341 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38342 *) ac_try_echo=$ac_try;;
38343 esac
38344 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38345 (eval "$ac_link") 2>conftest.er1
38346 ac_status=$?
38347 grep -v '^ *+' conftest.er1 >conftest.err
38348 rm -f conftest.er1
38349 cat conftest.err >&5
38350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38351 (exit $ac_status); } && {
38352 test -z "$ac_c_werror_flag" ||
38353 test ! -s conftest.err
38354 } && test -s conftest$ac_exeext &&
38355 $as_test_x conftest$ac_exeext; then
38356 ac_cv_func_sched_yield=yes
38357 else
38358 echo "$as_me: failed program was:" >&5
38359 sed 's/^/| /' conftest.$ac_ext >&5
38360
38361 ac_cv_func_sched_yield=no
38362 fi
38363
38364 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38365 conftest$ac_exeext conftest.$ac_ext
38366 fi
38367 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38368 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38369 if test $ac_cv_func_sched_yield = yes; then
38370 cat >>confdefs.h <<\_ACEOF
38371 #define HAVE_SCHED_YIELD 1
38372 _ACEOF
38373
38374 else
38375
38376 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38377 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38378 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38379 echo $ECHO_N "(cached) $ECHO_C" >&6
38380 else
38381 ac_check_lib_save_LIBS=$LIBS
38382 LIBS="-lposix4 $LIBS"
38383 cat >conftest.$ac_ext <<_ACEOF
38384 /* confdefs.h. */
38385 _ACEOF
38386 cat confdefs.h >>conftest.$ac_ext
38387 cat >>conftest.$ac_ext <<_ACEOF
38388 /* end confdefs.h. */
38389
38390 /* Override any GCC internal prototype to avoid an error.
38391 Use char because int might match the return type of a GCC
38392 builtin and then its argument prototype would still apply. */
38393 #ifdef __cplusplus
38394 extern "C"
38395 #endif
38396 char sched_yield ();
38397 int
38398 main ()
38399 {
38400 return sched_yield ();
38401 ;
38402 return 0;
38403 }
38404 _ACEOF
38405 rm -f conftest.$ac_objext conftest$ac_exeext
38406 if { (ac_try="$ac_link"
38407 case "(($ac_try" in
38408 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38409 *) ac_try_echo=$ac_try;;
38410 esac
38411 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38412 (eval "$ac_link") 2>conftest.er1
38413 ac_status=$?
38414 grep -v '^ *+' conftest.er1 >conftest.err
38415 rm -f conftest.er1
38416 cat conftest.err >&5
38417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38418 (exit $ac_status); } && {
38419 test -z "$ac_c_werror_flag" ||
38420 test ! -s conftest.err
38421 } && test -s conftest$ac_exeext &&
38422 $as_test_x conftest$ac_exeext; then
38423 ac_cv_lib_posix4_sched_yield=yes
38424 else
38425 echo "$as_me: failed program was:" >&5
38426 sed 's/^/| /' conftest.$ac_ext >&5
38427
38428 ac_cv_lib_posix4_sched_yield=no
38429 fi
38430
38431 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38432 conftest$ac_exeext conftest.$ac_ext
38433 LIBS=$ac_check_lib_save_LIBS
38434 fi
38435 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38436 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38437 if test $ac_cv_lib_posix4_sched_yield = yes; then
38438 cat >>confdefs.h <<\_ACEOF
38439 #define HAVE_SCHED_YIELD 1
38440 _ACEOF
38441 POSIX4_LINK=" -lposix4"
38442 else
38443 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38444 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38445
38446 fi
38447
38448
38449
38450 fi
38451
38452 fi
38453
38454 HAVE_PRIOR_FUNCS=0
38455 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38456 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38457 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38458 echo $ECHO_N "(cached) $ECHO_C" >&6
38459 else
38460 cat >conftest.$ac_ext <<_ACEOF
38461 /* confdefs.h. */
38462 _ACEOF
38463 cat confdefs.h >>conftest.$ac_ext
38464 cat >>conftest.$ac_ext <<_ACEOF
38465 /* end confdefs.h. */
38466 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38467 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38468 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38469
38470 /* System header to define __stub macros and hopefully few prototypes,
38471 which can conflict with char pthread_attr_getschedpolicy (); below.
38472 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38473 <limits.h> exists even on freestanding compilers. */
38474
38475 #ifdef __STDC__
38476 # include <limits.h>
38477 #else
38478 # include <assert.h>
38479 #endif
38480
38481 #undef pthread_attr_getschedpolicy
38482
38483 /* Override any GCC internal prototype to avoid an error.
38484 Use char because int might match the return type of a GCC
38485 builtin and then its argument prototype would still apply. */
38486 #ifdef __cplusplus
38487 extern "C"
38488 #endif
38489 char pthread_attr_getschedpolicy ();
38490 /* The GNU C library defines this for functions which it implements
38491 to always fail with ENOSYS. Some functions are actually named
38492 something starting with __ and the normal name is an alias. */
38493 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38494 choke me
38495 #endif
38496
38497 int
38498 main ()
38499 {
38500 return pthread_attr_getschedpolicy ();
38501 ;
38502 return 0;
38503 }
38504 _ACEOF
38505 rm -f conftest.$ac_objext conftest$ac_exeext
38506 if { (ac_try="$ac_link"
38507 case "(($ac_try" in
38508 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38509 *) ac_try_echo=$ac_try;;
38510 esac
38511 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38512 (eval "$ac_link") 2>conftest.er1
38513 ac_status=$?
38514 grep -v '^ *+' conftest.er1 >conftest.err
38515 rm -f conftest.er1
38516 cat conftest.err >&5
38517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38518 (exit $ac_status); } && {
38519 test -z "$ac_c_werror_flag" ||
38520 test ! -s conftest.err
38521 } && test -s conftest$ac_exeext &&
38522 $as_test_x conftest$ac_exeext; then
38523 ac_cv_func_pthread_attr_getschedpolicy=yes
38524 else
38525 echo "$as_me: failed program was:" >&5
38526 sed 's/^/| /' conftest.$ac_ext >&5
38527
38528 ac_cv_func_pthread_attr_getschedpolicy=no
38529 fi
38530
38531 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38532 conftest$ac_exeext conftest.$ac_ext
38533 fi
38534 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38535 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38536 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38537 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38538 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38539 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38540 echo $ECHO_N "(cached) $ECHO_C" >&6
38541 else
38542 cat >conftest.$ac_ext <<_ACEOF
38543 /* confdefs.h. */
38544 _ACEOF
38545 cat confdefs.h >>conftest.$ac_ext
38546 cat >>conftest.$ac_ext <<_ACEOF
38547 /* end confdefs.h. */
38548 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38549 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38550 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38551
38552 /* System header to define __stub macros and hopefully few prototypes,
38553 which can conflict with char pthread_attr_setschedparam (); below.
38554 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38555 <limits.h> exists even on freestanding compilers. */
38556
38557 #ifdef __STDC__
38558 # include <limits.h>
38559 #else
38560 # include <assert.h>
38561 #endif
38562
38563 #undef pthread_attr_setschedparam
38564
38565 /* Override any GCC internal prototype to avoid an error.
38566 Use char because int might match the return type of a GCC
38567 builtin and then its argument prototype would still apply. */
38568 #ifdef __cplusplus
38569 extern "C"
38570 #endif
38571 char pthread_attr_setschedparam ();
38572 /* The GNU C library defines this for functions which it implements
38573 to always fail with ENOSYS. Some functions are actually named
38574 something starting with __ and the normal name is an alias. */
38575 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38576 choke me
38577 #endif
38578
38579 int
38580 main ()
38581 {
38582 return pthread_attr_setschedparam ();
38583 ;
38584 return 0;
38585 }
38586 _ACEOF
38587 rm -f conftest.$ac_objext conftest$ac_exeext
38588 if { (ac_try="$ac_link"
38589 case "(($ac_try" in
38590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38591 *) ac_try_echo=$ac_try;;
38592 esac
38593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38594 (eval "$ac_link") 2>conftest.er1
38595 ac_status=$?
38596 grep -v '^ *+' conftest.er1 >conftest.err
38597 rm -f conftest.er1
38598 cat conftest.err >&5
38599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38600 (exit $ac_status); } && {
38601 test -z "$ac_c_werror_flag" ||
38602 test ! -s conftest.err
38603 } && test -s conftest$ac_exeext &&
38604 $as_test_x conftest$ac_exeext; then
38605 ac_cv_func_pthread_attr_setschedparam=yes
38606 else
38607 echo "$as_me: failed program was:" >&5
38608 sed 's/^/| /' conftest.$ac_ext >&5
38609
38610 ac_cv_func_pthread_attr_setschedparam=no
38611 fi
38612
38613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38614 conftest$ac_exeext conftest.$ac_ext
38615 fi
38616 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38617 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38618 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38619 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38620 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38621 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38622 echo $ECHO_N "(cached) $ECHO_C" >&6
38623 else
38624 cat >conftest.$ac_ext <<_ACEOF
38625 /* confdefs.h. */
38626 _ACEOF
38627 cat confdefs.h >>conftest.$ac_ext
38628 cat >>conftest.$ac_ext <<_ACEOF
38629 /* end confdefs.h. */
38630 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38631 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38632 #define sched_get_priority_max innocuous_sched_get_priority_max
38633
38634 /* System header to define __stub macros and hopefully few prototypes,
38635 which can conflict with char sched_get_priority_max (); below.
38636 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38637 <limits.h> exists even on freestanding compilers. */
38638
38639 #ifdef __STDC__
38640 # include <limits.h>
38641 #else
38642 # include <assert.h>
38643 #endif
38644
38645 #undef sched_get_priority_max
38646
38647 /* Override any GCC internal prototype to avoid an error.
38648 Use char because int might match the return type of a GCC
38649 builtin and then its argument prototype would still apply. */
38650 #ifdef __cplusplus
38651 extern "C"
38652 #endif
38653 char sched_get_priority_max ();
38654 /* The GNU C library defines this for functions which it implements
38655 to always fail with ENOSYS. Some functions are actually named
38656 something starting with __ and the normal name is an alias. */
38657 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38658 choke me
38659 #endif
38660
38661 int
38662 main ()
38663 {
38664 return sched_get_priority_max ();
38665 ;
38666 return 0;
38667 }
38668 _ACEOF
38669 rm -f conftest.$ac_objext conftest$ac_exeext
38670 if { (ac_try="$ac_link"
38671 case "(($ac_try" in
38672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38673 *) ac_try_echo=$ac_try;;
38674 esac
38675 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38676 (eval "$ac_link") 2>conftest.er1
38677 ac_status=$?
38678 grep -v '^ *+' conftest.er1 >conftest.err
38679 rm -f conftest.er1
38680 cat conftest.err >&5
38681 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38682 (exit $ac_status); } && {
38683 test -z "$ac_c_werror_flag" ||
38684 test ! -s conftest.err
38685 } && test -s conftest$ac_exeext &&
38686 $as_test_x conftest$ac_exeext; then
38687 ac_cv_func_sched_get_priority_max=yes
38688 else
38689 echo "$as_me: failed program was:" >&5
38690 sed 's/^/| /' conftest.$ac_ext >&5
38691
38692 ac_cv_func_sched_get_priority_max=no
38693 fi
38694
38695 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38696 conftest$ac_exeext conftest.$ac_ext
38697 fi
38698 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38699 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38700 if test $ac_cv_func_sched_get_priority_max = yes; then
38701 HAVE_PRIOR_FUNCS=1
38702 else
38703 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38704 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38705 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38706 echo $ECHO_N "(cached) $ECHO_C" >&6
38707 else
38708 ac_check_lib_save_LIBS=$LIBS
38709 LIBS="-lposix4 $LIBS"
38710 cat >conftest.$ac_ext <<_ACEOF
38711 /* confdefs.h. */
38712 _ACEOF
38713 cat confdefs.h >>conftest.$ac_ext
38714 cat >>conftest.$ac_ext <<_ACEOF
38715 /* end confdefs.h. */
38716
38717 /* Override any GCC internal prototype to avoid an error.
38718 Use char because int might match the return type of a GCC
38719 builtin and then its argument prototype would still apply. */
38720 #ifdef __cplusplus
38721 extern "C"
38722 #endif
38723 char sched_get_priority_max ();
38724 int
38725 main ()
38726 {
38727 return sched_get_priority_max ();
38728 ;
38729 return 0;
38730 }
38731 _ACEOF
38732 rm -f conftest.$ac_objext conftest$ac_exeext
38733 if { (ac_try="$ac_link"
38734 case "(($ac_try" in
38735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38736 *) ac_try_echo=$ac_try;;
38737 esac
38738 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38739 (eval "$ac_link") 2>conftest.er1
38740 ac_status=$?
38741 grep -v '^ *+' conftest.er1 >conftest.err
38742 rm -f conftest.er1
38743 cat conftest.err >&5
38744 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38745 (exit $ac_status); } && {
38746 test -z "$ac_c_werror_flag" ||
38747 test ! -s conftest.err
38748 } && test -s conftest$ac_exeext &&
38749 $as_test_x conftest$ac_exeext; then
38750 ac_cv_lib_posix4_sched_get_priority_max=yes
38751 else
38752 echo "$as_me: failed program was:" >&5
38753 sed 's/^/| /' conftest.$ac_ext >&5
38754
38755 ac_cv_lib_posix4_sched_get_priority_max=no
38756 fi
38757
38758 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38759 conftest$ac_exeext conftest.$ac_ext
38760 LIBS=$ac_check_lib_save_LIBS
38761 fi
38762 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38763 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38764 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38765
38766 HAVE_PRIOR_FUNCS=1
38767 POSIX4_LINK=" -lposix4"
38768
38769 fi
38770
38771
38772 fi
38773
38774
38775 fi
38776
38777
38778 fi
38779
38780
38781 if test "$HAVE_PRIOR_FUNCS" = 1; then
38782 cat >>confdefs.h <<\_ACEOF
38783 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38784 _ACEOF
38785
38786 else
38787 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38788 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38789 fi
38790
38791 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38792 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38793 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38794 echo $ECHO_N "(cached) $ECHO_C" >&6
38795 else
38796 cat >conftest.$ac_ext <<_ACEOF
38797 /* confdefs.h. */
38798 _ACEOF
38799 cat confdefs.h >>conftest.$ac_ext
38800 cat >>conftest.$ac_ext <<_ACEOF
38801 /* end confdefs.h. */
38802 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38803 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38804 #define pthread_cancel innocuous_pthread_cancel
38805
38806 /* System header to define __stub macros and hopefully few prototypes,
38807 which can conflict with char pthread_cancel (); below.
38808 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38809 <limits.h> exists even on freestanding compilers. */
38810
38811 #ifdef __STDC__
38812 # include <limits.h>
38813 #else
38814 # include <assert.h>
38815 #endif
38816
38817 #undef pthread_cancel
38818
38819 /* Override any GCC internal prototype to avoid an error.
38820 Use char because int might match the return type of a GCC
38821 builtin and then its argument prototype would still apply. */
38822 #ifdef __cplusplus
38823 extern "C"
38824 #endif
38825 char pthread_cancel ();
38826 /* The GNU C library defines this for functions which it implements
38827 to always fail with ENOSYS. Some functions are actually named
38828 something starting with __ and the normal name is an alias. */
38829 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38830 choke me
38831 #endif
38832
38833 int
38834 main ()
38835 {
38836 return pthread_cancel ();
38837 ;
38838 return 0;
38839 }
38840 _ACEOF
38841 rm -f conftest.$ac_objext conftest$ac_exeext
38842 if { (ac_try="$ac_link"
38843 case "(($ac_try" in
38844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38845 *) ac_try_echo=$ac_try;;
38846 esac
38847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38848 (eval "$ac_link") 2>conftest.er1
38849 ac_status=$?
38850 grep -v '^ *+' conftest.er1 >conftest.err
38851 rm -f conftest.er1
38852 cat conftest.err >&5
38853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38854 (exit $ac_status); } && {
38855 test -z "$ac_c_werror_flag" ||
38856 test ! -s conftest.err
38857 } && test -s conftest$ac_exeext &&
38858 $as_test_x conftest$ac_exeext; then
38859 ac_cv_func_pthread_cancel=yes
38860 else
38861 echo "$as_me: failed program was:" >&5
38862 sed 's/^/| /' conftest.$ac_ext >&5
38863
38864 ac_cv_func_pthread_cancel=no
38865 fi
38866
38867 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38868 conftest$ac_exeext conftest.$ac_ext
38869 fi
38870 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38871 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38872 if test $ac_cv_func_pthread_cancel = yes; then
38873 cat >>confdefs.h <<\_ACEOF
38874 #define HAVE_PTHREAD_CANCEL 1
38875 _ACEOF
38876
38877 else
38878 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38879 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38880 fi
38881
38882
38883 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38884 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38885 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38886 echo $ECHO_N "(cached) $ECHO_C" >&6
38887 else
38888 cat >conftest.$ac_ext <<_ACEOF
38889 /* confdefs.h. */
38890 _ACEOF
38891 cat confdefs.h >>conftest.$ac_ext
38892 cat >>conftest.$ac_ext <<_ACEOF
38893 /* end confdefs.h. */
38894 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38895 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38896 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38897
38898 /* System header to define __stub macros and hopefully few prototypes,
38899 which can conflict with char pthread_mutex_timedlock (); below.
38900 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38901 <limits.h> exists even on freestanding compilers. */
38902
38903 #ifdef __STDC__
38904 # include <limits.h>
38905 #else
38906 # include <assert.h>
38907 #endif
38908
38909 #undef pthread_mutex_timedlock
38910
38911 /* Override any GCC internal prototype to avoid an error.
38912 Use char because int might match the return type of a GCC
38913 builtin and then its argument prototype would still apply. */
38914 #ifdef __cplusplus
38915 extern "C"
38916 #endif
38917 char pthread_mutex_timedlock ();
38918 /* The GNU C library defines this for functions which it implements
38919 to always fail with ENOSYS. Some functions are actually named
38920 something starting with __ and the normal name is an alias. */
38921 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38922 choke me
38923 #endif
38924
38925 int
38926 main ()
38927 {
38928 return pthread_mutex_timedlock ();
38929 ;
38930 return 0;
38931 }
38932 _ACEOF
38933 rm -f conftest.$ac_objext conftest$ac_exeext
38934 if { (ac_try="$ac_link"
38935 case "(($ac_try" in
38936 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38937 *) ac_try_echo=$ac_try;;
38938 esac
38939 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38940 (eval "$ac_link") 2>conftest.er1
38941 ac_status=$?
38942 grep -v '^ *+' conftest.er1 >conftest.err
38943 rm -f conftest.er1
38944 cat conftest.err >&5
38945 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38946 (exit $ac_status); } && {
38947 test -z "$ac_c_werror_flag" ||
38948 test ! -s conftest.err
38949 } && test -s conftest$ac_exeext &&
38950 $as_test_x conftest$ac_exeext; then
38951 ac_cv_func_pthread_mutex_timedlock=yes
38952 else
38953 echo "$as_me: failed program was:" >&5
38954 sed 's/^/| /' conftest.$ac_ext >&5
38955
38956 ac_cv_func_pthread_mutex_timedlock=no
38957 fi
38958
38959 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38960 conftest$ac_exeext conftest.$ac_ext
38961 fi
38962 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38963 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38964 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38965 cat >>confdefs.h <<\_ACEOF
38966 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38967 _ACEOF
38968
38969 else
38970 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38971 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38972 fi
38973
38974
38975 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38976 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38977 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38978 echo $ECHO_N "(cached) $ECHO_C" >&6
38979 else
38980 cat >conftest.$ac_ext <<_ACEOF
38981 /* confdefs.h. */
38982 _ACEOF
38983 cat confdefs.h >>conftest.$ac_ext
38984 cat >>conftest.$ac_ext <<_ACEOF
38985 /* end confdefs.h. */
38986 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38987 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38988 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38989
38990 /* System header to define __stub macros and hopefully few prototypes,
38991 which can conflict with char pthread_attr_setstacksize (); below.
38992 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38993 <limits.h> exists even on freestanding compilers. */
38994
38995 #ifdef __STDC__
38996 # include <limits.h>
38997 #else
38998 # include <assert.h>
38999 #endif
39000
39001 #undef pthread_attr_setstacksize
39002
39003 /* Override any GCC internal prototype to avoid an error.
39004 Use char because int might match the return type of a GCC
39005 builtin and then its argument prototype would still apply. */
39006 #ifdef __cplusplus
39007 extern "C"
39008 #endif
39009 char pthread_attr_setstacksize ();
39010 /* The GNU C library defines this for functions which it implements
39011 to always fail with ENOSYS. Some functions are actually named
39012 something starting with __ and the normal name is an alias. */
39013 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
39014 choke me
39015 #endif
39016
39017 int
39018 main ()
39019 {
39020 return pthread_attr_setstacksize ();
39021 ;
39022 return 0;
39023 }
39024 _ACEOF
39025 rm -f conftest.$ac_objext conftest$ac_exeext
39026 if { (ac_try="$ac_link"
39027 case "(($ac_try" in
39028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39029 *) ac_try_echo=$ac_try;;
39030 esac
39031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39032 (eval "$ac_link") 2>conftest.er1
39033 ac_status=$?
39034 grep -v '^ *+' conftest.er1 >conftest.err
39035 rm -f conftest.er1
39036 cat conftest.err >&5
39037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39038 (exit $ac_status); } && {
39039 test -z "$ac_c_werror_flag" ||
39040 test ! -s conftest.err
39041 } && test -s conftest$ac_exeext &&
39042 $as_test_x conftest$ac_exeext; then
39043 ac_cv_func_pthread_attr_setstacksize=yes
39044 else
39045 echo "$as_me: failed program was:" >&5
39046 sed 's/^/| /' conftest.$ac_ext >&5
39047
39048 ac_cv_func_pthread_attr_setstacksize=no
39049 fi
39050
39051 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39052 conftest$ac_exeext conftest.$ac_ext
39053 fi
39054 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
39055 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
39056 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
39057 cat >>confdefs.h <<\_ACEOF
39058 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
39059 _ACEOF
39060
39061 fi
39062
39063
39064
39065 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
39066 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
39067 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
39068 echo $ECHO_N "(cached) $ECHO_C" >&6
39069 else
39070
39071 cat >conftest.$ac_ext <<_ACEOF
39072 /* confdefs.h. */
39073 _ACEOF
39074 cat confdefs.h >>conftest.$ac_ext
39075 cat >>conftest.$ac_ext <<_ACEOF
39076 /* end confdefs.h. */
39077 #include <pthread.h>
39078 int
39079 main ()
39080 {
39081
39082 pthread_mutexattr_t attr;
39083 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39084
39085 ;
39086 return 0;
39087 }
39088 _ACEOF
39089 rm -f conftest.$ac_objext
39090 if { (ac_try="$ac_compile"
39091 case "(($ac_try" in
39092 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39093 *) ac_try_echo=$ac_try;;
39094 esac
39095 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39096 (eval "$ac_compile") 2>conftest.er1
39097 ac_status=$?
39098 grep -v '^ *+' conftest.er1 >conftest.err
39099 rm -f conftest.er1
39100 cat conftest.err >&5
39101 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39102 (exit $ac_status); } && {
39103 test -z "$ac_c_werror_flag" ||
39104 test ! -s conftest.err
39105 } && test -s conftest.$ac_objext; then
39106 wx_cv_type_pthread_mutexattr_t=yes
39107 else
39108 echo "$as_me: failed program was:" >&5
39109 sed 's/^/| /' conftest.$ac_ext >&5
39110
39111 wx_cv_type_pthread_mutexattr_t=no
39112
39113 fi
39114
39115 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39116
39117 fi
39118 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
39119 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
39120
39121 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
39122 cat >>confdefs.h <<\_ACEOF
39123 #define HAVE_PTHREAD_MUTEXATTR_T 1
39124 _ACEOF
39125
39126
39127 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
39128 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
39129 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
39130 echo $ECHO_N "(cached) $ECHO_C" >&6
39131 else
39132
39133 cat >conftest.$ac_ext <<_ACEOF
39134 /* confdefs.h. */
39135 _ACEOF
39136 cat confdefs.h >>conftest.$ac_ext
39137 cat >>conftest.$ac_ext <<_ACEOF
39138 /* end confdefs.h. */
39139 #include <pthread.h>
39140 int
39141 main ()
39142 {
39143
39144 pthread_mutexattr_t attr;
39145 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
39146
39147 ;
39148 return 0;
39149 }
39150 _ACEOF
39151 rm -f conftest.$ac_objext
39152 if { (ac_try="$ac_compile"
39153 case "(($ac_try" in
39154 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39155 *) ac_try_echo=$ac_try;;
39156 esac
39157 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39158 (eval "$ac_compile") 2>conftest.er1
39159 ac_status=$?
39160 grep -v '^ *+' conftest.er1 >conftest.err
39161 rm -f conftest.er1
39162 cat conftest.err >&5
39163 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39164 (exit $ac_status); } && {
39165 test -z "$ac_c_werror_flag" ||
39166 test ! -s conftest.err
39167 } && test -s conftest.$ac_objext; then
39168 wx_cv_func_pthread_mutexattr_settype_decl=yes
39169 else
39170 echo "$as_me: failed program was:" >&5
39171 sed 's/^/| /' conftest.$ac_ext >&5
39172
39173 wx_cv_func_pthread_mutexattr_settype_decl=no
39174
39175 fi
39176
39177 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39178
39179 fi
39180 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
39181 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
39182 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
39183 cat >>confdefs.h <<\_ACEOF
39184 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
39185 _ACEOF
39186
39187 fi
39188 else
39189 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
39190 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
39191 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
39192 echo $ECHO_N "(cached) $ECHO_C" >&6
39193 else
39194
39195 cat >conftest.$ac_ext <<_ACEOF
39196 /* confdefs.h. */
39197 _ACEOF
39198 cat confdefs.h >>conftest.$ac_ext
39199 cat >>conftest.$ac_ext <<_ACEOF
39200 /* end confdefs.h. */
39201 #include <pthread.h>
39202 int
39203 main ()
39204 {
39205
39206 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
39207
39208 ;
39209 return 0;
39210 }
39211 _ACEOF
39212 rm -f conftest.$ac_objext
39213 if { (ac_try="$ac_compile"
39214 case "(($ac_try" in
39215 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39216 *) ac_try_echo=$ac_try;;
39217 esac
39218 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39219 (eval "$ac_compile") 2>conftest.er1
39220 ac_status=$?
39221 grep -v '^ *+' conftest.er1 >conftest.err
39222 rm -f conftest.er1
39223 cat conftest.err >&5
39224 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39225 (exit $ac_status); } && {
39226 test -z "$ac_c_werror_flag" ||
39227 test ! -s conftest.err
39228 } && test -s conftest.$ac_objext; then
39229
39230 wx_cv_type_pthread_rec_mutex_init=yes
39231
39232 else
39233 echo "$as_me: failed program was:" >&5
39234 sed 's/^/| /' conftest.$ac_ext >&5
39235
39236
39237 wx_cv_type_pthread_rec_mutex_init=no
39238
39239
39240 fi
39241
39242 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39243
39244 fi
39245 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
39246 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
39247 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
39248 cat >>confdefs.h <<\_ACEOF
39249 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
39250 _ACEOF
39251
39252 else
39253 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
39254 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
39255 fi
39256 fi
39257 fi
39258
39259 else
39260 if test "$wxUSE_THREADS" = "yes" ; then
39261 case "${host}" in
39262 *-*-mingw32* )
39263 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
39264 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
39265 if test "${wx_cv_cflags_mthread+set}" = set; then
39266 echo $ECHO_N "(cached) $ECHO_C" >&6
39267 else
39268
39269 CFLAGS_OLD="$CFLAGS"
39270 CFLAGS="-mthreads $CFLAGS"
39271 cat >conftest.$ac_ext <<_ACEOF
39272 /* confdefs.h. */
39273 _ACEOF
39274 cat confdefs.h >>conftest.$ac_ext
39275 cat >>conftest.$ac_ext <<_ACEOF
39276 /* end confdefs.h. */
39277
39278 int
39279 main ()
39280 {
39281
39282 ;
39283 return 0;
39284 }
39285 _ACEOF
39286 rm -f conftest.$ac_objext
39287 if { (ac_try="$ac_compile"
39288 case "(($ac_try" in
39289 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39290 *) ac_try_echo=$ac_try;;
39291 esac
39292 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39293 (eval "$ac_compile") 2>conftest.er1
39294 ac_status=$?
39295 grep -v '^ *+' conftest.er1 >conftest.err
39296 rm -f conftest.er1
39297 cat conftest.err >&5
39298 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39299 (exit $ac_status); } && {
39300 test -z "$ac_c_werror_flag" ||
39301 test ! -s conftest.err
39302 } && test -s conftest.$ac_objext; then
39303 wx_cv_cflags_mthread=yes
39304 else
39305 echo "$as_me: failed program was:" >&5
39306 sed 's/^/| /' conftest.$ac_ext >&5
39307
39308 wx_cv_cflags_mthread=no
39309
39310 fi
39311
39312 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39313
39314
39315 fi
39316 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
39317 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
39318
39319 if test "$wx_cv_cflags_mthread" = "yes"; then
39320 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
39321 LDFLAGS="$LDFLAGS -mthreads"
39322 else
39323 CFLAGS="$CFLAGS_OLD"
39324 fi
39325 ;;
39326 *-pc-os2*emx )
39327 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
39328 LDFLAGS="$LDFLAGS -Zmt"
39329 ;;
39330 esac
39331 fi
39332 fi
39333
39334 { echo "$as_me:$LINENO: checking for localtime_r" >&5
39335 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
39336 if test "${ac_cv_func_localtime_r+set}" = set; then
39337 echo $ECHO_N "(cached) $ECHO_C" >&6
39338 else
39339 cat >conftest.$ac_ext <<_ACEOF
39340 /* confdefs.h. */
39341 _ACEOF
39342 cat confdefs.h >>conftest.$ac_ext
39343 cat >>conftest.$ac_ext <<_ACEOF
39344 /* end confdefs.h. */
39345 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39346 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39347 #define localtime_r innocuous_localtime_r
39348
39349 /* System header to define __stub macros and hopefully few prototypes,
39350 which can conflict with char localtime_r (); below.
39351 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39352 <limits.h> exists even on freestanding compilers. */
39353
39354 #ifdef __STDC__
39355 # include <limits.h>
39356 #else
39357 # include <assert.h>
39358 #endif
39359
39360 #undef localtime_r
39361
39362 /* Override any GCC internal prototype to avoid an error.
39363 Use char because int might match the return type of a GCC
39364 builtin and then its argument prototype would still apply. */
39365 #ifdef __cplusplus
39366 extern "C"
39367 #endif
39368 char localtime_r ();
39369 /* The GNU C library defines this for functions which it implements
39370 to always fail with ENOSYS. Some functions are actually named
39371 something starting with __ and the normal name is an alias. */
39372 #if defined __stub_localtime_r || defined __stub___localtime_r
39373 choke me
39374 #endif
39375
39376 int
39377 main ()
39378 {
39379 return localtime_r ();
39380 ;
39381 return 0;
39382 }
39383 _ACEOF
39384 rm -f conftest.$ac_objext conftest$ac_exeext
39385 if { (ac_try="$ac_link"
39386 case "(($ac_try" in
39387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39388 *) ac_try_echo=$ac_try;;
39389 esac
39390 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39391 (eval "$ac_link") 2>conftest.er1
39392 ac_status=$?
39393 grep -v '^ *+' conftest.er1 >conftest.err
39394 rm -f conftest.er1
39395 cat conftest.err >&5
39396 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39397 (exit $ac_status); } && {
39398 test -z "$ac_c_werror_flag" ||
39399 test ! -s conftest.err
39400 } && test -s conftest$ac_exeext &&
39401 $as_test_x conftest$ac_exeext; then
39402 ac_cv_func_localtime_r=yes
39403 else
39404 echo "$as_me: failed program was:" >&5
39405 sed 's/^/| /' conftest.$ac_ext >&5
39406
39407 ac_cv_func_localtime_r=no
39408 fi
39409
39410 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39411 conftest$ac_exeext conftest.$ac_ext
39412 fi
39413 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39414 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39415 if test $ac_cv_func_localtime_r = yes; then
39416 cat >>confdefs.h <<\_ACEOF
39417 #define HAVE_LOCALTIME_R 1
39418 _ACEOF
39419
39420 fi
39421
39422 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39423 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39424 if test "${ac_cv_func_gmtime_r+set}" = set; then
39425 echo $ECHO_N "(cached) $ECHO_C" >&6
39426 else
39427 cat >conftest.$ac_ext <<_ACEOF
39428 /* confdefs.h. */
39429 _ACEOF
39430 cat confdefs.h >>conftest.$ac_ext
39431 cat >>conftest.$ac_ext <<_ACEOF
39432 /* end confdefs.h. */
39433 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39434 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39435 #define gmtime_r innocuous_gmtime_r
39436
39437 /* System header to define __stub macros and hopefully few prototypes,
39438 which can conflict with char gmtime_r (); below.
39439 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39440 <limits.h> exists even on freestanding compilers. */
39441
39442 #ifdef __STDC__
39443 # include <limits.h>
39444 #else
39445 # include <assert.h>
39446 #endif
39447
39448 #undef gmtime_r
39449
39450 /* Override any GCC internal prototype to avoid an error.
39451 Use char because int might match the return type of a GCC
39452 builtin and then its argument prototype would still apply. */
39453 #ifdef __cplusplus
39454 extern "C"
39455 #endif
39456 char gmtime_r ();
39457 /* The GNU C library defines this for functions which it implements
39458 to always fail with ENOSYS. Some functions are actually named
39459 something starting with __ and the normal name is an alias. */
39460 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39461 choke me
39462 #endif
39463
39464 int
39465 main ()
39466 {
39467 return gmtime_r ();
39468 ;
39469 return 0;
39470 }
39471 _ACEOF
39472 rm -f conftest.$ac_objext conftest$ac_exeext
39473 if { (ac_try="$ac_link"
39474 case "(($ac_try" in
39475 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39476 *) ac_try_echo=$ac_try;;
39477 esac
39478 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39479 (eval "$ac_link") 2>conftest.er1
39480 ac_status=$?
39481 grep -v '^ *+' conftest.er1 >conftest.err
39482 rm -f conftest.er1
39483 cat conftest.err >&5
39484 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39485 (exit $ac_status); } && {
39486 test -z "$ac_c_werror_flag" ||
39487 test ! -s conftest.err
39488 } && test -s conftest$ac_exeext &&
39489 $as_test_x conftest$ac_exeext; then
39490 ac_cv_func_gmtime_r=yes
39491 else
39492 echo "$as_me: failed program was:" >&5
39493 sed 's/^/| /' conftest.$ac_ext >&5
39494
39495 ac_cv_func_gmtime_r=no
39496 fi
39497
39498 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39499 conftest$ac_exeext conftest.$ac_ext
39500 fi
39501 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39502 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39503 if test $ac_cv_func_gmtime_r = yes; then
39504 cat >>confdefs.h <<\_ACEOF
39505 #define HAVE_GMTIME_R 1
39506 _ACEOF
39507
39508 fi
39509
39510 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39511 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39512 if test "${ac_cv_func_readdir_r+set}" = set; then
39513 echo $ECHO_N "(cached) $ECHO_C" >&6
39514 else
39515 cat >conftest.$ac_ext <<_ACEOF
39516 /* confdefs.h. */
39517 _ACEOF
39518 cat confdefs.h >>conftest.$ac_ext
39519 cat >>conftest.$ac_ext <<_ACEOF
39520 /* end confdefs.h. */
39521 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39522 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39523 #define readdir_r innocuous_readdir_r
39524
39525 /* System header to define __stub macros and hopefully few prototypes,
39526 which can conflict with char readdir_r (); below.
39527 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39528 <limits.h> exists even on freestanding compilers. */
39529
39530 #ifdef __STDC__
39531 # include <limits.h>
39532 #else
39533 # include <assert.h>
39534 #endif
39535
39536 #undef readdir_r
39537
39538 /* Override any GCC internal prototype to avoid an error.
39539 Use char because int might match the return type of a GCC
39540 builtin and then its argument prototype would still apply. */
39541 #ifdef __cplusplus
39542 extern "C"
39543 #endif
39544 char readdir_r ();
39545 /* The GNU C library defines this for functions which it implements
39546 to always fail with ENOSYS. Some functions are actually named
39547 something starting with __ and the normal name is an alias. */
39548 #if defined __stub_readdir_r || defined __stub___readdir_r
39549 choke me
39550 #endif
39551
39552 int
39553 main ()
39554 {
39555 return readdir_r ();
39556 ;
39557 return 0;
39558 }
39559 _ACEOF
39560 rm -f conftest.$ac_objext conftest$ac_exeext
39561 if { (ac_try="$ac_link"
39562 case "(($ac_try" in
39563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39564 *) ac_try_echo=$ac_try;;
39565 esac
39566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39567 (eval "$ac_link") 2>conftest.er1
39568 ac_status=$?
39569 grep -v '^ *+' conftest.er1 >conftest.err
39570 rm -f conftest.er1
39571 cat conftest.err >&5
39572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39573 (exit $ac_status); } && {
39574 test -z "$ac_c_werror_flag" ||
39575 test ! -s conftest.err
39576 } && test -s conftest$ac_exeext &&
39577 $as_test_x conftest$ac_exeext; then
39578 ac_cv_func_readdir_r=yes
39579 else
39580 echo "$as_me: failed program was:" >&5
39581 sed 's/^/| /' conftest.$ac_ext >&5
39582
39583 ac_cv_func_readdir_r=no
39584 fi
39585
39586 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39587 conftest$ac_exeext conftest.$ac_ext
39588 fi
39589 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39590 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39591 if test $ac_cv_func_readdir_r = yes; then
39592 cat >>confdefs.h <<\_ACEOF
39593 #define HAVE_READDIR_R 1
39594 _ACEOF
39595
39596 fi
39597
39598
39599
39600
39601 ac_ext=c
39602 ac_cpp='$CPP $CPPFLAGS'
39603 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39604 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39605 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39606
39607 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39608 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39609
39610 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39611 echo $ECHO_N "(cached) $ECHO_C" >&6
39612 else
39613
39614
39615 ################################################################
39616
39617 ac_cv_func_which_gethostbyname_r=unknown
39618
39619 #
39620 # ONE ARGUMENT (sanity check)
39621 #
39622
39623 # This should fail, as there is no variant of gethostbyname_r() that takes
39624 # a single argument. If it actually compiles, then we can assume that
39625 # netdb.h is not declaring the function, and the compiler is thereby
39626 # assuming an implicit prototype. In which case, we're out of luck.
39627 #
39628 cat >conftest.$ac_ext <<_ACEOF
39629 /* confdefs.h. */
39630 _ACEOF
39631 cat confdefs.h >>conftest.$ac_ext
39632 cat >>conftest.$ac_ext <<_ACEOF
39633 /* end confdefs.h. */
39634 #include <netdb.h>
39635 int
39636 main ()
39637 {
39638
39639 char *name = "www.gnu.org";
39640 (void)gethostbyname_r(name) /* ; */
39641
39642 ;
39643 return 0;
39644 }
39645 _ACEOF
39646 rm -f conftest.$ac_objext
39647 if { (ac_try="$ac_compile"
39648 case "(($ac_try" in
39649 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39650 *) ac_try_echo=$ac_try;;
39651 esac
39652 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39653 (eval "$ac_compile") 2>conftest.er1
39654 ac_status=$?
39655 grep -v '^ *+' conftest.er1 >conftest.err
39656 rm -f conftest.er1
39657 cat conftest.err >&5
39658 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39659 (exit $ac_status); } && {
39660 test -z "$ac_c_werror_flag" ||
39661 test ! -s conftest.err
39662 } && test -s conftest.$ac_objext; then
39663 ac_cv_func_which_gethostbyname_r=no
39664 else
39665 echo "$as_me: failed program was:" >&5
39666 sed 's/^/| /' conftest.$ac_ext >&5
39667
39668
39669 fi
39670
39671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39672
39673 #
39674 # SIX ARGUMENTS
39675 # (e.g. Linux)
39676 #
39677
39678 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39679
39680 cat >conftest.$ac_ext <<_ACEOF
39681 /* confdefs.h. */
39682 _ACEOF
39683 cat confdefs.h >>conftest.$ac_ext
39684 cat >>conftest.$ac_ext <<_ACEOF
39685 /* end confdefs.h. */
39686 #include <netdb.h>
39687 int
39688 main ()
39689 {
39690
39691 char *name = "www.gnu.org";
39692 struct hostent ret, *retp;
39693 char buf[1024];
39694 int buflen = 1024;
39695 int my_h_errno;
39696 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39697
39698 ;
39699 return 0;
39700 }
39701 _ACEOF
39702 rm -f conftest.$ac_objext
39703 if { (ac_try="$ac_compile"
39704 case "(($ac_try" in
39705 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39706 *) ac_try_echo=$ac_try;;
39707 esac
39708 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39709 (eval "$ac_compile") 2>conftest.er1
39710 ac_status=$?
39711 grep -v '^ *+' conftest.er1 >conftest.err
39712 rm -f conftest.er1
39713 cat conftest.err >&5
39714 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39715 (exit $ac_status); } && {
39716 test -z "$ac_c_werror_flag" ||
39717 test ! -s conftest.err
39718 } && test -s conftest.$ac_objext; then
39719 ac_cv_func_which_gethostbyname_r=six
39720 else
39721 echo "$as_me: failed program was:" >&5
39722 sed 's/^/| /' conftest.$ac_ext >&5
39723
39724
39725 fi
39726
39727 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39728
39729 fi
39730
39731 #
39732 # FIVE ARGUMENTS
39733 # (e.g. Solaris)
39734 #
39735
39736 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39737
39738 cat >conftest.$ac_ext <<_ACEOF
39739 /* confdefs.h. */
39740 _ACEOF
39741 cat confdefs.h >>conftest.$ac_ext
39742 cat >>conftest.$ac_ext <<_ACEOF
39743 /* end confdefs.h. */
39744 #include <netdb.h>
39745 int
39746 main ()
39747 {
39748
39749 char *name = "www.gnu.org";
39750 struct hostent ret;
39751 char buf[1024];
39752 int buflen = 1024;
39753 int my_h_errno;
39754 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39755
39756 ;
39757 return 0;
39758 }
39759 _ACEOF
39760 rm -f conftest.$ac_objext
39761 if { (ac_try="$ac_compile"
39762 case "(($ac_try" in
39763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39764 *) ac_try_echo=$ac_try;;
39765 esac
39766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39767 (eval "$ac_compile") 2>conftest.er1
39768 ac_status=$?
39769 grep -v '^ *+' conftest.er1 >conftest.err
39770 rm -f conftest.er1
39771 cat conftest.err >&5
39772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39773 (exit $ac_status); } && {
39774 test -z "$ac_c_werror_flag" ||
39775 test ! -s conftest.err
39776 } && test -s conftest.$ac_objext; then
39777 ac_cv_func_which_gethostbyname_r=five
39778 else
39779 echo "$as_me: failed program was:" >&5
39780 sed 's/^/| /' conftest.$ac_ext >&5
39781
39782
39783 fi
39784
39785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39786
39787 fi
39788
39789 #
39790 # THREE ARGUMENTS
39791 # (e.g. AIX, HP-UX, Tru64)
39792 #
39793
39794 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39795
39796 cat >conftest.$ac_ext <<_ACEOF
39797 /* confdefs.h. */
39798 _ACEOF
39799 cat confdefs.h >>conftest.$ac_ext
39800 cat >>conftest.$ac_ext <<_ACEOF
39801 /* end confdefs.h. */
39802 #include <netdb.h>
39803 int
39804 main ()
39805 {
39806
39807 char *name = "www.gnu.org";
39808 struct hostent ret;
39809 struct hostent_data data;
39810 (void)gethostbyname_r(name, &ret, &data) /* ; */
39811
39812 ;
39813 return 0;
39814 }
39815 _ACEOF
39816 rm -f conftest.$ac_objext
39817 if { (ac_try="$ac_compile"
39818 case "(($ac_try" in
39819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39820 *) ac_try_echo=$ac_try;;
39821 esac
39822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39823 (eval "$ac_compile") 2>conftest.er1
39824 ac_status=$?
39825 grep -v '^ *+' conftest.er1 >conftest.err
39826 rm -f conftest.er1
39827 cat conftest.err >&5
39828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39829 (exit $ac_status); } && {
39830 test -z "$ac_c_werror_flag" ||
39831 test ! -s conftest.err
39832 } && test -s conftest.$ac_objext; then
39833 ac_cv_func_which_gethostbyname_r=three
39834 else
39835 echo "$as_me: failed program was:" >&5
39836 sed 's/^/| /' conftest.$ac_ext >&5
39837
39838
39839 fi
39840
39841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39842
39843 fi
39844
39845 ################################################################
39846
39847
39848 fi
39849
39850 case "$ac_cv_func_which_gethostbyname_r" in
39851 three)
39852 { echo "$as_me:$LINENO: result: three" >&5
39853 echo "${ECHO_T}three" >&6; }
39854 cat >>confdefs.h <<\_ACEOF
39855 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39856 _ACEOF
39857
39858 ;;
39859
39860 five)
39861 { echo "$as_me:$LINENO: result: five" >&5
39862 echo "${ECHO_T}five" >&6; }
39863 cat >>confdefs.h <<\_ACEOF
39864 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39865 _ACEOF
39866
39867 ;;
39868
39869 six)
39870 { echo "$as_me:$LINENO: result: six" >&5
39871 echo "${ECHO_T}six" >&6; }
39872 cat >>confdefs.h <<\_ACEOF
39873 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39874 _ACEOF
39875
39876 ;;
39877
39878 no)
39879 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39880 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39881 ;;
39882
39883 unknown)
39884 { echo "$as_me:$LINENO: result: can't tell" >&5
39885 echo "${ECHO_T}can't tell" >&6; }
39886 ;;
39887
39888 *)
39889 { { echo "$as_me:$LINENO: error: internal error" >&5
39890 echo "$as_me: error: internal error" >&2;}
39891 { (exit 1); exit 1; }; }
39892 ;;
39893 esac
39894
39895 ac_ext=c
39896 ac_cpp='$CPP $CPPFLAGS'
39897 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39898 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39899 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39900
39901
39902
39903 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39904 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39905 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39906 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39907 if test "${ac_cv_func_gethostbyname+set}" = set; then
39908 echo $ECHO_N "(cached) $ECHO_C" >&6
39909 else
39910 cat >conftest.$ac_ext <<_ACEOF
39911 /* confdefs.h. */
39912 _ACEOF
39913 cat confdefs.h >>conftest.$ac_ext
39914 cat >>conftest.$ac_ext <<_ACEOF
39915 /* end confdefs.h. */
39916 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39917 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39918 #define gethostbyname innocuous_gethostbyname
39919
39920 /* System header to define __stub macros and hopefully few prototypes,
39921 which can conflict with char gethostbyname (); below.
39922 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39923 <limits.h> exists even on freestanding compilers. */
39924
39925 #ifdef __STDC__
39926 # include <limits.h>
39927 #else
39928 # include <assert.h>
39929 #endif
39930
39931 #undef gethostbyname
39932
39933 /* Override any GCC internal prototype to avoid an error.
39934 Use char because int might match the return type of a GCC
39935 builtin and then its argument prototype would still apply. */
39936 #ifdef __cplusplus
39937 extern "C"
39938 #endif
39939 char gethostbyname ();
39940 /* The GNU C library defines this for functions which it implements
39941 to always fail with ENOSYS. Some functions are actually named
39942 something starting with __ and the normal name is an alias. */
39943 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39944 choke me
39945 #endif
39946
39947 int
39948 main ()
39949 {
39950 return gethostbyname ();
39951 ;
39952 return 0;
39953 }
39954 _ACEOF
39955 rm -f conftest.$ac_objext conftest$ac_exeext
39956 if { (ac_try="$ac_link"
39957 case "(($ac_try" in
39958 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39959 *) ac_try_echo=$ac_try;;
39960 esac
39961 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39962 (eval "$ac_link") 2>conftest.er1
39963 ac_status=$?
39964 grep -v '^ *+' conftest.er1 >conftest.err
39965 rm -f conftest.er1
39966 cat conftest.err >&5
39967 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39968 (exit $ac_status); } && {
39969 test -z "$ac_c_werror_flag" ||
39970 test ! -s conftest.err
39971 } && test -s conftest$ac_exeext &&
39972 $as_test_x conftest$ac_exeext; then
39973 ac_cv_func_gethostbyname=yes
39974 else
39975 echo "$as_me: failed program was:" >&5
39976 sed 's/^/| /' conftest.$ac_ext >&5
39977
39978 ac_cv_func_gethostbyname=no
39979 fi
39980
39981 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39982 conftest$ac_exeext conftest.$ac_ext
39983 fi
39984 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39985 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39986 if test $ac_cv_func_gethostbyname = yes; then
39987 cat >>confdefs.h <<\_ACEOF
39988 #define HAVE_GETHOSTBYNAME 1
39989 _ACEOF
39990
39991 fi
39992
39993 fi
39994
39995 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39996 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39997 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39998 echo $ECHO_N "(cached) $ECHO_C" >&6
39999 else
40000
40001 ac_ext=cpp
40002 ac_cpp='$CXXCPP $CPPFLAGS'
40003 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40004 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40005 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
40006
40007
40008 cat >conftest.$ac_ext <<_ACEOF
40009 /* confdefs.h. */
40010 _ACEOF
40011 cat confdefs.h >>conftest.$ac_ext
40012 cat >>conftest.$ac_ext <<_ACEOF
40013 /* end confdefs.h. */
40014 #include <netdb.h>
40015 int
40016 main ()
40017 {
40018
40019 char *name;
40020 char *proto;
40021 struct servent *se, *res;
40022 char buffer[2048];
40023 int buflen = 2048;
40024 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
40025
40026 ;
40027 return 0;
40028 }
40029 _ACEOF
40030 rm -f conftest.$ac_objext
40031 if { (ac_try="$ac_compile"
40032 case "(($ac_try" in
40033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40034 *) ac_try_echo=$ac_try;;
40035 esac
40036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40037 (eval "$ac_compile") 2>conftest.er1
40038 ac_status=$?
40039 grep -v '^ *+' conftest.er1 >conftest.err
40040 rm -f conftest.er1
40041 cat conftest.err >&5
40042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40043 (exit $ac_status); } && {
40044 test -z "$ac_cxx_werror_flag" ||
40045 test ! -s conftest.err
40046 } && test -s conftest.$ac_objext; then
40047 ac_cv_func_which_getservbyname_r=six
40048 else
40049 echo "$as_me: failed program was:" >&5
40050 sed 's/^/| /' conftest.$ac_ext >&5
40051
40052
40053 cat >conftest.$ac_ext <<_ACEOF
40054 /* confdefs.h. */
40055 _ACEOF
40056 cat confdefs.h >>conftest.$ac_ext
40057 cat >>conftest.$ac_ext <<_ACEOF
40058 /* end confdefs.h. */
40059 #include <netdb.h>
40060 int
40061 main ()
40062 {
40063
40064 char *name;
40065 char *proto;
40066 struct servent *se;
40067 char buffer[2048];
40068 int buflen = 2048;
40069 (void) getservbyname_r(name, proto, se, buffer, buflen)
40070
40071 ;
40072 return 0;
40073 }
40074 _ACEOF
40075 rm -f conftest.$ac_objext
40076 if { (ac_try="$ac_compile"
40077 case "(($ac_try" in
40078 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40079 *) ac_try_echo=$ac_try;;
40080 esac
40081 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40082 (eval "$ac_compile") 2>conftest.er1
40083 ac_status=$?
40084 grep -v '^ *+' conftest.er1 >conftest.err
40085 rm -f conftest.er1
40086 cat conftest.err >&5
40087 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40088 (exit $ac_status); } && {
40089 test -z "$ac_cxx_werror_flag" ||
40090 test ! -s conftest.err
40091 } && test -s conftest.$ac_objext; then
40092 ac_cv_func_which_getservbyname_r=five
40093 else
40094 echo "$as_me: failed program was:" >&5
40095 sed 's/^/| /' conftest.$ac_ext >&5
40096
40097
40098 cat >conftest.$ac_ext <<_ACEOF
40099 /* confdefs.h. */
40100 _ACEOF
40101 cat confdefs.h >>conftest.$ac_ext
40102 cat >>conftest.$ac_ext <<_ACEOF
40103 /* end confdefs.h. */
40104 #include <netdb.h>
40105 int
40106 main ()
40107 {
40108
40109 char *name;
40110 char *proto;
40111 struct servent *se;
40112 struct servent_data data;
40113 (void) getservbyname_r(name, proto, se, &data);
40114
40115 ;
40116 return 0;
40117 }
40118 _ACEOF
40119 rm -f conftest.$ac_objext
40120 if { (ac_try="$ac_compile"
40121 case "(($ac_try" in
40122 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40123 *) ac_try_echo=$ac_try;;
40124 esac
40125 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40126 (eval "$ac_compile") 2>conftest.er1
40127 ac_status=$?
40128 grep -v '^ *+' conftest.er1 >conftest.err
40129 rm -f conftest.er1
40130 cat conftest.err >&5
40131 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40132 (exit $ac_status); } && {
40133 test -z "$ac_cxx_werror_flag" ||
40134 test ! -s conftest.err
40135 } && test -s conftest.$ac_objext; then
40136 ac_cv_func_which_getservbyname_r=four
40137 else
40138 echo "$as_me: failed program was:" >&5
40139 sed 's/^/| /' conftest.$ac_ext >&5
40140
40141 ac_cv_func_which_getservbyname_r=no
40142
40143 fi
40144
40145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40146
40147
40148 fi
40149
40150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40151
40152
40153 fi
40154
40155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
40156 ac_ext=c
40157 ac_cpp='$CPP $CPPFLAGS'
40158 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
40159 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
40160 ac_compiler_gnu=$ac_cv_c_compiler_gnu
40161
40162
40163
40164 fi
40165 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
40166 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
40167
40168 if test $ac_cv_func_which_getservbyname_r = six; then
40169 cat >>confdefs.h <<\_ACEOF
40170 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
40171 _ACEOF
40172
40173 elif test $ac_cv_func_which_getservbyname_r = five; then
40174 cat >>confdefs.h <<\_ACEOF
40175 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
40176 _ACEOF
40177
40178 elif test $ac_cv_func_which_getservbyname_r = four; then
40179 cat >>confdefs.h <<\_ACEOF
40180 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
40181 _ACEOF
40182
40183 fi
40184
40185
40186 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
40187 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
40188
40189 for ac_func in getservbyname
40190 do
40191 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40192 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40193 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40194 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40195 echo $ECHO_N "(cached) $ECHO_C" >&6
40196 else
40197 cat >conftest.$ac_ext <<_ACEOF
40198 /* confdefs.h. */
40199 _ACEOF
40200 cat confdefs.h >>conftest.$ac_ext
40201 cat >>conftest.$ac_ext <<_ACEOF
40202 /* end confdefs.h. */
40203 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40204 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40205 #define $ac_func innocuous_$ac_func
40206
40207 /* System header to define __stub macros and hopefully few prototypes,
40208 which can conflict with char $ac_func (); below.
40209 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40210 <limits.h> exists even on freestanding compilers. */
40211
40212 #ifdef __STDC__
40213 # include <limits.h>
40214 #else
40215 # include <assert.h>
40216 #endif
40217
40218 #undef $ac_func
40219
40220 /* Override any GCC internal prototype to avoid an error.
40221 Use char because int might match the return type of a GCC
40222 builtin and then its argument prototype would still apply. */
40223 #ifdef __cplusplus
40224 extern "C"
40225 #endif
40226 char $ac_func ();
40227 /* The GNU C library defines this for functions which it implements
40228 to always fail with ENOSYS. Some functions are actually named
40229 something starting with __ and the normal name is an alias. */
40230 #if defined __stub_$ac_func || defined __stub___$ac_func
40231 choke me
40232 #endif
40233
40234 int
40235 main ()
40236 {
40237 return $ac_func ();
40238 ;
40239 return 0;
40240 }
40241 _ACEOF
40242 rm -f conftest.$ac_objext conftest$ac_exeext
40243 if { (ac_try="$ac_link"
40244 case "(($ac_try" in
40245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40246 *) ac_try_echo=$ac_try;;
40247 esac
40248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40249 (eval "$ac_link") 2>conftest.er1
40250 ac_status=$?
40251 grep -v '^ *+' conftest.er1 >conftest.err
40252 rm -f conftest.er1
40253 cat conftest.err >&5
40254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40255 (exit $ac_status); } && {
40256 test -z "$ac_c_werror_flag" ||
40257 test ! -s conftest.err
40258 } && test -s conftest$ac_exeext &&
40259 $as_test_x conftest$ac_exeext; then
40260 eval "$as_ac_var=yes"
40261 else
40262 echo "$as_me: failed program was:" >&5
40263 sed 's/^/| /' conftest.$ac_ext >&5
40264
40265 eval "$as_ac_var=no"
40266 fi
40267
40268 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40269 conftest$ac_exeext conftest.$ac_ext
40270 fi
40271 ac_res=`eval echo '${'$as_ac_var'}'`
40272 { echo "$as_me:$LINENO: result: $ac_res" >&5
40273 echo "${ECHO_T}$ac_res" >&6; }
40274 if test `eval echo '${'$as_ac_var'}'` = yes; then
40275 cat >>confdefs.h <<_ACEOF
40276 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40277 _ACEOF
40278 cat >>confdefs.h <<\_ACEOF
40279 #define HAVE_GETSERVBYNAME 1
40280 _ACEOF
40281
40282 fi
40283 done
40284
40285 fi
40286
40287 if test "$wxUSE_THREADS" = "yes"; then
40288 cat >>confdefs.h <<\_ACEOF
40289 #define wxUSE_THREADS 1
40290 _ACEOF
40291
40292
40293 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
40294 else
40295 if test "$wx_cv_func_strtok_r" = "yes"; then
40296 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
40297 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
40298 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
40299 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
40300 { echo "$as_me:$LINENO: result: yes" >&5
40301 echo "${ECHO_T}yes" >&6; }
40302 else
40303 { echo "$as_me:$LINENO: result: no" >&5
40304 echo "${ECHO_T}no" >&6; }
40305 fi
40306 fi
40307 fi
40308
40309 if test "$WXGTK20" = 1 ; then
40310 cat >>confdefs.h <<_ACEOF
40311 #define __WXGTK20__ $WXGTK20
40312 _ACEOF
40313
40314 WXGTK12=1
40315 fi
40316
40317 if test "$WXGTK12" = 1 ; then
40318 cat >>confdefs.h <<_ACEOF
40319 #define __WXGTK12__ $WXGTK12
40320 _ACEOF
40321
40322 fi
40323
40324 if test "$WXGTK127" = 1 ; then
40325 cat >>confdefs.h <<_ACEOF
40326 #define __WXGTK127__ $WXGTK127
40327 _ACEOF
40328
40329 fi
40330
40331 if test "$WXGPE" = 1 ; then
40332 cat >>confdefs.h <<_ACEOF
40333 #define __WXGPE__ $WXGPE
40334 _ACEOF
40335
40336 fi
40337
40338 DEBUG_CFLAGS=
40339 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
40340 DEBUG_CFLAGS="-g"
40341 wxUSE_OPTIMISE=no
40342 fi
40343
40344 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40345 wxUSE_DEBUG_INFO=yes
40346 if test "$GCC" = yes; then
40347 DEBUG_CFLAGS="-ggdb"
40348 fi
40349 fi
40350
40351 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40352 cat >>confdefs.h <<\_ACEOF
40353 #define WXDEBUG 1
40354 _ACEOF
40355
40356 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40357 else
40358 if test "$wxUSE_GTK" = 1 ; then
40359 if test "x$wxGTK_VERSION" = "x1" ; then
40360 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40361 fi
40362 fi
40363 fi
40364
40365 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40366 cat >>confdefs.h <<\_ACEOF
40367 #define wxUSE_MEMORY_TRACING 1
40368 _ACEOF
40369
40370 cat >>confdefs.h <<\_ACEOF
40371 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40372 _ACEOF
40373
40374 cat >>confdefs.h <<\_ACEOF
40375 #define wxUSE_DEBUG_NEW_ALWAYS 1
40376 _ACEOF
40377
40378 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40379 fi
40380
40381 if test "$wxUSE_DMALLOC" = "yes" ; then
40382 DMALLOC_LIBS="-ldmallocthcxx"
40383 fi
40384
40385 PROFILE_FLAGS=
40386 if test "$wxUSE_PROFILE" = "yes" ; then
40387 PROFILE_FLAGS=" -pg"
40388 fi
40389
40390 if test "$GCC" = "yes" ; then
40391 if test "$wxUSE_NO_RTTI" = "yes" ; then
40392 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40393 fi
40394 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40395 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40396 fi
40397 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40398 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40399 fi
40400
40401 case "${host}" in
40402 powerpc*-*-aix* )
40403 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40404 ;;
40405 *-hppa* )
40406 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40407 ;;
40408 esac
40409 fi
40410
40411 OPTIMISE_CFLAGS=
40412 if test "$wxUSE_OPTIMISE" = "no" ; then
40413 if test "$GCC" = yes ; then
40414 OPTIMISE_CFLAGS="-O0"
40415 fi
40416 else
40417 if test "$GCC" = yes ; then
40418 case "${host}" in
40419 *-pc-os2_emx | *-pc-os2-emx )
40420 OPTIMISE_CFLAGS="-O2"
40421 ;;
40422 *)
40423 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40424 ;;
40425 esac
40426 else
40427 OPTIMISE_CFLAGS="-O"
40428 fi
40429 fi
40430
40431
40432 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40433 cat >>confdefs.h <<\_ACEOF
40434 #define WXWIN_COMPATIBILITY_2_6 1
40435 _ACEOF
40436
40437
40438 WXWIN_COMPATIBILITY_2_8="yes"
40439 fi
40440
40441 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40442 cat >>confdefs.h <<\_ACEOF
40443 #define WXWIN_COMPATIBILITY_2_8 1
40444 _ACEOF
40445
40446 fi
40447
40448
40449 if test "$wxUSE_GUI" = "yes"; then
40450 cat >>confdefs.h <<\_ACEOF
40451 #define wxUSE_GUI 1
40452 _ACEOF
40453
40454
40455 fi
40456
40457
40458 if test "$wxUSE_UNIX" = "yes"; then
40459 cat >>confdefs.h <<\_ACEOF
40460 #define wxUSE_UNIX 1
40461 _ACEOF
40462
40463 fi
40464
40465
40466 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40467
40468 HAVE_DL_FUNCS=0
40469 HAVE_SHL_FUNCS=0
40470 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40471 if test "$USE_DARWIN" = 1; then
40472 HAVE_DL_FUNCS=1
40473 elif test "$USE_DOS" = 1; then
40474 HAVE_DL_FUNCS=0
40475 else
40476
40477 for ac_func in dlopen
40478 do
40479 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40480 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40481 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40482 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40483 echo $ECHO_N "(cached) $ECHO_C" >&6
40484 else
40485 cat >conftest.$ac_ext <<_ACEOF
40486 /* confdefs.h. */
40487 _ACEOF
40488 cat confdefs.h >>conftest.$ac_ext
40489 cat >>conftest.$ac_ext <<_ACEOF
40490 /* end confdefs.h. */
40491 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40492 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40493 #define $ac_func innocuous_$ac_func
40494
40495 /* System header to define __stub macros and hopefully few prototypes,
40496 which can conflict with char $ac_func (); below.
40497 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40498 <limits.h> exists even on freestanding compilers. */
40499
40500 #ifdef __STDC__
40501 # include <limits.h>
40502 #else
40503 # include <assert.h>
40504 #endif
40505
40506 #undef $ac_func
40507
40508 /* Override any GCC internal prototype to avoid an error.
40509 Use char because int might match the return type of a GCC
40510 builtin and then its argument prototype would still apply. */
40511 #ifdef __cplusplus
40512 extern "C"
40513 #endif
40514 char $ac_func ();
40515 /* The GNU C library defines this for functions which it implements
40516 to always fail with ENOSYS. Some functions are actually named
40517 something starting with __ and the normal name is an alias. */
40518 #if defined __stub_$ac_func || defined __stub___$ac_func
40519 choke me
40520 #endif
40521
40522 int
40523 main ()
40524 {
40525 return $ac_func ();
40526 ;
40527 return 0;
40528 }
40529 _ACEOF
40530 rm -f conftest.$ac_objext conftest$ac_exeext
40531 if { (ac_try="$ac_link"
40532 case "(($ac_try" in
40533 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40534 *) ac_try_echo=$ac_try;;
40535 esac
40536 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40537 (eval "$ac_link") 2>conftest.er1
40538 ac_status=$?
40539 grep -v '^ *+' conftest.er1 >conftest.err
40540 rm -f conftest.er1
40541 cat conftest.err >&5
40542 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40543 (exit $ac_status); } && {
40544 test -z "$ac_c_werror_flag" ||
40545 test ! -s conftest.err
40546 } && test -s conftest$ac_exeext &&
40547 $as_test_x conftest$ac_exeext; then
40548 eval "$as_ac_var=yes"
40549 else
40550 echo "$as_me: failed program was:" >&5
40551 sed 's/^/| /' conftest.$ac_ext >&5
40552
40553 eval "$as_ac_var=no"
40554 fi
40555
40556 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40557 conftest$ac_exeext conftest.$ac_ext
40558 fi
40559 ac_res=`eval echo '${'$as_ac_var'}'`
40560 { echo "$as_me:$LINENO: result: $ac_res" >&5
40561 echo "${ECHO_T}$ac_res" >&6; }
40562 if test `eval echo '${'$as_ac_var'}'` = yes; then
40563 cat >>confdefs.h <<_ACEOF
40564 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40565 _ACEOF
40566
40567 cat >>confdefs.h <<\_ACEOF
40568 #define HAVE_DLOPEN 1
40569 _ACEOF
40570
40571 HAVE_DL_FUNCS=1
40572
40573 else
40574
40575 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40576 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40577 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40578 echo $ECHO_N "(cached) $ECHO_C" >&6
40579 else
40580 ac_check_lib_save_LIBS=$LIBS
40581 LIBS="-ldl $LIBS"
40582 cat >conftest.$ac_ext <<_ACEOF
40583 /* confdefs.h. */
40584 _ACEOF
40585 cat confdefs.h >>conftest.$ac_ext
40586 cat >>conftest.$ac_ext <<_ACEOF
40587 /* end confdefs.h. */
40588
40589 /* Override any GCC internal prototype to avoid an error.
40590 Use char because int might match the return type of a GCC
40591 builtin and then its argument prototype would still apply. */
40592 #ifdef __cplusplus
40593 extern "C"
40594 #endif
40595 char dlopen ();
40596 int
40597 main ()
40598 {
40599 return dlopen ();
40600 ;
40601 return 0;
40602 }
40603 _ACEOF
40604 rm -f conftest.$ac_objext conftest$ac_exeext
40605 if { (ac_try="$ac_link"
40606 case "(($ac_try" in
40607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40608 *) ac_try_echo=$ac_try;;
40609 esac
40610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40611 (eval "$ac_link") 2>conftest.er1
40612 ac_status=$?
40613 grep -v '^ *+' conftest.er1 >conftest.err
40614 rm -f conftest.er1
40615 cat conftest.err >&5
40616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40617 (exit $ac_status); } && {
40618 test -z "$ac_c_werror_flag" ||
40619 test ! -s conftest.err
40620 } && test -s conftest$ac_exeext &&
40621 $as_test_x conftest$ac_exeext; then
40622 ac_cv_lib_dl_dlopen=yes
40623 else
40624 echo "$as_me: failed program was:" >&5
40625 sed 's/^/| /' conftest.$ac_ext >&5
40626
40627 ac_cv_lib_dl_dlopen=no
40628 fi
40629
40630 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40631 conftest$ac_exeext conftest.$ac_ext
40632 LIBS=$ac_check_lib_save_LIBS
40633 fi
40634 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40635 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40636 if test $ac_cv_lib_dl_dlopen = yes; then
40637
40638 cat >>confdefs.h <<\_ACEOF
40639 #define HAVE_DLOPEN 1
40640 _ACEOF
40641
40642 HAVE_DL_FUNCS=1
40643 DL_LINK=" -ldl$DL_LINK"
40644
40645 else
40646
40647
40648 for ac_func in shl_load
40649 do
40650 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40651 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40652 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40653 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40654 echo $ECHO_N "(cached) $ECHO_C" >&6
40655 else
40656 cat >conftest.$ac_ext <<_ACEOF
40657 /* confdefs.h. */
40658 _ACEOF
40659 cat confdefs.h >>conftest.$ac_ext
40660 cat >>conftest.$ac_ext <<_ACEOF
40661 /* end confdefs.h. */
40662 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40663 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40664 #define $ac_func innocuous_$ac_func
40665
40666 /* System header to define __stub macros and hopefully few prototypes,
40667 which can conflict with char $ac_func (); below.
40668 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40669 <limits.h> exists even on freestanding compilers. */
40670
40671 #ifdef __STDC__
40672 # include <limits.h>
40673 #else
40674 # include <assert.h>
40675 #endif
40676
40677 #undef $ac_func
40678
40679 /* Override any GCC internal prototype to avoid an error.
40680 Use char because int might match the return type of a GCC
40681 builtin and then its argument prototype would still apply. */
40682 #ifdef __cplusplus
40683 extern "C"
40684 #endif
40685 char $ac_func ();
40686 /* The GNU C library defines this for functions which it implements
40687 to always fail with ENOSYS. Some functions are actually named
40688 something starting with __ and the normal name is an alias. */
40689 #if defined __stub_$ac_func || defined __stub___$ac_func
40690 choke me
40691 #endif
40692
40693 int
40694 main ()
40695 {
40696 return $ac_func ();
40697 ;
40698 return 0;
40699 }
40700 _ACEOF
40701 rm -f conftest.$ac_objext conftest$ac_exeext
40702 if { (ac_try="$ac_link"
40703 case "(($ac_try" in
40704 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40705 *) ac_try_echo=$ac_try;;
40706 esac
40707 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40708 (eval "$ac_link") 2>conftest.er1
40709 ac_status=$?
40710 grep -v '^ *+' conftest.er1 >conftest.err
40711 rm -f conftest.er1
40712 cat conftest.err >&5
40713 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40714 (exit $ac_status); } && {
40715 test -z "$ac_c_werror_flag" ||
40716 test ! -s conftest.err
40717 } && test -s conftest$ac_exeext &&
40718 $as_test_x conftest$ac_exeext; then
40719 eval "$as_ac_var=yes"
40720 else
40721 echo "$as_me: failed program was:" >&5
40722 sed 's/^/| /' conftest.$ac_ext >&5
40723
40724 eval "$as_ac_var=no"
40725 fi
40726
40727 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40728 conftest$ac_exeext conftest.$ac_ext
40729 fi
40730 ac_res=`eval echo '${'$as_ac_var'}'`
40731 { echo "$as_me:$LINENO: result: $ac_res" >&5
40732 echo "${ECHO_T}$ac_res" >&6; }
40733 if test `eval echo '${'$as_ac_var'}'` = yes; then
40734 cat >>confdefs.h <<_ACEOF
40735 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40736 _ACEOF
40737
40738 cat >>confdefs.h <<\_ACEOF
40739 #define HAVE_SHL_LOAD 1
40740 _ACEOF
40741
40742 HAVE_SHL_FUNCS=1
40743
40744 else
40745
40746 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40747 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40748 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40749 echo $ECHO_N "(cached) $ECHO_C" >&6
40750 else
40751 ac_check_lib_save_LIBS=$LIBS
40752 LIBS="-lshl_load $LIBS"
40753 cat >conftest.$ac_ext <<_ACEOF
40754 /* confdefs.h. */
40755 _ACEOF
40756 cat confdefs.h >>conftest.$ac_ext
40757 cat >>conftest.$ac_ext <<_ACEOF
40758 /* end confdefs.h. */
40759
40760 /* Override any GCC internal prototype to avoid an error.
40761 Use char because int might match the return type of a GCC
40762 builtin and then its argument prototype would still apply. */
40763 #ifdef __cplusplus
40764 extern "C"
40765 #endif
40766 char dld ();
40767 int
40768 main ()
40769 {
40770 return dld ();
40771 ;
40772 return 0;
40773 }
40774 _ACEOF
40775 rm -f conftest.$ac_objext conftest$ac_exeext
40776 if { (ac_try="$ac_link"
40777 case "(($ac_try" in
40778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40779 *) ac_try_echo=$ac_try;;
40780 esac
40781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40782 (eval "$ac_link") 2>conftest.er1
40783 ac_status=$?
40784 grep -v '^ *+' conftest.er1 >conftest.err
40785 rm -f conftest.er1
40786 cat conftest.err >&5
40787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40788 (exit $ac_status); } && {
40789 test -z "$ac_c_werror_flag" ||
40790 test ! -s conftest.err
40791 } && test -s conftest$ac_exeext &&
40792 $as_test_x conftest$ac_exeext; then
40793 ac_cv_lib_shl_load_dld=yes
40794 else
40795 echo "$as_me: failed program was:" >&5
40796 sed 's/^/| /' conftest.$ac_ext >&5
40797
40798 ac_cv_lib_shl_load_dld=no
40799 fi
40800
40801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40802 conftest$ac_exeext conftest.$ac_ext
40803 LIBS=$ac_check_lib_save_LIBS
40804 fi
40805 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40806 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40807 if test $ac_cv_lib_shl_load_dld = yes; then
40808
40809 HAVE_SHL_FUNCS=1
40810 DL_LINK=" -ldld$DL_LINK"
40811
40812 fi
40813
40814
40815 fi
40816 done
40817
40818
40819 fi
40820
40821
40822 fi
40823 done
40824
40825
40826 if test "$HAVE_DL_FUNCS" = 1; then
40827
40828 for ac_func in dlerror
40829 do
40830 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40831 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40832 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40833 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40834 echo $ECHO_N "(cached) $ECHO_C" >&6
40835 else
40836 cat >conftest.$ac_ext <<_ACEOF
40837 /* confdefs.h. */
40838 _ACEOF
40839 cat confdefs.h >>conftest.$ac_ext
40840 cat >>conftest.$ac_ext <<_ACEOF
40841 /* end confdefs.h. */
40842 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40843 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40844 #define $ac_func innocuous_$ac_func
40845
40846 /* System header to define __stub macros and hopefully few prototypes,
40847 which can conflict with char $ac_func (); below.
40848 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40849 <limits.h> exists even on freestanding compilers. */
40850
40851 #ifdef __STDC__
40852 # include <limits.h>
40853 #else
40854 # include <assert.h>
40855 #endif
40856
40857 #undef $ac_func
40858
40859 /* Override any GCC internal prototype to avoid an error.
40860 Use char because int might match the return type of a GCC
40861 builtin and then its argument prototype would still apply. */
40862 #ifdef __cplusplus
40863 extern "C"
40864 #endif
40865 char $ac_func ();
40866 /* The GNU C library defines this for functions which it implements
40867 to always fail with ENOSYS. Some functions are actually named
40868 something starting with __ and the normal name is an alias. */
40869 #if defined __stub_$ac_func || defined __stub___$ac_func
40870 choke me
40871 #endif
40872
40873 int
40874 main ()
40875 {
40876 return $ac_func ();
40877 ;
40878 return 0;
40879 }
40880 _ACEOF
40881 rm -f conftest.$ac_objext conftest$ac_exeext
40882 if { (ac_try="$ac_link"
40883 case "(($ac_try" in
40884 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40885 *) ac_try_echo=$ac_try;;
40886 esac
40887 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40888 (eval "$ac_link") 2>conftest.er1
40889 ac_status=$?
40890 grep -v '^ *+' conftest.er1 >conftest.err
40891 rm -f conftest.er1
40892 cat conftest.err >&5
40893 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40894 (exit $ac_status); } && {
40895 test -z "$ac_c_werror_flag" ||
40896 test ! -s conftest.err
40897 } && test -s conftest$ac_exeext &&
40898 $as_test_x conftest$ac_exeext; then
40899 eval "$as_ac_var=yes"
40900 else
40901 echo "$as_me: failed program was:" >&5
40902 sed 's/^/| /' conftest.$ac_ext >&5
40903
40904 eval "$as_ac_var=no"
40905 fi
40906
40907 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40908 conftest$ac_exeext conftest.$ac_ext
40909 fi
40910 ac_res=`eval echo '${'$as_ac_var'}'`
40911 { echo "$as_me:$LINENO: result: $ac_res" >&5
40912 echo "${ECHO_T}$ac_res" >&6; }
40913 if test `eval echo '${'$as_ac_var'}'` = yes; then
40914 cat >>confdefs.h <<_ACEOF
40915 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40916 _ACEOF
40917 cat >>confdefs.h <<\_ACEOF
40918 #define HAVE_DLERROR 1
40919 _ACEOF
40920
40921 else
40922
40923 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40924 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40925 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40926 echo $ECHO_N "(cached) $ECHO_C" >&6
40927 else
40928 ac_check_lib_save_LIBS=$LIBS
40929 LIBS="-ldl $LIBS"
40930 cat >conftest.$ac_ext <<_ACEOF
40931 /* confdefs.h. */
40932 _ACEOF
40933 cat confdefs.h >>conftest.$ac_ext
40934 cat >>conftest.$ac_ext <<_ACEOF
40935 /* end confdefs.h. */
40936
40937 /* Override any GCC internal prototype to avoid an error.
40938 Use char because int might match the return type of a GCC
40939 builtin and then its argument prototype would still apply. */
40940 #ifdef __cplusplus
40941 extern "C"
40942 #endif
40943 char dlerror ();
40944 int
40945 main ()
40946 {
40947 return dlerror ();
40948 ;
40949 return 0;
40950 }
40951 _ACEOF
40952 rm -f conftest.$ac_objext conftest$ac_exeext
40953 if { (ac_try="$ac_link"
40954 case "(($ac_try" in
40955 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40956 *) ac_try_echo=$ac_try;;
40957 esac
40958 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40959 (eval "$ac_link") 2>conftest.er1
40960 ac_status=$?
40961 grep -v '^ *+' conftest.er1 >conftest.err
40962 rm -f conftest.er1
40963 cat conftest.err >&5
40964 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40965 (exit $ac_status); } && {
40966 test -z "$ac_c_werror_flag" ||
40967 test ! -s conftest.err
40968 } && test -s conftest$ac_exeext &&
40969 $as_test_x conftest$ac_exeext; then
40970 ac_cv_lib_dl_dlerror=yes
40971 else
40972 echo "$as_me: failed program was:" >&5
40973 sed 's/^/| /' conftest.$ac_ext >&5
40974
40975 ac_cv_lib_dl_dlerror=no
40976 fi
40977
40978 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40979 conftest$ac_exeext conftest.$ac_ext
40980 LIBS=$ac_check_lib_save_LIBS
40981 fi
40982 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40983 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40984 if test $ac_cv_lib_dl_dlerror = yes; then
40985 cat >>confdefs.h <<\_ACEOF
40986 #define HAVE_DLERROR 1
40987 _ACEOF
40988
40989 fi
40990
40991
40992
40993 fi
40994 done
40995
40996 fi
40997 fi
40998
40999 if test "$HAVE_DL_FUNCS" = 0; then
41000 if test "$HAVE_SHL_FUNCS" = 0; then
41001 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
41002 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
41003 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
41004 wxUSE_DYNAMIC_LOADER=no
41005 wxUSE_DYNLIB_CLASS=no
41006 else
41007 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
41008 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
41009 fi
41010 fi
41011 fi
41012 fi
41013 fi
41014
41015 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
41016 cat >>confdefs.h <<\_ACEOF
41017 #define wxUSE_DYNAMIC_LOADER 1
41018 _ACEOF
41019
41020 fi
41021 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
41022 cat >>confdefs.h <<\_ACEOF
41023 #define wxUSE_DYNLIB_CLASS 1
41024 _ACEOF
41025
41026 fi
41027
41028
41029
41030 if test "$wxUSE_PLUGINS" = "yes" ; then
41031 if test "$wxUSE_SHARED" = "no" ; then
41032 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
41033 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
41034 wxUSE_PLUGINS=no
41035 fi
41036 if test "$wxUSE_MONOLITHIC" = "yes" ; then
41037 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
41038 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
41039 wxUSE_PLUGINS=no
41040 fi
41041 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
41042 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
41043 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
41044 wxUSE_PLUGINS=no
41045 fi
41046 if test "$wxUSE_PLUGINS" = "yes" ; then
41047 cat >>confdefs.h <<\_ACEOF
41048 #define wxUSE_PLUGINS 1
41049 _ACEOF
41050
41051 fi
41052 fi
41053
41054
41055 if test "$wxUSE_STL" = "yes"; then
41056 cat >>confdefs.h <<\_ACEOF
41057 #define wxUSE_STL 1
41058 _ACEOF
41059
41060 fi
41061
41062 if test "$wxUSE_EXTENDED_RTTI" = "yes"; then
41063 cat >>confdefs.h <<\_ACEOF
41064 #define wxUSE_EXTENDED_RTTI 1
41065 _ACEOF
41066
41067 fi
41068
41069 if test "$wxUSE_APPLE_IEEE" = "yes"; then
41070 cat >>confdefs.h <<\_ACEOF
41071 #define wxUSE_APPLE_IEEE 1
41072 _ACEOF
41073
41074 fi
41075
41076 if test "$wxUSE_TIMER" = "yes"; then
41077 cat >>confdefs.h <<\_ACEOF
41078 #define wxUSE_TIMER 1
41079 _ACEOF
41080
41081 fi
41082
41083 if test "$USE_UNIX" = "1" ; then
41084 if test "$wxUSE_MGL" != 1; then
41085 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
41086 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
41087 if test "${ac_cv_header_sys_soundcard+set}" = set; then
41088 echo $ECHO_N "(cached) $ECHO_C" >&6
41089 else
41090
41091 cat >conftest.$ac_ext <<_ACEOF
41092 /* confdefs.h. */
41093 _ACEOF
41094 cat confdefs.h >>conftest.$ac_ext
41095 cat >>conftest.$ac_ext <<_ACEOF
41096 /* end confdefs.h. */
41097
41098 #include <sys/ioctl.h>
41099 #include <sys/soundcard.h>
41100
41101 int
41102 main ()
41103 {
41104
41105 ioctl(0, SNDCTL_DSP_SPEED, 0);
41106
41107 ;
41108 return 0;
41109 }
41110 _ACEOF
41111 rm -f conftest.$ac_objext conftest$ac_exeext
41112 if { (ac_try="$ac_link"
41113 case "(($ac_try" in
41114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41115 *) ac_try_echo=$ac_try;;
41116 esac
41117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41118 (eval "$ac_link") 2>conftest.er1
41119 ac_status=$?
41120 grep -v '^ *+' conftest.er1 >conftest.err
41121 rm -f conftest.er1
41122 cat conftest.err >&5
41123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41124 (exit $ac_status); } && {
41125 test -z "$ac_c_werror_flag" ||
41126 test ! -s conftest.err
41127 } && test -s conftest$ac_exeext &&
41128 $as_test_x conftest$ac_exeext; then
41129 ac_cv_header_sys_soundcard=yes
41130 else
41131 echo "$as_me: failed program was:" >&5
41132 sed 's/^/| /' conftest.$ac_ext >&5
41133
41134
41135 saveLibs="$LIBS"
41136 LIBS="$saveLibs -lossaudio"
41137 cat >conftest.$ac_ext <<_ACEOF
41138 /* confdefs.h. */
41139 _ACEOF
41140 cat confdefs.h >>conftest.$ac_ext
41141 cat >>conftest.$ac_ext <<_ACEOF
41142 /* end confdefs.h. */
41143
41144 #include <sys/ioctl.h>
41145 #include <sys/soundcard.h>
41146
41147 int
41148 main ()
41149 {
41150
41151 ioctl(0, SNDCTL_DSP_SPEED, 0);
41152
41153 ;
41154 return 0;
41155 }
41156 _ACEOF
41157 rm -f conftest.$ac_objext conftest$ac_exeext
41158 if { (ac_try="$ac_link"
41159 case "(($ac_try" in
41160 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41161 *) ac_try_echo=$ac_try;;
41162 esac
41163 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41164 (eval "$ac_link") 2>conftest.er1
41165 ac_status=$?
41166 grep -v '^ *+' conftest.er1 >conftest.err
41167 rm -f conftest.er1
41168 cat conftest.err >&5
41169 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41170 (exit $ac_status); } && {
41171 test -z "$ac_c_werror_flag" ||
41172 test ! -s conftest.err
41173 } && test -s conftest$ac_exeext &&
41174 $as_test_x conftest$ac_exeext; then
41175 ac_cv_header_sys_soundcard=yes
41176 else
41177 echo "$as_me: failed program was:" >&5
41178 sed 's/^/| /' conftest.$ac_ext >&5
41179
41180
41181 LIBS="$saveLibs"
41182 ac_cv_header_sys_soundcard=no
41183
41184
41185 fi
41186
41187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41188 conftest$ac_exeext conftest.$ac_ext
41189
41190
41191 fi
41192
41193 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41194 conftest$ac_exeext conftest.$ac_ext
41195
41196 fi
41197 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
41198 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
41199 fi
41200
41201 if test "$ac_cv_header_sys_soundcard" = "yes"; then
41202 cat >>confdefs.h <<\_ACEOF
41203 #define HAVE_SYS_SOUNDCARD_H 1
41204 _ACEOF
41205
41206 fi
41207 fi
41208
41209 WITH_PLUGIN_SDL=0
41210 if test "$wxUSE_SOUND" = "yes"; then
41211 if test "$USE_UNIX" = "1" ; then
41212 if test "$wxUSE_LIBSDL" != "no"; then
41213
41214 # Check whether --with-sdl-prefix was given.
41215 if test "${with_sdl_prefix+set}" = set; then
41216 withval=$with_sdl_prefix; sdl_prefix="$withval"
41217 else
41218 sdl_prefix=""
41219 fi
41220
41221
41222 # Check whether --with-sdl-exec-prefix was given.
41223 if test "${with_sdl_exec_prefix+set}" = set; then
41224 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
41225 else
41226 sdl_exec_prefix=""
41227 fi
41228
41229 # Check whether --enable-sdltest was given.
41230 if test "${enable_sdltest+set}" = set; then
41231 enableval=$enable_sdltest;
41232 else
41233 enable_sdltest=yes
41234 fi
41235
41236
41237 if test x$sdl_exec_prefix != x ; then
41238 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
41239 if test x${SDL_CONFIG+set} != xset ; then
41240 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
41241 fi
41242 fi
41243 if test x$sdl_prefix != x ; then
41244 sdl_args="$sdl_args --prefix=$sdl_prefix"
41245 if test x${SDL_CONFIG+set} != xset ; then
41246 SDL_CONFIG=$sdl_prefix/bin/sdl-config
41247 fi
41248 fi
41249
41250 if test "x$prefix" != xNONE; then
41251 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
41252 fi
41253 # Extract the first word of "sdl-config", so it can be a program name with args.
41254 set dummy sdl-config; ac_word=$2
41255 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41256 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41257 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
41258 echo $ECHO_N "(cached) $ECHO_C" >&6
41259 else
41260 case $SDL_CONFIG in
41261 [\\/]* | ?:[\\/]*)
41262 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
41263 ;;
41264 *)
41265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41266 for as_dir in $PATH
41267 do
41268 IFS=$as_save_IFS
41269 test -z "$as_dir" && as_dir=.
41270 for ac_exec_ext in '' $ac_executable_extensions; do
41271 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41272 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41273 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41274 break 2
41275 fi
41276 done
41277 done
41278 IFS=$as_save_IFS
41279
41280 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
41281 ;;
41282 esac
41283 fi
41284 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
41285 if test -n "$SDL_CONFIG"; then
41286 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
41287 echo "${ECHO_T}$SDL_CONFIG" >&6; }
41288 else
41289 { echo "$as_me:$LINENO: result: no" >&5
41290 echo "${ECHO_T}no" >&6; }
41291 fi
41292
41293
41294 min_sdl_version=1.2.0
41295 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
41296 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
41297 no_sdl=""
41298 if test "$SDL_CONFIG" = "no" ; then
41299 no_sdl=yes
41300 else
41301 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
41302 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
41303
41304 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
41305 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
41306 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
41307 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
41308 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
41309 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
41310 if test "x$enable_sdltest" = "xyes" ; then
41311 ac_save_CFLAGS="$CFLAGS"
41312 ac_save_CXXFLAGS="$CXXFLAGS"
41313 ac_save_LIBS="$LIBS"
41314 CFLAGS="$CFLAGS $SDL_CFLAGS"
41315 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41316 LIBS="$LIBS $SDL_LIBS"
41317 rm -f conf.sdltest
41318 if test "$cross_compiling" = yes; then
41319 echo $ac_n "cross compiling; assumed OK... $ac_c"
41320 else
41321 cat >conftest.$ac_ext <<_ACEOF
41322 /* confdefs.h. */
41323 _ACEOF
41324 cat confdefs.h >>conftest.$ac_ext
41325 cat >>conftest.$ac_ext <<_ACEOF
41326 /* end confdefs.h. */
41327
41328 #include <stdio.h>
41329 #include <stdlib.h>
41330 #include <string.h>
41331 #include "SDL.h"
41332
41333 char*
41334 my_strdup (char *str)
41335 {
41336 char *new_str;
41337
41338 if (str)
41339 {
41340 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
41341 strcpy (new_str, str);
41342 }
41343 else
41344 new_str = NULL;
41345
41346 return new_str;
41347 }
41348
41349 int main (int argc, char *argv[])
41350 {
41351 int major, minor, micro;
41352 char *tmp_version;
41353
41354 /* This hangs on some systems (?)
41355 system ("touch conf.sdltest");
41356 */
41357 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41358
41359 /* HP/UX 9 (%@#!) writes to sscanf strings */
41360 tmp_version = my_strdup("$min_sdl_version");
41361 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41362 printf("%s, bad version string\n", "$min_sdl_version");
41363 exit(1);
41364 }
41365
41366 if (($sdl_major_version > major) ||
41367 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41368 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41369 {
41370 return 0;
41371 }
41372 else
41373 {
41374 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41375 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41376 printf("*** best to upgrade to the required version.\n");
41377 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41378 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41379 printf("*** config.cache before re-running configure\n");
41380 return 1;
41381 }
41382 }
41383
41384
41385 _ACEOF
41386 rm -f conftest$ac_exeext
41387 if { (ac_try="$ac_link"
41388 case "(($ac_try" in
41389 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41390 *) ac_try_echo=$ac_try;;
41391 esac
41392 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41393 (eval "$ac_link") 2>&5
41394 ac_status=$?
41395 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41396 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41397 { (case "(($ac_try" in
41398 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41399 *) ac_try_echo=$ac_try;;
41400 esac
41401 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41402 (eval "$ac_try") 2>&5
41403 ac_status=$?
41404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41405 (exit $ac_status); }; }; then
41406 :
41407 else
41408 echo "$as_me: program exited with status $ac_status" >&5
41409 echo "$as_me: failed program was:" >&5
41410 sed 's/^/| /' conftest.$ac_ext >&5
41411
41412 ( exit $ac_status )
41413 no_sdl=yes
41414 fi
41415 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41416 fi
41417
41418
41419 CFLAGS="$ac_save_CFLAGS"
41420 CXXFLAGS="$ac_save_CXXFLAGS"
41421 LIBS="$ac_save_LIBS"
41422 fi
41423 fi
41424 if test "x$no_sdl" = x ; then
41425 { echo "$as_me:$LINENO: result: yes" >&5
41426 echo "${ECHO_T}yes" >&6; }
41427
41428 EXTRALIBS_SDL="$SDL_LIBS"
41429 CFLAGS="$SDL_CFLAGS $CFLAGS"
41430 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41431 cat >>confdefs.h <<\_ACEOF
41432 #define wxUSE_LIBSDL 1
41433 _ACEOF
41434
41435
41436 else
41437 { echo "$as_me:$LINENO: result: no" >&5
41438 echo "${ECHO_T}no" >&6; }
41439 if test "$SDL_CONFIG" = "no" ; then
41440 echo "*** The sdl-config script installed by SDL could not be found"
41441 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41442 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41443 echo "*** full path to sdl-config."
41444 else
41445 if test -f conf.sdltest ; then
41446 :
41447 else
41448 echo "*** Could not run SDL test program, checking why..."
41449 CFLAGS="$CFLAGS $SDL_CFLAGS"
41450 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41451 LIBS="$LIBS $SDL_LIBS"
41452 cat >conftest.$ac_ext <<_ACEOF
41453 /* confdefs.h. */
41454 _ACEOF
41455 cat confdefs.h >>conftest.$ac_ext
41456 cat >>conftest.$ac_ext <<_ACEOF
41457 /* end confdefs.h. */
41458
41459 #include <stdio.h>
41460 #include "SDL.h"
41461
41462 int main(int argc, char *argv[])
41463 { return 0; }
41464 #undef main
41465 #define main K_and_R_C_main
41466
41467 int
41468 main ()
41469 {
41470 return 0;
41471 ;
41472 return 0;
41473 }
41474 _ACEOF
41475 rm -f conftest.$ac_objext conftest$ac_exeext
41476 if { (ac_try="$ac_link"
41477 case "(($ac_try" in
41478 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41479 *) ac_try_echo=$ac_try;;
41480 esac
41481 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41482 (eval "$ac_link") 2>conftest.er1
41483 ac_status=$?
41484 grep -v '^ *+' conftest.er1 >conftest.err
41485 rm -f conftest.er1
41486 cat conftest.err >&5
41487 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41488 (exit $ac_status); } && {
41489 test -z "$ac_c_werror_flag" ||
41490 test ! -s conftest.err
41491 } && test -s conftest$ac_exeext &&
41492 $as_test_x conftest$ac_exeext; then
41493 echo "*** The test program compiled, but did not run. This usually means"
41494 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41495 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41496 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41497 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41498 echo "*** is required on your system"
41499 echo "***"
41500 echo "*** If you have an old version installed, it is best to remove it, although"
41501 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41502 else
41503 echo "$as_me: failed program was:" >&5
41504 sed 's/^/| /' conftest.$ac_ext >&5
41505
41506 echo "*** The test program failed to compile or link. See the file config.log for the"
41507 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41508 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41509 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41510 fi
41511
41512 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41513 conftest$ac_exeext conftest.$ac_ext
41514 CFLAGS="$ac_save_CFLAGS"
41515 CXXFLAGS="$ac_save_CXXFLAGS"
41516 LIBS="$ac_save_LIBS"
41517 fi
41518 fi
41519 SDL_CFLAGS=""
41520 SDL_LIBS=""
41521 wxUSE_LIBSDL="no"
41522 fi
41523
41524
41525 rm -f conf.sdltest
41526
41527 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41528 WITH_PLUGIN_SDL=1
41529 fi
41530 fi
41531 else
41532 if test "$wxUSE_MGL" = 1; then
41533 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41534 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41535 wxUSE_SOUND="no"
41536 fi
41537 fi
41538 fi
41539
41540 if test "$wxUSE_SOUND" = "yes"; then
41541 cat >>confdefs.h <<\_ACEOF
41542 #define wxUSE_SOUND 1
41543 _ACEOF
41544
41545 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41546 fi
41547
41548 if test "$WXGTK20" = 1; then
41549
41550
41551 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41552 if test -n "$ac_tool_prefix"; then
41553 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41554 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41555 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41556 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41557 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41558 echo $ECHO_N "(cached) $ECHO_C" >&6
41559 else
41560 case $PKG_CONFIG in
41561 [\\/]* | ?:[\\/]*)
41562 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41563 ;;
41564 *)
41565 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41566 for as_dir in $PATH
41567 do
41568 IFS=$as_save_IFS
41569 test -z "$as_dir" && as_dir=.
41570 for ac_exec_ext in '' $ac_executable_extensions; do
41571 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41572 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41573 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41574 break 2
41575 fi
41576 done
41577 done
41578 IFS=$as_save_IFS
41579
41580 ;;
41581 esac
41582 fi
41583 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41584 if test -n "$PKG_CONFIG"; then
41585 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41586 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41587 else
41588 { echo "$as_me:$LINENO: result: no" >&5
41589 echo "${ECHO_T}no" >&6; }
41590 fi
41591
41592
41593 fi
41594 if test -z "$ac_cv_path_PKG_CONFIG"; then
41595 ac_pt_PKG_CONFIG=$PKG_CONFIG
41596 # Extract the first word of "pkg-config", so it can be a program name with args.
41597 set dummy pkg-config; ac_word=$2
41598 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41599 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41600 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41601 echo $ECHO_N "(cached) $ECHO_C" >&6
41602 else
41603 case $ac_pt_PKG_CONFIG in
41604 [\\/]* | ?:[\\/]*)
41605 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41606 ;;
41607 *)
41608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41609 for as_dir in $PATH
41610 do
41611 IFS=$as_save_IFS
41612 test -z "$as_dir" && as_dir=.
41613 for ac_exec_ext in '' $ac_executable_extensions; do
41614 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41615 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41616 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41617 break 2
41618 fi
41619 done
41620 done
41621 IFS=$as_save_IFS
41622
41623 ;;
41624 esac
41625 fi
41626 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41627 if test -n "$ac_pt_PKG_CONFIG"; then
41628 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41629 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41630 else
41631 { echo "$as_me:$LINENO: result: no" >&5
41632 echo "${ECHO_T}no" >&6; }
41633 fi
41634
41635 if test "x$ac_pt_PKG_CONFIG" = x; then
41636 PKG_CONFIG=""
41637 else
41638 case $cross_compiling:$ac_tool_warned in
41639 yes:)
41640 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41641 whose name does not start with the host triplet. If you think this
41642 configuration is useful to you, please write to autoconf@gnu.org." >&5
41643 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41644 whose name does not start with the host triplet. If you think this
41645 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41646 ac_tool_warned=yes ;;
41647 esac
41648 PKG_CONFIG=$ac_pt_PKG_CONFIG
41649 fi
41650 else
41651 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41652 fi
41653
41654 fi
41655 if test -n "$PKG_CONFIG"; then
41656 _pkg_min_version=0.9.0
41657 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41658 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41659 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41660 { echo "$as_me:$LINENO: result: yes" >&5
41661 echo "${ECHO_T}yes" >&6; }
41662 else
41663 { echo "$as_me:$LINENO: result: no" >&5
41664 echo "${ECHO_T}no" >&6; }
41665 PKG_CONFIG=""
41666 fi
41667
41668 fi
41669
41670 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41671 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41672
41673
41674 pkg_failed=no
41675 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41676 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41677
41678 if test -n "$PKG_CONFIG"; then
41679 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41680 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41681 else
41682 if test -n "$PKG_CONFIG" && \
41683 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41684 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41685 ac_status=$?
41686 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41687 (exit $ac_status); }; then
41688 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41689 else
41690 pkg_failed=yes
41691 fi
41692 fi
41693 else
41694 pkg_failed=untried
41695 fi
41696 if test -n "$PKG_CONFIG"; then
41697 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41698 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41699 else
41700 if test -n "$PKG_CONFIG" && \
41701 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41702 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41703 ac_status=$?
41704 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41705 (exit $ac_status); }; then
41706 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41707 else
41708 pkg_failed=yes
41709 fi
41710 fi
41711 else
41712 pkg_failed=untried
41713 fi
41714
41715
41716
41717 if test $pkg_failed = yes; then
41718
41719 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41720 _pkg_short_errors_supported=yes
41721 else
41722 _pkg_short_errors_supported=no
41723 fi
41724 if test $_pkg_short_errors_supported = yes; then
41725 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41726 else
41727 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41728 fi
41729 # Put the nasty error message in config.log where it belongs
41730 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41731
41732
41733 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41734 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41735 wxUSE_LIBGNOMEPRINT="no"
41736
41737
41738 elif test $pkg_failed = untried; then
41739
41740 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41741 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41742 wxUSE_LIBGNOMEPRINT="no"
41743
41744
41745 else
41746 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41747 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41748 { echo "$as_me:$LINENO: result: yes" >&5
41749 echo "${ECHO_T}yes" >&6; }
41750
41751 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41752 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41753 cat >>confdefs.h <<\_ACEOF
41754 #define wxUSE_LIBGNOMEPRINT 1
41755 _ACEOF
41756
41757
41758 fi
41759 fi
41760 fi
41761
41762 if test "$wxUSE_MIMETYPE" = "yes" ; then
41763 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41764
41765
41766 pkg_failed=no
41767 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41768 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41769
41770 if test -n "$PKG_CONFIG"; then
41771 if test -n "$GNOMEVFS_CFLAGS"; then
41772 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41773 else
41774 if test -n "$PKG_CONFIG" && \
41775 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41776 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41777 ac_status=$?
41778 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41779 (exit $ac_status); }; then
41780 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41781 else
41782 pkg_failed=yes
41783 fi
41784 fi
41785 else
41786 pkg_failed=untried
41787 fi
41788 if test -n "$PKG_CONFIG"; then
41789 if test -n "$GNOMEVFS_LIBS"; then
41790 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41791 else
41792 if test -n "$PKG_CONFIG" && \
41793 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41794 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41795 ac_status=$?
41796 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41797 (exit $ac_status); }; then
41798 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41799 else
41800 pkg_failed=yes
41801 fi
41802 fi
41803 else
41804 pkg_failed=untried
41805 fi
41806
41807
41808
41809 if test $pkg_failed = yes; then
41810
41811 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41812 _pkg_short_errors_supported=yes
41813 else
41814 _pkg_short_errors_supported=no
41815 fi
41816 if test $_pkg_short_errors_supported = yes; then
41817 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41818 else
41819 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41820 fi
41821 # Put the nasty error message in config.log where it belongs
41822 echo "$GNOMEVFS_PKG_ERRORS" >&5
41823
41824
41825 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41826 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41827 wxUSE_LIBGNOMEVFS="no"
41828
41829
41830 elif test $pkg_failed = untried; then
41831
41832 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41833 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41834 wxUSE_LIBGNOMEVFS="no"
41835
41836
41837 else
41838 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41839 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41840 { echo "$as_me:$LINENO: result: yes" >&5
41841 echo "${ECHO_T}yes" >&6; }
41842
41843 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41844 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41845 cat >>confdefs.h <<\_ACEOF
41846 #define wxUSE_LIBGNOMEVFS 1
41847 _ACEOF
41848
41849
41850 fi
41851 fi
41852 fi
41853
41854 if test "$wxUSE_LIBHILDON" = "yes" ; then
41855
41856 pkg_failed=no
41857 { echo "$as_me:$LINENO: checking for HILDON" >&5
41858 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41859
41860 if test -n "$PKG_CONFIG"; then
41861 if test -n "$HILDON_CFLAGS"; then
41862 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41863 else
41864 if test -n "$PKG_CONFIG" && \
41865 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41866 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41867 ac_status=$?
41868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41869 (exit $ac_status); }; then
41870 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41871 else
41872 pkg_failed=yes
41873 fi
41874 fi
41875 else
41876 pkg_failed=untried
41877 fi
41878 if test -n "$PKG_CONFIG"; then
41879 if test -n "$HILDON_LIBS"; then
41880 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41881 else
41882 if test -n "$PKG_CONFIG" && \
41883 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41884 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41885 ac_status=$?
41886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41887 (exit $ac_status); }; then
41888 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41889 else
41890 pkg_failed=yes
41891 fi
41892 fi
41893 else
41894 pkg_failed=untried
41895 fi
41896
41897
41898
41899 if test $pkg_failed = yes; then
41900
41901 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41902 _pkg_short_errors_supported=yes
41903 else
41904 _pkg_short_errors_supported=no
41905 fi
41906 if test $_pkg_short_errors_supported = yes; then
41907 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41908 else
41909 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41910 fi
41911 # Put the nasty error message in config.log where it belongs
41912 echo "$HILDON_PKG_ERRORS" >&5
41913
41914
41915 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41916 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41917 wxUSE_LIBHILDON="no"
41918
41919
41920 elif test $pkg_failed = untried; then
41921
41922 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41923 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41924 wxUSE_LIBHILDON="no"
41925
41926
41927 else
41928 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41929 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41930 { echo "$as_me:$LINENO: result: yes" >&5
41931 echo "${ECHO_T}yes" >&6; }
41932
41933 EXTRALIBS_HILDON="$HILDON_LIBS"
41934 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41935 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41936 cat >>confdefs.h <<\_ACEOF
41937 #define wxUSE_LIBHILDON 1
41938 _ACEOF
41939
41940
41941 fi
41942 fi
41943 fi
41944
41945 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41946 cat >>confdefs.h <<\_ACEOF
41947 #define wxUSE_CMDLINE_PARSER 1
41948 _ACEOF
41949
41950 fi
41951
41952 if test "$wxUSE_STOPWATCH" = "yes"; then
41953 cat >>confdefs.h <<\_ACEOF
41954 #define wxUSE_STOPWATCH 1
41955 _ACEOF
41956
41957 fi
41958
41959 if test "$wxUSE_DATETIME" = "yes"; then
41960 cat >>confdefs.h <<\_ACEOF
41961 #define wxUSE_DATETIME 1
41962 _ACEOF
41963
41964 fi
41965
41966 if test "$wxUSE_FILE" = "yes"; then
41967 cat >>confdefs.h <<\_ACEOF
41968 #define wxUSE_FILE 1
41969 _ACEOF
41970
41971 fi
41972
41973 if test "$wxUSE_FFILE" = "yes"; then
41974 cat >>confdefs.h <<\_ACEOF
41975 #define wxUSE_FFILE 1
41976 _ACEOF
41977
41978 fi
41979
41980 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41981 if test "$wxUSE_STREAMS" != yes; then
41982 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41983 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41984 wxUSE_ARCHIVE_STREAMS=no
41985 else
41986 cat >>confdefs.h <<\_ACEOF
41987 #define wxUSE_ARCHIVE_STREAMS 1
41988 _ACEOF
41989
41990 fi
41991 fi
41992
41993 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41994 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41995 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41996 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41997 elif test "$wxUSE_ZLIB" = "no"; then
41998 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41999 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
42000 else
42001 cat >>confdefs.h <<\_ACEOF
42002 #define wxUSE_ZIPSTREAM 1
42003 _ACEOF
42004
42005 fi
42006 fi
42007
42008 if test "$wxUSE_TARSTREAM" = "yes"; then
42009 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
42010 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
42011 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
42012 else
42013 cat >>confdefs.h <<\_ACEOF
42014 #define wxUSE_TARSTREAM 1
42015 _ACEOF
42016
42017 fi
42018 fi
42019
42020 if test "$wxUSE_FILESYSTEM" = "yes"; then
42021 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
42022 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
42023 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
42024 wxUSE_FILESYSTEM=no
42025 else
42026 cat >>confdefs.h <<\_ACEOF
42027 #define wxUSE_FILESYSTEM 1
42028 _ACEOF
42029
42030 fi
42031 fi
42032
42033 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
42034 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
42035 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
42036 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
42037 else
42038 cat >>confdefs.h <<\_ACEOF
42039 #define wxUSE_FS_ARCHIVE 1
42040 _ACEOF
42041
42042 fi
42043 fi
42044
42045 if test "$wxUSE_FS_ZIP" = "yes"; then
42046 if test "$wxUSE_FS_ARCHIVE" != yes; then
42047 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
42048 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
42049 else
42050 cat >>confdefs.h <<\_ACEOF
42051 #define wxUSE_FS_ZIP 1
42052 _ACEOF
42053
42054 fi
42055 fi
42056
42057 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42058 if test "$USE_UNIX" != 1; then
42059 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
42060 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
42061 wxUSE_ON_FATAL_EXCEPTION=no
42062 else
42063 cat >>confdefs.h <<\_ACEOF
42064 #define wxUSE_ON_FATAL_EXCEPTION 1
42065 _ACEOF
42066
42067 fi
42068 fi
42069
42070 if test "$wxUSE_STACKWALKER" = "yes"; then
42071 cat >>confdefs.h <<\_ACEOF
42072 #define wxUSE_STACKWALKER 1
42073 _ACEOF
42074
42075 fi
42076
42077 if test "$wxUSE_DEBUGREPORT" = "yes"; then
42078 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
42079 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
42080 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
42081 wxUSE_DEBUGREPORT=no
42082 else
42083 cat >>confdefs.h <<\_ACEOF
42084 #define wxUSE_DEBUGREPORT 1
42085 _ACEOF
42086
42087 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
42088 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
42089 fi
42090 fi
42091 fi
42092
42093 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
42094 cat >>confdefs.h <<\_ACEOF
42095 #define wxUSE_SNGLINST_CHECKER 1
42096 _ACEOF
42097
42098 fi
42099
42100 if test "$wxUSE_BUSYINFO" = "yes"; then
42101 cat >>confdefs.h <<\_ACEOF
42102 #define wxUSE_BUSYINFO 1
42103 _ACEOF
42104
42105 fi
42106
42107 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
42108 cat >>confdefs.h <<\_ACEOF
42109 #define wxUSE_STD_IOSTREAM 1
42110 _ACEOF
42111
42112 fi
42113
42114 if test "$wxUSE_STD_STRING" = "yes"; then
42115 cat >>confdefs.h <<\_ACEOF
42116 #define wxUSE_STD_STRING 1
42117 _ACEOF
42118
42119 fi
42120
42121 if test "$wxUSE_STDPATHS" = "yes"; then
42122 cat >>confdefs.h <<\_ACEOF
42123 #define wxUSE_STDPATHS 1
42124 _ACEOF
42125
42126 fi
42127
42128 if test "$wxUSE_TEXTBUFFER" = "yes"; then
42129 cat >>confdefs.h <<\_ACEOF
42130 #define wxUSE_TEXTBUFFER 1
42131 _ACEOF
42132
42133 fi
42134
42135 if test "$wxUSE_TEXTFILE" = "yes"; then
42136 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
42137 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
42138 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
42139 else
42140 cat >>confdefs.h <<\_ACEOF
42141 #define wxUSE_TEXTFILE 1
42142 _ACEOF
42143
42144 fi
42145 fi
42146
42147 if test "$wxUSE_CONFIG" = "yes" ; then
42148 if test "$wxUSE_TEXTFILE" != "yes"; then
42149 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
42150 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
42151 else
42152 cat >>confdefs.h <<\_ACEOF
42153 #define wxUSE_CONFIG 1
42154 _ACEOF
42155
42156 cat >>confdefs.h <<\_ACEOF
42157 #define wxUSE_CONFIG_NATIVE 1
42158 _ACEOF
42159
42160 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
42161 fi
42162 fi
42163
42164 if test "$wxUSE_INTL" = "yes" ; then
42165 if test "$wxUSE_FILE" != "yes"; then
42166 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
42167 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
42168 else
42169 cat >>confdefs.h <<\_ACEOF
42170 #define wxUSE_INTL 1
42171 _ACEOF
42172
42173 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
42174 GUIDIST="$GUIDIST INTL_DIST"
42175 fi
42176 fi
42177
42178 if test "$wxUSE_LOG" = "yes"; then
42179 cat >>confdefs.h <<\_ACEOF
42180 #define wxUSE_LOG 1
42181 _ACEOF
42182
42183
42184 if test "$wxUSE_LOGGUI" = "yes"; then
42185 cat >>confdefs.h <<\_ACEOF
42186 #define wxUSE_LOGGUI 1
42187 _ACEOF
42188
42189 fi
42190
42191 if test "$wxUSE_LOGWINDOW" = "yes"; then
42192 cat >>confdefs.h <<\_ACEOF
42193 #define wxUSE_LOGWINDOW 1
42194 _ACEOF
42195
42196 fi
42197
42198 if test "$wxUSE_LOGDIALOG" = "yes"; then
42199 cat >>confdefs.h <<\_ACEOF
42200 #define wxUSE_LOG_DIALOG 1
42201 _ACEOF
42202
42203 fi
42204
42205 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
42206 fi
42207
42208 if test "$wxUSE_LONGLONG" = "yes"; then
42209 cat >>confdefs.h <<\_ACEOF
42210 #define wxUSE_LONGLONG 1
42211 _ACEOF
42212
42213 fi
42214
42215 if test "$wxUSE_GEOMETRY" = "yes"; then
42216 cat >>confdefs.h <<\_ACEOF
42217 #define wxUSE_GEOMETRY 1
42218 _ACEOF
42219
42220 fi
42221
42222 if test "$wxUSE_STREAMS" = "yes" ; then
42223 cat >>confdefs.h <<\_ACEOF
42224 #define wxUSE_STREAMS 1
42225 _ACEOF
42226
42227 fi
42228
42229 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
42230 cat >>confdefs.h <<\_ACEOF
42231 #define wxUSE_PRINTF_POS_PARAMS 1
42232 _ACEOF
42233
42234 fi
42235
42236
42237
42238 if test "$wxUSE_DATETIME" = "yes"; then
42239
42240 for ac_func in strptime
42241 do
42242 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42243 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42244 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42245 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42246 echo $ECHO_N "(cached) $ECHO_C" >&6
42247 else
42248 cat >conftest.$ac_ext <<_ACEOF
42249 /* confdefs.h. */
42250 _ACEOF
42251 cat confdefs.h >>conftest.$ac_ext
42252 cat >>conftest.$ac_ext <<_ACEOF
42253 /* end confdefs.h. */
42254 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42255 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42256 #define $ac_func innocuous_$ac_func
42257
42258 /* System header to define __stub macros and hopefully few prototypes,
42259 which can conflict with char $ac_func (); below.
42260 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42261 <limits.h> exists even on freestanding compilers. */
42262
42263 #ifdef __STDC__
42264 # include <limits.h>
42265 #else
42266 # include <assert.h>
42267 #endif
42268
42269 #undef $ac_func
42270
42271 /* Override any GCC internal prototype to avoid an error.
42272 Use char because int might match the return type of a GCC
42273 builtin and then its argument prototype would still apply. */
42274 #ifdef __cplusplus
42275 extern "C"
42276 #endif
42277 char $ac_func ();
42278 /* The GNU C library defines this for functions which it implements
42279 to always fail with ENOSYS. Some functions are actually named
42280 something starting with __ and the normal name is an alias. */
42281 #if defined __stub_$ac_func || defined __stub___$ac_func
42282 choke me
42283 #endif
42284
42285 int
42286 main ()
42287 {
42288 return $ac_func ();
42289 ;
42290 return 0;
42291 }
42292 _ACEOF
42293 rm -f conftest.$ac_objext conftest$ac_exeext
42294 if { (ac_try="$ac_link"
42295 case "(($ac_try" in
42296 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42297 *) ac_try_echo=$ac_try;;
42298 esac
42299 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42300 (eval "$ac_link") 2>conftest.er1
42301 ac_status=$?
42302 grep -v '^ *+' conftest.er1 >conftest.err
42303 rm -f conftest.er1
42304 cat conftest.err >&5
42305 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42306 (exit $ac_status); } && {
42307 test -z "$ac_c_werror_flag" ||
42308 test ! -s conftest.err
42309 } && test -s conftest$ac_exeext &&
42310 $as_test_x conftest$ac_exeext; then
42311 eval "$as_ac_var=yes"
42312 else
42313 echo "$as_me: failed program was:" >&5
42314 sed 's/^/| /' conftest.$ac_ext >&5
42315
42316 eval "$as_ac_var=no"
42317 fi
42318
42319 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42320 conftest$ac_exeext conftest.$ac_ext
42321 fi
42322 ac_res=`eval echo '${'$as_ac_var'}'`
42323 { echo "$as_me:$LINENO: result: $ac_res" >&5
42324 echo "${ECHO_T}$ac_res" >&6; }
42325 if test `eval echo '${'$as_ac_var'}'` = yes; then
42326 cat >>confdefs.h <<_ACEOF
42327 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42328 _ACEOF
42329
42330 fi
42331 done
42332
42333 if test "$ac_cv_func_strptime" = "yes"; then
42334 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
42335 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
42336 if test "${wx_cv_func_strptime_decl+set}" = set; then
42337 echo $ECHO_N "(cached) $ECHO_C" >&6
42338 else
42339
42340 ac_ext=cpp
42341 ac_cpp='$CXXCPP $CPPFLAGS'
42342 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42343 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42344 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42345
42346 cat >conftest.$ac_ext <<_ACEOF
42347 /* confdefs.h. */
42348 _ACEOF
42349 cat confdefs.h >>conftest.$ac_ext
42350 cat >>conftest.$ac_ext <<_ACEOF
42351 /* end confdefs.h. */
42352
42353 #include <time.h>
42354
42355 int
42356 main ()
42357 {
42358
42359 struct tm t;
42360 strptime("foo", "bar", &t);
42361
42362 ;
42363 return 0;
42364 }
42365 _ACEOF
42366 rm -f conftest.$ac_objext
42367 if { (ac_try="$ac_compile"
42368 case "(($ac_try" in
42369 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42370 *) ac_try_echo=$ac_try;;
42371 esac
42372 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42373 (eval "$ac_compile") 2>conftest.er1
42374 ac_status=$?
42375 grep -v '^ *+' conftest.er1 >conftest.err
42376 rm -f conftest.er1
42377 cat conftest.err >&5
42378 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42379 (exit $ac_status); } && {
42380 test -z "$ac_cxx_werror_flag" ||
42381 test ! -s conftest.err
42382 } && test -s conftest.$ac_objext; then
42383 wx_cv_func_strptime_decl=yes
42384 else
42385 echo "$as_me: failed program was:" >&5
42386 sed 's/^/| /' conftest.$ac_ext >&5
42387
42388 wx_cv_func_strptime_decl=no
42389
42390 fi
42391
42392 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42393 ac_ext=c
42394 ac_cpp='$CPP $CPPFLAGS'
42395 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42396 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42397 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42398
42399
42400
42401 fi
42402 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42403 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42404 fi
42405 if test "$wx_cv_func_strptime_decl" = "yes"; then
42406 cat >>confdefs.h <<\_ACEOF
42407 #define HAVE_STRPTIME_DECL 1
42408 _ACEOF
42409
42410 fi
42411
42412 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42413 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42414 if test "${wx_cv_var_timezone+set}" = set; then
42415 echo $ECHO_N "(cached) $ECHO_C" >&6
42416 else
42417
42418 ac_ext=cpp
42419 ac_cpp='$CXXCPP $CPPFLAGS'
42420 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42421 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42422 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42423
42424 cat >conftest.$ac_ext <<_ACEOF
42425 /* confdefs.h. */
42426 _ACEOF
42427 cat confdefs.h >>conftest.$ac_ext
42428 cat >>conftest.$ac_ext <<_ACEOF
42429 /* end confdefs.h. */
42430
42431 #include <time.h>
42432
42433 int
42434 main ()
42435 {
42436
42437 int tz;
42438 tz = timezone;
42439
42440 ;
42441 return 0;
42442 }
42443 _ACEOF
42444 rm -f conftest.$ac_objext
42445 if { (ac_try="$ac_compile"
42446 case "(($ac_try" in
42447 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42448 *) ac_try_echo=$ac_try;;
42449 esac
42450 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42451 (eval "$ac_compile") 2>conftest.er1
42452 ac_status=$?
42453 grep -v '^ *+' conftest.er1 >conftest.err
42454 rm -f conftest.er1
42455 cat conftest.err >&5
42456 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42457 (exit $ac_status); } && {
42458 test -z "$ac_cxx_werror_flag" ||
42459 test ! -s conftest.err
42460 } && test -s conftest.$ac_objext; then
42461
42462 wx_cv_var_timezone=timezone
42463
42464 else
42465 echo "$as_me: failed program was:" >&5
42466 sed 's/^/| /' conftest.$ac_ext >&5
42467
42468
42469 cat >conftest.$ac_ext <<_ACEOF
42470 /* confdefs.h. */
42471 _ACEOF
42472 cat confdefs.h >>conftest.$ac_ext
42473 cat >>conftest.$ac_ext <<_ACEOF
42474 /* end confdefs.h. */
42475
42476 #include <time.h>
42477
42478 int
42479 main ()
42480 {
42481
42482 int tz;
42483 tz = _timezone;
42484
42485 ;
42486 return 0;
42487 }
42488 _ACEOF
42489 rm -f conftest.$ac_objext
42490 if { (ac_try="$ac_compile"
42491 case "(($ac_try" in
42492 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42493 *) ac_try_echo=$ac_try;;
42494 esac
42495 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42496 (eval "$ac_compile") 2>conftest.er1
42497 ac_status=$?
42498 grep -v '^ *+' conftest.er1 >conftest.err
42499 rm -f conftest.er1
42500 cat conftest.err >&5
42501 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42502 (exit $ac_status); } && {
42503 test -z "$ac_cxx_werror_flag" ||
42504 test ! -s conftest.err
42505 } && test -s conftest.$ac_objext; then
42506
42507 wx_cv_var_timezone=_timezone
42508
42509 else
42510 echo "$as_me: failed program was:" >&5
42511 sed 's/^/| /' conftest.$ac_ext >&5
42512
42513
42514 cat >conftest.$ac_ext <<_ACEOF
42515 /* confdefs.h. */
42516 _ACEOF
42517 cat confdefs.h >>conftest.$ac_ext
42518 cat >>conftest.$ac_ext <<_ACEOF
42519 /* end confdefs.h. */
42520
42521 #include <time.h>
42522
42523 int
42524 main ()
42525 {
42526
42527 int tz;
42528 tz = __timezone;
42529
42530 ;
42531 return 0;
42532 }
42533 _ACEOF
42534 rm -f conftest.$ac_objext
42535 if { (ac_try="$ac_compile"
42536 case "(($ac_try" in
42537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42538 *) ac_try_echo=$ac_try;;
42539 esac
42540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42541 (eval "$ac_compile") 2>conftest.er1
42542 ac_status=$?
42543 grep -v '^ *+' conftest.er1 >conftest.err
42544 rm -f conftest.er1
42545 cat conftest.err >&5
42546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42547 (exit $ac_status); } && {
42548 test -z "$ac_cxx_werror_flag" ||
42549 test ! -s conftest.err
42550 } && test -s conftest.$ac_objext; then
42551
42552 wx_cv_var_timezone=__timezone
42553
42554 else
42555 echo "$as_me: failed program was:" >&5
42556 sed 's/^/| /' conftest.$ac_ext >&5
42557
42558
42559 if test "$USE_DOS" = 0 ; then
42560 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42561 echo "$as_me: WARNING: no timezone variable" >&2;}
42562 fi
42563
42564
42565 fi
42566
42567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42568
42569
42570 fi
42571
42572 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42573
42574
42575 fi
42576
42577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42578 ac_ext=c
42579 ac_cpp='$CPP $CPPFLAGS'
42580 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42581 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42582 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42583
42584
42585
42586 fi
42587 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42588 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42589
42590 if test "x$wx_cv_var_timezone" != x ; then
42591 cat >>confdefs.h <<_ACEOF
42592 #define WX_TIMEZONE $wx_cv_var_timezone
42593 _ACEOF
42594
42595 fi
42596
42597
42598 for ac_func in localtime
42599 do
42600 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42601 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42602 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42603 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42604 echo $ECHO_N "(cached) $ECHO_C" >&6
42605 else
42606 cat >conftest.$ac_ext <<_ACEOF
42607 /* confdefs.h. */
42608 _ACEOF
42609 cat confdefs.h >>conftest.$ac_ext
42610 cat >>conftest.$ac_ext <<_ACEOF
42611 /* end confdefs.h. */
42612 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42613 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42614 #define $ac_func innocuous_$ac_func
42615
42616 /* System header to define __stub macros and hopefully few prototypes,
42617 which can conflict with char $ac_func (); below.
42618 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42619 <limits.h> exists even on freestanding compilers. */
42620
42621 #ifdef __STDC__
42622 # include <limits.h>
42623 #else
42624 # include <assert.h>
42625 #endif
42626
42627 #undef $ac_func
42628
42629 /* Override any GCC internal prototype to avoid an error.
42630 Use char because int might match the return type of a GCC
42631 builtin and then its argument prototype would still apply. */
42632 #ifdef __cplusplus
42633 extern "C"
42634 #endif
42635 char $ac_func ();
42636 /* The GNU C library defines this for functions which it implements
42637 to always fail with ENOSYS. Some functions are actually named
42638 something starting with __ and the normal name is an alias. */
42639 #if defined __stub_$ac_func || defined __stub___$ac_func
42640 choke me
42641 #endif
42642
42643 int
42644 main ()
42645 {
42646 return $ac_func ();
42647 ;
42648 return 0;
42649 }
42650 _ACEOF
42651 rm -f conftest.$ac_objext conftest$ac_exeext
42652 if { (ac_try="$ac_link"
42653 case "(($ac_try" in
42654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42655 *) ac_try_echo=$ac_try;;
42656 esac
42657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42658 (eval "$ac_link") 2>conftest.er1
42659 ac_status=$?
42660 grep -v '^ *+' conftest.er1 >conftest.err
42661 rm -f conftest.er1
42662 cat conftest.err >&5
42663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42664 (exit $ac_status); } && {
42665 test -z "$ac_c_werror_flag" ||
42666 test ! -s conftest.err
42667 } && test -s conftest$ac_exeext &&
42668 $as_test_x conftest$ac_exeext; then
42669 eval "$as_ac_var=yes"
42670 else
42671 echo "$as_me: failed program was:" >&5
42672 sed 's/^/| /' conftest.$ac_ext >&5
42673
42674 eval "$as_ac_var=no"
42675 fi
42676
42677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42678 conftest$ac_exeext conftest.$ac_ext
42679 fi
42680 ac_res=`eval echo '${'$as_ac_var'}'`
42681 { echo "$as_me:$LINENO: result: $ac_res" >&5
42682 echo "${ECHO_T}$ac_res" >&6; }
42683 if test `eval echo '${'$as_ac_var'}'` = yes; then
42684 cat >>confdefs.h <<_ACEOF
42685 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42686 _ACEOF
42687
42688 fi
42689 done
42690
42691
42692 if test "$ac_cv_func_localtime" = "yes"; then
42693 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42694 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42695 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42696 echo $ECHO_N "(cached) $ECHO_C" >&6
42697 else
42698
42699 cat >conftest.$ac_ext <<_ACEOF
42700 /* confdefs.h. */
42701 _ACEOF
42702 cat confdefs.h >>conftest.$ac_ext
42703 cat >>conftest.$ac_ext <<_ACEOF
42704 /* end confdefs.h. */
42705
42706 #include <time.h>
42707
42708 int
42709 main ()
42710 {
42711
42712 struct tm tm;
42713 tm.tm_gmtoff++;
42714
42715 ;
42716 return 0;
42717 }
42718 _ACEOF
42719 rm -f conftest.$ac_objext
42720 if { (ac_try="$ac_compile"
42721 case "(($ac_try" in
42722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42723 *) ac_try_echo=$ac_try;;
42724 esac
42725 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42726 (eval "$ac_compile") 2>conftest.er1
42727 ac_status=$?
42728 grep -v '^ *+' conftest.er1 >conftest.err
42729 rm -f conftest.er1
42730 cat conftest.err >&5
42731 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42732 (exit $ac_status); } && {
42733 test -z "$ac_c_werror_flag" ||
42734 test ! -s conftest.err
42735 } && test -s conftest.$ac_objext; then
42736
42737 wx_cv_struct_tm_has_gmtoff=yes
42738
42739 else
42740 echo "$as_me: failed program was:" >&5
42741 sed 's/^/| /' conftest.$ac_ext >&5
42742
42743 wx_cv_struct_tm_has_gmtoff=no
42744
42745 fi
42746
42747 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42748
42749 fi
42750 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42751 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42752 fi
42753
42754 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42755 cat >>confdefs.h <<\_ACEOF
42756 #define WX_GMTOFF_IN_TM 1
42757 _ACEOF
42758
42759 fi
42760
42761
42762
42763 for ac_func in gettimeofday ftime
42764 do
42765 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42766 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42767 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42768 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42769 echo $ECHO_N "(cached) $ECHO_C" >&6
42770 else
42771 cat >conftest.$ac_ext <<_ACEOF
42772 /* confdefs.h. */
42773 _ACEOF
42774 cat confdefs.h >>conftest.$ac_ext
42775 cat >>conftest.$ac_ext <<_ACEOF
42776 /* end confdefs.h. */
42777 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42778 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42779 #define $ac_func innocuous_$ac_func
42780
42781 /* System header to define __stub macros and hopefully few prototypes,
42782 which can conflict with char $ac_func (); below.
42783 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42784 <limits.h> exists even on freestanding compilers. */
42785
42786 #ifdef __STDC__
42787 # include <limits.h>
42788 #else
42789 # include <assert.h>
42790 #endif
42791
42792 #undef $ac_func
42793
42794 /* Override any GCC internal prototype to avoid an error.
42795 Use char because int might match the return type of a GCC
42796 builtin and then its argument prototype would still apply. */
42797 #ifdef __cplusplus
42798 extern "C"
42799 #endif
42800 char $ac_func ();
42801 /* The GNU C library defines this for functions which it implements
42802 to always fail with ENOSYS. Some functions are actually named
42803 something starting with __ and the normal name is an alias. */
42804 #if defined __stub_$ac_func || defined __stub___$ac_func
42805 choke me
42806 #endif
42807
42808 int
42809 main ()
42810 {
42811 return $ac_func ();
42812 ;
42813 return 0;
42814 }
42815 _ACEOF
42816 rm -f conftest.$ac_objext conftest$ac_exeext
42817 if { (ac_try="$ac_link"
42818 case "(($ac_try" in
42819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42820 *) ac_try_echo=$ac_try;;
42821 esac
42822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42823 (eval "$ac_link") 2>conftest.er1
42824 ac_status=$?
42825 grep -v '^ *+' conftest.er1 >conftest.err
42826 rm -f conftest.er1
42827 cat conftest.err >&5
42828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42829 (exit $ac_status); } && {
42830 test -z "$ac_c_werror_flag" ||
42831 test ! -s conftest.err
42832 } && test -s conftest$ac_exeext &&
42833 $as_test_x conftest$ac_exeext; then
42834 eval "$as_ac_var=yes"
42835 else
42836 echo "$as_me: failed program was:" >&5
42837 sed 's/^/| /' conftest.$ac_ext >&5
42838
42839 eval "$as_ac_var=no"
42840 fi
42841
42842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42843 conftest$ac_exeext conftest.$ac_ext
42844 fi
42845 ac_res=`eval echo '${'$as_ac_var'}'`
42846 { echo "$as_me:$LINENO: result: $ac_res" >&5
42847 echo "${ECHO_T}$ac_res" >&6; }
42848 if test `eval echo '${'$as_ac_var'}'` = yes; then
42849 cat >>confdefs.h <<_ACEOF
42850 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42851 _ACEOF
42852 break
42853 fi
42854 done
42855
42856
42857 if test "$ac_cv_func_gettimeofday" = "yes"; then
42858 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42859 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42860 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42861 echo $ECHO_N "(cached) $ECHO_C" >&6
42862 else
42863
42864 cat >conftest.$ac_ext <<_ACEOF
42865 /* confdefs.h. */
42866 _ACEOF
42867 cat confdefs.h >>conftest.$ac_ext
42868 cat >>conftest.$ac_ext <<_ACEOF
42869 /* end confdefs.h. */
42870
42871 #include <sys/time.h>
42872 #include <unistd.h>
42873
42874 int
42875 main ()
42876 {
42877
42878 struct timeval tv;
42879 gettimeofday(&tv, NULL);
42880
42881 ;
42882 return 0;
42883 }
42884 _ACEOF
42885 rm -f conftest.$ac_objext
42886 if { (ac_try="$ac_compile"
42887 case "(($ac_try" in
42888 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42889 *) ac_try_echo=$ac_try;;
42890 esac
42891 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42892 (eval "$ac_compile") 2>conftest.er1
42893 ac_status=$?
42894 grep -v '^ *+' conftest.er1 >conftest.err
42895 rm -f conftest.er1
42896 cat conftest.err >&5
42897 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42898 (exit $ac_status); } && {
42899 test -z "$ac_c_werror_flag" ||
42900 test ! -s conftest.err
42901 } && test -s conftest.$ac_objext; then
42902 wx_cv_func_gettimeofday_has_2_args=yes
42903 else
42904 echo "$as_me: failed program was:" >&5
42905 sed 's/^/| /' conftest.$ac_ext >&5
42906
42907 cat >conftest.$ac_ext <<_ACEOF
42908 /* confdefs.h. */
42909 _ACEOF
42910 cat confdefs.h >>conftest.$ac_ext
42911 cat >>conftest.$ac_ext <<_ACEOF
42912 /* end confdefs.h. */
42913
42914 #include <sys/time.h>
42915 #include <unistd.h>
42916
42917 int
42918 main ()
42919 {
42920
42921 struct timeval tv;
42922 gettimeofday(&tv);
42923
42924 ;
42925 return 0;
42926 }
42927 _ACEOF
42928 rm -f conftest.$ac_objext
42929 if { (ac_try="$ac_compile"
42930 case "(($ac_try" in
42931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42932 *) ac_try_echo=$ac_try;;
42933 esac
42934 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42935 (eval "$ac_compile") 2>conftest.er1
42936 ac_status=$?
42937 grep -v '^ *+' conftest.er1 >conftest.err
42938 rm -f conftest.er1
42939 cat conftest.err >&5
42940 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42941 (exit $ac_status); } && {
42942 test -z "$ac_c_werror_flag" ||
42943 test ! -s conftest.err
42944 } && test -s conftest.$ac_objext; then
42945 wx_cv_func_gettimeofday_has_2_args=no
42946 else
42947 echo "$as_me: failed program was:" >&5
42948 sed 's/^/| /' conftest.$ac_ext >&5
42949
42950
42951 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42952 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42953 wx_cv_func_gettimeofday_has_2_args=unknown
42954
42955
42956 fi
42957
42958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42959
42960 fi
42961
42962 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42963
42964 fi
42965 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42966 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42967
42968 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42969 cat >>confdefs.h <<\_ACEOF
42970 #define WX_GETTIMEOFDAY_NO_TZ 1
42971 _ACEOF
42972
42973 fi
42974 fi
42975
42976 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42977 fi
42978
42979
42980 if test "$wxUSE_SOCKETS" = "yes"; then
42981 if test "$wxUSE_MGL" = "1"; then
42982 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42983 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42984 wxUSE_SOCKETS="no"
42985 fi
42986 fi
42987
42988 if test "$wxUSE_SOCKETS" = "yes"; then
42989 if test "$TOOLKIT" != "MSW"; then
42990 { echo "$as_me:$LINENO: checking for socket" >&5
42991 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42992 if test "${ac_cv_func_socket+set}" = set; then
42993 echo $ECHO_N "(cached) $ECHO_C" >&6
42994 else
42995 cat >conftest.$ac_ext <<_ACEOF
42996 /* confdefs.h. */
42997 _ACEOF
42998 cat confdefs.h >>conftest.$ac_ext
42999 cat >>conftest.$ac_ext <<_ACEOF
43000 /* end confdefs.h. */
43001 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
43002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
43003 #define socket innocuous_socket
43004
43005 /* System header to define __stub macros and hopefully few prototypes,
43006 which can conflict with char socket (); below.
43007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
43008 <limits.h> exists even on freestanding compilers. */
43009
43010 #ifdef __STDC__
43011 # include <limits.h>
43012 #else
43013 # include <assert.h>
43014 #endif
43015
43016 #undef socket
43017
43018 /* Override any GCC internal prototype to avoid an error.
43019 Use char because int might match the return type of a GCC
43020 builtin and then its argument prototype would still apply. */
43021 #ifdef __cplusplus
43022 extern "C"
43023 #endif
43024 char socket ();
43025 /* The GNU C library defines this for functions which it implements
43026 to always fail with ENOSYS. Some functions are actually named
43027 something starting with __ and the normal name is an alias. */
43028 #if defined __stub_socket || defined __stub___socket
43029 choke me
43030 #endif
43031
43032 int
43033 main ()
43034 {
43035 return socket ();
43036 ;
43037 return 0;
43038 }
43039 _ACEOF
43040 rm -f conftest.$ac_objext conftest$ac_exeext
43041 if { (ac_try="$ac_link"
43042 case "(($ac_try" in
43043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43044 *) ac_try_echo=$ac_try;;
43045 esac
43046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43047 (eval "$ac_link") 2>conftest.er1
43048 ac_status=$?
43049 grep -v '^ *+' conftest.er1 >conftest.err
43050 rm -f conftest.er1
43051 cat conftest.err >&5
43052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43053 (exit $ac_status); } && {
43054 test -z "$ac_c_werror_flag" ||
43055 test ! -s conftest.err
43056 } && test -s conftest$ac_exeext &&
43057 $as_test_x conftest$ac_exeext; then
43058 ac_cv_func_socket=yes
43059 else
43060 echo "$as_me: failed program was:" >&5
43061 sed 's/^/| /' conftest.$ac_ext >&5
43062
43063 ac_cv_func_socket=no
43064 fi
43065
43066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43067 conftest$ac_exeext conftest.$ac_ext
43068 fi
43069 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
43070 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
43071 if test $ac_cv_func_socket = yes; then
43072 :
43073 else
43074
43075 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
43076 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
43077 if test "${ac_cv_lib_socket_socket+set}" = set; then
43078 echo $ECHO_N "(cached) $ECHO_C" >&6
43079 else
43080 ac_check_lib_save_LIBS=$LIBS
43081 LIBS="-lsocket $LIBS"
43082 cat >conftest.$ac_ext <<_ACEOF
43083 /* confdefs.h. */
43084 _ACEOF
43085 cat confdefs.h >>conftest.$ac_ext
43086 cat >>conftest.$ac_ext <<_ACEOF
43087 /* end confdefs.h. */
43088
43089 /* Override any GCC internal prototype to avoid an error.
43090 Use char because int might match the return type of a GCC
43091 builtin and then its argument prototype would still apply. */
43092 #ifdef __cplusplus
43093 extern "C"
43094 #endif
43095 char socket ();
43096 int
43097 main ()
43098 {
43099 return socket ();
43100 ;
43101 return 0;
43102 }
43103 _ACEOF
43104 rm -f conftest.$ac_objext conftest$ac_exeext
43105 if { (ac_try="$ac_link"
43106 case "(($ac_try" in
43107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43108 *) ac_try_echo=$ac_try;;
43109 esac
43110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43111 (eval "$ac_link") 2>conftest.er1
43112 ac_status=$?
43113 grep -v '^ *+' conftest.er1 >conftest.err
43114 rm -f conftest.er1
43115 cat conftest.err >&5
43116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43117 (exit $ac_status); } && {
43118 test -z "$ac_c_werror_flag" ||
43119 test ! -s conftest.err
43120 } && test -s conftest$ac_exeext &&
43121 $as_test_x conftest$ac_exeext; then
43122 ac_cv_lib_socket_socket=yes
43123 else
43124 echo "$as_me: failed program was:" >&5
43125 sed 's/^/| /' conftest.$ac_ext >&5
43126
43127 ac_cv_lib_socket_socket=no
43128 fi
43129
43130 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43131 conftest$ac_exeext conftest.$ac_ext
43132 LIBS=$ac_check_lib_save_LIBS
43133 fi
43134 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
43135 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
43136 if test $ac_cv_lib_socket_socket = yes; then
43137 if test "$INET_LINK" != " -lsocket"; then
43138 INET_LINK="$INET_LINK -lsocket"
43139 fi
43140 else
43141
43142 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
43143 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
43144 wxUSE_SOCKETS=no
43145
43146
43147 fi
43148
43149
43150
43151 fi
43152
43153 fi
43154 fi
43155
43156 if test "$wxUSE_SOCKETS" = "yes" ; then
43157 if test "$TOOLKIT" != "MSW"; then
43158 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
43159 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
43160 if test "${wx_cv_type_getsockname3+set}" = set; then
43161 echo $ECHO_N "(cached) $ECHO_C" >&6
43162 else
43163
43164 ac_ext=cpp
43165 ac_cpp='$CXXCPP $CPPFLAGS'
43166 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43167 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43168 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43169
43170 cat >conftest.$ac_ext <<_ACEOF
43171 /* confdefs.h. */
43172 _ACEOF
43173 cat confdefs.h >>conftest.$ac_ext
43174 cat >>conftest.$ac_ext <<_ACEOF
43175 /* end confdefs.h. */
43176
43177 #include <sys/types.h>
43178 #include <sys/socket.h>
43179
43180 int
43181 main ()
43182 {
43183
43184 socklen_t len;
43185 getsockname(0, 0, &len);
43186
43187 ;
43188 return 0;
43189 }
43190 _ACEOF
43191 rm -f conftest.$ac_objext
43192 if { (ac_try="$ac_compile"
43193 case "(($ac_try" in
43194 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43195 *) ac_try_echo=$ac_try;;
43196 esac
43197 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43198 (eval "$ac_compile") 2>conftest.er1
43199 ac_status=$?
43200 grep -v '^ *+' conftest.er1 >conftest.err
43201 rm -f conftest.er1
43202 cat conftest.err >&5
43203 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43204 (exit $ac_status); } && {
43205 test -z "$ac_cxx_werror_flag" ||
43206 test ! -s conftest.err
43207 } && test -s conftest.$ac_objext; then
43208 wx_cv_type_getsockname3=socklen_t
43209 else
43210 echo "$as_me: failed program was:" >&5
43211 sed 's/^/| /' conftest.$ac_ext >&5
43212
43213
43214 CFLAGS_OLD="$CFLAGS"
43215 if test "$GCC" = yes ; then
43216 CFLAGS="-Werror $CFLAGS"
43217 fi
43218
43219 cat >conftest.$ac_ext <<_ACEOF
43220 /* confdefs.h. */
43221 _ACEOF
43222 cat confdefs.h >>conftest.$ac_ext
43223 cat >>conftest.$ac_ext <<_ACEOF
43224 /* end confdefs.h. */
43225
43226 #include <sys/types.h>
43227 #include <sys/socket.h>
43228
43229 int
43230 main ()
43231 {
43232
43233 size_t len;
43234 getsockname(0, 0, &len);
43235
43236 ;
43237 return 0;
43238 }
43239 _ACEOF
43240 rm -f conftest.$ac_objext
43241 if { (ac_try="$ac_compile"
43242 case "(($ac_try" in
43243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43244 *) ac_try_echo=$ac_try;;
43245 esac
43246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43247 (eval "$ac_compile") 2>conftest.er1
43248 ac_status=$?
43249 grep -v '^ *+' conftest.er1 >conftest.err
43250 rm -f conftest.er1
43251 cat conftest.err >&5
43252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43253 (exit $ac_status); } && {
43254 test -z "$ac_cxx_werror_flag" ||
43255 test ! -s conftest.err
43256 } && test -s conftest.$ac_objext; then
43257 wx_cv_type_getsockname3=size_t
43258 else
43259 echo "$as_me: failed program was:" >&5
43260 sed 's/^/| /' conftest.$ac_ext >&5
43261
43262 cat >conftest.$ac_ext <<_ACEOF
43263 /* confdefs.h. */
43264 _ACEOF
43265 cat confdefs.h >>conftest.$ac_ext
43266 cat >>conftest.$ac_ext <<_ACEOF
43267 /* end confdefs.h. */
43268
43269 #include <sys/types.h>
43270 #include <sys/socket.h>
43271
43272 int
43273 main ()
43274 {
43275
43276 int len;
43277 getsockname(0, 0, &len);
43278
43279 ;
43280 return 0;
43281 }
43282 _ACEOF
43283 rm -f conftest.$ac_objext
43284 if { (ac_try="$ac_compile"
43285 case "(($ac_try" in
43286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43287 *) ac_try_echo=$ac_try;;
43288 esac
43289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43290 (eval "$ac_compile") 2>conftest.er1
43291 ac_status=$?
43292 grep -v '^ *+' conftest.er1 >conftest.err
43293 rm -f conftest.er1
43294 cat conftest.err >&5
43295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43296 (exit $ac_status); } && {
43297 test -z "$ac_cxx_werror_flag" ||
43298 test ! -s conftest.err
43299 } && test -s conftest.$ac_objext; then
43300 wx_cv_type_getsockname3=int
43301 else
43302 echo "$as_me: failed program was:" >&5
43303 sed 's/^/| /' conftest.$ac_ext >&5
43304
43305 wx_cv_type_getsockname3=unknown
43306
43307 fi
43308
43309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43310
43311 fi
43312
43313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43314
43315 CFLAGS="$CFLAGS_OLD"
43316
43317
43318 fi
43319
43320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43321 ac_ext=c
43322 ac_cpp='$CPP $CPPFLAGS'
43323 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43324 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43325 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43326
43327
43328 fi
43329 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
43330 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
43331
43332 if test "$wx_cv_type_getsockname3" = "unknown"; then
43333 wxUSE_SOCKETS=no
43334 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43335 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43336 else
43337 cat >>confdefs.h <<_ACEOF
43338 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
43339 _ACEOF
43340
43341 fi
43342 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
43343 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
43344 if test "${wx_cv_type_getsockopt5+set}" = set; then
43345 echo $ECHO_N "(cached) $ECHO_C" >&6
43346 else
43347
43348 ac_ext=cpp
43349 ac_cpp='$CXXCPP $CPPFLAGS'
43350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43353
43354 cat >conftest.$ac_ext <<_ACEOF
43355 /* confdefs.h. */
43356 _ACEOF
43357 cat confdefs.h >>conftest.$ac_ext
43358 cat >>conftest.$ac_ext <<_ACEOF
43359 /* end confdefs.h. */
43360
43361 #include <sys/types.h>
43362 #include <sys/socket.h>
43363
43364 int
43365 main ()
43366 {
43367
43368 socklen_t len;
43369 getsockopt(0, 0, 0, 0, &len);
43370
43371 ;
43372 return 0;
43373 }
43374 _ACEOF
43375 rm -f conftest.$ac_objext
43376 if { (ac_try="$ac_compile"
43377 case "(($ac_try" in
43378 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43379 *) ac_try_echo=$ac_try;;
43380 esac
43381 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43382 (eval "$ac_compile") 2>conftest.er1
43383 ac_status=$?
43384 grep -v '^ *+' conftest.er1 >conftest.err
43385 rm -f conftest.er1
43386 cat conftest.err >&5
43387 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43388 (exit $ac_status); } && {
43389 test -z "$ac_cxx_werror_flag" ||
43390 test ! -s conftest.err
43391 } && test -s conftest.$ac_objext; then
43392 wx_cv_type_getsockopt5=socklen_t
43393 else
43394 echo "$as_me: failed program was:" >&5
43395 sed 's/^/| /' conftest.$ac_ext >&5
43396
43397
43398 cat >conftest.$ac_ext <<_ACEOF
43399 /* confdefs.h. */
43400 _ACEOF
43401 cat confdefs.h >>conftest.$ac_ext
43402 cat >>conftest.$ac_ext <<_ACEOF
43403 /* end confdefs.h. */
43404
43405 #include <sys/types.h>
43406 #include <sys/socket.h>
43407
43408 int
43409 main ()
43410 {
43411
43412 size_t len;
43413 getsockopt(0, 0, 0, 0, &len);
43414
43415 ;
43416 return 0;
43417 }
43418 _ACEOF
43419 rm -f conftest.$ac_objext
43420 if { (ac_try="$ac_compile"
43421 case "(($ac_try" in
43422 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43423 *) ac_try_echo=$ac_try;;
43424 esac
43425 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43426 (eval "$ac_compile") 2>conftest.er1
43427 ac_status=$?
43428 grep -v '^ *+' conftest.er1 >conftest.err
43429 rm -f conftest.er1
43430 cat conftest.err >&5
43431 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43432 (exit $ac_status); } && {
43433 test -z "$ac_cxx_werror_flag" ||
43434 test ! -s conftest.err
43435 } && test -s conftest.$ac_objext; then
43436 wx_cv_type_getsockopt5=size_t
43437 else
43438 echo "$as_me: failed program was:" >&5
43439 sed 's/^/| /' conftest.$ac_ext >&5
43440
43441 cat >conftest.$ac_ext <<_ACEOF
43442 /* confdefs.h. */
43443 _ACEOF
43444 cat confdefs.h >>conftest.$ac_ext
43445 cat >>conftest.$ac_ext <<_ACEOF
43446 /* end confdefs.h. */
43447
43448 #include <sys/types.h>
43449 #include <sys/socket.h>
43450
43451 int
43452 main ()
43453 {
43454
43455 int len;
43456 getsockopt(0, 0, 0, 0, &len);
43457
43458 ;
43459 return 0;
43460 }
43461 _ACEOF
43462 rm -f conftest.$ac_objext
43463 if { (ac_try="$ac_compile"
43464 case "(($ac_try" in
43465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43466 *) ac_try_echo=$ac_try;;
43467 esac
43468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43469 (eval "$ac_compile") 2>conftest.er1
43470 ac_status=$?
43471 grep -v '^ *+' conftest.er1 >conftest.err
43472 rm -f conftest.er1
43473 cat conftest.err >&5
43474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43475 (exit $ac_status); } && {
43476 test -z "$ac_cxx_werror_flag" ||
43477 test ! -s conftest.err
43478 } && test -s conftest.$ac_objext; then
43479 wx_cv_type_getsockopt5=int
43480 else
43481 echo "$as_me: failed program was:" >&5
43482 sed 's/^/| /' conftest.$ac_ext >&5
43483
43484 wx_cv_type_getsockopt5=unknown
43485
43486 fi
43487
43488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43489
43490 fi
43491
43492 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43493
43494
43495 fi
43496
43497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43498 ac_ext=c
43499 ac_cpp='$CPP $CPPFLAGS'
43500 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43501 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43502 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43503
43504
43505 fi
43506 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43507 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43508
43509 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43510 wxUSE_SOCKETS=no
43511 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43512 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43513 else
43514 cat >>confdefs.h <<_ACEOF
43515 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43516 _ACEOF
43517
43518 fi
43519 fi
43520 fi
43521
43522 if test "$wxUSE_SOCKETS" = "yes" ; then
43523 cat >>confdefs.h <<\_ACEOF
43524 #define wxUSE_SOCKETS 1
43525 _ACEOF
43526
43527 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43528 fi
43529
43530 if test "$wxUSE_PROTOCOL" = "yes"; then
43531 if test "$wxUSE_SOCKETS" != "yes"; then
43532 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43533 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43534 wxUSE_PROTOCOL=no
43535 fi
43536 fi
43537
43538 if test "$wxUSE_PROTOCOL" = "yes"; then
43539 cat >>confdefs.h <<\_ACEOF
43540 #define wxUSE_PROTOCOL 1
43541 _ACEOF
43542
43543
43544 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43545 cat >>confdefs.h <<\_ACEOF
43546 #define wxUSE_PROTOCOL_HTTP 1
43547 _ACEOF
43548
43549 fi
43550 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43551 cat >>confdefs.h <<\_ACEOF
43552 #define wxUSE_PROTOCOL_FTP 1
43553 _ACEOF
43554
43555 fi
43556 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_PROTOCOL_FILE 1
43559 _ACEOF
43560
43561 fi
43562 else
43563 if test "$wxUSE_FS_INET" = "yes"; then
43564 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43565 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43566 wxUSE_FS_INET="no"
43567 fi
43568 fi
43569
43570 if test "$wxUSE_URL" = "yes"; then
43571 if test "$wxUSE_PROTOCOL" != "yes"; then
43572 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43573 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43574 wxUSE_URL=no
43575 fi
43576 if test "$wxUSE_URL" = "yes"; then
43577 cat >>confdefs.h <<\_ACEOF
43578 #define wxUSE_URL 1
43579 _ACEOF
43580
43581 fi
43582 fi
43583
43584 if test "$wxUSE_VARIANT" = "yes"; then
43585 cat >>confdefs.h <<\_ACEOF
43586 #define wxUSE_VARIANT 1
43587 _ACEOF
43588
43589 fi
43590
43591 if test "$wxUSE_FS_INET" = "yes"; then
43592 cat >>confdefs.h <<\_ACEOF
43593 #define wxUSE_FS_INET 1
43594 _ACEOF
43595
43596 fi
43597
43598
43599 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43600 wxUSE_JOYSTICK=no
43601
43602 if test "$TOOLKIT" = "MSW"; then
43603 wxUSE_JOYSTICK=yes
43604
43605 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43606 if test "$USE_DARWIN" = 1; then
43607 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43608 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43609 ac_ext=cpp
43610 ac_cpp='$CXXCPP $CPPFLAGS'
43611 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43612 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43613 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43614
43615 cat >conftest.$ac_ext <<_ACEOF
43616 /* confdefs.h. */
43617 _ACEOF
43618 cat confdefs.h >>conftest.$ac_ext
43619 cat >>conftest.$ac_ext <<_ACEOF
43620 /* end confdefs.h. */
43621 #include <IOKit/hid/IOHIDLib.h>
43622 int
43623 main ()
43624 {
43625 IOHIDQueueInterface *qi = NULL;
43626 IOHIDCallbackFunction cb = NULL;
43627 qi->setEventCallout(NULL, cb, NULL, NULL);
43628 ;
43629 return 0;
43630 }
43631 _ACEOF
43632 rm -f conftest.$ac_objext
43633 if { (ac_try="$ac_compile"
43634 case "(($ac_try" in
43635 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43636 *) ac_try_echo=$ac_try;;
43637 esac
43638 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43639 (eval "$ac_compile") 2>conftest.er1
43640 ac_status=$?
43641 grep -v '^ *+' conftest.er1 >conftest.err
43642 rm -f conftest.er1
43643 cat conftest.err >&5
43644 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43645 (exit $ac_status); } && {
43646 test -z "$ac_cxx_werror_flag" ||
43647 test ! -s conftest.err
43648 } && test -s conftest.$ac_objext; then
43649 wxUSE_JOYSTICK=yes
43650
43651 else
43652 echo "$as_me: failed program was:" >&5
43653 sed 's/^/| /' conftest.$ac_ext >&5
43654
43655
43656 fi
43657
43658 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43659 ac_ext=c
43660 ac_cpp='$CPP $CPPFLAGS'
43661 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43662 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43663 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43664
43665 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43666 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43667 fi
43668
43669 else
43670 if test "$wxUSE_MGL" != "1"; then
43671 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43672 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43673 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43674 echo $ECHO_N "(cached) $ECHO_C" >&6
43675 else
43676 cat >conftest.$ac_ext <<_ACEOF
43677 /* confdefs.h. */
43678 _ACEOF
43679 cat confdefs.h >>conftest.$ac_ext
43680 cat >>conftest.$ac_ext <<_ACEOF
43681 /* end confdefs.h. */
43682 $ac_includes_default
43683
43684 #include <linux/joystick.h>
43685 _ACEOF
43686 rm -f conftest.$ac_objext
43687 if { (ac_try="$ac_compile"
43688 case "(($ac_try" in
43689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43690 *) ac_try_echo=$ac_try;;
43691 esac
43692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43693 (eval "$ac_compile") 2>conftest.er1
43694 ac_status=$?
43695 grep -v '^ *+' conftest.er1 >conftest.err
43696 rm -f conftest.er1
43697 cat conftest.err >&5
43698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43699 (exit $ac_status); } && {
43700 test -z "$ac_c_werror_flag" ||
43701 test ! -s conftest.err
43702 } && test -s conftest.$ac_objext; then
43703 ac_cv_header_linux_joystick_h=yes
43704 else
43705 echo "$as_me: failed program was:" >&5
43706 sed 's/^/| /' conftest.$ac_ext >&5
43707
43708 ac_cv_header_linux_joystick_h=no
43709 fi
43710
43711 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43712 fi
43713 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43714 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43715 if test $ac_cv_header_linux_joystick_h = yes; then
43716 wxUSE_JOYSTICK=yes
43717 fi
43718
43719
43720 fi
43721 fi
43722
43723 if test "$wxUSE_JOYSTICK" = "yes"; then
43724 cat >>confdefs.h <<\_ACEOF
43725 #define wxUSE_JOYSTICK 1
43726 _ACEOF
43727
43728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43729 else
43730 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43731 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43732 fi
43733 fi
43734
43735
43736
43737 if test "$wxUSE_FONTMAP" = "yes" ; then
43738 cat >>confdefs.h <<\_ACEOF
43739 #define wxUSE_FONTMAP 1
43740 _ACEOF
43741
43742 fi
43743
43744 if test "$wxUSE_UNICODE" = "yes" ; then
43745 cat >>confdefs.h <<\_ACEOF
43746 #define wxUSE_UNICODE 1
43747 _ACEOF
43748
43749
43750 if test "$USE_WIN32" != 1; then
43751 wxUSE_UNICODE_MSLU=no
43752 fi
43753
43754 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43755 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43756 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43757 if test "${ac_cv_lib_unicows_main+set}" = set; then
43758 echo $ECHO_N "(cached) $ECHO_C" >&6
43759 else
43760 ac_check_lib_save_LIBS=$LIBS
43761 LIBS="-lunicows $LIBS"
43762 cat >conftest.$ac_ext <<_ACEOF
43763 /* confdefs.h. */
43764 _ACEOF
43765 cat confdefs.h >>conftest.$ac_ext
43766 cat >>conftest.$ac_ext <<_ACEOF
43767 /* end confdefs.h. */
43768
43769
43770 int
43771 main ()
43772 {
43773 return main ();
43774 ;
43775 return 0;
43776 }
43777 _ACEOF
43778 rm -f conftest.$ac_objext conftest$ac_exeext
43779 if { (ac_try="$ac_link"
43780 case "(($ac_try" in
43781 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43782 *) ac_try_echo=$ac_try;;
43783 esac
43784 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43785 (eval "$ac_link") 2>conftest.er1
43786 ac_status=$?
43787 grep -v '^ *+' conftest.er1 >conftest.err
43788 rm -f conftest.er1
43789 cat conftest.err >&5
43790 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43791 (exit $ac_status); } && {
43792 test -z "$ac_c_werror_flag" ||
43793 test ! -s conftest.err
43794 } && test -s conftest$ac_exeext &&
43795 $as_test_x conftest$ac_exeext; then
43796 ac_cv_lib_unicows_main=yes
43797 else
43798 echo "$as_me: failed program was:" >&5
43799 sed 's/^/| /' conftest.$ac_ext >&5
43800
43801 ac_cv_lib_unicows_main=no
43802 fi
43803
43804 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43805 conftest$ac_exeext conftest.$ac_ext
43806 LIBS=$ac_check_lib_save_LIBS
43807 fi
43808 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43809 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43810 if test $ac_cv_lib_unicows_main = yes; then
43811
43812 cat >>confdefs.h <<\_ACEOF
43813 #define wxUSE_UNICODE_MSLU 1
43814 _ACEOF
43815
43816
43817 else
43818
43819 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43820 Applications will only run on Windows NT/2000/XP!" >&5
43821 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43822 Applications will only run on Windows NT/2000/XP!" >&2;}
43823 wxUSE_UNICODE_MSLU=no
43824
43825 fi
43826
43827 fi
43828 fi
43829
43830 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_UTF8" = "yes"; then
43831 cat >>confdefs.h <<\_ACEOF
43832 #define wxUSE_UNICODE_UTF8 1
43833 _ACEOF
43834
43835
43836 if test "$wxUSE_UNICODE_UTF8_LOCALE" = "yes"; then
43837 cat >>confdefs.h <<\_ACEOF
43838 #define wxUSE_UTF8_LOCALE_ONLY 1
43839 _ACEOF
43840
43841 fi
43842 fi
43843
43844 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43845 cat >>confdefs.h <<\_ACEOF
43846 #define wxUSE_EXPERIMENTAL_PRINTF 1
43847 _ACEOF
43848
43849 fi
43850
43851
43852 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43853 cat >>confdefs.h <<\_ACEOF
43854 #define wxUSE_POSTSCRIPT 1
43855 _ACEOF
43856
43857 fi
43858
43859 cat >>confdefs.h <<\_ACEOF
43860 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43861 _ACEOF
43862
43863
43864 cat >>confdefs.h <<\_ACEOF
43865 #define wxUSE_NORMALIZED_PS_FONTS 1
43866 _ACEOF
43867
43868
43869
43870 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43871 cat >>confdefs.h <<\_ACEOF
43872 #define wxUSE_CONSTRAINTS 1
43873 _ACEOF
43874
43875 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43876 fi
43877
43878 if test "$wxUSE_MDI" = "yes"; then
43879 cat >>confdefs.h <<\_ACEOF
43880 #define wxUSE_MDI 1
43881 _ACEOF
43882
43883
43884 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43885 cat >>confdefs.h <<\_ACEOF
43886 #define wxUSE_MDI_ARCHITECTURE 1
43887 _ACEOF
43888
43889 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43890 fi
43891 fi
43892
43893 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43894 cat >>confdefs.h <<\_ACEOF
43895 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43896 _ACEOF
43897
43898 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43899 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43900 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43901 fi
43902 fi
43903
43904 if test "$wxUSE_HELP" = "yes"; then
43905 cat >>confdefs.h <<\_ACEOF
43906 #define wxUSE_HELP 1
43907 _ACEOF
43908
43909 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43910
43911 if test "$wxUSE_MSW" = 1; then
43912 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43913 cat >>confdefs.h <<\_ACEOF
43914 #define wxUSE_MS_HTML_HELP 1
43915 _ACEOF
43916
43917 fi
43918 fi
43919
43920 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43921 if test "$wxUSE_HTML" = "yes"; then
43922 cat >>confdefs.h <<\_ACEOF
43923 #define wxUSE_WXHTML_HELP 1
43924 _ACEOF
43925
43926 else
43927 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43928 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43929 wxUSE_WXHTML_HELP=no
43930 fi
43931 fi
43932 fi
43933
43934 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43935 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43936 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43937 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43938 else
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_PRINTING_ARCHITECTURE 1
43941 _ACEOF
43942
43943 fi
43944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43945 fi
43946
43947
43948
43949 if test "$wxUSE_METAFILE" = "yes"; then
43950 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43951 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43952 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43953 wxUSE_METAFILE=no
43954 fi
43955 fi
43956
43957
43958 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43959 -o "$wxUSE_CLIPBOARD" = "yes" \
43960 -o "$wxUSE_OLE" = "yes" \
43961 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43962 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43963 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43964 if test "${ac_cv_header_ole2_h+set}" = set; then
43965 echo $ECHO_N "(cached) $ECHO_C" >&6
43966 else
43967 cat >conftest.$ac_ext <<_ACEOF
43968 /* confdefs.h. */
43969 _ACEOF
43970 cat confdefs.h >>conftest.$ac_ext
43971 cat >>conftest.$ac_ext <<_ACEOF
43972 /* end confdefs.h. */
43973
43974
43975 #include <ole2.h>
43976 _ACEOF
43977 rm -f conftest.$ac_objext
43978 if { (ac_try="$ac_compile"
43979 case "(($ac_try" in
43980 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43981 *) ac_try_echo=$ac_try;;
43982 esac
43983 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43984 (eval "$ac_compile") 2>conftest.er1
43985 ac_status=$?
43986 grep -v '^ *+' conftest.er1 >conftest.err
43987 rm -f conftest.er1
43988 cat conftest.err >&5
43989 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43990 (exit $ac_status); } && {
43991 test -z "$ac_c_werror_flag" ||
43992 test ! -s conftest.err
43993 } && test -s conftest.$ac_objext; then
43994 ac_cv_header_ole2_h=yes
43995 else
43996 echo "$as_me: failed program was:" >&5
43997 sed 's/^/| /' conftest.$ac_ext >&5
43998
43999 ac_cv_header_ole2_h=no
44000 fi
44001
44002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44003 fi
44004 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
44005 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
44006
44007
44008
44009 if test "$ac_cv_header_ole2_h" = "yes" ; then
44010 if test "$GCC" = yes ; then
44011 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
44012 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
44013 cat >conftest.$ac_ext <<_ACEOF
44014 /* confdefs.h. */
44015 _ACEOF
44016 cat confdefs.h >>conftest.$ac_ext
44017 cat >>conftest.$ac_ext <<_ACEOF
44018 /* end confdefs.h. */
44019 #include <windows.h>
44020 #include <ole2.h>
44021 int
44022 main ()
44023 {
44024
44025 ;
44026 return 0;
44027 }
44028 _ACEOF
44029 rm -f conftest.$ac_objext
44030 if { (ac_try="$ac_compile"
44031 case "(($ac_try" in
44032 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44033 *) ac_try_echo=$ac_try;;
44034 esac
44035 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44036 (eval "$ac_compile") 2>conftest.er1
44037 ac_status=$?
44038 grep -v '^ *+' conftest.er1 >conftest.err
44039 rm -f conftest.er1
44040 cat conftest.err >&5
44041 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44042 (exit $ac_status); } && {
44043 test -z "$ac_c_werror_flag" ||
44044 test ! -s conftest.err
44045 } && test -s conftest.$ac_objext; then
44046 { echo "$as_me:$LINENO: result: no" >&5
44047 echo "${ECHO_T}no" >&6; }
44048 else
44049 echo "$as_me: failed program was:" >&5
44050 sed 's/^/| /' conftest.$ac_ext >&5
44051
44052 { echo "$as_me:$LINENO: result: yes" >&5
44053 echo "${ECHO_T}yes" >&6; }
44054 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
44055 fi
44056
44057 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44058 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
44059 if test "$wxUSE_OLE" = "yes" ; then
44060 cat >>confdefs.h <<\_ACEOF
44061 #define wxUSE_OLE 1
44062 _ACEOF
44063
44064 cat >>confdefs.h <<\_ACEOF
44065 #define wxUSE_OLE_AUTOMATION 1
44066 _ACEOF
44067
44068 cat >>confdefs.h <<\_ACEOF
44069 #define wxUSE_ACTIVEX 1
44070 _ACEOF
44071
44072 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
44073 fi
44074 fi
44075
44076 if test "$wxUSE_DATAOBJ" = "yes" ; then
44077 cat >>confdefs.h <<\_ACEOF
44078 #define wxUSE_DATAOBJ 1
44079 _ACEOF
44080
44081 fi
44082 else
44083 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
44084 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
44085
44086 wxUSE_CLIPBOARD=no
44087 wxUSE_DRAG_AND_DROP=no
44088 wxUSE_DATAOBJ=no
44089 wxUSE_OLE=no
44090 fi
44091
44092 if test "$wxUSE_METAFILE" = "yes"; then
44093 cat >>confdefs.h <<\_ACEOF
44094 #define wxUSE_METAFILE 1
44095 _ACEOF
44096
44097
44098 cat >>confdefs.h <<\_ACEOF
44099 #define wxUSE_ENH_METAFILE 1
44100 _ACEOF
44101
44102 fi
44103 fi
44104
44105 if test "$wxUSE_IPC" = "yes"; then
44106 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
44107 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
44108 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
44109 wxUSE_IPC=no
44110 fi
44111
44112 if test "$wxUSE_IPC" = "yes"; then
44113 cat >>confdefs.h <<\_ACEOF
44114 #define wxUSE_IPC 1
44115 _ACEOF
44116
44117 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
44118 fi
44119 fi
44120
44121 if test "$wxUSE_DATAOBJ" = "yes"; then
44122 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44123 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
44124 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
44125 wxUSE_DATAOBJ=no
44126 else
44127 cat >>confdefs.h <<\_ACEOF
44128 #define wxUSE_DATAOBJ 1
44129 _ACEOF
44130
44131 fi
44132 else
44133 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
44134 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
44135 wxUSE_CLIPBOARD=no
44136 wxUSE_DRAG_AND_DROP=no
44137 fi
44138
44139 if test "$wxUSE_CLIPBOARD" = "yes"; then
44140 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
44141 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
44142 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
44143 wxUSE_CLIPBOARD=no
44144 fi
44145
44146 if test "$wxUSE_CLIPBOARD" = "yes"; then
44147 cat >>confdefs.h <<\_ACEOF
44148 #define wxUSE_CLIPBOARD 1
44149 _ACEOF
44150
44151 fi
44152 fi
44153
44154 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
44155 if test "$wxUSE_GTK" = 1; then
44156 if test "$WXGTK12" != 1; then
44157 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
44158 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
44159 wxUSE_DRAG_AND_DROP=no
44160 fi
44161 fi
44162
44163 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
44164 "$wxUSE_DFB" = 1; then
44165 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
44166 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
44167 wxUSE_DRAG_AND_DROP=no
44168 fi
44169
44170 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
44171 cat >>confdefs.h <<\_ACEOF
44172 #define wxUSE_DRAG_AND_DROP 1
44173 _ACEOF
44174
44175 fi
44176
44177 fi
44178
44179 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
44180 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
44181 fi
44182
44183 if test "$wxUSE_SPLINES" = "yes" ; then
44184 cat >>confdefs.h <<\_ACEOF
44185 #define wxUSE_SPLINES 1
44186 _ACEOF
44187
44188 fi
44189
44190 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
44191 cat >>confdefs.h <<\_ACEOF
44192 #define wxUSE_MOUSEWHEEL 1
44193 _ACEOF
44194
44195 fi
44196
44197
44198 USES_CONTROLS=0
44199 if test "$wxUSE_CONTROLS" = "yes"; then
44200 USES_CONTROLS=1
44201 fi
44202
44203 if test "$wxUSE_ACCEL" = "yes"; then
44204 cat >>confdefs.h <<\_ACEOF
44205 #define wxUSE_ACCEL 1
44206 _ACEOF
44207
44208 USES_CONTROLS=1
44209 fi
44210
44211 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
44212 cat >>confdefs.h <<\_ACEOF
44213 #define wxUSE_ANIMATIONCTRL 1
44214 _ACEOF
44215
44216 USES_CONTROLS=1
44217 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
44218 fi
44219
44220 if test "$wxUSE_BUTTON" = "yes"; then
44221 cat >>confdefs.h <<\_ACEOF
44222 #define wxUSE_BUTTON 1
44223 _ACEOF
44224
44225 USES_CONTROLS=1
44226 fi
44227
44228 if test "$wxUSE_BMPBUTTON" = "yes"; then
44229 cat >>confdefs.h <<\_ACEOF
44230 #define wxUSE_BMPBUTTON 1
44231 _ACEOF
44232
44233 USES_CONTROLS=1
44234 fi
44235
44236 if test "$wxUSE_CALCTRL" = "yes"; then
44237 cat >>confdefs.h <<\_ACEOF
44238 #define wxUSE_CALENDARCTRL 1
44239 _ACEOF
44240
44241 USES_CONTROLS=1
44242 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
44243 fi
44244
44245 if test "$wxUSE_CARET" = "yes"; then
44246 cat >>confdefs.h <<\_ACEOF
44247 #define wxUSE_CARET 1
44248 _ACEOF
44249
44250 USES_CONTROLS=1
44251 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
44252 fi
44253
44254 if test "$wxUSE_COLLPANE" = "yes"; then
44255 cat >>confdefs.h <<\_ACEOF
44256 #define wxUSE_COLLPANE 1
44257 _ACEOF
44258
44259 USES_CONTROLS=1
44260 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
44261 fi
44262
44263 if test "$wxUSE_COMBOBOX" = "yes"; then
44264 cat >>confdefs.h <<\_ACEOF
44265 #define wxUSE_COMBOBOX 1
44266 _ACEOF
44267
44268 USES_CONTROLS=1
44269 fi
44270
44271 if test "$wxUSE_COMBOCTRL" = "yes"; then
44272 cat >>confdefs.h <<\_ACEOF
44273 #define wxUSE_COMBOCTRL 1
44274 _ACEOF
44275
44276 USES_CONTROLS=1
44277 fi
44278
44279 if test "$wxUSE_CHOICE" = "yes"; then
44280 cat >>confdefs.h <<\_ACEOF
44281 #define wxUSE_CHOICE 1
44282 _ACEOF
44283
44284 USES_CONTROLS=1
44285 fi
44286
44287 if test "$wxUSE_CHOICEBOOK" = "yes"; then
44288 cat >>confdefs.h <<\_ACEOF
44289 #define wxUSE_CHOICEBOOK 1
44290 _ACEOF
44291
44292 USES_CONTROLS=1
44293 fi
44294
44295 if test "$wxUSE_CHECKBOX" = "yes"; then
44296 cat >>confdefs.h <<\_ACEOF
44297 #define wxUSE_CHECKBOX 1
44298 _ACEOF
44299
44300 USES_CONTROLS=1
44301 fi
44302
44303 if test "$wxUSE_CHECKLST" = "yes"; then
44304 cat >>confdefs.h <<\_ACEOF
44305 #define wxUSE_CHECKLISTBOX 1
44306 _ACEOF
44307
44308 USES_CONTROLS=1
44309 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
44310 fi
44311
44312 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define wxUSE_COLOURPICKERCTRL 1
44315 _ACEOF
44316
44317 USES_CONTROLS=1
44318 fi
44319
44320 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
44321 cat >>confdefs.h <<\_ACEOF
44322 #define wxUSE_DATEPICKCTRL 1
44323 _ACEOF
44324
44325 USES_CONTROLS=1
44326 fi
44327
44328 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
44329 cat >>confdefs.h <<\_ACEOF
44330 #define wxUSE_DIRPICKERCTRL 1
44331 _ACEOF
44332
44333 USES_CONTROLS=1
44334 fi
44335
44336 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
44337 cat >>confdefs.h <<\_ACEOF
44338 #define wxUSE_FILEPICKERCTRL 1
44339 _ACEOF
44340
44341 USES_CONTROLS=1
44342 fi
44343
44344 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
44345 cat >>confdefs.h <<\_ACEOF
44346 #define wxUSE_FONTPICKERCTRL 1
44347 _ACEOF
44348
44349 USES_CONTROLS=1
44350 fi
44351
44352 if test "$wxUSE_DISPLAY" = "yes"; then
44353 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
44354 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
44355 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
44356 wxUSE_DISPLAY=no
44357 else
44358 cat >>confdefs.h <<\_ACEOF
44359 #define wxUSE_DISPLAY 1
44360 _ACEOF
44361
44362 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
44363 fi
44364 fi
44365
44366 if test "$wxUSE_DETECT_SM" = "yes"; then
44367 cat >>confdefs.h <<\_ACEOF
44368 #define wxUSE_DETECT_SM 1
44369 _ACEOF
44370
44371 fi
44372
44373 if test "$wxUSE_GAUGE" = "yes"; then
44374 cat >>confdefs.h <<\_ACEOF
44375 #define wxUSE_GAUGE 1
44376 _ACEOF
44377
44378 USES_CONTROLS=1
44379 fi
44380
44381 if test "$wxUSE_GRID" = "yes"; then
44382 cat >>confdefs.h <<\_ACEOF
44383 #define wxUSE_GRID 1
44384 _ACEOF
44385
44386 USES_CONTROLS=1
44387 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44388 fi
44389
44390 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44391 cat >>confdefs.h <<\_ACEOF
44392 #define wxUSE_HYPERLINKCTRL 1
44393 _ACEOF
44394
44395 USES_CONTROLS=1
44396 fi
44397
44398 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44399 cat >>confdefs.h <<\_ACEOF
44400 #define wxUSE_BITMAPCOMBOBOX 1
44401 _ACEOF
44402
44403 USES_CONTROLS=1
44404 fi
44405
44406 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44407 cat >>confdefs.h <<\_ACEOF
44408 #define wxUSE_DATAVIEWCTRL 1
44409 _ACEOF
44410
44411 USES_CONTROLS=1
44412 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44413 fi
44414
44415 if test "$wxUSE_IMAGLIST" = "yes"; then
44416 cat >>confdefs.h <<\_ACEOF
44417 #define wxUSE_IMAGLIST 1
44418 _ACEOF
44419
44420 fi
44421
44422 if test "$wxUSE_LISTBOOK" = "yes"; then
44423 cat >>confdefs.h <<\_ACEOF
44424 #define wxUSE_LISTBOOK 1
44425 _ACEOF
44426
44427 USES_CONTROLS=1
44428 fi
44429
44430 if test "$wxUSE_LISTBOX" = "yes"; then
44431 cat >>confdefs.h <<\_ACEOF
44432 #define wxUSE_LISTBOX 1
44433 _ACEOF
44434
44435 USES_CONTROLS=1
44436 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44437 fi
44438
44439 if test "$wxUSE_LISTCTRL" = "yes"; then
44440 if test "$wxUSE_IMAGLIST" = "yes"; then
44441 cat >>confdefs.h <<\_ACEOF
44442 #define wxUSE_LISTCTRL 1
44443 _ACEOF
44444
44445 USES_CONTROLS=1
44446 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44447 else
44448 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44449 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44450 fi
44451 fi
44452
44453 if test "$wxUSE_EDITABLELISTBOX" = "yes"; then
44454 cat >>confdefs.h <<\_ACEOF
44455 #define wxUSE_EDITABLELISTBOX 1
44456 _ACEOF
44457
44458 USES_CONTROLS=1
44459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS editlbox"
44460 fi
44461
44462 if test "$wxUSE_NOTEBOOK" = "yes"; then
44463 cat >>confdefs.h <<\_ACEOF
44464 #define wxUSE_NOTEBOOK 1
44465 _ACEOF
44466
44467 USES_CONTROLS=1
44468 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44469 fi
44470
44471 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44472 cat >>confdefs.h <<\_ACEOF
44473 #define wxUSE_ODCOMBOBOX 1
44474 _ACEOF
44475
44476 USES_CONTROLS=1
44477 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44478 fi
44479
44480
44481 if test "$wxUSE_RADIOBOX" = "yes"; then
44482 cat >>confdefs.h <<\_ACEOF
44483 #define wxUSE_RADIOBOX 1
44484 _ACEOF
44485
44486 USES_CONTROLS=1
44487 fi
44488
44489 if test "$wxUSE_RADIOBTN" = "yes"; then
44490 cat >>confdefs.h <<\_ACEOF
44491 #define wxUSE_RADIOBTN 1
44492 _ACEOF
44493
44494 USES_CONTROLS=1
44495 fi
44496
44497 if test "$wxUSE_SASH" = "yes"; then
44498 cat >>confdefs.h <<\_ACEOF
44499 #define wxUSE_SASH 1
44500 _ACEOF
44501
44502 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44503 fi
44504
44505 if test "$wxUSE_SCROLLBAR" = "yes"; then
44506 cat >>confdefs.h <<\_ACEOF
44507 #define wxUSE_SCROLLBAR 1
44508 _ACEOF
44509
44510 USES_CONTROLS=1
44511 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44512 fi
44513
44514 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44515 cat >>confdefs.h <<\_ACEOF
44516 #define wxUSE_SEARCHCTRL 1
44517 _ACEOF
44518
44519 USES_CONTROLS=1
44520 fi
44521
44522 if test "$wxUSE_SLIDER" = "yes"; then
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_SLIDER 1
44525 _ACEOF
44526
44527 USES_CONTROLS=1
44528 fi
44529
44530 if test "$wxUSE_SPINBTN" = "yes"; then
44531 cat >>confdefs.h <<\_ACEOF
44532 #define wxUSE_SPINBTN 1
44533 _ACEOF
44534
44535 USES_CONTROLS=1
44536 fi
44537
44538 if test "$wxUSE_SPINCTRL" = "yes"; then
44539 cat >>confdefs.h <<\_ACEOF
44540 #define wxUSE_SPINCTRL 1
44541 _ACEOF
44542
44543 USES_CONTROLS=1
44544 fi
44545
44546 if test "$wxUSE_SPLITTER" = "yes"; then
44547 cat >>confdefs.h <<\_ACEOF
44548 #define wxUSE_SPLITTER 1
44549 _ACEOF
44550
44551 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44552 fi
44553
44554 if test "$wxUSE_STATBMP" = "yes"; then
44555 cat >>confdefs.h <<\_ACEOF
44556 #define wxUSE_STATBMP 1
44557 _ACEOF
44558
44559 USES_CONTROLS=1
44560 fi
44561
44562 if test "$wxUSE_STATBOX" = "yes"; then
44563 cat >>confdefs.h <<\_ACEOF
44564 #define wxUSE_STATBOX 1
44565 _ACEOF
44566
44567 USES_CONTROLS=1
44568 fi
44569
44570 if test "$wxUSE_STATTEXT" = "yes"; then
44571 cat >>confdefs.h <<\_ACEOF
44572 #define wxUSE_STATTEXT 1
44573 _ACEOF
44574
44575 USES_CONTROLS=1
44576 fi
44577
44578 if test "$wxUSE_STATLINE" = "yes"; then
44579 cat >>confdefs.h <<\_ACEOF
44580 #define wxUSE_STATLINE 1
44581 _ACEOF
44582
44583 USES_CONTROLS=1
44584 fi
44585
44586 if test "$wxUSE_STATUSBAR" = "yes"; then
44587 cat >>confdefs.h <<\_ACEOF
44588 #define wxUSE_NATIVE_STATUSBAR 1
44589 _ACEOF
44590
44591 cat >>confdefs.h <<\_ACEOF
44592 #define wxUSE_STATUSBAR 1
44593 _ACEOF
44594
44595 USES_CONTROLS=1
44596
44597 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44598 fi
44599
44600 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44601 cat >>confdefs.h <<\_ACEOF
44602 #define wxUSE_TAB_DIALOG 1
44603 _ACEOF
44604
44605 fi
44606
44607 if test "$wxUSE_TEXTCTRL" = "yes"; then
44608 cat >>confdefs.h <<\_ACEOF
44609 #define wxUSE_TEXTCTRL 1
44610 _ACEOF
44611
44612 USES_CONTROLS=1
44613 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44614 fi
44615
44616 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44617 if test "$wxUSE_COCOA" = 1 ; then
44618 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44619 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44620 wxUSE_TOGGLEBTN=no
44621 fi
44622
44623 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44624 cat >>confdefs.h <<\_ACEOF
44625 #define wxUSE_TOGGLEBTN 1
44626 _ACEOF
44627
44628 USES_CONTROLS=1
44629 fi
44630 fi
44631
44632 if test "$wxUSE_TOOLBAR" = "yes"; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_TOOLBAR 1
44635 _ACEOF
44636
44637 USES_CONTROLS=1
44638
44639 if test "$wxUSE_UNIVERSAL" = "yes"; then
44640 wxUSE_TOOLBAR_NATIVE="no"
44641 else
44642 wxUSE_TOOLBAR_NATIVE="yes"
44643 cat >>confdefs.h <<\_ACEOF
44644 #define wxUSE_TOOLBAR_NATIVE 1
44645 _ACEOF
44646
44647 fi
44648
44649 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44650 fi
44651
44652 if test "$wxUSE_TOOLTIPS" = "yes"; then
44653 if test "$wxUSE_MOTIF" = 1; then
44654 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44655 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44656 else
44657 if test "$wxUSE_UNIVERSAL" = "yes"; then
44658 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44659 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44660 else
44661 cat >>confdefs.h <<\_ACEOF
44662 #define wxUSE_TOOLTIPS 1
44663 _ACEOF
44664
44665 fi
44666 fi
44667 fi
44668
44669 if test "$wxUSE_TREEBOOK" = "yes"; then
44670 cat >>confdefs.h <<\_ACEOF
44671 #define wxUSE_TREEBOOK 1
44672 _ACEOF
44673
44674 USES_CONTROLS=1
44675 fi
44676
44677 if test "$wxUSE_TOOLBOOK" = "yes"; then
44678 cat >>confdefs.h <<\_ACEOF
44679 #define wxUSE_TOOLBOOK 1
44680 _ACEOF
44681
44682 USES_CONTROLS=1
44683 fi
44684
44685 if test "$wxUSE_TREECTRL" = "yes"; then
44686 if test "$wxUSE_IMAGLIST" = "yes"; then
44687 cat >>confdefs.h <<\_ACEOF
44688 #define wxUSE_TREECTRL 1
44689 _ACEOF
44690
44691 USES_CONTROLS=1
44692 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44693 else
44694 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44695 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44696 fi
44697 fi
44698
44699 if test "$wxUSE_POPUPWIN" = "yes"; then
44700 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44701 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44702 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44703 else
44704 if test "$wxUSE_PM" = 1; then
44705 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44706 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44707 else
44708 cat >>confdefs.h <<\_ACEOF
44709 #define wxUSE_POPUPWIN 1
44710 _ACEOF
44711
44712 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44713
44714 USES_CONTROLS=1
44715 fi
44716 fi
44717 fi
44718
44719 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44720 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44721 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44722 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44723 else
44724 cat >>confdefs.h <<\_ACEOF
44725 #define wxUSE_DIALUP_MANAGER 1
44726 _ACEOF
44727
44728 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44729 fi
44730 fi
44731
44732 if test "$wxUSE_TIPWINDOW" = "yes"; then
44733 if test "$wxUSE_PM" = 1; then
44734 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44735 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44736 else
44737 cat >>confdefs.h <<\_ACEOF
44738 #define wxUSE_TIPWINDOW 1
44739 _ACEOF
44740
44741 fi
44742 fi
44743
44744 if test "$USES_CONTROLS" = 1; then
44745 cat >>confdefs.h <<\_ACEOF
44746 #define wxUSE_CONTROLS 1
44747 _ACEOF
44748
44749 fi
44750
44751
44752 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44753 cat >>confdefs.h <<\_ACEOF
44754 #define wxUSE_ACCESSIBILITY 1
44755 _ACEOF
44756
44757 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44758 fi
44759
44760 if test "$wxUSE_DC_CACHEING" = "yes"; then
44761 cat >>confdefs.h <<\_ACEOF
44762 #define wxUSE_DC_CACHEING 1
44763 _ACEOF
44764
44765 fi
44766
44767 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44768 cat >>confdefs.h <<\_ACEOF
44769 #define wxUSE_DRAGIMAGE 1
44770 _ACEOF
44771
44772 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44773 fi
44774
44775 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44776 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44777 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44778 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44779 else
44780 cat >>confdefs.h <<\_ACEOF
44781 #define wxUSE_EXCEPTIONS 1
44782 _ACEOF
44783
44784 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44785 fi
44786 fi
44787
44788 USE_HTML=0
44789 if test "$wxUSE_HTML" = "yes"; then
44790 cat >>confdefs.h <<\_ACEOF
44791 #define wxUSE_HTML 1
44792 _ACEOF
44793
44794 USE_HTML=1
44795 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44796 if test "$wxUSE_MAC" = 1; then
44797 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44798 fi
44799 fi
44800 if test "$wxUSE_WEBKIT" = "yes"; then
44801 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44802 old_CPPFLAGS="$CPPFLAGS"
44803 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44804 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44805 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44806 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44807 echo $ECHO_N "(cached) $ECHO_C" >&6
44808 else
44809 cat >conftest.$ac_ext <<_ACEOF
44810 /* confdefs.h. */
44811 _ACEOF
44812 cat confdefs.h >>conftest.$ac_ext
44813 cat >>conftest.$ac_ext <<_ACEOF
44814 /* end confdefs.h. */
44815
44816 #include <Carbon/Carbon.h>
44817 #include <WebKit/WebKit.h>
44818
44819
44820 #include <WebKit/HIWebView.h>
44821 _ACEOF
44822 rm -f conftest.$ac_objext
44823 if { (ac_try="$ac_compile"
44824 case "(($ac_try" in
44825 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44826 *) ac_try_echo=$ac_try;;
44827 esac
44828 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44829 (eval "$ac_compile") 2>conftest.er1
44830 ac_status=$?
44831 grep -v '^ *+' conftest.er1 >conftest.err
44832 rm -f conftest.er1
44833 cat conftest.err >&5
44834 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44835 (exit $ac_status); } && {
44836 test -z "$ac_c_werror_flag" ||
44837 test ! -s conftest.err
44838 } && test -s conftest.$ac_objext; then
44839 ac_cv_header_WebKit_HIWebView_h=yes
44840 else
44841 echo "$as_me: failed program was:" >&5
44842 sed 's/^/| /' conftest.$ac_ext >&5
44843
44844 ac_cv_header_WebKit_HIWebView_h=no
44845 fi
44846
44847 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44848 fi
44849 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44850 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44851 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44852
44853 cat >>confdefs.h <<\_ACEOF
44854 #define wxUSE_WEBKIT 1
44855 _ACEOF
44856
44857 WEBKIT_LINK="-framework WebKit"
44858
44859 else
44860
44861 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44862 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44863 wxUSE_WEBKIT=no
44864
44865 fi
44866
44867
44868 CPPFLAGS="$old_CPPFLAGS"
44869 elif test "$wxUSE_COCOA" = 1; then
44870 cat >>confdefs.h <<\_ACEOF
44871 #define wxUSE_WEBKIT 1
44872 _ACEOF
44873
44874 else
44875 wxUSE_WEBKIT=no
44876 fi
44877 fi
44878
44879 USE_XRC=0
44880 if test "$wxUSE_XRC" = "yes"; then
44881 if test "$wxUSE_XML" != "yes"; then
44882 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44883 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44884 wxUSE_XRC=no
44885 else
44886 cat >>confdefs.h <<\_ACEOF
44887 #define wxUSE_XRC 1
44888 _ACEOF
44889
44890 USE_XRC=1
44891 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44892 fi
44893 fi
44894
44895 USE_AUI=0
44896 if test "$wxUSE_AUI" = "yes"; then
44897 cat >>confdefs.h <<\_ACEOF
44898 #define wxUSE_AUI 1
44899 _ACEOF
44900
44901 USE_AUI=1
44902 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44903 fi
44904
44905 USE_STC=0
44906 if test "$wxUSE_STC" = "yes"; then
44907 cat >>confdefs.h <<\_ACEOF
44908 #define wxUSE_STC 1
44909 _ACEOF
44910
44911 USE_STC=1
44912 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44913 fi
44914
44915 if test "$wxUSE_MENUS" = "yes"; then
44916 cat >>confdefs.h <<\_ACEOF
44917 #define wxUSE_MENUS 1
44918 _ACEOF
44919
44920 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44921 fi
44922
44923 if test "$wxUSE_METAFILE" = "yes"; then
44924 cat >>confdefs.h <<\_ACEOF
44925 #define wxUSE_METAFILE 1
44926 _ACEOF
44927
44928 fi
44929
44930 if test "$wxUSE_MIMETYPE" = "yes"; then
44931 cat >>confdefs.h <<\_ACEOF
44932 #define wxUSE_MIMETYPE 1
44933 _ACEOF
44934
44935 fi
44936
44937 if test "$wxUSE_MINIFRAME" = "yes"; then
44938 cat >>confdefs.h <<\_ACEOF
44939 #define wxUSE_MINIFRAME 1
44940 _ACEOF
44941
44942 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44943 fi
44944
44945 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44946 cat >>confdefs.h <<\_ACEOF
44947 #define wxUSE_SYSTEM_OPTIONS 1
44948 _ACEOF
44949
44950 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44951 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44952 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44953 fi
44954 fi
44955
44956
44957 if test "$wxUSE_VALIDATORS" = "yes"; then
44958 cat >>confdefs.h <<\_ACEOF
44959 #define wxUSE_VALIDATORS 1
44960 _ACEOF
44961
44962 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44963 fi
44964
44965 if test "$wxUSE_PALETTE" = "yes" ; then
44966 if test "$wxUSE_DFB" = 1; then
44967 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44968 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44969 wxUSE_PALETTE=no
44970 else
44971 cat >>confdefs.h <<\_ACEOF
44972 #define wxUSE_PALETTE 1
44973 _ACEOF
44974
44975 fi
44976 fi
44977
44978 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44979 LIBS=" -lunicows $LIBS"
44980 fi
44981
44982 USE_RICHTEXT=0
44983 if test "$wxUSE_RICHTEXT" = "yes"; then
44984 cat >>confdefs.h <<\_ACEOF
44985 #define wxUSE_RICHTEXT 1
44986 _ACEOF
44987
44988 USE_RICHTEXT=1
44989 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44990 fi
44991
44992
44993 if test "$wxUSE_IMAGE" = "yes" ; then
44994 cat >>confdefs.h <<\_ACEOF
44995 #define wxUSE_IMAGE 1
44996 _ACEOF
44997
44998
44999 if test "$wxUSE_GIF" = "yes" ; then
45000 cat >>confdefs.h <<\_ACEOF
45001 #define wxUSE_GIF 1
45002 _ACEOF
45003
45004 fi
45005
45006 if test "$wxUSE_PCX" = "yes" ; then
45007 cat >>confdefs.h <<\_ACEOF
45008 #define wxUSE_PCX 1
45009 _ACEOF
45010
45011 fi
45012
45013 if test "$wxUSE_TGA" = "yes" ; then
45014 cat >>confdefs.h <<\_ACEOF
45015 #define wxUSE_TGA 1
45016 _ACEOF
45017
45018 fi
45019
45020 if test "$wxUSE_IFF" = "yes" ; then
45021 cat >>confdefs.h <<\_ACEOF
45022 #define wxUSE_IFF 1
45023 _ACEOF
45024
45025 fi
45026
45027 if test "$wxUSE_PNM" = "yes" ; then
45028 cat >>confdefs.h <<\_ACEOF
45029 #define wxUSE_PNM 1
45030 _ACEOF
45031
45032 fi
45033
45034 if test "$wxUSE_XPM" = "yes" ; then
45035 cat >>confdefs.h <<\_ACEOF
45036 #define wxUSE_XPM 1
45037 _ACEOF
45038
45039 fi
45040
45041 if test "$wxUSE_ICO_CUR" = "yes" ; then
45042 cat >>confdefs.h <<\_ACEOF
45043 #define wxUSE_ICO_CUR 1
45044 _ACEOF
45045
45046 fi
45047 fi
45048
45049
45050 if test "$wxUSE_ABOUTDLG" = "yes"; then
45051 cat >>confdefs.h <<\_ACEOF
45052 #define wxUSE_ABOUTDLG 1
45053 _ACEOF
45054
45055 fi
45056
45057 if test "$wxUSE_CHOICEDLG" = "yes"; then
45058 cat >>confdefs.h <<\_ACEOF
45059 #define wxUSE_CHOICEDLG 1
45060 _ACEOF
45061
45062 fi
45063
45064 if test "$wxUSE_COLOURDLG" = "yes"; then
45065 cat >>confdefs.h <<\_ACEOF
45066 #define wxUSE_COLOURDLG 1
45067 _ACEOF
45068
45069 fi
45070
45071 if test "$wxUSE_FILEDLG" = "yes"; then
45072 cat >>confdefs.h <<\_ACEOF
45073 #define wxUSE_FILEDLG 1
45074 _ACEOF
45075
45076 fi
45077
45078 if test "$wxUSE_FINDREPLDLG" = "yes"; then
45079 cat >>confdefs.h <<\_ACEOF
45080 #define wxUSE_FINDREPLDLG 1
45081 _ACEOF
45082
45083 fi
45084
45085 if test "$wxUSE_FONTDLG" = "yes"; then
45086 cat >>confdefs.h <<\_ACEOF
45087 #define wxUSE_FONTDLG 1
45088 _ACEOF
45089
45090 fi
45091
45092 if test "$wxUSE_DIRDLG" = "yes"; then
45093 if test "$wxUSE_TREECTRL" != "yes"; then
45094 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
45095 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
45096 else
45097 cat >>confdefs.h <<\_ACEOF
45098 #define wxUSE_DIRDLG 1
45099 _ACEOF
45100
45101 fi
45102 fi
45103
45104 if test "$wxUSE_MSGDLG" = "yes"; then
45105 cat >>confdefs.h <<\_ACEOF
45106 #define wxUSE_MSGDLG 1
45107 _ACEOF
45108
45109 fi
45110
45111 if test "$wxUSE_NUMBERDLG" = "yes"; then
45112 cat >>confdefs.h <<\_ACEOF
45113 #define wxUSE_NUMBERDLG 1
45114 _ACEOF
45115
45116 fi
45117
45118 if test "$wxUSE_PROGRESSDLG" = "yes"; then
45119 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45120 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
45121 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
45122 else
45123 cat >>confdefs.h <<\_ACEOF
45124 #define wxUSE_PROGRESSDLG 1
45125 _ACEOF
45126
45127 fi
45128 fi
45129
45130 if test "$wxUSE_SPLASH" = "yes"; then
45131 cat >>confdefs.h <<\_ACEOF
45132 #define wxUSE_SPLASH 1
45133 _ACEOF
45134
45135 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
45136 fi
45137
45138 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
45139 if test "$wxUSE_CONSTRAINTS" != "yes"; then
45140 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
45141 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
45142 else
45143 cat >>confdefs.h <<\_ACEOF
45144 #define wxUSE_STARTUP_TIPS 1
45145 _ACEOF
45146
45147 fi
45148 fi
45149
45150 if test "$wxUSE_TEXTDLG" = "yes"; then
45151 cat >>confdefs.h <<\_ACEOF
45152 #define wxUSE_TEXTDLG 1
45153 _ACEOF
45154
45155 fi
45156
45157 if test "$wxUSE_WIZARDDLG" = "yes"; then
45158 cat >>confdefs.h <<\_ACEOF
45159 #define wxUSE_WIZARDDLG 1
45160 _ACEOF
45161
45162 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
45163 fi
45164
45165
45166 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
45167 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
45168 cat >>confdefs.h <<\_ACEOF
45169 #define wxUSE_GRAPHICS_CONTEXT 1
45170 _ACEOF
45171
45172 elif test "$wxUSE_GTK" != 1; then
45173 cat >>confdefs.h <<\_ACEOF
45174 #define wxUSE_GRAPHICS_CONTEXT 1
45175 _ACEOF
45176
45177 else
45178
45179 pkg_failed=no
45180 { echo "$as_me:$LINENO: checking for CAIRO" >&5
45181 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
45182
45183 if test -n "$PKG_CONFIG"; then
45184 if test -n "$CAIRO_CFLAGS"; then
45185 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
45186 else
45187 if test -n "$PKG_CONFIG" && \
45188 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45189 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45190 ac_status=$?
45191 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45192 (exit $ac_status); }; then
45193 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
45194 else
45195 pkg_failed=yes
45196 fi
45197 fi
45198 else
45199 pkg_failed=untried
45200 fi
45201 if test -n "$PKG_CONFIG"; then
45202 if test -n "$CAIRO_LIBS"; then
45203 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
45204 else
45205 if test -n "$PKG_CONFIG" && \
45206 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
45207 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
45208 ac_status=$?
45209 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45210 (exit $ac_status); }; then
45211 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
45212 else
45213 pkg_failed=yes
45214 fi
45215 fi
45216 else
45217 pkg_failed=untried
45218 fi
45219
45220
45221
45222 if test $pkg_failed = yes; then
45223
45224 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45225 _pkg_short_errors_supported=yes
45226 else
45227 _pkg_short_errors_supported=no
45228 fi
45229 if test $_pkg_short_errors_supported = yes; then
45230 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
45231 else
45232 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
45233 fi
45234 # Put the nasty error message in config.log where it belongs
45235 echo "$CAIRO_PKG_ERRORS" >&5
45236
45237 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45238 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45239
45240 elif test $pkg_failed = untried; then
45241 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
45242 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
45243
45244 else
45245 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
45246 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
45247 { echo "$as_me:$LINENO: result: yes" >&5
45248 echo "${ECHO_T}yes" >&6; }
45249 cat >>confdefs.h <<\_ACEOF
45250 #define wxUSE_GRAPHICS_CONTEXT 1
45251 _ACEOF
45252
45253 fi
45254 fi
45255 fi
45256
45257
45258 USE_MEDIA=0
45259
45260 if test "$wxUSE_MEDIACTRL" = "yes"; then
45261 USE_MEDIA=1
45262
45263 if test "$wxUSE_GTK" = 1; then
45264 wxUSE_GSTREAMER="no"
45265
45266 GST_VERSION_MAJOR=0
45267 GST_VERSION_MINOR=10
45268 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45269
45270 if test "$wxUSE_GSTREAMER8" = "no"; then
45271
45272 pkg_failed=no
45273 { echo "$as_me:$LINENO: checking for GST" >&5
45274 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45275
45276 if test -n "$PKG_CONFIG"; then
45277 if test -n "$GST_CFLAGS"; then
45278 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45279 else
45280 if test -n "$PKG_CONFIG" && \
45281 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45282 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45283 ac_status=$?
45284 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45285 (exit $ac_status); }; then
45286 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45287 else
45288 pkg_failed=yes
45289 fi
45290 fi
45291 else
45292 pkg_failed=untried
45293 fi
45294 if test -n "$PKG_CONFIG"; then
45295 if test -n "$GST_LIBS"; then
45296 pkg_cv_GST_LIBS="$GST_LIBS"
45297 else
45298 if test -n "$PKG_CONFIG" && \
45299 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
45300 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
45301 ac_status=$?
45302 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45303 (exit $ac_status); }; then
45304 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
45305 else
45306 pkg_failed=yes
45307 fi
45308 fi
45309 else
45310 pkg_failed=untried
45311 fi
45312
45313
45314
45315 if test $pkg_failed = yes; then
45316
45317 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45318 _pkg_short_errors_supported=yes
45319 else
45320 _pkg_short_errors_supported=no
45321 fi
45322 if test $_pkg_short_errors_supported = yes; then
45323 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45324 else
45325 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
45326 fi
45327 # Put the nasty error message in config.log where it belongs
45328 echo "$GST_PKG_ERRORS" >&5
45329
45330
45331 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45332 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45333 GST_VERSION_MINOR=8
45334
45335
45336 elif test $pkg_failed = untried; then
45337
45338 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
45339 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
45340 GST_VERSION_MINOR=8
45341
45342
45343 else
45344 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45345 GST_LIBS=$pkg_cv_GST_LIBS
45346 { echo "$as_me:$LINENO: result: yes" >&5
45347 echo "${ECHO_T}yes" >&6; }
45348
45349 wxUSE_GSTREAMER="yes"
45350 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
45351
45352 fi
45353 else
45354 GST_VERSION_MINOR=8
45355 fi
45356
45357 if test $GST_VERSION_MINOR = "8"; then
45358 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
45359
45360 pkg_failed=no
45361 { echo "$as_me:$LINENO: checking for GST" >&5
45362 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
45363
45364 if test -n "$PKG_CONFIG"; then
45365 if test -n "$GST_CFLAGS"; then
45366 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
45367 else
45368 if test -n "$PKG_CONFIG" && \
45369 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45370 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45371 ac_status=$?
45372 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45373 (exit $ac_status); }; then
45374 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45375 else
45376 pkg_failed=yes
45377 fi
45378 fi
45379 else
45380 pkg_failed=untried
45381 fi
45382 if test -n "$PKG_CONFIG"; then
45383 if test -n "$GST_LIBS"; then
45384 pkg_cv_GST_LIBS="$GST_LIBS"
45385 else
45386 if test -n "$PKG_CONFIG" && \
45387 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45388 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45389 ac_status=$?
45390 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45391 (exit $ac_status); }; then
45392 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45393 else
45394 pkg_failed=yes
45395 fi
45396 fi
45397 else
45398 pkg_failed=untried
45399 fi
45400
45401
45402
45403 if test $pkg_failed = yes; then
45404
45405 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45406 _pkg_short_errors_supported=yes
45407 else
45408 _pkg_short_errors_supported=no
45409 fi
45410 if test $_pkg_short_errors_supported = yes; then
45411 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45412 else
45413 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45414 fi
45415 # Put the nasty error message in config.log where it belongs
45416 echo "$GST_PKG_ERRORS" >&5
45417
45418
45419 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45420 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45421
45422 elif test $pkg_failed = untried; then
45423
45424 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45425 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45426
45427 else
45428 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45429 GST_LIBS=$pkg_cv_GST_LIBS
45430 { echo "$as_me:$LINENO: result: yes" >&5
45431 echo "${ECHO_T}yes" >&6; }
45432 wxUSE_GSTREAMER="yes"
45433 fi
45434 fi
45435
45436
45437 if test "$wxUSE_GSTREAMER" = "yes"; then
45438 case "${host}" in
45439 *-*-solaris2* )
45440 if "$GCC" = yes; then
45441 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45442 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45443 fi
45444 esac
45445
45446 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45447 LIBS="$GST_LIBS $LIBS"
45448
45449 cat >>confdefs.h <<\_ACEOF
45450 #define wxUSE_GSTREAMER 1
45451 _ACEOF
45452
45453 else
45454 USE_MEDIA=0
45455 fi
45456 fi
45457
45458 if test $USE_MEDIA = 1; then
45459 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45460 cat >>confdefs.h <<\_ACEOF
45461 #define wxUSE_MEDIACTRL 1
45462 _ACEOF
45463
45464 fi
45465 fi
45466
45467
45468 if test "$cross_compiling" = "yes"; then
45469 OSINFO="\"$host\""
45470 else
45471 OSINFO=`uname -s -r -m`
45472 OSINFO="\"$OSINFO\""
45473 fi
45474
45475 cat >>confdefs.h <<_ACEOF
45476 #define WXWIN_OS_DESCRIPTION $OSINFO
45477 _ACEOF
45478
45479
45480
45481 if test "x$prefix" != "xNONE"; then
45482 wxPREFIX=$prefix
45483 else
45484 wxPREFIX=$ac_default_prefix
45485 fi
45486
45487 cat >>confdefs.h <<_ACEOF
45488 #define wxINSTALL_PREFIX "$wxPREFIX"
45489 _ACEOF
45490
45491
45492
45493
45494 CORE_BASE_LIBS="net base"
45495 CORE_GUI_LIBS="adv core"
45496
45497 if test "$wxUSE_XML" = "yes" ; then
45498 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45499 fi
45500 if test "$wxUSE_ODBC" != "no" ; then
45501 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45502 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45503 fi
45504 if test "$wxUSE_HTML" = "yes" ; then
45505 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45506 fi
45507 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45508 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45509 fi
45510 if test "$wxUSE_XRC" = "yes" ; then
45511 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45512 fi
45513 if test "$wxUSE_AUI" = "yes" ; then
45514 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45515 fi
45516 if test "$wxUSE_STC" = "yes" ; then
45517 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45518 fi
45519
45520 if test "$wxUSE_GUI" != "yes"; then
45521 CORE_GUI_LIBS=""
45522 fi
45523
45524
45525
45526
45527
45528
45529 if test "$wxUSE_MAC" = 1 ; then
45530 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45531 if test "$USE_DARWIN" = 1; then
45532 LDFLAGS="$LDFLAGS -framework QuickTime"
45533 else
45534 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45535 fi
45536 fi
45537 if test "$USE_DARWIN" = 1; then
45538 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45539 else
45540 LDFLAGS="$LDFLAGS -lCarbonLib"
45541 fi
45542 fi
45543 if test "$wxUSE_COCOA" = 1 ; then
45544 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45545 if test "$wxUSE_MEDIACTRL" = "yes"; then
45546 LDFLAGS="$LDFLAGS -framework QuickTime"
45547 fi
45548 fi
45549 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45550 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45551 fi
45552
45553 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45554
45555 if test "$wxUSE_GUI" = "yes"; then
45556
45557
45558 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45559 dynamic erase event exec font image minimal mobile \
45560 mobile/wxedit mobile/styles propsize render \
45561 rotate shaped svg taborder vscroll widgets"
45562
45563 if test "$wxUSE_MONOLITHIC" != "yes"; then
45564 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45565 fi
45566 if test "$TOOLKIT" = "MSW"; then
45567 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45568 if test "$wxUSE_UNIVERSAL" != "yes"; then
45569 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45570 fi
45571 fi
45572 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45573 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45574 fi
45575 else
45576 SAMPLES_SUBDIRS="console"
45577 fi
45578
45579
45580 if test "x$INTELCC" = "xyes" ; then
45581 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45582 elif test "$GCC" = yes ; then
45583 CWARNINGS="-Wall -Wundef"
45584 fi
45585
45586 if test "x$INTELCXX" = "xyes" ; then
45587 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45588 elif test "$GXX" = yes ; then
45589 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45590 fi
45591
45592
45593 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45594 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45595
45596
45597 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45598 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45599 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45600 $CPPFLAGS `
45601
45602 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45603 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45604 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $C_AND_CXX_FLAGS $CXXFLAGS `
45605
45606 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45607
45608
45609 if test "x$MWCC" = "xyes"; then
45610
45611 CC="$CC -cwd source -I-"
45612 CXX="$CXX -cwd source -I-"
45613 fi
45614
45615
45616 LIBS=`echo $LIBS`
45617 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45618 EXTRALIBS_XML="$EXPAT_LINK"
45619 EXTRALIBS_HTML="$MSPACK_LINK"
45620 EXTRALIBS_ODBC="$ODBC_LINK"
45621 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45622 if test "$wxUSE_GUI" = "yes"; then
45623 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45624 fi
45625 if test "$wxUSE_OPENGL" = "yes"; then
45626 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45627 fi
45628
45629 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45630
45631 WXCONFIG_LIBS="$LIBS"
45632
45633 if test "$wxUSE_REGEX" = "builtin" ; then
45634 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45635 fi
45636 if test "$wxUSE_EXPAT" = "builtin" ; then
45637 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45638 fi
45639 if test "$wxUSE_ODBC" = "builtin" ; then
45640 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45641 fi
45642 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45643 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45644 fi
45645 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45646 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45647 fi
45648 if test "$wxUSE_LIBPNG" = "builtin" ; then
45649 wxconfig_3rdparty="png $wxconfig_3rdparty"
45650 fi
45651 if test "$wxUSE_ZLIB" = "builtin" ; then
45652 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45653 fi
45654
45655 for i in $wxconfig_3rdparty ; do
45656 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45657 done
45658
45659
45660 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45661 WXUNIV=1
45662
45663 case "$wxUNIV_THEMES" in
45664 ''|all)
45665 cat >>confdefs.h <<\_ACEOF
45666 #define wxUSE_ALL_THEMES 1
45667 _ACEOF
45668
45669 ;;
45670
45671 *)
45672 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45673 cat >>confdefs.h <<_ACEOF
45674 #define wxUSE_THEME_$t 1
45675 _ACEOF
45676
45677 done
45678 esac
45679 else
45680 WXUNIV=0
45681 fi
45682
45683
45684
45685
45686
45687
45688
45689
45690
45691 if test $wxUSE_MONOLITHIC = "yes" ; then
45692 MONOLITHIC=1
45693 else
45694 MONOLITHIC=0
45695 fi
45696
45697 if test $wxUSE_PLUGINS = "yes" ; then
45698 USE_PLUGINS=1
45699 else
45700 USE_PLUGINS=0
45701 fi
45702
45703 if test $wxUSE_ODBC != "no" ; then
45704 USE_ODBC=1
45705 else
45706 USE_ODBC=0
45707 fi
45708
45709 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45710 USE_QA=1
45711 else
45712 USE_QA=0
45713 fi
45714
45715 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45716 OFFICIAL_BUILD=1
45717 else
45718 OFFICIAL_BUILD=0
45719 fi
45720
45721
45722
45723
45724
45725
45726
45727
45728
45729
45730
45731
45732
45733
45734
45735
45736
45737
45738
45739
45740
45741
45742
45743
45744
45745
45746 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45747
45748
45749
45750
45751
45752
45753
45754
45755 case "$TOOLKIT" in
45756 GTK)
45757 TOOLKIT_DESC="GTK+"
45758 if test "$WXGTK20" = 1; then
45759 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45760 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45761 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45762 fi
45763 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45764 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45765 fi
45766 if test "$wxUSE_LIBHILDON" = "yes"; then
45767 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45768 fi
45769
45770 if test "$TOOLKIT_EXTRA" != ""; then
45771 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45772 fi
45773 fi
45774 ;;
45775
45776 ?*)
45777 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45778 ;;
45779
45780 *)
45781 TOOLKIT_DESC="base only"
45782 ;;
45783 esac
45784
45785 if test "$wxUSE_WINE" = "yes"; then
45786 BAKEFILE_FORCE_PLATFORM=win32
45787 fi
45788
45789 if test "$wxUSE_MAC" = 1 ; then
45790 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45791 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45792 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45793 else
45794 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45795 fi
45796 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45797 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45798 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45799 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45800 bk_use_pch=no
45801 fi
45802 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45803 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45804 fi
45805
45806 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45807 then
45808 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45809 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45810 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45811 echo $ECHO_N "(cached) $ECHO_C" >&6
45812 else
45813
45814 echo '#include <stdio.h>
45815 const wchar_t test_var[] = L"awidetest";' > conftest.h
45816
45817 echo '#include "conftest.h"
45818 int main()
45819 {
45820 printf("%ls", test_var);
45821 return 0;
45822 }' > conftest.cpp
45823
45824 wx_cv_gcc_pch_bug="pch not supported"
45825
45826 if $CXX conftest.h >/dev/null 2>&1
45827 then
45828 wx_cv_gcc_pch_bug=
45829
45830 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45831 then
45832 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45833 grep awidetest >/dev/null
45834 then
45835 wx_cv_gcc_pch_bug=no
45836 else
45837 wx_cv_gcc_pch_bug=yes
45838 fi
45839 fi
45840 fi
45841
45842 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45843
45844 fi
45845 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45846 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45847
45848 if test "$wx_cv_gcc_pch_bug" = yes; then
45849 bk_use_pch=no
45850 fi
45851 fi
45852
45853
45854
45855
45856 if test "x$BAKEFILE_HOST" = "x"; then
45857 if test "x${host}" = "x" ; then
45858 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45859 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45860 { (exit 1); exit 1; }; }
45861 fi
45862
45863 BAKEFILE_HOST="${host}"
45864 fi
45865
45866 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45867
45868 if test -n "$ac_tool_prefix"; then
45869 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45870 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45871 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45872 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45873 if test "${ac_cv_prog_RANLIB+set}" = set; then
45874 echo $ECHO_N "(cached) $ECHO_C" >&6
45875 else
45876 if test -n "$RANLIB"; then
45877 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45878 else
45879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45880 for as_dir in $PATH
45881 do
45882 IFS=$as_save_IFS
45883 test -z "$as_dir" && as_dir=.
45884 for ac_exec_ext in '' $ac_executable_extensions; do
45885 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45886 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45887 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45888 break 2
45889 fi
45890 done
45891 done
45892 IFS=$as_save_IFS
45893
45894 fi
45895 fi
45896 RANLIB=$ac_cv_prog_RANLIB
45897 if test -n "$RANLIB"; then
45898 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45899 echo "${ECHO_T}$RANLIB" >&6; }
45900 else
45901 { echo "$as_me:$LINENO: result: no" >&5
45902 echo "${ECHO_T}no" >&6; }
45903 fi
45904
45905
45906 fi
45907 if test -z "$ac_cv_prog_RANLIB"; then
45908 ac_ct_RANLIB=$RANLIB
45909 # Extract the first word of "ranlib", so it can be a program name with args.
45910 set dummy ranlib; ac_word=$2
45911 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45912 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45913 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45914 echo $ECHO_N "(cached) $ECHO_C" >&6
45915 else
45916 if test -n "$ac_ct_RANLIB"; then
45917 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45918 else
45919 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45920 for as_dir in $PATH
45921 do
45922 IFS=$as_save_IFS
45923 test -z "$as_dir" && as_dir=.
45924 for ac_exec_ext in '' $ac_executable_extensions; do
45925 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45926 ac_cv_prog_ac_ct_RANLIB="ranlib"
45927 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45928 break 2
45929 fi
45930 done
45931 done
45932 IFS=$as_save_IFS
45933
45934 fi
45935 fi
45936 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45937 if test -n "$ac_ct_RANLIB"; then
45938 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45939 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45940 else
45941 { echo "$as_me:$LINENO: result: no" >&5
45942 echo "${ECHO_T}no" >&6; }
45943 fi
45944
45945 if test "x$ac_ct_RANLIB" = x; then
45946 RANLIB=":"
45947 else
45948 case $cross_compiling:$ac_tool_warned in
45949 yes:)
45950 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45951 whose name does not start with the host triplet. If you think this
45952 configuration is useful to you, please write to autoconf@gnu.org." >&5
45953 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45954 whose name does not start with the host triplet. If you think this
45955 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45956 ac_tool_warned=yes ;;
45957 esac
45958 RANLIB=$ac_ct_RANLIB
45959 fi
45960 else
45961 RANLIB="$ac_cv_prog_RANLIB"
45962 fi
45963
45964 # Find a good install program. We prefer a C program (faster),
45965 # so one script is as good as another. But avoid the broken or
45966 # incompatible versions:
45967 # SysV /etc/install, /usr/sbin/install
45968 # SunOS /usr/etc/install
45969 # IRIX /sbin/install
45970 # AIX /bin/install
45971 # AmigaOS /C/install, which installs bootblocks on floppy discs
45972 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45973 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45974 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45975 # OS/2's system install, which has a completely different semantic
45976 # ./install, which can be erroneously created by make from ./install.sh.
45977 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45978 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45979 if test -z "$INSTALL"; then
45980 if test "${ac_cv_path_install+set}" = set; then
45981 echo $ECHO_N "(cached) $ECHO_C" >&6
45982 else
45983 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45984 for as_dir in $PATH
45985 do
45986 IFS=$as_save_IFS
45987 test -z "$as_dir" && as_dir=.
45988 # Account for people who put trailing slashes in PATH elements.
45989 case $as_dir/ in
45990 ./ | .// | /cC/* | \
45991 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45992 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45993 /usr/ucb/* ) ;;
45994 *)
45995 # OSF1 and SCO ODT 3.0 have their own names for install.
45996 # Don't use installbsd from OSF since it installs stuff as root
45997 # by default.
45998 for ac_prog in ginstall scoinst install; do
45999 for ac_exec_ext in '' $ac_executable_extensions; do
46000 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
46001 if test $ac_prog = install &&
46002 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46003 # AIX install. It has an incompatible calling convention.
46004 :
46005 elif test $ac_prog = install &&
46006 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
46007 # program-specific install script used by HP pwplus--don't use.
46008 :
46009 else
46010 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
46011 break 3
46012 fi
46013 fi
46014 done
46015 done
46016 ;;
46017 esac
46018 done
46019 IFS=$as_save_IFS
46020
46021
46022 fi
46023 if test "${ac_cv_path_install+set}" = set; then
46024 INSTALL=$ac_cv_path_install
46025 else
46026 # As a last resort, use the slow shell script. Don't cache a
46027 # value for INSTALL within a source directory, because that will
46028 # break other packages using the cache if that directory is
46029 # removed, or if the value is a relative name.
46030 INSTALL=$ac_install_sh
46031 fi
46032 fi
46033 { echo "$as_me:$LINENO: result: $INSTALL" >&5
46034 echo "${ECHO_T}$INSTALL" >&6; }
46035
46036 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
46037 # It thinks the first close brace ends the variable substitution.
46038 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
46039
46040 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
46041
46042 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
46043
46044 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
46045 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
46046 LN_S=$as_ln_s
46047 if test "$LN_S" = "ln -s"; then
46048 { echo "$as_me:$LINENO: result: yes" >&5
46049 echo "${ECHO_T}yes" >&6; }
46050 else
46051 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
46052 echo "${ECHO_T}no, using $LN_S" >&6; }
46053 fi
46054
46055
46056 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
46057 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
46058 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
46059 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
46060 echo $ECHO_N "(cached) $ECHO_C" >&6
46061 else
46062 cat >conftest.make <<\_ACEOF
46063 SHELL = /bin/sh
46064 all:
46065 @echo '@@@%%%=$(MAKE)=@@@%%%'
46066 _ACEOF
46067 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
46068 case `${MAKE-make} -f conftest.make 2>/dev/null` in
46069 *@@@%%%=?*=@@@%%%*)
46070 eval ac_cv_prog_make_${ac_make}_set=yes;;
46071 *)
46072 eval ac_cv_prog_make_${ac_make}_set=no;;
46073 esac
46074 rm -f conftest.make
46075 fi
46076 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
46077 { echo "$as_me:$LINENO: result: yes" >&5
46078 echo "${ECHO_T}yes" >&6; }
46079 SET_MAKE=
46080 else
46081 { echo "$as_me:$LINENO: result: no" >&5
46082 echo "${ECHO_T}no" >&6; }
46083 SET_MAKE="MAKE=${MAKE-make}"
46084 fi
46085
46086
46087
46088 if test "x$SUNCXX" = "xyes"; then
46089 AR=$CXX
46090 AROPTIONS="-xar -o"
46091
46092 elif test "x$SGICC" = "xyes"; then
46093 AR=$CXX
46094 AROPTIONS="-ar -o"
46095
46096 else
46097 if test -n "$ac_tool_prefix"; then
46098 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
46099 set dummy ${ac_tool_prefix}ar; ac_word=$2
46100 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46101 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46102 if test "${ac_cv_prog_AR+set}" = set; then
46103 echo $ECHO_N "(cached) $ECHO_C" >&6
46104 else
46105 if test -n "$AR"; then
46106 ac_cv_prog_AR="$AR" # Let the user override the test.
46107 else
46108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46109 for as_dir in $PATH
46110 do
46111 IFS=$as_save_IFS
46112 test -z "$as_dir" && as_dir=.
46113 for ac_exec_ext in '' $ac_executable_extensions; do
46114 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46115 ac_cv_prog_AR="${ac_tool_prefix}ar"
46116 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46117 break 2
46118 fi
46119 done
46120 done
46121 IFS=$as_save_IFS
46122
46123 fi
46124 fi
46125 AR=$ac_cv_prog_AR
46126 if test -n "$AR"; then
46127 { echo "$as_me:$LINENO: result: $AR" >&5
46128 echo "${ECHO_T}$AR" >&6; }
46129 else
46130 { echo "$as_me:$LINENO: result: no" >&5
46131 echo "${ECHO_T}no" >&6; }
46132 fi
46133
46134
46135 fi
46136 if test -z "$ac_cv_prog_AR"; then
46137 ac_ct_AR=$AR
46138 # Extract the first word of "ar", so it can be a program name with args.
46139 set dummy ar; ac_word=$2
46140 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46141 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46142 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
46143 echo $ECHO_N "(cached) $ECHO_C" >&6
46144 else
46145 if test -n "$ac_ct_AR"; then
46146 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
46147 else
46148 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46149 for as_dir in $PATH
46150 do
46151 IFS=$as_save_IFS
46152 test -z "$as_dir" && as_dir=.
46153 for ac_exec_ext in '' $ac_executable_extensions; do
46154 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46155 ac_cv_prog_ac_ct_AR="ar"
46156 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46157 break 2
46158 fi
46159 done
46160 done
46161 IFS=$as_save_IFS
46162
46163 fi
46164 fi
46165 ac_ct_AR=$ac_cv_prog_ac_ct_AR
46166 if test -n "$ac_ct_AR"; then
46167 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
46168 echo "${ECHO_T}$ac_ct_AR" >&6; }
46169 else
46170 { echo "$as_me:$LINENO: result: no" >&5
46171 echo "${ECHO_T}no" >&6; }
46172 fi
46173
46174 if test "x$ac_ct_AR" = x; then
46175 AR="ar"
46176 else
46177 case $cross_compiling:$ac_tool_warned in
46178 yes:)
46179 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46180 whose name does not start with the host triplet. If you think this
46181 configuration is useful to you, please write to autoconf@gnu.org." >&5
46182 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46183 whose name does not start with the host triplet. If you think this
46184 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46185 ac_tool_warned=yes ;;
46186 esac
46187 AR=$ac_ct_AR
46188 fi
46189 else
46190 AR="$ac_cv_prog_AR"
46191 fi
46192
46193 AROPTIONS=rcu
46194 fi
46195
46196
46197 if test -n "$ac_tool_prefix"; then
46198 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
46199 set dummy ${ac_tool_prefix}strip; ac_word=$2
46200 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46201 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46202 if test "${ac_cv_prog_STRIP+set}" = set; then
46203 echo $ECHO_N "(cached) $ECHO_C" >&6
46204 else
46205 if test -n "$STRIP"; then
46206 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
46207 else
46208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46209 for as_dir in $PATH
46210 do
46211 IFS=$as_save_IFS
46212 test -z "$as_dir" && as_dir=.
46213 for ac_exec_ext in '' $ac_executable_extensions; do
46214 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46215 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
46216 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46217 break 2
46218 fi
46219 done
46220 done
46221 IFS=$as_save_IFS
46222
46223 fi
46224 fi
46225 STRIP=$ac_cv_prog_STRIP
46226 if test -n "$STRIP"; then
46227 { echo "$as_me:$LINENO: result: $STRIP" >&5
46228 echo "${ECHO_T}$STRIP" >&6; }
46229 else
46230 { echo "$as_me:$LINENO: result: no" >&5
46231 echo "${ECHO_T}no" >&6; }
46232 fi
46233
46234
46235 fi
46236 if test -z "$ac_cv_prog_STRIP"; then
46237 ac_ct_STRIP=$STRIP
46238 # Extract the first word of "strip", so it can be a program name with args.
46239 set dummy strip; ac_word=$2
46240 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46241 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46242 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
46243 echo $ECHO_N "(cached) $ECHO_C" >&6
46244 else
46245 if test -n "$ac_ct_STRIP"; then
46246 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
46247 else
46248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46249 for as_dir in $PATH
46250 do
46251 IFS=$as_save_IFS
46252 test -z "$as_dir" && as_dir=.
46253 for ac_exec_ext in '' $ac_executable_extensions; do
46254 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46255 ac_cv_prog_ac_ct_STRIP="strip"
46256 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46257 break 2
46258 fi
46259 done
46260 done
46261 IFS=$as_save_IFS
46262
46263 fi
46264 fi
46265 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
46266 if test -n "$ac_ct_STRIP"; then
46267 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
46268 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
46269 else
46270 { echo "$as_me:$LINENO: result: no" >&5
46271 echo "${ECHO_T}no" >&6; }
46272 fi
46273
46274 if test "x$ac_ct_STRIP" = x; then
46275 STRIP=":"
46276 else
46277 case $cross_compiling:$ac_tool_warned in
46278 yes:)
46279 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46280 whose name does not start with the host triplet. If you think this
46281 configuration is useful to you, please write to autoconf@gnu.org." >&5
46282 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46283 whose name does not start with the host triplet. If you think this
46284 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46285 ac_tool_warned=yes ;;
46286 esac
46287 STRIP=$ac_ct_STRIP
46288 fi
46289 else
46290 STRIP="$ac_cv_prog_STRIP"
46291 fi
46292
46293 if test -n "$ac_tool_prefix"; then
46294 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
46295 set dummy ${ac_tool_prefix}nm; ac_word=$2
46296 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46297 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46298 if test "${ac_cv_prog_NM+set}" = set; then
46299 echo $ECHO_N "(cached) $ECHO_C" >&6
46300 else
46301 if test -n "$NM"; then
46302 ac_cv_prog_NM="$NM" # Let the user override the test.
46303 else
46304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46305 for as_dir in $PATH
46306 do
46307 IFS=$as_save_IFS
46308 test -z "$as_dir" && as_dir=.
46309 for ac_exec_ext in '' $ac_executable_extensions; do
46310 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46311 ac_cv_prog_NM="${ac_tool_prefix}nm"
46312 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46313 break 2
46314 fi
46315 done
46316 done
46317 IFS=$as_save_IFS
46318
46319 fi
46320 fi
46321 NM=$ac_cv_prog_NM
46322 if test -n "$NM"; then
46323 { echo "$as_me:$LINENO: result: $NM" >&5
46324 echo "${ECHO_T}$NM" >&6; }
46325 else
46326 { echo "$as_me:$LINENO: result: no" >&5
46327 echo "${ECHO_T}no" >&6; }
46328 fi
46329
46330
46331 fi
46332 if test -z "$ac_cv_prog_NM"; then
46333 ac_ct_NM=$NM
46334 # Extract the first word of "nm", so it can be a program name with args.
46335 set dummy nm; ac_word=$2
46336 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46337 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46338 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
46339 echo $ECHO_N "(cached) $ECHO_C" >&6
46340 else
46341 if test -n "$ac_ct_NM"; then
46342 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
46343 else
46344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46345 for as_dir in $PATH
46346 do
46347 IFS=$as_save_IFS
46348 test -z "$as_dir" && as_dir=.
46349 for ac_exec_ext in '' $ac_executable_extensions; do
46350 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46351 ac_cv_prog_ac_ct_NM="nm"
46352 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46353 break 2
46354 fi
46355 done
46356 done
46357 IFS=$as_save_IFS
46358
46359 fi
46360 fi
46361 ac_ct_NM=$ac_cv_prog_ac_ct_NM
46362 if test -n "$ac_ct_NM"; then
46363 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
46364 echo "${ECHO_T}$ac_ct_NM" >&6; }
46365 else
46366 { echo "$as_me:$LINENO: result: no" >&5
46367 echo "${ECHO_T}no" >&6; }
46368 fi
46369
46370 if test "x$ac_ct_NM" = x; then
46371 NM=":"
46372 else
46373 case $cross_compiling:$ac_tool_warned in
46374 yes:)
46375 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46376 whose name does not start with the host triplet. If you think this
46377 configuration is useful to you, please write to autoconf@gnu.org." >&5
46378 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46379 whose name does not start with the host triplet. If you think this
46380 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46381 ac_tool_warned=yes ;;
46382 esac
46383 NM=$ac_ct_NM
46384 fi
46385 else
46386 NM="$ac_cv_prog_NM"
46387 fi
46388
46389
46390 case ${BAKEFILE_HOST} in
46391 *-hp-hpux* )
46392 INSTALL_DIR="mkdir -p"
46393 ;;
46394 * )
46395 INSTALL_DIR='$(INSTALL) -d'
46396 ;;
46397 esac
46398
46399
46400 LDFLAGS_GUI=
46401 case ${BAKEFILE_HOST} in
46402 *-*-cygwin* | *-*-mingw32* )
46403 LDFLAGS_GUI="-mwindows"
46404 esac
46405
46406
46407 fi
46408
46409 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46410 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46411 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46412 echo $ECHO_N "(cached) $ECHO_C" >&6
46413 else
46414
46415 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46416 egrep -s GNU > /dev/null); then
46417 bakefile_cv_prog_makeisgnu="yes"
46418 else
46419 bakefile_cv_prog_makeisgnu="no"
46420 fi
46421
46422 fi
46423 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46424 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46425
46426 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46427 IF_GNU_MAKE=""
46428 else
46429 IF_GNU_MAKE="#"
46430 fi
46431
46432
46433
46434 PLATFORM_UNIX=0
46435 PLATFORM_WIN32=0
46436 PLATFORM_MSDOS=0
46437 PLATFORM_MAC=0
46438 PLATFORM_MACOS=0
46439 PLATFORM_MACOSX=0
46440 PLATFORM_OS2=0
46441 PLATFORM_BEOS=0
46442
46443 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46444 case "${BAKEFILE_HOST}" in
46445 *-*-mingw32* )
46446 PLATFORM_WIN32=1
46447 ;;
46448 *-pc-msdosdjgpp )
46449 PLATFORM_MSDOS=1
46450 ;;
46451 *-pc-os2_emx | *-pc-os2-emx )
46452 PLATFORM_OS2=1
46453 ;;
46454 *-*-darwin* )
46455 PLATFORM_MAC=1
46456 PLATFORM_MACOSX=1
46457 ;;
46458 *-*-beos* )
46459 PLATFORM_BEOS=1
46460 ;;
46461 powerpc-apple-macos* )
46462 PLATFORM_MAC=1
46463 PLATFORM_MACOS=1
46464 ;;
46465 * )
46466 PLATFORM_UNIX=1
46467 ;;
46468 esac
46469 else
46470 case "$BAKEFILE_FORCE_PLATFORM" in
46471 win32 )
46472 PLATFORM_WIN32=1
46473 ;;
46474 msdos )
46475 PLATFORM_MSDOS=1
46476 ;;
46477 os2 )
46478 PLATFORM_OS2=1
46479 ;;
46480 darwin )
46481 PLATFORM_MAC=1
46482 PLATFORM_MACOSX=1
46483 ;;
46484 unix )
46485 PLATFORM_UNIX=1
46486 ;;
46487 beos )
46488 PLATFORM_BEOS=1
46489 ;;
46490 * )
46491 ;;
46492 esac
46493 fi
46494
46495
46496
46497
46498
46499
46500
46501
46502
46503
46504
46505 # Check whether --enable-omf was given.
46506 if test "${enable_omf+set}" = set; then
46507 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46508 fi
46509
46510
46511 case "${BAKEFILE_HOST}" in
46512 *-*-darwin* )
46513 if test "x$GCC" = "xyes"; then
46514 CFLAGS="$CFLAGS -fno-common"
46515 CXXFLAGS="$CXXFLAGS -fno-common"
46516 fi
46517 if test "x$XLCC" = "xyes"; then
46518 CFLAGS="$CFLAGS -qnocommon"
46519 CXXFLAGS="$CXXFLAGS -qnocommon"
46520 fi
46521 ;;
46522
46523 *-pc-os2_emx | *-pc-os2-emx )
46524 if test "x$bk_os2_use_omf" = "xyes" ; then
46525 AR=emxomfar
46526 RANLIB=:
46527 LDFLAGS="-Zomf $LDFLAGS"
46528 CFLAGS="-Zomf $CFLAGS"
46529 CXXFLAGS="-Zomf $CXXFLAGS"
46530 OS2_LIBEXT="lib"
46531 else
46532 OS2_LIBEXT="a"
46533 fi
46534 ;;
46535
46536 i*86-*-beos* )
46537 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46538 ;;
46539 esac
46540
46541
46542 SO_SUFFIX="so"
46543 SO_SUFFIX_MODULE="so"
46544 EXEEXT=""
46545 LIBPREFIX="lib"
46546 LIBEXT=".a"
46547 DLLPREFIX="lib"
46548 DLLPREFIX_MODULE=""
46549 DLLIMP_SUFFIX=""
46550 dlldir="$libdir"
46551
46552 case "${BAKEFILE_HOST}" in
46553 *-hp-hpux* )
46554 SO_SUFFIX="sl"
46555 SO_SUFFIX_MODULE="sl"
46556 ;;
46557 *-*-aix* )
46558 SO_SUFFIX="a"
46559 SO_SUFFIX_MODULE="a"
46560 ;;
46561 *-*-cygwin* )
46562 SO_SUFFIX="dll"
46563 SO_SUFFIX_MODULE="dll"
46564 DLLIMP_SUFFIX="dll.a"
46565 EXEEXT=".exe"
46566 DLLPREFIX="cyg"
46567 dlldir="$bindir"
46568 ;;
46569 *-*-mingw32* )
46570 SO_SUFFIX="dll"
46571 SO_SUFFIX_MODULE="dll"
46572 DLLIMP_SUFFIX="dll.a"
46573 EXEEXT=".exe"
46574 DLLPREFIX=""
46575 dlldir="$bindir"
46576 ;;
46577 *-pc-msdosdjgpp )
46578 EXEEXT=".exe"
46579 DLLPREFIX=""
46580 dlldir="$bindir"
46581 ;;
46582 *-pc-os2_emx | *-pc-os2-emx )
46583 SO_SUFFIX="dll"
46584 SO_SUFFIX_MODULE="dll"
46585 DLLIMP_SUFFIX=$OS2_LIBEXT
46586 EXEEXT=".exe"
46587 DLLPREFIX=""
46588 LIBPREFIX=""
46589 LIBEXT=".$OS2_LIBEXT"
46590 dlldir="$bindir"
46591 ;;
46592 *-*-darwin* )
46593 SO_SUFFIX="dylib"
46594 SO_SUFFIX_MODULE="bundle"
46595 ;;
46596 esac
46597
46598 if test "x$DLLIMP_SUFFIX" = "x" ; then
46599 DLLIMP_SUFFIX="$SO_SUFFIX"
46600 fi
46601
46602
46603
46604
46605
46606
46607
46608
46609
46610
46611
46612
46613 PIC_FLAG=""
46614 if test "x$GCC" = "xyes"; then
46615 PIC_FLAG="-fPIC"
46616 fi
46617
46618 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46619 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46620 WINDOWS_IMPLIB=0
46621
46622 case "${BAKEFILE_HOST}" in
46623 *-hp-hpux* )
46624 if test "x$GCC" != "xyes"; then
46625 LDFLAGS="$LDFLAGS -L/usr/lib"
46626
46627 SHARED_LD_CC="${CC} -b -o"
46628 SHARED_LD_CXX="${CXX} -b -o"
46629 PIC_FLAG="+Z"
46630 fi
46631 ;;
46632
46633 *-*-linux* )
46634 if test "x$GCC" != "xyes"; then
46635 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46636 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46637 if test "${bakefile_cv_prog_icc+set}" = set; then
46638 echo $ECHO_N "(cached) $ECHO_C" >&6
46639 else
46640
46641 cat >conftest.$ac_ext <<_ACEOF
46642 /* confdefs.h. */
46643 _ACEOF
46644 cat confdefs.h >>conftest.$ac_ext
46645 cat >>conftest.$ac_ext <<_ACEOF
46646 /* end confdefs.h. */
46647
46648 int
46649 main ()
46650 {
46651
46652 #ifndef __INTEL_COMPILER
46653 This is not ICC
46654 #endif
46655
46656 ;
46657 return 0;
46658 }
46659 _ACEOF
46660 rm -f conftest.$ac_objext
46661 if { (ac_try="$ac_compile"
46662 case "(($ac_try" in
46663 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46664 *) ac_try_echo=$ac_try;;
46665 esac
46666 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46667 (eval "$ac_compile") 2>conftest.er1
46668 ac_status=$?
46669 grep -v '^ *+' conftest.er1 >conftest.err
46670 rm -f conftest.er1
46671 cat conftest.err >&5
46672 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46673 (exit $ac_status); } && {
46674 test -z "$ac_c_werror_flag" ||
46675 test ! -s conftest.err
46676 } && test -s conftest.$ac_objext; then
46677 bakefile_cv_prog_icc=yes
46678 else
46679 echo "$as_me: failed program was:" >&5
46680 sed 's/^/| /' conftest.$ac_ext >&5
46681
46682 bakefile_cv_prog_icc=no
46683
46684 fi
46685
46686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46687
46688 fi
46689 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46690 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46691 if test "$bakefile_cv_prog_icc" = "yes"; then
46692 PIC_FLAG="-KPIC"
46693 fi
46694 fi
46695 ;;
46696
46697 *-*-solaris2* )
46698 if test "x$GCC" != xyes ; then
46699 SHARED_LD_CC="${CC} -G -o"
46700 SHARED_LD_CXX="${CXX} -G -o"
46701 PIC_FLAG="-KPIC"
46702 fi
46703 ;;
46704
46705 *-*-darwin* )
46706
46707 D='$'
46708 cat <<EOF >shared-ld-sh
46709 #!/bin/sh
46710 #-----------------------------------------------------------------------------
46711 #-- Name: distrib/mac/shared-ld-sh
46712 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46713 #-- Author: Gilles Depeyrot
46714 #-- Copyright: (c) 2002 Gilles Depeyrot
46715 #-- Licence: any use permitted
46716 #-----------------------------------------------------------------------------
46717
46718 verbose=0
46719 args=""
46720 objects=""
46721 linking_flag="-dynamiclib"
46722 ldargs="-r -keep_private_externs -nostdlib"
46723
46724 while test ${D}# -gt 0; do
46725 case ${D}1 in
46726
46727 -v)
46728 verbose=1
46729 ;;
46730
46731 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46732 # collect these options and values
46733 args="${D}{args} ${D}1 ${D}2"
46734 shift
46735 ;;
46736
46737 -s|-Wl,*)
46738 # collect these load args
46739 ldargs="${D}{ldargs} ${D}1"
46740 ;;
46741
46742 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46743 # collect these options
46744 args="${D}{args} ${D}1"
46745 ;;
46746
46747 -dynamiclib|-bundle)
46748 linking_flag="${D}1"
46749 ;;
46750
46751 -*)
46752 echo "shared-ld: unhandled option '${D}1'"
46753 exit 1
46754 ;;
46755
46756 *.o | *.a | *.dylib)
46757 # collect object files
46758 objects="${D}{objects} ${D}1"
46759 ;;
46760
46761 *)
46762 echo "shared-ld: unhandled argument '${D}1'"
46763 exit 1
46764 ;;
46765
46766 esac
46767 shift
46768 done
46769
46770 status=0
46771
46772 #
46773 # Link one module containing all the others
46774 #
46775 if test ${D}{verbose} = 1; then
46776 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46777 fi
46778 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46779 status=${D}?
46780
46781 #
46782 # Link the shared library from the single module created, but only if the
46783 # previous command didn't fail:
46784 #
46785 if test ${D}{status} = 0; then
46786 if test ${D}{verbose} = 1; then
46787 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46788 fi
46789 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46790 status=${D}?
46791 fi
46792
46793 #
46794 # Remove intermediate module
46795 #
46796 rm -f master.${D}${D}.o
46797
46798 exit ${D}status
46799 EOF
46800
46801 chmod +x shared-ld-sh
46802
46803 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46804 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46805
46806
46807 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46808 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46809 if test "${bakefile_cv_gcc31+set}" = set; then
46810 echo $ECHO_N "(cached) $ECHO_C" >&6
46811 else
46812
46813 cat >conftest.$ac_ext <<_ACEOF
46814 /* confdefs.h. */
46815 _ACEOF
46816 cat confdefs.h >>conftest.$ac_ext
46817 cat >>conftest.$ac_ext <<_ACEOF
46818 /* end confdefs.h. */
46819
46820 int
46821 main ()
46822 {
46823
46824 #if (__GNUC__ < 3) || \
46825 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46826 This is old gcc
46827 #endif
46828
46829 ;
46830 return 0;
46831 }
46832 _ACEOF
46833 rm -f conftest.$ac_objext
46834 if { (ac_try="$ac_compile"
46835 case "(($ac_try" in
46836 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46837 *) ac_try_echo=$ac_try;;
46838 esac
46839 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46840 (eval "$ac_compile") 2>conftest.er1
46841 ac_status=$?
46842 grep -v '^ *+' conftest.er1 >conftest.err
46843 rm -f conftest.er1
46844 cat conftest.err >&5
46845 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46846 (exit $ac_status); } && {
46847 test -z "$ac_c_werror_flag" ||
46848 test ! -s conftest.err
46849 } && test -s conftest.$ac_objext; then
46850
46851 bakefile_cv_gcc31=yes
46852
46853 else
46854 echo "$as_me: failed program was:" >&5
46855 sed 's/^/| /' conftest.$ac_ext >&5
46856
46857
46858 bakefile_cv_gcc31=no
46859
46860
46861 fi
46862
46863 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46864
46865 fi
46866 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46867 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46868 if test "$bakefile_cv_gcc31" = "no"; then
46869 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46870 SHARED_LD_CXX="$SHARED_LD_CC"
46871 else
46872 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46873 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46874 fi
46875
46876 if test "x$GCC" == "xyes"; then
46877 PIC_FLAG="-dynamic -fPIC"
46878 fi
46879 if test "x$XLCC" = "xyes"; then
46880 PIC_FLAG="-dynamic -DPIC"
46881 fi
46882 ;;
46883
46884 *-*-aix* )
46885 if test "x$GCC" = "xyes"; then
46886 PIC_FLAG=""
46887
46888 case "${BAKEFILE_HOST}" in
46889 *-*-aix5* )
46890 LD_EXPFULL="-Wl,-bexpfull"
46891 ;;
46892 esac
46893
46894 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46895 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46896 else
46897 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46898 set dummy makeC++SharedLib; ac_word=$2
46899 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46900 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46901 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46902 echo $ECHO_N "(cached) $ECHO_C" >&6
46903 else
46904 if test -n "$AIX_CXX_LD"; then
46905 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46906 else
46907 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46908 for as_dir in $PATH
46909 do
46910 IFS=$as_save_IFS
46911 test -z "$as_dir" && as_dir=.
46912 for ac_exec_ext in '' $ac_executable_extensions; do
46913 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46914 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46915 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46916 break 2
46917 fi
46918 done
46919 done
46920 IFS=$as_save_IFS
46921
46922 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46923 fi
46924 fi
46925 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46926 if test -n "$AIX_CXX_LD"; then
46927 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46928 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46929 else
46930 { echo "$as_me:$LINENO: result: no" >&5
46931 echo "${ECHO_T}no" >&6; }
46932 fi
46933
46934
46935 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46936 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46937 fi
46938 ;;
46939
46940 *-*-beos* )
46941 SHARED_LD_CC="${LD} -nostart -o"
46942 SHARED_LD_CXX="${LD} -nostart -o"
46943 ;;
46944
46945 *-*-irix* )
46946 if test "x$GCC" != "xyes"; then
46947 PIC_FLAG="-KPIC"
46948 fi
46949 ;;
46950
46951 *-*-cygwin* | *-*-mingw32* )
46952 PIC_FLAG=""
46953 SHARED_LD_CC="\$(CC) -shared -o"
46954 SHARED_LD_CXX="\$(CXX) -shared -o"
46955 WINDOWS_IMPLIB=1
46956 ;;
46957
46958 *-pc-os2_emx | *-pc-os2-emx )
46959 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46960 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46961 PIC_FLAG=""
46962
46963 D='$'
46964 cat <<EOF >dllar.sh
46965 #!/bin/sh
46966 #
46967 # dllar - a tool to build both a .dll and an .a file
46968 # from a set of object (.o) files for EMX/OS2.
46969 #
46970 # Written by Andrew Zabolotny, bit@freya.etu.ru
46971 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46972 #
46973 # This script will accept a set of files on the command line.
46974 # All the public symbols from the .o files will be exported into
46975 # a .DEF file, then linker will be run (through gcc) against them to
46976 # build a shared library consisting of all given .o files. All libraries
46977 # (.a) will be first decompressed into component .o files then act as
46978 # described above. You can optionally give a description (-d "description")
46979 # which will be put into .DLL. To see the list of accepted options (as well
46980 # as command-line format) simply run this program without options. The .DLL
46981 # is built to be imported by name (there is no guarantee that new versions
46982 # of the library you build will have same ordinals for same symbols).
46983 #
46984 # dllar is free software; you can redistribute it and/or modify
46985 # it under the terms of the GNU General Public License as published by
46986 # the Free Software Foundation; either version 2, or (at your option)
46987 # any later version.
46988 #
46989 # dllar is distributed in the hope that it will be useful,
46990 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46991 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46992 # GNU General Public License for more details.
46993 #
46994 # You should have received a copy of the GNU General Public License
46995 # along with dllar; see the file COPYING. If not, write to the Free
46996 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46997 # 02111-1307, USA.
46998
46999 # To successfuly run this program you will need:
47000 # - Current drive should have LFN support (HPFS, ext2, network, etc)
47001 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
47002 # - gcc
47003 # (used to build the .dll)
47004 # - emxexp
47005 # (used to create .def file from .o files)
47006 # - emximp
47007 # (used to create .a file from .def file)
47008 # - GNU text utilites (cat, sort, uniq)
47009 # used to process emxexp output
47010 # - GNU file utilities (mv, rm)
47011 # - GNU sed
47012 # - lxlite (optional, see flag below)
47013 # (used for general .dll cleanup)
47014 #
47015
47016 flag_USE_LXLITE=1;
47017
47018 #
47019 # helper functions
47020 # basnam, variant of basename, which does _not_ remove the path, _iff_
47021 # second argument (suffix to remove) is given
47022 basnam(){
47023 case ${D}# in
47024 1)
47025 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
47026 ;;
47027 2)
47028 echo ${D}1 | sed 's/'${D}2'${D}//'
47029 ;;
47030 *)
47031 echo "error in basnam ${D}*"
47032 exit 8
47033 ;;
47034 esac
47035 }
47036
47037 # Cleanup temporary files and output
47038 CleanUp() {
47039 cd ${D}curDir
47040 for i in ${D}inputFiles ; do
47041 case ${D}i in
47042 *!)
47043 rm -rf \`basnam ${D}i !\`
47044 ;;
47045 *)
47046 ;;
47047 esac
47048 done
47049
47050 # Kill result in case of failure as there is just to many stupid make/nmake
47051 # things out there which doesn't do this.
47052 if [ ${D}# -eq 0 ]; then
47053 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
47054 fi
47055 }
47056
47057 # Print usage and exit script with rc=1.
47058 PrintHelp() {
47059 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
47060 echo ' [-name-mangler-script script.sh]'
47061 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
47062 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
47063 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
47064 echo ' [*.o] [*.a]'
47065 echo '*> "output_file" should have no extension.'
47066 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
47067 echo ' The import library name is derived from this and is set to "name".a,'
47068 echo ' unless overridden by -import'
47069 echo '*> "importlib_name" should have no extension.'
47070 echo ' If it has the .o, or .a extension, it is automatically removed.'
47071 echo ' This name is used as the import library name and may be longer and'
47072 echo ' more descriptive than the DLL name which has to follow the old '
47073 echo ' 8.3 convention of FAT.'
47074 echo '*> "script.sh may be given to override the output_file name by a'
47075 echo ' different name. It is mainly useful if the regular make process'
47076 echo ' of some package does not take into account OS/2 restriction of'
47077 echo ' DLL name lengths. It takes the importlib name as input and is'
47078 echo ' supposed to procude a shorter name as output. The script should'
47079 echo ' expect to get importlib_name without extension and should produce'
47080 echo ' a (max.) 8 letter name without extension.'
47081 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
47082 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
47083 echo ' These flags will be put at the start of GCC command line.'
47084 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
47085 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
47086 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
47087 echo ' If the last character of a symbol is "*", all symbols beginning'
47088 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
47089 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
47090 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
47091 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
47092 echo ' C runtime DLLs.'
47093 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
47094 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
47095 echo ' unchanged to GCC at the end of command line.'
47096 echo '*> If you create a DLL from a library and you do not specify -o,'
47097 echo ' the basename for DLL and import library will be set to library name,'
47098 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
47099 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
47100 echo ' library will be renamed into gcc_s.a.'
47101 echo '--------'
47102 echo 'Example:'
47103 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
47104 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
47105 CleanUp
47106 exit 1
47107 }
47108
47109 # Execute a command.
47110 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
47111 # @Uses Whatever CleanUp() uses.
47112 doCommand() {
47113 echo "${D}*"
47114 eval ${D}*
47115 rcCmd=${D}?
47116
47117 if [ ${D}rcCmd -ne 0 ]; then
47118 echo "command failed, exit code="${D}rcCmd
47119 CleanUp
47120 exit ${D}rcCmd
47121 fi
47122 }
47123
47124 # main routine
47125 # setup globals
47126 cmdLine=${D}*
47127 outFile=""
47128 outimpFile=""
47129 inputFiles=""
47130 renameScript=""
47131 description=""
47132 CC=gcc.exe
47133 CFLAGS="-s -Zcrtdll"
47134 EXTRA_CFLAGS=""
47135 EXPORT_BY_ORDINALS=0
47136 exclude_symbols=""
47137 library_flags=""
47138 curDir=\`pwd\`
47139 curDirS=curDir
47140 case ${D}curDirS in
47141 */)
47142 ;;
47143 *)
47144 curDirS=${D}{curDirS}"/"
47145 ;;
47146 esac
47147 # Parse commandline
47148 libsToLink=0
47149 omfLinking=0
47150 while [ ${D}1 ]; do
47151 case ${D}1 in
47152 -ord*)
47153 EXPORT_BY_ORDINALS=1;
47154 ;;
47155 -o*)
47156 shift
47157 outFile=${D}1
47158 ;;
47159 -i*)
47160 shift
47161 outimpFile=${D}1
47162 ;;
47163 -name-mangler-script)
47164 shift
47165 renameScript=${D}1
47166 ;;
47167 -d*)
47168 shift
47169 description=${D}1
47170 ;;
47171 -f*)
47172 shift
47173 CFLAGS=${D}1
47174 ;;
47175 -c*)
47176 shift
47177 CC=${D}1
47178 ;;
47179 -h*)
47180 PrintHelp
47181 ;;
47182 -ex*)
47183 shift
47184 exclude_symbols=${D}{exclude_symbols}${D}1" "
47185 ;;
47186 -libf*)
47187 shift
47188 library_flags=${D}{library_flags}${D}1" "
47189 ;;
47190 -nocrt*)
47191 CFLAGS="-s"
47192 ;;
47193 -nolxl*)
47194 flag_USE_LXLITE=0
47195 ;;
47196 -* | /*)
47197 case ${D}1 in
47198 -L* | -l*)
47199 libsToLink=1
47200 ;;
47201 -Zomf)
47202 omfLinking=1
47203 ;;
47204 *)
47205 ;;
47206 esac
47207 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47208 ;;
47209 *.dll)
47210 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
47211 if [ ${D}omfLinking -eq 1 ]; then
47212 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
47213 else
47214 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
47215 fi
47216 ;;
47217 *)
47218 found=0;
47219 if [ ${D}libsToLink -ne 0 ]; then
47220 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
47221 else
47222 for file in ${D}1 ; do
47223 if [ -f ${D}file ]; then
47224 inputFiles="${D}{inputFiles} ${D}file"
47225 found=1
47226 fi
47227 done
47228 if [ ${D}found -eq 0 ]; then
47229 echo "ERROR: No file(s) found: "${D}1
47230 exit 8
47231 fi
47232 fi
47233 ;;
47234 esac
47235 shift
47236 done # iterate cmdline words
47237
47238 #
47239 if [ -z "${D}inputFiles" ]; then
47240 echo "dllar: no input files"
47241 PrintHelp
47242 fi
47243
47244 # Now extract all .o files from .a files
47245 newInputFiles=""
47246 for file in ${D}inputFiles ; do
47247 case ${D}file in
47248 *.a | *.lib)
47249 case ${D}file in
47250 *.a)
47251 suffix=".a"
47252 AR="ar"
47253 ;;
47254 *.lib)
47255 suffix=".lib"
47256 AR="emxomfar"
47257 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
47258 ;;
47259 *)
47260 ;;
47261 esac
47262 dirname=\`basnam ${D}file ${D}suffix\`"_%"
47263 mkdir ${D}dirname
47264 if [ ${D}? -ne 0 ]; then
47265 echo "Failed to create subdirectory ./${D}dirname"
47266 CleanUp
47267 exit 8;
47268 fi
47269 # Append '!' to indicate archive
47270 newInputFiles="${D}newInputFiles ${D}{dirname}!"
47271 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
47272 cd ${D}curDir
47273 found=0;
47274 for subfile in ${D}dirname/*.o* ; do
47275 if [ -f ${D}subfile ]; then
47276 found=1
47277 if [ -s ${D}subfile ]; then
47278 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
47279 newInputFiles="${D}newInputFiles ${D}subfile"
47280 fi
47281 fi
47282 done
47283 if [ ${D}found -eq 0 ]; then
47284 echo "WARNING: there are no files in archive \\'${D}file\\'"
47285 fi
47286 ;;
47287 *)
47288 newInputFiles="${D}{newInputFiles} ${D}file"
47289 ;;
47290 esac
47291 done
47292 inputFiles="${D}newInputFiles"
47293
47294 # Output filename(s).
47295 do_backup=0;
47296 if [ -z ${D}outFile ]; then
47297 do_backup=1;
47298 set outFile ${D}inputFiles; outFile=${D}2
47299 fi
47300
47301 # If it is an archive, remove the '!' and the '_%' suffixes
47302 case ${D}outFile in
47303 *_%!)
47304 outFile=\`basnam ${D}outFile _%!\`
47305 ;;
47306 *)
47307 ;;
47308 esac
47309 case ${D}outFile in
47310 *.dll)
47311 outFile=\`basnam ${D}outFile .dll\`
47312 ;;
47313 *.DLL)
47314 outFile=\`basnam ${D}outFile .DLL\`
47315 ;;
47316 *.o)
47317 outFile=\`basnam ${D}outFile .o\`
47318 ;;
47319 *.obj)
47320 outFile=\`basnam ${D}outFile .obj\`
47321 ;;
47322 *.a)
47323 outFile=\`basnam ${D}outFile .a\`
47324 ;;
47325 *.lib)
47326 outFile=\`basnam ${D}outFile .lib\`
47327 ;;
47328 *)
47329 ;;
47330 esac
47331 case ${D}outimpFile in
47332 *.a)
47333 outimpFile=\`basnam ${D}outimpFile .a\`
47334 ;;
47335 *.lib)
47336 outimpFile=\`basnam ${D}outimpFile .lib\`
47337 ;;
47338 *)
47339 ;;
47340 esac
47341 if [ -z ${D}outimpFile ]; then
47342 outimpFile=${D}outFile
47343 fi
47344 defFile="${D}{outFile}.def"
47345 arcFile="${D}{outimpFile}.a"
47346 arcFile2="${D}{outimpFile}.lib"
47347
47348 #create ${D}dllFile as something matching 8.3 restrictions,
47349 if [ -z ${D}renameScript ] ; then
47350 dllFile="${D}outFile"
47351 else
47352 dllFile=\`${D}renameScript ${D}outimpFile\`
47353 fi
47354
47355 if [ ${D}do_backup -ne 0 ] ; then
47356 if [ -f ${D}arcFile ] ; then
47357 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
47358 fi
47359 if [ -f ${D}arcFile2 ] ; then
47360 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
47361 fi
47362 fi
47363
47364 # Extract public symbols from all the object files.
47365 tmpdefFile=${D}{defFile}_%
47366 rm -f ${D}tmpdefFile
47367 for file in ${D}inputFiles ; do
47368 case ${D}file in
47369 *!)
47370 ;;
47371 *)
47372 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
47373 ;;
47374 esac
47375 done
47376
47377 # Create the def file.
47378 rm -f ${D}defFile
47379 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47380 dllFile="${D}{dllFile}.dll"
47381 if [ ! -z ${D}description ]; then
47382 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47383 fi
47384 echo "EXPORTS" >> ${D}defFile
47385
47386 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47387 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47388
47389 # Checks if the export is ok or not.
47390 for word in ${D}exclude_symbols; do
47391 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47392 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47393 done
47394
47395
47396 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47397 sed "=" < ${D}tmpdefFile | \\
47398 sed '
47399 N
47400 : loop
47401 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47402 t loop
47403 ' > ${D}{tmpdefFile}%
47404 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47405 else
47406 rm -f ${D}{tmpdefFile}%
47407 fi
47408 cat ${D}tmpdefFile >> ${D}defFile
47409 rm -f ${D}tmpdefFile
47410
47411 # Do linking, create implib, and apply lxlite.
47412 gccCmdl="";
47413 for file in ${D}inputFiles ; do
47414 case ${D}file in
47415 *!)
47416 ;;
47417 *)
47418 gccCmdl="${D}gccCmdl ${D}file"
47419 ;;
47420 esac
47421 done
47422 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47423 touch "${D}{outFile}.dll"
47424
47425 doCommand "emximp -o ${D}arcFile ${D}defFile"
47426 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47427 add_flags="";
47428 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47429 add_flags="-ynd"
47430 fi
47431 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47432 fi
47433 doCommand "emxomf -s -l ${D}arcFile"
47434
47435 # Successful exit.
47436 CleanUp 1
47437 exit 0
47438 EOF
47439
47440 chmod +x dllar.sh
47441 ;;
47442
47443 powerpc-apple-macos* | \
47444 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47445 *-*-mirbsd* | \
47446 *-*-sunos4* | \
47447 *-*-osf* | \
47448 *-*-dgux5* | \
47449 *-*-sysv5* | \
47450 *-pc-msdosdjgpp )
47451 ;;
47452
47453 *)
47454 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47455 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47456 { (exit 1); exit 1; }; }
47457 esac
47458
47459 if test "x$PIC_FLAG" != "x" ; then
47460 PIC_FLAG="$PIC_FLAG -DPIC"
47461 fi
47462
47463 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47464 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47465 fi
47466 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47467 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47468 fi
47469
47470
47471
47472
47473
47474
47475
47476
47477
47478 USE_SOVERSION=0
47479 USE_SOVERLINUX=0
47480 USE_SOVERSOLARIS=0
47481 USE_SOVERCYGWIN=0
47482 USE_SOSYMLINKS=0
47483 USE_MACVERSION=0
47484 SONAME_FLAG=
47485
47486 case "${BAKEFILE_HOST}" in
47487 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47488 SONAME_FLAG="-Wl,-soname,"
47489 USE_SOVERSION=1
47490 USE_SOVERLINUX=1
47491 USE_SOSYMLINKS=1
47492 ;;
47493
47494 *-*-solaris2* )
47495 SONAME_FLAG="-h "
47496 USE_SOVERSION=1
47497 USE_SOVERSOLARIS=1
47498 USE_SOSYMLINKS=1
47499 ;;
47500
47501 *-*-darwin* )
47502 USE_MACVERSION=1
47503 USE_SOVERSION=1
47504 USE_SOSYMLINKS=1
47505 ;;
47506
47507 *-*-cygwin* )
47508 USE_SOVERSION=1
47509 USE_SOVERCYGWIN=1
47510 ;;
47511 esac
47512
47513
47514
47515
47516
47517
47518
47519
47520
47521
47522 # Check whether --enable-dependency-tracking was given.
47523 if test "${enable_dependency_tracking+set}" = set; then
47524 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47525 fi
47526
47527
47528 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47529 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47530
47531 BK_DEPS=""
47532 if test "x$bk_use_trackdeps" = "xno" ; then
47533 DEPS_TRACKING=0
47534 { echo "$as_me:$LINENO: result: disabled" >&5
47535 echo "${ECHO_T}disabled" >&6; }
47536 else
47537 DEPS_TRACKING=1
47538
47539 if test "x$GCC" = "xyes"; then
47540 DEPSMODE=gcc
47541 case "${BAKEFILE_HOST}" in
47542 *-*-darwin* )
47543 DEPSFLAG="-no-cpp-precomp -MMD"
47544 ;;
47545 * )
47546 DEPSFLAG="-MMD"
47547 ;;
47548 esac
47549 { echo "$as_me:$LINENO: result: gcc" >&5
47550 echo "${ECHO_T}gcc" >&6; }
47551 elif test "x$MWCC" = "xyes"; then
47552 DEPSMODE=mwcc
47553 DEPSFLAG="-MM"
47554 { echo "$as_me:$LINENO: result: mwcc" >&5
47555 echo "${ECHO_T}mwcc" >&6; }
47556 elif test "x$SUNCC" = "xyes"; then
47557 DEPSMODE=unixcc
47558 DEPSFLAG="-xM1"
47559 { echo "$as_me:$LINENO: result: Sun cc" >&5
47560 echo "${ECHO_T}Sun cc" >&6; }
47561 elif test "x$SGICC" = "xyes"; then
47562 DEPSMODE=unixcc
47563 DEPSFLAG="-M"
47564 { echo "$as_me:$LINENO: result: SGI cc" >&5
47565 echo "${ECHO_T}SGI cc" >&6; }
47566 elif test "x$HPCC" = "xyes"; then
47567 DEPSMODE=unixcc
47568 DEPSFLAG="+make"
47569 { echo "$as_me:$LINENO: result: HP cc" >&5
47570 echo "${ECHO_T}HP cc" >&6; }
47571 elif test "x$COMPAQCC" = "xyes"; then
47572 DEPSMODE=gcc
47573 DEPSFLAG="-MD"
47574 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47575 echo "${ECHO_T}Compaq cc" >&6; }
47576 else
47577 DEPS_TRACKING=0
47578 { echo "$as_me:$LINENO: result: none" >&5
47579 echo "${ECHO_T}none" >&6; }
47580 fi
47581
47582 if test $DEPS_TRACKING = 1 ; then
47583
47584 D='$'
47585 cat <<EOF >bk-deps
47586 #!/bin/sh
47587
47588 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47589 # script. It is used to track C/C++ files dependencies in portable way.
47590 #
47591 # Permission is given to use this file in any way.
47592
47593 DEPSMODE=${DEPSMODE}
47594 DEPSDIR=.deps
47595 DEPSFLAG="${DEPSFLAG}"
47596
47597 mkdir -p ${D}DEPSDIR
47598
47599 if test ${D}DEPSMODE = gcc ; then
47600 ${D}* ${D}{DEPSFLAG}
47601 status=${D}?
47602 if test ${D}{status} != 0 ; then
47603 exit ${D}{status}
47604 fi
47605 # move created file to the location we want it in:
47606 while test ${D}# -gt 0; do
47607 case "${D}1" in
47608 -o )
47609 shift
47610 objfile=${D}1
47611 ;;
47612 -* )
47613 ;;
47614 * )
47615 srcfile=${D}1
47616 ;;
47617 esac
47618 shift
47619 done
47620 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47621 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47622 if test -f ${D}depfile ; then
47623 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47624 rm -f ${D}depfile
47625 else
47626 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47627 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47628 if test ! -f ${D}depfile ; then
47629 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47630 depfile="${D}objfile.d"
47631 fi
47632 if test -f ${D}depfile ; then
47633 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47634 rm -f ${D}depfile
47635 fi
47636 fi
47637 exit 0
47638 elif test ${D}DEPSMODE = mwcc ; then
47639 ${D}* || exit ${D}?
47640 # Run mwcc again with -MM and redirect into the dep file we want
47641 # NOTE: We can't use shift here because we need ${D}* to be valid
47642 prevarg=
47643 for arg in ${D}* ; do
47644 if test "${D}prevarg" = "-o"; then
47645 objfile=${D}arg
47646 else
47647 case "${D}arg" in
47648 -* )
47649 ;;
47650 * )
47651 srcfile=${D}arg
47652 ;;
47653 esac
47654 fi
47655 prevarg="${D}arg"
47656 done
47657 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47658 exit 0
47659 elif test ${D}DEPSMODE = unixcc; then
47660 ${D}* || exit ${D}?
47661 # Run compiler again with deps flag and redirect into the dep file.
47662 # It doesn't work if the '-o FILE' option is used, but without it the
47663 # dependency file will contain the wrong name for the object. So it is
47664 # removed from the command line, and the dep file is fixed with sed.
47665 cmd=""
47666 while test ${D}# -gt 0; do
47667 case "${D}1" in
47668 -o )
47669 shift
47670 objfile=${D}1
47671 ;;
47672 * )
47673 eval arg${D}#=\\${D}1
47674 cmd="${D}cmd \\${D}arg${D}#"
47675 ;;
47676 esac
47677 shift
47678 done
47679 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47680 exit 0
47681 else
47682 ${D}*
47683 exit ${D}?
47684 fi
47685 EOF
47686
47687 chmod +x bk-deps
47688 BK_DEPS="`pwd`/bk-deps"
47689 fi
47690 fi
47691
47692
47693
47694
47695
47696 case ${BAKEFILE_HOST} in
47697 *-*-cygwin* | *-*-mingw32* )
47698 if test -n "$ac_tool_prefix"; then
47699 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47700 set dummy ${ac_tool_prefix}windres; ac_word=$2
47701 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47702 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47703 if test "${ac_cv_prog_WINDRES+set}" = set; then
47704 echo $ECHO_N "(cached) $ECHO_C" >&6
47705 else
47706 if test -n "$WINDRES"; then
47707 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47708 else
47709 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47710 for as_dir in $PATH
47711 do
47712 IFS=$as_save_IFS
47713 test -z "$as_dir" && as_dir=.
47714 for ac_exec_ext in '' $ac_executable_extensions; do
47715 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47716 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47717 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47718 break 2
47719 fi
47720 done
47721 done
47722 IFS=$as_save_IFS
47723
47724 fi
47725 fi
47726 WINDRES=$ac_cv_prog_WINDRES
47727 if test -n "$WINDRES"; then
47728 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47729 echo "${ECHO_T}$WINDRES" >&6; }
47730 else
47731 { echo "$as_me:$LINENO: result: no" >&5
47732 echo "${ECHO_T}no" >&6; }
47733 fi
47734
47735
47736 fi
47737 if test -z "$ac_cv_prog_WINDRES"; then
47738 ac_ct_WINDRES=$WINDRES
47739 # Extract the first word of "windres", so it can be a program name with args.
47740 set dummy windres; ac_word=$2
47741 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47742 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47743 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47744 echo $ECHO_N "(cached) $ECHO_C" >&6
47745 else
47746 if test -n "$ac_ct_WINDRES"; then
47747 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47748 else
47749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47750 for as_dir in $PATH
47751 do
47752 IFS=$as_save_IFS
47753 test -z "$as_dir" && as_dir=.
47754 for ac_exec_ext in '' $ac_executable_extensions; do
47755 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47756 ac_cv_prog_ac_ct_WINDRES="windres"
47757 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47758 break 2
47759 fi
47760 done
47761 done
47762 IFS=$as_save_IFS
47763
47764 fi
47765 fi
47766 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47767 if test -n "$ac_ct_WINDRES"; then
47768 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47769 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47770 else
47771 { echo "$as_me:$LINENO: result: no" >&5
47772 echo "${ECHO_T}no" >&6; }
47773 fi
47774
47775 if test "x$ac_ct_WINDRES" = x; then
47776 WINDRES=""
47777 else
47778 case $cross_compiling:$ac_tool_warned in
47779 yes:)
47780 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47781 whose name does not start with the host triplet. If you think this
47782 configuration is useful to you, please write to autoconf@gnu.org." >&5
47783 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47784 whose name does not start with the host triplet. If you think this
47785 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47786 ac_tool_warned=yes ;;
47787 esac
47788 WINDRES=$ac_ct_WINDRES
47789 fi
47790 else
47791 WINDRES="$ac_cv_prog_WINDRES"
47792 fi
47793
47794 ;;
47795
47796 *-*-darwin* | powerpc-apple-macos* )
47797 # Extract the first word of "Rez", so it can be a program name with args.
47798 set dummy Rez; ac_word=$2
47799 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47800 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47801 if test "${ac_cv_prog_REZ+set}" = set; then
47802 echo $ECHO_N "(cached) $ECHO_C" >&6
47803 else
47804 if test -n "$REZ"; then
47805 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47806 else
47807 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47808 for as_dir in $PATH
47809 do
47810 IFS=$as_save_IFS
47811 test -z "$as_dir" && as_dir=.
47812 for ac_exec_ext in '' $ac_executable_extensions; do
47813 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47814 ac_cv_prog_REZ="Rez"
47815 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47816 break 2
47817 fi
47818 done
47819 done
47820 IFS=$as_save_IFS
47821
47822 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47823 fi
47824 fi
47825 REZ=$ac_cv_prog_REZ
47826 if test -n "$REZ"; then
47827 { echo "$as_me:$LINENO: result: $REZ" >&5
47828 echo "${ECHO_T}$REZ" >&6; }
47829 else
47830 { echo "$as_me:$LINENO: result: no" >&5
47831 echo "${ECHO_T}no" >&6; }
47832 fi
47833
47834
47835 # Extract the first word of "SetFile", so it can be a program name with args.
47836 set dummy SetFile; ac_word=$2
47837 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47838 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47839 if test "${ac_cv_prog_SETFILE+set}" = set; then
47840 echo $ECHO_N "(cached) $ECHO_C" >&6
47841 else
47842 if test -n "$SETFILE"; then
47843 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47844 else
47845 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47846 for as_dir in $PATH
47847 do
47848 IFS=$as_save_IFS
47849 test -z "$as_dir" && as_dir=.
47850 for ac_exec_ext in '' $ac_executable_extensions; do
47851 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47852 ac_cv_prog_SETFILE="SetFile"
47853 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47854 break 2
47855 fi
47856 done
47857 done
47858 IFS=$as_save_IFS
47859
47860 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47861 fi
47862 fi
47863 SETFILE=$ac_cv_prog_SETFILE
47864 if test -n "$SETFILE"; then
47865 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47866 echo "${ECHO_T}$SETFILE" >&6; }
47867 else
47868 { echo "$as_me:$LINENO: result: no" >&5
47869 echo "${ECHO_T}no" >&6; }
47870 fi
47871
47872
47873 ;;
47874 esac
47875
47876
47877
47878
47879
47880
47881 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47882
47883
47884 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47885
47886
47887
47888 # Check whether --enable-precomp-headers was given.
47889 if test "${enable_precomp_headers+set}" = set; then
47890 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47891 fi
47892
47893
47894 GCC_PCH=0
47895 ICC_PCH=0
47896 USE_PCH=0
47897 BK_MAKE_PCH=""
47898
47899 case ${BAKEFILE_HOST} in
47900 *-*-cygwin* )
47901 bk_use_pch="no"
47902 ;;
47903 esac
47904
47905 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47906 if test "x$GCC" = "xyes"; then
47907 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47908 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47909 cat >conftest.$ac_ext <<_ACEOF
47910 /* confdefs.h. */
47911 _ACEOF
47912 cat confdefs.h >>conftest.$ac_ext
47913 cat >>conftest.$ac_ext <<_ACEOF
47914 /* end confdefs.h. */
47915
47916 int
47917 main ()
47918 {
47919
47920 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47921 There is no PCH support
47922 #endif
47923 #if (__GNUC__ < 3)
47924 There is no PCH support
47925 #endif
47926 #if (__GNUC__ == 3) && \
47927 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47928 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47929 ( defined(__INTEL_COMPILER) )
47930 There is no PCH support
47931 #endif
47932
47933 ;
47934 return 0;
47935 }
47936 _ACEOF
47937 rm -f conftest.$ac_objext
47938 if { (ac_try="$ac_compile"
47939 case "(($ac_try" in
47940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47941 *) ac_try_echo=$ac_try;;
47942 esac
47943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47944 (eval "$ac_compile") 2>conftest.er1
47945 ac_status=$?
47946 grep -v '^ *+' conftest.er1 >conftest.err
47947 rm -f conftest.er1
47948 cat conftest.err >&5
47949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47950 (exit $ac_status); } && {
47951 test -z "$ac_c_werror_flag" ||
47952 test ! -s conftest.err
47953 } && test -s conftest.$ac_objext; then
47954
47955 { echo "$as_me:$LINENO: result: yes" >&5
47956 echo "${ECHO_T}yes" >&6; }
47957 GCC_PCH=1
47958
47959 else
47960 echo "$as_me: failed program was:" >&5
47961 sed 's/^/| /' conftest.$ac_ext >&5
47962
47963
47964 cat >conftest.$ac_ext <<_ACEOF
47965 /* confdefs.h. */
47966 _ACEOF
47967 cat confdefs.h >>conftest.$ac_ext
47968 cat >>conftest.$ac_ext <<_ACEOF
47969 /* end confdefs.h. */
47970
47971 int
47972 main ()
47973 {
47974
47975 #if !defined(__INTEL_COMPILER) || \
47976 (__INTEL_COMPILER < 800)
47977 There is no PCH support
47978 #endif
47979
47980 ;
47981 return 0;
47982 }
47983 _ACEOF
47984 rm -f conftest.$ac_objext
47985 if { (ac_try="$ac_compile"
47986 case "(($ac_try" in
47987 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47988 *) ac_try_echo=$ac_try;;
47989 esac
47990 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47991 (eval "$ac_compile") 2>conftest.er1
47992 ac_status=$?
47993 grep -v '^ *+' conftest.er1 >conftest.err
47994 rm -f conftest.er1
47995 cat conftest.err >&5
47996 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47997 (exit $ac_status); } && {
47998 test -z "$ac_c_werror_flag" ||
47999 test ! -s conftest.err
48000 } && test -s conftest.$ac_objext; then
48001
48002 { echo "$as_me:$LINENO: result: yes" >&5
48003 echo "${ECHO_T}yes" >&6; }
48004 ICC_PCH=1
48005
48006 else
48007 echo "$as_me: failed program was:" >&5
48008 sed 's/^/| /' conftest.$ac_ext >&5
48009
48010
48011 { echo "$as_me:$LINENO: result: no" >&5
48012 echo "${ECHO_T}no" >&6; }
48013
48014 fi
48015
48016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48017
48018 fi
48019
48020 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
48021 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
48022 USE_PCH=1
48023
48024 D='$'
48025 cat <<EOF >bk-make-pch
48026 #!/bin/sh
48027
48028 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
48029 # script. It is used to generated precompiled headers.
48030 #
48031 # Permission is given to use this file in any way.
48032
48033 outfile="${D}{1}"
48034 header="${D}{2}"
48035 shift
48036 shift
48037
48038 compiler=""
48039 headerfile=""
48040
48041 while test ${D}{#} -gt 0; do
48042 add_to_cmdline=1
48043 case "${D}{1}" in
48044 -I* )
48045 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
48046 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
48047 headerfile="${D}{incdir}/${D}{header}"
48048 fi
48049 ;;
48050 -use-pch|-use_pch )
48051 shift
48052 add_to_cmdline=0
48053 ;;
48054 esac
48055 if test ${D}add_to_cmdline = 1 ; then
48056 compiler="${D}{compiler} ${D}{1}"
48057 fi
48058 shift
48059 done
48060
48061 if test "x${D}{headerfile}" = "x" ; then
48062 echo "error: can't find header ${D}{header} in include paths" >&2
48063 else
48064 if test -f ${D}{outfile} ; then
48065 rm -f ${D}{outfile}
48066 else
48067 mkdir -p \`dirname ${D}{outfile}\`
48068 fi
48069 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
48070 mkdir -p .deps
48071 if test "x${GCC_PCH}" = "x1" ; then
48072 # can do this because gcc is >= 3.4:
48073 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
48074 elif test "x${ICC_PCH}" = "x1" ; then
48075 filename=pch_gen-${D}${D}
48076 file=${D}{filename}.c
48077 dfile=${D}{filename}.d
48078 cat > ${D}file <<EOT
48079 #include "${D}header"
48080 EOT
48081 # using -MF icc complains about differing command lines in creation/use
48082 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
48083 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
48084 rm -f ${D}file ${D}dfile ${D}{filename}.o
48085 fi
48086 exit ${D}{?}
48087 fi
48088 EOF
48089
48090 chmod +x bk-make-pch
48091 BK_MAKE_PCH="`pwd`/bk-make-pch"
48092 fi
48093 fi
48094 fi
48095
48096
48097
48098
48099
48100 COND_BUILD_DEBUG="#"
48101 if test "x$BUILD" = "xdebug" ; then
48102 COND_BUILD_DEBUG=""
48103 fi
48104
48105 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
48106 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
48107 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
48108 fi
48109
48110 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
48111 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
48112 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
48113 fi
48114
48115 COND_BUILD_DEBUG_UNICODE_0="#"
48116 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
48117 COND_BUILD_DEBUG_UNICODE_0=""
48118 fi
48119
48120 COND_BUILD_DEBUG_UNICODE_1="#"
48121 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
48122 COND_BUILD_DEBUG_UNICODE_1=""
48123 fi
48124
48125 COND_BUILD_RELEASE="#"
48126 if test "x$BUILD" = "xrelease" ; then
48127 COND_BUILD_RELEASE=""
48128 fi
48129
48130 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
48131 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
48132 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
48133 fi
48134
48135 COND_BUILD_RELEASE_UNICODE_0="#"
48136 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
48137 COND_BUILD_RELEASE_UNICODE_0=""
48138 fi
48139
48140 COND_BUILD_RELEASE_UNICODE_1="#"
48141 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
48142 COND_BUILD_RELEASE_UNICODE_1=""
48143 fi
48144
48145 COND_DEBUG_FLAG_1="#"
48146 if test "x$DEBUG_FLAG" = "x1" ; then
48147 COND_DEBUG_FLAG_1=""
48148 fi
48149
48150 COND_DEBUG_INFO_0="#"
48151 if test "x$DEBUG_INFO" = "x0" ; then
48152 COND_DEBUG_INFO_0=""
48153 fi
48154
48155 COND_DEBUG_INFO_1="#"
48156 if test "x$DEBUG_INFO" = "x1" ; then
48157 COND_DEBUG_INFO_1=""
48158 fi
48159
48160 COND_DEPS_TRACKING_0="#"
48161 if test "x$DEPS_TRACKING" = "x0" ; then
48162 COND_DEPS_TRACKING_0=""
48163 fi
48164
48165 COND_DEPS_TRACKING_1="#"
48166 if test "x$DEPS_TRACKING" = "x1" ; then
48167 COND_DEPS_TRACKING_1=""
48168 fi
48169
48170 COND_GCC_PCH_1="#"
48171 if test "x$GCC_PCH" = "x1" ; then
48172 COND_GCC_PCH_1=""
48173 fi
48174
48175 COND_ICC_PCH_1="#"
48176 if test "x$ICC_PCH" = "x1" ; then
48177 COND_ICC_PCH_1=""
48178 fi
48179
48180 COND_MONOLITHIC_0="#"
48181 if test "x$MONOLITHIC" = "x0" ; then
48182 COND_MONOLITHIC_0=""
48183 fi
48184
48185 COND_MONOLITHIC_0_SHARED_0="#"
48186 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
48187 COND_MONOLITHIC_0_SHARED_0=""
48188 fi
48189
48190 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
48191 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
48192 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
48193 fi
48194
48195 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
48196 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
48197 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
48198 fi
48199
48200 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
48201 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48202 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
48203 fi
48204
48205 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
48206 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48207 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
48208 fi
48209
48210 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
48211 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48212 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
48213 fi
48214
48215 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
48216 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48217 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
48218 fi
48219
48220 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
48221 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
48222 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
48223 fi
48224
48225 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
48226 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48227 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
48228 fi
48229
48230 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
48231 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48232 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
48233 fi
48234
48235 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
48236 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48237 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
48238 fi
48239
48240 COND_MONOLITHIC_0_SHARED_1="#"
48241 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
48242 COND_MONOLITHIC_0_SHARED_1=""
48243 fi
48244
48245 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
48246 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
48247 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
48248 fi
48249
48250 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
48251 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
48252 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
48253 fi
48254
48255 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
48256 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
48257 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
48258 fi
48259
48260 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
48261 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48262 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
48263 fi
48264
48265 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
48266 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48267 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
48268 fi
48269
48270 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
48271 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
48272 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
48273 fi
48274
48275 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
48276 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
48277 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
48278 fi
48279
48280 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
48281 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
48282 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
48283 fi
48284
48285 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
48286 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
48287 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
48288 fi
48289
48290 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
48291 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48292 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
48293 fi
48294
48295 COND_MONOLITHIC_0_USE_AUI_1="#"
48296 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
48297 COND_MONOLITHIC_0_USE_AUI_1=""
48298 fi
48299
48300 COND_MONOLITHIC_0_USE_GUI_1="#"
48301 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
48302 COND_MONOLITHIC_0_USE_GUI_1=""
48303 fi
48304
48305 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
48306 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
48307 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
48308 fi
48309
48310 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
48311 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
48312 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
48313 fi
48314
48315 COND_MONOLITHIC_0_USE_HTML_1="#"
48316 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
48317 COND_MONOLITHIC_0_USE_HTML_1=""
48318 fi
48319
48320 COND_MONOLITHIC_0_USE_MEDIA_1="#"
48321 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
48322 COND_MONOLITHIC_0_USE_MEDIA_1=""
48323 fi
48324
48325 COND_MONOLITHIC_0_USE_ODBC_1="#"
48326 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
48327 COND_MONOLITHIC_0_USE_ODBC_1=""
48328 fi
48329
48330 COND_MONOLITHIC_0_USE_QA_1="#"
48331 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
48332 COND_MONOLITHIC_0_USE_QA_1=""
48333 fi
48334
48335 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
48336 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
48337 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
48338 fi
48339
48340 COND_MONOLITHIC_0_USE_STC_1="#"
48341 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
48342 COND_MONOLITHIC_0_USE_STC_1=""
48343 fi
48344
48345 COND_MONOLITHIC_0_USE_XRC_1="#"
48346 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
48347 COND_MONOLITHIC_0_USE_XRC_1=""
48348 fi
48349
48350 COND_MONOLITHIC_1="#"
48351 if test "x$MONOLITHIC" = "x1" ; then
48352 COND_MONOLITHIC_1=""
48353 fi
48354
48355 COND_MONOLITHIC_1_SHARED_0="#"
48356 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
48357 COND_MONOLITHIC_1_SHARED_0=""
48358 fi
48359
48360 COND_MONOLITHIC_1_SHARED_1="#"
48361 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
48362 COND_MONOLITHIC_1_SHARED_1=""
48363 fi
48364
48365 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
48366 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
48367 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
48368 fi
48369
48370 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
48371 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
48372 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
48373 fi
48374
48375 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48376 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48377 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48378 fi
48379
48380 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48381 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48382 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48383 fi
48384
48385 COND_PLATFORM_MACOSX_1="#"
48386 if test "x$PLATFORM_MACOSX" = "x1" ; then
48387 COND_PLATFORM_MACOSX_1=""
48388 fi
48389
48390 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48391 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48392 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48393 fi
48394
48395 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48396 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48397 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48398 fi
48399
48400 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48401 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48402 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48403 fi
48404
48405 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48406 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48407 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48408 fi
48409
48410 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48411 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48412 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48413 fi
48414
48415 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48416 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48417 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48418 fi
48419
48420 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48421 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48422 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48423 fi
48424
48425 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48426 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48427 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48428 fi
48429
48430 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48431 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48432 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48433 fi
48434
48435 COND_PLATFORM_MACOS_1="#"
48436 if test "x$PLATFORM_MACOS" = "x1" ; then
48437 COND_PLATFORM_MACOS_1=""
48438 fi
48439
48440 COND_PLATFORM_MAC_1="#"
48441 if test "x$PLATFORM_MAC" = "x1" ; then
48442 COND_PLATFORM_MAC_1=""
48443 fi
48444
48445 COND_PLATFORM_MSDOS_0="#"
48446 if test "x$PLATFORM_MSDOS" = "x0" ; then
48447 COND_PLATFORM_MSDOS_0=""
48448 fi
48449
48450 COND_PLATFORM_MSDOS_1="#"
48451 if test "x$PLATFORM_MSDOS" = "x1" ; then
48452 COND_PLATFORM_MSDOS_1=""
48453 fi
48454
48455 COND_PLATFORM_OS2_1="#"
48456 if test "x$PLATFORM_OS2" = "x1" ; then
48457 COND_PLATFORM_OS2_1=""
48458 fi
48459
48460 COND_PLATFORM_UNIX_0="#"
48461 if test "x$PLATFORM_UNIX" = "x0" ; then
48462 COND_PLATFORM_UNIX_0=""
48463 fi
48464
48465 COND_PLATFORM_UNIX_1="#"
48466 if test "x$PLATFORM_UNIX" = "x1" ; then
48467 COND_PLATFORM_UNIX_1=""
48468 fi
48469
48470 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48471 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48472 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48473 fi
48474
48475 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48476 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48477 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48478 fi
48479
48480 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48481 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48482 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48483 fi
48484
48485 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48486 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48487 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48488 fi
48489
48490 COND_PLATFORM_WIN32_0="#"
48491 if test "x$PLATFORM_WIN32" = "x0" ; then
48492 COND_PLATFORM_WIN32_0=""
48493 fi
48494
48495 COND_PLATFORM_WIN32_1="#"
48496 if test "x$PLATFORM_WIN32" = "x1" ; then
48497 COND_PLATFORM_WIN32_1=""
48498 fi
48499
48500 COND_SHARED_0="#"
48501 if test "x$SHARED" = "x0" ; then
48502 COND_SHARED_0=""
48503 fi
48504
48505 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48506 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48507 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48508 fi
48509
48510 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48511 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48512 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48513 fi
48514
48515 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48516 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48517 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48518 fi
48519
48520 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48521 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48522 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48523 fi
48524
48525 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48526 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48527 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48528 fi
48529
48530 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48531 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48532 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48533 fi
48534
48535 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48536 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48537 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48538 fi
48539
48540 COND_SHARED_0_USE_STC_1="#"
48541 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48542 COND_SHARED_0_USE_STC_1=""
48543 fi
48544
48545 COND_SHARED_0_USE_XRC_1="#"
48546 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48547 COND_SHARED_0_USE_XRC_1=""
48548 fi
48549
48550 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48551 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48552 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48553 fi
48554
48555 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48556 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48557 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48558 fi
48559
48560 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48561 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48562 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48563 fi
48564
48565 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48566 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48567 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48568 fi
48569
48570 COND_SHARED_1="#"
48571 if test "x$SHARED" = "x1" ; then
48572 COND_SHARED_1=""
48573 fi
48574
48575 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48576 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48577 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48578 fi
48579
48580 COND_SHARED_1_USE_XRC_1="#"
48581 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48582 COND_SHARED_1_USE_XRC_1=""
48583 fi
48584
48585 COND_TOOLKIT_="#"
48586 if test "x$TOOLKIT" = "x" ; then
48587 COND_TOOLKIT_=""
48588 fi
48589
48590 COND_TOOLKIT_COCOA="#"
48591 if test "x$TOOLKIT" = "xCOCOA" ; then
48592 COND_TOOLKIT_COCOA=""
48593 fi
48594
48595 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48596 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48597 COND_TOOLKIT_COCOA_USE_GUI_1=""
48598 fi
48599
48600 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48601 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48602 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48603 fi
48604
48605 COND_TOOLKIT_DFB="#"
48606 if test "x$TOOLKIT" = "xDFB" ; then
48607 COND_TOOLKIT_DFB=""
48608 fi
48609
48610 COND_TOOLKIT_DFB_USE_GUI_1="#"
48611 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48612 COND_TOOLKIT_DFB_USE_GUI_1=""
48613 fi
48614
48615 COND_TOOLKIT_GTK="#"
48616 if test "x$TOOLKIT" = "xGTK" ; then
48617 COND_TOOLKIT_GTK=""
48618 fi
48619
48620 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48621 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48622 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48623 fi
48624
48625 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48626 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48627 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48628 fi
48629
48630 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48631 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48632 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48633 fi
48634
48635 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48636 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48637 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48638 fi
48639
48640 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48641 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48642 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48643 fi
48644
48645 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48646 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48647 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48648 fi
48649
48650 COND_TOOLKIT_GTK_USE_GUI_1="#"
48651 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48652 COND_TOOLKIT_GTK_USE_GUI_1=""
48653 fi
48654
48655 COND_TOOLKIT_MAC="#"
48656 if test "x$TOOLKIT" = "xMAC" ; then
48657 COND_TOOLKIT_MAC=""
48658 fi
48659
48660 COND_TOOLKIT_MAC_USE_GUI_1="#"
48661 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48662 COND_TOOLKIT_MAC_USE_GUI_1=""
48663 fi
48664
48665 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48666 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48667 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48668 fi
48669
48670 COND_TOOLKIT_MGL="#"
48671 if test "x$TOOLKIT" = "xMGL" ; then
48672 COND_TOOLKIT_MGL=""
48673 fi
48674
48675 COND_TOOLKIT_MGL_USE_GUI_1="#"
48676 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48677 COND_TOOLKIT_MGL_USE_GUI_1=""
48678 fi
48679
48680 COND_TOOLKIT_MOTIF="#"
48681 if test "x$TOOLKIT" = "xMOTIF" ; then
48682 COND_TOOLKIT_MOTIF=""
48683 fi
48684
48685 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48686 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48687 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48688 fi
48689
48690 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48691 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48692 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48693 fi
48694
48695 COND_TOOLKIT_MSW="#"
48696 if test "x$TOOLKIT" = "xMSW" ; then
48697 COND_TOOLKIT_MSW=""
48698 fi
48699
48700 COND_TOOLKIT_MSW_USE_GUI_1="#"
48701 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48702 COND_TOOLKIT_MSW_USE_GUI_1=""
48703 fi
48704
48705 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48706 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48707 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48708 fi
48709
48710 COND_TOOLKIT_MSW_WXUNIV_0="#"
48711 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48712 COND_TOOLKIT_MSW_WXUNIV_0=""
48713 fi
48714
48715 COND_TOOLKIT_PM="#"
48716 if test "x$TOOLKIT" = "xPM" ; then
48717 COND_TOOLKIT_PM=""
48718 fi
48719
48720 COND_TOOLKIT_PM_USE_GUI_1="#"
48721 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48722 COND_TOOLKIT_PM_USE_GUI_1=""
48723 fi
48724
48725 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48726 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48727 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48728 fi
48729
48730 COND_TOOLKIT_WINCE="#"
48731 if test "x$TOOLKIT" = "xWINCE" ; then
48732 COND_TOOLKIT_WINCE=""
48733 fi
48734
48735 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48736 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48737 COND_TOOLKIT_WINCE_USE_GUI_1=""
48738 fi
48739
48740 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48741 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48742 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48743 fi
48744
48745 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48746 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48747 COND_TOOLKIT_WINCE_WXUNIV_0=""
48748 fi
48749
48750 COND_TOOLKIT_X11="#"
48751 if test "x$TOOLKIT" = "xX11" ; then
48752 COND_TOOLKIT_X11=""
48753 fi
48754
48755 COND_TOOLKIT_X11_USE_GUI_1="#"
48756 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48757 COND_TOOLKIT_X11_USE_GUI_1=""
48758 fi
48759
48760 COND_UNICODE_1="#"
48761 if test "x$UNICODE" = "x1" ; then
48762 COND_UNICODE_1=""
48763 fi
48764
48765 COND_USE_EXCEPTIONS_0="#"
48766 if test "x$USE_EXCEPTIONS" = "x0" ; then
48767 COND_USE_EXCEPTIONS_0=""
48768 fi
48769
48770 COND_USE_EXCEPTIONS_1="#"
48771 if test "x$USE_EXCEPTIONS" = "x1" ; then
48772 COND_USE_EXCEPTIONS_1=""
48773 fi
48774
48775 COND_USE_GUI_0="#"
48776 if test "x$USE_GUI" = "x0" ; then
48777 COND_USE_GUI_0=""
48778 fi
48779
48780 COND_USE_GUI_1="#"
48781 if test "x$USE_GUI" = "x1" ; then
48782 COND_USE_GUI_1=""
48783 fi
48784
48785 COND_USE_GUI_1_USE_OPENGL_1="#"
48786 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48787 COND_USE_GUI_1_USE_OPENGL_1=""
48788 fi
48789
48790 COND_USE_GUI_1_WXUNIV_0="#"
48791 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48792 COND_USE_GUI_1_WXUNIV_0=""
48793 fi
48794
48795 COND_USE_GUI_1_WXUNIV_1="#"
48796 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48797 COND_USE_GUI_1_WXUNIV_1=""
48798 fi
48799
48800 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48801 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48802 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48803 fi
48804
48805 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48806 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48807 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48808 fi
48809
48810 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48811 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48812 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48813 fi
48814
48815 COND_USE_ODBC_1="#"
48816 if test "x$USE_ODBC" = "x1" ; then
48817 COND_USE_ODBC_1=""
48818 fi
48819
48820 COND_USE_OPENGL_1="#"
48821 if test "x$USE_OPENGL" = "x1" ; then
48822 COND_USE_OPENGL_1=""
48823 fi
48824
48825 COND_USE_PCH_1="#"
48826 if test "x$USE_PCH" = "x1" ; then
48827 COND_USE_PCH_1=""
48828 fi
48829
48830 COND_USE_PLUGINS_0="#"
48831 if test "x$USE_PLUGINS" = "x0" ; then
48832 COND_USE_PLUGINS_0=""
48833 fi
48834
48835 COND_USE_RTTI_0="#"
48836 if test "x$USE_RTTI" = "x0" ; then
48837 COND_USE_RTTI_0=""
48838 fi
48839
48840 COND_USE_RTTI_1="#"
48841 if test "x$USE_RTTI" = "x1" ; then
48842 COND_USE_RTTI_1=""
48843 fi
48844
48845 COND_USE_SOSYMLINKS_1="#"
48846 if test "x$USE_SOSYMLINKS" = "x1" ; then
48847 COND_USE_SOSYMLINKS_1=""
48848 fi
48849
48850 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48851 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48852 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48853 fi
48854
48855 COND_USE_SOVERLINUX_1="#"
48856 if test "x$USE_SOVERLINUX" = "x1" ; then
48857 COND_USE_SOVERLINUX_1=""
48858 fi
48859
48860 COND_USE_SOVERSION_0="#"
48861 if test "x$USE_SOVERSION" = "x0" ; then
48862 COND_USE_SOVERSION_0=""
48863 fi
48864
48865 COND_USE_SOVERSOLARIS_1="#"
48866 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48867 COND_USE_SOVERSOLARIS_1=""
48868 fi
48869
48870 COND_USE_STC_1="#"
48871 if test "x$USE_STC" = "x1" ; then
48872 COND_USE_STC_1=""
48873 fi
48874
48875 COND_USE_THREADS_0="#"
48876 if test "x$USE_THREADS" = "x0" ; then
48877 COND_USE_THREADS_0=""
48878 fi
48879
48880 COND_USE_THREADS_1="#"
48881 if test "x$USE_THREADS" = "x1" ; then
48882 COND_USE_THREADS_1=""
48883 fi
48884
48885 COND_USE_XRC_1="#"
48886 if test "x$USE_XRC" = "x1" ; then
48887 COND_USE_XRC_1=""
48888 fi
48889
48890 COND_WINDOWS_IMPLIB_1="#"
48891 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48892 COND_WINDOWS_IMPLIB_1=""
48893 fi
48894
48895 COND_WITH_PLUGIN_SDL_1="#"
48896 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48897 COND_WITH_PLUGIN_SDL_1=""
48898 fi
48899
48900 COND_WXUNIV_0="#"
48901 if test "x$WXUNIV" = "x0" ; then
48902 COND_WXUNIV_0=""
48903 fi
48904
48905 COND_WXUNIV_1="#"
48906 if test "x$WXUNIV" = "x1" ; then
48907 COND_WXUNIV_1=""
48908 fi
48909
48910 COND_WXUSE_EXPAT_BUILTIN="#"
48911 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48912 COND_WXUSE_EXPAT_BUILTIN=""
48913 fi
48914
48915 COND_WXUSE_LIBJPEG_BUILTIN="#"
48916 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48917 COND_WXUSE_LIBJPEG_BUILTIN=""
48918 fi
48919
48920 COND_WXUSE_LIBPNG_BUILTIN="#"
48921 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48922 COND_WXUSE_LIBPNG_BUILTIN=""
48923 fi
48924
48925 COND_WXUSE_LIBTIFF_BUILTIN="#"
48926 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48927 COND_WXUSE_LIBTIFF_BUILTIN=""
48928 fi
48929
48930 COND_WXUSE_ODBC_BUILTIN="#"
48931 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48932 COND_WXUSE_ODBC_BUILTIN=""
48933 fi
48934
48935 COND_WXUSE_REGEX_BUILTIN="#"
48936 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48937 COND_WXUSE_REGEX_BUILTIN=""
48938 fi
48939
48940 COND_WXUSE_ZLIB_BUILTIN="#"
48941 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48942 COND_WXUSE_ZLIB_BUILTIN=""
48943 fi
48944
48945
48946
48947 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48948 { { 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
48949 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;}
48950 { (exit 1); exit 1; }; }
48951 fi
48952
48953 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48954 { { 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
48955 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;}
48956 { (exit 1); exit 1; }; }
48957 fi
48958
48959
48960 if test $GCC_PCH = 1
48961 then
48962 if test "$wx_cv_gcc_pch_bug" = yes; then
48963 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48964 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48965 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48966 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48967 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48968 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48969 fi
48970
48971 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48972 fi
48973
48974
48975 if test "$wxUSE_MAC" = 1 ; then
48976 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48977 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48978 mv temp bk-deps
48979 chmod +x bk-deps
48980 fi
48981 fi
48982
48983 if test "$wxUSE_SHARED" = "yes"; then
48984
48985 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48986 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48987
48988 case "${host}" in
48989 *-pc-os2_emx | *-pc-os2-emx )
48990 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48991 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48992 cp -p ${srcdir}/src/os2/dllnames.sh .
48993 cp -p ${srcdir}/src/os2/dllar.sh .
48994 ;;
48995 esac
48996 else
48997
48998 EXE_LINKER="$CXX -o"
48999
49000 fi
49001 if test "$wxUSE_OMF" = "yes"; then
49002 case "${host}" in
49003 *-pc-os2_emx | *-pc-os2-emx )
49004 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
49005 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49006 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
49007 ;;
49008 esac
49009 fi
49010
49011 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
49012
49013 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
49014
49015
49016
49017
49018
49019
49020
49021
49022
49023
49024
49025
49026
49027
49028
49029
49030
49031
49032
49033
49034
49035
49036
49037
49038
49039
49040
49041
49042
49043
49044
49045
49046
49047
49048
49049
49050
49051
49052
49053
49054
49055
49056
49057
49058
49059
49060
49061
49062
49063
49064
49065
49066
49067
49068
49069
49070
49071
49072
49073
49074
49075 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
49076 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
49077 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
49078 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
49079 echo $ECHO_N "(cached) $ECHO_C" >&6
49080 else
49081 cat >conftest.make <<\_ACEOF
49082 SHELL = /bin/sh
49083 all:
49084 @echo '@@@%%%=$(MAKE)=@@@%%%'
49085 _ACEOF
49086 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
49087 case `${MAKE-make} -f conftest.make 2>/dev/null` in
49088 *@@@%%%=?*=@@@%%%*)
49089 eval ac_cv_prog_make_${ac_make}_set=yes;;
49090 *)
49091 eval ac_cv_prog_make_${ac_make}_set=no;;
49092 esac
49093 rm -f conftest.make
49094 fi
49095 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
49096 { echo "$as_me:$LINENO: result: yes" >&5
49097 echo "${ECHO_T}yes" >&6; }
49098 SET_MAKE=
49099 else
49100 { echo "$as_me:$LINENO: result: no" >&5
49101 echo "${ECHO_T}no" >&6; }
49102 SET_MAKE="MAKE=${MAKE-make}"
49103 fi
49104
49105
49106
49107 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
49108
49109
49110 if test "$USE_WIN32" = 1; then
49111 ac_config_commands="$ac_config_commands
49112 rcdefs.h
49113 "
49114
49115 fi
49116
49117 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
49118
49119
49120 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
49121
49122
49123 if test "$wx_cv_version_script" = "yes"; then
49124 ac_config_files="$ac_config_files version-script"
49125
49126 fi
49127 ac_config_files="$ac_config_files Makefile"
49128
49129
49130 ac_config_commands="$ac_config_commands wx-config"
49131
49132
49133
49134 if test "$wxWITH_SUBDIRS" != "no"; then
49135 if test "$wxUSE_GUI" = "yes"; then
49136 SUBDIRS="samples demos utils"
49137 else SUBDIRS="samples utils"
49138 fi
49139
49140
49141
49142 # Check whether --with-cppunit-prefix was given.
49143 if test "${with_cppunit_prefix+set}" = set; then
49144 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
49145 else
49146 cppunit_config_prefix=""
49147 fi
49148
49149
49150 # Check whether --with-cppunit-exec-prefix was given.
49151 if test "${with_cppunit_exec_prefix+set}" = set; then
49152 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
49153 else
49154 cppunit_config_exec_prefix=""
49155 fi
49156
49157
49158 if test x$cppunit_config_exec_prefix != x ; then
49159 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
49160 if test x${CPPUNIT_CONFIG+set} != xset ; then
49161 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
49162 fi
49163 fi
49164 if test x$cppunit_config_prefix != x ; then
49165 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
49166 if test x${CPPUNIT_CONFIG+set} != xset ; then
49167 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
49168 fi
49169 fi
49170
49171 # Extract the first word of "cppunit-config", so it can be a program name with args.
49172 set dummy cppunit-config; ac_word=$2
49173 { echo "$as_me:$LINENO: checking for $ac_word" >&5
49174 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
49175 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
49176 echo $ECHO_N "(cached) $ECHO_C" >&6
49177 else
49178 case $CPPUNIT_CONFIG in
49179 [\\/]* | ?:[\\/]*)
49180 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
49181 ;;
49182 *)
49183 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49184 for as_dir in $PATH
49185 do
49186 IFS=$as_save_IFS
49187 test -z "$as_dir" && as_dir=.
49188 for ac_exec_ext in '' $ac_executable_extensions; do
49189 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
49190 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
49191 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
49192 break 2
49193 fi
49194 done
49195 done
49196 IFS=$as_save_IFS
49197
49198 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
49199 ;;
49200 esac
49201 fi
49202 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
49203 if test -n "$CPPUNIT_CONFIG"; then
49204 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
49205 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
49206 else
49207 { echo "$as_me:$LINENO: result: no" >&5
49208 echo "${ECHO_T}no" >&6; }
49209 fi
49210
49211
49212 cppunit_version_min=1.8.0
49213
49214 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
49215 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
49216 no_cppunit=""
49217 if test "$CPPUNIT_CONFIG" = "no" ; then
49218 { echo "$as_me:$LINENO: result: no" >&5
49219 echo "${ECHO_T}no" >&6; }
49220 no_cppunit=yes
49221 else
49222 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
49223 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
49224 cppunit_version=`$CPPUNIT_CONFIG --version`
49225
49226 cppunit_major_version=`echo $cppunit_version | \
49227 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49228 cppunit_minor_version=`echo $cppunit_version | \
49229 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49230 cppunit_micro_version=`echo $cppunit_version | \
49231 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49232
49233 cppunit_major_min=`echo $cppunit_version_min | \
49234 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
49235 cppunit_minor_min=`echo $cppunit_version_min | \
49236 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
49237 cppunit_micro_min=`echo $cppunit_version_min | \
49238 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
49239
49240 cppunit_version_proper=`expr \
49241 $cppunit_major_version \> $cppunit_major_min \| \
49242 $cppunit_major_version \= $cppunit_major_min \& \
49243 $cppunit_minor_version \> $cppunit_minor_min \| \
49244 $cppunit_major_version \= $cppunit_major_min \& \
49245 $cppunit_minor_version \= $cppunit_minor_min \& \
49246 $cppunit_micro_version \>= $cppunit_micro_min `
49247
49248 if test "$cppunit_version_proper" = "1" ; then
49249 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
49250 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
49251 else
49252 { echo "$as_me:$LINENO: result: no" >&5
49253 echo "${ECHO_T}no" >&6; }
49254 no_cppunit=yes
49255 fi
49256 fi
49257
49258 if test "x$no_cppunit" = x ; then
49259 SUBDIRS="$SUBDIRS tests"
49260 else
49261 CPPUNIT_CFLAGS=""
49262 CPPUNIT_LIBS=""
49263 :
49264 fi
49265
49266
49267
49268
49269
49270 for subdir in `echo $SUBDIRS`; do
49271 if test -d ${srcdir}/${subdir} ; then
49272 if test "$wxUSE_GUI" = "yes"; then
49273 if test ${subdir} = "samples"; then
49274 makefiles="samples/Makefile.in $makefiles"
49275 for sample in `echo $SAMPLES_SUBDIRS`; do
49276 if test -d $srcdir/samples/$sample; then
49277 makefiles="samples/$sample/Makefile.in $makefiles"
49278 fi
49279 done
49280 else
49281 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
49282 eval "disabled=\$$disabled_var"
49283 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
49284 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
49285 fi
49286 else if test ${subdir} = "samples"; then
49287 makefiles="samples/Makefile.in samples/console/Makefile.in"
49288 elif test ${subdir} = "utils"; then
49289 makefiles=""
49290 for util in HelpGen tex2rtf ; do
49291 if test -d $srcdir/utils/$util ; then
49292 makefiles="utils/$util/Makefile.in \
49293 utils/$util/src/Makefile.in \
49294 $makefiles"
49295 fi
49296 done
49297 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
49298 fi
49299 fi
49300
49301 for mkin in $makefiles ; do
49302 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
49303 ac_config_files="$ac_config_files $mk"
49304
49305 done
49306 fi
49307 done
49308 fi
49309 cat >confcache <<\_ACEOF
49310 # This file is a shell script that caches the results of configure
49311 # tests run on this system so they can be shared between configure
49312 # scripts and configure runs, see configure's option --config-cache.
49313 # It is not useful on other systems. If it contains results you don't
49314 # want to keep, you may remove or edit it.
49315 #
49316 # config.status only pays attention to the cache file if you give it
49317 # the --recheck option to rerun configure.
49318 #
49319 # `ac_cv_env_foo' variables (set or unset) will be overridden when
49320 # loading this file, other *unset* `ac_cv_foo' will be assigned the
49321 # following values.
49322
49323 _ACEOF
49324
49325 # The following way of writing the cache mishandles newlines in values,
49326 # but we know of no workaround that is simple, portable, and efficient.
49327 # So, we kill variables containing newlines.
49328 # Ultrix sh set writes to stderr and can't be redirected directly,
49329 # and sets the high bit in the cache file unless we assign to the vars.
49330 (
49331 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
49332 eval ac_val=\$$ac_var
49333 case $ac_val in #(
49334 *${as_nl}*)
49335 case $ac_var in #(
49336 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
49337 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
49338 esac
49339 case $ac_var in #(
49340 _ | IFS | as_nl) ;; #(
49341 *) $as_unset $ac_var ;;
49342 esac ;;
49343 esac
49344 done
49345
49346 (set) 2>&1 |
49347 case $as_nl`(ac_space=' '; set) 2>&1` in #(
49348 *${as_nl}ac_space=\ *)
49349 # `set' does not quote correctly, so add quotes (double-quote
49350 # substitution turns \\\\ into \\, and sed turns \\ into \).
49351 sed -n \
49352 "s/'/'\\\\''/g;
49353 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
49354 ;; #(
49355 *)
49356 # `set' quotes correctly as required by POSIX, so do not add quotes.
49357 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
49358 ;;
49359 esac |
49360 sort
49361 ) |
49362 sed '
49363 /^ac_cv_env_/b end
49364 t clear
49365 :clear
49366 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
49367 t end
49368 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
49369 :end' >>confcache
49370 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
49371 if test -w "$cache_file"; then
49372 test "x$cache_file" != "x/dev/null" &&
49373 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
49374 echo "$as_me: updating cache $cache_file" >&6;}
49375 cat confcache >$cache_file
49376 else
49377 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49378 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49379 fi
49380 fi
49381 rm -f confcache
49382
49383 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49384 # Let make expand exec_prefix.
49385 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49386
49387 DEFS=-DHAVE_CONFIG_H
49388
49389 ac_libobjs=
49390 ac_ltlibobjs=
49391 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49392 # 1. Remove the extension, and $U if already installed.
49393 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49394 ac_i=`echo "$ac_i" | sed "$ac_script"`
49395 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49396 # will be set to the directory where LIBOBJS objects are built.
49397 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49398 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49399 done
49400 LIBOBJS=$ac_libobjs
49401
49402 LTLIBOBJS=$ac_ltlibobjs
49403
49404
49405
49406 : ${CONFIG_STATUS=./config.status}
49407 ac_clean_files_save=$ac_clean_files
49408 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49409 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49410 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49411 cat >$CONFIG_STATUS <<_ACEOF
49412 #! $SHELL
49413 # Generated by $as_me.
49414 # Run this file to recreate the current configuration.
49415 # Compiler output produced by configure, useful for debugging
49416 # configure, is in config.log if it exists.
49417
49418 debug=false
49419 ac_cs_recheck=false
49420 ac_cs_silent=false
49421 SHELL=\${CONFIG_SHELL-$SHELL}
49422 _ACEOF
49423
49424 cat >>$CONFIG_STATUS <<\_ACEOF
49425 ## --------------------- ##
49426 ## M4sh Initialization. ##
49427 ## --------------------- ##
49428
49429 # Be more Bourne compatible
49430 DUALCASE=1; export DUALCASE # for MKS sh
49431 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49432 emulate sh
49433 NULLCMD=:
49434 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49435 # is contrary to our usage. Disable this feature.
49436 alias -g '${1+"$@"}'='"$@"'
49437 setopt NO_GLOB_SUBST
49438 else
49439 case `(set -o) 2>/dev/null` in
49440 *posix*) set -o posix ;;
49441 esac
49442
49443 fi
49444
49445
49446
49447
49448 # PATH needs CR
49449 # Avoid depending upon Character Ranges.
49450 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49451 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49452 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49453 as_cr_digits='0123456789'
49454 as_cr_alnum=$as_cr_Letters$as_cr_digits
49455
49456 # The user is always right.
49457 if test "${PATH_SEPARATOR+set}" != set; then
49458 echo "#! /bin/sh" >conf$$.sh
49459 echo "exit 0" >>conf$$.sh
49460 chmod +x conf$$.sh
49461 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49462 PATH_SEPARATOR=';'
49463 else
49464 PATH_SEPARATOR=:
49465 fi
49466 rm -f conf$$.sh
49467 fi
49468
49469 # Support unset when possible.
49470 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49471 as_unset=unset
49472 else
49473 as_unset=false
49474 fi
49475
49476
49477 # IFS
49478 # We need space, tab and new line, in precisely that order. Quoting is
49479 # there to prevent editors from complaining about space-tab.
49480 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49481 # splitting by setting IFS to empty value.)
49482 as_nl='
49483 '
49484 IFS=" "" $as_nl"
49485
49486 # Find who we are. Look in the path if we contain no directory separator.
49487 case $0 in
49488 *[\\/]* ) as_myself=$0 ;;
49489 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49490 for as_dir in $PATH
49491 do
49492 IFS=$as_save_IFS
49493 test -z "$as_dir" && as_dir=.
49494 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49495 done
49496 IFS=$as_save_IFS
49497
49498 ;;
49499 esac
49500 # We did not find ourselves, most probably we were run as `sh COMMAND'
49501 # in which case we are not to be found in the path.
49502 if test "x$as_myself" = x; then
49503 as_myself=$0
49504 fi
49505 if test ! -f "$as_myself"; then
49506 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49507 { (exit 1); exit 1; }
49508 fi
49509
49510 # Work around bugs in pre-3.0 UWIN ksh.
49511 for as_var in ENV MAIL MAILPATH
49512 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49513 done
49514 PS1='$ '
49515 PS2='> '
49516 PS4='+ '
49517
49518 # NLS nuisances.
49519 for as_var in \
49520 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49521 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49522 LC_TELEPHONE LC_TIME
49523 do
49524 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49525 eval $as_var=C; export $as_var
49526 else
49527 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49528 fi
49529 done
49530
49531 # Required to use basename.
49532 if expr a : '\(a\)' >/dev/null 2>&1 &&
49533 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49534 as_expr=expr
49535 else
49536 as_expr=false
49537 fi
49538
49539 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49540 as_basename=basename
49541 else
49542 as_basename=false
49543 fi
49544
49545
49546 # Name of the executable.
49547 as_me=`$as_basename -- "$0" ||
49548 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49549 X"$0" : 'X\(//\)$' \| \
49550 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49551 echo X/"$0" |
49552 sed '/^.*\/\([^/][^/]*\)\/*$/{
49553 s//\1/
49554 q
49555 }
49556 /^X\/\(\/\/\)$/{
49557 s//\1/
49558 q
49559 }
49560 /^X\/\(\/\).*/{
49561 s//\1/
49562 q
49563 }
49564 s/.*/./; q'`
49565
49566 # CDPATH.
49567 $as_unset CDPATH
49568
49569
49570
49571 as_lineno_1=$LINENO
49572 as_lineno_2=$LINENO
49573 test "x$as_lineno_1" != "x$as_lineno_2" &&
49574 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49575
49576 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49577 # uniformly replaced by the line number. The first 'sed' inserts a
49578 # line-number line after each line using $LINENO; the second 'sed'
49579 # does the real work. The second script uses 'N' to pair each
49580 # line-number line with the line containing $LINENO, and appends
49581 # trailing '-' during substitution so that $LINENO is not a special
49582 # case at line end.
49583 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49584 # scripts with optimization help from Paolo Bonzini. Blame Lee
49585 # E. McMahon (1931-1989) for sed's syntax. :-)
49586 sed -n '
49587 p
49588 /[$]LINENO/=
49589 ' <$as_myself |
49590 sed '
49591 s/[$]LINENO.*/&-/
49592 t lineno
49593 b
49594 :lineno
49595 N
49596 :loop
49597 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49598 t loop
49599 s/-\n.*//
49600 ' >$as_me.lineno &&
49601 chmod +x "$as_me.lineno" ||
49602 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49603 { (exit 1); exit 1; }; }
49604
49605 # Don't try to exec as it changes $[0], causing all sort of problems
49606 # (the dirname of $[0] is not the place where we might find the
49607 # original and so on. Autoconf is especially sensitive to this).
49608 . "./$as_me.lineno"
49609 # Exit status is that of the last command.
49610 exit
49611 }
49612
49613
49614 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49615 as_dirname=dirname
49616 else
49617 as_dirname=false
49618 fi
49619
49620 ECHO_C= ECHO_N= ECHO_T=
49621 case `echo -n x` in
49622 -n*)
49623 case `echo 'x\c'` in
49624 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49625 *) ECHO_C='\c';;
49626 esac;;
49627 *)
49628 ECHO_N='-n';;
49629 esac
49630
49631 if expr a : '\(a\)' >/dev/null 2>&1 &&
49632 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49633 as_expr=expr
49634 else
49635 as_expr=false
49636 fi
49637
49638 rm -f conf$$ conf$$.exe conf$$.file
49639 if test -d conf$$.dir; then
49640 rm -f conf$$.dir/conf$$.file
49641 else
49642 rm -f conf$$.dir
49643 mkdir conf$$.dir
49644 fi
49645 echo >conf$$.file
49646 if ln -s conf$$.file conf$$ 2>/dev/null; then
49647 as_ln_s='ln -s'
49648 # ... but there are two gotchas:
49649 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49650 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49651 # In both cases, we have to default to `cp -p'.
49652 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49653 as_ln_s='cp -p'
49654 elif ln conf$$.file conf$$ 2>/dev/null; then
49655 as_ln_s=ln
49656 else
49657 as_ln_s='cp -p'
49658 fi
49659 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49660 rmdir conf$$.dir 2>/dev/null
49661
49662 if mkdir -p . 2>/dev/null; then
49663 as_mkdir_p=:
49664 else
49665 test -d ./-p && rmdir ./-p
49666 as_mkdir_p=false
49667 fi
49668
49669 if test -x / >/dev/null 2>&1; then
49670 as_test_x='test -x'
49671 else
49672 if ls -dL / >/dev/null 2>&1; then
49673 as_ls_L_option=L
49674 else
49675 as_ls_L_option=
49676 fi
49677 as_test_x='
49678 eval sh -c '\''
49679 if test -d "$1"; then
49680 test -d "$1/.";
49681 else
49682 case $1 in
49683 -*)set "./$1";;
49684 esac;
49685 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49686 ???[sx]*):;;*)false;;esac;fi
49687 '\'' sh
49688 '
49689 fi
49690 as_executable_p=$as_test_x
49691
49692 # Sed expression to map a string onto a valid CPP name.
49693 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49694
49695 # Sed expression to map a string onto a valid variable name.
49696 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49697
49698
49699 exec 6>&1
49700
49701 # Save the log message, to keep $[0] and so on meaningful, and to
49702 # report actual input values of CONFIG_FILES etc. instead of their
49703 # values after options handling.
49704 ac_log="
49705 This file was extended by wxWidgets $as_me 2.9.0, which was
49706 generated by GNU Autoconf 2.61. Invocation command line was
49707
49708 CONFIG_FILES = $CONFIG_FILES
49709 CONFIG_HEADERS = $CONFIG_HEADERS
49710 CONFIG_LINKS = $CONFIG_LINKS
49711 CONFIG_COMMANDS = $CONFIG_COMMANDS
49712 $ $0 $@
49713
49714 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49715 "
49716
49717 _ACEOF
49718
49719 cat >>$CONFIG_STATUS <<_ACEOF
49720 # Files that config.status was made for.
49721 config_files="$ac_config_files"
49722 config_headers="$ac_config_headers"
49723 config_commands="$ac_config_commands"
49724
49725 _ACEOF
49726
49727 cat >>$CONFIG_STATUS <<\_ACEOF
49728 ac_cs_usage="\
49729 \`$as_me' instantiates files from templates according to the
49730 current configuration.
49731
49732 Usage: $0 [OPTIONS] [FILE]...
49733
49734 -h, --help print this help, then exit
49735 -V, --version print version number and configuration settings, then exit
49736 -q, --quiet do not print progress messages
49737 -d, --debug don't remove temporary files
49738 --recheck update $as_me by reconfiguring in the same conditions
49739 --file=FILE[:TEMPLATE]
49740 instantiate the configuration file FILE
49741 --header=FILE[:TEMPLATE]
49742 instantiate the configuration header FILE
49743
49744 Configuration files:
49745 $config_files
49746
49747 Configuration headers:
49748 $config_headers
49749
49750 Configuration commands:
49751 $config_commands
49752
49753 Report bugs to <bug-autoconf@gnu.org>."
49754
49755 _ACEOF
49756 cat >>$CONFIG_STATUS <<_ACEOF
49757 ac_cs_version="\\
49758 wxWidgets config.status 2.9.0
49759 configured by $0, generated by GNU Autoconf 2.61,
49760 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49761
49762 Copyright (C) 2006 Free Software Foundation, Inc.
49763 This config.status script is free software; the Free Software Foundation
49764 gives unlimited permission to copy, distribute and modify it."
49765
49766 ac_pwd='$ac_pwd'
49767 srcdir='$srcdir'
49768 INSTALL='$INSTALL'
49769 _ACEOF
49770
49771 cat >>$CONFIG_STATUS <<\_ACEOF
49772 # If no file are specified by the user, then we need to provide default
49773 # value. By we need to know if files were specified by the user.
49774 ac_need_defaults=:
49775 while test $# != 0
49776 do
49777 case $1 in
49778 --*=*)
49779 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49780 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49781 ac_shift=:
49782 ;;
49783 *)
49784 ac_option=$1
49785 ac_optarg=$2
49786 ac_shift=shift
49787 ;;
49788 esac
49789
49790 case $ac_option in
49791 # Handling of the options.
49792 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49793 ac_cs_recheck=: ;;
49794 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49795 echo "$ac_cs_version"; exit ;;
49796 --debug | --debu | --deb | --de | --d | -d )
49797 debug=: ;;
49798 --file | --fil | --fi | --f )
49799 $ac_shift
49800 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49801 ac_need_defaults=false;;
49802 --header | --heade | --head | --hea )
49803 $ac_shift
49804 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49805 ac_need_defaults=false;;
49806 --he | --h)
49807 # Conflict between --help and --header
49808 { echo "$as_me: error: ambiguous option: $1
49809 Try \`$0 --help' for more information." >&2
49810 { (exit 1); exit 1; }; };;
49811 --help | --hel | -h )
49812 echo "$ac_cs_usage"; exit ;;
49813 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49814 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49815 ac_cs_silent=: ;;
49816
49817 # This is an error.
49818 -*) { echo "$as_me: error: unrecognized option: $1
49819 Try \`$0 --help' for more information." >&2
49820 { (exit 1); exit 1; }; } ;;
49821
49822 *) ac_config_targets="$ac_config_targets $1"
49823 ac_need_defaults=false ;;
49824
49825 esac
49826 shift
49827 done
49828
49829 ac_configure_extra_args=
49830
49831 if $ac_cs_silent; then
49832 exec 6>/dev/null
49833 ac_configure_extra_args="$ac_configure_extra_args --silent"
49834 fi
49835
49836 _ACEOF
49837 cat >>$CONFIG_STATUS <<_ACEOF
49838 if \$ac_cs_recheck; then
49839 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49840 CONFIG_SHELL=$SHELL
49841 export CONFIG_SHELL
49842 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49843 fi
49844
49845 _ACEOF
49846 cat >>$CONFIG_STATUS <<\_ACEOF
49847 exec 5>>config.log
49848 {
49849 echo
49850 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49851 ## Running $as_me. ##
49852 _ASBOX
49853 echo "$ac_log"
49854 } >&5
49855
49856 _ACEOF
49857 cat >>$CONFIG_STATUS <<_ACEOF
49858 #
49859 # INIT-COMMANDS
49860 #
49861
49862 CPP="$CPP"
49863 infile="$srcdir/include/wx/msw/genrcdefs.h"
49864 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49865
49866
49867 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49868 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49869 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49870 LN_S="${LN_S}"
49871
49872
49873 _ACEOF
49874
49875 cat >>$CONFIG_STATUS <<\_ACEOF
49876
49877 # Handling of arguments.
49878 for ac_config_target in $ac_config_targets
49879 do
49880 case $ac_config_target in
49881 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49882 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49883 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49884 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49885 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49886 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49887 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49888 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49889
49890 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49891 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49892 { (exit 1); exit 1; }; };;
49893 esac
49894 done
49895
49896
49897 # If the user did not use the arguments to specify the items to instantiate,
49898 # then the envvar interface is used. Set only those that are not.
49899 # We use the long form for the default assignment because of an extremely
49900 # bizarre bug on SunOS 4.1.3.
49901 if $ac_need_defaults; then
49902 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49903 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49904 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49905 fi
49906
49907 # Have a temporary directory for convenience. Make it in the build tree
49908 # simply because there is no reason against having it here, and in addition,
49909 # creating and moving files from /tmp can sometimes cause problems.
49910 # Hook for its removal unless debugging.
49911 # Note that there is a small window in which the directory will not be cleaned:
49912 # after its creation but before its name has been assigned to `$tmp'.
49913 $debug ||
49914 {
49915 tmp=
49916 trap 'exit_status=$?
49917 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49918 ' 0
49919 trap '{ (exit 1); exit 1; }' 1 2 13 15
49920 }
49921 # Create a (secure) tmp directory for tmp files.
49922
49923 {
49924 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49925 test -n "$tmp" && test -d "$tmp"
49926 } ||
49927 {
49928 tmp=./conf$$-$RANDOM
49929 (umask 077 && mkdir "$tmp")
49930 } ||
49931 {
49932 echo "$me: cannot create a temporary directory in ." >&2
49933 { (exit 1); exit 1; }
49934 }
49935
49936 #
49937 # Set up the sed scripts for CONFIG_FILES section.
49938 #
49939
49940 # No need to generate the scripts if there are no CONFIG_FILES.
49941 # This happens for instance when ./config.status config.h
49942 if test -n "$CONFIG_FILES"; then
49943
49944 _ACEOF
49945
49946
49947
49948 ac_delim='%!_!# '
49949 for ac_last_try in false false false false false :; do
49950 cat >conf$$subs.sed <<_ACEOF
49951 SHELL!$SHELL$ac_delim
49952 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49953 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49954 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49955 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49956 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49957 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49958 exec_prefix!$exec_prefix$ac_delim
49959 prefix!$prefix$ac_delim
49960 program_transform_name!$program_transform_name$ac_delim
49961 bindir!$bindir$ac_delim
49962 sbindir!$sbindir$ac_delim
49963 libexecdir!$libexecdir$ac_delim
49964 datarootdir!$datarootdir$ac_delim
49965 datadir!$datadir$ac_delim
49966 sysconfdir!$sysconfdir$ac_delim
49967 sharedstatedir!$sharedstatedir$ac_delim
49968 localstatedir!$localstatedir$ac_delim
49969 includedir!$includedir$ac_delim
49970 oldincludedir!$oldincludedir$ac_delim
49971 docdir!$docdir$ac_delim
49972 infodir!$infodir$ac_delim
49973 htmldir!$htmldir$ac_delim
49974 dvidir!$dvidir$ac_delim
49975 pdfdir!$pdfdir$ac_delim
49976 psdir!$psdir$ac_delim
49977 libdir!$libdir$ac_delim
49978 localedir!$localedir$ac_delim
49979 mandir!$mandir$ac_delim
49980 DEFS!$DEFS$ac_delim
49981 ECHO_C!$ECHO_C$ac_delim
49982 ECHO_N!$ECHO_N$ac_delim
49983 ECHO_T!$ECHO_T$ac_delim
49984 LIBS!$LIBS$ac_delim
49985 build_alias!$build_alias$ac_delim
49986 host_alias!$host_alias$ac_delim
49987 target_alias!$target_alias$ac_delim
49988 build!$build$ac_delim
49989 build_cpu!$build_cpu$ac_delim
49990 build_vendor!$build_vendor$ac_delim
49991 build_os!$build_os$ac_delim
49992 host!$host$ac_delim
49993 host_cpu!$host_cpu$ac_delim
49994 host_vendor!$host_vendor$ac_delim
49995 host_os!$host_os$ac_delim
49996 target!$target$ac_delim
49997 target_cpu!$target_cpu$ac_delim
49998 target_vendor!$target_vendor$ac_delim
49999 target_os!$target_os$ac_delim
50000 wx_top_builddir!$wx_top_builddir$ac_delim
50001 CC!$CC$ac_delim
50002 CFLAGS!$CFLAGS$ac_delim
50003 LDFLAGS!$LDFLAGS$ac_delim
50004 CPPFLAGS!$CPPFLAGS$ac_delim
50005 ac_ct_CC!$ac_ct_CC$ac_delim
50006 EXEEXT!$EXEEXT$ac_delim
50007 OBJEXT!$OBJEXT$ac_delim
50008 CPP!$CPP$ac_delim
50009 GREP!$GREP$ac_delim
50010 EGREP!$EGREP$ac_delim
50011 CXX!$CXX$ac_delim
50012 CXXFLAGS!$CXXFLAGS$ac_delim
50013 ac_ct_CXX!$ac_ct_CXX$ac_delim
50014 RANLIB!$RANLIB$ac_delim
50015 AR!$AR$ac_delim
50016 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
50017 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
50018 INSTALL_DATA!$INSTALL_DATA$ac_delim
50019 STRIP!$STRIP$ac_delim
50020 WINDRES!$WINDRES$ac_delim
50021 DLLTOOL!$DLLTOOL$ac_delim
50022 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
50023 LN_S!$LN_S$ac_delim
50024 subdirs!$subdirs$ac_delim
50025 PKG_CONFIG!$PKG_CONFIG$ac_delim
50026 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
50027 GTK_LIBS!$GTK_LIBS$ac_delim
50028 GTK_CONFIG!$GTK_CONFIG$ac_delim
50029 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
50030 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
50031 XMKMF!$XMKMF$ac_delim
50032 X_CFLAGS!$X_CFLAGS$ac_delim
50033 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
50034 X_LIBS!$X_LIBS$ac_delim
50035 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
50036 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
50037 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
50038 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
50039 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
50040 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
50041 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
50042 REZ!$REZ$ac_delim
50043 DEREZ!$DEREZ$ac_delim
50044 SETFILE!$SETFILE$ac_delim
50045 LIBICONV!$LIBICONV$ac_delim
50046 SDL_CONFIG!$SDL_CONFIG$ac_delim
50047 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
50048 _ACEOF
50049
50050 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50051 break
50052 elif $ac_last_try; then
50053 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50054 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50055 { (exit 1); exit 1; }; }
50056 else
50057 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50058 fi
50059 done
50060
50061 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50062 if test -n "$ac_eof"; then
50063 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50064 ac_eof=`expr $ac_eof + 1`
50065 fi
50066
50067 cat >>$CONFIG_STATUS <<_ACEOF
50068 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
50069 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50070 _ACEOF
50071 sed '
50072 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50073 s/^/s,@/; s/!/@,|#_!!_#|/
50074 :n
50075 t n
50076 s/'"$ac_delim"'$/,g/; t
50077 s/$/\\/; p
50078 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50079 ' >>$CONFIG_STATUS <conf$$subs.sed
50080 rm -f conf$$subs.sed
50081 cat >>$CONFIG_STATUS <<_ACEOF
50082 CEOF$ac_eof
50083 _ACEOF
50084
50085
50086 ac_delim='%!_!# '
50087 for ac_last_try in false false false false false :; do
50088 cat >conf$$subs.sed <<_ACEOF
50089 SDL_LIBS!$SDL_LIBS$ac_delim
50090 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
50091 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
50092 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
50093 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
50094 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
50095 HILDON_LIBS!$HILDON_LIBS$ac_delim
50096 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
50097 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
50098 GST_CFLAGS!$GST_CFLAGS$ac_delim
50099 GST_LIBS!$GST_LIBS$ac_delim
50100 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
50101 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
50102 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
50103 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
50104 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
50105 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
50106 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
50107 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
50108 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
50109 VENDOR!$VENDOR$ac_delim
50110 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
50111 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
50112 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
50113 WXUNIV!$WXUNIV$ac_delim
50114 MONOLITHIC!$MONOLITHIC$ac_delim
50115 USE_PLUGINS!$USE_PLUGINS$ac_delim
50116 CXXWARNINGS!$CXXWARNINGS$ac_delim
50117 EXTRALIBS!$EXTRALIBS$ac_delim
50118 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
50119 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
50120 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
50121 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
50122 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
50123 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
50124 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
50125 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
50126 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
50127 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
50128 UNICODE!$UNICODE$ac_delim
50129 BUILD!$BUILD$ac_delim
50130 DEBUG_INFO!$DEBUG_INFO$ac_delim
50131 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
50132 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
50133 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
50134 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
50135 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
50136 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
50137 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
50138 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
50139 SET_MAKE!$SET_MAKE$ac_delim
50140 MAKE_SET!$MAKE_SET$ac_delim
50141 AROPTIONS!$AROPTIONS$ac_delim
50142 NM!$NM$ac_delim
50143 INSTALL_DIR!$INSTALL_DIR$ac_delim
50144 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
50145 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
50146 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
50147 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
50148 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
50149 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
50150 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
50151 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
50152 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
50153 SO_SUFFIX!$SO_SUFFIX$ac_delim
50154 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
50155 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
50156 LIBPREFIX!$LIBPREFIX$ac_delim
50157 LIBEXT!$LIBEXT$ac_delim
50158 DLLPREFIX!$DLLPREFIX$ac_delim
50159 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
50160 dlldir!$dlldir$ac_delim
50161 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
50162 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
50163 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
50164 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
50165 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
50166 PIC_FLAG!$PIC_FLAG$ac_delim
50167 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
50168 USE_SOVERSION!$USE_SOVERSION$ac_delim
50169 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
50170 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
50171 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
50172 USE_MACVERSION!$USE_MACVERSION$ac_delim
50173 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
50174 SONAME_FLAG!$SONAME_FLAG$ac_delim
50175 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
50176 BK_DEPS!$BK_DEPS$ac_delim
50177 GCC_PCH!$GCC_PCH$ac_delim
50178 ICC_PCH!$ICC_PCH$ac_delim
50179 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
50180 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
50181 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
50182 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
50183 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
50184 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
50185 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
50186 _ACEOF
50187
50188 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50189 break
50190 elif $ac_last_try; then
50191 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50192 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50193 { (exit 1); exit 1; }; }
50194 else
50195 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50196 fi
50197 done
50198
50199 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50200 if test -n "$ac_eof"; then
50201 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50202 ac_eof=`expr $ac_eof + 1`
50203 fi
50204
50205 cat >>$CONFIG_STATUS <<_ACEOF
50206 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
50207 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50208 _ACEOF
50209 sed '
50210 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50211 s/^/s,@/; s/!/@,|#_!!_#|/
50212 :n
50213 t n
50214 s/'"$ac_delim"'$/,g/; t
50215 s/$/\\/; p
50216 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50217 ' >>$CONFIG_STATUS <conf$$subs.sed
50218 rm -f conf$$subs.sed
50219 cat >>$CONFIG_STATUS <<_ACEOF
50220 CEOF$ac_eof
50221 _ACEOF
50222
50223
50224 ac_delim='%!_!# '
50225 for ac_last_try in false false false false false :; do
50226 cat >conf$$subs.sed <<_ACEOF
50227 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
50228 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
50229 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
50230 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
50231 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
50232 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
50233 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
50234 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
50235 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
50236 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
50237 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
50238 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
50239 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
50240 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
50241 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
50242 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50243 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
50244 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
50245 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
50246 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
50247 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
50248 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
50249 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
50250 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
50251 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
50252 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
50253 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
50254 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
50255 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
50256 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
50257 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
50258 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
50259 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
50260 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
50261 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
50262 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
50263 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
50264 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
50265 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
50266 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
50267 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
50268 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
50269 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
50270 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
50271 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
50272 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
50273 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
50274 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
50275 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
50276 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
50277 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
50278 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
50279 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
50280 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
50281 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
50282 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
50283 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
50284 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
50285 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
50286 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
50287 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
50288 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
50289 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
50290 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
50291 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
50292 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
50293 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
50294 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
50295 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
50296 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
50297 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
50298 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
50299 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
50300 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
50301 COND_SHARED_0!$COND_SHARED_0$ac_delim
50302 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
50303 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
50304 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
50305 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
50306 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50307 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50308 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50309 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
50310 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
50311 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
50312 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
50313 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
50314 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
50315 COND_SHARED_1!$COND_SHARED_1$ac_delim
50316 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
50317 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
50318 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
50319 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
50320 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
50321 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
50322 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
50323 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
50324 _ACEOF
50325
50326 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50327 break
50328 elif $ac_last_try; then
50329 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50330 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50331 { (exit 1); exit 1; }; }
50332 else
50333 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50334 fi
50335 done
50336
50337 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50338 if test -n "$ac_eof"; then
50339 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50340 ac_eof=`expr $ac_eof + 1`
50341 fi
50342
50343 cat >>$CONFIG_STATUS <<_ACEOF
50344 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
50345 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50346 _ACEOF
50347 sed '
50348 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50349 s/^/s,@/; s/!/@,|#_!!_#|/
50350 :n
50351 t n
50352 s/'"$ac_delim"'$/,g/; t
50353 s/$/\\/; p
50354 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50355 ' >>$CONFIG_STATUS <conf$$subs.sed
50356 rm -f conf$$subs.sed
50357 cat >>$CONFIG_STATUS <<_ACEOF
50358 CEOF$ac_eof
50359 _ACEOF
50360
50361
50362 ac_delim='%!_!# '
50363 for ac_last_try in false false false false false :; do
50364 cat >conf$$subs.sed <<_ACEOF
50365 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
50366 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
50367 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
50368 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
50369 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
50370 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
50371 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
50372 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
50373 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
50374 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
50375 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50376 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50377 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50378 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50379 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50380 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50381 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50382 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50383 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50384 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50385 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50386 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50387 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50388 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50389 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50390 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50391 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50392 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50393 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50394 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50395 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50396 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50397 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50398 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50399 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50400 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50401 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50402 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50403 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50404 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50405 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50406 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50407 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50408 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50409 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50410 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50411 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50412 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50413 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50414 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50415 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50416 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50417 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50418 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50419 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50420 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50421 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50422 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50423 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50424 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50425 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50426 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50427 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50428 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50429 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50430 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50431 SHARED!$SHARED$ac_delim
50432 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50433 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50434 USE_GUI!$USE_GUI$ac_delim
50435 AFMINSTALL!$AFMINSTALL$ac_delim
50436 WIN32INSTALL!$WIN32INSTALL$ac_delim
50437 TOOLKIT!$TOOLKIT$ac_delim
50438 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50439 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50440 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50441 cross_compiling!$cross_compiling$ac_delim
50442 WIDGET_SET!$WIDGET_SET$ac_delim
50443 WX_RELEASE!$WX_RELEASE$ac_delim
50444 WX_VERSION!$WX_VERSION$ac_delim
50445 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50446 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50447 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50448 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50449 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50450 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50451 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50452 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50453 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50454 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50455 EXE_LINKER!$EXE_LINKER$ac_delim
50456 GUIDIST!$GUIDIST$ac_delim
50457 DISTDIR!$DISTDIR$ac_delim
50458 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50459 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50460 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50461 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50462 _ACEOF
50463
50464 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50465 break
50466 elif $ac_last_try; then
50467 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50468 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50469 { (exit 1); exit 1; }; }
50470 else
50471 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50472 fi
50473 done
50474
50475 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50476 if test -n "$ac_eof"; then
50477 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50478 ac_eof=`expr $ac_eof + 1`
50479 fi
50480
50481 cat >>$CONFIG_STATUS <<_ACEOF
50482 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50483 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50484 _ACEOF
50485 sed '
50486 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50487 s/^/s,@/; s/!/@,|#_!!_#|/
50488 :n
50489 t n
50490 s/'"$ac_delim"'$/,g/; t
50491 s/$/\\/; p
50492 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50493 ' >>$CONFIG_STATUS <conf$$subs.sed
50494 rm -f conf$$subs.sed
50495 cat >>$CONFIG_STATUS <<_ACEOF
50496 CEOF$ac_eof
50497 _ACEOF
50498
50499
50500 ac_delim='%!_!# '
50501 for ac_last_try in false false false false false :; do
50502 cat >conf$$subs.sed <<_ACEOF
50503 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50504 RESCOMP!$RESCOMP$ac_delim
50505 RESFLAGS!$RESFLAGS$ac_delim
50506 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50507 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50508 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50509 LIBWXMACRES!$LIBWXMACRES$ac_delim
50510 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50511 MACSETFILE!$MACSETFILE$ac_delim
50512 GCC!$GCC$ac_delim
50513 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50514 LIBOBJS!$LIBOBJS$ac_delim
50515 LTLIBOBJS!$LTLIBOBJS$ac_delim
50516 _ACEOF
50517
50518 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 13; then
50519 break
50520 elif $ac_last_try; then
50521 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50522 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50523 { (exit 1); exit 1; }; }
50524 else
50525 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50526 fi
50527 done
50528
50529 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50530 if test -n "$ac_eof"; then
50531 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50532 ac_eof=`expr $ac_eof + 1`
50533 fi
50534
50535 cat >>$CONFIG_STATUS <<_ACEOF
50536 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50537 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50538 _ACEOF
50539 sed '
50540 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50541 s/^/s,@/; s/!/@,|#_!!_#|/
50542 :n
50543 t n
50544 s/'"$ac_delim"'$/,g/; t
50545 s/$/\\/; p
50546 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50547 ' >>$CONFIG_STATUS <conf$$subs.sed
50548 rm -f conf$$subs.sed
50549 cat >>$CONFIG_STATUS <<_ACEOF
50550 :end
50551 s/|#_!!_#|//g
50552 CEOF$ac_eof
50553 _ACEOF
50554
50555
50556 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50557 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50558 # trailing colons and then remove the whole line if VPATH becomes empty
50559 # (actually we leave an empty line to preserve line numbers).
50560 if test "x$srcdir" = x.; then
50561 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50562 s/:*\$(srcdir):*/:/
50563 s/:*\${srcdir}:*/:/
50564 s/:*@srcdir@:*/:/
50565 s/^\([^=]*=[ ]*\):*/\1/
50566 s/:*$//
50567 s/^[^=]*=[ ]*$//
50568 }'
50569 fi
50570
50571 cat >>$CONFIG_STATUS <<\_ACEOF
50572 fi # test -n "$CONFIG_FILES"
50573
50574
50575 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50576 do
50577 case $ac_tag in
50578 :[FHLC]) ac_mode=$ac_tag; continue;;
50579 esac
50580 case $ac_mode$ac_tag in
50581 :[FHL]*:*);;
50582 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50583 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50584 { (exit 1); exit 1; }; };;
50585 :[FH]-) ac_tag=-:-;;
50586 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50587 esac
50588 ac_save_IFS=$IFS
50589 IFS=:
50590 set x $ac_tag
50591 IFS=$ac_save_IFS
50592 shift
50593 ac_file=$1
50594 shift
50595
50596 case $ac_mode in
50597 :L) ac_source=$1;;
50598 :[FH])
50599 ac_file_inputs=
50600 for ac_f
50601 do
50602 case $ac_f in
50603 -) ac_f="$tmp/stdin";;
50604 *) # Look for the file first in the build tree, then in the source tree
50605 # (if the path is not absolute). The absolute path cannot be DOS-style,
50606 # because $ac_f cannot contain `:'.
50607 test -f "$ac_f" ||
50608 case $ac_f in
50609 [\\/$]*) false;;
50610 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50611 esac ||
50612 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50613 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50614 { (exit 1); exit 1; }; };;
50615 esac
50616 ac_file_inputs="$ac_file_inputs $ac_f"
50617 done
50618
50619 # Let's still pretend it is `configure' which instantiates (i.e., don't
50620 # use $as_me), people would be surprised to read:
50621 # /* config.h. Generated by config.status. */
50622 configure_input="Generated from "`IFS=:
50623 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50624 if test x"$ac_file" != x-; then
50625 configure_input="$ac_file. $configure_input"
50626 { echo "$as_me:$LINENO: creating $ac_file" >&5
50627 echo "$as_me: creating $ac_file" >&6;}
50628 fi
50629
50630 case $ac_tag in
50631 *:-:* | *:-) cat >"$tmp/stdin";;
50632 esac
50633 ;;
50634 esac
50635
50636 ac_dir=`$as_dirname -- "$ac_file" ||
50637 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50638 X"$ac_file" : 'X\(//\)[^/]' \| \
50639 X"$ac_file" : 'X\(//\)$' \| \
50640 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50641 echo X"$ac_file" |
50642 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50643 s//\1/
50644 q
50645 }
50646 /^X\(\/\/\)[^/].*/{
50647 s//\1/
50648 q
50649 }
50650 /^X\(\/\/\)$/{
50651 s//\1/
50652 q
50653 }
50654 /^X\(\/\).*/{
50655 s//\1/
50656 q
50657 }
50658 s/.*/./; q'`
50659 { as_dir="$ac_dir"
50660 case $as_dir in #(
50661 -*) as_dir=./$as_dir;;
50662 esac
50663 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50664 as_dirs=
50665 while :; do
50666 case $as_dir in #(
50667 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50668 *) as_qdir=$as_dir;;
50669 esac
50670 as_dirs="'$as_qdir' $as_dirs"
50671 as_dir=`$as_dirname -- "$as_dir" ||
50672 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50673 X"$as_dir" : 'X\(//\)[^/]' \| \
50674 X"$as_dir" : 'X\(//\)$' \| \
50675 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50676 echo X"$as_dir" |
50677 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50678 s//\1/
50679 q
50680 }
50681 /^X\(\/\/\)[^/].*/{
50682 s//\1/
50683 q
50684 }
50685 /^X\(\/\/\)$/{
50686 s//\1/
50687 q
50688 }
50689 /^X\(\/\).*/{
50690 s//\1/
50691 q
50692 }
50693 s/.*/./; q'`
50694 test -d "$as_dir" && break
50695 done
50696 test -z "$as_dirs" || eval "mkdir $as_dirs"
50697 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50698 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50699 { (exit 1); exit 1; }; }; }
50700 ac_builddir=.
50701
50702 case "$ac_dir" in
50703 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50704 *)
50705 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50706 # A ".." for each directory in $ac_dir_suffix.
50707 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50708 case $ac_top_builddir_sub in
50709 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50710 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50711 esac ;;
50712 esac
50713 ac_abs_top_builddir=$ac_pwd
50714 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50715 # for backward compatibility:
50716 ac_top_builddir=$ac_top_build_prefix
50717
50718 case $srcdir in
50719 .) # We are building in place.
50720 ac_srcdir=.
50721 ac_top_srcdir=$ac_top_builddir_sub
50722 ac_abs_top_srcdir=$ac_pwd ;;
50723 [\\/]* | ?:[\\/]* ) # Absolute name.
50724 ac_srcdir=$srcdir$ac_dir_suffix;
50725 ac_top_srcdir=$srcdir
50726 ac_abs_top_srcdir=$srcdir ;;
50727 *) # Relative name.
50728 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50729 ac_top_srcdir=$ac_top_build_prefix$srcdir
50730 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50731 esac
50732 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50733
50734
50735 case $ac_mode in
50736 :F)
50737 #
50738 # CONFIG_FILE
50739 #
50740
50741 case $INSTALL in
50742 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50743 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50744 esac
50745 _ACEOF
50746
50747 cat >>$CONFIG_STATUS <<\_ACEOF
50748 # If the template does not know about datarootdir, expand it.
50749 # FIXME: This hack should be removed a few years after 2.60.
50750 ac_datarootdir_hack=; ac_datarootdir_seen=
50751
50752 case `sed -n '/datarootdir/ {
50753 p
50754 q
50755 }
50756 /@datadir@/p
50757 /@docdir@/p
50758 /@infodir@/p
50759 /@localedir@/p
50760 /@mandir@/p
50761 ' $ac_file_inputs` in
50762 *datarootdir*) ac_datarootdir_seen=yes;;
50763 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50764 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50765 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50766 _ACEOF
50767 cat >>$CONFIG_STATUS <<_ACEOF
50768 ac_datarootdir_hack='
50769 s&@datadir@&$datadir&g
50770 s&@docdir@&$docdir&g
50771 s&@infodir@&$infodir&g
50772 s&@localedir@&$localedir&g
50773 s&@mandir@&$mandir&g
50774 s&\\\${datarootdir}&$datarootdir&g' ;;
50775 esac
50776 _ACEOF
50777
50778 # Neutralize VPATH when `$srcdir' = `.'.
50779 # Shell code in configure.ac might set extrasub.
50780 # FIXME: do we really want to maintain this feature?
50781 cat >>$CONFIG_STATUS <<_ACEOF
50782 sed "$ac_vpsub
50783 $extrasub
50784 _ACEOF
50785 cat >>$CONFIG_STATUS <<\_ACEOF
50786 :t
50787 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50788 s&@configure_input@&$configure_input&;t t
50789 s&@top_builddir@&$ac_top_builddir_sub&;t t
50790 s&@srcdir@&$ac_srcdir&;t t
50791 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50792 s&@top_srcdir@&$ac_top_srcdir&;t t
50793 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50794 s&@builddir@&$ac_builddir&;t t
50795 s&@abs_builddir@&$ac_abs_builddir&;t t
50796 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50797 s&@INSTALL@&$ac_INSTALL&;t t
50798 $ac_datarootdir_hack
50799 " $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
50800
50801 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50802 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50803 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50804 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50805 which seems to be undefined. Please make sure it is defined." >&5
50806 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50807 which seems to be undefined. Please make sure it is defined." >&2;}
50808
50809 rm -f "$tmp/stdin"
50810 case $ac_file in
50811 -) cat "$tmp/out"; rm -f "$tmp/out";;
50812 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50813 esac
50814 ;;
50815 :H)
50816 #
50817 # CONFIG_HEADER
50818 #
50819 _ACEOF
50820
50821 # Transform confdefs.h into a sed script `conftest.defines', that
50822 # substitutes the proper values into config.h.in to produce config.h.
50823 rm -f conftest.defines conftest.tail
50824 # First, append a space to every undef/define line, to ease matching.
50825 echo 's/$/ /' >conftest.defines
50826 # Then, protect against being on the right side of a sed subst, or in
50827 # an unquoted here document, in config.status. If some macros were
50828 # called several times there might be several #defines for the same
50829 # symbol, which is useless. But do not sort them, since the last
50830 # AC_DEFINE must be honored.
50831 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50832 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50833 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50834 # PARAMS is the parameter list in the macro definition--in most cases, it's
50835 # just an empty string.
50836 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50837 ac_dB='\\)[ (].*,\\1define\\2'
50838 ac_dC=' '
50839 ac_dD=' ,'
50840
50841 uniq confdefs.h |
50842 sed -n '
50843 t rset
50844 :rset
50845 s/^[ ]*#[ ]*define[ ][ ]*//
50846 t ok
50847 d
50848 :ok
50849 s/[\\&,]/\\&/g
50850 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50851 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50852 ' >>conftest.defines
50853
50854 # Remove the space that was appended to ease matching.
50855 # Then replace #undef with comments. This is necessary, for
50856 # example, in the case of _POSIX_SOURCE, which is predefined and required
50857 # on some systems where configure will not decide to define it.
50858 # (The regexp can be short, since the line contains either #define or #undef.)
50859 echo 's/ $//
50860 s,^[ #]*u.*,/* & */,' >>conftest.defines
50861
50862 # Break up conftest.defines:
50863 ac_max_sed_lines=50
50864
50865 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50866 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50867 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50868 # et cetera.
50869 ac_in='$ac_file_inputs'
50870 ac_out='"$tmp/out1"'
50871 ac_nxt='"$tmp/out2"'
50872
50873 while :
50874 do
50875 # Write a here document:
50876 cat >>$CONFIG_STATUS <<_ACEOF
50877 # First, check the format of the line:
50878 cat >"\$tmp/defines.sed" <<\\CEOF
50879 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50880 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50881 b
50882 :def
50883 _ACEOF
50884 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50885 echo 'CEOF
50886 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50887 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50888 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50889 grep . conftest.tail >/dev/null || break
50890 rm -f conftest.defines
50891 mv conftest.tail conftest.defines
50892 done
50893 rm -f conftest.defines conftest.tail
50894
50895 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50896 cat >>$CONFIG_STATUS <<\_ACEOF
50897 if test x"$ac_file" != x-; then
50898 echo "/* $configure_input */" >"$tmp/config.h"
50899 cat "$ac_result" >>"$tmp/config.h"
50900 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50901 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50902 echo "$as_me: $ac_file is unchanged" >&6;}
50903 else
50904 rm -f $ac_file
50905 mv "$tmp/config.h" $ac_file
50906 fi
50907 else
50908 echo "/* $configure_input */"
50909 cat "$ac_result"
50910 fi
50911 rm -f "$tmp/out12"
50912 ;;
50913
50914 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50915 echo "$as_me: executing $ac_file commands" >&6;}
50916 ;;
50917 esac
50918
50919
50920 case $ac_file$ac_mode in
50921 "rcdefs.h":C)
50922 mkdir -p $outdir &&
50923 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50924 ;;
50925 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50926 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50927 "wx-config":C) rm -f wx-config
50928 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50929 ;;
50930
50931 esac
50932 done # for ac_tag
50933
50934
50935 { (exit 0); exit 0; }
50936 _ACEOF
50937 chmod +x $CONFIG_STATUS
50938 ac_clean_files=$ac_clean_files_save
50939
50940
50941 # configure is writing to config.log, and then calls config.status.
50942 # config.status does its own redirection, appending to config.log.
50943 # Unfortunately, on DOS this fails, as config.log is still kept open
50944 # by configure, so config.status won't be able to write to it; its
50945 # output is simply discarded. So we exec the FD to /dev/null,
50946 # effectively closing config.log, so it can be properly (re)opened and
50947 # appended to by config.status. When coming back to configure, we
50948 # need to make the FD available again.
50949 if test "$no_create" != yes; then
50950 ac_cs_success=:
50951 ac_config_status_args=
50952 test "$silent" = yes &&
50953 ac_config_status_args="$ac_config_status_args --quiet"
50954 exec 5>/dev/null
50955 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50956 exec 5>>config.log
50957 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50958 # would make configure fail if this is the last instruction.
50959 $ac_cs_success || { (exit 1); exit 1; }
50960 fi
50961
50962 #
50963 # CONFIG_SUBDIRS section.
50964 #
50965 if test "$no_recursion" != yes; then
50966
50967 # Remove --cache-file and --srcdir arguments so they do not pile up.
50968 ac_sub_configure_args=
50969 ac_prev=
50970 eval "set x $ac_configure_args"
50971 shift
50972 for ac_arg
50973 do
50974 if test -n "$ac_prev"; then
50975 ac_prev=
50976 continue
50977 fi
50978 case $ac_arg in
50979 -cache-file | --cache-file | --cache-fil | --cache-fi \
50980 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50981 ac_prev=cache_file ;;
50982 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50983 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50984 | --c=*)
50985 ;;
50986 --config-cache | -C)
50987 ;;
50988 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50989 ac_prev=srcdir ;;
50990 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50991 ;;
50992 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50993 ac_prev=prefix ;;
50994 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50995 ;;
50996 *)
50997 case $ac_arg in
50998 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50999 esac
51000 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
51001 esac
51002 done
51003
51004 # Always prepend --prefix to ensure using the same prefix
51005 # in subdir configurations.
51006 ac_arg="--prefix=$prefix"
51007 case $ac_arg in
51008 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
51009 esac
51010 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
51011
51012 # Pass --silent
51013 if test "$silent" = yes; then
51014 ac_sub_configure_args="--silent $ac_sub_configure_args"
51015 fi
51016
51017 ac_popdir=`pwd`
51018 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
51019
51020 # Do not complain, so a configure script can configure whichever
51021 # parts of a large source tree are present.
51022 test -d "$srcdir/$ac_dir" || continue
51023
51024 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
51025 echo "$as_me:$LINENO: $ac_msg" >&5
51026 echo "$ac_msg" >&6
51027 { as_dir="$ac_dir"
51028 case $as_dir in #(
51029 -*) as_dir=./$as_dir;;
51030 esac
51031 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
51032 as_dirs=
51033 while :; do
51034 case $as_dir in #(
51035 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
51036 *) as_qdir=$as_dir;;
51037 esac
51038 as_dirs="'$as_qdir' $as_dirs"
51039 as_dir=`$as_dirname -- "$as_dir" ||
51040 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
51041 X"$as_dir" : 'X\(//\)[^/]' \| \
51042 X"$as_dir" : 'X\(//\)$' \| \
51043 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
51044 echo X"$as_dir" |
51045 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
51046 s//\1/
51047 q
51048 }
51049 /^X\(\/\/\)[^/].*/{
51050 s//\1/
51051 q
51052 }
51053 /^X\(\/\/\)$/{
51054 s//\1/
51055 q
51056 }
51057 /^X\(\/\).*/{
51058 s//\1/
51059 q
51060 }
51061 s/.*/./; q'`
51062 test -d "$as_dir" && break
51063 done
51064 test -z "$as_dirs" || eval "mkdir $as_dirs"
51065 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
51066 echo "$as_me: error: cannot create directory $as_dir" >&2;}
51067 { (exit 1); exit 1; }; }; }
51068 ac_builddir=.
51069
51070 case "$ac_dir" in
51071 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
51072 *)
51073 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
51074 # A ".." for each directory in $ac_dir_suffix.
51075 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
51076 case $ac_top_builddir_sub in
51077 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
51078 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
51079 esac ;;
51080 esac
51081 ac_abs_top_builddir=$ac_pwd
51082 ac_abs_builddir=$ac_pwd$ac_dir_suffix
51083 # for backward compatibility:
51084 ac_top_builddir=$ac_top_build_prefix
51085
51086 case $srcdir in
51087 .) # We are building in place.
51088 ac_srcdir=.
51089 ac_top_srcdir=$ac_top_builddir_sub
51090 ac_abs_top_srcdir=$ac_pwd ;;
51091 [\\/]* | ?:[\\/]* ) # Absolute name.
51092 ac_srcdir=$srcdir$ac_dir_suffix;
51093 ac_top_srcdir=$srcdir
51094 ac_abs_top_srcdir=$srcdir ;;
51095 *) # Relative name.
51096 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
51097 ac_top_srcdir=$ac_top_build_prefix$srcdir
51098 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
51099 esac
51100 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
51101
51102
51103 cd "$ac_dir"
51104
51105 # Check for guested configure; otherwise get Cygnus style configure.
51106 if test -f "$ac_srcdir/configure.gnu"; then
51107 ac_sub_configure=$ac_srcdir/configure.gnu
51108 elif test -f "$ac_srcdir/configure"; then
51109 ac_sub_configure=$ac_srcdir/configure
51110 elif test -f "$ac_srcdir/configure.in"; then
51111 # This should be Cygnus configure.
51112 ac_sub_configure=$ac_aux_dir/configure
51113 else
51114 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
51115 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
51116 ac_sub_configure=
51117 fi
51118
51119 # The recursion is here.
51120 if test -n "$ac_sub_configure"; then
51121 # Make the cache file name correct relative to the subdirectory.
51122 case $cache_file in
51123 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
51124 *) # Relative name.
51125 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
51126 esac
51127
51128 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
51129 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
51130 # The eval makes quoting arguments work.
51131 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
51132 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
51133 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
51134 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
51135 { (exit 1); exit 1; }; }
51136 fi
51137
51138 cd "$ac_popdir"
51139 done
51140 fi
51141
51142
51143 echo
51144 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
51145 echo ""
51146 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
51147 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
51148
51149 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
51150 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
51151 echo -n " Should wxWidgets support Unicode? ${wxUSE_UNICODE:-no}"
51152 if test "$wxUSE_UNICODE" = "yes"; then
51153 if test "$wxUSE_UNICODE_UTF8" = "yes"; then
51154 echo " (using UTF-8)"
51155 else
51156 echo " (using wchar_t)"
51157 fi
51158 else
51159 echo
51160 fi
51161
51162 echo " What level of wxWidgets compatibility should be enabled?"
51163 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
51164 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
51165
51166 echo " Which libraries should wxWidgets use?"
51167 echo " jpeg ${wxUSE_LIBJPEG-none}"
51168 echo " png ${wxUSE_LIBPNG-none}"
51169 echo " regex ${wxUSE_REGEX}"
51170 echo " tiff ${wxUSE_LIBTIFF-none}"
51171 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
51172 echo " xpm ${wxUSE_LIBXPM-none}"
51173 fi
51174 echo " zlib ${wxUSE_ZLIB}"
51175 echo " odbc ${wxUSE_ODBC}"
51176 echo " expat ${wxUSE_EXPAT}"
51177 echo " libmspack ${wxUSE_LIBMSPACK}"
51178 echo " sdl ${wxUSE_LIBSDL}"
51179
51180 echo ""
51181