]> git.saurik.com Git - wxWidgets.git/blob - configure
add GetOwner() documentation
[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 EXTRALIBS
744 EXTRALIBS_XML
745 EXTRALIBS_HTML
746 EXTRALIBS_ODBC
747 EXTRALIBS_GUI
748 EXTRALIBS_OPENGL
749 EXTRALIBS_SDL
750 WITH_PLUGIN_SDL
751 EXTRALIBS_GNOMEPRINT
752 EXTRALIBS_GNOMEVFS
753 EXTRALIBS_HILDON
754 UNICODE
755 BUILD
756 DEBUG_INFO
757 DEBUG_FLAG
758 TOOLKIT_LOWERCASE
759 TOOLKIT_VERSION
760 SAMPLES_RPATH_FLAG
761 SAMPLES_RPATH_POSTLINK
762 HOST_SUFFIX
763 CPPUNIT_CFLAGS
764 CPPUNIT_LIBS
765 SET_MAKE
766 MAKE_SET
767 AROPTIONS
768 NM
769 INSTALL_DIR
770 LDFLAGS_GUI
771 PLATFORM_UNIX
772 PLATFORM_WIN32
773 PLATFORM_MSDOS
774 PLATFORM_MAC
775 PLATFORM_MACOS
776 PLATFORM_MACOSX
777 PLATFORM_OS2
778 PLATFORM_BEOS
779 SO_SUFFIX
780 SO_SUFFIX_MODULE
781 DLLIMP_SUFFIX
782 LIBPREFIX
783 LIBEXT
784 DLLPREFIX
785 DLLPREFIX_MODULE
786 dlldir
787 AIX_CXX_LD
788 SHARED_LD_CC
789 SHARED_LD_CXX
790 SHARED_LD_MODULE_CC
791 SHARED_LD_MODULE_CXX
792 PIC_FLAG
793 WINDOWS_IMPLIB
794 USE_SOVERSION
795 USE_SOVERLINUX
796 USE_SOVERSOLARIS
797 USE_SOVERCYGWIN
798 USE_MACVERSION
799 USE_SOSYMLINKS
800 SONAME_FLAG
801 DEPS_TRACKING
802 BK_DEPS
803 GCC_PCH
804 ICC_PCH
805 BK_MAKE_PCH
806 COND_BUILD_DEBUG
807 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT
808 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT
809 COND_BUILD_DEBUG_UNICODE_0
810 COND_BUILD_DEBUG_UNICODE_1
811 COND_BUILD_RELEASE
812 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT
813 COND_BUILD_RELEASE_UNICODE_0
814 COND_BUILD_RELEASE_UNICODE_1
815 COND_DEBUG_FLAG_1
816 COND_DEBUG_INFO_0
817 COND_DEBUG_INFO_1
818 COND_DEPS_TRACKING_0
819 COND_DEPS_TRACKING_1
820 COND_GCC_PCH_1
821 COND_ICC_PCH_1
822 COND_MONOLITHIC_0
823 COND_MONOLITHIC_0_SHARED_0
824 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1
825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1
826 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1
827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1
828 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1
829 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1
830 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1
831 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1
832 COND_MONOLITHIC_0_SHARED_0_USE_STC_1
833 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1
834 COND_MONOLITHIC_0_SHARED_1
835 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1
836 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1
837 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1
838 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1
839 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1
840 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1
841 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1
842 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1
843 COND_MONOLITHIC_0_SHARED_1_USE_STC_1
844 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1
845 COND_MONOLITHIC_0_USE_AUI_1
846 COND_MONOLITHIC_0_USE_GUI_1
847 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1
848 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1
849 COND_MONOLITHIC_0_USE_HTML_1
850 COND_MONOLITHIC_0_USE_MEDIA_1
851 COND_MONOLITHIC_0_USE_ODBC_1
852 COND_MONOLITHIC_0_USE_QA_1
853 COND_MONOLITHIC_0_USE_RICHTEXT_1
854 COND_MONOLITHIC_0_USE_STC_1
855 COND_MONOLITHIC_0_USE_XRC_1
856 COND_MONOLITHIC_1
857 COND_MONOLITHIC_1_SHARED_0
858 COND_MONOLITHIC_1_SHARED_1
859 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1
860 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1
861 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1
862 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1
863 COND_PLATFORM_MACOSX_1
864 COND_PLATFORM_MACOSX_1_TOOLKIT_
865 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA
866 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK
867 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC
868 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1
869 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF
870 COND_PLATFORM_MACOSX_1_TOOLKIT_X11
871 COND_PLATFORM_MACOSX_1_USE_GUI_1
872 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1
873 COND_PLATFORM_MACOS_1
874 COND_PLATFORM_MAC_1
875 COND_PLATFORM_MSDOS_0
876 COND_PLATFORM_MSDOS_1
877 COND_PLATFORM_OS2_1
878 COND_PLATFORM_UNIX_0
879 COND_PLATFORM_UNIX_1
880 COND_PLATFORM_UNIX_1_TOOLKIT_MGL
881 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1
882 COND_PLATFORM_UNIX_1_USE_GUI_1
883 COND_PLATFORM_UNIX_1_USE_PLUGINS_0
884 COND_PLATFORM_WIN32_0
885 COND_PLATFORM_WIN32_1
886 COND_SHARED_0
887 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0
888 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0
889 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0
890 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1
891 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
892 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
893 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
894 COND_SHARED_0_USE_STC_1
895 COND_SHARED_0_USE_XRC_1
896 COND_SHARED_0_WXUSE_EXPAT_BUILTIN
897 COND_SHARED_0_WXUSE_ODBC_BUILTIN
898 COND_SHARED_0_WXUSE_REGEX_BUILTIN
899 COND_SHARED_0_WXUSE_ZLIB_BUILTIN
900 COND_SHARED_1
901 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1
902 COND_SHARED_1_USE_XRC_1
903 COND_TOOLKIT_
904 COND_TOOLKIT_COCOA
905 COND_TOOLKIT_COCOA_USE_GUI_1
906 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0
907 COND_TOOLKIT_DFB
908 COND_TOOLKIT_DFB_USE_GUI_1
909 COND_TOOLKIT_GTK
910 COND_TOOLKIT_GTK_TOOLKIT_VERSION_
911 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2
912 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1
913 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0
914 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1
915 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0
916 COND_TOOLKIT_GTK_USE_GUI_1
917 COND_TOOLKIT_MAC
918 COND_TOOLKIT_MAC_USE_GUI_1
919 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0
920 COND_TOOLKIT_MGL
921 COND_TOOLKIT_MGL_USE_GUI_1
922 COND_TOOLKIT_MOTIF
923 COND_TOOLKIT_MOTIF_USE_GUI_1
924 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0
925 COND_TOOLKIT_MSW
926 COND_TOOLKIT_MSW_USE_GUI_1
927 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0
928 COND_TOOLKIT_MSW_WXUNIV_0
929 COND_TOOLKIT_PM
930 COND_TOOLKIT_PM_USE_GUI_1
931 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0
932 COND_TOOLKIT_WINCE
933 COND_TOOLKIT_WINCE_USE_GUI_1
934 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0
935 COND_TOOLKIT_WINCE_WXUNIV_0
936 COND_TOOLKIT_X11
937 COND_TOOLKIT_X11_USE_GUI_1
938 COND_UNICODE_1
939 COND_USE_EXCEPTIONS_0
940 COND_USE_EXCEPTIONS_1
941 COND_USE_GUI_0
942 COND_USE_GUI_1
943 COND_USE_GUI_1_USE_OPENGL_1
944 COND_USE_GUI_1_WXUNIV_0
945 COND_USE_GUI_1_WXUNIV_1
946 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN
947 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN
948 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN
949 COND_USE_ODBC_1
950 COND_USE_OPENGL_1
951 COND_USE_PCH_1
952 COND_USE_PLUGINS_0
953 COND_USE_RTTI_0
954 COND_USE_RTTI_1
955 COND_USE_SOSYMLINKS_1
956 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1
957 COND_USE_SOVERLINUX_1
958 COND_USE_SOVERSION_0
959 COND_USE_SOVERSOLARIS_1
960 COND_USE_STC_1
961 COND_USE_THREADS_0
962 COND_USE_THREADS_1
963 COND_USE_XRC_1
964 COND_WINDOWS_IMPLIB_1
965 COND_WITH_PLUGIN_SDL_1
966 COND_WXUNIV_0
967 COND_WXUNIV_1
968 COND_WXUSE_EXPAT_BUILTIN
969 COND_WXUSE_LIBJPEG_BUILTIN
970 COND_WXUSE_LIBPNG_BUILTIN
971 COND_WXUSE_LIBTIFF_BUILTIN
972 COND_WXUSE_ODBC_BUILTIN
973 COND_WXUSE_REGEX_BUILTIN
974 COND_WXUSE_ZLIB_BUILTIN
975 SHARED
976 WX_LIBRARY_BASENAME_NOGUI
977 WX_LIBRARY_BASENAME_GUI
978 USE_GUI
979 AFMINSTALL
980 WIN32INSTALL
981 TOOLKIT
982 TOOLKIT_DIR
983 TOOLCHAIN_NAME
984 TOOLCHAIN_FULLNAME
985 cross_compiling
986 WIDGET_SET
987 WX_RELEASE
988 WX_VERSION
989 WX_SUBVERSION
990 WX_CHARTYPE
991 WX_DEBUGTYPE
992 WXCONFIG_CPPFLAGS
993 WXCONFIG_CFLAGS
994 WXCONFIG_CXXFLAGS
995 WXCONFIG_LIBS
996 WXCONFIG_RPATH
997 WXCONFIG_LDFLAGS_GUI
998 WXCONFIG_RESFLAGS
999 EXE_LINKER
1000 GUIDIST
1001 DISTDIR
1002 SAMPLES_SUBDIRS
1003 LDFLAGS_GL
1004 OPENGL_LIBS
1005 DMALLOC_LIBS
1006 WX_VERSION_TAG
1007 RESCOMP
1008 RESFLAGS
1009 RESPROGRAMOBJ
1010 WX_RESOURCES_MACOSX_ASCII
1011 WX_RESOURCES_MACOSX_DATA
1012 LIBWXMACRES
1013 POSTLINK_COMMAND
1014 MACSETFILE
1015 GCC
1016 CPPUNIT_CONFIG
1017 LIBOBJS
1018 LTLIBOBJS'
1019 ac_subst_files=''
1020 ac_precious_vars='build_alias
1021 host_alias
1022 target_alias
1023 CC
1024 CFLAGS
1025 LDFLAGS
1026 LIBS
1027 CPPFLAGS
1028 CPP
1029 CXX
1030 CXXFLAGS
1031 CCC
1032 PKG_CONFIG
1033 DIRECTFB_CFLAGS
1034 DIRECTFB_LIBS
1035 XMKMF
1036 PANGOX_CFLAGS
1037 PANGOX_LIBS
1038 PANGOFT2_CFLAGS
1039 PANGOFT2_LIBS
1040 PANGOXFT_CFLAGS
1041 PANGOXFT_LIBS
1042 LIBGNOMEPRINTUI_CFLAGS
1043 LIBGNOMEPRINTUI_LIBS
1044 GNOMEVFS_CFLAGS
1045 GNOMEVFS_LIBS
1046 HILDON_CFLAGS
1047 HILDON_LIBS
1048 CAIRO_CFLAGS
1049 CAIRO_LIBS
1050 GST_CFLAGS
1051 GST_LIBS'
1052 ac_subdirs_all='src/expat'
1053
1054 # Initialize some variables set by options.
1055 ac_init_help=
1056 ac_init_version=false
1057 # The variables have the same names as the options, with
1058 # dashes changed to underlines.
1059 cache_file=/dev/null
1060 exec_prefix=NONE
1061 no_create=
1062 no_recursion=
1063 prefix=NONE
1064 program_prefix=NONE
1065 program_suffix=NONE
1066 program_transform_name=s,x,x,
1067 silent=
1068 site=
1069 srcdir=
1070 verbose=
1071 x_includes=NONE
1072 x_libraries=NONE
1073
1074 # Installation directory options.
1075 # These are left unexpanded so users can "make install exec_prefix=/foo"
1076 # and all the variables that are supposed to be based on exec_prefix
1077 # by default will actually change.
1078 # Use braces instead of parens because sh, perl, etc. also accept them.
1079 # (The list follows the same order as the GNU Coding Standards.)
1080 bindir='${exec_prefix}/bin'
1081 sbindir='${exec_prefix}/sbin'
1082 libexecdir='${exec_prefix}/libexec'
1083 datarootdir='${prefix}/share'
1084 datadir='${datarootdir}'
1085 sysconfdir='${prefix}/etc'
1086 sharedstatedir='${prefix}/com'
1087 localstatedir='${prefix}/var'
1088 includedir='${prefix}/include'
1089 oldincludedir='/usr/include'
1090 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1091 infodir='${datarootdir}/info'
1092 htmldir='${docdir}'
1093 dvidir='${docdir}'
1094 pdfdir='${docdir}'
1095 psdir='${docdir}'
1096 libdir='${exec_prefix}/lib'
1097 localedir='${datarootdir}/locale'
1098 mandir='${datarootdir}/man'
1099
1100 ac_prev=
1101 ac_dashdash=
1102 for ac_option
1103 do
1104 # If the previous option needs an argument, assign it.
1105 if test -n "$ac_prev"; then
1106 eval $ac_prev=\$ac_option
1107 ac_prev=
1108 continue
1109 fi
1110
1111 case $ac_option in
1112 *=*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1113 *) ac_optarg=yes ;;
1114 esac
1115
1116 # Accept the important Cygnus configure options, so we can diagnose typos.
1117
1118 case $ac_dashdash$ac_option in
1119 --)
1120 ac_dashdash=yes ;;
1121
1122 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1123 ac_prev=bindir ;;
1124 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1125 bindir=$ac_optarg ;;
1126
1127 -build | --build | --buil | --bui | --bu)
1128 ac_prev=build_alias ;;
1129 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1130 build_alias=$ac_optarg ;;
1131
1132 -cache-file | --cache-file | --cache-fil | --cache-fi \
1133 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1134 ac_prev=cache_file ;;
1135 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1136 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1137 cache_file=$ac_optarg ;;
1138
1139 --config-cache | -C)
1140 cache_file=config.cache ;;
1141
1142 -datadir | --datadir | --datadi | --datad)
1143 ac_prev=datadir ;;
1144 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1145 datadir=$ac_optarg ;;
1146
1147 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1148 | --dataroo | --dataro | --datar)
1149 ac_prev=datarootdir ;;
1150 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1151 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1152 datarootdir=$ac_optarg ;;
1153
1154 -disable-* | --disable-*)
1155 ac_feature=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1156 # Reject names that are not valid shell variable names.
1157 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1158 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1159 { (exit 1); exit 1; }; }
1160 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1161 eval enable_$ac_feature=no ;;
1162
1163 -docdir | --docdir | --docdi | --doc | --do)
1164 ac_prev=docdir ;;
1165 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1166 docdir=$ac_optarg ;;
1167
1168 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1169 ac_prev=dvidir ;;
1170 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1171 dvidir=$ac_optarg ;;
1172
1173 -enable-* | --enable-*)
1174 ac_feature=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1175 # Reject names that are not valid shell variable names.
1176 expr "x$ac_feature" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1177 { echo "$as_me: error: invalid feature name: $ac_feature" >&2
1178 { (exit 1); exit 1; }; }
1179 ac_feature=`echo $ac_feature | sed 's/[-.]/_/g'`
1180 eval enable_$ac_feature=\$ac_optarg ;;
1181
1182 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1183 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1184 | --exec | --exe | --ex)
1185 ac_prev=exec_prefix ;;
1186 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1187 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1188 | --exec=* | --exe=* | --ex=*)
1189 exec_prefix=$ac_optarg ;;
1190
1191 -gas | --gas | --ga | --g)
1192 # Obsolete; use --with-gas.
1193 with_gas=yes ;;
1194
1195 -help | --help | --hel | --he | -h)
1196 ac_init_help=long ;;
1197 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1198 ac_init_help=recursive ;;
1199 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1200 ac_init_help=short ;;
1201
1202 -host | --host | --hos | --ho)
1203 ac_prev=host_alias ;;
1204 -host=* | --host=* | --hos=* | --ho=*)
1205 host_alias=$ac_optarg ;;
1206
1207 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1208 ac_prev=htmldir ;;
1209 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1210 | --ht=*)
1211 htmldir=$ac_optarg ;;
1212
1213 -includedir | --includedir | --includedi | --included | --include \
1214 | --includ | --inclu | --incl | --inc)
1215 ac_prev=includedir ;;
1216 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1217 | --includ=* | --inclu=* | --incl=* | --inc=*)
1218 includedir=$ac_optarg ;;
1219
1220 -infodir | --infodir | --infodi | --infod | --info | --inf)
1221 ac_prev=infodir ;;
1222 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1223 infodir=$ac_optarg ;;
1224
1225 -libdir | --libdir | --libdi | --libd)
1226 ac_prev=libdir ;;
1227 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1228 libdir=$ac_optarg ;;
1229
1230 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1231 | --libexe | --libex | --libe)
1232 ac_prev=libexecdir ;;
1233 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1234 | --libexe=* | --libex=* | --libe=*)
1235 libexecdir=$ac_optarg ;;
1236
1237 -localedir | --localedir | --localedi | --localed | --locale)
1238 ac_prev=localedir ;;
1239 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1240 localedir=$ac_optarg ;;
1241
1242 -localstatedir | --localstatedir | --localstatedi | --localstated \
1243 | --localstate | --localstat | --localsta | --localst | --locals)
1244 ac_prev=localstatedir ;;
1245 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1246 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1247 localstatedir=$ac_optarg ;;
1248
1249 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1250 ac_prev=mandir ;;
1251 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1252 mandir=$ac_optarg ;;
1253
1254 -nfp | --nfp | --nf)
1255 # Obsolete; use --without-fp.
1256 with_fp=no ;;
1257
1258 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1259 | --no-cr | --no-c | -n)
1260 no_create=yes ;;
1261
1262 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1263 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
1264 no_recursion=yes ;;
1265
1266 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
1267 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
1268 | --oldin | --oldi | --old | --ol | --o)
1269 ac_prev=oldincludedir ;;
1270 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
1271 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
1272 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
1273 oldincludedir=$ac_optarg ;;
1274
1275 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
1276 ac_prev=prefix ;;
1277 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
1278 prefix=$ac_optarg ;;
1279
1280 -program-prefix | --program-prefix | --program-prefi | --program-pref \
1281 | --program-pre | --program-pr | --program-p)
1282 ac_prev=program_prefix ;;
1283 -program-prefix=* | --program-prefix=* | --program-prefi=* \
1284 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
1285 program_prefix=$ac_optarg ;;
1286
1287 -program-suffix | --program-suffix | --program-suffi | --program-suff \
1288 | --program-suf | --program-su | --program-s)
1289 ac_prev=program_suffix ;;
1290 -program-suffix=* | --program-suffix=* | --program-suffi=* \
1291 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
1292 program_suffix=$ac_optarg ;;
1293
1294 -program-transform-name | --program-transform-name \
1295 | --program-transform-nam | --program-transform-na \
1296 | --program-transform-n | --program-transform- \
1297 | --program-transform | --program-transfor \
1298 | --program-transfo | --program-transf \
1299 | --program-trans | --program-tran \
1300 | --progr-tra | --program-tr | --program-t)
1301 ac_prev=program_transform_name ;;
1302 -program-transform-name=* | --program-transform-name=* \
1303 | --program-transform-nam=* | --program-transform-na=* \
1304 | --program-transform-n=* | --program-transform-=* \
1305 | --program-transform=* | --program-transfor=* \
1306 | --program-transfo=* | --program-transf=* \
1307 | --program-trans=* | --program-tran=* \
1308 | --progr-tra=* | --program-tr=* | --program-t=*)
1309 program_transform_name=$ac_optarg ;;
1310
1311 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
1312 ac_prev=pdfdir ;;
1313 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
1314 pdfdir=$ac_optarg ;;
1315
1316 -psdir | --psdir | --psdi | --psd | --ps)
1317 ac_prev=psdir ;;
1318 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
1319 psdir=$ac_optarg ;;
1320
1321 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
1322 | -silent | --silent | --silen | --sile | --sil)
1323 silent=yes ;;
1324
1325 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
1326 ac_prev=sbindir ;;
1327 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
1328 | --sbi=* | --sb=*)
1329 sbindir=$ac_optarg ;;
1330
1331 -sharedstatedir | --sharedstatedir | --sharedstatedi \
1332 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
1333 | --sharedst | --shareds | --shared | --share | --shar \
1334 | --sha | --sh)
1335 ac_prev=sharedstatedir ;;
1336 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
1337 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
1338 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
1339 | --sha=* | --sh=*)
1340 sharedstatedir=$ac_optarg ;;
1341
1342 -site | --site | --sit)
1343 ac_prev=site ;;
1344 -site=* | --site=* | --sit=*)
1345 site=$ac_optarg ;;
1346
1347 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
1348 ac_prev=srcdir ;;
1349 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
1350 srcdir=$ac_optarg ;;
1351
1352 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
1353 | --syscon | --sysco | --sysc | --sys | --sy)
1354 ac_prev=sysconfdir ;;
1355 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
1356 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
1357 sysconfdir=$ac_optarg ;;
1358
1359 -target | --target | --targe | --targ | --tar | --ta | --t)
1360 ac_prev=target_alias ;;
1361 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
1362 target_alias=$ac_optarg ;;
1363
1364 -v | -verbose | --verbose | --verbos | --verbo | --verb)
1365 verbose=yes ;;
1366
1367 -version | --version | --versio | --versi | --vers | -V)
1368 ac_init_version=: ;;
1369
1370 -with-* | --with-*)
1371 ac_package=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
1372 # Reject names that are not valid shell variable names.
1373 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1374 { echo "$as_me: error: invalid package name: $ac_package" >&2
1375 { (exit 1); exit 1; }; }
1376 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1377 eval with_$ac_package=\$ac_optarg ;;
1378
1379 -without-* | --without-*)
1380 ac_package=`expr "x$ac_option" : 'x-*without-\(.*\)'`
1381 # Reject names that are not valid shell variable names.
1382 expr "x$ac_package" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1383 { echo "$as_me: error: invalid package name: $ac_package" >&2
1384 { (exit 1); exit 1; }; }
1385 ac_package=`echo $ac_package | sed 's/[-.]/_/g'`
1386 eval with_$ac_package=no ;;
1387
1388 --x)
1389 # Obsolete; use --with-x.
1390 with_x=yes ;;
1391
1392 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
1393 | --x-incl | --x-inc | --x-in | --x-i)
1394 ac_prev=x_includes ;;
1395 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
1396 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
1397 x_includes=$ac_optarg ;;
1398
1399 -x-libraries | --x-libraries | --x-librarie | --x-librari \
1400 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
1401 ac_prev=x_libraries ;;
1402 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
1403 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
1404 x_libraries=$ac_optarg ;;
1405
1406 -*) { echo "$as_me: error: unrecognized option: $ac_option
1407 Try \`$0 --help' for more information." >&2
1408 { (exit 1); exit 1; }; }
1409 ;;
1410
1411 *=*)
1412 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
1413 # Reject names that are not valid shell variable names.
1414 expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null &&
1415 { echo "$as_me: error: invalid variable name: $ac_envvar" >&2
1416 { (exit 1); exit 1; }; }
1417 eval $ac_envvar=\$ac_optarg
1418 export $ac_envvar ;;
1419
1420 *)
1421 # FIXME: should be removed in autoconf 3.0.
1422 echo "$as_me: WARNING: you should use --build, --host, --target" >&2
1423 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
1424 echo "$as_me: WARNING: invalid host type: $ac_option" >&2
1425 : ${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}
1426 ;;
1427
1428 esac
1429 done
1430
1431 if test -n "$ac_prev"; then
1432 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
1433 { echo "$as_me: error: missing argument to $ac_option" >&2
1434 { (exit 1); exit 1; }; }
1435 fi
1436
1437 # Be sure to have absolute directory names.
1438 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
1439 datadir sysconfdir sharedstatedir localstatedir includedir \
1440 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
1441 libdir localedir mandir
1442 do
1443 eval ac_val=\$$ac_var
1444 case $ac_val in
1445 [\\/$]* | ?:[\\/]* ) continue;;
1446 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
1447 esac
1448 { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2
1449 { (exit 1); exit 1; }; }
1450 done
1451
1452 # There might be people who depend on the old broken behavior: `$host'
1453 # used to hold the argument of --host etc.
1454 # FIXME: To remove some day.
1455 build=$build_alias
1456 host=$host_alias
1457 target=$target_alias
1458
1459 # FIXME: To remove some day.
1460 if test "x$host_alias" != x; then
1461 if test "x$build_alias" = x; then
1462 cross_compiling=maybe
1463 echo "$as_me: WARNING: If you wanted to set the --build type, don't use --host.
1464 If a cross compiler is detected then cross compile mode will be used." >&2
1465 elif test "x$build_alias" != "x$host_alias"; then
1466 cross_compiling=yes
1467 fi
1468 fi
1469
1470 ac_tool_prefix=
1471 test -n "$host_alias" && ac_tool_prefix=$host_alias-
1472
1473 test "$silent" = yes && exec 6>/dev/null
1474
1475
1476 ac_pwd=`pwd` && test -n "$ac_pwd" &&
1477 ac_ls_di=`ls -di .` &&
1478 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
1479 { echo "$as_me: error: Working directory cannot be determined" >&2
1480 { (exit 1); exit 1; }; }
1481 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
1482 { echo "$as_me: error: pwd does not report name of working directory" >&2
1483 { (exit 1); exit 1; }; }
1484
1485
1486 # Find the source files, if location was not specified.
1487 if test -z "$srcdir"; then
1488 ac_srcdir_defaulted=yes
1489 # Try the directory containing this script, then the parent directory.
1490 ac_confdir=`$as_dirname -- "$0" ||
1491 $as_expr X"$0" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
1492 X"$0" : 'X\(//\)[^/]' \| \
1493 X"$0" : 'X\(//\)$' \| \
1494 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
1495 echo X"$0" |
1496 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
1497 s//\1/
1498 q
1499 }
1500 /^X\(\/\/\)[^/].*/{
1501 s//\1/
1502 q
1503 }
1504 /^X\(\/\/\)$/{
1505 s//\1/
1506 q
1507 }
1508 /^X\(\/\).*/{
1509 s//\1/
1510 q
1511 }
1512 s/.*/./; q'`
1513 srcdir=$ac_confdir
1514 if test ! -r "$srcdir/$ac_unique_file"; then
1515 srcdir=..
1516 fi
1517 else
1518 ac_srcdir_defaulted=no
1519 fi
1520 if test ! -r "$srcdir/$ac_unique_file"; then
1521 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
1522 { echo "$as_me: error: cannot find sources ($ac_unique_file) in $srcdir" >&2
1523 { (exit 1); exit 1; }; }
1524 fi
1525 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
1526 ac_abs_confdir=`(
1527 cd "$srcdir" && test -r "./$ac_unique_file" || { echo "$as_me: error: $ac_msg" >&2
1528 { (exit 1); exit 1; }; }
1529 pwd)`
1530 # When building in place, set srcdir=.
1531 if test "$ac_abs_confdir" = "$ac_pwd"; then
1532 srcdir=.
1533 fi
1534 # Remove unnecessary trailing slashes from srcdir.
1535 # Double slashes in file names in object file debugging info
1536 # mess up M-x gdb in Emacs.
1537 case $srcdir in
1538 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
1539 esac
1540 for ac_var in $ac_precious_vars; do
1541 eval ac_env_${ac_var}_set=\${${ac_var}+set}
1542 eval ac_env_${ac_var}_value=\$${ac_var}
1543 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
1544 eval ac_cv_env_${ac_var}_value=\$${ac_var}
1545 done
1546
1547 #
1548 # Report the --help message.
1549 #
1550 if test "$ac_init_help" = "long"; then
1551 # Omit some internal or obsolete options to make the list less imposing.
1552 # This message is too long to be a string in the A/UX 3.1 sh.
1553 cat <<_ACEOF
1554 \`configure' configures wxWidgets 2.9.0 to adapt to many kinds of systems.
1555
1556 Usage: $0 [OPTION]... [VAR=VALUE]...
1557
1558 To assign environment variables (e.g., CC, CFLAGS...), specify them as
1559 VAR=VALUE. See below for descriptions of some of the useful variables.
1560
1561 Defaults for the options are specified in brackets.
1562
1563 Configuration:
1564 -h, --help display this help and exit
1565 --help=short display options specific to this package
1566 --help=recursive display the short help of all the included packages
1567 -V, --version display version information and exit
1568 -q, --quiet, --silent do not print \`checking...' messages
1569 --cache-file=FILE cache test results in FILE [disabled]
1570 -C, --config-cache alias for \`--cache-file=config.cache'
1571 -n, --no-create do not create output files
1572 --srcdir=DIR find the sources in DIR [configure dir or \`..']
1573
1574 Installation directories:
1575 --prefix=PREFIX install architecture-independent files in PREFIX
1576 [$ac_default_prefix]
1577 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
1578 [PREFIX]
1579
1580 By default, \`make install' will install all the files in
1581 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
1582 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
1583 for instance \`--prefix=\$HOME'.
1584
1585 For better control, use the options below.
1586
1587 Fine tuning of the installation directories:
1588 --bindir=DIR user executables [EPREFIX/bin]
1589 --sbindir=DIR system admin executables [EPREFIX/sbin]
1590 --libexecdir=DIR program executables [EPREFIX/libexec]
1591 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
1592 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
1593 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
1594 --libdir=DIR object code libraries [EPREFIX/lib]
1595 --includedir=DIR C header files [PREFIX/include]
1596 --oldincludedir=DIR C header files for non-gcc [/usr/include]
1597 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
1598 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
1599 --infodir=DIR info documentation [DATAROOTDIR/info]
1600 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
1601 --mandir=DIR man documentation [DATAROOTDIR/man]
1602 --docdir=DIR documentation root [DATAROOTDIR/doc/wxwidgets]
1603 --htmldir=DIR html documentation [DOCDIR]
1604 --dvidir=DIR dvi documentation [DOCDIR]
1605 --pdfdir=DIR pdf documentation [DOCDIR]
1606 --psdir=DIR ps documentation [DOCDIR]
1607 _ACEOF
1608
1609 cat <<\_ACEOF
1610
1611 X features:
1612 --x-includes=DIR X include files are in DIR
1613 --x-libraries=DIR X library files are in DIR
1614
1615 System types:
1616 --build=BUILD configure for building on BUILD [guessed]
1617 --host=HOST cross-compile to build programs to run on HOST [BUILD]
1618 --target=TARGET configure for building compilers for TARGET [HOST]
1619 _ACEOF
1620 fi
1621
1622 if test -n "$ac_init_help"; then
1623 case $ac_init_help in
1624 short | recursive ) echo "Configuration of wxWidgets 2.9.0:";;
1625 esac
1626 cat <<\_ACEOF
1627
1628 Optional Features:
1629 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
1630 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
1631 --enable-gui use GUI classes
1632 --enable-monolithic build wxWidgets as single library
1633 --enable-plugins build parts of wxWidgets as loadable components
1634 --enable-universal use wxWidgets GUI controls instead of native ones
1635 --enable-nanox use NanoX
1636 --disable-gtk2 use GTK+ 1.2 instead of 2.0
1637 --enable-gpe use GNOME PDA Environment features if possible
1638 --enable-shared create shared library code
1639 --enable-optimise create optimised code
1640 --enable-debug same as debug_flag and debug_info
1641 --enable-stl use STL for containers
1642 --enable-omf use OMF object format
1643 --enable-debug_flag set __WXDEBUG__ flag (recommended for developers!)
1644 --enable-debug_info create code with debugging information
1645 --enable-debug_gdb create code with extra GDB debugging information
1646 --enable-debug_cntxt use wxDebugContext
1647 --enable-mem_tracing create code with memory tracing
1648 --enable-profile create code with profiling information
1649 --enable-no_rtti create code without RTTI information
1650 --enable-no_exceptions create code without C++ exceptions handling
1651 --enable-permissive compile code disregarding strict ANSI
1652 --enable-no_deps create code without dependency information
1653 --disable-vararg_macros don't use vararg macros, even if they are supported
1654 --enable-universal_binary[=SDK] create Mac PowerPC and Intel Universal binary (not yet working)
1655 --enable-compat26 enable wxWidgets 2.6 compatibility
1656 --disable-compat28 disable wxWidgets 2.8 compatibility
1657 --disable-rpath disable use of rpath for uninstalled builds
1658 --enable-intl use internationalization system
1659 --enable-config use wxConfig (and derived) classes
1660 --enable-protocols use wxProtocol and derived classes
1661 --enable-ftp use wxFTP (requires wxProtocol
1662 --enable-http use wxHTTP (requires wxProtocol
1663 --enable-fileproto use wxFileProto class (requires wxProtocol
1664 --enable-sockets use socket/network classes
1665 --enable-ole use OLE classes (Win32 only)
1666 --enable-dataobj use data object classes
1667 --enable-ipc use interprocess communication (wxSocket etc.)
1668 --enable-apple_ieee use the Apple IEEE codec
1669 --enable-arcstream use wxArchive streams
1670 --enable-backtrace use wxStackWalker class for getting backtraces
1671 --enable-catch_segvs catch signals in wxApp::OnFatalException (Unix only)
1672 --enable-cmdline use wxCmdLineParser class
1673 --enable-datetime use wxDateTime class
1674 --enable-debugreport use wxDebugReport class
1675 --enable-dialupman use dialup network classes
1676 --enable-dynlib use wxLibrary class for DLL loading
1677 --enable-dynamicloader use (new) wxDynamicLibrary class
1678 --enable-exceptions build exception-safe library
1679 --enable-ffile use wxFFile class
1680 --enable-file use wxFile class
1681 --enable-filesystem use virtual file systems classes
1682 --enable-fontmap use font encodings conversion classes
1683 --enable-fs_archive use virtual archive filesystems
1684 --enable-fs_inet use virtual HTTP/FTP filesystems
1685 --enable-fs_zip now replaced by fs_archive
1686 --enable-geometry use geometry class
1687 --enable-log use logging system
1688 --enable-longlong use wxLongLong class
1689 --enable-mimetype use wxMimeTypesManager
1690 --enable-mslu use MS Layer for Unicode on Windows 9x (Win32 only)
1691 --enable-snglinst use wxSingleInstanceChecker class
1692 --enable-std_iostreams use standard C++ stream classes
1693 --enable-std_string use standard C++ string classes
1694 --enable-stdpaths use wxStandardPaths class
1695 --enable-stopwatch use wxStopWatch class
1696 --enable-streams use wxStream etc classes
1697 --enable-sysoptions use wxSystemOptions
1698 --enable-tarstream use wxTar streams
1699 --enable-textbuf use wxTextBuffer class
1700 --enable-textfile use wxTextFile class
1701 --enable-timer use wxTimer class
1702 --enable-unicode compile wxString with Unicode support
1703 --enable-sound use wxSound class
1704 --enable-mediactrl use wxMediaCtrl class
1705 --enable-gstreamer8 force GStreamer 0.8 instead of 0.10 with the wxMediaCtrl class on unix
1706 --enable-printfposparam use wxVsnprintf() which supports positional parameters
1707 --enable-zipstream use wxZip streams
1708 --enable-url use wxURL class
1709 --enable-variant use wxVariant class
1710 --enable-protocol use wxProtocol class
1711 --enable-protocol-http HTTP support in wxProtocol
1712 --enable-protocol-ftp FTP support in wxProtocol
1713 --enable-protocol-file FILE support in wxProtocol
1714 --enable-threads use threads
1715 --enable-docview use document view architecture
1716 --enable-help use help subsystem
1717 --enable-mshtmlhelp use MS HTML Help (win32)
1718 --enable-html use wxHTML sub-library
1719 --enable-htmlhelp use wxHTML-based help
1720 --enable-xrc use XRC resources sub-library
1721 --enable-aui use AUI docking library
1722 --enable-stc use wxStyledTextCtrl library
1723 --enable-constraints use layout-constraints system
1724 --enable-printarch use printing architecture
1725 --enable-mdi use multiple document interface architecture
1726 --enable-mdidoc use docview architecture with MDI
1727 --enable-loggui use standard GUI logger
1728 --enable-logwin use wxLogWindow
1729 --enable-logdialog use wxLogDialog
1730 --enable-webkit use wxWebKitCtrl (Mac)
1731 --enable-richtext use wxRichTextCtrl
1732 --enable-graphics_ctx use graphics context 2D drawing API
1733 --enable-postscript use wxPostscriptDC device context (default for gtk+)
1734 --enable-clipboard use wxClipboard class
1735 --enable-dnd use Drag'n'Drop classes
1736 --enable-metafile use win32 metafiles
1737 --enable-controls use all usual controls
1738 --enable-accel use accelerators
1739 --enable-animatectrl use wxAnimationCtrl class
1740 --enable-button use wxButton class
1741 --enable-bmpbutton use wxBitmapButton class
1742 --enable-bmpcombobox use wxBitmapComboBox class
1743 --enable-calendar use wxCalendarCtrl class
1744 --enable-caret use wxCaret class
1745 --enable-checkbox use wxCheckBox class
1746 --enable-checklst use wxCheckListBox (listbox with checkboxes) class
1747 --enable-choice use wxChoice class
1748 --enable-choicebook use wxChoicebook class
1749 --enable-collpane use wxCollapsiblePane class
1750 --enable-colourpicker use wxColourPickerCtrl class
1751 --enable-combobox use wxComboBox class
1752 --enable-comboctrl use wxComboCtrl class
1753 --enable-datepick use wxDatePickerCtrl class
1754 --enable-dirpicker use wxDirPickerCtrl class
1755 --enable-display use wxDisplay class
1756 --enable-detect_sm use code to detect X11 session manager
1757 --enable-filepicker use wxFilePickerCtrl class
1758 --enable-fontpicker use wxFontPickerCtrl class
1759 --enable-gauge use wxGauge class
1760 --enable-grid use wxGrid class
1761 --enable-dataviewctrl use wxDataViewCtrl class
1762 --enable-hyperlink use wxHyperlinkCtrl class
1763 --enable-imaglist use wxImageList class
1764 --enable-listbook use wxListbook class
1765 --enable-listbox use wxListBox class
1766 --enable-listctrl use wxListCtrl class
1767 --enable-notebook use wxNotebook class
1768 --enable-odcombobox use wxOwnerDrawnComboBox class
1769 --enable-radiobox use wxRadioBox class
1770 --enable-radiobtn use wxRadioButton class
1771 --enable-sash use wxSashWindow class
1772 --enable-scrollbar use wxScrollBar class and scrollable windows
1773 --enable-searchctrl use wxSearchCtrl class
1774 --enable-slider use wxSlider class
1775 --enable-spinbtn use wxSpinButton class
1776 --enable-spinctrl use wxSpinCtrl class
1777 --enable-splitter use wxSplitterWindow class
1778 --enable-statbmp use wxStaticBitmap class
1779 --enable-statbox use wxStaticBox class
1780 --enable-statline use wxStaticLine class
1781 --enable-stattext use wxStaticText class
1782 --enable-statusbar use wxStatusBar class
1783 --enable-tabdialog use wxTabControl class
1784 --enable-textctrl use wxTextCtrl class
1785 --enable-togglebtn use wxToggleButton class
1786 --enable-toolbar use wxToolBar class
1787 --enable-tbarnative use native wxToolBar class
1788 --enable-treebook use wxTreebook class
1789 --enable-toolbook use wxToolbook class
1790 --enable-treectrl use wxTreeCtrl class
1791 --enable-tipwindow use wxTipWindow class
1792 --enable-popupwin use wxPopUpWindow class
1793 --enable-commondlg use all common dialogs
1794 --enable-aboutdlg use wxAboutBox
1795 --enable-choicedlg use wxChoiceDialog
1796 --enable-coldlg use wxColourDialog
1797 --enable-filedlg use wxFileDialog
1798 --enable-finddlg use wxFindReplaceDialog
1799 --enable-fontdlg use wxFontDialog
1800 --enable-dirdlg use wxDirDialog
1801 --enable-msgdlg use wxMessageDialog
1802 --enable-numberdlg use wxNumberEntryDialog
1803 --enable-splash use wxSplashScreen
1804 --enable-textdlg use wxTextDialog
1805 --enable-tipdlg use startup tips
1806 --enable-progressdlg use wxProgressDialog
1807 --enable-wizarddlg use wxWizard
1808 --enable-menus use wxMenu/wxMenuBar/wxMenuItem classes
1809 --enable-miniframe use wxMiniFrame class
1810 --enable-tooltips use wxToolTip class
1811 --enable-splines use spline drawing code
1812 --enable-mousewheel use mousewheel
1813 --enable-validators use wxValidator and derived classes
1814 --enable-busyinfo use wxBusyInfo
1815 --enable-joystick use wxJoystick
1816 --enable-metafiles use wxMetaFile (Win32 only)
1817 --enable-dragimage use wxDragImage
1818 --enable-accessibility enable accessibility support
1819 --enable-dccache cache temporary wxDC objects (Win32 only)
1820 --enable-palette use wxPalette class
1821 --enable-image use wxImage class
1822 --enable-gif use gif images (GIF file format)
1823 --enable-pcx use pcx images (PCX file format)
1824 --enable-tga use tga images (TGA file format)
1825 --enable-iff use iff images (IFF file format)
1826 --enable-pnm use pnm images (PNM file format)
1827 --enable-xpm use xpm images (XPM file format)
1828 --enable-icocur use Windows ICO and CUR formats
1829 --enable-official_build official build of wxWidgets (win32 DLL only)
1830 --enable-vendor=VENDOR vendor name (win32 DLL only)
1831 --disable-largefile omit support for large files
1832 --disable-gtktest do not try to compile and run a test GTK+ program
1833 --disable-gtktest Do not try to compile and run a test GTK program
1834 --disable-sdltest Do not try to compile and run a test SDL program
1835 --enable-omf use OMF object format (OS/2)
1836 --disable-dependency-tracking
1837 don't use dependency tracking even if the compiler
1838 can
1839 --disable-precomp-headers
1840 don't use precompiled headers even if compiler can
1841
1842 Optional Packages:
1843 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
1844 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
1845 --without-subdirs don't generate makefiles for samples/demos/...
1846 --with-gtk[=VERSION] use GTK+, VERSION can be 2 (default), 1 or "any"
1847 --with-motif use Motif/Lesstif
1848 --with-mac use Mac OS X
1849 --with-cocoa use Cocoa
1850 --with-wine use Wine
1851 --with-msw use MS-Windows
1852 --with-pm use OS/2 Presentation Manager
1853 --with-mgl use SciTech MGL
1854 --with-directfb use DirectFB
1855 --with-microwin use MicroWindows
1856 --with-x11 use X11
1857 --with-libpng use libpng (PNG image format)
1858 --with-libjpeg use libjpeg (JPEG file format)
1859 --with-libtiff use libtiff (TIFF file format)
1860 --with-libxpm use libxpm (XPM file format)
1861 --with-libmspack use libmspack (CHM help files loading)
1862 --with-sdl use SDL for audio on Unix
1863 --with-gnomeprint use GNOME print for printing under GNOME
1864 --with-gnomevfs use GNOME VFS for associating MIME types
1865 --with-hildon use Hildon framework for Nokia 770
1866 --with-opengl use OpenGL (or Mesa)
1867 --with-themes=all|list use only the specified comma-separated list of wxUniversal themes
1868 --with-dmalloc use dmalloc library (http://dmalloc.com/)
1869 --with-regex enable support for wxRegEx class
1870 --with-zlib use zlib for LZW compression
1871 --with-odbc use the IODBC and wxODBC classes
1872 --with-expat enable XML support using expat parser
1873 --with-flavour=NAME specify a name to identify this build
1874 --with-gtk-prefix=PFX Prefix where GTK is installed (optional)
1875 --with-gtk-exec-prefix=PFX Exec prefix where GTK is installed (optional)
1876 --with-x use the X Window System
1877 --with-libiconv-prefix=DIR search for libiconv in DIR/include and DIR/lib
1878 --with-sdl-prefix=PFX Prefix where SDL is installed (optional)
1879 --with-sdl-exec-prefix=PFX Exec prefix where SDL is installed (optional)
1880 --with-cppunit-prefix=PFX Prefix where CppUnit is installed (optional)
1881 --with-cppunit-exec-prefix=PFX Exec prefix where CppUnit is installed (optional)
1882
1883 Some influential environment variables:
1884 CC C compiler command
1885 CFLAGS C compiler flags
1886 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
1887 nonstandard directory <lib dir>
1888 LIBS libraries to pass to the linker, e.g. -l<library>
1889 CPPFLAGS C/C++/Objective C preprocessor flags, e.g. -I<include dir> if
1890 you have headers in a nonstandard directory <include dir>
1891 CPP C preprocessor
1892 CXX C++ compiler command
1893 CXXFLAGS C++ compiler flags
1894 PKG_CONFIG path to pkg-config utility
1895 DIRECTFB_CFLAGS
1896 C compiler flags for DIRECTFB, overriding pkg-config
1897 DIRECTFB_LIBS
1898 linker flags for DIRECTFB, overriding pkg-config
1899 XMKMF Path to xmkmf, Makefile generator for X Window System
1900 PANGOX_CFLAGS
1901 C compiler flags for PANGOX, overriding pkg-config
1902 PANGOX_LIBS linker flags for PANGOX, overriding pkg-config
1903 PANGOFT2_CFLAGS
1904 C compiler flags for PANGOFT2, overriding pkg-config
1905 PANGOFT2_LIBS
1906 linker flags for PANGOFT2, overriding pkg-config
1907 PANGOXFT_CFLAGS
1908 C compiler flags for PANGOXFT, overriding pkg-config
1909 PANGOXFT_LIBS
1910 linker flags for PANGOXFT, overriding pkg-config
1911 LIBGNOMEPRINTUI_CFLAGS
1912 C compiler flags for LIBGNOMEPRINTUI, overriding pkg-config
1913 LIBGNOMEPRINTUI_LIBS
1914 linker flags for LIBGNOMEPRINTUI, overriding pkg-config
1915 GNOMEVFS_CFLAGS
1916 C compiler flags for GNOMEVFS, overriding pkg-config
1917 GNOMEVFS_LIBS
1918 linker flags for GNOMEVFS, overriding pkg-config
1919 HILDON_CFLAGS
1920 C compiler flags for HILDON, overriding pkg-config
1921 HILDON_LIBS linker flags for HILDON, overriding pkg-config
1922 CAIRO_CFLAGS
1923 C compiler flags for CAIRO, overriding pkg-config
1924 CAIRO_LIBS linker flags for CAIRO, overriding pkg-config
1925 GST_CFLAGS C compiler flags for GST, overriding pkg-config
1926 GST_LIBS linker flags for GST, overriding pkg-config
1927
1928 Use these variables to override the choices made by `configure' or to help
1929 it to find libraries and programs with nonstandard names/locations.
1930
1931 Report bugs to <wx-dev@lists.wxwidgets.org>.
1932 _ACEOF
1933 ac_status=$?
1934 fi
1935
1936 if test "$ac_init_help" = "recursive"; then
1937 # If there are subdirs, report their specific --help.
1938 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
1939 test -d "$ac_dir" || continue
1940 ac_builddir=.
1941
1942 case "$ac_dir" in
1943 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
1944 *)
1945 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
1946 # A ".." for each directory in $ac_dir_suffix.
1947 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
1948 case $ac_top_builddir_sub in
1949 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
1950 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
1951 esac ;;
1952 esac
1953 ac_abs_top_builddir=$ac_pwd
1954 ac_abs_builddir=$ac_pwd$ac_dir_suffix
1955 # for backward compatibility:
1956 ac_top_builddir=$ac_top_build_prefix
1957
1958 case $srcdir in
1959 .) # We are building in place.
1960 ac_srcdir=.
1961 ac_top_srcdir=$ac_top_builddir_sub
1962 ac_abs_top_srcdir=$ac_pwd ;;
1963 [\\/]* | ?:[\\/]* ) # Absolute name.
1964 ac_srcdir=$srcdir$ac_dir_suffix;
1965 ac_top_srcdir=$srcdir
1966 ac_abs_top_srcdir=$srcdir ;;
1967 *) # Relative name.
1968 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
1969 ac_top_srcdir=$ac_top_build_prefix$srcdir
1970 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
1971 esac
1972 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
1973
1974 cd "$ac_dir" || { ac_status=$?; continue; }
1975 # Check for guested configure.
1976 if test -f "$ac_srcdir/configure.gnu"; then
1977 echo &&
1978 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
1979 elif test -f "$ac_srcdir/configure"; then
1980 echo &&
1981 $SHELL "$ac_srcdir/configure" --help=recursive
1982 else
1983 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
1984 fi || ac_status=$?
1985 cd "$ac_pwd" || { ac_status=$?; break; }
1986 done
1987 fi
1988
1989 test -n "$ac_init_help" && exit $ac_status
1990 if $ac_init_version; then
1991 cat <<\_ACEOF
1992 wxWidgets configure 2.9.0
1993 generated by GNU Autoconf 2.61
1994
1995 Copyright (C) 1992, 1993, 1994, 1995, 1996, 1998, 1999, 2000, 2001,
1996 2002, 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
1997 This configure script is free software; the Free Software Foundation
1998 gives unlimited permission to copy, distribute and modify it.
1999 _ACEOF
2000 exit
2001 fi
2002 cat >config.log <<_ACEOF
2003 This file contains any messages produced by compilers while
2004 running configure, to aid debugging if configure makes a mistake.
2005
2006 It was created by wxWidgets $as_me 2.9.0, which was
2007 generated by GNU Autoconf 2.61. Invocation command line was
2008
2009 $ $0 $@
2010
2011 _ACEOF
2012 exec 5>>config.log
2013 {
2014 cat <<_ASUNAME
2015 ## --------- ##
2016 ## Platform. ##
2017 ## --------- ##
2018
2019 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
2020 uname -m = `(uname -m) 2>/dev/null || echo unknown`
2021 uname -r = `(uname -r) 2>/dev/null || echo unknown`
2022 uname -s = `(uname -s) 2>/dev/null || echo unknown`
2023 uname -v = `(uname -v) 2>/dev/null || echo unknown`
2024
2025 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
2026 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
2027
2028 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
2029 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
2030 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
2031 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
2032 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
2033 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
2034 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
2035
2036 _ASUNAME
2037
2038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
2039 for as_dir in $PATH
2040 do
2041 IFS=$as_save_IFS
2042 test -z "$as_dir" && as_dir=.
2043 echo "PATH: $as_dir"
2044 done
2045 IFS=$as_save_IFS
2046
2047 } >&5
2048
2049 cat >&5 <<_ACEOF
2050
2051
2052 ## ----------- ##
2053 ## Core tests. ##
2054 ## ----------- ##
2055
2056 _ACEOF
2057
2058
2059 # Keep a trace of the command line.
2060 # Strip out --no-create and --no-recursion so they do not pile up.
2061 # Strip out --silent because we don't want to record it for future runs.
2062 # Also quote any args containing shell meta-characters.
2063 # Make two passes to allow for proper duplicate-argument suppression.
2064 ac_configure_args=
2065 ac_configure_args0=
2066 ac_configure_args1=
2067 ac_must_keep_next=false
2068 for ac_pass in 1 2
2069 do
2070 for ac_arg
2071 do
2072 case $ac_arg in
2073 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
2074 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2075 | -silent | --silent | --silen | --sile | --sil)
2076 continue ;;
2077 *\'*)
2078 ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
2079 esac
2080 case $ac_pass in
2081 1) ac_configure_args0="$ac_configure_args0 '$ac_arg'" ;;
2082 2)
2083 ac_configure_args1="$ac_configure_args1 '$ac_arg'"
2084 if test $ac_must_keep_next = true; then
2085 ac_must_keep_next=false # Got value, back to normal.
2086 else
2087 case $ac_arg in
2088 *=* | --config-cache | -C | -disable-* | --disable-* \
2089 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
2090 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
2091 | -with-* | --with-* | -without-* | --without-* | --x)
2092 case "$ac_configure_args0 " in
2093 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
2094 esac
2095 ;;
2096 -* ) ac_must_keep_next=true ;;
2097 esac
2098 fi
2099 ac_configure_args="$ac_configure_args '$ac_arg'"
2100 ;;
2101 esac
2102 done
2103 done
2104 $as_unset ac_configure_args0 || test "${ac_configure_args0+set}" != set || { ac_configure_args0=; export ac_configure_args0; }
2105 $as_unset ac_configure_args1 || test "${ac_configure_args1+set}" != set || { ac_configure_args1=; export ac_configure_args1; }
2106
2107 # When interrupted or exit'd, cleanup temporary files, and complete
2108 # config.log. We remove comments because anyway the quotes in there
2109 # would cause problems or look ugly.
2110 # WARNING: Use '\'' to represent an apostrophe within the trap.
2111 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
2112 trap 'exit_status=$?
2113 # Save into config.log some information that might help in debugging.
2114 {
2115 echo
2116
2117 cat <<\_ASBOX
2118 ## ---------------- ##
2119 ## Cache variables. ##
2120 ## ---------------- ##
2121 _ASBOX
2122 echo
2123 # The following way of writing the cache mishandles newlines in values,
2124 (
2125 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
2126 eval ac_val=\$$ac_var
2127 case $ac_val in #(
2128 *${as_nl}*)
2129 case $ac_var in #(
2130 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
2131 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
2132 esac
2133 case $ac_var in #(
2134 _ | IFS | as_nl) ;; #(
2135 *) $as_unset $ac_var ;;
2136 esac ;;
2137 esac
2138 done
2139 (set) 2>&1 |
2140 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
2141 *${as_nl}ac_space=\ *)
2142 sed -n \
2143 "s/'\''/'\''\\\\'\'''\''/g;
2144 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
2145 ;; #(
2146 *)
2147 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
2148 ;;
2149 esac |
2150 sort
2151 )
2152 echo
2153
2154 cat <<\_ASBOX
2155 ## ----------------- ##
2156 ## Output variables. ##
2157 ## ----------------- ##
2158 _ASBOX
2159 echo
2160 for ac_var in $ac_subst_vars
2161 do
2162 eval ac_val=\$$ac_var
2163 case $ac_val in
2164 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2165 esac
2166 echo "$ac_var='\''$ac_val'\''"
2167 done | sort
2168 echo
2169
2170 if test -n "$ac_subst_files"; then
2171 cat <<\_ASBOX
2172 ## ------------------- ##
2173 ## File substitutions. ##
2174 ## ------------------- ##
2175 _ASBOX
2176 echo
2177 for ac_var in $ac_subst_files
2178 do
2179 eval ac_val=\$$ac_var
2180 case $ac_val in
2181 *\'\''*) ac_val=`echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
2182 esac
2183 echo "$ac_var='\''$ac_val'\''"
2184 done | sort
2185 echo
2186 fi
2187
2188 if test -s confdefs.h; then
2189 cat <<\_ASBOX
2190 ## ----------- ##
2191 ## confdefs.h. ##
2192 ## ----------- ##
2193 _ASBOX
2194 echo
2195 cat confdefs.h
2196 echo
2197 fi
2198 test "$ac_signal" != 0 &&
2199 echo "$as_me: caught signal $ac_signal"
2200 echo "$as_me: exit $exit_status"
2201 } >&5
2202 rm -f core *.core core.conftest.* &&
2203 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
2204 exit $exit_status
2205 ' 0
2206 for ac_signal in 1 2 13 15; do
2207 trap 'ac_signal='$ac_signal'; { (exit 1); exit 1; }' $ac_signal
2208 done
2209 ac_signal=0
2210
2211 # confdefs.h avoids OS command line length limits that DEFS can exceed.
2212 rm -f -r conftest* confdefs.h
2213
2214 # Predefined preprocessor variables.
2215
2216 cat >>confdefs.h <<_ACEOF
2217 #define PACKAGE_NAME "$PACKAGE_NAME"
2218 _ACEOF
2219
2220
2221 cat >>confdefs.h <<_ACEOF
2222 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
2223 _ACEOF
2224
2225
2226 cat >>confdefs.h <<_ACEOF
2227 #define PACKAGE_VERSION "$PACKAGE_VERSION"
2228 _ACEOF
2229
2230
2231 cat >>confdefs.h <<_ACEOF
2232 #define PACKAGE_STRING "$PACKAGE_STRING"
2233 _ACEOF
2234
2235
2236 cat >>confdefs.h <<_ACEOF
2237 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
2238 _ACEOF
2239
2240
2241 # Let the site file select an alternate cache file if it wants to.
2242 # Prefer explicitly selected file to automatically selected ones.
2243 if test -n "$CONFIG_SITE"; then
2244 set x "$CONFIG_SITE"
2245 elif test "x$prefix" != xNONE; then
2246 set x "$prefix/share/config.site" "$prefix/etc/config.site"
2247 else
2248 set x "$ac_default_prefix/share/config.site" \
2249 "$ac_default_prefix/etc/config.site"
2250 fi
2251 shift
2252 for ac_site_file
2253 do
2254 if test -r "$ac_site_file"; then
2255 { echo "$as_me:$LINENO: loading site script $ac_site_file" >&5
2256 echo "$as_me: loading site script $ac_site_file" >&6;}
2257 sed 's/^/| /' "$ac_site_file" >&5
2258 . "$ac_site_file"
2259 fi
2260 done
2261
2262 if test -r "$cache_file"; then
2263 # Some versions of bash will fail to source /dev/null (special
2264 # files actually), so we avoid doing that.
2265 if test -f "$cache_file"; then
2266 { echo "$as_me:$LINENO: loading cache $cache_file" >&5
2267 echo "$as_me: loading cache $cache_file" >&6;}
2268 case $cache_file in
2269 [\\/]* | ?:[\\/]* ) . "$cache_file";;
2270 *) . "./$cache_file";;
2271 esac
2272 fi
2273 else
2274 { echo "$as_me:$LINENO: creating cache $cache_file" >&5
2275 echo "$as_me: creating cache $cache_file" >&6;}
2276 >$cache_file
2277 fi
2278
2279 # Check that the precious variables saved in the cache have kept the same
2280 # value.
2281 ac_cache_corrupted=false
2282 for ac_var in $ac_precious_vars; do
2283 eval ac_old_set=\$ac_cv_env_${ac_var}_set
2284 eval ac_new_set=\$ac_env_${ac_var}_set
2285 eval ac_old_val=\$ac_cv_env_${ac_var}_value
2286 eval ac_new_val=\$ac_env_${ac_var}_value
2287 case $ac_old_set,$ac_new_set in
2288 set,)
2289 { echo "$as_me:$LINENO: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
2290 echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
2291 ac_cache_corrupted=: ;;
2292 ,set)
2293 { echo "$as_me:$LINENO: error: \`$ac_var' was not set in the previous run" >&5
2294 echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
2295 ac_cache_corrupted=: ;;
2296 ,);;
2297 *)
2298 if test "x$ac_old_val" != "x$ac_new_val"; then
2299 { echo "$as_me:$LINENO: error: \`$ac_var' has changed since the previous run:" >&5
2300 echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
2301 { echo "$as_me:$LINENO: former value: $ac_old_val" >&5
2302 echo "$as_me: former value: $ac_old_val" >&2;}
2303 { echo "$as_me:$LINENO: current value: $ac_new_val" >&5
2304 echo "$as_me: current value: $ac_new_val" >&2;}
2305 ac_cache_corrupted=:
2306 fi;;
2307 esac
2308 # Pass precious variables to config.status.
2309 if test "$ac_new_set" = set; then
2310 case $ac_new_val in
2311 *\'*) ac_arg=$ac_var=`echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
2312 *) ac_arg=$ac_var=$ac_new_val ;;
2313 esac
2314 case " $ac_configure_args " in
2315 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
2316 *) ac_configure_args="$ac_configure_args '$ac_arg'" ;;
2317 esac
2318 fi
2319 done
2320 if $ac_cache_corrupted; then
2321 { echo "$as_me:$LINENO: error: changes in the environment can compromise the build" >&5
2322 echo "$as_me: error: changes in the environment can compromise the build" >&2;}
2323 { { echo "$as_me:$LINENO: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&5
2324 echo "$as_me: error: run \`make distclean' and/or \`rm $cache_file' and start over" >&2;}
2325 { (exit 1); exit 1; }; }
2326 fi
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352 ac_ext=c
2353 ac_cpp='$CPP $CPPFLAGS'
2354 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
2355 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
2356 ac_compiler_gnu=$ac_cv_c_compiler_gnu
2357
2358
2359
2360
2361
2362 ac_aux_dir=
2363 for ac_dir in "$srcdir" "$srcdir/.." "$srcdir/../.."; do
2364 if test -f "$ac_dir/install-sh"; then
2365 ac_aux_dir=$ac_dir
2366 ac_install_sh="$ac_aux_dir/install-sh -c"
2367 break
2368 elif test -f "$ac_dir/install.sh"; then
2369 ac_aux_dir=$ac_dir
2370 ac_install_sh="$ac_aux_dir/install.sh -c"
2371 break
2372 elif test -f "$ac_dir/shtool"; then
2373 ac_aux_dir=$ac_dir
2374 ac_install_sh="$ac_aux_dir/shtool install -c"
2375 break
2376 fi
2377 done
2378 if test -z "$ac_aux_dir"; then
2379 { { echo "$as_me:$LINENO: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&5
2380 echo "$as_me: error: cannot find install-sh or install.sh in \"$srcdir\" \"$srcdir/..\" \"$srcdir/../..\"" >&2;}
2381 { (exit 1); exit 1; }; }
2382 fi
2383
2384 # These three variables are undocumented and unsupported,
2385 # and are intended to be withdrawn in a future Autoconf release.
2386 # They can cause serious problems if a builder's source tree is in a directory
2387 # whose full name contains unusual characters.
2388 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
2389 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
2390 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
2391
2392
2393 # Make sure we can run config.sub.
2394 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
2395 { { echo "$as_me:$LINENO: error: cannot run $SHELL $ac_aux_dir/config.sub" >&5
2396 echo "$as_me: error: cannot run $SHELL $ac_aux_dir/config.sub" >&2;}
2397 { (exit 1); exit 1; }; }
2398
2399 { echo "$as_me:$LINENO: checking build system type" >&5
2400 echo $ECHO_N "checking build system type... $ECHO_C" >&6; }
2401 if test "${ac_cv_build+set}" = set; then
2402 echo $ECHO_N "(cached) $ECHO_C" >&6
2403 else
2404 ac_build_alias=$build_alias
2405 test "x$ac_build_alias" = x &&
2406 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
2407 test "x$ac_build_alias" = x &&
2408 { { echo "$as_me:$LINENO: error: cannot guess build type; you must specify one" >&5
2409 echo "$as_me: error: cannot guess build type; you must specify one" >&2;}
2410 { (exit 1); exit 1; }; }
2411 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
2412 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&5
2413 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $ac_build_alias failed" >&2;}
2414 { (exit 1); exit 1; }; }
2415
2416 fi
2417 { echo "$as_me:$LINENO: result: $ac_cv_build" >&5
2418 echo "${ECHO_T}$ac_cv_build" >&6; }
2419 case $ac_cv_build in
2420 *-*-*) ;;
2421 *) { { echo "$as_me:$LINENO: error: invalid value of canonical build" >&5
2422 echo "$as_me: error: invalid value of canonical build" >&2;}
2423 { (exit 1); exit 1; }; };;
2424 esac
2425 build=$ac_cv_build
2426 ac_save_IFS=$IFS; IFS='-'
2427 set x $ac_cv_build
2428 shift
2429 build_cpu=$1
2430 build_vendor=$2
2431 shift; shift
2432 # Remember, the first character of IFS is used to create $*,
2433 # except with old shells:
2434 build_os=$*
2435 IFS=$ac_save_IFS
2436 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
2437
2438
2439 { echo "$as_me:$LINENO: checking host system type" >&5
2440 echo $ECHO_N "checking host system type... $ECHO_C" >&6; }
2441 if test "${ac_cv_host+set}" = set; then
2442 echo $ECHO_N "(cached) $ECHO_C" >&6
2443 else
2444 if test "x$host_alias" = x; then
2445 ac_cv_host=$ac_cv_build
2446 else
2447 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
2448 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&5
2449 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $host_alias failed" >&2;}
2450 { (exit 1); exit 1; }; }
2451 fi
2452
2453 fi
2454 { echo "$as_me:$LINENO: result: $ac_cv_host" >&5
2455 echo "${ECHO_T}$ac_cv_host" >&6; }
2456 case $ac_cv_host in
2457 *-*-*) ;;
2458 *) { { echo "$as_me:$LINENO: error: invalid value of canonical host" >&5
2459 echo "$as_me: error: invalid value of canonical host" >&2;}
2460 { (exit 1); exit 1; }; };;
2461 esac
2462 host=$ac_cv_host
2463 ac_save_IFS=$IFS; IFS='-'
2464 set x $ac_cv_host
2465 shift
2466 host_cpu=$1
2467 host_vendor=$2
2468 shift; shift
2469 # Remember, the first character of IFS is used to create $*,
2470 # except with old shells:
2471 host_os=$*
2472 IFS=$ac_save_IFS
2473 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
2474
2475
2476 { echo "$as_me:$LINENO: checking target system type" >&5
2477 echo $ECHO_N "checking target system type... $ECHO_C" >&6; }
2478 if test "${ac_cv_target+set}" = set; then
2479 echo $ECHO_N "(cached) $ECHO_C" >&6
2480 else
2481 if test "x$target_alias" = x; then
2482 ac_cv_target=$ac_cv_host
2483 else
2484 ac_cv_target=`$SHELL "$ac_aux_dir/config.sub" $target_alias` ||
2485 { { echo "$as_me:$LINENO: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&5
2486 echo "$as_me: error: $SHELL $ac_aux_dir/config.sub $target_alias failed" >&2;}
2487 { (exit 1); exit 1; }; }
2488 fi
2489
2490 fi
2491 { echo "$as_me:$LINENO: result: $ac_cv_target" >&5
2492 echo "${ECHO_T}$ac_cv_target" >&6; }
2493 case $ac_cv_target in
2494 *-*-*) ;;
2495 *) { { echo "$as_me:$LINENO: error: invalid value of canonical target" >&5
2496 echo "$as_me: error: invalid value of canonical target" >&2;}
2497 { (exit 1); exit 1; }; };;
2498 esac
2499 target=$ac_cv_target
2500 ac_save_IFS=$IFS; IFS='-'
2501 set x $ac_cv_target
2502 shift
2503 target_cpu=$1
2504 target_vendor=$2
2505 shift; shift
2506 # Remember, the first character of IFS is used to create $*,
2507 # except with old shells:
2508 target_os=$*
2509 IFS=$ac_save_IFS
2510 case $target_os in *\ *) target_os=`echo "$target_os" | sed 's/ /-/g'`;; esac
2511
2512
2513 # The aliases save the names the user supplied, while $host etc.
2514 # will get canonicalized.
2515 test -n "$target_alias" &&
2516 test "$program_prefix$program_suffix$program_transform_name" = \
2517 NONENONEs,x,x, &&
2518 program_prefix=${target_alias}-
2519
2520
2521
2522 wx_major_version_number=2
2523 wx_minor_version_number=9
2524 wx_release_number=0
2525 wx_subrelease_number=0
2526
2527 WX_RELEASE=$wx_major_version_number.$wx_minor_version_number
2528 WX_VERSION=$WX_RELEASE.$wx_release_number
2529 WX_SUBVERSION=$WX_VERSION.$wx_subrelease_number
2530
2531 WX_MSW_VERSION=$wx_major_version_number$wx_minor_version_number$wx_release_number
2532
2533
2534 wx_top_builddir="`pwd`"
2535
2536
2537
2538
2539 USE_UNIX=1
2540 USE_OS2=0
2541 USE_WIN32=0
2542 USE_DOS=0
2543 USE_BEOS=0
2544 USE_MAC=0
2545
2546 USE_AIX=
2547 USE_BSD= USE_DARWIN= USE_FREEBSD=
2548 USE_GNU= USE_HPUX=
2549 USE_LINUX=
2550 USE_NETBSD=
2551 USE_OPENBSD=
2552 USE_OSF= USE_SGI=
2553 USE_SOLARIS= USE_SUN= USE_SUNOS= USE_SVR4= USE_SYSV= USE_VMS=
2554 USE_ULTRIX=
2555 USE_UNIXWARE=
2556
2557 USE_ALPHA=
2558
2559 NEEDS_D_REENTRANT_FOR_R_FUNCS=0
2560
2561 ALL_TOOLKITS="COCOA GTK MAC MGL MICROWIN MOTIF MSW PM X11 DFB"
2562
2563 DEFAULT_wxUSE_COCOA=0
2564 DEFAULT_wxUSE_GTK=0
2565 DEFAULT_wxUSE_MAC=0
2566 DEFAULT_wxUSE_MGL=0
2567 DEFAULT_wxUSE_MICROWIN=0
2568 DEFAULT_wxUSE_MOTIF=0
2569 DEFAULT_wxUSE_MSW=0
2570 DEFAULT_wxUSE_PM=0
2571 DEFAULT_wxUSE_X11=0
2572 DEFAULT_wxUSE_DFB=0
2573
2574 DEFAULT_DEFAULT_wxUSE_COCOA=0
2575 DEFAULT_DEFAULT_wxUSE_GTK=0
2576 DEFAULT_DEFAULT_wxUSE_MAC=0
2577 DEFAULT_DEFAULT_wxUSE_MGL=0
2578 DEFAULT_DEFAULT_wxUSE_MICROWIN=0
2579 DEFAULT_DEFAULT_wxUSE_MOTIF=0
2580 DEFAULT_DEFAULT_wxUSE_MSW=0
2581 DEFAULT_DEFAULT_wxUSE_PM=0
2582 DEFAULT_DEFAULT_wxUSE_X11=0
2583 DEFAULT_DEFAULT_wxUSE_DFB=0
2584
2585 PROGRAM_EXT=
2586 SO_SUFFIX=so
2587 SAMPLES_RPATH_FLAG=
2588 SAMPLES_RPATH_POSTLINK=
2589
2590 DEFAULT_STD_FLAG=yes
2591
2592 case "${host}" in
2593 *-hp-hpux* )
2594 USE_HPUX=1
2595 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2596 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2597 SO_SUFFIX=sl
2598 cat >>confdefs.h <<\_ACEOF
2599 #define __HPUX__ 1
2600 _ACEOF
2601
2602
2603 CPPFLAGS="-D_HPUX_SOURCE $CPPFLAGS"
2604 ;;
2605 *-*-linux* )
2606 USE_LINUX=1
2607 cat >>confdefs.h <<\_ACEOF
2608 #define __LINUX__ 1
2609 _ACEOF
2610
2611 TMP=`uname -m`
2612 if test "x$TMP" = "xalpha"; then
2613 USE_ALPHA=1
2614 cat >>confdefs.h <<\_ACEOF
2615 #define __ALPHA__ 1
2616 _ACEOF
2617
2618 fi
2619 DEFAULT_DEFAULT_wxUSE_GTK=1
2620 ;;
2621 *-*-gnu* | *-*-k*bsd*-gnu )
2622 USE_GNU=1
2623 TMP=`uname -m`
2624 if test "x$TMP" = "xalpha"; then
2625 USE_ALPHA=1
2626 cat >>confdefs.h <<\_ACEOF
2627 #define __ALPHA__ 1
2628 _ACEOF
2629
2630 fi
2631 DEFAULT_DEFAULT_wxUSE_GTK=1
2632 ;;
2633 *-*-irix5* | *-*-irix6* )
2634 USE_SGI=1
2635 USE_SVR4=1
2636 cat >>confdefs.h <<\_ACEOF
2637 #define __SGI__ 1
2638 _ACEOF
2639
2640 cat >>confdefs.h <<\_ACEOF
2641 #define __SVR4__ 1
2642 _ACEOF
2643
2644 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2645 ;;
2646 *-*-solaris2* )
2647 USE_SUN=1
2648 USE_SOLARIS=1
2649 USE_SVR4=1
2650 cat >>confdefs.h <<\_ACEOF
2651 #define __SUN__ 1
2652 _ACEOF
2653
2654 cat >>confdefs.h <<\_ACEOF
2655 #define __SOLARIS__ 1
2656 _ACEOF
2657
2658 cat >>confdefs.h <<\_ACEOF
2659 #define __SVR4__ 1
2660 _ACEOF
2661
2662 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2663 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2664 ;;
2665 *-*-sunos4* )
2666 USE_SUN=1
2667 USE_SUNOS=1
2668 USE_BSD=1
2669 cat >>confdefs.h <<\_ACEOF
2670 #define __SUN__ 1
2671 _ACEOF
2672
2673 cat >>confdefs.h <<\_ACEOF
2674 #define __SUNOS__ 1
2675 _ACEOF
2676
2677 cat >>confdefs.h <<\_ACEOF
2678 #define __BSD__ 1
2679 _ACEOF
2680
2681 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2682 ;;
2683 *-*-freebsd*)
2684 USE_BSD=1
2685 USE_FREEBSD=1
2686 cat >>confdefs.h <<\_ACEOF
2687 #define __FREEBSD__ 1
2688 _ACEOF
2689
2690 cat >>confdefs.h <<\_ACEOF
2691 #define __BSD__ 1
2692 _ACEOF
2693
2694 DEFAULT_DEFAULT_wxUSE_GTK=1
2695 ;;
2696 *-*-openbsd*|*-*-mirbsd*)
2697 USE_BSD=1
2698 USE_OPENBSD=1
2699 cat >>confdefs.h <<\_ACEOF
2700 #define __OPENBSD__ 1
2701 _ACEOF
2702
2703 cat >>confdefs.h <<\_ACEOF
2704 #define __BSD__ 1
2705 _ACEOF
2706
2707 DEFAULT_DEFAULT_wxUSE_GTK=1
2708 ;;
2709 *-*-netbsd*)
2710 USE_BSD=1
2711 USE_NETBSD=1
2712 cat >>confdefs.h <<\_ACEOF
2713 #define __NETBSD__ 1
2714 _ACEOF
2715
2716 cat >>confdefs.h <<\_ACEOF
2717 #define __BSD__ 1
2718 _ACEOF
2719
2720 DEFAULT_DEFAULT_wxUSE_GTK=1
2721 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2722
2723 CPPFLAGS="-D_NETBSD_SOURCE -D_LIBC $CPPFLAGS"
2724 ;;
2725 *-*-osf* )
2726 USE_ALPHA=1
2727 USE_OSF=1
2728 cat >>confdefs.h <<\_ACEOF
2729 #define __ALPHA__ 1
2730 _ACEOF
2731
2732 cat >>confdefs.h <<\_ACEOF
2733 #define __OSF__ 1
2734 _ACEOF
2735
2736 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2737 NEEDS_D_REENTRANT_FOR_R_FUNCS=1
2738 ;;
2739 *-*-dgux5* )
2740 USE_ALPHA=1
2741 USE_SVR4=1
2742 cat >>confdefs.h <<\_ACEOF
2743 #define __ALPHA__ 1
2744 _ACEOF
2745
2746 cat >>confdefs.h <<\_ACEOF
2747 #define __SVR4__ 1
2748 _ACEOF
2749
2750 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2751 ;;
2752 *-*-sysv5* )
2753 USE_SYSV=1
2754 USE_SVR4=1
2755 cat >>confdefs.h <<\_ACEOF
2756 #define __SYSV__ 1
2757 _ACEOF
2758
2759 cat >>confdefs.h <<\_ACEOF
2760 #define __SVR4__ 1
2761 _ACEOF
2762
2763 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2764 ;;
2765 *-*-aix* )
2766 USE_AIX=1
2767 USE_SYSV=1
2768 USE_SVR4=1
2769 SO_SUFFIX=a
2770 cat >>confdefs.h <<\_ACEOF
2771 #define __AIX__ 1
2772 _ACEOF
2773
2774 cat >>confdefs.h <<\_ACEOF
2775 #define __SYSV__ 1
2776 _ACEOF
2777
2778 cat >>confdefs.h <<\_ACEOF
2779 #define __SVR4__ 1
2780 _ACEOF
2781
2782 DEFAULT_DEFAULT_wxUSE_MOTIF=1
2783 ;;
2784
2785 *-*-*UnixWare*)
2786 USE_SYSV=1
2787 USE_SVR4=1
2788 USE_UNIXWARE=1
2789 cat >>confdefs.h <<\_ACEOF
2790 #define __UNIXWARE__ 1
2791 _ACEOF
2792
2793 ;;
2794
2795 *-*-cygwin* | *-*-mingw32* )
2796 SO_SUFFIX=dll
2797 PROGRAM_EXT=".exe"
2798 DEFAULT_DEFAULT_wxUSE_MSW=1
2799 ;;
2800
2801 *-pc-msdosdjgpp )
2802 USE_UNIX=0
2803 USE_DOS=1
2804 cat >>confdefs.h <<\_ACEOF
2805 #define __DOS__ 1
2806 _ACEOF
2807
2808 PROGRAM_EXT=".exe"
2809 DEFAULT_DEFAULT_wxUSE_MGL=1
2810 ;;
2811
2812 *-pc-os2_emx | *-pc-os2-emx )
2813 cat >>confdefs.h <<\_ACEOF
2814 #define __EMX__ 1
2815 _ACEOF
2816
2817 USE_OS2=1
2818 cat >>confdefs.h <<\_ACEOF
2819 #define __OS2__ 1
2820 _ACEOF
2821
2822 PROGRAM_EXT=".exe"
2823 DEFAULT_DEFAULT_wxUSE_PM=1
2824 CXX=gcc
2825 LDFLAGS="$LDFLAGS -Zcrtdll"
2826 ac_executable_extensions=".exe"
2827 export ac_executable_extensions
2828 ac_save_IFS="$IFS"
2829 IFS='\\'
2830 ac_TEMP_PATH=
2831 for ac_dir in $PATH; do
2832 IFS=$ac_save_IFS
2833 if test -z "$ac_TEMP_PATH"; then
2834 ac_TEMP_PATH="$ac_dir"
2835 else
2836 ac_TEMP_PATH="$ac_TEMP_PATH/$ac_dir"
2837 fi
2838 done
2839 export PATH="$ac_TEMP_PATH"
2840 unset ac_TEMP_PATH
2841 DEFAULT_STD_FLAG=no
2842 ;;
2843
2844 *-*-darwin* )
2845 USE_BSD=1
2846 USE_DARWIN=1
2847 SO_SUFFIX=dylib
2848 cat >>confdefs.h <<\_ACEOF
2849 #define __BSD__ 1
2850 _ACEOF
2851
2852 cat >>confdefs.h <<\_ACEOF
2853 #define __DARWIN__ 1
2854 _ACEOF
2855
2856 cat >>confdefs.h <<\_ACEOF
2857 #define TARGET_CARBON 1
2858 _ACEOF
2859
2860 DEFAULT_DEFAULT_wxUSE_MAC=1
2861 DEFAULT_STD_FLAG=no
2862 ;;
2863 powerpc-apple-macos* )
2864 USE_UNIX=0
2865 ac_cv_c_bigendian=yes
2866 SO_SUFFIX=shlib
2867 DEFAULT_DEFAULT_wxUSE_MAC=1
2868 DEFAULT_STD_FLAG=no
2869 ;;
2870
2871 *-*-beos* )
2872 USE_BEOS=1
2873 cat >>confdefs.h <<\_ACEOF
2874 #define __BEOS__ 1
2875 _ACEOF
2876
2877 ;;
2878
2879 *)
2880 { echo "$as_me:$LINENO: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&5
2881 echo "$as_me: WARNING: *** System type ${host} is unknown, assuming generic Unix and continuing nevertheless." >&2;}
2882 { echo "$as_me:$LINENO: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&5
2883 echo "$as_me: WARNING: *** Please report the build results to wx-dev@lists.wxwidgets.org." >&2;}
2884
2885 DEFAULT_DEFAULT_wxUSE_X11=1
2886 DEFAULT_wxUSE_SHARED=no
2887 esac
2888
2889
2890
2891
2892 wx_arg_cache_file="configarg.cache"
2893 echo "loading argument cache $wx_arg_cache_file"
2894 rm -f ${wx_arg_cache_file}.tmp
2895 touch ${wx_arg_cache_file}.tmp
2896 touch ${wx_arg_cache_file}
2897
2898
2899 DEBUG_CONFIGURE=0
2900 if test $DEBUG_CONFIGURE = 1; then
2901 DEFAULT_wxUSE_UNIVERSAL=no
2902 DEFAULT_wxUSE_STL=no
2903
2904 DEFAULT_wxUSE_NANOX=no
2905
2906 DEFAULT_wxUSE_THREADS=yes
2907
2908 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
2909 DEFAULT_wxUSE_OPTIMISE=no
2910 DEFAULT_wxUSE_PROFILE=no
2911 DEFAULT_wxUSE_NO_DEPS=no
2912 DEFAULT_wxUSE_VARARG_MACROS=no
2913 DEFAULT_wxUSE_NO_RTTI=no
2914 DEFAULT_wxUSE_NO_EXCEPTIONS=no
2915 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
2916 DEFAULT_wxUSE_RPATH=yes
2917 DEFAULT_wxUSE_PERMISSIVE=no
2918 DEFAULT_wxUSE_DEBUG_FLAG=yes
2919 DEFAULT_wxUSE_DEBUG_INFO=yes
2920 DEFAULT_wxUSE_DEBUG_GDB=yes
2921 DEFAULT_wxUSE_MEM_TRACING=no
2922 DEFAULT_wxUSE_DEBUG_CONTEXT=no
2923 DEFAULT_wxUSE_DMALLOC=no
2924 DEFAULT_wxUSE_APPLE_IEEE=no
2925
2926 DEFAULT_wxUSE_EXCEPTIONS=no
2927 DEFAULT_wxUSE_LOG=yes
2928 DEFAULT_wxUSE_LOGWINDOW=no
2929 DEFAULT_wxUSE_LOGGUI=no
2930 DEFAULT_wxUSE_LOGDIALOG=no
2931
2932 DEFAULT_wxUSE_GUI=yes
2933 DEFAULT_wxUSE_CONTROLS=no
2934
2935 DEFAULT_wxUSE_REGEX=no
2936 DEFAULT_wxUSE_XML=no
2937 DEFAULT_wxUSE_EXPAT=no
2938 DEFAULT_wxUSE_ZLIB=no
2939 DEFAULT_wxUSE_LIBPNG=no
2940 DEFAULT_wxUSE_LIBJPEG=no
2941 DEFAULT_wxUSE_LIBTIFF=no
2942 DEFAULT_wxUSE_LIBXPM=no
2943 DEFAULT_wxUSE_LIBMSPACK=no
2944 DEFAULT_wxUSE_LIBSDL=no
2945 DEFAULT_wxUSE_LIBGNOMEPRINT=no
2946 DEFAULT_wxUSE_LIBGNOMEVFS=no
2947 DEFAULT_wxUSE_LIBHILDON=no
2948 DEFAULT_wxUSE_ODBC=no
2949 DEFAULT_wxUSE_OPENGL=no
2950
2951 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=no
2952 DEFAULT_wxUSE_STACKWALKER=no
2953 DEFAULT_wxUSE_DEBUGREPORT=no
2954 DEFAULT_wxUSE_SNGLINST_CHECKER=no
2955 DEFAULT_wxUSE_STD_IOSTREAM=no
2956 DEFAULT_wxUSE_STD_STRING=no
2957 DEFAULT_wxUSE_CMDLINE_PARSER=no
2958 DEFAULT_wxUSE_DATETIME=no
2959 DEFAULT_wxUSE_TIMER=no
2960 DEFAULT_wxUSE_STOPWATCH=no
2961 DEFAULT_wxUSE_FILE=no
2962 DEFAULT_wxUSE_FFILE=no
2963 DEFAULT_wxUSE_STDPATHS=no
2964 DEFAULT_wxUSE_TEXTBUFFER=no
2965 DEFAULT_wxUSE_TEXTFILE=no
2966 DEFAULT_wxUSE_SOUND=no
2967 DEFAULT_wxUSE_MEDIACTRL=no
2968 DEFAULT_wxUSE_GSTREAMER8=no
2969 DEFAULT_wxUSE_PRINTF_POS_PARAMS=no
2970 DEFAULT_wxUSE_INTL=no
2971 DEFAULT_wxUSE_CONFIG=no
2972 DEFAULT_wxUSE_FONTMAP=no
2973 DEFAULT_wxUSE_STREAMS=no
2974 DEFAULT_wxUSE_SOCKETS=no
2975 DEFAULT_wxUSE_OLE=no
2976 DEFAULT_wxUSE_DATAOBJ=no
2977 DEFAULT_wxUSE_DIALUP_MANAGER=no
2978 DEFAULT_wxUSE_JOYSTICK=no
2979 DEFAULT_wxUSE_DYNLIB_CLASS=no
2980 DEFAULT_wxUSE_DYNAMIC_LOADER=no
2981 DEFAULT_wxUSE_LONGLONG=no
2982 DEFAULT_wxUSE_GEOMETRY=no
2983
2984 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=no
2985 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=no
2986 DEFAULT_wxUSE_POSTSCRIPT=no
2987
2988 DEFAULT_wxUSE_CLIPBOARD=no
2989 DEFAULT_wxUSE_TOOLTIPS=no
2990 DEFAULT_wxUSE_DRAG_AND_DROP=no
2991 DEFAULT_wxUSE_DRAGIMAGE=no
2992 DEFAULT_wxUSE_SPLINES=no
2993 DEFAULT_wxUSE_MOUSEWHEEL=no
2994
2995 DEFAULT_wxUSE_MDI=no
2996 DEFAULT_wxUSE_MDI_ARCHITECTURE=no
2997 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=no
2998 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=no
2999
3000 DEFAULT_wxUSE_CONSTRAINTS=no
3001 DEFAULT_wxUSE_IPC=no
3002 DEFAULT_wxUSE_HELP=no
3003 DEFAULT_wxUSE_MS_HTML_HELP=no
3004 DEFAULT_wxUSE_WXHTML_HELP=no
3005 DEFAULT_wxUSE_TREELAYOUT=no
3006 DEFAULT_wxUSE_METAFILE=no
3007 DEFAULT_wxUSE_MIMETYPE=no
3008 DEFAULT_wxUSE_SYSTEM_OPTIONS=no
3009 DEFAULT_wxUSE_PROTOCOL=no
3010 DEFAULT_wxUSE_PROTOCOL_HTTP=no
3011 DEFAULT_wxUSE_PROTOCOL_FTP=no
3012 DEFAULT_wxUSE_PROTOCOL_FILE=no
3013 DEFAULT_wxUSE_URL=no
3014 DEFAULT_wxUSE_VARIANT=no
3015
3016 DEFAULT_wxUSE_ABOUTDLG=no
3017 DEFAULT_wxUSE_COMMONDLGS=no
3018 DEFAULT_wxUSE_CHOICEDLG=no
3019 DEFAULT_wxUSE_COLOURDLG=no
3020 DEFAULT_wxUSE_DIRDLG=no
3021 DEFAULT_wxUSE_FILEDLG=no
3022 DEFAULT_wxUSE_FINDREPLDLG=no
3023 DEFAULT_wxUSE_FONTDLG=no
3024 DEFAULT_wxUSE_MSGDLG=no
3025 DEFAULT_wxUSE_NUMBERDLG=no
3026 DEFAULT_wxUSE_TEXTDLG=no
3027 DEFAULT_wxUSE_SPLASH=no
3028 DEFAULT_wxUSE_STARTUP_TIPS=no
3029 DEFAULT_wxUSE_PROGRESSDLG=no
3030 DEFAULT_wxUSE_WIZARDDLG=no
3031
3032 DEFAULT_wxUSE_MENUS=no
3033 DEFAULT_wxUSE_MINIFRAME=no
3034 DEFAULT_wxUSE_HTML=no
3035 DEFAULT_wxUSE_RICHTEXT=no
3036 DEFAULT_wxUSE_XRC=no
3037 DEFAULT_wxUSE_AUI=no
3038 DEFAULT_wxUSE_STC=no
3039 DEFAULT_wxUSE_WEBKIT=no
3040 DEFAULT_wxUSE_FILESYSTEM=no
3041 DEFAULT_wxUSE_FS_INET=no
3042 DEFAULT_wxUSE_FS_ZIP=no
3043 DEFAULT_wxUSE_FS_ARCHIVE=no
3044 DEFAULT_wxUSE_BUSYINFO=no
3045 DEFAULT_wxUSE_ARCHIVE_STREAMS=no
3046 DEFAULT_wxUSE_ZIPSTREAM=no
3047 DEFAULT_wxUSE_TARSTREAM=no
3048 DEFAULT_wxUSE_VALIDATORS=no
3049
3050 DEFAULT_wxUSE_ACCEL=no
3051 DEFAULT_wxUSE_ANIMATIONCTRL=no
3052 DEFAULT_wxUSE_BUTTON=no
3053 DEFAULT_wxUSE_BMPBUTTON=no
3054 DEFAULT_wxUSE_BITMAPCOMBOBOX=no
3055 DEFAULT_wxUSE_CALCTRL=no
3056 DEFAULT_wxUSE_CARET=no
3057 DEFAULT_wxUSE_CHECKBOX=no
3058 DEFAULT_wxUSE_CHECKLST=no
3059 DEFAULT_wxUSE_CHOICE=no
3060 DEFAULT_wxUSE_CHOICEBOOK=no
3061 DEFAULT_wxUSE_COLLPANE=no
3062 DEFAULT_wxUSE_COLOURPICKERCTRL=no
3063 DEFAULT_wxUSE_COMBOBOX=no
3064 DEFAULT_wxUSE_COMBOCTRL=no
3065 DEFAULT_wxUSE_DATEPICKCTRL=no
3066 DEFAULT_wxUSE_DISPLAY=no
3067 DEFAULT_wxUSE_DETECT_SM=no
3068 DEFAULT_wxUSE_DIRPICKERCTRL=no
3069 DEFAULT_wxUSE_FILEPICKERCTRL=no
3070 DEFAULT_wxUSE_FONTPICKERCTRL=no
3071 DEFAULT_wxUSE_GAUGE=no
3072 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3073 DEFAULT_wxUSE_GRID=no
3074 DEFAULT_wxUSE_HYPERLINKCTRL=no
3075 DEFAULT_wxUSE_DATAVIEWCTRL=no
3076 DEFAULT_wxUSE_IMAGLIST=no
3077 DEFAULT_wxUSE_LISTBOOK=no
3078 DEFAULT_wxUSE_LISTBOX=no
3079 DEFAULT_wxUSE_LISTCTRL=no
3080 DEFAULT_wxUSE_NOTEBOOK=no
3081 DEFAULT_wxUSE_ODCOMBOBOX=no
3082 DEFAULT_wxUSE_RADIOBOX=no
3083 DEFAULT_wxUSE_RADIOBTN=no
3084 DEFAULT_wxUSE_SASH=no
3085 DEFAULT_wxUSE_SCROLLBAR=no
3086 DEFAULT_wxUSE_SEARCHCTRL=no
3087 DEFAULT_wxUSE_SLIDER=no
3088 DEFAULT_wxUSE_SPINBTN=no
3089 DEFAULT_wxUSE_SPINCTRL=no
3090 DEFAULT_wxUSE_SPLITTER=no
3091 DEFAULT_wxUSE_STATBMP=no
3092 DEFAULT_wxUSE_STATBOX=no
3093 DEFAULT_wxUSE_STATLINE=no
3094 DEFAULT_wxUSE_STATTEXT=no
3095 DEFAULT_wxUSE_STATUSBAR=yes
3096 DEFAULT_wxUSE_TAB_DIALOG=no
3097 DEFAULT_wxUSE_TEXTCTRL=no
3098 DEFAULT_wxUSE_TOGGLEBTN=no
3099 DEFAULT_wxUSE_TOOLBAR=no
3100 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
3101 DEFAULT_wxUSE_TREEBOOK=no
3102 DEFAULT_wxUSE_TOOLBOOK=no
3103 DEFAULT_wxUSE_TREECTRL=no
3104 DEFAULT_wxUSE_POPUPWIN=no
3105 DEFAULT_wxUSE_TIPWINDOW=no
3106
3107 DEFAULT_wxUSE_UNICODE=no
3108 DEFAULT_wxUSE_UNICODE_MSLU=no
3109 DEFAULT_wxUSE_WCSRTOMBS=no
3110
3111 DEFAULT_wxUSE_PALETTE=no
3112 DEFAULT_wxUSE_IMAGE=no
3113 DEFAULT_wxUSE_GIF=no
3114 DEFAULT_wxUSE_PCX=no
3115 DEFAULT_wxUSE_TGA=no
3116 DEFAULT_wxUSE_PNM=no
3117 DEFAULT_wxUSE_IFF=no
3118 DEFAULT_wxUSE_XPM=no
3119 DEFAULT_wxUSE_ICO_CUR=no
3120 DEFAULT_wxUSE_ACCESSIBILITY=no
3121
3122 DEFAULT_wxUSE_MONOLITHIC=no
3123 DEFAULT_wxUSE_PLUGINS=no
3124 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3125 else
3126 DEFAULT_wxUSE_UNIVERSAL=no
3127 DEFAULT_wxUSE_STL=no
3128
3129 DEFAULT_wxUSE_NANOX=no
3130
3131 DEFAULT_wxUSE_THREADS=yes
3132
3133 DEFAULT_wxUSE_SHARED=${DEFAULT_wxUSE_SHARED:-yes}
3134 DEFAULT_wxUSE_OPTIMISE=yes
3135 DEFAULT_wxUSE_PROFILE=no
3136 DEFAULT_wxUSE_NO_DEPS=no
3137 DEFAULT_wxUSE_VARARG_MACROS=yes
3138 DEFAULT_wxUSE_NO_RTTI=no
3139 DEFAULT_wxUSE_NO_EXCEPTIONS=no
3140 DEFAULT_wxUSE_UNIVERSAL_BINARY=no
3141 DEFAULT_wxUSE_RPATH=yes
3142 DEFAULT_wxUSE_PERMISSIVE=no
3143 DEFAULT_wxUSE_DEBUG_FLAG=no
3144 DEFAULT_wxUSE_DEBUG_INFO=no
3145 DEFAULT_wxUSE_DEBUG_GDB=no
3146 DEFAULT_wxUSE_MEM_TRACING=no
3147 DEFAULT_wxUSE_DEBUG_CONTEXT=no
3148 DEFAULT_wxUSE_DMALLOC=no
3149 DEFAULT_wxUSE_APPLE_IEEE=yes
3150
3151 DEFAULT_wxUSE_EXCEPTIONS=yes
3152 DEFAULT_wxUSE_LOG=yes
3153 DEFAULT_wxUSE_LOGWINDOW=yes
3154 DEFAULT_wxUSE_LOGGUI=yes
3155 DEFAULT_wxUSE_LOGDIALOG=yes
3156
3157 DEFAULT_wxUSE_GUI=yes
3158
3159 DEFAULT_wxUSE_REGEX=yes
3160 DEFAULT_wxUSE_XML=yes
3161 DEFAULT_wxUSE_EXPAT=yes
3162 DEFAULT_wxUSE_ZLIB=yes
3163 DEFAULT_wxUSE_LIBPNG=yes
3164 DEFAULT_wxUSE_LIBJPEG=yes
3165 DEFAULT_wxUSE_LIBTIFF=yes
3166 DEFAULT_wxUSE_LIBXPM=yes
3167 DEFAULT_wxUSE_LIBMSPACK=yes
3168 DEFAULT_wxUSE_LIBSDL=no
3169 DEFAULT_wxUSE_LIBGNOMEPRINT=yes
3170 DEFAULT_wxUSE_LIBGNOMEVFS=no
3171 DEFAULT_wxUSE_LIBHILDON=no
3172 DEFAULT_wxUSE_ODBC=no
3173 DEFAULT_wxUSE_OPENGL=no
3174
3175 DEFAULT_wxUSE_ON_FATAL_EXCEPTION=yes
3176 DEFAULT_wxUSE_STACKWALKER=yes
3177 DEFAULT_wxUSE_DEBUGREPORT=yes
3178 DEFAULT_wxUSE_SNGLINST_CHECKER=yes
3179 DEFAULT_wxUSE_STD_IOSTREAM=$DEFAULT_STD_FLAG
3180 DEFAULT_wxUSE_STD_STRING=$DEFAULT_STD_FLAG
3181 DEFAULT_wxUSE_CMDLINE_PARSER=yes
3182 DEFAULT_wxUSE_DATETIME=yes
3183 DEFAULT_wxUSE_TIMER=yes
3184 DEFAULT_wxUSE_STOPWATCH=yes
3185 DEFAULT_wxUSE_FILE=yes
3186 DEFAULT_wxUSE_FFILE=yes
3187 DEFAULT_wxUSE_STDPATHS=yes
3188 DEFAULT_wxUSE_TEXTBUFFER=yes
3189 DEFAULT_wxUSE_TEXTFILE=yes
3190 DEFAULT_wxUSE_SOUND=yes
3191 DEFAULT_wxUSE_MEDIACTRL=no
3192 DEFAULT_wxUSE_GSTREAMER8=no
3193 DEFAULT_wxUSE_PRINTF_POS_PARAMS=yes
3194 DEFAULT_wxUSE_INTL=yes
3195 DEFAULT_wxUSE_CONFIG=yes
3196 DEFAULT_wxUSE_FONTMAP=yes
3197 DEFAULT_wxUSE_STREAMS=yes
3198 DEFAULT_wxUSE_SOCKETS=yes
3199 DEFAULT_wxUSE_OLE=yes
3200 DEFAULT_wxUSE_DATAOBJ=yes
3201 DEFAULT_wxUSE_DIALUP_MANAGER=yes
3202 DEFAULT_wxUSE_JOYSTICK=yes
3203 DEFAULT_wxUSE_DYNLIB_CLASS=yes
3204 DEFAULT_wxUSE_DYNAMIC_LOADER=yes
3205 DEFAULT_wxUSE_LONGLONG=yes
3206 DEFAULT_wxUSE_GEOMETRY=yes
3207
3208 DEFAULT_wxUSE_AFM_FOR_POSTSCRIPT=yes
3209 DEFAULT_wxUSE_NORMALIZED_PS_FONTS=yes
3210 DEFAULT_wxUSE_POSTSCRIPT=yes
3211
3212 DEFAULT_wxUSE_CLIPBOARD=yes
3213 DEFAULT_wxUSE_TOOLTIPS=yes
3214 DEFAULT_wxUSE_DRAG_AND_DROP=yes
3215 DEFAULT_wxUSE_DRAGIMAGE=yes
3216 DEFAULT_wxUSE_SPLINES=yes
3217 DEFAULT_wxUSE_MOUSEWHEEL=yes
3218
3219 DEFAULT_wxUSE_MDI=yes
3220 DEFAULT_wxUSE_MDI_ARCHITECTURE=yes
3221 DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE=yes
3222 DEFAULT_wxUSE_PRINTING_ARCHITECTURE=yes
3223
3224 DEFAULT_wxUSE_CONSTRAINTS=yes
3225 DEFAULT_wxUSE_IPC=yes
3226 DEFAULT_wxUSE_HELP=yes
3227 DEFAULT_wxUSE_MS_HTML_HELP=yes
3228 DEFAULT_wxUSE_WXHTML_HELP=yes
3229 DEFAULT_wxUSE_TREELAYOUT=yes
3230 DEFAULT_wxUSE_METAFILE=yes
3231 DEFAULT_wxUSE_MIMETYPE=yes
3232 DEFAULT_wxUSE_SYSTEM_OPTIONS=yes
3233 DEFAULT_wxUSE_PROTOCOL=yes
3234 DEFAULT_wxUSE_PROTOCOL_HTTP=yes
3235 DEFAULT_wxUSE_PROTOCOL_FTP=yes
3236 DEFAULT_wxUSE_PROTOCOL_FILE=yes
3237 DEFAULT_wxUSE_URL=yes
3238 DEFAULT_wxUSE_VARIANT=yes
3239
3240 DEFAULT_wxUSE_ABOUTDLG=yes
3241 DEFAULT_wxUSE_COMMONDLGS=yes
3242 DEFAULT_wxUSE_CHOICEDLG=yes
3243 DEFAULT_wxUSE_COLOURDLG=yes
3244 DEFAULT_wxUSE_DIRDLG=yes
3245 DEFAULT_wxUSE_FILEDLG=yes
3246 DEFAULT_wxUSE_FINDREPLDLG=yes
3247 DEFAULT_wxUSE_FONTDLG=yes
3248 DEFAULT_wxUSE_MSGDLG=yes
3249 DEFAULT_wxUSE_NUMBERDLG=yes
3250 DEFAULT_wxUSE_TEXTDLG=yes
3251 DEFAULT_wxUSE_SPLASH=yes
3252 DEFAULT_wxUSE_STARTUP_TIPS=yes
3253 DEFAULT_wxUSE_PROGRESSDLG=yes
3254 DEFAULT_wxUSE_WIZARDDLG=yes
3255
3256 DEFAULT_wxUSE_MENUS=yes
3257 DEFAULT_wxUSE_MINIFRAME=yes
3258 DEFAULT_wxUSE_HTML=yes
3259 DEFAULT_wxUSE_RICHTEXT=yes
3260 DEFAULT_wxUSE_XRC=yes
3261 DEFAULT_wxUSE_AUI=yes
3262 DEFAULT_wxUSE_STC=yes
3263 DEFAULT_wxUSE_WEBKIT=yes
3264 DEFAULT_wxUSE_FILESYSTEM=yes
3265 DEFAULT_wxUSE_FS_INET=yes
3266 DEFAULT_wxUSE_FS_ZIP=yes
3267 DEFAULT_wxUSE_FS_ARCHIVE=yes
3268 DEFAULT_wxUSE_BUSYINFO=yes
3269 DEFAULT_wxUSE_ARCHIVE_STREAMS=yes
3270 DEFAULT_wxUSE_ZIPSTREAM=yes
3271 DEFAULT_wxUSE_TARSTREAM=yes
3272 DEFAULT_wxUSE_VALIDATORS=yes
3273
3274 DEFAULT_wxUSE_ACCEL=yes
3275 DEFAULT_wxUSE_ANIMATIONCTRL=yes
3276 DEFAULT_wxUSE_BUTTON=yes
3277 DEFAULT_wxUSE_BMPBUTTON=yes
3278 DEFAULT_wxUSE_BITMAPCOMBOBOX=yes
3279 DEFAULT_wxUSE_CALCTRL=yes
3280 DEFAULT_wxUSE_CARET=yes
3281 DEFAULT_wxUSE_CHECKBOX=yes
3282 DEFAULT_wxUSE_CHECKLST=yes
3283 DEFAULT_wxUSE_CHOICE=yes
3284 DEFAULT_wxUSE_CHOICEBOOK=yes
3285 DEFAULT_wxUSE_COLLPANE=yes
3286 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
3287 DEFAULT_wxUSE_COMBOBOX=yes
3288 DEFAULT_wxUSE_COMBOCTRL=yes
3289 DEFAULT_wxUSE_DATEPICKCTRL=yes
3290 DEFAULT_wxUSE_DISPLAY=yes
3291 DEFAULT_wxUSE_DETECT_SM=yes
3292 DEFAULT_wxUSE_DIRPICKERCTRL=yes
3293 DEFAULT_wxUSE_FILEPICKERCTRL=yes
3294 DEFAULT_wxUSE_FONTPICKERCTRL=yes
3295 DEFAULT_wxUSE_GAUGE=yes
3296 DEFAULT_wxUSE_GRID=yes
3297 DEFAULT_wxUSE_GRAPHICS_CONTEXT=no
3298 DEFAULT_wxUSE_HYPERLINKCTRL=yes
3299 DEFAULT_wxUSE_DATAVIEWCTRL=no
3300 DEFAULT_wxUSE_IMAGLIST=yes
3301 DEFAULT_wxUSE_LISTBOOK=yes
3302 DEFAULT_wxUSE_LISTBOX=yes
3303 DEFAULT_wxUSE_LISTCTRL=yes
3304 DEFAULT_wxUSE_NOTEBOOK=yes
3305 DEFAULT_wxUSE_ODCOMBOBOX=yes
3306 DEFAULT_wxUSE_RADIOBOX=yes
3307 DEFAULT_wxUSE_RADIOBTN=yes
3308 DEFAULT_wxUSE_SASH=yes
3309 DEFAULT_wxUSE_SCROLLBAR=yes
3310 DEFAULT_wxUSE_SEARCHCTRL=yes
3311 DEFAULT_wxUSE_SLIDER=yes
3312 DEFAULT_wxUSE_SPINBTN=yes
3313 DEFAULT_wxUSE_SPINCTRL=yes
3314 DEFAULT_wxUSE_SPLITTER=yes
3315 DEFAULT_wxUSE_STATBMP=yes
3316 DEFAULT_wxUSE_STATBOX=yes
3317 DEFAULT_wxUSE_STATLINE=yes
3318 DEFAULT_wxUSE_STATTEXT=yes
3319 DEFAULT_wxUSE_STATUSBAR=yes
3320 DEFAULT_wxUSE_TAB_DIALOG=no
3321 DEFAULT_wxUSE_TEXTCTRL=yes
3322 DEFAULT_wxUSE_TOGGLEBTN=yes
3323 DEFAULT_wxUSE_TOOLBAR=yes
3324 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
3325 DEFAULT_wxUSE_TREEBOOK=yes
3326 DEFAULT_wxUSE_TOOLBOOK=yes
3327 DEFAULT_wxUSE_TREECTRL=yes
3328 DEFAULT_wxUSE_POPUPWIN=yes
3329 DEFAULT_wxUSE_TIPWINDOW=yes
3330
3331 DEFAULT_wxUSE_UNICODE=no
3332 DEFAULT_wxUSE_UNICODE_MSLU=yes
3333 DEFAULT_wxUSE_WCSRTOMBS=no
3334
3335 DEFAULT_wxUSE_PALETTE=yes
3336 DEFAULT_wxUSE_IMAGE=yes
3337 DEFAULT_wxUSE_GIF=yes
3338 DEFAULT_wxUSE_PCX=yes
3339 DEFAULT_wxUSE_TGA=yes
3340 DEFAULT_wxUSE_IFF=no DEFAULT_wxUSE_PNM=yes
3341 DEFAULT_wxUSE_XPM=yes
3342 DEFAULT_wxUSE_ICO_CUR=yes
3343 DEFAULT_wxUSE_ACCESSIBILITY=no
3344
3345 DEFAULT_wxUSE_MONOLITHIC=no
3346 DEFAULT_wxUSE_PLUGINS=no
3347 DEFAULT_wxUSE_OFFICIAL_BUILD=no
3348
3349 DEFAULT_wxUSE_GTK2=yes
3350 fi
3351
3352
3353
3354
3355 for toolkit in `echo $ALL_TOOLKITS`; do
3356 LINE=`grep "wxUSE_$toolkit=" ${wx_arg_cache_file}`
3357 if test "x$LINE" != "x" ; then
3358 has_toolkit_in_cache=1
3359 eval "DEFAULT_$LINE"
3360 eval "CACHE_$toolkit=1"
3361
3362 LINE=`grep "wx${toolkit}_VERSION=" ${wx_arg_cache_file}`
3363 if test "x$LINE" != "x" ; then
3364 eval "DEFAULT_$LINE"
3365 fi
3366 fi
3367 done
3368
3369
3370
3371 enablestring=
3372 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gui" >&5
3373 echo $ECHO_N "checking for --${enablestring:-enable}-gui... $ECHO_C" >&6; }
3374 no_cache=0
3375 # Check whether --enable-gui was given.
3376 if test "${enable_gui+set}" = set; then
3377 enableval=$enable_gui;
3378 if test "$enableval" = yes; then
3379 ac_cv_use_gui='wxUSE_GUI=yes'
3380 else
3381 ac_cv_use_gui='wxUSE_GUI=no'
3382 fi
3383
3384 else
3385
3386 LINE=`grep "wxUSE_GUI" ${wx_arg_cache_file}`
3387 if test "x$LINE" != x ; then
3388 eval "DEFAULT_$LINE"
3389 else
3390 no_cache=1
3391 fi
3392
3393 ac_cv_use_gui='wxUSE_GUI='$DEFAULT_wxUSE_GUI
3394
3395 fi
3396
3397
3398 eval "$ac_cv_use_gui"
3399 if test "$no_cache" != 1; then
3400 echo $ac_cv_use_gui >> ${wx_arg_cache_file}.tmp
3401 fi
3402
3403 if test "$wxUSE_GUI" = yes; then
3404 { echo "$as_me:$LINENO: result: yes" >&5
3405 echo "${ECHO_T}yes" >&6; }
3406 else
3407 { echo "$as_me:$LINENO: result: no" >&5
3408 echo "${ECHO_T}no" >&6; }
3409 fi
3410
3411
3412 enablestring=
3413 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-monolithic" >&5
3414 echo $ECHO_N "checking for --${enablestring:-enable}-monolithic... $ECHO_C" >&6; }
3415 no_cache=0
3416 # Check whether --enable-monolithic was given.
3417 if test "${enable_monolithic+set}" = set; then
3418 enableval=$enable_monolithic;
3419 if test "$enableval" = yes; then
3420 ac_cv_use_monolithic='wxUSE_MONOLITHIC=yes'
3421 else
3422 ac_cv_use_monolithic='wxUSE_MONOLITHIC=no'
3423 fi
3424
3425 else
3426
3427 LINE=`grep "wxUSE_MONOLITHIC" ${wx_arg_cache_file}`
3428 if test "x$LINE" != x ; then
3429 eval "DEFAULT_$LINE"
3430 else
3431 no_cache=1
3432 fi
3433
3434 ac_cv_use_monolithic='wxUSE_MONOLITHIC='$DEFAULT_wxUSE_MONOLITHIC
3435
3436 fi
3437
3438
3439 eval "$ac_cv_use_monolithic"
3440 if test "$no_cache" != 1; then
3441 echo $ac_cv_use_monolithic >> ${wx_arg_cache_file}.tmp
3442 fi
3443
3444 if test "$wxUSE_MONOLITHIC" = yes; then
3445 { echo "$as_me:$LINENO: result: yes" >&5
3446 echo "${ECHO_T}yes" >&6; }
3447 else
3448 { echo "$as_me:$LINENO: result: no" >&5
3449 echo "${ECHO_T}no" >&6; }
3450 fi
3451
3452
3453 enablestring=
3454 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-plugins" >&5
3455 echo $ECHO_N "checking for --${enablestring:-enable}-plugins... $ECHO_C" >&6; }
3456 no_cache=0
3457 # Check whether --enable-plugins was given.
3458 if test "${enable_plugins+set}" = set; then
3459 enableval=$enable_plugins;
3460 if test "$enableval" = yes; then
3461 ac_cv_use_plugins='wxUSE_PLUGINS=yes'
3462 else
3463 ac_cv_use_plugins='wxUSE_PLUGINS=no'
3464 fi
3465
3466 else
3467
3468 LINE=`grep "wxUSE_PLUGINS" ${wx_arg_cache_file}`
3469 if test "x$LINE" != x ; then
3470 eval "DEFAULT_$LINE"
3471 else
3472 no_cache=1
3473 fi
3474
3475 ac_cv_use_plugins='wxUSE_PLUGINS='$DEFAULT_wxUSE_PLUGINS
3476
3477 fi
3478
3479
3480 eval "$ac_cv_use_plugins"
3481 if test "$no_cache" != 1; then
3482 echo $ac_cv_use_plugins >> ${wx_arg_cache_file}.tmp
3483 fi
3484
3485 if test "$wxUSE_PLUGINS" = yes; then
3486 { echo "$as_me:$LINENO: result: yes" >&5
3487 echo "${ECHO_T}yes" >&6; }
3488 else
3489 { echo "$as_me:$LINENO: result: no" >&5
3490 echo "${ECHO_T}no" >&6; }
3491 fi
3492
3493
3494 withstring=without
3495 { echo "$as_me:$LINENO: checking for --${withstring:-with}-subdirs" >&5
3496 echo $ECHO_N "checking for --${withstring:-with}-subdirs... $ECHO_C" >&6; }
3497 no_cache=0
3498
3499 # Check whether --with-subdirs was given.
3500 if test "${with_subdirs+set}" = set; then
3501 withval=$with_subdirs;
3502 if test "$withval" = yes; then
3503 ac_cv_use_subdirs='wxWITH_SUBDIRS=yes'
3504 else
3505 ac_cv_use_subdirs='wxWITH_SUBDIRS=no'
3506 fi
3507
3508 else
3509
3510 LINE=`grep "wxWITH_SUBDIRS" ${wx_arg_cache_file}`
3511 if test "x$LINE" != x ; then
3512 eval "DEFAULT_$LINE"
3513 else
3514 no_cache=1
3515 fi
3516
3517 ac_cv_use_subdirs='wxWITH_SUBDIRS='$DEFAULT_wxWITH_SUBDIRS
3518
3519 fi
3520
3521
3522 eval "$ac_cv_use_subdirs"
3523 if test "$no_cache" != 1; then
3524 echo $ac_cv_use_subdirs >> ${wx_arg_cache_file}.tmp
3525 fi
3526
3527 if test "$wxWITH_SUBDIRS" = yes; then
3528 { echo "$as_me:$LINENO: result: yes" >&5
3529 echo "${ECHO_T}yes" >&6; }
3530 else
3531 { echo "$as_me:$LINENO: result: no" >&5
3532 echo "${ECHO_T}no" >&6; }
3533 fi
3534
3535
3536 if test "$wxUSE_GUI" = "yes"; then
3537
3538
3539 enablestring=
3540 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal" >&5
3541 echo $ECHO_N "checking for --${enablestring:-enable}-universal... $ECHO_C" >&6; }
3542 no_cache=0
3543 # Check whether --enable-universal was given.
3544 if test "${enable_universal+set}" = set; then
3545 enableval=$enable_universal;
3546 if test "$enableval" = yes; then
3547 ac_cv_use_universal='wxUSE_UNIVERSAL=yes'
3548 else
3549 ac_cv_use_universal='wxUSE_UNIVERSAL=no'
3550 fi
3551
3552 else
3553
3554 LINE=`grep "wxUSE_UNIVERSAL" ${wx_arg_cache_file}`
3555 if test "x$LINE" != x ; then
3556 eval "DEFAULT_$LINE"
3557 else
3558 no_cache=1
3559 fi
3560
3561 ac_cv_use_universal='wxUSE_UNIVERSAL='$DEFAULT_wxUSE_UNIVERSAL
3562
3563 fi
3564
3565
3566 eval "$ac_cv_use_universal"
3567 if test "$no_cache" != 1; then
3568 echo $ac_cv_use_universal >> ${wx_arg_cache_file}.tmp
3569 fi
3570
3571 if test "$wxUSE_UNIVERSAL" = yes; then
3572 { echo "$as_me:$LINENO: result: yes" >&5
3573 echo "${ECHO_T}yes" >&6; }
3574 else
3575 { echo "$as_me:$LINENO: result: no" >&5
3576 echo "${ECHO_T}no" >&6; }
3577 fi
3578
3579
3580 # Check whether --with-gtk was given.
3581 if test "${with_gtk+set}" = set; then
3582 withval=$with_gtk; wxUSE_GTK="$withval" CACHE_GTK=1 TOOLKIT_GIVEN=1
3583 fi
3584
3585
3586 # Check whether --with-motif was given.
3587 if test "${with_motif+set}" = set; then
3588 withval=$with_motif; wxUSE_MOTIF="$withval" CACHE_MOTIF=1 TOOLKIT_GIVEN=1
3589 fi
3590
3591
3592 # Check whether --with-mac was given.
3593 if test "${with_mac+set}" = set; then
3594 withval=$with_mac; wxUSE_MAC="$withval" CACHE_MAC=1 TOOLKIT_GIVEN=1
3595 fi
3596
3597
3598 # Check whether --with-cocoa was given.
3599 if test "${with_cocoa+set}" = set; then
3600 withval=$with_cocoa; wxUSE_COCOA="$withval" CACHE_COCOA=1 TOOLKIT_GIVEN=1
3601 fi
3602
3603
3604 # Check whether --with-wine was given.
3605 if test "${with_wine+set}" = set; then
3606 withval=$with_wine; wxUSE_WINE="$withval" CACHE_WINE=1
3607 fi
3608
3609
3610 # Check whether --with-msw was given.
3611 if test "${with_msw+set}" = set; then
3612 withval=$with_msw; wxUSE_MSW="$withval" CACHE_MSW=1 TOOLKIT_GIVEN=1
3613 fi
3614
3615
3616 # Check whether --with-pm was given.
3617 if test "${with_pm+set}" = set; then
3618 withval=$with_pm; wxUSE_PM="$withval" CACHE_PM=1 TOOLKIT_GIVEN=1
3619 fi
3620
3621
3622 # Check whether --with-mgl was given.
3623 if test "${with_mgl+set}" = set; then
3624 withval=$with_mgl; wxUSE_MGL="$withval" wxUSE_UNIVERSAL="yes" CACHE_MGL=1 TOOLKIT_GIVEN=1
3625 fi
3626
3627
3628 # Check whether --with-directfb was given.
3629 if test "${with_directfb+set}" = set; then
3630 withval=$with_directfb; wxUSE_DFB="$withval" wxUSE_UNIVERSAL="yes" CACHE_DFB=1 TOOLKIT_GIVEN=1
3631 fi
3632
3633
3634 # Check whether --with-microwin was given.
3635 if test "${with_microwin+set}" = set; then
3636 withval=$with_microwin; wxUSE_MICROWIN="$withval" CACHE_MICROWIN=1 TOOLKIT_GIVEN=1
3637 fi
3638
3639
3640 # Check whether --with-x11 was given.
3641 if test "${with_x11+set}" = set; then
3642 withval=$with_x11; wxUSE_X11="$withval" wxUSE_UNIVERSAL="yes" CACHE_X11=1 TOOLKIT_GIVEN=1
3643 fi
3644
3645
3646 enablestring=
3647 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-nanox" >&5
3648 echo $ECHO_N "checking for --${enablestring:-enable}-nanox... $ECHO_C" >&6; }
3649 no_cache=0
3650 # Check whether --enable-nanox was given.
3651 if test "${enable_nanox+set}" = set; then
3652 enableval=$enable_nanox;
3653 if test "$enableval" = yes; then
3654 ac_cv_use_nanox='wxUSE_NANOX=yes'
3655 else
3656 ac_cv_use_nanox='wxUSE_NANOX=no'
3657 fi
3658
3659 else
3660
3661 LINE=`grep "wxUSE_NANOX" ${wx_arg_cache_file}`
3662 if test "x$LINE" != x ; then
3663 eval "DEFAULT_$LINE"
3664 else
3665 no_cache=1
3666 fi
3667
3668 ac_cv_use_nanox='wxUSE_NANOX='$DEFAULT_wxUSE_NANOX
3669
3670 fi
3671
3672
3673 eval "$ac_cv_use_nanox"
3674 if test "$no_cache" != 1; then
3675 echo $ac_cv_use_nanox >> ${wx_arg_cache_file}.tmp
3676 fi
3677
3678 if test "$wxUSE_NANOX" = yes; then
3679 { echo "$as_me:$LINENO: result: yes" >&5
3680 echo "${ECHO_T}yes" >&6; }
3681 else
3682 { echo "$as_me:$LINENO: result: no" >&5
3683 echo "${ECHO_T}no" >&6; }
3684 fi
3685
3686
3687 # Check whether --enable-gtk2 was given.
3688 if test "${enable_gtk2+set}" = set; then
3689 enableval=$enable_gtk2; wxUSE_GTK2="$enableval"
3690 fi
3691
3692
3693 enablestring=
3694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gpe" >&5
3695 echo $ECHO_N "checking for --${enablestring:-enable}-gpe... $ECHO_C" >&6; }
3696 no_cache=0
3697 # Check whether --enable-gpe was given.
3698 if test "${enable_gpe+set}" = set; then
3699 enableval=$enable_gpe;
3700 if test "$enableval" = yes; then
3701 ac_cv_use_gpe='wxUSE_GPE=yes'
3702 else
3703 ac_cv_use_gpe='wxUSE_GPE=no'
3704 fi
3705
3706 else
3707
3708 LINE=`grep "wxUSE_GPE" ${wx_arg_cache_file}`
3709 if test "x$LINE" != x ; then
3710 eval "DEFAULT_$LINE"
3711 else
3712 no_cache=1
3713 fi
3714
3715 ac_cv_use_gpe='wxUSE_GPE='$DEFAULT_wxUSE_GPE
3716
3717 fi
3718
3719
3720 eval "$ac_cv_use_gpe"
3721 if test "$no_cache" != 1; then
3722 echo $ac_cv_use_gpe >> ${wx_arg_cache_file}.tmp
3723 fi
3724
3725 if test "$wxUSE_GPE" = yes; then
3726 { echo "$as_me:$LINENO: result: yes" >&5
3727 echo "${ECHO_T}yes" >&6; }
3728 else
3729 { echo "$as_me:$LINENO: result: no" >&5
3730 echo "${ECHO_T}no" >&6; }
3731 fi
3732
3733
3734
3735 { echo "$as_me:$LINENO: checking for --with-libpng" >&5
3736 echo $ECHO_N "checking for --with-libpng... $ECHO_C" >&6; }
3737 no_cache=0
3738
3739 # Check whether --with-libpng was given.
3740 if test "${with_libpng+set}" = set; then
3741 withval=$with_libpng;
3742 if test "$withval" = yes; then
3743 ac_cv_use_libpng='wxUSE_LIBPNG=yes'
3744 elif test "$withval" = no; then
3745 ac_cv_use_libpng='wxUSE_LIBPNG=no'
3746 elif test "$withval" = sys; then
3747 ac_cv_use_libpng='wxUSE_LIBPNG=sys'
3748 elif test "$withval" = builtin; then
3749 ac_cv_use_libpng='wxUSE_LIBPNG=builtin'
3750 else
3751 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3752 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3753 { (exit 1); exit 1; }; }
3754 fi
3755
3756 else
3757
3758 LINE=`grep "wxUSE_LIBPNG" ${wx_arg_cache_file}`
3759 if test "x$LINE" != x ; then
3760 eval "DEFAULT_$LINE"
3761 else
3762 no_cache=1
3763 fi
3764
3765 ac_cv_use_libpng='wxUSE_LIBPNG='$DEFAULT_wxUSE_LIBPNG
3766
3767 fi
3768
3769
3770 eval "$ac_cv_use_libpng"
3771 if test "$no_cache" != 1; then
3772 echo $ac_cv_use_libpng >> ${wx_arg_cache_file}.tmp
3773 fi
3774
3775 if test "$wxUSE_LIBPNG" = yes; then
3776 { echo "$as_me:$LINENO: result: yes" >&5
3777 echo "${ECHO_T}yes" >&6; }
3778 elif test "$wxUSE_LIBPNG" = no; then
3779 { echo "$as_me:$LINENO: result: no" >&5
3780 echo "${ECHO_T}no" >&6; }
3781 elif test "$wxUSE_LIBPNG" = sys; then
3782 { echo "$as_me:$LINENO: result: system version" >&5
3783 echo "${ECHO_T}system version" >&6; }
3784 elif test "$wxUSE_LIBPNG" = builtin; then
3785 { echo "$as_me:$LINENO: result: builtin version" >&5
3786 echo "${ECHO_T}builtin version" >&6; }
3787 else
3788 { { echo "$as_me:$LINENO: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&5
3789 echo "$as_me: error: Invalid value for --with-libpng: should be yes, no, sys, or builtin" >&2;}
3790 { (exit 1); exit 1; }; }
3791 fi
3792
3793
3794 { echo "$as_me:$LINENO: checking for --with-libjpeg" >&5
3795 echo $ECHO_N "checking for --with-libjpeg... $ECHO_C" >&6; }
3796 no_cache=0
3797
3798 # Check whether --with-libjpeg was given.
3799 if test "${with_libjpeg+set}" = set; then
3800 withval=$with_libjpeg;
3801 if test "$withval" = yes; then
3802 ac_cv_use_libjpeg='wxUSE_LIBJPEG=yes'
3803 elif test "$withval" = no; then
3804 ac_cv_use_libjpeg='wxUSE_LIBJPEG=no'
3805 elif test "$withval" = sys; then
3806 ac_cv_use_libjpeg='wxUSE_LIBJPEG=sys'
3807 elif test "$withval" = builtin; then
3808 ac_cv_use_libjpeg='wxUSE_LIBJPEG=builtin'
3809 else
3810 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3811 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3812 { (exit 1); exit 1; }; }
3813 fi
3814
3815 else
3816
3817 LINE=`grep "wxUSE_LIBJPEG" ${wx_arg_cache_file}`
3818 if test "x$LINE" != x ; then
3819 eval "DEFAULT_$LINE"
3820 else
3821 no_cache=1
3822 fi
3823
3824 ac_cv_use_libjpeg='wxUSE_LIBJPEG='$DEFAULT_wxUSE_LIBJPEG
3825
3826 fi
3827
3828
3829 eval "$ac_cv_use_libjpeg"
3830 if test "$no_cache" != 1; then
3831 echo $ac_cv_use_libjpeg >> ${wx_arg_cache_file}.tmp
3832 fi
3833
3834 if test "$wxUSE_LIBJPEG" = yes; then
3835 { echo "$as_me:$LINENO: result: yes" >&5
3836 echo "${ECHO_T}yes" >&6; }
3837 elif test "$wxUSE_LIBJPEG" = no; then
3838 { echo "$as_me:$LINENO: result: no" >&5
3839 echo "${ECHO_T}no" >&6; }
3840 elif test "$wxUSE_LIBJPEG" = sys; then
3841 { echo "$as_me:$LINENO: result: system version" >&5
3842 echo "${ECHO_T}system version" >&6; }
3843 elif test "$wxUSE_LIBJPEG" = builtin; then
3844 { echo "$as_me:$LINENO: result: builtin version" >&5
3845 echo "${ECHO_T}builtin version" >&6; }
3846 else
3847 { { echo "$as_me:$LINENO: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&5
3848 echo "$as_me: error: Invalid value for --with-libjpeg: should be yes, no, sys, or builtin" >&2;}
3849 { (exit 1); exit 1; }; }
3850 fi
3851
3852
3853 { echo "$as_me:$LINENO: checking for --with-libtiff" >&5
3854 echo $ECHO_N "checking for --with-libtiff... $ECHO_C" >&6; }
3855 no_cache=0
3856
3857 # Check whether --with-libtiff was given.
3858 if test "${with_libtiff+set}" = set; then
3859 withval=$with_libtiff;
3860 if test "$withval" = yes; then
3861 ac_cv_use_libtiff='wxUSE_LIBTIFF=yes'
3862 elif test "$withval" = no; then
3863 ac_cv_use_libtiff='wxUSE_LIBTIFF=no'
3864 elif test "$withval" = sys; then
3865 ac_cv_use_libtiff='wxUSE_LIBTIFF=sys'
3866 elif test "$withval" = builtin; then
3867 ac_cv_use_libtiff='wxUSE_LIBTIFF=builtin'
3868 else
3869 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3870 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3871 { (exit 1); exit 1; }; }
3872 fi
3873
3874 else
3875
3876 LINE=`grep "wxUSE_LIBTIFF" ${wx_arg_cache_file}`
3877 if test "x$LINE" != x ; then
3878 eval "DEFAULT_$LINE"
3879 else
3880 no_cache=1
3881 fi
3882
3883 ac_cv_use_libtiff='wxUSE_LIBTIFF='$DEFAULT_wxUSE_LIBTIFF
3884
3885 fi
3886
3887
3888 eval "$ac_cv_use_libtiff"
3889 if test "$no_cache" != 1; then
3890 echo $ac_cv_use_libtiff >> ${wx_arg_cache_file}.tmp
3891 fi
3892
3893 if test "$wxUSE_LIBTIFF" = yes; then
3894 { echo "$as_me:$LINENO: result: yes" >&5
3895 echo "${ECHO_T}yes" >&6; }
3896 elif test "$wxUSE_LIBTIFF" = no; then
3897 { echo "$as_me:$LINENO: result: no" >&5
3898 echo "${ECHO_T}no" >&6; }
3899 elif test "$wxUSE_LIBTIFF" = sys; then
3900 { echo "$as_me:$LINENO: result: system version" >&5
3901 echo "${ECHO_T}system version" >&6; }
3902 elif test "$wxUSE_LIBTIFF" = builtin; then
3903 { echo "$as_me:$LINENO: result: builtin version" >&5
3904 echo "${ECHO_T}builtin version" >&6; }
3905 else
3906 { { echo "$as_me:$LINENO: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&5
3907 echo "$as_me: error: Invalid value for --with-libtiff: should be yes, no, sys, or builtin" >&2;}
3908 { (exit 1); exit 1; }; }
3909 fi
3910
3911
3912 { echo "$as_me:$LINENO: checking for --with-libxpm" >&5
3913 echo $ECHO_N "checking for --with-libxpm... $ECHO_C" >&6; }
3914 no_cache=0
3915
3916 # Check whether --with-libxpm was given.
3917 if test "${with_libxpm+set}" = set; then
3918 withval=$with_libxpm;
3919 if test "$withval" = yes; then
3920 ac_cv_use_libxpm='wxUSE_LIBXPM=yes'
3921 elif test "$withval" = no; then
3922 ac_cv_use_libxpm='wxUSE_LIBXPM=no'
3923 elif test "$withval" = sys; then
3924 ac_cv_use_libxpm='wxUSE_LIBXPM=sys'
3925 elif test "$withval" = builtin; then
3926 ac_cv_use_libxpm='wxUSE_LIBXPM=builtin'
3927 else
3928 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3929 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3930 { (exit 1); exit 1; }; }
3931 fi
3932
3933 else
3934
3935 LINE=`grep "wxUSE_LIBXPM" ${wx_arg_cache_file}`
3936 if test "x$LINE" != x ; then
3937 eval "DEFAULT_$LINE"
3938 else
3939 no_cache=1
3940 fi
3941
3942 ac_cv_use_libxpm='wxUSE_LIBXPM='$DEFAULT_wxUSE_LIBXPM
3943
3944 fi
3945
3946
3947 eval "$ac_cv_use_libxpm"
3948 if test "$no_cache" != 1; then
3949 echo $ac_cv_use_libxpm >> ${wx_arg_cache_file}.tmp
3950 fi
3951
3952 if test "$wxUSE_LIBXPM" = yes; then
3953 { echo "$as_me:$LINENO: result: yes" >&5
3954 echo "${ECHO_T}yes" >&6; }
3955 elif test "$wxUSE_LIBXPM" = no; then
3956 { echo "$as_me:$LINENO: result: no" >&5
3957 echo "${ECHO_T}no" >&6; }
3958 elif test "$wxUSE_LIBXPM" = sys; then
3959 { echo "$as_me:$LINENO: result: system version" >&5
3960 echo "${ECHO_T}system version" >&6; }
3961 elif test "$wxUSE_LIBXPM" = builtin; then
3962 { echo "$as_me:$LINENO: result: builtin version" >&5
3963 echo "${ECHO_T}builtin version" >&6; }
3964 else
3965 { { echo "$as_me:$LINENO: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&5
3966 echo "$as_me: error: Invalid value for --with-libxpm: should be yes, no, sys, or builtin" >&2;}
3967 { (exit 1); exit 1; }; }
3968 fi
3969
3970
3971 withstring=
3972 { echo "$as_me:$LINENO: checking for --${withstring:-with}-libmspack" >&5
3973 echo $ECHO_N "checking for --${withstring:-with}-libmspack... $ECHO_C" >&6; }
3974 no_cache=0
3975
3976 # Check whether --with-libmspack was given.
3977 if test "${with_libmspack+set}" = set; then
3978 withval=$with_libmspack;
3979 if test "$withval" = yes; then
3980 ac_cv_use_libmspack='wxUSE_LIBMSPACK=yes'
3981 else
3982 ac_cv_use_libmspack='wxUSE_LIBMSPACK=no'
3983 fi
3984
3985 else
3986
3987 LINE=`grep "wxUSE_LIBMSPACK" ${wx_arg_cache_file}`
3988 if test "x$LINE" != x ; then
3989 eval "DEFAULT_$LINE"
3990 else
3991 no_cache=1
3992 fi
3993
3994 ac_cv_use_libmspack='wxUSE_LIBMSPACK='$DEFAULT_wxUSE_LIBMSPACK
3995
3996 fi
3997
3998
3999 eval "$ac_cv_use_libmspack"
4000 if test "$no_cache" != 1; then
4001 echo $ac_cv_use_libmspack >> ${wx_arg_cache_file}.tmp
4002 fi
4003
4004 if test "$wxUSE_LIBMSPACK" = yes; then
4005 { echo "$as_me:$LINENO: result: yes" >&5
4006 echo "${ECHO_T}yes" >&6; }
4007 else
4008 { echo "$as_me:$LINENO: result: no" >&5
4009 echo "${ECHO_T}no" >&6; }
4010 fi
4011
4012
4013 withstring=
4014 { echo "$as_me:$LINENO: checking for --${withstring:-with}-sdl" >&5
4015 echo $ECHO_N "checking for --${withstring:-with}-sdl... $ECHO_C" >&6; }
4016 no_cache=0
4017
4018 # Check whether --with-sdl was given.
4019 if test "${with_sdl+set}" = set; then
4020 withval=$with_sdl;
4021 if test "$withval" = yes; then
4022 ac_cv_use_sdl='wxUSE_LIBSDL=yes'
4023 else
4024 ac_cv_use_sdl='wxUSE_LIBSDL=no'
4025 fi
4026
4027 else
4028
4029 LINE=`grep "wxUSE_LIBSDL" ${wx_arg_cache_file}`
4030 if test "x$LINE" != x ; then
4031 eval "DEFAULT_$LINE"
4032 else
4033 no_cache=1
4034 fi
4035
4036 ac_cv_use_sdl='wxUSE_LIBSDL='$DEFAULT_wxUSE_LIBSDL
4037
4038 fi
4039
4040
4041 eval "$ac_cv_use_sdl"
4042 if test "$no_cache" != 1; then
4043 echo $ac_cv_use_sdl >> ${wx_arg_cache_file}.tmp
4044 fi
4045
4046 if test "$wxUSE_LIBSDL" = yes; then
4047 { echo "$as_me:$LINENO: result: yes" >&5
4048 echo "${ECHO_T}yes" >&6; }
4049 else
4050 { echo "$as_me:$LINENO: result: no" >&5
4051 echo "${ECHO_T}no" >&6; }
4052 fi
4053
4054
4055 withstring=
4056 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomeprint" >&5
4057 echo $ECHO_N "checking for --${withstring:-with}-gnomeprint... $ECHO_C" >&6; }
4058 no_cache=0
4059
4060 # Check whether --with-gnomeprint was given.
4061 if test "${with_gnomeprint+set}" = set; then
4062 withval=$with_gnomeprint;
4063 if test "$withval" = yes; then
4064 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=yes'
4065 else
4066 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT=no'
4067 fi
4068
4069 else
4070
4071 LINE=`grep "wxUSE_LIBGNOMEPRINT" ${wx_arg_cache_file}`
4072 if test "x$LINE" != x ; then
4073 eval "DEFAULT_$LINE"
4074 else
4075 no_cache=1
4076 fi
4077
4078 ac_cv_use_gnomeprint='wxUSE_LIBGNOMEPRINT='$DEFAULT_wxUSE_LIBGNOMEPRINT
4079
4080 fi
4081
4082
4083 eval "$ac_cv_use_gnomeprint"
4084 if test "$no_cache" != 1; then
4085 echo $ac_cv_use_gnomeprint >> ${wx_arg_cache_file}.tmp
4086 fi
4087
4088 if test "$wxUSE_LIBGNOMEPRINT" = yes; then
4089 { echo "$as_me:$LINENO: result: yes" >&5
4090 echo "${ECHO_T}yes" >&6; }
4091 else
4092 { echo "$as_me:$LINENO: result: no" >&5
4093 echo "${ECHO_T}no" >&6; }
4094 fi
4095
4096
4097 withstring=
4098 { echo "$as_me:$LINENO: checking for --${withstring:-with}-gnomevfs" >&5
4099 echo $ECHO_N "checking for --${withstring:-with}-gnomevfs... $ECHO_C" >&6; }
4100 no_cache=0
4101
4102 # Check whether --with-gnomevfs was given.
4103 if test "${with_gnomevfs+set}" = set; then
4104 withval=$with_gnomevfs;
4105 if test "$withval" = yes; then
4106 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=yes'
4107 else
4108 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS=no'
4109 fi
4110
4111 else
4112
4113 LINE=`grep "wxUSE_LIBGNOMEVFS" ${wx_arg_cache_file}`
4114 if test "x$LINE" != x ; then
4115 eval "DEFAULT_$LINE"
4116 else
4117 no_cache=1
4118 fi
4119
4120 ac_cv_use_gnomevfs='wxUSE_LIBGNOMEVFS='$DEFAULT_wxUSE_LIBGNOMEVFS
4121
4122 fi
4123
4124
4125 eval "$ac_cv_use_gnomevfs"
4126 if test "$no_cache" != 1; then
4127 echo $ac_cv_use_gnomevfs >> ${wx_arg_cache_file}.tmp
4128 fi
4129
4130 if test "$wxUSE_LIBGNOMEVFS" = yes; then
4131 { echo "$as_me:$LINENO: result: yes" >&5
4132 echo "${ECHO_T}yes" >&6; }
4133 else
4134 { echo "$as_me:$LINENO: result: no" >&5
4135 echo "${ECHO_T}no" >&6; }
4136 fi
4137
4138
4139 withstring=
4140 { echo "$as_me:$LINENO: checking for --${withstring:-with}-hildon" >&5
4141 echo $ECHO_N "checking for --${withstring:-with}-hildon... $ECHO_C" >&6; }
4142 no_cache=0
4143
4144 # Check whether --with-hildon was given.
4145 if test "${with_hildon+set}" = set; then
4146 withval=$with_hildon;
4147 if test "$withval" = yes; then
4148 ac_cv_use_hildon='wxUSE_LIBHILDON=yes'
4149 else
4150 ac_cv_use_hildon='wxUSE_LIBHILDON=no'
4151 fi
4152
4153 else
4154
4155 LINE=`grep "wxUSE_LIBHILDON" ${wx_arg_cache_file}`
4156 if test "x$LINE" != x ; then
4157 eval "DEFAULT_$LINE"
4158 else
4159 no_cache=1
4160 fi
4161
4162 ac_cv_use_hildon='wxUSE_LIBHILDON='$DEFAULT_wxUSE_LIBHILDON
4163
4164 fi
4165
4166
4167 eval "$ac_cv_use_hildon"
4168 if test "$no_cache" != 1; then
4169 echo $ac_cv_use_hildon >> ${wx_arg_cache_file}.tmp
4170 fi
4171
4172 if test "$wxUSE_LIBHILDON" = yes; then
4173 { echo "$as_me:$LINENO: result: yes" >&5
4174 echo "${ECHO_T}yes" >&6; }
4175 else
4176 { echo "$as_me:$LINENO: result: no" >&5
4177 echo "${ECHO_T}no" >&6; }
4178 fi
4179
4180
4181 withstring=
4182 { echo "$as_me:$LINENO: checking for --${withstring:-with}-opengl" >&5
4183 echo $ECHO_N "checking for --${withstring:-with}-opengl... $ECHO_C" >&6; }
4184 no_cache=0
4185
4186 # Check whether --with-opengl was given.
4187 if test "${with_opengl+set}" = set; then
4188 withval=$with_opengl;
4189 if test "$withval" = yes; then
4190 ac_cv_use_opengl='wxUSE_OPENGL=yes'
4191 else
4192 ac_cv_use_opengl='wxUSE_OPENGL=no'
4193 fi
4194
4195 else
4196
4197 LINE=`grep "wxUSE_OPENGL" ${wx_arg_cache_file}`
4198 if test "x$LINE" != x ; then
4199 eval "DEFAULT_$LINE"
4200 else
4201 no_cache=1
4202 fi
4203
4204 ac_cv_use_opengl='wxUSE_OPENGL='$DEFAULT_wxUSE_OPENGL
4205
4206 fi
4207
4208
4209 eval "$ac_cv_use_opengl"
4210 if test "$no_cache" != 1; then
4211 echo $ac_cv_use_opengl >> ${wx_arg_cache_file}.tmp
4212 fi
4213
4214 if test "$wxUSE_OPENGL" = yes; then
4215 { echo "$as_me:$LINENO: result: yes" >&5
4216 echo "${ECHO_T}yes" >&6; }
4217 else
4218 { echo "$as_me:$LINENO: result: no" >&5
4219 echo "${ECHO_T}no" >&6; }
4220 fi
4221
4222
4223 if test "$wxUSE_UNIVERSAL" = "yes"; then
4224
4225 # Check whether --with-themes was given.
4226 if test "${with_themes+set}" = set; then
4227 withval=$with_themes; wxUNIV_THEMES="$withval"
4228 fi
4229
4230 fi
4231
4232 fi
4233
4234
4235 withstring=
4236 { echo "$as_me:$LINENO: checking for --${withstring:-with}-dmalloc" >&5
4237 echo $ECHO_N "checking for --${withstring:-with}-dmalloc... $ECHO_C" >&6; }
4238 no_cache=0
4239
4240 # Check whether --with-dmalloc was given.
4241 if test "${with_dmalloc+set}" = set; then
4242 withval=$with_dmalloc;
4243 if test "$withval" = yes; then
4244 ac_cv_use_dmalloc='wxUSE_DMALLOC=yes'
4245 else
4246 ac_cv_use_dmalloc='wxUSE_DMALLOC=no'
4247 fi
4248
4249 else
4250
4251 LINE=`grep "wxUSE_DMALLOC" ${wx_arg_cache_file}`
4252 if test "x$LINE" != x ; then
4253 eval "DEFAULT_$LINE"
4254 else
4255 no_cache=1
4256 fi
4257
4258 ac_cv_use_dmalloc='wxUSE_DMALLOC='$DEFAULT_wxUSE_DMALLOC
4259
4260 fi
4261
4262
4263 eval "$ac_cv_use_dmalloc"
4264 if test "$no_cache" != 1; then
4265 echo $ac_cv_use_dmalloc >> ${wx_arg_cache_file}.tmp
4266 fi
4267
4268 if test "$wxUSE_DMALLOC" = yes; then
4269 { echo "$as_me:$LINENO: result: yes" >&5
4270 echo "${ECHO_T}yes" >&6; }
4271 else
4272 { echo "$as_me:$LINENO: result: no" >&5
4273 echo "${ECHO_T}no" >&6; }
4274 fi
4275
4276
4277 { echo "$as_me:$LINENO: checking for --with-regex" >&5
4278 echo $ECHO_N "checking for --with-regex... $ECHO_C" >&6; }
4279 no_cache=0
4280
4281 # Check whether --with-regex was given.
4282 if test "${with_regex+set}" = set; then
4283 withval=$with_regex;
4284 if test "$withval" = yes; then
4285 ac_cv_use_regex='wxUSE_REGEX=yes'
4286 elif test "$withval" = no; then
4287 ac_cv_use_regex='wxUSE_REGEX=no'
4288 elif test "$withval" = sys; then
4289 ac_cv_use_regex='wxUSE_REGEX=sys'
4290 elif test "$withval" = builtin; then
4291 ac_cv_use_regex='wxUSE_REGEX=builtin'
4292 else
4293 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4294 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4295 { (exit 1); exit 1; }; }
4296 fi
4297
4298 else
4299
4300 LINE=`grep "wxUSE_REGEX" ${wx_arg_cache_file}`
4301 if test "x$LINE" != x ; then
4302 eval "DEFAULT_$LINE"
4303 else
4304 no_cache=1
4305 fi
4306
4307 ac_cv_use_regex='wxUSE_REGEX='$DEFAULT_wxUSE_REGEX
4308
4309 fi
4310
4311
4312 eval "$ac_cv_use_regex"
4313 if test "$no_cache" != 1; then
4314 echo $ac_cv_use_regex >> ${wx_arg_cache_file}.tmp
4315 fi
4316
4317 if test "$wxUSE_REGEX" = yes; then
4318 { echo "$as_me:$LINENO: result: yes" >&5
4319 echo "${ECHO_T}yes" >&6; }
4320 elif test "$wxUSE_REGEX" = no; then
4321 { echo "$as_me:$LINENO: result: no" >&5
4322 echo "${ECHO_T}no" >&6; }
4323 elif test "$wxUSE_REGEX" = sys; then
4324 { echo "$as_me:$LINENO: result: system version" >&5
4325 echo "${ECHO_T}system version" >&6; }
4326 elif test "$wxUSE_REGEX" = builtin; then
4327 { echo "$as_me:$LINENO: result: builtin version" >&5
4328 echo "${ECHO_T}builtin version" >&6; }
4329 else
4330 { { echo "$as_me:$LINENO: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&5
4331 echo "$as_me: error: Invalid value for --with-regex: should be yes, no, sys, or builtin" >&2;}
4332 { (exit 1); exit 1; }; }
4333 fi
4334
4335
4336 { echo "$as_me:$LINENO: checking for --with-zlib" >&5
4337 echo $ECHO_N "checking for --with-zlib... $ECHO_C" >&6; }
4338 no_cache=0
4339
4340 # Check whether --with-zlib was given.
4341 if test "${with_zlib+set}" = set; then
4342 withval=$with_zlib;
4343 if test "$withval" = yes; then
4344 ac_cv_use_zlib='wxUSE_ZLIB=yes'
4345 elif test "$withval" = no; then
4346 ac_cv_use_zlib='wxUSE_ZLIB=no'
4347 elif test "$withval" = sys; then
4348 ac_cv_use_zlib='wxUSE_ZLIB=sys'
4349 elif test "$withval" = builtin; then
4350 ac_cv_use_zlib='wxUSE_ZLIB=builtin'
4351 else
4352 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4353 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4354 { (exit 1); exit 1; }; }
4355 fi
4356
4357 else
4358
4359 LINE=`grep "wxUSE_ZLIB" ${wx_arg_cache_file}`
4360 if test "x$LINE" != x ; then
4361 eval "DEFAULT_$LINE"
4362 else
4363 no_cache=1
4364 fi
4365
4366 ac_cv_use_zlib='wxUSE_ZLIB='$DEFAULT_wxUSE_ZLIB
4367
4368 fi
4369
4370
4371 eval "$ac_cv_use_zlib"
4372 if test "$no_cache" != 1; then
4373 echo $ac_cv_use_zlib >> ${wx_arg_cache_file}.tmp
4374 fi
4375
4376 if test "$wxUSE_ZLIB" = yes; then
4377 { echo "$as_me:$LINENO: result: yes" >&5
4378 echo "${ECHO_T}yes" >&6; }
4379 elif test "$wxUSE_ZLIB" = no; then
4380 { echo "$as_me:$LINENO: result: no" >&5
4381 echo "${ECHO_T}no" >&6; }
4382 elif test "$wxUSE_ZLIB" = sys; then
4383 { echo "$as_me:$LINENO: result: system version" >&5
4384 echo "${ECHO_T}system version" >&6; }
4385 elif test "$wxUSE_ZLIB" = builtin; then
4386 { echo "$as_me:$LINENO: result: builtin version" >&5
4387 echo "${ECHO_T}builtin version" >&6; }
4388 else
4389 { { echo "$as_me:$LINENO: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&5
4390 echo "$as_me: error: Invalid value for --with-zlib: should be yes, no, sys, or builtin" >&2;}
4391 { (exit 1); exit 1; }; }
4392 fi
4393
4394
4395 { echo "$as_me:$LINENO: checking for --with-odbc" >&5
4396 echo $ECHO_N "checking for --with-odbc... $ECHO_C" >&6; }
4397 no_cache=0
4398
4399 # Check whether --with-odbc was given.
4400 if test "${with_odbc+set}" = set; then
4401 withval=$with_odbc;
4402 if test "$withval" = yes; then
4403 ac_cv_use_odbc='wxUSE_ODBC=yes'
4404 elif test "$withval" = no; then
4405 ac_cv_use_odbc='wxUSE_ODBC=no'
4406 elif test "$withval" = sys; then
4407 ac_cv_use_odbc='wxUSE_ODBC=sys'
4408 elif test "$withval" = builtin; then
4409 ac_cv_use_odbc='wxUSE_ODBC=builtin'
4410 else
4411 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4412 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4413 { (exit 1); exit 1; }; }
4414 fi
4415
4416 else
4417
4418 LINE=`grep "wxUSE_ODBC" ${wx_arg_cache_file}`
4419 if test "x$LINE" != x ; then
4420 eval "DEFAULT_$LINE"
4421 else
4422 no_cache=1
4423 fi
4424
4425 ac_cv_use_odbc='wxUSE_ODBC='$DEFAULT_wxUSE_ODBC
4426
4427 fi
4428
4429
4430 eval "$ac_cv_use_odbc"
4431 if test "$no_cache" != 1; then
4432 echo $ac_cv_use_odbc >> ${wx_arg_cache_file}.tmp
4433 fi
4434
4435 if test "$wxUSE_ODBC" = yes; then
4436 { echo "$as_me:$LINENO: result: yes" >&5
4437 echo "${ECHO_T}yes" >&6; }
4438 elif test "$wxUSE_ODBC" = no; then
4439 { echo "$as_me:$LINENO: result: no" >&5
4440 echo "${ECHO_T}no" >&6; }
4441 elif test "$wxUSE_ODBC" = sys; then
4442 { echo "$as_me:$LINENO: result: system version" >&5
4443 echo "${ECHO_T}system version" >&6; }
4444 elif test "$wxUSE_ODBC" = builtin; then
4445 { echo "$as_me:$LINENO: result: builtin version" >&5
4446 echo "${ECHO_T}builtin version" >&6; }
4447 else
4448 { { echo "$as_me:$LINENO: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&5
4449 echo "$as_me: error: Invalid value for --with-odbc: should be yes, no, sys, or builtin" >&2;}
4450 { (exit 1); exit 1; }; }
4451 fi
4452
4453
4454 { echo "$as_me:$LINENO: checking for --with-expat" >&5
4455 echo $ECHO_N "checking for --with-expat... $ECHO_C" >&6; }
4456 no_cache=0
4457
4458 # Check whether --with-expat was given.
4459 if test "${with_expat+set}" = set; then
4460 withval=$with_expat;
4461 if test "$withval" = yes; then
4462 ac_cv_use_expat='wxUSE_EXPAT=yes'
4463 elif test "$withval" = no; then
4464 ac_cv_use_expat='wxUSE_EXPAT=no'
4465 elif test "$withval" = sys; then
4466 ac_cv_use_expat='wxUSE_EXPAT=sys'
4467 elif test "$withval" = builtin; then
4468 ac_cv_use_expat='wxUSE_EXPAT=builtin'
4469 else
4470 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4471 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4472 { (exit 1); exit 1; }; }
4473 fi
4474
4475 else
4476
4477 LINE=`grep "wxUSE_EXPAT" ${wx_arg_cache_file}`
4478 if test "x$LINE" != x ; then
4479 eval "DEFAULT_$LINE"
4480 else
4481 no_cache=1
4482 fi
4483
4484 ac_cv_use_expat='wxUSE_EXPAT='$DEFAULT_wxUSE_EXPAT
4485
4486 fi
4487
4488
4489 eval "$ac_cv_use_expat"
4490 if test "$no_cache" != 1; then
4491 echo $ac_cv_use_expat >> ${wx_arg_cache_file}.tmp
4492 fi
4493
4494 if test "$wxUSE_EXPAT" = yes; then
4495 { echo "$as_me:$LINENO: result: yes" >&5
4496 echo "${ECHO_T}yes" >&6; }
4497 elif test "$wxUSE_EXPAT" = no; then
4498 { echo "$as_me:$LINENO: result: no" >&5
4499 echo "${ECHO_T}no" >&6; }
4500 elif test "$wxUSE_EXPAT" = sys; then
4501 { echo "$as_me:$LINENO: result: system version" >&5
4502 echo "${ECHO_T}system version" >&6; }
4503 elif test "$wxUSE_EXPAT" = builtin; then
4504 { echo "$as_me:$LINENO: result: builtin version" >&5
4505 echo "${ECHO_T}builtin version" >&6; }
4506 else
4507 { { echo "$as_me:$LINENO: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&5
4508 echo "$as_me: error: Invalid value for --with-expat: should be yes, no, sys, or builtin" >&2;}
4509 { (exit 1); exit 1; }; }
4510 fi
4511
4512
4513
4514
4515 enablestring=
4516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-shared" >&5
4517 echo $ECHO_N "checking for --${enablestring:-enable}-shared... $ECHO_C" >&6; }
4518 no_cache=0
4519 # Check whether --enable-shared was given.
4520 if test "${enable_shared+set}" = set; then
4521 enableval=$enable_shared;
4522 if test "$enableval" = yes; then
4523 ac_cv_use_shared='wxUSE_SHARED=yes'
4524 else
4525 ac_cv_use_shared='wxUSE_SHARED=no'
4526 fi
4527
4528 else
4529
4530 LINE=`grep "wxUSE_SHARED" ${wx_arg_cache_file}`
4531 if test "x$LINE" != x ; then
4532 eval "DEFAULT_$LINE"
4533 else
4534 no_cache=1
4535 fi
4536
4537 ac_cv_use_shared='wxUSE_SHARED='$DEFAULT_wxUSE_SHARED
4538
4539 fi
4540
4541
4542 eval "$ac_cv_use_shared"
4543 if test "$no_cache" != 1; then
4544 echo $ac_cv_use_shared >> ${wx_arg_cache_file}.tmp
4545 fi
4546
4547 if test "$wxUSE_SHARED" = yes; then
4548 { echo "$as_me:$LINENO: result: yes" >&5
4549 echo "${ECHO_T}yes" >&6; }
4550 else
4551 { echo "$as_me:$LINENO: result: no" >&5
4552 echo "${ECHO_T}no" >&6; }
4553 fi
4554
4555
4556 enablestring=
4557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-optimise" >&5
4558 echo $ECHO_N "checking for --${enablestring:-enable}-optimise... $ECHO_C" >&6; }
4559 no_cache=0
4560 # Check whether --enable-optimise was given.
4561 if test "${enable_optimise+set}" = set; then
4562 enableval=$enable_optimise;
4563 if test "$enableval" = yes; then
4564 ac_cv_use_optimise='wxUSE_OPTIMISE=yes'
4565 else
4566 ac_cv_use_optimise='wxUSE_OPTIMISE=no'
4567 fi
4568
4569 else
4570
4571 LINE=`grep "wxUSE_OPTIMISE" ${wx_arg_cache_file}`
4572 if test "x$LINE" != x ; then
4573 eval "DEFAULT_$LINE"
4574 else
4575 no_cache=1
4576 fi
4577
4578 ac_cv_use_optimise='wxUSE_OPTIMISE='$DEFAULT_wxUSE_OPTIMISE
4579
4580 fi
4581
4582
4583 eval "$ac_cv_use_optimise"
4584 if test "$no_cache" != 1; then
4585 echo $ac_cv_use_optimise >> ${wx_arg_cache_file}.tmp
4586 fi
4587
4588 if test "$wxUSE_OPTIMISE" = yes; then
4589 { echo "$as_me:$LINENO: result: yes" >&5
4590 echo "${ECHO_T}yes" >&6; }
4591 else
4592 { echo "$as_me:$LINENO: result: no" >&5
4593 echo "${ECHO_T}no" >&6; }
4594 fi
4595
4596
4597 enablestring=
4598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug" >&5
4599 echo $ECHO_N "checking for --${enablestring:-enable}-debug... $ECHO_C" >&6; }
4600 no_cache=0
4601 # Check whether --enable-debug was given.
4602 if test "${enable_debug+set}" = set; then
4603 enableval=$enable_debug;
4604 if test "$enableval" = yes; then
4605 ac_cv_use_debug='wxUSE_DEBUG=yes'
4606 else
4607 ac_cv_use_debug='wxUSE_DEBUG=no'
4608 fi
4609
4610 else
4611
4612 LINE=`grep "wxUSE_DEBUG" ${wx_arg_cache_file}`
4613 if test "x$LINE" != x ; then
4614 eval "DEFAULT_$LINE"
4615 else
4616 no_cache=1
4617 fi
4618
4619 ac_cv_use_debug='wxUSE_DEBUG='$DEFAULT_wxUSE_DEBUG
4620
4621 fi
4622
4623
4624 eval "$ac_cv_use_debug"
4625 if test "$no_cache" != 1; then
4626 echo $ac_cv_use_debug >> ${wx_arg_cache_file}.tmp
4627 fi
4628
4629 if test "$wxUSE_DEBUG" = yes; then
4630 { echo "$as_me:$LINENO: result: yes" >&5
4631 echo "${ECHO_T}yes" >&6; }
4632 else
4633 { echo "$as_me:$LINENO: result: no" >&5
4634 echo "${ECHO_T}no" >&6; }
4635 fi
4636
4637
4638 enablestring=
4639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stl" >&5
4640 echo $ECHO_N "checking for --${enablestring:-enable}-stl... $ECHO_C" >&6; }
4641 no_cache=0
4642 # Check whether --enable-stl was given.
4643 if test "${enable_stl+set}" = set; then
4644 enableval=$enable_stl;
4645 if test "$enableval" = yes; then
4646 ac_cv_use_stl='wxUSE_STL=yes'
4647 else
4648 ac_cv_use_stl='wxUSE_STL=no'
4649 fi
4650
4651 else
4652
4653 LINE=`grep "wxUSE_STL" ${wx_arg_cache_file}`
4654 if test "x$LINE" != x ; then
4655 eval "DEFAULT_$LINE"
4656 else
4657 no_cache=1
4658 fi
4659
4660 ac_cv_use_stl='wxUSE_STL='$DEFAULT_wxUSE_STL
4661
4662 fi
4663
4664
4665 eval "$ac_cv_use_stl"
4666 if test "$no_cache" != 1; then
4667 echo $ac_cv_use_stl >> ${wx_arg_cache_file}.tmp
4668 fi
4669
4670 if test "$wxUSE_STL" = yes; then
4671 { echo "$as_me:$LINENO: result: yes" >&5
4672 echo "${ECHO_T}yes" >&6; }
4673 else
4674 { echo "$as_me:$LINENO: result: no" >&5
4675 echo "${ECHO_T}no" >&6; }
4676 fi
4677
4678 if test "$USE_OS2" = "1"; then
4679 DEFAULT_wxUSE_OMF=no
4680
4681 enablestring=
4682 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-omf" >&5
4683 echo $ECHO_N "checking for --${enablestring:-enable}-omf... $ECHO_C" >&6; }
4684 no_cache=0
4685 # Check whether --enable-omf was given.
4686 if test "${enable_omf+set}" = set; then
4687 enableval=$enable_omf;
4688 if test "$enableval" = yes; then
4689 ac_cv_use_omf='wxUSE_OMF=yes'
4690 else
4691 ac_cv_use_omf='wxUSE_OMF=no'
4692 fi
4693
4694 else
4695
4696 LINE=`grep "wxUSE_OMF" ${wx_arg_cache_file}`
4697 if test "x$LINE" != x ; then
4698 eval "DEFAULT_$LINE"
4699 else
4700 no_cache=1
4701 fi
4702
4703 ac_cv_use_omf='wxUSE_OMF='$DEFAULT_wxUSE_OMF
4704
4705 fi
4706
4707
4708 eval "$ac_cv_use_omf"
4709 if test "$no_cache" != 1; then
4710 echo $ac_cv_use_omf >> ${wx_arg_cache_file}.tmp
4711 fi
4712
4713 if test "$wxUSE_OMF" = yes; then
4714 { echo "$as_me:$LINENO: result: yes" >&5
4715 echo "${ECHO_T}yes" >&6; }
4716 else
4717 { echo "$as_me:$LINENO: result: no" >&5
4718 echo "${ECHO_T}no" >&6; }
4719 fi
4720
4721 fi
4722
4723 if test "$wxUSE_DEBUG" = "yes"; then
4724 DEFAULT_wxUSE_DEBUG_FLAG=yes
4725 DEFAULT_wxUSE_DEBUG_INFO=yes
4726 BUILD=debug
4727 elif test "$wxUSE_DEBUG" = "no"; then
4728 DEFAULT_wxUSE_DEBUG_FLAG=no
4729 DEFAULT_wxUSE_DEBUG_INFO=no
4730 BUILD=release
4731 fi
4732
4733
4734 enablestring=
4735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_flag" >&5
4736 echo $ECHO_N "checking for --${enablestring:-enable}-debug_flag... $ECHO_C" >&6; }
4737 no_cache=0
4738 # Check whether --enable-debug_flag was given.
4739 if test "${enable_debug_flag+set}" = set; then
4740 enableval=$enable_debug_flag;
4741 if test "$enableval" = yes; then
4742 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=yes'
4743 else
4744 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG=no'
4745 fi
4746
4747 else
4748
4749 LINE=`grep "wxUSE_DEBUG_FLAG" ${wx_arg_cache_file}`
4750 if test "x$LINE" != x ; then
4751 eval "DEFAULT_$LINE"
4752 else
4753 no_cache=1
4754 fi
4755
4756 ac_cv_use_debug_flag='wxUSE_DEBUG_FLAG='$DEFAULT_wxUSE_DEBUG_FLAG
4757
4758 fi
4759
4760
4761 eval "$ac_cv_use_debug_flag"
4762 if test "$no_cache" != 1; then
4763 echo $ac_cv_use_debug_flag >> ${wx_arg_cache_file}.tmp
4764 fi
4765
4766 if test "$wxUSE_DEBUG_FLAG" = yes; then
4767 { echo "$as_me:$LINENO: result: yes" >&5
4768 echo "${ECHO_T}yes" >&6; }
4769 else
4770 { echo "$as_me:$LINENO: result: no" >&5
4771 echo "${ECHO_T}no" >&6; }
4772 fi
4773
4774
4775 enablestring=
4776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_info" >&5
4777 echo $ECHO_N "checking for --${enablestring:-enable}-debug_info... $ECHO_C" >&6; }
4778 no_cache=0
4779 # Check whether --enable-debug_info was given.
4780 if test "${enable_debug_info+set}" = set; then
4781 enableval=$enable_debug_info;
4782 if test "$enableval" = yes; then
4783 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=yes'
4784 else
4785 ac_cv_use_debug_info='wxUSE_DEBUG_INFO=no'
4786 fi
4787
4788 else
4789
4790 LINE=`grep "wxUSE_DEBUG_INFO" ${wx_arg_cache_file}`
4791 if test "x$LINE" != x ; then
4792 eval "DEFAULT_$LINE"
4793 else
4794 no_cache=1
4795 fi
4796
4797 ac_cv_use_debug_info='wxUSE_DEBUG_INFO='$DEFAULT_wxUSE_DEBUG_INFO
4798
4799 fi
4800
4801
4802 eval "$ac_cv_use_debug_info"
4803 if test "$no_cache" != 1; then
4804 echo $ac_cv_use_debug_info >> ${wx_arg_cache_file}.tmp
4805 fi
4806
4807 if test "$wxUSE_DEBUG_INFO" = yes; then
4808 { echo "$as_me:$LINENO: result: yes" >&5
4809 echo "${ECHO_T}yes" >&6; }
4810 else
4811 { echo "$as_me:$LINENO: result: no" >&5
4812 echo "${ECHO_T}no" >&6; }
4813 fi
4814
4815
4816 enablestring=
4817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_gdb" >&5
4818 echo $ECHO_N "checking for --${enablestring:-enable}-debug_gdb... $ECHO_C" >&6; }
4819 no_cache=0
4820 # Check whether --enable-debug_gdb was given.
4821 if test "${enable_debug_gdb+set}" = set; then
4822 enableval=$enable_debug_gdb;
4823 if test "$enableval" = yes; then
4824 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=yes'
4825 else
4826 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB=no'
4827 fi
4828
4829 else
4830
4831 LINE=`grep "wxUSE_DEBUG_GDB" ${wx_arg_cache_file}`
4832 if test "x$LINE" != x ; then
4833 eval "DEFAULT_$LINE"
4834 else
4835 no_cache=1
4836 fi
4837
4838 ac_cv_use_debug_gdb='wxUSE_DEBUG_GDB='$DEFAULT_wxUSE_DEBUG_GDB
4839
4840 fi
4841
4842
4843 eval "$ac_cv_use_debug_gdb"
4844 if test "$no_cache" != 1; then
4845 echo $ac_cv_use_debug_gdb >> ${wx_arg_cache_file}.tmp
4846 fi
4847
4848 if test "$wxUSE_DEBUG_GDB" = yes; then
4849 { echo "$as_me:$LINENO: result: yes" >&5
4850 echo "${ECHO_T}yes" >&6; }
4851 else
4852 { echo "$as_me:$LINENO: result: no" >&5
4853 echo "${ECHO_T}no" >&6; }
4854 fi
4855
4856
4857 enablestring=
4858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debug_cntxt" >&5
4859 echo $ECHO_N "checking for --${enablestring:-enable}-debug_cntxt... $ECHO_C" >&6; }
4860 no_cache=0
4861 # Check whether --enable-debug_cntxt was given.
4862 if test "${enable_debug_cntxt+set}" = set; then
4863 enableval=$enable_debug_cntxt;
4864 if test "$enableval" = yes; then
4865 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=yes'
4866 else
4867 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT=no'
4868 fi
4869
4870 else
4871
4872 LINE=`grep "wxUSE_DEBUG_CONTEXT" ${wx_arg_cache_file}`
4873 if test "x$LINE" != x ; then
4874 eval "DEFAULT_$LINE"
4875 else
4876 no_cache=1
4877 fi
4878
4879 ac_cv_use_debug_cntxt='wxUSE_DEBUG_CONTEXT='$DEFAULT_wxUSE_DEBUG_CONTEXT
4880
4881 fi
4882
4883
4884 eval "$ac_cv_use_debug_cntxt"
4885 if test "$no_cache" != 1; then
4886 echo $ac_cv_use_debug_cntxt >> ${wx_arg_cache_file}.tmp
4887 fi
4888
4889 if test "$wxUSE_DEBUG_CONTEXT" = yes; then
4890 { echo "$as_me:$LINENO: result: yes" >&5
4891 echo "${ECHO_T}yes" >&6; }
4892 else
4893 { echo "$as_me:$LINENO: result: no" >&5
4894 echo "${ECHO_T}no" >&6; }
4895 fi
4896
4897
4898 enablestring=
4899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mem_tracing" >&5
4900 echo $ECHO_N "checking for --${enablestring:-enable}-mem_tracing... $ECHO_C" >&6; }
4901 no_cache=0
4902 # Check whether --enable-mem_tracing was given.
4903 if test "${enable_mem_tracing+set}" = set; then
4904 enableval=$enable_mem_tracing;
4905 if test "$enableval" = yes; then
4906 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=yes'
4907 else
4908 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING=no'
4909 fi
4910
4911 else
4912
4913 LINE=`grep "wxUSE_MEM_TRACING" ${wx_arg_cache_file}`
4914 if test "x$LINE" != x ; then
4915 eval "DEFAULT_$LINE"
4916 else
4917 no_cache=1
4918 fi
4919
4920 ac_cv_use_mem_tracing='wxUSE_MEM_TRACING='$DEFAULT_wxUSE_MEM_TRACING
4921
4922 fi
4923
4924
4925 eval "$ac_cv_use_mem_tracing"
4926 if test "$no_cache" != 1; then
4927 echo $ac_cv_use_mem_tracing >> ${wx_arg_cache_file}.tmp
4928 fi
4929
4930 if test "$wxUSE_MEM_TRACING" = yes; then
4931 { echo "$as_me:$LINENO: result: yes" >&5
4932 echo "${ECHO_T}yes" >&6; }
4933 else
4934 { echo "$as_me:$LINENO: result: no" >&5
4935 echo "${ECHO_T}no" >&6; }
4936 fi
4937
4938
4939 enablestring=
4940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-profile" >&5
4941 echo $ECHO_N "checking for --${enablestring:-enable}-profile... $ECHO_C" >&6; }
4942 no_cache=0
4943 # Check whether --enable-profile was given.
4944 if test "${enable_profile+set}" = set; then
4945 enableval=$enable_profile;
4946 if test "$enableval" = yes; then
4947 ac_cv_use_profile='wxUSE_PROFILE=yes'
4948 else
4949 ac_cv_use_profile='wxUSE_PROFILE=no'
4950 fi
4951
4952 else
4953
4954 LINE=`grep "wxUSE_PROFILE" ${wx_arg_cache_file}`
4955 if test "x$LINE" != x ; then
4956 eval "DEFAULT_$LINE"
4957 else
4958 no_cache=1
4959 fi
4960
4961 ac_cv_use_profile='wxUSE_PROFILE='$DEFAULT_wxUSE_PROFILE
4962
4963 fi
4964
4965
4966 eval "$ac_cv_use_profile"
4967 if test "$no_cache" != 1; then
4968 echo $ac_cv_use_profile >> ${wx_arg_cache_file}.tmp
4969 fi
4970
4971 if test "$wxUSE_PROFILE" = yes; then
4972 { echo "$as_me:$LINENO: result: yes" >&5
4973 echo "${ECHO_T}yes" >&6; }
4974 else
4975 { echo "$as_me:$LINENO: result: no" >&5
4976 echo "${ECHO_T}no" >&6; }
4977 fi
4978
4979
4980 enablestring=
4981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_rtti" >&5
4982 echo $ECHO_N "checking for --${enablestring:-enable}-no_rtti... $ECHO_C" >&6; }
4983 no_cache=0
4984 # Check whether --enable-no_rtti was given.
4985 if test "${enable_no_rtti+set}" = set; then
4986 enableval=$enable_no_rtti;
4987 if test "$enableval" = yes; then
4988 ac_cv_use_no_rtti='wxUSE_NO_RTTI=yes'
4989 else
4990 ac_cv_use_no_rtti='wxUSE_NO_RTTI=no'
4991 fi
4992
4993 else
4994
4995 LINE=`grep "wxUSE_NO_RTTI" ${wx_arg_cache_file}`
4996 if test "x$LINE" != x ; then
4997 eval "DEFAULT_$LINE"
4998 else
4999 no_cache=1
5000 fi
5001
5002 ac_cv_use_no_rtti='wxUSE_NO_RTTI='$DEFAULT_wxUSE_NO_RTTI
5003
5004 fi
5005
5006
5007 eval "$ac_cv_use_no_rtti"
5008 if test "$no_cache" != 1; then
5009 echo $ac_cv_use_no_rtti >> ${wx_arg_cache_file}.tmp
5010 fi
5011
5012 if test "$wxUSE_NO_RTTI" = yes; then
5013 { echo "$as_me:$LINENO: result: yes" >&5
5014 echo "${ECHO_T}yes" >&6; }
5015 else
5016 { echo "$as_me:$LINENO: result: no" >&5
5017 echo "${ECHO_T}no" >&6; }
5018 fi
5019
5020
5021 enablestring=
5022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_exceptions" >&5
5023 echo $ECHO_N "checking for --${enablestring:-enable}-no_exceptions... $ECHO_C" >&6; }
5024 no_cache=0
5025 # Check whether --enable-no_exceptions was given.
5026 if test "${enable_no_exceptions+set}" = set; then
5027 enableval=$enable_no_exceptions;
5028 if test "$enableval" = yes; then
5029 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=yes'
5030 else
5031 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS=no'
5032 fi
5033
5034 else
5035
5036 LINE=`grep "wxUSE_NO_EXCEPTIONS" ${wx_arg_cache_file}`
5037 if test "x$LINE" != x ; then
5038 eval "DEFAULT_$LINE"
5039 else
5040 no_cache=1
5041 fi
5042
5043 ac_cv_use_no_exceptions='wxUSE_NO_EXCEPTIONS='$DEFAULT_wxUSE_NO_EXCEPTIONS
5044
5045 fi
5046
5047
5048 eval "$ac_cv_use_no_exceptions"
5049 if test "$no_cache" != 1; then
5050 echo $ac_cv_use_no_exceptions >> ${wx_arg_cache_file}.tmp
5051 fi
5052
5053 if test "$wxUSE_NO_EXCEPTIONS" = yes; then
5054 { echo "$as_me:$LINENO: result: yes" >&5
5055 echo "${ECHO_T}yes" >&6; }
5056 else
5057 { echo "$as_me:$LINENO: result: no" >&5
5058 echo "${ECHO_T}no" >&6; }
5059 fi
5060
5061
5062 enablestring=
5063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-permissive" >&5
5064 echo $ECHO_N "checking for --${enablestring:-enable}-permissive... $ECHO_C" >&6; }
5065 no_cache=0
5066 # Check whether --enable-permissive was given.
5067 if test "${enable_permissive+set}" = set; then
5068 enableval=$enable_permissive;
5069 if test "$enableval" = yes; then
5070 ac_cv_use_permissive='wxUSE_PERMISSIVE=yes'
5071 else
5072 ac_cv_use_permissive='wxUSE_PERMISSIVE=no'
5073 fi
5074
5075 else
5076
5077 LINE=`grep "wxUSE_PERMISSIVE" ${wx_arg_cache_file}`
5078 if test "x$LINE" != x ; then
5079 eval "DEFAULT_$LINE"
5080 else
5081 no_cache=1
5082 fi
5083
5084 ac_cv_use_permissive='wxUSE_PERMISSIVE='$DEFAULT_wxUSE_PERMISSIVE
5085
5086 fi
5087
5088
5089 eval "$ac_cv_use_permissive"
5090 if test "$no_cache" != 1; then
5091 echo $ac_cv_use_permissive >> ${wx_arg_cache_file}.tmp
5092 fi
5093
5094 if test "$wxUSE_PERMISSIVE" = yes; then
5095 { echo "$as_me:$LINENO: result: yes" >&5
5096 echo "${ECHO_T}yes" >&6; }
5097 else
5098 { echo "$as_me:$LINENO: result: no" >&5
5099 echo "${ECHO_T}no" >&6; }
5100 fi
5101
5102
5103 enablestring=
5104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-no_deps" >&5
5105 echo $ECHO_N "checking for --${enablestring:-enable}-no_deps... $ECHO_C" >&6; }
5106 no_cache=0
5107 # Check whether --enable-no_deps was given.
5108 if test "${enable_no_deps+set}" = set; then
5109 enableval=$enable_no_deps;
5110 if test "$enableval" = yes; then
5111 ac_cv_use_no_deps='wxUSE_NO_DEPS=yes'
5112 else
5113 ac_cv_use_no_deps='wxUSE_NO_DEPS=no'
5114 fi
5115
5116 else
5117
5118 LINE=`grep "wxUSE_NO_DEPS" ${wx_arg_cache_file}`
5119 if test "x$LINE" != x ; then
5120 eval "DEFAULT_$LINE"
5121 else
5122 no_cache=1
5123 fi
5124
5125 ac_cv_use_no_deps='wxUSE_NO_DEPS='$DEFAULT_wxUSE_NO_DEPS
5126
5127 fi
5128
5129
5130 eval "$ac_cv_use_no_deps"
5131 if test "$no_cache" != 1; then
5132 echo $ac_cv_use_no_deps >> ${wx_arg_cache_file}.tmp
5133 fi
5134
5135 if test "$wxUSE_NO_DEPS" = yes; then
5136 { echo "$as_me:$LINENO: result: yes" >&5
5137 echo "${ECHO_T}yes" >&6; }
5138 else
5139 { echo "$as_me:$LINENO: result: no" >&5
5140 echo "${ECHO_T}no" >&6; }
5141 fi
5142
5143
5144 enablestring=
5145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-vararg_macros" >&5
5146 echo $ECHO_N "checking for --${enablestring:-enable}-vararg_macros... $ECHO_C" >&6; }
5147 no_cache=0
5148 # Check whether --enable-vararg_macros was given.
5149 if test "${enable_vararg_macros+set}" = set; then
5150 enableval=$enable_vararg_macros;
5151 if test "$enableval" = yes; then
5152 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=yes'
5153 else
5154 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS=no'
5155 fi
5156
5157 else
5158
5159 LINE=`grep "wxUSE_VARARG_MACROS" ${wx_arg_cache_file}`
5160 if test "x$LINE" != x ; then
5161 eval "DEFAULT_$LINE"
5162 else
5163 no_cache=1
5164 fi
5165
5166 ac_cv_use_vararg_macros='wxUSE_VARARG_MACROS='$DEFAULT_wxUSE_VARARG_MACROS
5167
5168 fi
5169
5170
5171 eval "$ac_cv_use_vararg_macros"
5172 if test "$no_cache" != 1; then
5173 echo $ac_cv_use_vararg_macros >> ${wx_arg_cache_file}.tmp
5174 fi
5175
5176 if test "$wxUSE_VARARG_MACROS" = yes; then
5177 { echo "$as_me:$LINENO: result: yes" >&5
5178 echo "${ECHO_T}yes" >&6; }
5179 else
5180 { echo "$as_me:$LINENO: result: no" >&5
5181 echo "${ECHO_T}no" >&6; }
5182 fi
5183
5184
5185 enablestring=
5186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-universal_binary" >&5
5187 echo $ECHO_N "checking for --${enablestring:-enable}-universal_binary... $ECHO_C" >&6; }
5188 no_cache=0
5189 # Check whether --enable-universal_binary was given.
5190 if test "${enable_universal_binary+set}" = set; then
5191 enableval=$enable_universal_binary;
5192 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY='$enableval'"
5193
5194 else
5195
5196 LINE=`grep "wxUSE_UNIVERSAL_BINARY" ${wx_arg_cache_file}`
5197 if test "x$LINE" != x ; then
5198 eval "DEFAULT_$LINE"
5199 wx_cv_use_universal_binary='wxUSE_UNIVERSAL_BINARY='$DEFAULT_wxUSE_UNIVERSAL_BINARY
5200 else
5201 no_cache=1
5202 wx_cv_use_universal_binary="wxUSE_UNIVERSAL_BINARY=no"
5203 fi
5204
5205 fi
5206
5207
5208 eval "$wx_cv_use_universal_binary"
5209 if test "$no_cache" != 1; then
5210 echo $wx_cv_use_universal_binary >> ${wx_arg_cache_file}.tmp
5211 fi
5212
5213 { echo "$as_me:$LINENO: result: $wxUSE_UNIVERSAL_BINARY" >&5
5214 echo "${ECHO_T}$wxUSE_UNIVERSAL_BINARY" >&6; }
5215
5216
5217
5218 enablestring=enable
5219 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat26" >&5
5220 echo $ECHO_N "checking for --${enablestring:-enable}-compat26... $ECHO_C" >&6; }
5221 no_cache=0
5222 # Check whether --enable-compat26 was given.
5223 if test "${enable_compat26+set}" = set; then
5224 enableval=$enable_compat26;
5225 if test "$enableval" = yes; then
5226 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=yes'
5227 else
5228 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6=no'
5229 fi
5230
5231 else
5232
5233 LINE=`grep "WXWIN_COMPATIBILITY_2_6" ${wx_arg_cache_file}`
5234 if test "x$LINE" != x ; then
5235 eval "DEFAULT_$LINE"
5236 else
5237 no_cache=1
5238 fi
5239
5240 ac_cv_use_compat26='WXWIN_COMPATIBILITY_2_6='$DEFAULT_WXWIN_COMPATIBILITY_2_6
5241
5242 fi
5243
5244
5245 eval "$ac_cv_use_compat26"
5246 if test "$no_cache" != 1; then
5247 echo $ac_cv_use_compat26 >> ${wx_arg_cache_file}.tmp
5248 fi
5249
5250 if test "$WXWIN_COMPATIBILITY_2_6" = yes; then
5251 { echo "$as_me:$LINENO: result: yes" >&5
5252 echo "${ECHO_T}yes" >&6; }
5253 else
5254 { echo "$as_me:$LINENO: result: no" >&5
5255 echo "${ECHO_T}no" >&6; }
5256 fi
5257
5258
5259 enablestring=disable
5260 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-compat28" >&5
5261 echo $ECHO_N "checking for --${enablestring:-enable}-compat28... $ECHO_C" >&6; }
5262 no_cache=0
5263 # Check whether --enable-compat28 was given.
5264 if test "${enable_compat28+set}" = set; then
5265 enableval=$enable_compat28;
5266 if test "$enableval" = yes; then
5267 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=yes'
5268 else
5269 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8=no'
5270 fi
5271
5272 else
5273
5274 LINE=`grep "WXWIN_COMPATIBILITY_2_8" ${wx_arg_cache_file}`
5275 if test "x$LINE" != x ; then
5276 eval "DEFAULT_$LINE"
5277 else
5278 no_cache=1
5279 fi
5280
5281 ac_cv_use_compat28='WXWIN_COMPATIBILITY_2_8='$DEFAULT_WXWIN_COMPATIBILITY_2_8
5282
5283 fi
5284
5285
5286 eval "$ac_cv_use_compat28"
5287 if test "$no_cache" != 1; then
5288 echo $ac_cv_use_compat28 >> ${wx_arg_cache_file}.tmp
5289 fi
5290
5291 if test "$WXWIN_COMPATIBILITY_2_8" = yes; then
5292 { echo "$as_me:$LINENO: result: yes" >&5
5293 echo "${ECHO_T}yes" >&6; }
5294 else
5295 { echo "$as_me:$LINENO: result: no" >&5
5296 echo "${ECHO_T}no" >&6; }
5297 fi
5298
5299
5300
5301 enablestring=
5302 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-rpath" >&5
5303 echo $ECHO_N "checking for --${enablestring:-enable}-rpath... $ECHO_C" >&6; }
5304 no_cache=0
5305 # Check whether --enable-rpath was given.
5306 if test "${enable_rpath+set}" = set; then
5307 enableval=$enable_rpath;
5308 if test "$enableval" = yes; then
5309 ac_cv_use_rpath='wxUSE_RPATH=yes'
5310 else
5311 ac_cv_use_rpath='wxUSE_RPATH=no'
5312 fi
5313
5314 else
5315
5316 LINE=`grep "wxUSE_RPATH" ${wx_arg_cache_file}`
5317 if test "x$LINE" != x ; then
5318 eval "DEFAULT_$LINE"
5319 else
5320 no_cache=1
5321 fi
5322
5323 ac_cv_use_rpath='wxUSE_RPATH='$DEFAULT_wxUSE_RPATH
5324
5325 fi
5326
5327
5328 eval "$ac_cv_use_rpath"
5329 if test "$no_cache" != 1; then
5330 echo $ac_cv_use_rpath >> ${wx_arg_cache_file}.tmp
5331 fi
5332
5333 if test "$wxUSE_RPATH" = yes; then
5334 { echo "$as_me:$LINENO: result: yes" >&5
5335 echo "${ECHO_T}yes" >&6; }
5336 else
5337 { echo "$as_me:$LINENO: result: no" >&5
5338 echo "${ECHO_T}no" >&6; }
5339 fi
5340
5341
5342
5343
5344
5345 enablestring=
5346 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-intl" >&5
5347 echo $ECHO_N "checking for --${enablestring:-enable}-intl... $ECHO_C" >&6; }
5348 no_cache=0
5349 # Check whether --enable-intl was given.
5350 if test "${enable_intl+set}" = set; then
5351 enableval=$enable_intl;
5352 if test "$enableval" = yes; then
5353 ac_cv_use_intl='wxUSE_INTL=yes'
5354 else
5355 ac_cv_use_intl='wxUSE_INTL=no'
5356 fi
5357
5358 else
5359
5360 LINE=`grep "wxUSE_INTL" ${wx_arg_cache_file}`
5361 if test "x$LINE" != x ; then
5362 eval "DEFAULT_$LINE"
5363 else
5364 no_cache=1
5365 fi
5366
5367 ac_cv_use_intl='wxUSE_INTL='$DEFAULT_wxUSE_INTL
5368
5369 fi
5370
5371
5372 eval "$ac_cv_use_intl"
5373 if test "$no_cache" != 1; then
5374 echo $ac_cv_use_intl >> ${wx_arg_cache_file}.tmp
5375 fi
5376
5377 if test "$wxUSE_INTL" = yes; then
5378 { echo "$as_me:$LINENO: result: yes" >&5
5379 echo "${ECHO_T}yes" >&6; }
5380 else
5381 { echo "$as_me:$LINENO: result: no" >&5
5382 echo "${ECHO_T}no" >&6; }
5383 fi
5384
5385
5386 enablestring=
5387 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-config" >&5
5388 echo $ECHO_N "checking for --${enablestring:-enable}-config... $ECHO_C" >&6; }
5389 no_cache=0
5390 # Check whether --enable-config was given.
5391 if test "${enable_config+set}" = set; then
5392 enableval=$enable_config;
5393 if test "$enableval" = yes; then
5394 ac_cv_use_config='wxUSE_CONFIG=yes'
5395 else
5396 ac_cv_use_config='wxUSE_CONFIG=no'
5397 fi
5398
5399 else
5400
5401 LINE=`grep "wxUSE_CONFIG" ${wx_arg_cache_file}`
5402 if test "x$LINE" != x ; then
5403 eval "DEFAULT_$LINE"
5404 else
5405 no_cache=1
5406 fi
5407
5408 ac_cv_use_config='wxUSE_CONFIG='$DEFAULT_wxUSE_CONFIG
5409
5410 fi
5411
5412
5413 eval "$ac_cv_use_config"
5414 if test "$no_cache" != 1; then
5415 echo $ac_cv_use_config >> ${wx_arg_cache_file}.tmp
5416 fi
5417
5418 if test "$wxUSE_CONFIG" = yes; then
5419 { echo "$as_me:$LINENO: result: yes" >&5
5420 echo "${ECHO_T}yes" >&6; }
5421 else
5422 { echo "$as_me:$LINENO: result: no" >&5
5423 echo "${ECHO_T}no" >&6; }
5424 fi
5425
5426
5427
5428 enablestring=
5429 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocols" >&5
5430 echo $ECHO_N "checking for --${enablestring:-enable}-protocols... $ECHO_C" >&6; }
5431 no_cache=0
5432 # Check whether --enable-protocols was given.
5433 if test "${enable_protocols+set}" = set; then
5434 enableval=$enable_protocols;
5435 if test "$enableval" = yes; then
5436 ac_cv_use_protocols='wxUSE_PROTOCOL=yes'
5437 else
5438 ac_cv_use_protocols='wxUSE_PROTOCOL=no'
5439 fi
5440
5441 else
5442
5443 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
5444 if test "x$LINE" != x ; then
5445 eval "DEFAULT_$LINE"
5446 else
5447 no_cache=1
5448 fi
5449
5450 ac_cv_use_protocols='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
5451
5452 fi
5453
5454
5455 eval "$ac_cv_use_protocols"
5456 if test "$no_cache" != 1; then
5457 echo $ac_cv_use_protocols >> ${wx_arg_cache_file}.tmp
5458 fi
5459
5460 if test "$wxUSE_PROTOCOL" = yes; then
5461 { echo "$as_me:$LINENO: result: yes" >&5
5462 echo "${ECHO_T}yes" >&6; }
5463 else
5464 { echo "$as_me:$LINENO: result: no" >&5
5465 echo "${ECHO_T}no" >&6; }
5466 fi
5467
5468
5469 enablestring=
5470 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ftp" >&5
5471 echo $ECHO_N "checking for --${enablestring:-enable}-ftp... $ECHO_C" >&6; }
5472 no_cache=0
5473 # Check whether --enable-ftp was given.
5474 if test "${enable_ftp+set}" = set; then
5475 enableval=$enable_ftp;
5476 if test "$enableval" = yes; then
5477 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=yes'
5478 else
5479 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP=no'
5480 fi
5481
5482 else
5483
5484 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
5485 if test "x$LINE" != x ; then
5486 eval "DEFAULT_$LINE"
5487 else
5488 no_cache=1
5489 fi
5490
5491 ac_cv_use_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
5492
5493 fi
5494
5495
5496 eval "$ac_cv_use_ftp"
5497 if test "$no_cache" != 1; then
5498 echo $ac_cv_use_ftp >> ${wx_arg_cache_file}.tmp
5499 fi
5500
5501 if test "$wxUSE_PROTOCOL_FTP" = yes; then
5502 { echo "$as_me:$LINENO: result: yes" >&5
5503 echo "${ECHO_T}yes" >&6; }
5504 else
5505 { echo "$as_me:$LINENO: result: no" >&5
5506 echo "${ECHO_T}no" >&6; }
5507 fi
5508
5509
5510 enablestring=
5511 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-http" >&5
5512 echo $ECHO_N "checking for --${enablestring:-enable}-http... $ECHO_C" >&6; }
5513 no_cache=0
5514 # Check whether --enable-http was given.
5515 if test "${enable_http+set}" = set; then
5516 enableval=$enable_http;
5517 if test "$enableval" = yes; then
5518 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=yes'
5519 else
5520 ac_cv_use_http='wxUSE_PROTOCOL_HTTP=no'
5521 fi
5522
5523 else
5524
5525 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
5526 if test "x$LINE" != x ; then
5527 eval "DEFAULT_$LINE"
5528 else
5529 no_cache=1
5530 fi
5531
5532 ac_cv_use_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
5533
5534 fi
5535
5536
5537 eval "$ac_cv_use_http"
5538 if test "$no_cache" != 1; then
5539 echo $ac_cv_use_http >> ${wx_arg_cache_file}.tmp
5540 fi
5541
5542 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
5543 { echo "$as_me:$LINENO: result: yes" >&5
5544 echo "${ECHO_T}yes" >&6; }
5545 else
5546 { echo "$as_me:$LINENO: result: no" >&5
5547 echo "${ECHO_T}no" >&6; }
5548 fi
5549
5550
5551 enablestring=
5552 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fileproto" >&5
5553 echo $ECHO_N "checking for --${enablestring:-enable}-fileproto... $ECHO_C" >&6; }
5554 no_cache=0
5555 # Check whether --enable-fileproto was given.
5556 if test "${enable_fileproto+set}" = set; then
5557 enableval=$enable_fileproto;
5558 if test "$enableval" = yes; then
5559 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=yes'
5560 else
5561 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE=no'
5562 fi
5563
5564 else
5565
5566 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
5567 if test "x$LINE" != x ; then
5568 eval "DEFAULT_$LINE"
5569 else
5570 no_cache=1
5571 fi
5572
5573 ac_cv_use_fileproto='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
5574
5575 fi
5576
5577
5578 eval "$ac_cv_use_fileproto"
5579 if test "$no_cache" != 1; then
5580 echo $ac_cv_use_fileproto >> ${wx_arg_cache_file}.tmp
5581 fi
5582
5583 if test "$wxUSE_PROTOCOL_FILE" = yes; then
5584 { echo "$as_me:$LINENO: result: yes" >&5
5585 echo "${ECHO_T}yes" >&6; }
5586 else
5587 { echo "$as_me:$LINENO: result: no" >&5
5588 echo "${ECHO_T}no" >&6; }
5589 fi
5590
5591
5592 enablestring=
5593 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sockets" >&5
5594 echo $ECHO_N "checking for --${enablestring:-enable}-sockets... $ECHO_C" >&6; }
5595 no_cache=0
5596 # Check whether --enable-sockets was given.
5597 if test "${enable_sockets+set}" = set; then
5598 enableval=$enable_sockets;
5599 if test "$enableval" = yes; then
5600 ac_cv_use_sockets='wxUSE_SOCKETS=yes'
5601 else
5602 ac_cv_use_sockets='wxUSE_SOCKETS=no'
5603 fi
5604
5605 else
5606
5607 LINE=`grep "wxUSE_SOCKETS" ${wx_arg_cache_file}`
5608 if test "x$LINE" != x ; then
5609 eval "DEFAULT_$LINE"
5610 else
5611 no_cache=1
5612 fi
5613
5614 ac_cv_use_sockets='wxUSE_SOCKETS='$DEFAULT_wxUSE_SOCKETS
5615
5616 fi
5617
5618
5619 eval "$ac_cv_use_sockets"
5620 if test "$no_cache" != 1; then
5621 echo $ac_cv_use_sockets >> ${wx_arg_cache_file}.tmp
5622 fi
5623
5624 if test "$wxUSE_SOCKETS" = yes; then
5625 { echo "$as_me:$LINENO: result: yes" >&5
5626 echo "${ECHO_T}yes" >&6; }
5627 else
5628 { echo "$as_me:$LINENO: result: no" >&5
5629 echo "${ECHO_T}no" >&6; }
5630 fi
5631
5632
5633 enablestring=
5634 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ole" >&5
5635 echo $ECHO_N "checking for --${enablestring:-enable}-ole... $ECHO_C" >&6; }
5636 no_cache=0
5637 # Check whether --enable-ole was given.
5638 if test "${enable_ole+set}" = set; then
5639 enableval=$enable_ole;
5640 if test "$enableval" = yes; then
5641 ac_cv_use_ole='wxUSE_OLE=yes'
5642 else
5643 ac_cv_use_ole='wxUSE_OLE=no'
5644 fi
5645
5646 else
5647
5648 LINE=`grep "wxUSE_OLE" ${wx_arg_cache_file}`
5649 if test "x$LINE" != x ; then
5650 eval "DEFAULT_$LINE"
5651 else
5652 no_cache=1
5653 fi
5654
5655 ac_cv_use_ole='wxUSE_OLE='$DEFAULT_wxUSE_OLE
5656
5657 fi
5658
5659
5660 eval "$ac_cv_use_ole"
5661 if test "$no_cache" != 1; then
5662 echo $ac_cv_use_ole >> ${wx_arg_cache_file}.tmp
5663 fi
5664
5665 if test "$wxUSE_OLE" = yes; then
5666 { echo "$as_me:$LINENO: result: yes" >&5
5667 echo "${ECHO_T}yes" >&6; }
5668 else
5669 { echo "$as_me:$LINENO: result: no" >&5
5670 echo "${ECHO_T}no" >&6; }
5671 fi
5672
5673
5674 enablestring=
5675 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataobj" >&5
5676 echo $ECHO_N "checking for --${enablestring:-enable}-dataobj... $ECHO_C" >&6; }
5677 no_cache=0
5678 # Check whether --enable-dataobj was given.
5679 if test "${enable_dataobj+set}" = set; then
5680 enableval=$enable_dataobj;
5681 if test "$enableval" = yes; then
5682 ac_cv_use_dataobj='wxUSE_DATAOBJ=yes'
5683 else
5684 ac_cv_use_dataobj='wxUSE_DATAOBJ=no'
5685 fi
5686
5687 else
5688
5689 LINE=`grep "wxUSE_DATAOBJ" ${wx_arg_cache_file}`
5690 if test "x$LINE" != x ; then
5691 eval "DEFAULT_$LINE"
5692 else
5693 no_cache=1
5694 fi
5695
5696 ac_cv_use_dataobj='wxUSE_DATAOBJ='$DEFAULT_wxUSE_DATAOBJ
5697
5698 fi
5699
5700
5701 eval "$ac_cv_use_dataobj"
5702 if test "$no_cache" != 1; then
5703 echo $ac_cv_use_dataobj >> ${wx_arg_cache_file}.tmp
5704 fi
5705
5706 if test "$wxUSE_DATAOBJ" = yes; then
5707 { echo "$as_me:$LINENO: result: yes" >&5
5708 echo "${ECHO_T}yes" >&6; }
5709 else
5710 { echo "$as_me:$LINENO: result: no" >&5
5711 echo "${ECHO_T}no" >&6; }
5712 fi
5713
5714
5715
5716 enablestring=
5717 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ipc" >&5
5718 echo $ECHO_N "checking for --${enablestring:-enable}-ipc... $ECHO_C" >&6; }
5719 no_cache=0
5720 # Check whether --enable-ipc was given.
5721 if test "${enable_ipc+set}" = set; then
5722 enableval=$enable_ipc;
5723 if test "$enableval" = yes; then
5724 ac_cv_use_ipc='wxUSE_IPC=yes'
5725 else
5726 ac_cv_use_ipc='wxUSE_IPC=no'
5727 fi
5728
5729 else
5730
5731 LINE=`grep "wxUSE_IPC" ${wx_arg_cache_file}`
5732 if test "x$LINE" != x ; then
5733 eval "DEFAULT_$LINE"
5734 else
5735 no_cache=1
5736 fi
5737
5738 ac_cv_use_ipc='wxUSE_IPC='$DEFAULT_wxUSE_IPC
5739
5740 fi
5741
5742
5743 eval "$ac_cv_use_ipc"
5744 if test "$no_cache" != 1; then
5745 echo $ac_cv_use_ipc >> ${wx_arg_cache_file}.tmp
5746 fi
5747
5748 if test "$wxUSE_IPC" = yes; then
5749 { echo "$as_me:$LINENO: result: yes" >&5
5750 echo "${ECHO_T}yes" >&6; }
5751 else
5752 { echo "$as_me:$LINENO: result: no" >&5
5753 echo "${ECHO_T}no" >&6; }
5754 fi
5755
5756
5757
5758 enablestring=
5759 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-apple_ieee" >&5
5760 echo $ECHO_N "checking for --${enablestring:-enable}-apple_ieee... $ECHO_C" >&6; }
5761 no_cache=0
5762 # Check whether --enable-apple_ieee was given.
5763 if test "${enable_apple_ieee+set}" = set; then
5764 enableval=$enable_apple_ieee;
5765 if test "$enableval" = yes; then
5766 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=yes'
5767 else
5768 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE=no'
5769 fi
5770
5771 else
5772
5773 LINE=`grep "wxUSE_APPLE_IEEE" ${wx_arg_cache_file}`
5774 if test "x$LINE" != x ; then
5775 eval "DEFAULT_$LINE"
5776 else
5777 no_cache=1
5778 fi
5779
5780 ac_cv_use_apple_ieee='wxUSE_APPLE_IEEE='$DEFAULT_wxUSE_APPLE_IEEE
5781
5782 fi
5783
5784
5785 eval "$ac_cv_use_apple_ieee"
5786 if test "$no_cache" != 1; then
5787 echo $ac_cv_use_apple_ieee >> ${wx_arg_cache_file}.tmp
5788 fi
5789
5790 if test "$wxUSE_APPLE_IEEE" = yes; then
5791 { echo "$as_me:$LINENO: result: yes" >&5
5792 echo "${ECHO_T}yes" >&6; }
5793 else
5794 { echo "$as_me:$LINENO: result: no" >&5
5795 echo "${ECHO_T}no" >&6; }
5796 fi
5797
5798
5799 enablestring=
5800 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-arcstream" >&5
5801 echo $ECHO_N "checking for --${enablestring:-enable}-arcstream... $ECHO_C" >&6; }
5802 no_cache=0
5803 # Check whether --enable-arcstream was given.
5804 if test "${enable_arcstream+set}" = set; then
5805 enableval=$enable_arcstream;
5806 if test "$enableval" = yes; then
5807 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=yes'
5808 else
5809 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS=no'
5810 fi
5811
5812 else
5813
5814 LINE=`grep "wxUSE_ARCHIVE_STREAMS" ${wx_arg_cache_file}`
5815 if test "x$LINE" != x ; then
5816 eval "DEFAULT_$LINE"
5817 else
5818 no_cache=1
5819 fi
5820
5821 ac_cv_use_arcstream='wxUSE_ARCHIVE_STREAMS='$DEFAULT_wxUSE_ARCHIVE_STREAMS
5822
5823 fi
5824
5825
5826 eval "$ac_cv_use_arcstream"
5827 if test "$no_cache" != 1; then
5828 echo $ac_cv_use_arcstream >> ${wx_arg_cache_file}.tmp
5829 fi
5830
5831 if test "$wxUSE_ARCHIVE_STREAMS" = yes; then
5832 { echo "$as_me:$LINENO: result: yes" >&5
5833 echo "${ECHO_T}yes" >&6; }
5834 else
5835 { echo "$as_me:$LINENO: result: no" >&5
5836 echo "${ECHO_T}no" >&6; }
5837 fi
5838
5839
5840 enablestring=
5841 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-backtrace" >&5
5842 echo $ECHO_N "checking for --${enablestring:-enable}-backtrace... $ECHO_C" >&6; }
5843 no_cache=0
5844 # Check whether --enable-backtrace was given.
5845 if test "${enable_backtrace+set}" = set; then
5846 enableval=$enable_backtrace;
5847 if test "$enableval" = yes; then
5848 ac_cv_use_backtrace='wxUSE_STACKWALKER=yes'
5849 else
5850 ac_cv_use_backtrace='wxUSE_STACKWALKER=no'
5851 fi
5852
5853 else
5854
5855 LINE=`grep "wxUSE_STACKWALKER" ${wx_arg_cache_file}`
5856 if test "x$LINE" != x ; then
5857 eval "DEFAULT_$LINE"
5858 else
5859 no_cache=1
5860 fi
5861
5862 ac_cv_use_backtrace='wxUSE_STACKWALKER='$DEFAULT_wxUSE_STACKWALKER
5863
5864 fi
5865
5866
5867 eval "$ac_cv_use_backtrace"
5868 if test "$no_cache" != 1; then
5869 echo $ac_cv_use_backtrace >> ${wx_arg_cache_file}.tmp
5870 fi
5871
5872 if test "$wxUSE_STACKWALKER" = yes; then
5873 { echo "$as_me:$LINENO: result: yes" >&5
5874 echo "${ECHO_T}yes" >&6; }
5875 else
5876 { echo "$as_me:$LINENO: result: no" >&5
5877 echo "${ECHO_T}no" >&6; }
5878 fi
5879
5880
5881 enablestring=
5882 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-catch_segvs" >&5
5883 echo $ECHO_N "checking for --${enablestring:-enable}-catch_segvs... $ECHO_C" >&6; }
5884 no_cache=0
5885 # Check whether --enable-catch_segvs was given.
5886 if test "${enable_catch_segvs+set}" = set; then
5887 enableval=$enable_catch_segvs;
5888 if test "$enableval" = yes; then
5889 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=yes'
5890 else
5891 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION=no'
5892 fi
5893
5894 else
5895
5896 LINE=`grep "wxUSE_ON_FATAL_EXCEPTION" ${wx_arg_cache_file}`
5897 if test "x$LINE" != x ; then
5898 eval "DEFAULT_$LINE"
5899 else
5900 no_cache=1
5901 fi
5902
5903 ac_cv_use_catch_segvs='wxUSE_ON_FATAL_EXCEPTION='$DEFAULT_wxUSE_ON_FATAL_EXCEPTION
5904
5905 fi
5906
5907
5908 eval "$ac_cv_use_catch_segvs"
5909 if test "$no_cache" != 1; then
5910 echo $ac_cv_use_catch_segvs >> ${wx_arg_cache_file}.tmp
5911 fi
5912
5913 if test "$wxUSE_ON_FATAL_EXCEPTION" = yes; then
5914 { echo "$as_me:$LINENO: result: yes" >&5
5915 echo "${ECHO_T}yes" >&6; }
5916 else
5917 { echo "$as_me:$LINENO: result: no" >&5
5918 echo "${ECHO_T}no" >&6; }
5919 fi
5920
5921
5922 enablestring=
5923 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-cmdline" >&5
5924 echo $ECHO_N "checking for --${enablestring:-enable}-cmdline... $ECHO_C" >&6; }
5925 no_cache=0
5926 # Check whether --enable-cmdline was given.
5927 if test "${enable_cmdline+set}" = set; then
5928 enableval=$enable_cmdline;
5929 if test "$enableval" = yes; then
5930 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=yes'
5931 else
5932 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER=no'
5933 fi
5934
5935 else
5936
5937 LINE=`grep "wxUSE_CMDLINE_PARSER" ${wx_arg_cache_file}`
5938 if test "x$LINE" != x ; then
5939 eval "DEFAULT_$LINE"
5940 else
5941 no_cache=1
5942 fi
5943
5944 ac_cv_use_cmdline='wxUSE_CMDLINE_PARSER='$DEFAULT_wxUSE_CMDLINE_PARSER
5945
5946 fi
5947
5948
5949 eval "$ac_cv_use_cmdline"
5950 if test "$no_cache" != 1; then
5951 echo $ac_cv_use_cmdline >> ${wx_arg_cache_file}.tmp
5952 fi
5953
5954 if test "$wxUSE_CMDLINE_PARSER" = yes; then
5955 { echo "$as_me:$LINENO: result: yes" >&5
5956 echo "${ECHO_T}yes" >&6; }
5957 else
5958 { echo "$as_me:$LINENO: result: no" >&5
5959 echo "${ECHO_T}no" >&6; }
5960 fi
5961
5962
5963 enablestring=
5964 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datetime" >&5
5965 echo $ECHO_N "checking for --${enablestring:-enable}-datetime... $ECHO_C" >&6; }
5966 no_cache=0
5967 # Check whether --enable-datetime was given.
5968 if test "${enable_datetime+set}" = set; then
5969 enableval=$enable_datetime;
5970 if test "$enableval" = yes; then
5971 ac_cv_use_datetime='wxUSE_DATETIME=yes'
5972 else
5973 ac_cv_use_datetime='wxUSE_DATETIME=no'
5974 fi
5975
5976 else
5977
5978 LINE=`grep "wxUSE_DATETIME" ${wx_arg_cache_file}`
5979 if test "x$LINE" != x ; then
5980 eval "DEFAULT_$LINE"
5981 else
5982 no_cache=1
5983 fi
5984
5985 ac_cv_use_datetime='wxUSE_DATETIME='$DEFAULT_wxUSE_DATETIME
5986
5987 fi
5988
5989
5990 eval "$ac_cv_use_datetime"
5991 if test "$no_cache" != 1; then
5992 echo $ac_cv_use_datetime >> ${wx_arg_cache_file}.tmp
5993 fi
5994
5995 if test "$wxUSE_DATETIME" = yes; then
5996 { echo "$as_me:$LINENO: result: yes" >&5
5997 echo "${ECHO_T}yes" >&6; }
5998 else
5999 { echo "$as_me:$LINENO: result: no" >&5
6000 echo "${ECHO_T}no" >&6; }
6001 fi
6002
6003
6004 enablestring=
6005 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-debugreport" >&5
6006 echo $ECHO_N "checking for --${enablestring:-enable}-debugreport... $ECHO_C" >&6; }
6007 no_cache=0
6008 # Check whether --enable-debugreport was given.
6009 if test "${enable_debugreport+set}" = set; then
6010 enableval=$enable_debugreport;
6011 if test "$enableval" = yes; then
6012 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=yes'
6013 else
6014 ac_cv_use_debugreport='wxUSE_DEBUGREPORT=no'
6015 fi
6016
6017 else
6018
6019 LINE=`grep "wxUSE_DEBUGREPORT" ${wx_arg_cache_file}`
6020 if test "x$LINE" != x ; then
6021 eval "DEFAULT_$LINE"
6022 else
6023 no_cache=1
6024 fi
6025
6026 ac_cv_use_debugreport='wxUSE_DEBUGREPORT='$DEFAULT_wxUSE_DEBUGREPORT
6027
6028 fi
6029
6030
6031 eval "$ac_cv_use_debugreport"
6032 if test "$no_cache" != 1; then
6033 echo $ac_cv_use_debugreport >> ${wx_arg_cache_file}.tmp
6034 fi
6035
6036 if test "$wxUSE_DEBUGREPORT" = yes; then
6037 { echo "$as_me:$LINENO: result: yes" >&5
6038 echo "${ECHO_T}yes" >&6; }
6039 else
6040 { echo "$as_me:$LINENO: result: no" >&5
6041 echo "${ECHO_T}no" >&6; }
6042 fi
6043
6044
6045 enablestring=
6046 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dialupman" >&5
6047 echo $ECHO_N "checking for --${enablestring:-enable}-dialupman... $ECHO_C" >&6; }
6048 no_cache=0
6049 # Check whether --enable-dialupman was given.
6050 if test "${enable_dialupman+set}" = set; then
6051 enableval=$enable_dialupman;
6052 if test "$enableval" = yes; then
6053 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=yes'
6054 else
6055 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER=no'
6056 fi
6057
6058 else
6059
6060 LINE=`grep "wxUSE_DIALUP_MANAGER" ${wx_arg_cache_file}`
6061 if test "x$LINE" != x ; then
6062 eval "DEFAULT_$LINE"
6063 else
6064 no_cache=1
6065 fi
6066
6067 ac_cv_use_dialupman='wxUSE_DIALUP_MANAGER='$DEFAULT_wxUSE_DIALUP_MANAGER
6068
6069 fi
6070
6071
6072 eval "$ac_cv_use_dialupman"
6073 if test "$no_cache" != 1; then
6074 echo $ac_cv_use_dialupman >> ${wx_arg_cache_file}.tmp
6075 fi
6076
6077 if test "$wxUSE_DIALUP_MANAGER" = yes; then
6078 { echo "$as_me:$LINENO: result: yes" >&5
6079 echo "${ECHO_T}yes" >&6; }
6080 else
6081 { echo "$as_me:$LINENO: result: no" >&5
6082 echo "${ECHO_T}no" >&6; }
6083 fi
6084
6085
6086 enablestring=
6087 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynlib" >&5
6088 echo $ECHO_N "checking for --${enablestring:-enable}-dynlib... $ECHO_C" >&6; }
6089 no_cache=0
6090 # Check whether --enable-dynlib was given.
6091 if test "${enable_dynlib+set}" = set; then
6092 enableval=$enable_dynlib;
6093 if test "$enableval" = yes; then
6094 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=yes'
6095 else
6096 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS=no'
6097 fi
6098
6099 else
6100
6101 LINE=`grep "wxUSE_DYNLIB_CLASS" ${wx_arg_cache_file}`
6102 if test "x$LINE" != x ; then
6103 eval "DEFAULT_$LINE"
6104 else
6105 no_cache=1
6106 fi
6107
6108 ac_cv_use_dynlib='wxUSE_DYNLIB_CLASS='$DEFAULT_wxUSE_DYNLIB_CLASS
6109
6110 fi
6111
6112
6113 eval "$ac_cv_use_dynlib"
6114 if test "$no_cache" != 1; then
6115 echo $ac_cv_use_dynlib >> ${wx_arg_cache_file}.tmp
6116 fi
6117
6118 if test "$wxUSE_DYNLIB_CLASS" = yes; then
6119 { echo "$as_me:$LINENO: result: yes" >&5
6120 echo "${ECHO_T}yes" >&6; }
6121 else
6122 { echo "$as_me:$LINENO: result: no" >&5
6123 echo "${ECHO_T}no" >&6; }
6124 fi
6125
6126
6127 enablestring=
6128 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dynamicloader" >&5
6129 echo $ECHO_N "checking for --${enablestring:-enable}-dynamicloader... $ECHO_C" >&6; }
6130 no_cache=0
6131 # Check whether --enable-dynamicloader was given.
6132 if test "${enable_dynamicloader+set}" = set; then
6133 enableval=$enable_dynamicloader;
6134 if test "$enableval" = yes; then
6135 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=yes'
6136 else
6137 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER=no'
6138 fi
6139
6140 else
6141
6142 LINE=`grep "wxUSE_DYNAMIC_LOADER" ${wx_arg_cache_file}`
6143 if test "x$LINE" != x ; then
6144 eval "DEFAULT_$LINE"
6145 else
6146 no_cache=1
6147 fi
6148
6149 ac_cv_use_dynamicloader='wxUSE_DYNAMIC_LOADER='$DEFAULT_wxUSE_DYNAMIC_LOADER
6150
6151 fi
6152
6153
6154 eval "$ac_cv_use_dynamicloader"
6155 if test "$no_cache" != 1; then
6156 echo $ac_cv_use_dynamicloader >> ${wx_arg_cache_file}.tmp
6157 fi
6158
6159 if test "$wxUSE_DYNAMIC_LOADER" = yes; then
6160 { echo "$as_me:$LINENO: result: yes" >&5
6161 echo "${ECHO_T}yes" >&6; }
6162 else
6163 { echo "$as_me:$LINENO: result: no" >&5
6164 echo "${ECHO_T}no" >&6; }
6165 fi
6166
6167
6168 enablestring=
6169 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-exceptions" >&5
6170 echo $ECHO_N "checking for --${enablestring:-enable}-exceptions... $ECHO_C" >&6; }
6171 no_cache=0
6172 # Check whether --enable-exceptions was given.
6173 if test "${enable_exceptions+set}" = set; then
6174 enableval=$enable_exceptions;
6175 if test "$enableval" = yes; then
6176 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=yes'
6177 else
6178 ac_cv_use_exceptions='wxUSE_EXCEPTIONS=no'
6179 fi
6180
6181 else
6182
6183 LINE=`grep "wxUSE_EXCEPTIONS" ${wx_arg_cache_file}`
6184 if test "x$LINE" != x ; then
6185 eval "DEFAULT_$LINE"
6186 else
6187 no_cache=1
6188 fi
6189
6190 ac_cv_use_exceptions='wxUSE_EXCEPTIONS='$DEFAULT_wxUSE_EXCEPTIONS
6191
6192 fi
6193
6194
6195 eval "$ac_cv_use_exceptions"
6196 if test "$no_cache" != 1; then
6197 echo $ac_cv_use_exceptions >> ${wx_arg_cache_file}.tmp
6198 fi
6199
6200 if test "$wxUSE_EXCEPTIONS" = yes; then
6201 { echo "$as_me:$LINENO: result: yes" >&5
6202 echo "${ECHO_T}yes" >&6; }
6203 else
6204 { echo "$as_me:$LINENO: result: no" >&5
6205 echo "${ECHO_T}no" >&6; }
6206 fi
6207
6208
6209 enablestring=
6210 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ffile" >&5
6211 echo $ECHO_N "checking for --${enablestring:-enable}-ffile... $ECHO_C" >&6; }
6212 no_cache=0
6213 # Check whether --enable-ffile was given.
6214 if test "${enable_ffile+set}" = set; then
6215 enableval=$enable_ffile;
6216 if test "$enableval" = yes; then
6217 ac_cv_use_ffile='wxUSE_FFILE=yes'
6218 else
6219 ac_cv_use_ffile='wxUSE_FFILE=no'
6220 fi
6221
6222 else
6223
6224 LINE=`grep "wxUSE_FFILE" ${wx_arg_cache_file}`
6225 if test "x$LINE" != x ; then
6226 eval "DEFAULT_$LINE"
6227 else
6228 no_cache=1
6229 fi
6230
6231 ac_cv_use_ffile='wxUSE_FFILE='$DEFAULT_wxUSE_FFILE
6232
6233 fi
6234
6235
6236 eval "$ac_cv_use_ffile"
6237 if test "$no_cache" != 1; then
6238 echo $ac_cv_use_ffile >> ${wx_arg_cache_file}.tmp
6239 fi
6240
6241 if test "$wxUSE_FFILE" = yes; then
6242 { echo "$as_me:$LINENO: result: yes" >&5
6243 echo "${ECHO_T}yes" >&6; }
6244 else
6245 { echo "$as_me:$LINENO: result: no" >&5
6246 echo "${ECHO_T}no" >&6; }
6247 fi
6248
6249
6250 enablestring=
6251 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-file" >&5
6252 echo $ECHO_N "checking for --${enablestring:-enable}-file... $ECHO_C" >&6; }
6253 no_cache=0
6254 # Check whether --enable-file was given.
6255 if test "${enable_file+set}" = set; then
6256 enableval=$enable_file;
6257 if test "$enableval" = yes; then
6258 ac_cv_use_file='wxUSE_FILE=yes'
6259 else
6260 ac_cv_use_file='wxUSE_FILE=no'
6261 fi
6262
6263 else
6264
6265 LINE=`grep "wxUSE_FILE" ${wx_arg_cache_file}`
6266 if test "x$LINE" != x ; then
6267 eval "DEFAULT_$LINE"
6268 else
6269 no_cache=1
6270 fi
6271
6272 ac_cv_use_file='wxUSE_FILE='$DEFAULT_wxUSE_FILE
6273
6274 fi
6275
6276
6277 eval "$ac_cv_use_file"
6278 if test "$no_cache" != 1; then
6279 echo $ac_cv_use_file >> ${wx_arg_cache_file}.tmp
6280 fi
6281
6282 if test "$wxUSE_FILE" = yes; then
6283 { echo "$as_me:$LINENO: result: yes" >&5
6284 echo "${ECHO_T}yes" >&6; }
6285 else
6286 { echo "$as_me:$LINENO: result: no" >&5
6287 echo "${ECHO_T}no" >&6; }
6288 fi
6289
6290
6291 enablestring=
6292 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filesystem" >&5
6293 echo $ECHO_N "checking for --${enablestring:-enable}-filesystem... $ECHO_C" >&6; }
6294 no_cache=0
6295 # Check whether --enable-filesystem was given.
6296 if test "${enable_filesystem+set}" = set; then
6297 enableval=$enable_filesystem;
6298 if test "$enableval" = yes; then
6299 ac_cv_use_filesystem='wxUSE_FILESYSTEM=yes'
6300 else
6301 ac_cv_use_filesystem='wxUSE_FILESYSTEM=no'
6302 fi
6303
6304 else
6305
6306 LINE=`grep "wxUSE_FILESYSTEM" ${wx_arg_cache_file}`
6307 if test "x$LINE" != x ; then
6308 eval "DEFAULT_$LINE"
6309 else
6310 no_cache=1
6311 fi
6312
6313 ac_cv_use_filesystem='wxUSE_FILESYSTEM='$DEFAULT_wxUSE_FILESYSTEM
6314
6315 fi
6316
6317
6318 eval "$ac_cv_use_filesystem"
6319 if test "$no_cache" != 1; then
6320 echo $ac_cv_use_filesystem >> ${wx_arg_cache_file}.tmp
6321 fi
6322
6323 if test "$wxUSE_FILESYSTEM" = yes; then
6324 { echo "$as_me:$LINENO: result: yes" >&5
6325 echo "${ECHO_T}yes" >&6; }
6326 else
6327 { echo "$as_me:$LINENO: result: no" >&5
6328 echo "${ECHO_T}no" >&6; }
6329 fi
6330
6331
6332 enablestring=
6333 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontmap" >&5
6334 echo $ECHO_N "checking for --${enablestring:-enable}-fontmap... $ECHO_C" >&6; }
6335 no_cache=0
6336 # Check whether --enable-fontmap was given.
6337 if test "${enable_fontmap+set}" = set; then
6338 enableval=$enable_fontmap;
6339 if test "$enableval" = yes; then
6340 ac_cv_use_fontmap='wxUSE_FONTMAP=yes'
6341 else
6342 ac_cv_use_fontmap='wxUSE_FONTMAP=no'
6343 fi
6344
6345 else
6346
6347 LINE=`grep "wxUSE_FONTMAP" ${wx_arg_cache_file}`
6348 if test "x$LINE" != x ; then
6349 eval "DEFAULT_$LINE"
6350 else
6351 no_cache=1
6352 fi
6353
6354 ac_cv_use_fontmap='wxUSE_FONTMAP='$DEFAULT_wxUSE_FONTMAP
6355
6356 fi
6357
6358
6359 eval "$ac_cv_use_fontmap"
6360 if test "$no_cache" != 1; then
6361 echo $ac_cv_use_fontmap >> ${wx_arg_cache_file}.tmp
6362 fi
6363
6364 if test "$wxUSE_FONTMAP" = yes; then
6365 { echo "$as_me:$LINENO: result: yes" >&5
6366 echo "${ECHO_T}yes" >&6; }
6367 else
6368 { echo "$as_me:$LINENO: result: no" >&5
6369 echo "${ECHO_T}no" >&6; }
6370 fi
6371
6372
6373 enablestring=
6374 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_archive" >&5
6375 echo $ECHO_N "checking for --${enablestring:-enable}-fs_archive... $ECHO_C" >&6; }
6376 no_cache=0
6377 # Check whether --enable-fs_archive was given.
6378 if test "${enable_fs_archive+set}" = set; then
6379 enableval=$enable_fs_archive;
6380 if test "$enableval" = yes; then
6381 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=yes'
6382 else
6383 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE=no'
6384 fi
6385
6386 else
6387
6388 LINE=`grep "wxUSE_FS_ARCHIVE" ${wx_arg_cache_file}`
6389 if test "x$LINE" != x ; then
6390 eval "DEFAULT_$LINE"
6391 else
6392 no_cache=1
6393 fi
6394
6395 ac_cv_use_fs_archive='wxUSE_FS_ARCHIVE='$DEFAULT_wxUSE_FS_ARCHIVE
6396
6397 fi
6398
6399
6400 eval "$ac_cv_use_fs_archive"
6401 if test "$no_cache" != 1; then
6402 echo $ac_cv_use_fs_archive >> ${wx_arg_cache_file}.tmp
6403 fi
6404
6405 if test "$wxUSE_FS_ARCHIVE" = yes; then
6406 { echo "$as_me:$LINENO: result: yes" >&5
6407 echo "${ECHO_T}yes" >&6; }
6408 else
6409 { echo "$as_me:$LINENO: result: no" >&5
6410 echo "${ECHO_T}no" >&6; }
6411 fi
6412
6413
6414 enablestring=
6415 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_inet" >&5
6416 echo $ECHO_N "checking for --${enablestring:-enable}-fs_inet... $ECHO_C" >&6; }
6417 no_cache=0
6418 # Check whether --enable-fs_inet was given.
6419 if test "${enable_fs_inet+set}" = set; then
6420 enableval=$enable_fs_inet;
6421 if test "$enableval" = yes; then
6422 ac_cv_use_fs_inet='wxUSE_FS_INET=yes'
6423 else
6424 ac_cv_use_fs_inet='wxUSE_FS_INET=no'
6425 fi
6426
6427 else
6428
6429 LINE=`grep "wxUSE_FS_INET" ${wx_arg_cache_file}`
6430 if test "x$LINE" != x ; then
6431 eval "DEFAULT_$LINE"
6432 else
6433 no_cache=1
6434 fi
6435
6436 ac_cv_use_fs_inet='wxUSE_FS_INET='$DEFAULT_wxUSE_FS_INET
6437
6438 fi
6439
6440
6441 eval "$ac_cv_use_fs_inet"
6442 if test "$no_cache" != 1; then
6443 echo $ac_cv_use_fs_inet >> ${wx_arg_cache_file}.tmp
6444 fi
6445
6446 if test "$wxUSE_FS_INET" = yes; then
6447 { echo "$as_me:$LINENO: result: yes" >&5
6448 echo "${ECHO_T}yes" >&6; }
6449 else
6450 { echo "$as_me:$LINENO: result: no" >&5
6451 echo "${ECHO_T}no" >&6; }
6452 fi
6453
6454
6455 enablestring=
6456 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fs_zip" >&5
6457 echo $ECHO_N "checking for --${enablestring:-enable}-fs_zip... $ECHO_C" >&6; }
6458 no_cache=0
6459 # Check whether --enable-fs_zip was given.
6460 if test "${enable_fs_zip+set}" = set; then
6461 enableval=$enable_fs_zip;
6462 if test "$enableval" = yes; then
6463 ac_cv_use_fs_zip='wxUSE_FS_ZIP=yes'
6464 else
6465 ac_cv_use_fs_zip='wxUSE_FS_ZIP=no'
6466 fi
6467
6468 else
6469
6470 LINE=`grep "wxUSE_FS_ZIP" ${wx_arg_cache_file}`
6471 if test "x$LINE" != x ; then
6472 eval "DEFAULT_$LINE"
6473 else
6474 no_cache=1
6475 fi
6476
6477 ac_cv_use_fs_zip='wxUSE_FS_ZIP='$DEFAULT_wxUSE_FS_ZIP
6478
6479 fi
6480
6481
6482 eval "$ac_cv_use_fs_zip"
6483 if test "$no_cache" != 1; then
6484 echo $ac_cv_use_fs_zip >> ${wx_arg_cache_file}.tmp
6485 fi
6486
6487 if test "$wxUSE_FS_ZIP" = yes; then
6488 { echo "$as_me:$LINENO: result: yes" >&5
6489 echo "${ECHO_T}yes" >&6; }
6490 else
6491 { echo "$as_me:$LINENO: result: no" >&5
6492 echo "${ECHO_T}no" >&6; }
6493 fi
6494
6495
6496 enablestring=
6497 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-geometry" >&5
6498 echo $ECHO_N "checking for --${enablestring:-enable}-geometry... $ECHO_C" >&6; }
6499 no_cache=0
6500 # Check whether --enable-geometry was given.
6501 if test "${enable_geometry+set}" = set; then
6502 enableval=$enable_geometry;
6503 if test "$enableval" = yes; then
6504 ac_cv_use_geometry='wxUSE_GEOMETRY=yes'
6505 else
6506 ac_cv_use_geometry='wxUSE_GEOMETRY=no'
6507 fi
6508
6509 else
6510
6511 LINE=`grep "wxUSE_GEOMETRY" ${wx_arg_cache_file}`
6512 if test "x$LINE" != x ; then
6513 eval "DEFAULT_$LINE"
6514 else
6515 no_cache=1
6516 fi
6517
6518 ac_cv_use_geometry='wxUSE_GEOMETRY='$DEFAULT_wxUSE_GEOMETRY
6519
6520 fi
6521
6522
6523 eval "$ac_cv_use_geometry"
6524 if test "$no_cache" != 1; then
6525 echo $ac_cv_use_geometry >> ${wx_arg_cache_file}.tmp
6526 fi
6527
6528 if test "$wxUSE_GEOMETRY" = yes; then
6529 { echo "$as_me:$LINENO: result: yes" >&5
6530 echo "${ECHO_T}yes" >&6; }
6531 else
6532 { echo "$as_me:$LINENO: result: no" >&5
6533 echo "${ECHO_T}no" >&6; }
6534 fi
6535
6536
6537 enablestring=
6538 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-log" >&5
6539 echo $ECHO_N "checking for --${enablestring:-enable}-log... $ECHO_C" >&6; }
6540 no_cache=0
6541 # Check whether --enable-log was given.
6542 if test "${enable_log+set}" = set; then
6543 enableval=$enable_log;
6544 if test "$enableval" = yes; then
6545 ac_cv_use_log='wxUSE_LOG=yes'
6546 else
6547 ac_cv_use_log='wxUSE_LOG=no'
6548 fi
6549
6550 else
6551
6552 LINE=`grep "wxUSE_LOG" ${wx_arg_cache_file}`
6553 if test "x$LINE" != x ; then
6554 eval "DEFAULT_$LINE"
6555 else
6556 no_cache=1
6557 fi
6558
6559 ac_cv_use_log='wxUSE_LOG='$DEFAULT_wxUSE_LOG
6560
6561 fi
6562
6563
6564 eval "$ac_cv_use_log"
6565 if test "$no_cache" != 1; then
6566 echo $ac_cv_use_log >> ${wx_arg_cache_file}.tmp
6567 fi
6568
6569 if test "$wxUSE_LOG" = yes; then
6570 { echo "$as_me:$LINENO: result: yes" >&5
6571 echo "${ECHO_T}yes" >&6; }
6572 else
6573 { echo "$as_me:$LINENO: result: no" >&5
6574 echo "${ECHO_T}no" >&6; }
6575 fi
6576
6577
6578 enablestring=
6579 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-longlong" >&5
6580 echo $ECHO_N "checking for --${enablestring:-enable}-longlong... $ECHO_C" >&6; }
6581 no_cache=0
6582 # Check whether --enable-longlong was given.
6583 if test "${enable_longlong+set}" = set; then
6584 enableval=$enable_longlong;
6585 if test "$enableval" = yes; then
6586 ac_cv_use_longlong='wxUSE_LONGLONG=yes'
6587 else
6588 ac_cv_use_longlong='wxUSE_LONGLONG=no'
6589 fi
6590
6591 else
6592
6593 LINE=`grep "wxUSE_LONGLONG" ${wx_arg_cache_file}`
6594 if test "x$LINE" != x ; then
6595 eval "DEFAULT_$LINE"
6596 else
6597 no_cache=1
6598 fi
6599
6600 ac_cv_use_longlong='wxUSE_LONGLONG='$DEFAULT_wxUSE_LONGLONG
6601
6602 fi
6603
6604
6605 eval "$ac_cv_use_longlong"
6606 if test "$no_cache" != 1; then
6607 echo $ac_cv_use_longlong >> ${wx_arg_cache_file}.tmp
6608 fi
6609
6610 if test "$wxUSE_LONGLONG" = yes; then
6611 { echo "$as_me:$LINENO: result: yes" >&5
6612 echo "${ECHO_T}yes" >&6; }
6613 else
6614 { echo "$as_me:$LINENO: result: no" >&5
6615 echo "${ECHO_T}no" >&6; }
6616 fi
6617
6618
6619 enablestring=
6620 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mimetype" >&5
6621 echo $ECHO_N "checking for --${enablestring:-enable}-mimetype... $ECHO_C" >&6; }
6622 no_cache=0
6623 # Check whether --enable-mimetype was given.
6624 if test "${enable_mimetype+set}" = set; then
6625 enableval=$enable_mimetype;
6626 if test "$enableval" = yes; then
6627 ac_cv_use_mimetype='wxUSE_MIMETYPE=yes'
6628 else
6629 ac_cv_use_mimetype='wxUSE_MIMETYPE=no'
6630 fi
6631
6632 else
6633
6634 LINE=`grep "wxUSE_MIMETYPE" ${wx_arg_cache_file}`
6635 if test "x$LINE" != x ; then
6636 eval "DEFAULT_$LINE"
6637 else
6638 no_cache=1
6639 fi
6640
6641 ac_cv_use_mimetype='wxUSE_MIMETYPE='$DEFAULT_wxUSE_MIMETYPE
6642
6643 fi
6644
6645
6646 eval "$ac_cv_use_mimetype"
6647 if test "$no_cache" != 1; then
6648 echo $ac_cv_use_mimetype >> ${wx_arg_cache_file}.tmp
6649 fi
6650
6651 if test "$wxUSE_MIMETYPE" = yes; then
6652 { echo "$as_me:$LINENO: result: yes" >&5
6653 echo "${ECHO_T}yes" >&6; }
6654 else
6655 { echo "$as_me:$LINENO: result: no" >&5
6656 echo "${ECHO_T}no" >&6; }
6657 fi
6658
6659
6660 enablestring=
6661 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mslu" >&5
6662 echo $ECHO_N "checking for --${enablestring:-enable}-mslu... $ECHO_C" >&6; }
6663 no_cache=0
6664 # Check whether --enable-mslu was given.
6665 if test "${enable_mslu+set}" = set; then
6666 enableval=$enable_mslu;
6667 if test "$enableval" = yes; then
6668 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=yes'
6669 else
6670 ac_cv_use_mslu='wxUSE_UNICODE_MSLU=no'
6671 fi
6672
6673 else
6674
6675 LINE=`grep "wxUSE_UNICODE_MSLU" ${wx_arg_cache_file}`
6676 if test "x$LINE" != x ; then
6677 eval "DEFAULT_$LINE"
6678 else
6679 no_cache=1
6680 fi
6681
6682 ac_cv_use_mslu='wxUSE_UNICODE_MSLU='$DEFAULT_wxUSE_UNICODE_MSLU
6683
6684 fi
6685
6686
6687 eval "$ac_cv_use_mslu"
6688 if test "$no_cache" != 1; then
6689 echo $ac_cv_use_mslu >> ${wx_arg_cache_file}.tmp
6690 fi
6691
6692 if test "$wxUSE_UNICODE_MSLU" = yes; then
6693 { echo "$as_me:$LINENO: result: yes" >&5
6694 echo "${ECHO_T}yes" >&6; }
6695 else
6696 { echo "$as_me:$LINENO: result: no" >&5
6697 echo "${ECHO_T}no" >&6; }
6698 fi
6699
6700
6701 enablestring=
6702 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-snglinst" >&5
6703 echo $ECHO_N "checking for --${enablestring:-enable}-snglinst... $ECHO_C" >&6; }
6704 no_cache=0
6705 # Check whether --enable-snglinst was given.
6706 if test "${enable_snglinst+set}" = set; then
6707 enableval=$enable_snglinst;
6708 if test "$enableval" = yes; then
6709 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=yes'
6710 else
6711 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER=no'
6712 fi
6713
6714 else
6715
6716 LINE=`grep "wxUSE_SNGLINST_CHECKER" ${wx_arg_cache_file}`
6717 if test "x$LINE" != x ; then
6718 eval "DEFAULT_$LINE"
6719 else
6720 no_cache=1
6721 fi
6722
6723 ac_cv_use_snglinst='wxUSE_SNGLINST_CHECKER='$DEFAULT_wxUSE_SNGLINST_CHECKER
6724
6725 fi
6726
6727
6728 eval "$ac_cv_use_snglinst"
6729 if test "$no_cache" != 1; then
6730 echo $ac_cv_use_snglinst >> ${wx_arg_cache_file}.tmp
6731 fi
6732
6733 if test "$wxUSE_SNGLINST_CHECKER" = yes; then
6734 { echo "$as_me:$LINENO: result: yes" >&5
6735 echo "${ECHO_T}yes" >&6; }
6736 else
6737 { echo "$as_me:$LINENO: result: no" >&5
6738 echo "${ECHO_T}no" >&6; }
6739 fi
6740
6741
6742 enablestring=
6743 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_iostreams" >&5
6744 echo $ECHO_N "checking for --${enablestring:-enable}-std_iostreams... $ECHO_C" >&6; }
6745 no_cache=0
6746 # Check whether --enable-std_iostreams was given.
6747 if test "${enable_std_iostreams+set}" = set; then
6748 enableval=$enable_std_iostreams;
6749 if test "$enableval" = yes; then
6750 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=yes'
6751 else
6752 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM=no'
6753 fi
6754
6755 else
6756
6757 LINE=`grep "wxUSE_STD_IOSTREAM" ${wx_arg_cache_file}`
6758 if test "x$LINE" != x ; then
6759 eval "DEFAULT_$LINE"
6760 else
6761 no_cache=1
6762 fi
6763
6764 ac_cv_use_std_iostreams='wxUSE_STD_IOSTREAM='$DEFAULT_wxUSE_STD_IOSTREAM
6765
6766 fi
6767
6768
6769 eval "$ac_cv_use_std_iostreams"
6770 if test "$no_cache" != 1; then
6771 echo $ac_cv_use_std_iostreams >> ${wx_arg_cache_file}.tmp
6772 fi
6773
6774 if test "$wxUSE_STD_IOSTREAM" = yes; then
6775 { echo "$as_me:$LINENO: result: yes" >&5
6776 echo "${ECHO_T}yes" >&6; }
6777 else
6778 { echo "$as_me:$LINENO: result: no" >&5
6779 echo "${ECHO_T}no" >&6; }
6780 fi
6781
6782
6783 enablestring=
6784 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-std_string" >&5
6785 echo $ECHO_N "checking for --${enablestring:-enable}-std_string... $ECHO_C" >&6; }
6786 no_cache=0
6787 # Check whether --enable-std_string was given.
6788 if test "${enable_std_string+set}" = set; then
6789 enableval=$enable_std_string;
6790 if test "$enableval" = yes; then
6791 ac_cv_use_std_string='wxUSE_STD_STRING=yes'
6792 else
6793 ac_cv_use_std_string='wxUSE_STD_STRING=no'
6794 fi
6795
6796 else
6797
6798 LINE=`grep "wxUSE_STD_STRING" ${wx_arg_cache_file}`
6799 if test "x$LINE" != x ; then
6800 eval "DEFAULT_$LINE"
6801 else
6802 no_cache=1
6803 fi
6804
6805 ac_cv_use_std_string='wxUSE_STD_STRING='$DEFAULT_wxUSE_STD_STRING
6806
6807 fi
6808
6809
6810 eval "$ac_cv_use_std_string"
6811 if test "$no_cache" != 1; then
6812 echo $ac_cv_use_std_string >> ${wx_arg_cache_file}.tmp
6813 fi
6814
6815 if test "$wxUSE_STD_STRING" = yes; then
6816 { echo "$as_me:$LINENO: result: yes" >&5
6817 echo "${ECHO_T}yes" >&6; }
6818 else
6819 { echo "$as_me:$LINENO: result: no" >&5
6820 echo "${ECHO_T}no" >&6; }
6821 fi
6822
6823
6824 enablestring=
6825 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stdpaths" >&5
6826 echo $ECHO_N "checking for --${enablestring:-enable}-stdpaths... $ECHO_C" >&6; }
6827 no_cache=0
6828 # Check whether --enable-stdpaths was given.
6829 if test "${enable_stdpaths+set}" = set; then
6830 enableval=$enable_stdpaths;
6831 if test "$enableval" = yes; then
6832 ac_cv_use_stdpaths='wxUSE_STDPATHS=yes'
6833 else
6834 ac_cv_use_stdpaths='wxUSE_STDPATHS=no'
6835 fi
6836
6837 else
6838
6839 LINE=`grep "wxUSE_STDPATHS" ${wx_arg_cache_file}`
6840 if test "x$LINE" != x ; then
6841 eval "DEFAULT_$LINE"
6842 else
6843 no_cache=1
6844 fi
6845
6846 ac_cv_use_stdpaths='wxUSE_STDPATHS='$DEFAULT_wxUSE_STDPATHS
6847
6848 fi
6849
6850
6851 eval "$ac_cv_use_stdpaths"
6852 if test "$no_cache" != 1; then
6853 echo $ac_cv_use_stdpaths >> ${wx_arg_cache_file}.tmp
6854 fi
6855
6856 if test "$wxUSE_STDPATHS" = yes; then
6857 { echo "$as_me:$LINENO: result: yes" >&5
6858 echo "${ECHO_T}yes" >&6; }
6859 else
6860 { echo "$as_me:$LINENO: result: no" >&5
6861 echo "${ECHO_T}no" >&6; }
6862 fi
6863
6864
6865 enablestring=
6866 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stopwatch" >&5
6867 echo $ECHO_N "checking for --${enablestring:-enable}-stopwatch... $ECHO_C" >&6; }
6868 no_cache=0
6869 # Check whether --enable-stopwatch was given.
6870 if test "${enable_stopwatch+set}" = set; then
6871 enableval=$enable_stopwatch;
6872 if test "$enableval" = yes; then
6873 ac_cv_use_stopwatch='wxUSE_STOPWATCH=yes'
6874 else
6875 ac_cv_use_stopwatch='wxUSE_STOPWATCH=no'
6876 fi
6877
6878 else
6879
6880 LINE=`grep "wxUSE_STOPWATCH" ${wx_arg_cache_file}`
6881 if test "x$LINE" != x ; then
6882 eval "DEFAULT_$LINE"
6883 else
6884 no_cache=1
6885 fi
6886
6887 ac_cv_use_stopwatch='wxUSE_STOPWATCH='$DEFAULT_wxUSE_STOPWATCH
6888
6889 fi
6890
6891
6892 eval "$ac_cv_use_stopwatch"
6893 if test "$no_cache" != 1; then
6894 echo $ac_cv_use_stopwatch >> ${wx_arg_cache_file}.tmp
6895 fi
6896
6897 if test "$wxUSE_STOPWATCH" = yes; then
6898 { echo "$as_me:$LINENO: result: yes" >&5
6899 echo "${ECHO_T}yes" >&6; }
6900 else
6901 { echo "$as_me:$LINENO: result: no" >&5
6902 echo "${ECHO_T}no" >&6; }
6903 fi
6904
6905
6906 enablestring=
6907 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-streams" >&5
6908 echo $ECHO_N "checking for --${enablestring:-enable}-streams... $ECHO_C" >&6; }
6909 no_cache=0
6910 # Check whether --enable-streams was given.
6911 if test "${enable_streams+set}" = set; then
6912 enableval=$enable_streams;
6913 if test "$enableval" = yes; then
6914 ac_cv_use_streams='wxUSE_STREAMS=yes'
6915 else
6916 ac_cv_use_streams='wxUSE_STREAMS=no'
6917 fi
6918
6919 else
6920
6921 LINE=`grep "wxUSE_STREAMS" ${wx_arg_cache_file}`
6922 if test "x$LINE" != x ; then
6923 eval "DEFAULT_$LINE"
6924 else
6925 no_cache=1
6926 fi
6927
6928 ac_cv_use_streams='wxUSE_STREAMS='$DEFAULT_wxUSE_STREAMS
6929
6930 fi
6931
6932
6933 eval "$ac_cv_use_streams"
6934 if test "$no_cache" != 1; then
6935 echo $ac_cv_use_streams >> ${wx_arg_cache_file}.tmp
6936 fi
6937
6938 if test "$wxUSE_STREAMS" = yes; then
6939 { echo "$as_me:$LINENO: result: yes" >&5
6940 echo "${ECHO_T}yes" >&6; }
6941 else
6942 { echo "$as_me:$LINENO: result: no" >&5
6943 echo "${ECHO_T}no" >&6; }
6944 fi
6945
6946
6947 enablestring=
6948 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-system_options" >&5
6949 echo $ECHO_N "checking for --${enablestring:-enable}-system_options... $ECHO_C" >&6; }
6950 no_cache=0
6951 # Check whether --enable-system_options was given.
6952 if test "${enable_system_options+set}" = set; then
6953 enableval=$enable_system_options;
6954 if test "$enableval" = yes; then
6955 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=yes'
6956 else
6957 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS=no'
6958 fi
6959
6960 else
6961
6962 LINE=`grep "wxUSE_SYSTEM_OPTIONS" ${wx_arg_cache_file}`
6963 if test "x$LINE" != x ; then
6964 eval "DEFAULT_$LINE"
6965 else
6966 no_cache=1
6967 fi
6968
6969 ac_cv_use_system_options='wxUSE_SYSTEM_OPTIONS='$DEFAULT_wxUSE_SYSTEM_OPTIONS
6970
6971 fi
6972
6973
6974 eval "$ac_cv_use_system_options"
6975 if test "$no_cache" != 1; then
6976 echo $ac_cv_use_system_options >> ${wx_arg_cache_file}.tmp
6977 fi
6978
6979 if test "$wxUSE_SYSTEM_OPTIONS" = yes; then
6980 { echo "$as_me:$LINENO: result: yes" >&5
6981 echo "${ECHO_T}yes" >&6; }
6982 else
6983 { echo "$as_me:$LINENO: result: no" >&5
6984 echo "${ECHO_T}no" >&6; }
6985 fi
6986
6987
6988 enablestring=
6989 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tarstream" >&5
6990 echo $ECHO_N "checking for --${enablestring:-enable}-tarstream... $ECHO_C" >&6; }
6991 no_cache=0
6992 # Check whether --enable-tarstream was given.
6993 if test "${enable_tarstream+set}" = set; then
6994 enableval=$enable_tarstream;
6995 if test "$enableval" = yes; then
6996 ac_cv_use_tarstream='wxUSE_TARSTREAM=yes'
6997 else
6998 ac_cv_use_tarstream='wxUSE_TARSTREAM=no'
6999 fi
7000
7001 else
7002
7003 LINE=`grep "wxUSE_TARSTREAM" ${wx_arg_cache_file}`
7004 if test "x$LINE" != x ; then
7005 eval "DEFAULT_$LINE"
7006 else
7007 no_cache=1
7008 fi
7009
7010 ac_cv_use_tarstream='wxUSE_TARSTREAM='$DEFAULT_wxUSE_TARSTREAM
7011
7012 fi
7013
7014
7015 eval "$ac_cv_use_tarstream"
7016 if test "$no_cache" != 1; then
7017 echo $ac_cv_use_tarstream >> ${wx_arg_cache_file}.tmp
7018 fi
7019
7020 if test "$wxUSE_TARSTREAM" = yes; then
7021 { echo "$as_me:$LINENO: result: yes" >&5
7022 echo "${ECHO_T}yes" >&6; }
7023 else
7024 { echo "$as_me:$LINENO: result: no" >&5
7025 echo "${ECHO_T}no" >&6; }
7026 fi
7027
7028
7029 enablestring=
7030 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textbuf" >&5
7031 echo $ECHO_N "checking for --${enablestring:-enable}-textbuf... $ECHO_C" >&6; }
7032 no_cache=0
7033 # Check whether --enable-textbuf was given.
7034 if test "${enable_textbuf+set}" = set; then
7035 enableval=$enable_textbuf;
7036 if test "$enableval" = yes; then
7037 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=yes'
7038 else
7039 ac_cv_use_textbuf='wxUSE_TEXTBUFFER=no'
7040 fi
7041
7042 else
7043
7044 LINE=`grep "wxUSE_TEXTBUFFER" ${wx_arg_cache_file}`
7045 if test "x$LINE" != x ; then
7046 eval "DEFAULT_$LINE"
7047 else
7048 no_cache=1
7049 fi
7050
7051 ac_cv_use_textbuf='wxUSE_TEXTBUFFER='$DEFAULT_wxUSE_TEXTBUFFER
7052
7053 fi
7054
7055
7056 eval "$ac_cv_use_textbuf"
7057 if test "$no_cache" != 1; then
7058 echo $ac_cv_use_textbuf >> ${wx_arg_cache_file}.tmp
7059 fi
7060
7061 if test "$wxUSE_TEXTBUFFER" = yes; then
7062 { echo "$as_me:$LINENO: result: yes" >&5
7063 echo "${ECHO_T}yes" >&6; }
7064 else
7065 { echo "$as_me:$LINENO: result: no" >&5
7066 echo "${ECHO_T}no" >&6; }
7067 fi
7068
7069
7070 enablestring=
7071 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textfile" >&5
7072 echo $ECHO_N "checking for --${enablestring:-enable}-textfile... $ECHO_C" >&6; }
7073 no_cache=0
7074 # Check whether --enable-textfile was given.
7075 if test "${enable_textfile+set}" = set; then
7076 enableval=$enable_textfile;
7077 if test "$enableval" = yes; then
7078 ac_cv_use_textfile='wxUSE_TEXTFILE=yes'
7079 else
7080 ac_cv_use_textfile='wxUSE_TEXTFILE=no'
7081 fi
7082
7083 else
7084
7085 LINE=`grep "wxUSE_TEXTFILE" ${wx_arg_cache_file}`
7086 if test "x$LINE" != x ; then
7087 eval "DEFAULT_$LINE"
7088 else
7089 no_cache=1
7090 fi
7091
7092 ac_cv_use_textfile='wxUSE_TEXTFILE='$DEFAULT_wxUSE_TEXTFILE
7093
7094 fi
7095
7096
7097 eval "$ac_cv_use_textfile"
7098 if test "$no_cache" != 1; then
7099 echo $ac_cv_use_textfile >> ${wx_arg_cache_file}.tmp
7100 fi
7101
7102 if test "$wxUSE_TEXTFILE" = yes; then
7103 { echo "$as_me:$LINENO: result: yes" >&5
7104 echo "${ECHO_T}yes" >&6; }
7105 else
7106 { echo "$as_me:$LINENO: result: no" >&5
7107 echo "${ECHO_T}no" >&6; }
7108 fi
7109
7110
7111 enablestring=
7112 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-timer" >&5
7113 echo $ECHO_N "checking for --${enablestring:-enable}-timer... $ECHO_C" >&6; }
7114 no_cache=0
7115 # Check whether --enable-timer was given.
7116 if test "${enable_timer+set}" = set; then
7117 enableval=$enable_timer;
7118 if test "$enableval" = yes; then
7119 ac_cv_use_timer='wxUSE_TIMER=yes'
7120 else
7121 ac_cv_use_timer='wxUSE_TIMER=no'
7122 fi
7123
7124 else
7125
7126 LINE=`grep "wxUSE_TIMER" ${wx_arg_cache_file}`
7127 if test "x$LINE" != x ; then
7128 eval "DEFAULT_$LINE"
7129 else
7130 no_cache=1
7131 fi
7132
7133 ac_cv_use_timer='wxUSE_TIMER='$DEFAULT_wxUSE_TIMER
7134
7135 fi
7136
7137
7138 eval "$ac_cv_use_timer"
7139 if test "$no_cache" != 1; then
7140 echo $ac_cv_use_timer >> ${wx_arg_cache_file}.tmp
7141 fi
7142
7143 if test "$wxUSE_TIMER" = yes; then
7144 { echo "$as_me:$LINENO: result: yes" >&5
7145 echo "${ECHO_T}yes" >&6; }
7146 else
7147 { echo "$as_me:$LINENO: result: no" >&5
7148 echo "${ECHO_T}no" >&6; }
7149 fi
7150
7151
7152 enablestring=
7153 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-unicode" >&5
7154 echo $ECHO_N "checking for --${enablestring:-enable}-unicode... $ECHO_C" >&6; }
7155 no_cache=0
7156 # Check whether --enable-unicode was given.
7157 if test "${enable_unicode+set}" = set; then
7158 enableval=$enable_unicode;
7159 if test "$enableval" = yes; then
7160 ac_cv_use_unicode='wxUSE_UNICODE=yes'
7161 else
7162 ac_cv_use_unicode='wxUSE_UNICODE=no'
7163 fi
7164
7165 else
7166
7167 LINE=`grep "wxUSE_UNICODE" ${wx_arg_cache_file}`
7168 if test "x$LINE" != x ; then
7169 eval "DEFAULT_$LINE"
7170 else
7171 no_cache=1
7172 fi
7173
7174 ac_cv_use_unicode='wxUSE_UNICODE='$DEFAULT_wxUSE_UNICODE
7175
7176 fi
7177
7178
7179 eval "$ac_cv_use_unicode"
7180 if test "$no_cache" != 1; then
7181 echo $ac_cv_use_unicode >> ${wx_arg_cache_file}.tmp
7182 fi
7183
7184 if test "$wxUSE_UNICODE" = yes; then
7185 { echo "$as_me:$LINENO: result: yes" >&5
7186 echo "${ECHO_T}yes" >&6; }
7187 else
7188 { echo "$as_me:$LINENO: result: no" >&5
7189 echo "${ECHO_T}no" >&6; }
7190 fi
7191
7192
7193 enablestring=
7194 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sound" >&5
7195 echo $ECHO_N "checking for --${enablestring:-enable}-sound... $ECHO_C" >&6; }
7196 no_cache=0
7197 # Check whether --enable-sound was given.
7198 if test "${enable_sound+set}" = set; then
7199 enableval=$enable_sound;
7200 if test "$enableval" = yes; then
7201 ac_cv_use_sound='wxUSE_SOUND=yes'
7202 else
7203 ac_cv_use_sound='wxUSE_SOUND=no'
7204 fi
7205
7206 else
7207
7208 LINE=`grep "wxUSE_SOUND" ${wx_arg_cache_file}`
7209 if test "x$LINE" != x ; then
7210 eval "DEFAULT_$LINE"
7211 else
7212 no_cache=1
7213 fi
7214
7215 ac_cv_use_sound='wxUSE_SOUND='$DEFAULT_wxUSE_SOUND
7216
7217 fi
7218
7219
7220 eval "$ac_cv_use_sound"
7221 if test "$no_cache" != 1; then
7222 echo $ac_cv_use_sound >> ${wx_arg_cache_file}.tmp
7223 fi
7224
7225 if test "$wxUSE_SOUND" = yes; then
7226 { echo "$as_me:$LINENO: result: yes" >&5
7227 echo "${ECHO_T}yes" >&6; }
7228 else
7229 { echo "$as_me:$LINENO: result: no" >&5
7230 echo "${ECHO_T}no" >&6; }
7231 fi
7232
7233
7234 enablestring=
7235 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mediactrl" >&5
7236 echo $ECHO_N "checking for --${enablestring:-enable}-mediactrl... $ECHO_C" >&6; }
7237 no_cache=0
7238 # Check whether --enable-mediactrl was given.
7239 if test "${enable_mediactrl+set}" = set; then
7240 enableval=$enable_mediactrl;
7241 if test "$enableval" = yes; then
7242 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=yes'
7243 else
7244 ac_cv_use_mediactrl='wxUSE_MEDIACTRL=no'
7245 fi
7246
7247 else
7248
7249 LINE=`grep "wxUSE_MEDIACTRL" ${wx_arg_cache_file}`
7250 if test "x$LINE" != x ; then
7251 eval "DEFAULT_$LINE"
7252 else
7253 no_cache=1
7254 fi
7255
7256 ac_cv_use_mediactrl='wxUSE_MEDIACTRL='$DEFAULT_wxUSE_MEDIACTRL
7257
7258 fi
7259
7260
7261 eval "$ac_cv_use_mediactrl"
7262 if test "$no_cache" != 1; then
7263 echo $ac_cv_use_mediactrl >> ${wx_arg_cache_file}.tmp
7264 fi
7265
7266 if test "$wxUSE_MEDIACTRL" = yes; then
7267 { echo "$as_me:$LINENO: result: yes" >&5
7268 echo "${ECHO_T}yes" >&6; }
7269 else
7270 { echo "$as_me:$LINENO: result: no" >&5
7271 echo "${ECHO_T}no" >&6; }
7272 fi
7273
7274
7275 enablestring=
7276 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gstreamer8" >&5
7277 echo $ECHO_N "checking for --${enablestring:-enable}-gstreamer8... $ECHO_C" >&6; }
7278 no_cache=0
7279 # Check whether --enable-gstreamer8 was given.
7280 if test "${enable_gstreamer8+set}" = set; then
7281 enableval=$enable_gstreamer8;
7282 if test "$enableval" = yes; then
7283 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=yes'
7284 else
7285 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8=no'
7286 fi
7287
7288 else
7289
7290 LINE=`grep "wxUSE_GSTREAMER8" ${wx_arg_cache_file}`
7291 if test "x$LINE" != x ; then
7292 eval "DEFAULT_$LINE"
7293 else
7294 no_cache=1
7295 fi
7296
7297 ac_cv_use_gstreamer8='wxUSE_GSTREAMER8='$DEFAULT_wxUSE_GSTREAMER8
7298
7299 fi
7300
7301
7302 eval "$ac_cv_use_gstreamer8"
7303 if test "$no_cache" != 1; then
7304 echo $ac_cv_use_gstreamer8 >> ${wx_arg_cache_file}.tmp
7305 fi
7306
7307 if test "$wxUSE_GSTREAMER8" = yes; then
7308 { echo "$as_me:$LINENO: result: yes" >&5
7309 echo "${ECHO_T}yes" >&6; }
7310 else
7311 { echo "$as_me:$LINENO: result: no" >&5
7312 echo "${ECHO_T}no" >&6; }
7313 fi
7314
7315
7316 enablestring=
7317 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printfposparam" >&5
7318 echo $ECHO_N "checking for --${enablestring:-enable}-printfposparam... $ECHO_C" >&6; }
7319 no_cache=0
7320 # Check whether --enable-printfposparam was given.
7321 if test "${enable_printfposparam+set}" = set; then
7322 enableval=$enable_printfposparam;
7323 if test "$enableval" = yes; then
7324 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=yes'
7325 else
7326 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS=no'
7327 fi
7328
7329 else
7330
7331 LINE=`grep "wxUSE_PRINTF_POS_PARAMS" ${wx_arg_cache_file}`
7332 if test "x$LINE" != x ; then
7333 eval "DEFAULT_$LINE"
7334 else
7335 no_cache=1
7336 fi
7337
7338 ac_cv_use_printfposparam='wxUSE_PRINTF_POS_PARAMS='$DEFAULT_wxUSE_PRINTF_POS_PARAMS
7339
7340 fi
7341
7342
7343 eval "$ac_cv_use_printfposparam"
7344 if test "$no_cache" != 1; then
7345 echo $ac_cv_use_printfposparam >> ${wx_arg_cache_file}.tmp
7346 fi
7347
7348 if test "$wxUSE_PRINTF_POS_PARAMS" = yes; then
7349 { echo "$as_me:$LINENO: result: yes" >&5
7350 echo "${ECHO_T}yes" >&6; }
7351 else
7352 { echo "$as_me:$LINENO: result: no" >&5
7353 echo "${ECHO_T}no" >&6; }
7354 fi
7355
7356
7357 enablestring=
7358 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-zipstream" >&5
7359 echo $ECHO_N "checking for --${enablestring:-enable}-zipstream... $ECHO_C" >&6; }
7360 no_cache=0
7361 # Check whether --enable-zipstream was given.
7362 if test "${enable_zipstream+set}" = set; then
7363 enableval=$enable_zipstream;
7364 if test "$enableval" = yes; then
7365 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=yes'
7366 else
7367 ac_cv_use_zipstream='wxUSE_ZIPSTREAM=no'
7368 fi
7369
7370 else
7371
7372 LINE=`grep "wxUSE_ZIPSTREAM" ${wx_arg_cache_file}`
7373 if test "x$LINE" != x ; then
7374 eval "DEFAULT_$LINE"
7375 else
7376 no_cache=1
7377 fi
7378
7379 ac_cv_use_zipstream='wxUSE_ZIPSTREAM='$DEFAULT_wxUSE_ZIPSTREAM
7380
7381 fi
7382
7383
7384 eval "$ac_cv_use_zipstream"
7385 if test "$no_cache" != 1; then
7386 echo $ac_cv_use_zipstream >> ${wx_arg_cache_file}.tmp
7387 fi
7388
7389 if test "$wxUSE_ZIPSTREAM" = yes; then
7390 { echo "$as_me:$LINENO: result: yes" >&5
7391 echo "${ECHO_T}yes" >&6; }
7392 else
7393 { echo "$as_me:$LINENO: result: no" >&5
7394 echo "${ECHO_T}no" >&6; }
7395 fi
7396
7397
7398
7399 enablestring=
7400 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-url" >&5
7401 echo $ECHO_N "checking for --${enablestring:-enable}-url... $ECHO_C" >&6; }
7402 no_cache=0
7403 # Check whether --enable-url was given.
7404 if test "${enable_url+set}" = set; then
7405 enableval=$enable_url;
7406 if test "$enableval" = yes; then
7407 ac_cv_use_url='wxUSE_URL=yes'
7408 else
7409 ac_cv_use_url='wxUSE_URL=no'
7410 fi
7411
7412 else
7413
7414 LINE=`grep "wxUSE_URL" ${wx_arg_cache_file}`
7415 if test "x$LINE" != x ; then
7416 eval "DEFAULT_$LINE"
7417 else
7418 no_cache=1
7419 fi
7420
7421 ac_cv_use_url='wxUSE_URL='$DEFAULT_wxUSE_URL
7422
7423 fi
7424
7425
7426 eval "$ac_cv_use_url"
7427 if test "$no_cache" != 1; then
7428 echo $ac_cv_use_url >> ${wx_arg_cache_file}.tmp
7429 fi
7430
7431 if test "$wxUSE_URL" = yes; then
7432 { echo "$as_me:$LINENO: result: yes" >&5
7433 echo "${ECHO_T}yes" >&6; }
7434 else
7435 { echo "$as_me:$LINENO: result: no" >&5
7436 echo "${ECHO_T}no" >&6; }
7437 fi
7438
7439
7440 enablestring=
7441 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-variant" >&5
7442 echo $ECHO_N "checking for --${enablestring:-enable}-variant... $ECHO_C" >&6; }
7443 no_cache=0
7444 # Check whether --enable-variant was given.
7445 if test "${enable_variant+set}" = set; then
7446 enableval=$enable_variant;
7447 if test "$enableval" = yes; then
7448 ac_cv_use_variant='wxUSE_VARIANT=yes'
7449 else
7450 ac_cv_use_variant='wxUSE_VARIANT=no'
7451 fi
7452
7453 else
7454
7455 LINE=`grep "wxUSE_VARIANT" ${wx_arg_cache_file}`
7456 if test "x$LINE" != x ; then
7457 eval "DEFAULT_$LINE"
7458 else
7459 no_cache=1
7460 fi
7461
7462 ac_cv_use_variant='wxUSE_VARIANT='$DEFAULT_wxUSE_VARIANT
7463
7464 fi
7465
7466
7467 eval "$ac_cv_use_variant"
7468 if test "$no_cache" != 1; then
7469 echo $ac_cv_use_variant >> ${wx_arg_cache_file}.tmp
7470 fi
7471
7472 if test "$wxUSE_VARIANT" = yes; then
7473 { echo "$as_me:$LINENO: result: yes" >&5
7474 echo "${ECHO_T}yes" >&6; }
7475 else
7476 { echo "$as_me:$LINENO: result: no" >&5
7477 echo "${ECHO_T}no" >&6; }
7478 fi
7479
7480
7481 enablestring=
7482 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol" >&5
7483 echo $ECHO_N "checking for --${enablestring:-enable}-protocol... $ECHO_C" >&6; }
7484 no_cache=0
7485 # Check whether --enable-protocol was given.
7486 if test "${enable_protocol+set}" = set; then
7487 enableval=$enable_protocol;
7488 if test "$enableval" = yes; then
7489 ac_cv_use_protocol='wxUSE_PROTOCOL=yes'
7490 else
7491 ac_cv_use_protocol='wxUSE_PROTOCOL=no'
7492 fi
7493
7494 else
7495
7496 LINE=`grep "wxUSE_PROTOCOL" ${wx_arg_cache_file}`
7497 if test "x$LINE" != x ; then
7498 eval "DEFAULT_$LINE"
7499 else
7500 no_cache=1
7501 fi
7502
7503 ac_cv_use_protocol='wxUSE_PROTOCOL='$DEFAULT_wxUSE_PROTOCOL
7504
7505 fi
7506
7507
7508 eval "$ac_cv_use_protocol"
7509 if test "$no_cache" != 1; then
7510 echo $ac_cv_use_protocol >> ${wx_arg_cache_file}.tmp
7511 fi
7512
7513 if test "$wxUSE_PROTOCOL" = yes; then
7514 { echo "$as_me:$LINENO: result: yes" >&5
7515 echo "${ECHO_T}yes" >&6; }
7516 else
7517 { echo "$as_me:$LINENO: result: no" >&5
7518 echo "${ECHO_T}no" >&6; }
7519 fi
7520
7521
7522 enablestring=
7523 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_http" >&5
7524 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_http... $ECHO_C" >&6; }
7525 no_cache=0
7526 # Check whether --enable-protocol_http was given.
7527 if test "${enable_protocol_http+set}" = set; then
7528 enableval=$enable_protocol_http;
7529 if test "$enableval" = yes; then
7530 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=yes'
7531 else
7532 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP=no'
7533 fi
7534
7535 else
7536
7537 LINE=`grep "wxUSE_PROTOCOL_HTTP" ${wx_arg_cache_file}`
7538 if test "x$LINE" != x ; then
7539 eval "DEFAULT_$LINE"
7540 else
7541 no_cache=1
7542 fi
7543
7544 ac_cv_use_protocol_http='wxUSE_PROTOCOL_HTTP='$DEFAULT_wxUSE_PROTOCOL_HTTP
7545
7546 fi
7547
7548
7549 eval "$ac_cv_use_protocol_http"
7550 if test "$no_cache" != 1; then
7551 echo $ac_cv_use_protocol_http >> ${wx_arg_cache_file}.tmp
7552 fi
7553
7554 if test "$wxUSE_PROTOCOL_HTTP" = yes; then
7555 { echo "$as_me:$LINENO: result: yes" >&5
7556 echo "${ECHO_T}yes" >&6; }
7557 else
7558 { echo "$as_me:$LINENO: result: no" >&5
7559 echo "${ECHO_T}no" >&6; }
7560 fi
7561
7562
7563 enablestring=
7564 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_ftp" >&5
7565 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_ftp... $ECHO_C" >&6; }
7566 no_cache=0
7567 # Check whether --enable-protocol_ftp was given.
7568 if test "${enable_protocol_ftp+set}" = set; then
7569 enableval=$enable_protocol_ftp;
7570 if test "$enableval" = yes; then
7571 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=yes'
7572 else
7573 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP=no'
7574 fi
7575
7576 else
7577
7578 LINE=`grep "wxUSE_PROTOCOL_FTP" ${wx_arg_cache_file}`
7579 if test "x$LINE" != x ; then
7580 eval "DEFAULT_$LINE"
7581 else
7582 no_cache=1
7583 fi
7584
7585 ac_cv_use_protocol_ftp='wxUSE_PROTOCOL_FTP='$DEFAULT_wxUSE_PROTOCOL_FTP
7586
7587 fi
7588
7589
7590 eval "$ac_cv_use_protocol_ftp"
7591 if test "$no_cache" != 1; then
7592 echo $ac_cv_use_protocol_ftp >> ${wx_arg_cache_file}.tmp
7593 fi
7594
7595 if test "$wxUSE_PROTOCOL_FTP" = yes; then
7596 { echo "$as_me:$LINENO: result: yes" >&5
7597 echo "${ECHO_T}yes" >&6; }
7598 else
7599 { echo "$as_me:$LINENO: result: no" >&5
7600 echo "${ECHO_T}no" >&6; }
7601 fi
7602
7603
7604 enablestring=
7605 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-protocol_file" >&5
7606 echo $ECHO_N "checking for --${enablestring:-enable}-protocol_file... $ECHO_C" >&6; }
7607 no_cache=0
7608 # Check whether --enable-protocol_file was given.
7609 if test "${enable_protocol_file+set}" = set; then
7610 enableval=$enable_protocol_file;
7611 if test "$enableval" = yes; then
7612 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=yes'
7613 else
7614 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE=no'
7615 fi
7616
7617 else
7618
7619 LINE=`grep "wxUSE_PROTOCOL_FILE" ${wx_arg_cache_file}`
7620 if test "x$LINE" != x ; then
7621 eval "DEFAULT_$LINE"
7622 else
7623 no_cache=1
7624 fi
7625
7626 ac_cv_use_protocol_file='wxUSE_PROTOCOL_FILE='$DEFAULT_wxUSE_PROTOCOL_FILE
7627
7628 fi
7629
7630
7631 eval "$ac_cv_use_protocol_file"
7632 if test "$no_cache" != 1; then
7633 echo $ac_cv_use_protocol_file >> ${wx_arg_cache_file}.tmp
7634 fi
7635
7636 if test "$wxUSE_PROTOCOL_FILE" = yes; then
7637 { echo "$as_me:$LINENO: result: yes" >&5
7638 echo "${ECHO_T}yes" >&6; }
7639 else
7640 { echo "$as_me:$LINENO: result: no" >&5
7641 echo "${ECHO_T}no" >&6; }
7642 fi
7643
7644
7645
7646
7647
7648 enablestring=
7649 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-threads" >&5
7650 echo $ECHO_N "checking for --${enablestring:-enable}-threads... $ECHO_C" >&6; }
7651 no_cache=0
7652 # Check whether --enable-threads was given.
7653 if test "${enable_threads+set}" = set; then
7654 enableval=$enable_threads;
7655 if test "$enableval" = yes; then
7656 ac_cv_use_threads='wxUSE_THREADS=yes'
7657 else
7658 ac_cv_use_threads='wxUSE_THREADS=no'
7659 fi
7660
7661 else
7662
7663 LINE=`grep "wxUSE_THREADS" ${wx_arg_cache_file}`
7664 if test "x$LINE" != x ; then
7665 eval "DEFAULT_$LINE"
7666 else
7667 no_cache=1
7668 fi
7669
7670 ac_cv_use_threads='wxUSE_THREADS='$DEFAULT_wxUSE_THREADS
7671
7672 fi
7673
7674
7675 eval "$ac_cv_use_threads"
7676 if test "$no_cache" != 1; then
7677 echo $ac_cv_use_threads >> ${wx_arg_cache_file}.tmp
7678 fi
7679
7680 if test "$wxUSE_THREADS" = yes; then
7681 { echo "$as_me:$LINENO: result: yes" >&5
7682 echo "${ECHO_T}yes" >&6; }
7683 else
7684 { echo "$as_me:$LINENO: result: no" >&5
7685 echo "${ECHO_T}no" >&6; }
7686 fi
7687
7688
7689 if test "$wxUSE_GUI" = "yes"; then
7690
7691
7692
7693 enablestring=
7694 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-docview" >&5
7695 echo $ECHO_N "checking for --${enablestring:-enable}-docview... $ECHO_C" >&6; }
7696 no_cache=0
7697 # Check whether --enable-docview was given.
7698 if test "${enable_docview+set}" = set; then
7699 enableval=$enable_docview;
7700 if test "$enableval" = yes; then
7701 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=yes'
7702 else
7703 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE=no'
7704 fi
7705
7706 else
7707
7708 LINE=`grep "wxUSE_DOC_VIEW_ARCHITECTURE" ${wx_arg_cache_file}`
7709 if test "x$LINE" != x ; then
7710 eval "DEFAULT_$LINE"
7711 else
7712 no_cache=1
7713 fi
7714
7715 ac_cv_use_docview='wxUSE_DOC_VIEW_ARCHITECTURE='$DEFAULT_wxUSE_DOC_VIEW_ARCHITECTURE
7716
7717 fi
7718
7719
7720 eval "$ac_cv_use_docview"
7721 if test "$no_cache" != 1; then
7722 echo $ac_cv_use_docview >> ${wx_arg_cache_file}.tmp
7723 fi
7724
7725 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = yes; then
7726 { echo "$as_me:$LINENO: result: yes" >&5
7727 echo "${ECHO_T}yes" >&6; }
7728 else
7729 { echo "$as_me:$LINENO: result: no" >&5
7730 echo "${ECHO_T}no" >&6; }
7731 fi
7732
7733
7734 enablestring=
7735 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-help" >&5
7736 echo $ECHO_N "checking for --${enablestring:-enable}-help... $ECHO_C" >&6; }
7737 no_cache=0
7738 # Check whether --enable-help was given.
7739 if test "${enable_help+set}" = set; then
7740 enableval=$enable_help;
7741 if test "$enableval" = yes; then
7742 ac_cv_use_help='wxUSE_HELP=yes'
7743 else
7744 ac_cv_use_help='wxUSE_HELP=no'
7745 fi
7746
7747 else
7748
7749 LINE=`grep "wxUSE_HELP" ${wx_arg_cache_file}`
7750 if test "x$LINE" != x ; then
7751 eval "DEFAULT_$LINE"
7752 else
7753 no_cache=1
7754 fi
7755
7756 ac_cv_use_help='wxUSE_HELP='$DEFAULT_wxUSE_HELP
7757
7758 fi
7759
7760
7761 eval "$ac_cv_use_help"
7762 if test "$no_cache" != 1; then
7763 echo $ac_cv_use_help >> ${wx_arg_cache_file}.tmp
7764 fi
7765
7766 if test "$wxUSE_HELP" = yes; then
7767 { echo "$as_me:$LINENO: result: yes" >&5
7768 echo "${ECHO_T}yes" >&6; }
7769 else
7770 { echo "$as_me:$LINENO: result: no" >&5
7771 echo "${ECHO_T}no" >&6; }
7772 fi
7773
7774
7775 enablestring=
7776 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mshtmlhelp" >&5
7777 echo $ECHO_N "checking for --${enablestring:-enable}-mshtmlhelp... $ECHO_C" >&6; }
7778 no_cache=0
7779 # Check whether --enable-mshtmlhelp was given.
7780 if test "${enable_mshtmlhelp+set}" = set; then
7781 enableval=$enable_mshtmlhelp;
7782 if test "$enableval" = yes; then
7783 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=yes'
7784 else
7785 ac_cv_use_mshtmlhelp='wxUSE_MS_HTML_HELP=no'
7786 fi
7787
7788 else
7789
7790 LINE=`grep "wxUSE_MS_HTML_HELP" ${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_mshtmlhelp='wxUSE_MS_HTML_HELP='$DEFAULT_wxUSE_MS_HTML_HELP
7798
7799 fi
7800
7801
7802 eval "$ac_cv_use_mshtmlhelp"
7803 if test "$no_cache" != 1; then
7804 echo $ac_cv_use_mshtmlhelp >> ${wx_arg_cache_file}.tmp
7805 fi
7806
7807 if test "$wxUSE_MS_HTML_HELP" = 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 enablestring=
7817 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-html" >&5
7818 echo $ECHO_N "checking for --${enablestring:-enable}-html... $ECHO_C" >&6; }
7819 no_cache=0
7820 # Check whether --enable-html was given.
7821 if test "${enable_html+set}" = set; then
7822 enableval=$enable_html;
7823 if test "$enableval" = yes; then
7824 ac_cv_use_html='wxUSE_HTML=yes'
7825 else
7826 ac_cv_use_html='wxUSE_HTML=no'
7827 fi
7828
7829 else
7830
7831 LINE=`grep "wxUSE_HTML" ${wx_arg_cache_file}`
7832 if test "x$LINE" != x ; then
7833 eval "DEFAULT_$LINE"
7834 else
7835 no_cache=1
7836 fi
7837
7838 ac_cv_use_html='wxUSE_HTML='$DEFAULT_wxUSE_HTML
7839
7840 fi
7841
7842
7843 eval "$ac_cv_use_html"
7844 if test "$no_cache" != 1; then
7845 echo $ac_cv_use_html >> ${wx_arg_cache_file}.tmp
7846 fi
7847
7848 if test "$wxUSE_HTML" = yes; then
7849 { echo "$as_me:$LINENO: result: yes" >&5
7850 echo "${ECHO_T}yes" >&6; }
7851 else
7852 { echo "$as_me:$LINENO: result: no" >&5
7853 echo "${ECHO_T}no" >&6; }
7854 fi
7855
7856
7857 enablestring=
7858 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-htmlhelp" >&5
7859 echo $ECHO_N "checking for --${enablestring:-enable}-htmlhelp... $ECHO_C" >&6; }
7860 no_cache=0
7861 # Check whether --enable-htmlhelp was given.
7862 if test "${enable_htmlhelp+set}" = set; then
7863 enableval=$enable_htmlhelp;
7864 if test "$enableval" = yes; then
7865 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=yes'
7866 else
7867 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP=no'
7868 fi
7869
7870 else
7871
7872 LINE=`grep "wxUSE_WXHTML_HELP" ${wx_arg_cache_file}`
7873 if test "x$LINE" != x ; then
7874 eval "DEFAULT_$LINE"
7875 else
7876 no_cache=1
7877 fi
7878
7879 ac_cv_use_htmlhelp='wxUSE_WXHTML_HELP='$DEFAULT_wxUSE_WXHTML_HELP
7880
7881 fi
7882
7883
7884 eval "$ac_cv_use_htmlhelp"
7885 if test "$no_cache" != 1; then
7886 echo $ac_cv_use_htmlhelp >> ${wx_arg_cache_file}.tmp
7887 fi
7888
7889 if test "$wxUSE_WXHTML_HELP" = yes; then
7890 { echo "$as_me:$LINENO: result: yes" >&5
7891 echo "${ECHO_T}yes" >&6; }
7892 else
7893 { echo "$as_me:$LINENO: result: no" >&5
7894 echo "${ECHO_T}no" >&6; }
7895 fi
7896
7897
7898 enablestring=
7899 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xrc" >&5
7900 echo $ECHO_N "checking for --${enablestring:-enable}-xrc... $ECHO_C" >&6; }
7901 no_cache=0
7902 # Check whether --enable-xrc was given.
7903 if test "${enable_xrc+set}" = set; then
7904 enableval=$enable_xrc;
7905 if test "$enableval" = yes; then
7906 ac_cv_use_xrc='wxUSE_XRC=yes'
7907 else
7908 ac_cv_use_xrc='wxUSE_XRC=no'
7909 fi
7910
7911 else
7912
7913 LINE=`grep "wxUSE_XRC" ${wx_arg_cache_file}`
7914 if test "x$LINE" != x ; then
7915 eval "DEFAULT_$LINE"
7916 else
7917 no_cache=1
7918 fi
7919
7920 ac_cv_use_xrc='wxUSE_XRC='$DEFAULT_wxUSE_XRC
7921
7922 fi
7923
7924
7925 eval "$ac_cv_use_xrc"
7926 if test "$no_cache" != 1; then
7927 echo $ac_cv_use_xrc >> ${wx_arg_cache_file}.tmp
7928 fi
7929
7930 if test "$wxUSE_XRC" = yes; then
7931 { echo "$as_me:$LINENO: result: yes" >&5
7932 echo "${ECHO_T}yes" >&6; }
7933 else
7934 { echo "$as_me:$LINENO: result: no" >&5
7935 echo "${ECHO_T}no" >&6; }
7936 fi
7937
7938
7939 enablestring=
7940 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aui" >&5
7941 echo $ECHO_N "checking for --${enablestring:-enable}-aui... $ECHO_C" >&6; }
7942 no_cache=0
7943 # Check whether --enable-aui was given.
7944 if test "${enable_aui+set}" = set; then
7945 enableval=$enable_aui;
7946 if test "$enableval" = yes; then
7947 ac_cv_use_aui='wxUSE_AUI=yes'
7948 else
7949 ac_cv_use_aui='wxUSE_AUI=no'
7950 fi
7951
7952 else
7953
7954 LINE=`grep "wxUSE_AUI" ${wx_arg_cache_file}`
7955 if test "x$LINE" != x ; then
7956 eval "DEFAULT_$LINE"
7957 else
7958 no_cache=1
7959 fi
7960
7961 ac_cv_use_aui='wxUSE_AUI='$DEFAULT_wxUSE_AUI
7962
7963 fi
7964
7965
7966 eval "$ac_cv_use_aui"
7967 if test "$no_cache" != 1; then
7968 echo $ac_cv_use_aui >> ${wx_arg_cache_file}.tmp
7969 fi
7970
7971 if test "$wxUSE_AUI" = yes; then
7972 { echo "$as_me:$LINENO: result: yes" >&5
7973 echo "${ECHO_T}yes" >&6; }
7974 else
7975 { echo "$as_me:$LINENO: result: no" >&5
7976 echo "${ECHO_T}no" >&6; }
7977 fi
7978
7979
7980 enablestring=
7981 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stc" >&5
7982 echo $ECHO_N "checking for --${enablestring:-enable}-stc... $ECHO_C" >&6; }
7983 no_cache=0
7984 # Check whether --enable-stc was given.
7985 if test "${enable_stc+set}" = set; then
7986 enableval=$enable_stc;
7987 if test "$enableval" = yes; then
7988 ac_cv_use_stc='wxUSE_STC=yes'
7989 else
7990 ac_cv_use_stc='wxUSE_STC=no'
7991 fi
7992
7993 else
7994
7995 LINE=`grep "wxUSE_STC" ${wx_arg_cache_file}`
7996 if test "x$LINE" != x ; then
7997 eval "DEFAULT_$LINE"
7998 else
7999 no_cache=1
8000 fi
8001
8002 ac_cv_use_stc='wxUSE_STC='$DEFAULT_wxUSE_STC
8003
8004 fi
8005
8006
8007 eval "$ac_cv_use_stc"
8008 if test "$no_cache" != 1; then
8009 echo $ac_cv_use_stc >> ${wx_arg_cache_file}.tmp
8010 fi
8011
8012 if test "$wxUSE_STC" = yes; then
8013 { echo "$as_me:$LINENO: result: yes" >&5
8014 echo "${ECHO_T}yes" >&6; }
8015 else
8016 { echo "$as_me:$LINENO: result: no" >&5
8017 echo "${ECHO_T}no" >&6; }
8018 fi
8019
8020
8021 enablestring=
8022 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-constraints" >&5
8023 echo $ECHO_N "checking for --${enablestring:-enable}-constraints... $ECHO_C" >&6; }
8024 no_cache=0
8025 # Check whether --enable-constraints was given.
8026 if test "${enable_constraints+set}" = set; then
8027 enableval=$enable_constraints;
8028 if test "$enableval" = yes; then
8029 ac_cv_use_constraints='wxUSE_CONSTRAINTS=yes'
8030 else
8031 ac_cv_use_constraints='wxUSE_CONSTRAINTS=no'
8032 fi
8033
8034 else
8035
8036 LINE=`grep "wxUSE_CONSTRAINTS" ${wx_arg_cache_file}`
8037 if test "x$LINE" != x ; then
8038 eval "DEFAULT_$LINE"
8039 else
8040 no_cache=1
8041 fi
8042
8043 ac_cv_use_constraints='wxUSE_CONSTRAINTS='$DEFAULT_wxUSE_CONSTRAINTS
8044
8045 fi
8046
8047
8048 eval "$ac_cv_use_constraints"
8049 if test "$no_cache" != 1; then
8050 echo $ac_cv_use_constraints >> ${wx_arg_cache_file}.tmp
8051 fi
8052
8053 if test "$wxUSE_CONSTRAINTS" = yes; then
8054 { echo "$as_me:$LINENO: result: yes" >&5
8055 echo "${ECHO_T}yes" >&6; }
8056 else
8057 { echo "$as_me:$LINENO: result: no" >&5
8058 echo "${ECHO_T}no" >&6; }
8059 fi
8060
8061
8062 enablestring=
8063 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-printarch" >&5
8064 echo $ECHO_N "checking for --${enablestring:-enable}-printarch... $ECHO_C" >&6; }
8065 no_cache=0
8066 # Check whether --enable-printarch was given.
8067 if test "${enable_printarch+set}" = set; then
8068 enableval=$enable_printarch;
8069 if test "$enableval" = yes; then
8070 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=yes'
8071 else
8072 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE=no'
8073 fi
8074
8075 else
8076
8077 LINE=`grep "wxUSE_PRINTING_ARCHITECTURE" ${wx_arg_cache_file}`
8078 if test "x$LINE" != x ; then
8079 eval "DEFAULT_$LINE"
8080 else
8081 no_cache=1
8082 fi
8083
8084 ac_cv_use_printarch='wxUSE_PRINTING_ARCHITECTURE='$DEFAULT_wxUSE_PRINTING_ARCHITECTURE
8085
8086 fi
8087
8088
8089 eval "$ac_cv_use_printarch"
8090 if test "$no_cache" != 1; then
8091 echo $ac_cv_use_printarch >> ${wx_arg_cache_file}.tmp
8092 fi
8093
8094 if test "$wxUSE_PRINTING_ARCHITECTURE" = yes; then
8095 { echo "$as_me:$LINENO: result: yes" >&5
8096 echo "${ECHO_T}yes" >&6; }
8097 else
8098 { echo "$as_me:$LINENO: result: no" >&5
8099 echo "${ECHO_T}no" >&6; }
8100 fi
8101
8102
8103 enablestring=
8104 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdi" >&5
8105 echo $ECHO_N "checking for --${enablestring:-enable}-mdi... $ECHO_C" >&6; }
8106 no_cache=0
8107 # Check whether --enable-mdi was given.
8108 if test "${enable_mdi+set}" = set; then
8109 enableval=$enable_mdi;
8110 if test "$enableval" = yes; then
8111 ac_cv_use_mdi='wxUSE_MDI=yes'
8112 else
8113 ac_cv_use_mdi='wxUSE_MDI=no'
8114 fi
8115
8116 else
8117
8118 LINE=`grep "wxUSE_MDI" ${wx_arg_cache_file}`
8119 if test "x$LINE" != x ; then
8120 eval "DEFAULT_$LINE"
8121 else
8122 no_cache=1
8123 fi
8124
8125 ac_cv_use_mdi='wxUSE_MDI='$DEFAULT_wxUSE_MDI
8126
8127 fi
8128
8129
8130 eval "$ac_cv_use_mdi"
8131 if test "$no_cache" != 1; then
8132 echo $ac_cv_use_mdi >> ${wx_arg_cache_file}.tmp
8133 fi
8134
8135 if test "$wxUSE_MDI" = yes; then
8136 { echo "$as_me:$LINENO: result: yes" >&5
8137 echo "${ECHO_T}yes" >&6; }
8138 else
8139 { echo "$as_me:$LINENO: result: no" >&5
8140 echo "${ECHO_T}no" >&6; }
8141 fi
8142
8143
8144 enablestring=
8145 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mdidoc" >&5
8146 echo $ECHO_N "checking for --${enablestring:-enable}-mdidoc... $ECHO_C" >&6; }
8147 no_cache=0
8148 # Check whether --enable-mdidoc was given.
8149 if test "${enable_mdidoc+set}" = set; then
8150 enableval=$enable_mdidoc;
8151 if test "$enableval" = yes; then
8152 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=yes'
8153 else
8154 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE=no'
8155 fi
8156
8157 else
8158
8159 LINE=`grep "wxUSE_MDI_ARCHITECTURE" ${wx_arg_cache_file}`
8160 if test "x$LINE" != x ; then
8161 eval "DEFAULT_$LINE"
8162 else
8163 no_cache=1
8164 fi
8165
8166 ac_cv_use_mdidoc='wxUSE_MDI_ARCHITECTURE='$DEFAULT_wxUSE_MDI_ARCHITECTURE
8167
8168 fi
8169
8170
8171 eval "$ac_cv_use_mdidoc"
8172 if test "$no_cache" != 1; then
8173 echo $ac_cv_use_mdidoc >> ${wx_arg_cache_file}.tmp
8174 fi
8175
8176 if test "$wxUSE_MDI_ARCHITECTURE" = yes; then
8177 { echo "$as_me:$LINENO: result: yes" >&5
8178 echo "${ECHO_T}yes" >&6; }
8179 else
8180 { echo "$as_me:$LINENO: result: no" >&5
8181 echo "${ECHO_T}no" >&6; }
8182 fi
8183
8184
8185 enablestring=
8186 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-loggui" >&5
8187 echo $ECHO_N "checking for --${enablestring:-enable}-loggui... $ECHO_C" >&6; }
8188 no_cache=0
8189 # Check whether --enable-loggui was given.
8190 if test "${enable_loggui+set}" = set; then
8191 enableval=$enable_loggui;
8192 if test "$enableval" = yes; then
8193 ac_cv_use_loggui='wxUSE_LOGGUI=yes'
8194 else
8195 ac_cv_use_loggui='wxUSE_LOGGUI=no'
8196 fi
8197
8198 else
8199
8200 LINE=`grep "wxUSE_LOGGUI" ${wx_arg_cache_file}`
8201 if test "x$LINE" != x ; then
8202 eval "DEFAULT_$LINE"
8203 else
8204 no_cache=1
8205 fi
8206
8207 ac_cv_use_loggui='wxUSE_LOGGUI='$DEFAULT_wxUSE_LOGGUI
8208
8209 fi
8210
8211
8212 eval "$ac_cv_use_loggui"
8213 if test "$no_cache" != 1; then
8214 echo $ac_cv_use_loggui >> ${wx_arg_cache_file}.tmp
8215 fi
8216
8217 if test "$wxUSE_LOGGUI" = yes; then
8218 { echo "$as_me:$LINENO: result: yes" >&5
8219 echo "${ECHO_T}yes" >&6; }
8220 else
8221 { echo "$as_me:$LINENO: result: no" >&5
8222 echo "${ECHO_T}no" >&6; }
8223 fi
8224
8225
8226 enablestring=
8227 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logwin" >&5
8228 echo $ECHO_N "checking for --${enablestring:-enable}-logwin... $ECHO_C" >&6; }
8229 no_cache=0
8230 # Check whether --enable-logwin was given.
8231 if test "${enable_logwin+set}" = set; then
8232 enableval=$enable_logwin;
8233 if test "$enableval" = yes; then
8234 ac_cv_use_logwin='wxUSE_LOGWINDOW=yes'
8235 else
8236 ac_cv_use_logwin='wxUSE_LOGWINDOW=no'
8237 fi
8238
8239 else
8240
8241 LINE=`grep "wxUSE_LOGWINDOW" ${wx_arg_cache_file}`
8242 if test "x$LINE" != x ; then
8243 eval "DEFAULT_$LINE"
8244 else
8245 no_cache=1
8246 fi
8247
8248 ac_cv_use_logwin='wxUSE_LOGWINDOW='$DEFAULT_wxUSE_LOGWINDOW
8249
8250 fi
8251
8252
8253 eval "$ac_cv_use_logwin"
8254 if test "$no_cache" != 1; then
8255 echo $ac_cv_use_logwin >> ${wx_arg_cache_file}.tmp
8256 fi
8257
8258 if test "$wxUSE_LOGWINDOW" = yes; then
8259 { echo "$as_me:$LINENO: result: yes" >&5
8260 echo "${ECHO_T}yes" >&6; }
8261 else
8262 { echo "$as_me:$LINENO: result: no" >&5
8263 echo "${ECHO_T}no" >&6; }
8264 fi
8265
8266
8267 enablestring=
8268 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-logdialog" >&5
8269 echo $ECHO_N "checking for --${enablestring:-enable}-logdialog... $ECHO_C" >&6; }
8270 no_cache=0
8271 # Check whether --enable-logdialog was given.
8272 if test "${enable_logdialog+set}" = set; then
8273 enableval=$enable_logdialog;
8274 if test "$enableval" = yes; then
8275 ac_cv_use_logdialog='wxUSE_LOGDIALOG=yes'
8276 else
8277 ac_cv_use_logdialog='wxUSE_LOGDIALOG=no'
8278 fi
8279
8280 else
8281
8282 LINE=`grep "wxUSE_LOGDIALOG" ${wx_arg_cache_file}`
8283 if test "x$LINE" != x ; then
8284 eval "DEFAULT_$LINE"
8285 else
8286 no_cache=1
8287 fi
8288
8289 ac_cv_use_logdialog='wxUSE_LOGDIALOG='$DEFAULT_wxUSE_LOGDIALOG
8290
8291 fi
8292
8293
8294 eval "$ac_cv_use_logdialog"
8295 if test "$no_cache" != 1; then
8296 echo $ac_cv_use_logdialog >> ${wx_arg_cache_file}.tmp
8297 fi
8298
8299 if test "$wxUSE_LOGDIALOG" = yes; then
8300 { echo "$as_me:$LINENO: result: yes" >&5
8301 echo "${ECHO_T}yes" >&6; }
8302 else
8303 { echo "$as_me:$LINENO: result: no" >&5
8304 echo "${ECHO_T}no" >&6; }
8305 fi
8306
8307
8308 enablestring=
8309 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-webkit" >&5
8310 echo $ECHO_N "checking for --${enablestring:-enable}-webkit... $ECHO_C" >&6; }
8311 no_cache=0
8312 # Check whether --enable-webkit was given.
8313 if test "${enable_webkit+set}" = set; then
8314 enableval=$enable_webkit;
8315 if test "$enableval" = yes; then
8316 ac_cv_use_webkit='wxUSE_WEBKIT=yes'
8317 else
8318 ac_cv_use_webkit='wxUSE_WEBKIT=no'
8319 fi
8320
8321 else
8322
8323 LINE=`grep "wxUSE_WEBKIT" ${wx_arg_cache_file}`
8324 if test "x$LINE" != x ; then
8325 eval "DEFAULT_$LINE"
8326 else
8327 no_cache=1
8328 fi
8329
8330 ac_cv_use_webkit='wxUSE_WEBKIT='$DEFAULT_wxUSE_WEBKIT
8331
8332 fi
8333
8334
8335 eval "$ac_cv_use_webkit"
8336 if test "$no_cache" != 1; then
8337 echo $ac_cv_use_webkit >> ${wx_arg_cache_file}.tmp
8338 fi
8339
8340 if test "$wxUSE_WEBKIT" = yes; then
8341 { echo "$as_me:$LINENO: result: yes" >&5
8342 echo "${ECHO_T}yes" >&6; }
8343 else
8344 { echo "$as_me:$LINENO: result: no" >&5
8345 echo "${ECHO_T}no" >&6; }
8346 fi
8347
8348
8349 enablestring=
8350 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-richtext" >&5
8351 echo $ECHO_N "checking for --${enablestring:-enable}-richtext... $ECHO_C" >&6; }
8352 no_cache=0
8353 # Check whether --enable-richtext was given.
8354 if test "${enable_richtext+set}" = set; then
8355 enableval=$enable_richtext;
8356 if test "$enableval" = yes; then
8357 ac_cv_use_richtext='wxUSE_RICHTEXT=yes'
8358 else
8359 ac_cv_use_richtext='wxUSE_RICHTEXT=no'
8360 fi
8361
8362 else
8363
8364 LINE=`grep "wxUSE_RICHTEXT" ${wx_arg_cache_file}`
8365 if test "x$LINE" != x ; then
8366 eval "DEFAULT_$LINE"
8367 else
8368 no_cache=1
8369 fi
8370
8371 ac_cv_use_richtext='wxUSE_RICHTEXT='$DEFAULT_wxUSE_RICHTEXT
8372
8373 fi
8374
8375
8376 eval "$ac_cv_use_richtext"
8377 if test "$no_cache" != 1; then
8378 echo $ac_cv_use_richtext >> ${wx_arg_cache_file}.tmp
8379 fi
8380
8381 if test "$wxUSE_RICHTEXT" = yes; then
8382 { echo "$as_me:$LINENO: result: yes" >&5
8383 echo "${ECHO_T}yes" >&6; }
8384 else
8385 { echo "$as_me:$LINENO: result: no" >&5
8386 echo "${ECHO_T}no" >&6; }
8387 fi
8388
8389
8390 enablestring=
8391 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-graphics_ctx" >&5
8392 echo $ECHO_N "checking for --${enablestring:-enable}-graphics_ctx... $ECHO_C" >&6; }
8393 no_cache=0
8394 # Check whether --enable-graphics_ctx was given.
8395 if test "${enable_graphics_ctx+set}" = set; then
8396 enableval=$enable_graphics_ctx;
8397 if test "$enableval" = yes; then
8398 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=yes'
8399 else
8400 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT=no'
8401 fi
8402
8403 else
8404
8405 LINE=`grep "wxUSE_GRAPHICS_CONTEXT" ${wx_arg_cache_file}`
8406 if test "x$LINE" != x ; then
8407 eval "DEFAULT_$LINE"
8408 else
8409 no_cache=1
8410 fi
8411
8412 ac_cv_use_graphics_ctx='wxUSE_GRAPHICS_CONTEXT='$DEFAULT_wxUSE_GRAPHICS_CONTEXT
8413
8414 fi
8415
8416
8417 eval "$ac_cv_use_graphics_ctx"
8418 if test "$no_cache" != 1; then
8419 echo $ac_cv_use_graphics_ctx >> ${wx_arg_cache_file}.tmp
8420 fi
8421
8422 if test "$wxUSE_GRAPHICS_CONTEXT" = yes; then
8423 { echo "$as_me:$LINENO: result: yes" >&5
8424 echo "${ECHO_T}yes" >&6; }
8425 else
8426 { echo "$as_me:$LINENO: result: no" >&5
8427 echo "${ECHO_T}no" >&6; }
8428 fi
8429
8430
8431
8432 enablestring=
8433 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-postscript" >&5
8434 echo $ECHO_N "checking for --${enablestring:-enable}-postscript... $ECHO_C" >&6; }
8435 no_cache=0
8436 # Check whether --enable-postscript was given.
8437 if test "${enable_postscript+set}" = set; then
8438 enableval=$enable_postscript;
8439 if test "$enableval" = yes; then
8440 ac_cv_use_postscript='wxUSE_POSTSCRIPT=yes'
8441 else
8442 ac_cv_use_postscript='wxUSE_POSTSCRIPT=no'
8443 fi
8444
8445 else
8446
8447 LINE=`grep "wxUSE_POSTSCRIPT" ${wx_arg_cache_file}`
8448 if test "x$LINE" != x ; then
8449 eval "DEFAULT_$LINE"
8450 else
8451 no_cache=1
8452 fi
8453
8454 ac_cv_use_postscript='wxUSE_POSTSCRIPT='$DEFAULT_wxUSE_POSTSCRIPT
8455
8456 fi
8457
8458
8459 eval "$ac_cv_use_postscript"
8460 if test "$no_cache" != 1; then
8461 echo $ac_cv_use_postscript >> ${wx_arg_cache_file}.tmp
8462 fi
8463
8464 if test "$wxUSE_POSTSCRIPT" = yes; then
8465 { echo "$as_me:$LINENO: result: yes" >&5
8466 echo "${ECHO_T}yes" >&6; }
8467 else
8468 { echo "$as_me:$LINENO: result: no" >&5
8469 echo "${ECHO_T}no" >&6; }
8470 fi
8471
8472
8473
8474
8475
8476 enablestring=
8477 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-clipboard" >&5
8478 echo $ECHO_N "checking for --${enablestring:-enable}-clipboard... $ECHO_C" >&6; }
8479 no_cache=0
8480 # Check whether --enable-clipboard was given.
8481 if test "${enable_clipboard+set}" = set; then
8482 enableval=$enable_clipboard;
8483 if test "$enableval" = yes; then
8484 ac_cv_use_clipboard='wxUSE_CLIPBOARD=yes'
8485 else
8486 ac_cv_use_clipboard='wxUSE_CLIPBOARD=no'
8487 fi
8488
8489 else
8490
8491 LINE=`grep "wxUSE_CLIPBOARD" ${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_clipboard='wxUSE_CLIPBOARD='$DEFAULT_wxUSE_CLIPBOARD
8499
8500 fi
8501
8502
8503 eval "$ac_cv_use_clipboard"
8504 if test "$no_cache" != 1; then
8505 echo $ac_cv_use_clipboard >> ${wx_arg_cache_file}.tmp
8506 fi
8507
8508 if test "$wxUSE_CLIPBOARD" = 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}-dnd" >&5
8519 echo $ECHO_N "checking for --${enablestring:-enable}-dnd... $ECHO_C" >&6; }
8520 no_cache=0
8521 # Check whether --enable-dnd was given.
8522 if test "${enable_dnd+set}" = set; then
8523 enableval=$enable_dnd;
8524 if test "$enableval" = yes; then
8525 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=yes'
8526 else
8527 ac_cv_use_dnd='wxUSE_DRAG_AND_DROP=no'
8528 fi
8529
8530 else
8531
8532 LINE=`grep "wxUSE_DRAG_AND_DROP" ${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_dnd='wxUSE_DRAG_AND_DROP='$DEFAULT_wxUSE_DRAG_AND_DROP
8540
8541 fi
8542
8543
8544 eval "$ac_cv_use_dnd"
8545 if test "$no_cache" != 1; then
8546 echo $ac_cv_use_dnd >> ${wx_arg_cache_file}.tmp
8547 fi
8548
8549 if test "$wxUSE_DRAG_AND_DROP" = 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 enablestring=
8559 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
8560 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
8561 no_cache=0
8562 # Check whether --enable-metafile was given.
8563 if test "${enable_metafile+set}" = set; then
8564 enableval=$enable_metafile;
8565 if test "$enableval" = yes; then
8566 ac_cv_use_metafile='wxUSE_METAFILE=yes'
8567 else
8568 ac_cv_use_metafile='wxUSE_METAFILE=no'
8569 fi
8570
8571 else
8572
8573 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
8574 if test "x$LINE" != x ; then
8575 eval "DEFAULT_$LINE"
8576 else
8577 no_cache=1
8578 fi
8579
8580 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
8581
8582 fi
8583
8584
8585 eval "$ac_cv_use_metafile"
8586 if test "$no_cache" != 1; then
8587 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
8588 fi
8589
8590 if test "$wxUSE_METAFILE" = yes; then
8591 { echo "$as_me:$LINENO: result: yes" >&5
8592 echo "${ECHO_T}yes" >&6; }
8593 else
8594 { echo "$as_me:$LINENO: result: no" >&5
8595 echo "${ECHO_T}no" >&6; }
8596 fi
8597
8598
8599
8600
8601
8602 enablestring=
8603 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-controls" >&5
8604 echo $ECHO_N "checking for --${enablestring:-enable}-controls... $ECHO_C" >&6; }
8605 no_cache=0
8606 # Check whether --enable-controls was given.
8607 if test "${enable_controls+set}" = set; then
8608 enableval=$enable_controls;
8609 if test "$enableval" = yes; then
8610 ac_cv_use_controls='wxUSE_CONTROLS=yes'
8611 else
8612 ac_cv_use_controls='wxUSE_CONTROLS=no'
8613 fi
8614
8615 else
8616
8617 LINE=`grep "wxUSE_CONTROLS" ${wx_arg_cache_file}`
8618 if test "x$LINE" != x ; then
8619 eval "DEFAULT_$LINE"
8620 else
8621 no_cache=1
8622 fi
8623
8624 ac_cv_use_controls='wxUSE_CONTROLS='$DEFAULT_wxUSE_CONTROLS
8625
8626 fi
8627
8628
8629 eval "$ac_cv_use_controls"
8630 if test "$no_cache" != 1; then
8631 echo $ac_cv_use_controls >> ${wx_arg_cache_file}.tmp
8632 fi
8633
8634 if test "$wxUSE_CONTROLS" = yes; then
8635 { echo "$as_me:$LINENO: result: yes" >&5
8636 echo "${ECHO_T}yes" >&6; }
8637 else
8638 { echo "$as_me:$LINENO: result: no" >&5
8639 echo "${ECHO_T}no" >&6; }
8640 fi
8641
8642
8643 if test "$wxUSE_CONTROLS" = "yes"; then
8644 DEFAULT_wxUSE_ACCEL=yes
8645 DEFAULT_wxUSE_ANIMATIONCTRL=yes
8646 DEFAULT_wxUSE_BMPBUTTON=yes
8647 DEFAULT_wxUSE_BUTTON=yes
8648 DEFAULT_wxUSE_CALCTRL=yes
8649 DEFAULT_wxUSE_CARET=yes
8650 DEFAULT_wxUSE_COMBOBOX=yes
8651 DEFAULT_wxUSE_CHECKBOX=yes
8652 DEFAULT_wxUSE_CHECKLISTBOX=yes
8653 DEFAULT_wxUSE_CHOICE=yes
8654 DEFAULT_wxUSE_CHOICEBOOK=yes
8655 DEFAULT_wxUSE_COLLPANE=yes
8656 DEFAULT_wxUSE_COLOURPICKERCTRL=yes
8657 DEFAULT_wxUSE_COMBOBOX=yes
8658 DEFAULT_wxUSE_DATEPICKCTRL=yes
8659 DEFAULT_wxUSE_DISPLAY=yes
8660 DEFAULT_wxUSE_DETECT_SM=yes
8661 DEFAULT_wxUSE_DIRPICKERCTRL=yes
8662 DEFAULT_wxUSE_FILEPICKERCTRL=yes
8663 DEFAULT_wxUSE_FONTPICKERCTRL=yes
8664 DEFAULT_wxUSE_GAUGE=yes
8665 DEFAULT_wxUSE_GRID=yes
8666 DEFAULT_wxUSE_HYPERLINKCTRL=yes
8667 DEFAULT_wxUSE_DATAVIEWCTRL=no
8668 DEFAULT_wxUSE_IMAGLIST=yes
8669 DEFAULT_wxUSE_LISTBOOK=yes
8670 DEFAULT_wxUSE_LISTBOX=yes
8671 DEFAULT_wxUSE_LISTCTRL=yes
8672 DEFAULT_wxUSE_NOTEBOOK=yes
8673 DEFAULT_wxUSE_RADIOBOX=yes
8674 DEFAULT_wxUSE_RADIOBTN=yes
8675 DEFAULT_wxUSE_SASH=yes
8676 DEFAULT_wxUSE_SCROLLBAR=yes
8677 DEFAULT_wxUSE_SEARCHCTRL=yes
8678 DEFAULT_wxUSE_SLIDER=yes
8679 DEFAULT_wxUSE_SPINBTN=yes
8680 DEFAULT_wxUSE_SPINCTRL=yes
8681 DEFAULT_wxUSE_SPLITTER=yes
8682 DEFAULT_wxUSE_STATBMP=yes
8683 DEFAULT_wxUSE_STATBOX=yes
8684 DEFAULT_wxUSE_STATLINE=yes
8685 DEFAULT_wxUSE_STATUSBAR=yes
8686 DEFAULT_wxUSE_TAB_DIALOG=yes
8687 DEFAULT_wxUSE_TOGGLEBTN=yes
8688 DEFAULT_wxUSE_TOOLBAR=yes
8689 DEFAULT_wxUSE_TOOLBAR_NATIVE=yes
8690 DEFAULT_wxUSE_TOOLTIPS=yes
8691 DEFAULT_wxUSE_TREEBOOK=yes
8692 DEFAULT_wxUSE_TOOLBOOK=yes
8693 DEFAULT_wxUSE_TREECTRL=yes
8694 DEFAULT_wxUSE_POPUPWIN=yes
8695 DEFAULT_wxUSE_TIPWINDOW=yes
8696 elif test "$wxUSE_CONTROLS" = "no"; then
8697 DEFAULT_wxUSE_ACCEL=no
8698 DEFAULT_wxUSE_ANIMATIONCTRL=no
8699 DEFAULT_wxUSE_BMPBUTTON=no
8700 DEFAULT_wxUSE_BUTTON=no
8701 DEFAULT_wxUSE_CALCTRL=no
8702 DEFAULT_wxUSE_CARET=no
8703 DEFAULT_wxUSE_COLLPANE=no
8704 DEFAULT_wxUSE_COMBOBOX=no
8705 DEFAULT_wxUSE_CHECKBOX=no
8706 DEFAULT_wxUSE_CHECKLISTBOX=no
8707 DEFAULT_wxUSE_CHOICE=no
8708 DEFAULT_wxUSE_CHOICEBOOK=no
8709 DEFAULT_wxUSE_COLOURPICKERCTRL=no
8710 DEFAULT_wxUSE_COMBOBOX=no
8711 DEFAULT_wxUSE_DATEPICKCTRL=no
8712 DEFAULT_wxUSE_DISPLAY=no
8713 DEFAULT_wxUSE_DETECT_SM=no
8714 DEFAULT_wxUSE_DIRPICKERCTRL=no
8715 DEFAULT_wxUSE_FILEPICKERCTRL=no
8716 DEFAULT_wxUSE_FONTPICKERCTRL=no
8717 DEFAULT_wxUSE_GAUGE=no
8718 DEFAULT_wxUSE_GRID=no
8719 DEFAULT_wxUSE_HYPERLINKCTRL=no
8720 DEFAULT_wxUSE_DATAVIEWCTRL=no
8721 DEFAULT_wxUSE_IMAGLIST=no
8722 DEFAULT_wxUSE_LISTBOOK=no
8723 DEFAULT_wxUSE_LISTBOX=no
8724 DEFAULT_wxUSE_LISTCTRL=no
8725 DEFAULT_wxUSE_NOTEBOOK=no
8726 DEFAULT_wxUSE_RADIOBOX=no
8727 DEFAULT_wxUSE_RADIOBTN=no
8728 DEFAULT_wxUSE_SASH=no
8729 DEFAULT_wxUSE_SCROLLBAR=no
8730 DEFAULT_wxUSE_SEARCHCTRL=no
8731 DEFAULT_wxUSE_SLIDER=no
8732 DEFAULT_wxUSE_SPINBTN=no
8733 DEFAULT_wxUSE_SPINCTRL=no
8734 DEFAULT_wxUSE_SPLITTER=no
8735 DEFAULT_wxUSE_STATBMP=no
8736 DEFAULT_wxUSE_STATBOX=no
8737 DEFAULT_wxUSE_STATLINE=no
8738 DEFAULT_wxUSE_STATUSBAR=no
8739 DEFAULT_wxUSE_TAB_DIALOG=no
8740 DEFAULT_wxUSE_TOGGLEBTN=no
8741 DEFAULT_wxUSE_TOOLBAR=no
8742 DEFAULT_wxUSE_TOOLBAR_NATIVE=no
8743 DEFAULT_wxUSE_TOOLTIPS=no
8744 DEFAULT_wxUSE_TREEBOOK=no
8745 DEFAULT_wxUSE_TOOLBOOK=no
8746 DEFAULT_wxUSE_TREECTRL=no
8747 DEFAULT_wxUSE_POPUPWIN=no
8748 DEFAULT_wxUSE_TIPWINDOW=no
8749 fi
8750
8751
8752 enablestring=
8753 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accel" >&5
8754 echo $ECHO_N "checking for --${enablestring:-enable}-accel... $ECHO_C" >&6; }
8755 no_cache=0
8756 # Check whether --enable-accel was given.
8757 if test "${enable_accel+set}" = set; then
8758 enableval=$enable_accel;
8759 if test "$enableval" = yes; then
8760 ac_cv_use_accel='wxUSE_ACCEL=yes'
8761 else
8762 ac_cv_use_accel='wxUSE_ACCEL=no'
8763 fi
8764
8765 else
8766
8767 LINE=`grep "wxUSE_ACCEL" ${wx_arg_cache_file}`
8768 if test "x$LINE" != x ; then
8769 eval "DEFAULT_$LINE"
8770 else
8771 no_cache=1
8772 fi
8773
8774 ac_cv_use_accel='wxUSE_ACCEL='$DEFAULT_wxUSE_ACCEL
8775
8776 fi
8777
8778
8779 eval "$ac_cv_use_accel"
8780 if test "$no_cache" != 1; then
8781 echo $ac_cv_use_accel >> ${wx_arg_cache_file}.tmp
8782 fi
8783
8784 if test "$wxUSE_ACCEL" = yes; then
8785 { echo "$as_me:$LINENO: result: yes" >&5
8786 echo "${ECHO_T}yes" >&6; }
8787 else
8788 { echo "$as_me:$LINENO: result: no" >&5
8789 echo "${ECHO_T}no" >&6; }
8790 fi
8791
8792
8793 enablestring=
8794 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-animatectrl" >&5
8795 echo $ECHO_N "checking for --${enablestring:-enable}-animatectrl... $ECHO_C" >&6; }
8796 no_cache=0
8797 # Check whether --enable-animatectrl was given.
8798 if test "${enable_animatectrl+set}" = set; then
8799 enableval=$enable_animatectrl;
8800 if test "$enableval" = yes; then
8801 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=yes'
8802 else
8803 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL=no'
8804 fi
8805
8806 else
8807
8808 LINE=`grep "wxUSE_ANIMATIONCTRL" ${wx_arg_cache_file}`
8809 if test "x$LINE" != x ; then
8810 eval "DEFAULT_$LINE"
8811 else
8812 no_cache=1
8813 fi
8814
8815 ac_cv_use_animatectrl='wxUSE_ANIMATIONCTRL='$DEFAULT_wxUSE_ANIMATIONCTRL
8816
8817 fi
8818
8819
8820 eval "$ac_cv_use_animatectrl"
8821 if test "$no_cache" != 1; then
8822 echo $ac_cv_use_animatectrl >> ${wx_arg_cache_file}.tmp
8823 fi
8824
8825 if test "$wxUSE_ANIMATIONCTRL" = yes; then
8826 { echo "$as_me:$LINENO: result: yes" >&5
8827 echo "${ECHO_T}yes" >&6; }
8828 else
8829 { echo "$as_me:$LINENO: result: no" >&5
8830 echo "${ECHO_T}no" >&6; }
8831 fi
8832
8833
8834 enablestring=
8835 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-button" >&5
8836 echo $ECHO_N "checking for --${enablestring:-enable}-button... $ECHO_C" >&6; }
8837 no_cache=0
8838 # Check whether --enable-button was given.
8839 if test "${enable_button+set}" = set; then
8840 enableval=$enable_button;
8841 if test "$enableval" = yes; then
8842 ac_cv_use_button='wxUSE_BUTTON=yes'
8843 else
8844 ac_cv_use_button='wxUSE_BUTTON=no'
8845 fi
8846
8847 else
8848
8849 LINE=`grep "wxUSE_BUTTON" ${wx_arg_cache_file}`
8850 if test "x$LINE" != x ; then
8851 eval "DEFAULT_$LINE"
8852 else
8853 no_cache=1
8854 fi
8855
8856 ac_cv_use_button='wxUSE_BUTTON='$DEFAULT_wxUSE_BUTTON
8857
8858 fi
8859
8860
8861 eval "$ac_cv_use_button"
8862 if test "$no_cache" != 1; then
8863 echo $ac_cv_use_button >> ${wx_arg_cache_file}.tmp
8864 fi
8865
8866 if test "$wxUSE_BUTTON" = yes; then
8867 { echo "$as_me:$LINENO: result: yes" >&5
8868 echo "${ECHO_T}yes" >&6; }
8869 else
8870 { echo "$as_me:$LINENO: result: no" >&5
8871 echo "${ECHO_T}no" >&6; }
8872 fi
8873
8874
8875 enablestring=
8876 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpbutton" >&5
8877 echo $ECHO_N "checking for --${enablestring:-enable}-bmpbutton... $ECHO_C" >&6; }
8878 no_cache=0
8879 # Check whether --enable-bmpbutton was given.
8880 if test "${enable_bmpbutton+set}" = set; then
8881 enableval=$enable_bmpbutton;
8882 if test "$enableval" = yes; then
8883 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=yes'
8884 else
8885 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON=no'
8886 fi
8887
8888 else
8889
8890 LINE=`grep "wxUSE_BMPBUTTON" ${wx_arg_cache_file}`
8891 if test "x$LINE" != x ; then
8892 eval "DEFAULT_$LINE"
8893 else
8894 no_cache=1
8895 fi
8896
8897 ac_cv_use_bmpbutton='wxUSE_BMPBUTTON='$DEFAULT_wxUSE_BMPBUTTON
8898
8899 fi
8900
8901
8902 eval "$ac_cv_use_bmpbutton"
8903 if test "$no_cache" != 1; then
8904 echo $ac_cv_use_bmpbutton >> ${wx_arg_cache_file}.tmp
8905 fi
8906
8907 if test "$wxUSE_BMPBUTTON" = yes; then
8908 { echo "$as_me:$LINENO: result: yes" >&5
8909 echo "${ECHO_T}yes" >&6; }
8910 else
8911 { echo "$as_me:$LINENO: result: no" >&5
8912 echo "${ECHO_T}no" >&6; }
8913 fi
8914
8915
8916 enablestring=
8917 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-bmpcombobox" >&5
8918 echo $ECHO_N "checking for --${enablestring:-enable}-bmpcombobox... $ECHO_C" >&6; }
8919 no_cache=0
8920 # Check whether --enable-bmpcombobox was given.
8921 if test "${enable_bmpcombobox+set}" = set; then
8922 enableval=$enable_bmpcombobox;
8923 if test "$enableval" = yes; then
8924 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=yes'
8925 else
8926 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX=no'
8927 fi
8928
8929 else
8930
8931 LINE=`grep "wxUSE_BITMAPCOMBOBOX" ${wx_arg_cache_file}`
8932 if test "x$LINE" != x ; then
8933 eval "DEFAULT_$LINE"
8934 else
8935 no_cache=1
8936 fi
8937
8938 ac_cv_use_bmpcombobox='wxUSE_BITMAPCOMBOBOX='$DEFAULT_wxUSE_BITMAPCOMBOBOX
8939
8940 fi
8941
8942
8943 eval "$ac_cv_use_bmpcombobox"
8944 if test "$no_cache" != 1; then
8945 echo $ac_cv_use_bmpcombobox >> ${wx_arg_cache_file}.tmp
8946 fi
8947
8948 if test "$wxUSE_BITMAPCOMBOBOX" = yes; then
8949 { echo "$as_me:$LINENO: result: yes" >&5
8950 echo "${ECHO_T}yes" >&6; }
8951 else
8952 { echo "$as_me:$LINENO: result: no" >&5
8953 echo "${ECHO_T}no" >&6; }
8954 fi
8955
8956
8957 enablestring=
8958 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-calendar" >&5
8959 echo $ECHO_N "checking for --${enablestring:-enable}-calendar... $ECHO_C" >&6; }
8960 no_cache=0
8961 # Check whether --enable-calendar was given.
8962 if test "${enable_calendar+set}" = set; then
8963 enableval=$enable_calendar;
8964 if test "$enableval" = yes; then
8965 ac_cv_use_calendar='wxUSE_CALCTRL=yes'
8966 else
8967 ac_cv_use_calendar='wxUSE_CALCTRL=no'
8968 fi
8969
8970 else
8971
8972 LINE=`grep "wxUSE_CALCTRL" ${wx_arg_cache_file}`
8973 if test "x$LINE" != x ; then
8974 eval "DEFAULT_$LINE"
8975 else
8976 no_cache=1
8977 fi
8978
8979 ac_cv_use_calendar='wxUSE_CALCTRL='$DEFAULT_wxUSE_CALCTRL
8980
8981 fi
8982
8983
8984 eval "$ac_cv_use_calendar"
8985 if test "$no_cache" != 1; then
8986 echo $ac_cv_use_calendar >> ${wx_arg_cache_file}.tmp
8987 fi
8988
8989 if test "$wxUSE_CALCTRL" = yes; then
8990 { echo "$as_me:$LINENO: result: yes" >&5
8991 echo "${ECHO_T}yes" >&6; }
8992 else
8993 { echo "$as_me:$LINENO: result: no" >&5
8994 echo "${ECHO_T}no" >&6; }
8995 fi
8996
8997
8998 enablestring=
8999 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-caret" >&5
9000 echo $ECHO_N "checking for --${enablestring:-enable}-caret... $ECHO_C" >&6; }
9001 no_cache=0
9002 # Check whether --enable-caret was given.
9003 if test "${enable_caret+set}" = set; then
9004 enableval=$enable_caret;
9005 if test "$enableval" = yes; then
9006 ac_cv_use_caret='wxUSE_CARET=yes'
9007 else
9008 ac_cv_use_caret='wxUSE_CARET=no'
9009 fi
9010
9011 else
9012
9013 LINE=`grep "wxUSE_CARET" ${wx_arg_cache_file}`
9014 if test "x$LINE" != x ; then
9015 eval "DEFAULT_$LINE"
9016 else
9017 no_cache=1
9018 fi
9019
9020 ac_cv_use_caret='wxUSE_CARET='$DEFAULT_wxUSE_CARET
9021
9022 fi
9023
9024
9025 eval "$ac_cv_use_caret"
9026 if test "$no_cache" != 1; then
9027 echo $ac_cv_use_caret >> ${wx_arg_cache_file}.tmp
9028 fi
9029
9030 if test "$wxUSE_CARET" = yes; then
9031 { echo "$as_me:$LINENO: result: yes" >&5
9032 echo "${ECHO_T}yes" >&6; }
9033 else
9034 { echo "$as_me:$LINENO: result: no" >&5
9035 echo "${ECHO_T}no" >&6; }
9036 fi
9037
9038
9039 enablestring=
9040 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checkbox" >&5
9041 echo $ECHO_N "checking for --${enablestring:-enable}-checkbox... $ECHO_C" >&6; }
9042 no_cache=0
9043 # Check whether --enable-checkbox was given.
9044 if test "${enable_checkbox+set}" = set; then
9045 enableval=$enable_checkbox;
9046 if test "$enableval" = yes; then
9047 ac_cv_use_checkbox='wxUSE_CHECKBOX=yes'
9048 else
9049 ac_cv_use_checkbox='wxUSE_CHECKBOX=no'
9050 fi
9051
9052 else
9053
9054 LINE=`grep "wxUSE_CHECKBOX" ${wx_arg_cache_file}`
9055 if test "x$LINE" != x ; then
9056 eval "DEFAULT_$LINE"
9057 else
9058 no_cache=1
9059 fi
9060
9061 ac_cv_use_checkbox='wxUSE_CHECKBOX='$DEFAULT_wxUSE_CHECKBOX
9062
9063 fi
9064
9065
9066 eval "$ac_cv_use_checkbox"
9067 if test "$no_cache" != 1; then
9068 echo $ac_cv_use_checkbox >> ${wx_arg_cache_file}.tmp
9069 fi
9070
9071 if test "$wxUSE_CHECKBOX" = yes; then
9072 { echo "$as_me:$LINENO: result: yes" >&5
9073 echo "${ECHO_T}yes" >&6; }
9074 else
9075 { echo "$as_me:$LINENO: result: no" >&5
9076 echo "${ECHO_T}no" >&6; }
9077 fi
9078
9079
9080 enablestring=
9081 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-checklst" >&5
9082 echo $ECHO_N "checking for --${enablestring:-enable}-checklst... $ECHO_C" >&6; }
9083 no_cache=0
9084 # Check whether --enable-checklst was given.
9085 if test "${enable_checklst+set}" = set; then
9086 enableval=$enable_checklst;
9087 if test "$enableval" = yes; then
9088 ac_cv_use_checklst='wxUSE_CHECKLST=yes'
9089 else
9090 ac_cv_use_checklst='wxUSE_CHECKLST=no'
9091 fi
9092
9093 else
9094
9095 LINE=`grep "wxUSE_CHECKLST" ${wx_arg_cache_file}`
9096 if test "x$LINE" != x ; then
9097 eval "DEFAULT_$LINE"
9098 else
9099 no_cache=1
9100 fi
9101
9102 ac_cv_use_checklst='wxUSE_CHECKLST='$DEFAULT_wxUSE_CHECKLST
9103
9104 fi
9105
9106
9107 eval "$ac_cv_use_checklst"
9108 if test "$no_cache" != 1; then
9109 echo $ac_cv_use_checklst >> ${wx_arg_cache_file}.tmp
9110 fi
9111
9112 if test "$wxUSE_CHECKLST" = yes; then
9113 { echo "$as_me:$LINENO: result: yes" >&5
9114 echo "${ECHO_T}yes" >&6; }
9115 else
9116 { echo "$as_me:$LINENO: result: no" >&5
9117 echo "${ECHO_T}no" >&6; }
9118 fi
9119
9120
9121 enablestring=
9122 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choice" >&5
9123 echo $ECHO_N "checking for --${enablestring:-enable}-choice... $ECHO_C" >&6; }
9124 no_cache=0
9125 # Check whether --enable-choice was given.
9126 if test "${enable_choice+set}" = set; then
9127 enableval=$enable_choice;
9128 if test "$enableval" = yes; then
9129 ac_cv_use_choice='wxUSE_CHOICE=yes'
9130 else
9131 ac_cv_use_choice='wxUSE_CHOICE=no'
9132 fi
9133
9134 else
9135
9136 LINE=`grep "wxUSE_CHOICE" ${wx_arg_cache_file}`
9137 if test "x$LINE" != x ; then
9138 eval "DEFAULT_$LINE"
9139 else
9140 no_cache=1
9141 fi
9142
9143 ac_cv_use_choice='wxUSE_CHOICE='$DEFAULT_wxUSE_CHOICE
9144
9145 fi
9146
9147
9148 eval "$ac_cv_use_choice"
9149 if test "$no_cache" != 1; then
9150 echo $ac_cv_use_choice >> ${wx_arg_cache_file}.tmp
9151 fi
9152
9153 if test "$wxUSE_CHOICE" = yes; then
9154 { echo "$as_me:$LINENO: result: yes" >&5
9155 echo "${ECHO_T}yes" >&6; }
9156 else
9157 { echo "$as_me:$LINENO: result: no" >&5
9158 echo "${ECHO_T}no" >&6; }
9159 fi
9160
9161
9162 enablestring=
9163 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicebook" >&5
9164 echo $ECHO_N "checking for --${enablestring:-enable}-choicebook... $ECHO_C" >&6; }
9165 no_cache=0
9166 # Check whether --enable-choicebook was given.
9167 if test "${enable_choicebook+set}" = set; then
9168 enableval=$enable_choicebook;
9169 if test "$enableval" = yes; then
9170 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=yes'
9171 else
9172 ac_cv_use_choicebook='wxUSE_CHOICEBOOK=no'
9173 fi
9174
9175 else
9176
9177 LINE=`grep "wxUSE_CHOICEBOOK" ${wx_arg_cache_file}`
9178 if test "x$LINE" != x ; then
9179 eval "DEFAULT_$LINE"
9180 else
9181 no_cache=1
9182 fi
9183
9184 ac_cv_use_choicebook='wxUSE_CHOICEBOOK='$DEFAULT_wxUSE_CHOICEBOOK
9185
9186 fi
9187
9188
9189 eval "$ac_cv_use_choicebook"
9190 if test "$no_cache" != 1; then
9191 echo $ac_cv_use_choicebook >> ${wx_arg_cache_file}.tmp
9192 fi
9193
9194 if test "$wxUSE_CHOICEBOOK" = yes; then
9195 { echo "$as_me:$LINENO: result: yes" >&5
9196 echo "${ECHO_T}yes" >&6; }
9197 else
9198 { echo "$as_me:$LINENO: result: no" >&5
9199 echo "${ECHO_T}no" >&6; }
9200 fi
9201
9202
9203 enablestring=
9204 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-collpane" >&5
9205 echo $ECHO_N "checking for --${enablestring:-enable}-collpane... $ECHO_C" >&6; }
9206 no_cache=0
9207 # Check whether --enable-collpane was given.
9208 if test "${enable_collpane+set}" = set; then
9209 enableval=$enable_collpane;
9210 if test "$enableval" = yes; then
9211 ac_cv_use_collpane='wxUSE_COLLPANE=yes'
9212 else
9213 ac_cv_use_collpane='wxUSE_COLLPANE=no'
9214 fi
9215
9216 else
9217
9218 LINE=`grep "wxUSE_COLLPANE" ${wx_arg_cache_file}`
9219 if test "x$LINE" != x ; then
9220 eval "DEFAULT_$LINE"
9221 else
9222 no_cache=1
9223 fi
9224
9225 ac_cv_use_collpane='wxUSE_COLLPANE='$DEFAULT_wxUSE_COLLPANE
9226
9227 fi
9228
9229
9230 eval "$ac_cv_use_collpane"
9231 if test "$no_cache" != 1; then
9232 echo $ac_cv_use_collpane >> ${wx_arg_cache_file}.tmp
9233 fi
9234
9235 if test "$wxUSE_COLLPANE" = yes; then
9236 { echo "$as_me:$LINENO: result: yes" >&5
9237 echo "${ECHO_T}yes" >&6; }
9238 else
9239 { echo "$as_me:$LINENO: result: no" >&5
9240 echo "${ECHO_T}no" >&6; }
9241 fi
9242
9243
9244 enablestring=
9245 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-colourpicker" >&5
9246 echo $ECHO_N "checking for --${enablestring:-enable}-colourpicker... $ECHO_C" >&6; }
9247 no_cache=0
9248 # Check whether --enable-colourpicker was given.
9249 if test "${enable_colourpicker+set}" = set; then
9250 enableval=$enable_colourpicker;
9251 if test "$enableval" = yes; then
9252 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=yes'
9253 else
9254 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL=no'
9255 fi
9256
9257 else
9258
9259 LINE=`grep "wxUSE_COLOURPICKERCTRL" ${wx_arg_cache_file}`
9260 if test "x$LINE" != x ; then
9261 eval "DEFAULT_$LINE"
9262 else
9263 no_cache=1
9264 fi
9265
9266 ac_cv_use_colourpicker='wxUSE_COLOURPICKERCTRL='$DEFAULT_wxUSE_COLOURPICKERCTRL
9267
9268 fi
9269
9270
9271 eval "$ac_cv_use_colourpicker"
9272 if test "$no_cache" != 1; then
9273 echo $ac_cv_use_colourpicker >> ${wx_arg_cache_file}.tmp
9274 fi
9275
9276 if test "$wxUSE_COLOURPICKERCTRL" = yes; then
9277 { echo "$as_me:$LINENO: result: yes" >&5
9278 echo "${ECHO_T}yes" >&6; }
9279 else
9280 { echo "$as_me:$LINENO: result: no" >&5
9281 echo "${ECHO_T}no" >&6; }
9282 fi
9283
9284
9285 enablestring=
9286 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-combobox" >&5
9287 echo $ECHO_N "checking for --${enablestring:-enable}-combobox... $ECHO_C" >&6; }
9288 no_cache=0
9289 # Check whether --enable-combobox was given.
9290 if test "${enable_combobox+set}" = set; then
9291 enableval=$enable_combobox;
9292 if test "$enableval" = yes; then
9293 ac_cv_use_combobox='wxUSE_COMBOBOX=yes'
9294 else
9295 ac_cv_use_combobox='wxUSE_COMBOBOX=no'
9296 fi
9297
9298 else
9299
9300 LINE=`grep "wxUSE_COMBOBOX" ${wx_arg_cache_file}`
9301 if test "x$LINE" != x ; then
9302 eval "DEFAULT_$LINE"
9303 else
9304 no_cache=1
9305 fi
9306
9307 ac_cv_use_combobox='wxUSE_COMBOBOX='$DEFAULT_wxUSE_COMBOBOX
9308
9309 fi
9310
9311
9312 eval "$ac_cv_use_combobox"
9313 if test "$no_cache" != 1; then
9314 echo $ac_cv_use_combobox >> ${wx_arg_cache_file}.tmp
9315 fi
9316
9317 if test "$wxUSE_COMBOBOX" = yes; then
9318 { echo "$as_me:$LINENO: result: yes" >&5
9319 echo "${ECHO_T}yes" >&6; }
9320 else
9321 { echo "$as_me:$LINENO: result: no" >&5
9322 echo "${ECHO_T}no" >&6; }
9323 fi
9324
9325
9326 enablestring=
9327 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-comboctrl" >&5
9328 echo $ECHO_N "checking for --${enablestring:-enable}-comboctrl... $ECHO_C" >&6; }
9329 no_cache=0
9330 # Check whether --enable-comboctrl was given.
9331 if test "${enable_comboctrl+set}" = set; then
9332 enableval=$enable_comboctrl;
9333 if test "$enableval" = yes; then
9334 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=yes'
9335 else
9336 ac_cv_use_comboctrl='wxUSE_COMBOCTRL=no'
9337 fi
9338
9339 else
9340
9341 LINE=`grep "wxUSE_COMBOCTRL" ${wx_arg_cache_file}`
9342 if test "x$LINE" != x ; then
9343 eval "DEFAULT_$LINE"
9344 else
9345 no_cache=1
9346 fi
9347
9348 ac_cv_use_comboctrl='wxUSE_COMBOCTRL='$DEFAULT_wxUSE_COMBOCTRL
9349
9350 fi
9351
9352
9353 eval "$ac_cv_use_comboctrl"
9354 if test "$no_cache" != 1; then
9355 echo $ac_cv_use_comboctrl >> ${wx_arg_cache_file}.tmp
9356 fi
9357
9358 if test "$wxUSE_COMBOCTRL" = yes; then
9359 { echo "$as_me:$LINENO: result: yes" >&5
9360 echo "${ECHO_T}yes" >&6; }
9361 else
9362 { echo "$as_me:$LINENO: result: no" >&5
9363 echo "${ECHO_T}no" >&6; }
9364 fi
9365
9366
9367 enablestring=
9368 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-datepick" >&5
9369 echo $ECHO_N "checking for --${enablestring:-enable}-datepick... $ECHO_C" >&6; }
9370 no_cache=0
9371 # Check whether --enable-datepick was given.
9372 if test "${enable_datepick+set}" = set; then
9373 enableval=$enable_datepick;
9374 if test "$enableval" = yes; then
9375 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=yes'
9376 else
9377 ac_cv_use_datepick='wxUSE_DATEPICKCTRL=no'
9378 fi
9379
9380 else
9381
9382 LINE=`grep "wxUSE_DATEPICKCTRL" ${wx_arg_cache_file}`
9383 if test "x$LINE" != x ; then
9384 eval "DEFAULT_$LINE"
9385 else
9386 no_cache=1
9387 fi
9388
9389 ac_cv_use_datepick='wxUSE_DATEPICKCTRL='$DEFAULT_wxUSE_DATEPICKCTRL
9390
9391 fi
9392
9393
9394 eval "$ac_cv_use_datepick"
9395 if test "$no_cache" != 1; then
9396 echo $ac_cv_use_datepick >> ${wx_arg_cache_file}.tmp
9397 fi
9398
9399 if test "$wxUSE_DATEPICKCTRL" = yes; then
9400 { echo "$as_me:$LINENO: result: yes" >&5
9401 echo "${ECHO_T}yes" >&6; }
9402 else
9403 { echo "$as_me:$LINENO: result: no" >&5
9404 echo "${ECHO_T}no" >&6; }
9405 fi
9406
9407
9408 enablestring=
9409 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirpicker" >&5
9410 echo $ECHO_N "checking for --${enablestring:-enable}-dirpicker... $ECHO_C" >&6; }
9411 no_cache=0
9412 # Check whether --enable-dirpicker was given.
9413 if test "${enable_dirpicker+set}" = set; then
9414 enableval=$enable_dirpicker;
9415 if test "$enableval" = yes; then
9416 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=yes'
9417 else
9418 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL=no'
9419 fi
9420
9421 else
9422
9423 LINE=`grep "wxUSE_DIRPICKERCTRL" ${wx_arg_cache_file}`
9424 if test "x$LINE" != x ; then
9425 eval "DEFAULT_$LINE"
9426 else
9427 no_cache=1
9428 fi
9429
9430 ac_cv_use_dirpicker='wxUSE_DIRPICKERCTRL='$DEFAULT_wxUSE_DIRPICKERCTRL
9431
9432 fi
9433
9434
9435 eval "$ac_cv_use_dirpicker"
9436 if test "$no_cache" != 1; then
9437 echo $ac_cv_use_dirpicker >> ${wx_arg_cache_file}.tmp
9438 fi
9439
9440 if test "$wxUSE_DIRPICKERCTRL" = yes; then
9441 { echo "$as_me:$LINENO: result: yes" >&5
9442 echo "${ECHO_T}yes" >&6; }
9443 else
9444 { echo "$as_me:$LINENO: result: no" >&5
9445 echo "${ECHO_T}no" >&6; }
9446 fi
9447
9448
9449 enablestring=
9450 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-display" >&5
9451 echo $ECHO_N "checking for --${enablestring:-enable}-display... $ECHO_C" >&6; }
9452 no_cache=0
9453 # Check whether --enable-display was given.
9454 if test "${enable_display+set}" = set; then
9455 enableval=$enable_display;
9456 if test "$enableval" = yes; then
9457 ac_cv_use_display='wxUSE_DISPLAY=yes'
9458 else
9459 ac_cv_use_display='wxUSE_DISPLAY=no'
9460 fi
9461
9462 else
9463
9464 LINE=`grep "wxUSE_DISPLAY" ${wx_arg_cache_file}`
9465 if test "x$LINE" != x ; then
9466 eval "DEFAULT_$LINE"
9467 else
9468 no_cache=1
9469 fi
9470
9471 ac_cv_use_display='wxUSE_DISPLAY='$DEFAULT_wxUSE_DISPLAY
9472
9473 fi
9474
9475
9476 eval "$ac_cv_use_display"
9477 if test "$no_cache" != 1; then
9478 echo $ac_cv_use_display >> ${wx_arg_cache_file}.tmp
9479 fi
9480
9481 if test "$wxUSE_DISPLAY" = yes; then
9482 { echo "$as_me:$LINENO: result: yes" >&5
9483 echo "${ECHO_T}yes" >&6; }
9484 else
9485 { echo "$as_me:$LINENO: result: no" >&5
9486 echo "${ECHO_T}no" >&6; }
9487 fi
9488
9489
9490 enablestring=
9491 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-detect_sm" >&5
9492 echo $ECHO_N "checking for --${enablestring:-enable}-detect_sm... $ECHO_C" >&6; }
9493 no_cache=0
9494 # Check whether --enable-detect_sm was given.
9495 if test "${enable_detect_sm+set}" = set; then
9496 enableval=$enable_detect_sm;
9497 if test "$enableval" = yes; then
9498 ac_cv_use_detect_sm='wxUSE_DETECT_SM=yes'
9499 else
9500 ac_cv_use_detect_sm='wxUSE_DETECT_SM=no'
9501 fi
9502
9503 else
9504
9505 LINE=`grep "wxUSE_DETECT_SM" ${wx_arg_cache_file}`
9506 if test "x$LINE" != x ; then
9507 eval "DEFAULT_$LINE"
9508 else
9509 no_cache=1
9510 fi
9511
9512 ac_cv_use_detect_sm='wxUSE_DETECT_SM='$DEFAULT_wxUSE_DETECT_SM
9513
9514 fi
9515
9516
9517 eval "$ac_cv_use_detect_sm"
9518 if test "$no_cache" != 1; then
9519 echo $ac_cv_use_detect_sm >> ${wx_arg_cache_file}.tmp
9520 fi
9521
9522 if test "$wxUSE_DETECT_SM" = yes; then
9523 { echo "$as_me:$LINENO: result: yes" >&5
9524 echo "${ECHO_T}yes" >&6; }
9525 else
9526 { echo "$as_me:$LINENO: result: no" >&5
9527 echo "${ECHO_T}no" >&6; }
9528 fi
9529
9530
9531 enablestring=
9532 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filepicker" >&5
9533 echo $ECHO_N "checking for --${enablestring:-enable}-filepicker... $ECHO_C" >&6; }
9534 no_cache=0
9535 # Check whether --enable-filepicker was given.
9536 if test "${enable_filepicker+set}" = set; then
9537 enableval=$enable_filepicker;
9538 if test "$enableval" = yes; then
9539 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=yes'
9540 else
9541 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL=no'
9542 fi
9543
9544 else
9545
9546 LINE=`grep "wxUSE_FILEPICKERCTRL" ${wx_arg_cache_file}`
9547 if test "x$LINE" != x ; then
9548 eval "DEFAULT_$LINE"
9549 else
9550 no_cache=1
9551 fi
9552
9553 ac_cv_use_filepicker='wxUSE_FILEPICKERCTRL='$DEFAULT_wxUSE_FILEPICKERCTRL
9554
9555 fi
9556
9557
9558 eval "$ac_cv_use_filepicker"
9559 if test "$no_cache" != 1; then
9560 echo $ac_cv_use_filepicker >> ${wx_arg_cache_file}.tmp
9561 fi
9562
9563 if test "$wxUSE_FILEPICKERCTRL" = yes; then
9564 { echo "$as_me:$LINENO: result: yes" >&5
9565 echo "${ECHO_T}yes" >&6; }
9566 else
9567 { echo "$as_me:$LINENO: result: no" >&5
9568 echo "${ECHO_T}no" >&6; }
9569 fi
9570
9571
9572 enablestring=
9573 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontpicker" >&5
9574 echo $ECHO_N "checking for --${enablestring:-enable}-fontpicker... $ECHO_C" >&6; }
9575 no_cache=0
9576 # Check whether --enable-fontpicker was given.
9577 if test "${enable_fontpicker+set}" = set; then
9578 enableval=$enable_fontpicker;
9579 if test "$enableval" = yes; then
9580 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=yes'
9581 else
9582 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL=no'
9583 fi
9584
9585 else
9586
9587 LINE=`grep "wxUSE_FONTPICKERCTRL" ${wx_arg_cache_file}`
9588 if test "x$LINE" != x ; then
9589 eval "DEFAULT_$LINE"
9590 else
9591 no_cache=1
9592 fi
9593
9594 ac_cv_use_fontpicker='wxUSE_FONTPICKERCTRL='$DEFAULT_wxUSE_FONTPICKERCTRL
9595
9596 fi
9597
9598
9599 eval "$ac_cv_use_fontpicker"
9600 if test "$no_cache" != 1; then
9601 echo $ac_cv_use_fontpicker >> ${wx_arg_cache_file}.tmp
9602 fi
9603
9604 if test "$wxUSE_FONTPICKERCTRL" = yes; then
9605 { echo "$as_me:$LINENO: result: yes" >&5
9606 echo "${ECHO_T}yes" >&6; }
9607 else
9608 { echo "$as_me:$LINENO: result: no" >&5
9609 echo "${ECHO_T}no" >&6; }
9610 fi
9611
9612
9613 enablestring=
9614 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gauge" >&5
9615 echo $ECHO_N "checking for --${enablestring:-enable}-gauge... $ECHO_C" >&6; }
9616 no_cache=0
9617 # Check whether --enable-gauge was given.
9618 if test "${enable_gauge+set}" = set; then
9619 enableval=$enable_gauge;
9620 if test "$enableval" = yes; then
9621 ac_cv_use_gauge='wxUSE_GAUGE=yes'
9622 else
9623 ac_cv_use_gauge='wxUSE_GAUGE=no'
9624 fi
9625
9626 else
9627
9628 LINE=`grep "wxUSE_GAUGE" ${wx_arg_cache_file}`
9629 if test "x$LINE" != x ; then
9630 eval "DEFAULT_$LINE"
9631 else
9632 no_cache=1
9633 fi
9634
9635 ac_cv_use_gauge='wxUSE_GAUGE='$DEFAULT_wxUSE_GAUGE
9636
9637 fi
9638
9639
9640 eval "$ac_cv_use_gauge"
9641 if test "$no_cache" != 1; then
9642 echo $ac_cv_use_gauge >> ${wx_arg_cache_file}.tmp
9643 fi
9644
9645 if test "$wxUSE_GAUGE" = yes; then
9646 { echo "$as_me:$LINENO: result: yes" >&5
9647 echo "${ECHO_T}yes" >&6; }
9648 else
9649 { echo "$as_me:$LINENO: result: no" >&5
9650 echo "${ECHO_T}no" >&6; }
9651 fi
9652
9653
9654 enablestring=
9655 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-grid" >&5
9656 echo $ECHO_N "checking for --${enablestring:-enable}-grid... $ECHO_C" >&6; }
9657 no_cache=0
9658 # Check whether --enable-grid was given.
9659 if test "${enable_grid+set}" = set; then
9660 enableval=$enable_grid;
9661 if test "$enableval" = yes; then
9662 ac_cv_use_grid='wxUSE_GRID=yes'
9663 else
9664 ac_cv_use_grid='wxUSE_GRID=no'
9665 fi
9666
9667 else
9668
9669 LINE=`grep "wxUSE_GRID" ${wx_arg_cache_file}`
9670 if test "x$LINE" != x ; then
9671 eval "DEFAULT_$LINE"
9672 else
9673 no_cache=1
9674 fi
9675
9676 ac_cv_use_grid='wxUSE_GRID='$DEFAULT_wxUSE_GRID
9677
9678 fi
9679
9680
9681 eval "$ac_cv_use_grid"
9682 if test "$no_cache" != 1; then
9683 echo $ac_cv_use_grid >> ${wx_arg_cache_file}.tmp
9684 fi
9685
9686 if test "$wxUSE_GRID" = yes; then
9687 { echo "$as_me:$LINENO: result: yes" >&5
9688 echo "${ECHO_T}yes" >&6; }
9689 else
9690 { echo "$as_me:$LINENO: result: no" >&5
9691 echo "${ECHO_T}no" >&6; }
9692 fi
9693
9694
9695 enablestring=
9696 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dataviewctrl" >&5
9697 echo $ECHO_N "checking for --${enablestring:-enable}-dataviewctrl... $ECHO_C" >&6; }
9698 no_cache=0
9699 # Check whether --enable-dataviewctrl was given.
9700 if test "${enable_dataviewctrl+set}" = set; then
9701 enableval=$enable_dataviewctrl;
9702 if test "$enableval" = yes; then
9703 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=yes'
9704 else
9705 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL=no'
9706 fi
9707
9708 else
9709
9710 LINE=`grep "wxUSE_DATAVIEWCTRL" ${wx_arg_cache_file}`
9711 if test "x$LINE" != x ; then
9712 eval "DEFAULT_$LINE"
9713 else
9714 no_cache=1
9715 fi
9716
9717 ac_cv_use_dataviewctrl='wxUSE_DATAVIEWCTRL='$DEFAULT_wxUSE_DATAVIEWCTRL
9718
9719 fi
9720
9721
9722 eval "$ac_cv_use_dataviewctrl"
9723 if test "$no_cache" != 1; then
9724 echo $ac_cv_use_dataviewctrl >> ${wx_arg_cache_file}.tmp
9725 fi
9726
9727 if test "$wxUSE_DATAVIEWCTRL" = yes; then
9728 { echo "$as_me:$LINENO: result: yes" >&5
9729 echo "${ECHO_T}yes" >&6; }
9730 else
9731 { echo "$as_me:$LINENO: result: no" >&5
9732 echo "${ECHO_T}no" >&6; }
9733 fi
9734
9735
9736 enablestring=
9737 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-hyperlink" >&5
9738 echo $ECHO_N "checking for --${enablestring:-enable}-hyperlink... $ECHO_C" >&6; }
9739 no_cache=0
9740 # Check whether --enable-hyperlink was given.
9741 if test "${enable_hyperlink+set}" = set; then
9742 enableval=$enable_hyperlink;
9743 if test "$enableval" = yes; then
9744 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=yes'
9745 else
9746 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL=no'
9747 fi
9748
9749 else
9750
9751 LINE=`grep "wxUSE_HYPERLINKCTRL" ${wx_arg_cache_file}`
9752 if test "x$LINE" != x ; then
9753 eval "DEFAULT_$LINE"
9754 else
9755 no_cache=1
9756 fi
9757
9758 ac_cv_use_hyperlink='wxUSE_HYPERLINKCTRL='$DEFAULT_wxUSE_HYPERLINKCTRL
9759
9760 fi
9761
9762
9763 eval "$ac_cv_use_hyperlink"
9764 if test "$no_cache" != 1; then
9765 echo $ac_cv_use_hyperlink >> ${wx_arg_cache_file}.tmp
9766 fi
9767
9768 if test "$wxUSE_HYPERLINKCTRL" = yes; then
9769 { echo "$as_me:$LINENO: result: yes" >&5
9770 echo "${ECHO_T}yes" >&6; }
9771 else
9772 { echo "$as_me:$LINENO: result: no" >&5
9773 echo "${ECHO_T}no" >&6; }
9774 fi
9775
9776
9777 enablestring=
9778 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-imaglist" >&5
9779 echo $ECHO_N "checking for --${enablestring:-enable}-imaglist... $ECHO_C" >&6; }
9780 no_cache=0
9781 # Check whether --enable-imaglist was given.
9782 if test "${enable_imaglist+set}" = set; then
9783 enableval=$enable_imaglist;
9784 if test "$enableval" = yes; then
9785 ac_cv_use_imaglist='wxUSE_IMAGLIST=yes'
9786 else
9787 ac_cv_use_imaglist='wxUSE_IMAGLIST=no'
9788 fi
9789
9790 else
9791
9792 LINE=`grep "wxUSE_IMAGLIST" ${wx_arg_cache_file}`
9793 if test "x$LINE" != x ; then
9794 eval "DEFAULT_$LINE"
9795 else
9796 no_cache=1
9797 fi
9798
9799 ac_cv_use_imaglist='wxUSE_IMAGLIST='$DEFAULT_wxUSE_IMAGLIST
9800
9801 fi
9802
9803
9804 eval "$ac_cv_use_imaglist"
9805 if test "$no_cache" != 1; then
9806 echo $ac_cv_use_imaglist >> ${wx_arg_cache_file}.tmp
9807 fi
9808
9809 if test "$wxUSE_IMAGLIST" = yes; then
9810 { echo "$as_me:$LINENO: result: yes" >&5
9811 echo "${ECHO_T}yes" >&6; }
9812 else
9813 { echo "$as_me:$LINENO: result: no" >&5
9814 echo "${ECHO_T}no" >&6; }
9815 fi
9816
9817
9818 enablestring=
9819 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbook" >&5
9820 echo $ECHO_N "checking for --${enablestring:-enable}-listbook... $ECHO_C" >&6; }
9821 no_cache=0
9822 # Check whether --enable-listbook was given.
9823 if test "${enable_listbook+set}" = set; then
9824 enableval=$enable_listbook;
9825 if test "$enableval" = yes; then
9826 ac_cv_use_listbook='wxUSE_LISTBOOK=yes'
9827 else
9828 ac_cv_use_listbook='wxUSE_LISTBOOK=no'
9829 fi
9830
9831 else
9832
9833 LINE=`grep "wxUSE_LISTBOOK" ${wx_arg_cache_file}`
9834 if test "x$LINE" != x ; then
9835 eval "DEFAULT_$LINE"
9836 else
9837 no_cache=1
9838 fi
9839
9840 ac_cv_use_listbook='wxUSE_LISTBOOK='$DEFAULT_wxUSE_LISTBOOK
9841
9842 fi
9843
9844
9845 eval "$ac_cv_use_listbook"
9846 if test "$no_cache" != 1; then
9847 echo $ac_cv_use_listbook >> ${wx_arg_cache_file}.tmp
9848 fi
9849
9850 if test "$wxUSE_LISTBOOK" = yes; then
9851 { echo "$as_me:$LINENO: result: yes" >&5
9852 echo "${ECHO_T}yes" >&6; }
9853 else
9854 { echo "$as_me:$LINENO: result: no" >&5
9855 echo "${ECHO_T}no" >&6; }
9856 fi
9857
9858
9859 enablestring=
9860 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listbox" >&5
9861 echo $ECHO_N "checking for --${enablestring:-enable}-listbox... $ECHO_C" >&6; }
9862 no_cache=0
9863 # Check whether --enable-listbox was given.
9864 if test "${enable_listbox+set}" = set; then
9865 enableval=$enable_listbox;
9866 if test "$enableval" = yes; then
9867 ac_cv_use_listbox='wxUSE_LISTBOX=yes'
9868 else
9869 ac_cv_use_listbox='wxUSE_LISTBOX=no'
9870 fi
9871
9872 else
9873
9874 LINE=`grep "wxUSE_LISTBOX" ${wx_arg_cache_file}`
9875 if test "x$LINE" != x ; then
9876 eval "DEFAULT_$LINE"
9877 else
9878 no_cache=1
9879 fi
9880
9881 ac_cv_use_listbox='wxUSE_LISTBOX='$DEFAULT_wxUSE_LISTBOX
9882
9883 fi
9884
9885
9886 eval "$ac_cv_use_listbox"
9887 if test "$no_cache" != 1; then
9888 echo $ac_cv_use_listbox >> ${wx_arg_cache_file}.tmp
9889 fi
9890
9891 if test "$wxUSE_LISTBOX" = yes; then
9892 { echo "$as_me:$LINENO: result: yes" >&5
9893 echo "${ECHO_T}yes" >&6; }
9894 else
9895 { echo "$as_me:$LINENO: result: no" >&5
9896 echo "${ECHO_T}no" >&6; }
9897 fi
9898
9899
9900 enablestring=
9901 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-listctrl" >&5
9902 echo $ECHO_N "checking for --${enablestring:-enable}-listctrl... $ECHO_C" >&6; }
9903 no_cache=0
9904 # Check whether --enable-listctrl was given.
9905 if test "${enable_listctrl+set}" = set; then
9906 enableval=$enable_listctrl;
9907 if test "$enableval" = yes; then
9908 ac_cv_use_listctrl='wxUSE_LISTCTRL=yes'
9909 else
9910 ac_cv_use_listctrl='wxUSE_LISTCTRL=no'
9911 fi
9912
9913 else
9914
9915 LINE=`grep "wxUSE_LISTCTRL" ${wx_arg_cache_file}`
9916 if test "x$LINE" != x ; then
9917 eval "DEFAULT_$LINE"
9918 else
9919 no_cache=1
9920 fi
9921
9922 ac_cv_use_listctrl='wxUSE_LISTCTRL='$DEFAULT_wxUSE_LISTCTRL
9923
9924 fi
9925
9926
9927 eval "$ac_cv_use_listctrl"
9928 if test "$no_cache" != 1; then
9929 echo $ac_cv_use_listctrl >> ${wx_arg_cache_file}.tmp
9930 fi
9931
9932 if test "$wxUSE_LISTCTRL" = yes; then
9933 { echo "$as_me:$LINENO: result: yes" >&5
9934 echo "${ECHO_T}yes" >&6; }
9935 else
9936 { echo "$as_me:$LINENO: result: no" >&5
9937 echo "${ECHO_T}no" >&6; }
9938 fi
9939
9940
9941 enablestring=
9942 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-notebook" >&5
9943 echo $ECHO_N "checking for --${enablestring:-enable}-notebook... $ECHO_C" >&6; }
9944 no_cache=0
9945 # Check whether --enable-notebook was given.
9946 if test "${enable_notebook+set}" = set; then
9947 enableval=$enable_notebook;
9948 if test "$enableval" = yes; then
9949 ac_cv_use_notebook='wxUSE_NOTEBOOK=yes'
9950 else
9951 ac_cv_use_notebook='wxUSE_NOTEBOOK=no'
9952 fi
9953
9954 else
9955
9956 LINE=`grep "wxUSE_NOTEBOOK" ${wx_arg_cache_file}`
9957 if test "x$LINE" != x ; then
9958 eval "DEFAULT_$LINE"
9959 else
9960 no_cache=1
9961 fi
9962
9963 ac_cv_use_notebook='wxUSE_NOTEBOOK='$DEFAULT_wxUSE_NOTEBOOK
9964
9965 fi
9966
9967
9968 eval "$ac_cv_use_notebook"
9969 if test "$no_cache" != 1; then
9970 echo $ac_cv_use_notebook >> ${wx_arg_cache_file}.tmp
9971 fi
9972
9973 if test "$wxUSE_NOTEBOOK" = yes; then
9974 { echo "$as_me:$LINENO: result: yes" >&5
9975 echo "${ECHO_T}yes" >&6; }
9976 else
9977 { echo "$as_me:$LINENO: result: no" >&5
9978 echo "${ECHO_T}no" >&6; }
9979 fi
9980
9981
9982 enablestring=
9983 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-odcombobox" >&5
9984 echo $ECHO_N "checking for --${enablestring:-enable}-odcombobox... $ECHO_C" >&6; }
9985 no_cache=0
9986 # Check whether --enable-odcombobox was given.
9987 if test "${enable_odcombobox+set}" = set; then
9988 enableval=$enable_odcombobox;
9989 if test "$enableval" = yes; then
9990 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=yes'
9991 else
9992 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX=no'
9993 fi
9994
9995 else
9996
9997 LINE=`grep "wxUSE_ODCOMBOBOX" ${wx_arg_cache_file}`
9998 if test "x$LINE" != x ; then
9999 eval "DEFAULT_$LINE"
10000 else
10001 no_cache=1
10002 fi
10003
10004 ac_cv_use_odcombobox='wxUSE_ODCOMBOBOX='$DEFAULT_wxUSE_ODCOMBOBOX
10005
10006 fi
10007
10008
10009 eval "$ac_cv_use_odcombobox"
10010 if test "$no_cache" != 1; then
10011 echo $ac_cv_use_odcombobox >> ${wx_arg_cache_file}.tmp
10012 fi
10013
10014 if test "$wxUSE_ODCOMBOBOX" = yes; then
10015 { echo "$as_me:$LINENO: result: yes" >&5
10016 echo "${ECHO_T}yes" >&6; }
10017 else
10018 { echo "$as_me:$LINENO: result: no" >&5
10019 echo "${ECHO_T}no" >&6; }
10020 fi
10021
10022
10023 enablestring=
10024 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobox" >&5
10025 echo $ECHO_N "checking for --${enablestring:-enable}-radiobox... $ECHO_C" >&6; }
10026 no_cache=0
10027 # Check whether --enable-radiobox was given.
10028 if test "${enable_radiobox+set}" = set; then
10029 enableval=$enable_radiobox;
10030 if test "$enableval" = yes; then
10031 ac_cv_use_radiobox='wxUSE_RADIOBOX=yes'
10032 else
10033 ac_cv_use_radiobox='wxUSE_RADIOBOX=no'
10034 fi
10035
10036 else
10037
10038 LINE=`grep "wxUSE_RADIOBOX" ${wx_arg_cache_file}`
10039 if test "x$LINE" != x ; then
10040 eval "DEFAULT_$LINE"
10041 else
10042 no_cache=1
10043 fi
10044
10045 ac_cv_use_radiobox='wxUSE_RADIOBOX='$DEFAULT_wxUSE_RADIOBOX
10046
10047 fi
10048
10049
10050 eval "$ac_cv_use_radiobox"
10051 if test "$no_cache" != 1; then
10052 echo $ac_cv_use_radiobox >> ${wx_arg_cache_file}.tmp
10053 fi
10054
10055 if test "$wxUSE_RADIOBOX" = yes; then
10056 { echo "$as_me:$LINENO: result: yes" >&5
10057 echo "${ECHO_T}yes" >&6; }
10058 else
10059 { echo "$as_me:$LINENO: result: no" >&5
10060 echo "${ECHO_T}no" >&6; }
10061 fi
10062
10063
10064 enablestring=
10065 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-radiobtn" >&5
10066 echo $ECHO_N "checking for --${enablestring:-enable}-radiobtn... $ECHO_C" >&6; }
10067 no_cache=0
10068 # Check whether --enable-radiobtn was given.
10069 if test "${enable_radiobtn+set}" = set; then
10070 enableval=$enable_radiobtn;
10071 if test "$enableval" = yes; then
10072 ac_cv_use_radiobtn='wxUSE_RADIOBTN=yes'
10073 else
10074 ac_cv_use_radiobtn='wxUSE_RADIOBTN=no'
10075 fi
10076
10077 else
10078
10079 LINE=`grep "wxUSE_RADIOBTN" ${wx_arg_cache_file}`
10080 if test "x$LINE" != x ; then
10081 eval "DEFAULT_$LINE"
10082 else
10083 no_cache=1
10084 fi
10085
10086 ac_cv_use_radiobtn='wxUSE_RADIOBTN='$DEFAULT_wxUSE_RADIOBTN
10087
10088 fi
10089
10090
10091 eval "$ac_cv_use_radiobtn"
10092 if test "$no_cache" != 1; then
10093 echo $ac_cv_use_radiobtn >> ${wx_arg_cache_file}.tmp
10094 fi
10095
10096 if test "$wxUSE_RADIOBTN" = yes; then
10097 { echo "$as_me:$LINENO: result: yes" >&5
10098 echo "${ECHO_T}yes" >&6; }
10099 else
10100 { echo "$as_me:$LINENO: result: no" >&5
10101 echo "${ECHO_T}no" >&6; }
10102 fi
10103
10104
10105 enablestring=
10106 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-sash" >&5
10107 echo $ECHO_N "checking for --${enablestring:-enable}-sash... $ECHO_C" >&6; }
10108 no_cache=0
10109 # Check whether --enable-sash was given.
10110 if test "${enable_sash+set}" = set; then
10111 enableval=$enable_sash;
10112 if test "$enableval" = yes; then
10113 ac_cv_use_sash='wxUSE_SASH=yes'
10114 else
10115 ac_cv_use_sash='wxUSE_SASH=no'
10116 fi
10117
10118 else
10119
10120 LINE=`grep "wxUSE_SASH" ${wx_arg_cache_file}`
10121 if test "x$LINE" != x ; then
10122 eval "DEFAULT_$LINE"
10123 else
10124 no_cache=1
10125 fi
10126
10127 ac_cv_use_sash='wxUSE_SASH='$DEFAULT_wxUSE_SASH
10128
10129 fi
10130
10131
10132 eval "$ac_cv_use_sash"
10133 if test "$no_cache" != 1; then
10134 echo $ac_cv_use_sash >> ${wx_arg_cache_file}.tmp
10135 fi
10136
10137 if test "$wxUSE_SASH" = yes; then
10138 { echo "$as_me:$LINENO: result: yes" >&5
10139 echo "${ECHO_T}yes" >&6; }
10140 else
10141 { echo "$as_me:$LINENO: result: no" >&5
10142 echo "${ECHO_T}no" >&6; }
10143 fi
10144
10145
10146 enablestring=
10147 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-scrollbar" >&5
10148 echo $ECHO_N "checking for --${enablestring:-enable}-scrollbar... $ECHO_C" >&6; }
10149 no_cache=0
10150 # Check whether --enable-scrollbar was given.
10151 if test "${enable_scrollbar+set}" = set; then
10152 enableval=$enable_scrollbar;
10153 if test "$enableval" = yes; then
10154 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=yes'
10155 else
10156 ac_cv_use_scrollbar='wxUSE_SCROLLBAR=no'
10157 fi
10158
10159 else
10160
10161 LINE=`grep "wxUSE_SCROLLBAR" ${wx_arg_cache_file}`
10162 if test "x$LINE" != x ; then
10163 eval "DEFAULT_$LINE"
10164 else
10165 no_cache=1
10166 fi
10167
10168 ac_cv_use_scrollbar='wxUSE_SCROLLBAR='$DEFAULT_wxUSE_SCROLLBAR
10169
10170 fi
10171
10172
10173 eval "$ac_cv_use_scrollbar"
10174 if test "$no_cache" != 1; then
10175 echo $ac_cv_use_scrollbar >> ${wx_arg_cache_file}.tmp
10176 fi
10177
10178 if test "$wxUSE_SCROLLBAR" = yes; then
10179 { echo "$as_me:$LINENO: result: yes" >&5
10180 echo "${ECHO_T}yes" >&6; }
10181 else
10182 { echo "$as_me:$LINENO: result: no" >&5
10183 echo "${ECHO_T}no" >&6; }
10184 fi
10185
10186
10187 enablestring=
10188 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-searchctrl" >&5
10189 echo $ECHO_N "checking for --${enablestring:-enable}-searchctrl... $ECHO_C" >&6; }
10190 no_cache=0
10191 # Check whether --enable-searchctrl was given.
10192 if test "${enable_searchctrl+set}" = set; then
10193 enableval=$enable_searchctrl;
10194 if test "$enableval" = yes; then
10195 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=yes'
10196 else
10197 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL=no'
10198 fi
10199
10200 else
10201
10202 LINE=`grep "wxUSE_SEARCHCTRL" ${wx_arg_cache_file}`
10203 if test "x$LINE" != x ; then
10204 eval "DEFAULT_$LINE"
10205 else
10206 no_cache=1
10207 fi
10208
10209 ac_cv_use_searchctrl='wxUSE_SEARCHCTRL='$DEFAULT_wxUSE_SEARCHCTRL
10210
10211 fi
10212
10213
10214 eval "$ac_cv_use_searchctrl"
10215 if test "$no_cache" != 1; then
10216 echo $ac_cv_use_searchctrl >> ${wx_arg_cache_file}.tmp
10217 fi
10218
10219 if test "$wxUSE_SEARCHCTRL" = yes; then
10220 { echo "$as_me:$LINENO: result: yes" >&5
10221 echo "${ECHO_T}yes" >&6; }
10222 else
10223 { echo "$as_me:$LINENO: result: no" >&5
10224 echo "${ECHO_T}no" >&6; }
10225 fi
10226
10227
10228 enablestring=
10229 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-slider" >&5
10230 echo $ECHO_N "checking for --${enablestring:-enable}-slider... $ECHO_C" >&6; }
10231 no_cache=0
10232 # Check whether --enable-slider was given.
10233 if test "${enable_slider+set}" = set; then
10234 enableval=$enable_slider;
10235 if test "$enableval" = yes; then
10236 ac_cv_use_slider='wxUSE_SLIDER=yes'
10237 else
10238 ac_cv_use_slider='wxUSE_SLIDER=no'
10239 fi
10240
10241 else
10242
10243 LINE=`grep "wxUSE_SLIDER" ${wx_arg_cache_file}`
10244 if test "x$LINE" != x ; then
10245 eval "DEFAULT_$LINE"
10246 else
10247 no_cache=1
10248 fi
10249
10250 ac_cv_use_slider='wxUSE_SLIDER='$DEFAULT_wxUSE_SLIDER
10251
10252 fi
10253
10254
10255 eval "$ac_cv_use_slider"
10256 if test "$no_cache" != 1; then
10257 echo $ac_cv_use_slider >> ${wx_arg_cache_file}.tmp
10258 fi
10259
10260 if test "$wxUSE_SLIDER" = yes; then
10261 { echo "$as_me:$LINENO: result: yes" >&5
10262 echo "${ECHO_T}yes" >&6; }
10263 else
10264 { echo "$as_me:$LINENO: result: no" >&5
10265 echo "${ECHO_T}no" >&6; }
10266 fi
10267
10268
10269 enablestring=
10270 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinbtn" >&5
10271 echo $ECHO_N "checking for --${enablestring:-enable}-spinbtn... $ECHO_C" >&6; }
10272 no_cache=0
10273 # Check whether --enable-spinbtn was given.
10274 if test "${enable_spinbtn+set}" = set; then
10275 enableval=$enable_spinbtn;
10276 if test "$enableval" = yes; then
10277 ac_cv_use_spinbtn='wxUSE_SPINBTN=yes'
10278 else
10279 ac_cv_use_spinbtn='wxUSE_SPINBTN=no'
10280 fi
10281
10282 else
10283
10284 LINE=`grep "wxUSE_SPINBTN" ${wx_arg_cache_file}`
10285 if test "x$LINE" != x ; then
10286 eval "DEFAULT_$LINE"
10287 else
10288 no_cache=1
10289 fi
10290
10291 ac_cv_use_spinbtn='wxUSE_SPINBTN='$DEFAULT_wxUSE_SPINBTN
10292
10293 fi
10294
10295
10296 eval "$ac_cv_use_spinbtn"
10297 if test "$no_cache" != 1; then
10298 echo $ac_cv_use_spinbtn >> ${wx_arg_cache_file}.tmp
10299 fi
10300
10301 if test "$wxUSE_SPINBTN" = yes; then
10302 { echo "$as_me:$LINENO: result: yes" >&5
10303 echo "${ECHO_T}yes" >&6; }
10304 else
10305 { echo "$as_me:$LINENO: result: no" >&5
10306 echo "${ECHO_T}no" >&6; }
10307 fi
10308
10309
10310 enablestring=
10311 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-spinctrl" >&5
10312 echo $ECHO_N "checking for --${enablestring:-enable}-spinctrl... $ECHO_C" >&6; }
10313 no_cache=0
10314 # Check whether --enable-spinctrl was given.
10315 if test "${enable_spinctrl+set}" = set; then
10316 enableval=$enable_spinctrl;
10317 if test "$enableval" = yes; then
10318 ac_cv_use_spinctrl='wxUSE_SPINCTRL=yes'
10319 else
10320 ac_cv_use_spinctrl='wxUSE_SPINCTRL=no'
10321 fi
10322
10323 else
10324
10325 LINE=`grep "wxUSE_SPINCTRL" ${wx_arg_cache_file}`
10326 if test "x$LINE" != x ; then
10327 eval "DEFAULT_$LINE"
10328 else
10329 no_cache=1
10330 fi
10331
10332 ac_cv_use_spinctrl='wxUSE_SPINCTRL='$DEFAULT_wxUSE_SPINCTRL
10333
10334 fi
10335
10336
10337 eval "$ac_cv_use_spinctrl"
10338 if test "$no_cache" != 1; then
10339 echo $ac_cv_use_spinctrl >> ${wx_arg_cache_file}.tmp
10340 fi
10341
10342 if test "$wxUSE_SPINCTRL" = yes; then
10343 { echo "$as_me:$LINENO: result: yes" >&5
10344 echo "${ECHO_T}yes" >&6; }
10345 else
10346 { echo "$as_me:$LINENO: result: no" >&5
10347 echo "${ECHO_T}no" >&6; }
10348 fi
10349
10350
10351 enablestring=
10352 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splitter" >&5
10353 echo $ECHO_N "checking for --${enablestring:-enable}-splitter... $ECHO_C" >&6; }
10354 no_cache=0
10355 # Check whether --enable-splitter was given.
10356 if test "${enable_splitter+set}" = set; then
10357 enableval=$enable_splitter;
10358 if test "$enableval" = yes; then
10359 ac_cv_use_splitter='wxUSE_SPLITTER=yes'
10360 else
10361 ac_cv_use_splitter='wxUSE_SPLITTER=no'
10362 fi
10363
10364 else
10365
10366 LINE=`grep "wxUSE_SPLITTER" ${wx_arg_cache_file}`
10367 if test "x$LINE" != x ; then
10368 eval "DEFAULT_$LINE"
10369 else
10370 no_cache=1
10371 fi
10372
10373 ac_cv_use_splitter='wxUSE_SPLITTER='$DEFAULT_wxUSE_SPLITTER
10374
10375 fi
10376
10377
10378 eval "$ac_cv_use_splitter"
10379 if test "$no_cache" != 1; then
10380 echo $ac_cv_use_splitter >> ${wx_arg_cache_file}.tmp
10381 fi
10382
10383 if test "$wxUSE_SPLITTER" = yes; then
10384 { echo "$as_me:$LINENO: result: yes" >&5
10385 echo "${ECHO_T}yes" >&6; }
10386 else
10387 { echo "$as_me:$LINENO: result: no" >&5
10388 echo "${ECHO_T}no" >&6; }
10389 fi
10390
10391
10392 enablestring=
10393 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbmp" >&5
10394 echo $ECHO_N "checking for --${enablestring:-enable}-statbmp... $ECHO_C" >&6; }
10395 no_cache=0
10396 # Check whether --enable-statbmp was given.
10397 if test "${enable_statbmp+set}" = set; then
10398 enableval=$enable_statbmp;
10399 if test "$enableval" = yes; then
10400 ac_cv_use_statbmp='wxUSE_STATBMP=yes'
10401 else
10402 ac_cv_use_statbmp='wxUSE_STATBMP=no'
10403 fi
10404
10405 else
10406
10407 LINE=`grep "wxUSE_STATBMP" ${wx_arg_cache_file}`
10408 if test "x$LINE" != x ; then
10409 eval "DEFAULT_$LINE"
10410 else
10411 no_cache=1
10412 fi
10413
10414 ac_cv_use_statbmp='wxUSE_STATBMP='$DEFAULT_wxUSE_STATBMP
10415
10416 fi
10417
10418
10419 eval "$ac_cv_use_statbmp"
10420 if test "$no_cache" != 1; then
10421 echo $ac_cv_use_statbmp >> ${wx_arg_cache_file}.tmp
10422 fi
10423
10424 if test "$wxUSE_STATBMP" = yes; then
10425 { echo "$as_me:$LINENO: result: yes" >&5
10426 echo "${ECHO_T}yes" >&6; }
10427 else
10428 { echo "$as_me:$LINENO: result: no" >&5
10429 echo "${ECHO_T}no" >&6; }
10430 fi
10431
10432
10433 enablestring=
10434 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statbox" >&5
10435 echo $ECHO_N "checking for --${enablestring:-enable}-statbox... $ECHO_C" >&6; }
10436 no_cache=0
10437 # Check whether --enable-statbox was given.
10438 if test "${enable_statbox+set}" = set; then
10439 enableval=$enable_statbox;
10440 if test "$enableval" = yes; then
10441 ac_cv_use_statbox='wxUSE_STATBOX=yes'
10442 else
10443 ac_cv_use_statbox='wxUSE_STATBOX=no'
10444 fi
10445
10446 else
10447
10448 LINE=`grep "wxUSE_STATBOX" ${wx_arg_cache_file}`
10449 if test "x$LINE" != x ; then
10450 eval "DEFAULT_$LINE"
10451 else
10452 no_cache=1
10453 fi
10454
10455 ac_cv_use_statbox='wxUSE_STATBOX='$DEFAULT_wxUSE_STATBOX
10456
10457 fi
10458
10459
10460 eval "$ac_cv_use_statbox"
10461 if test "$no_cache" != 1; then
10462 echo $ac_cv_use_statbox >> ${wx_arg_cache_file}.tmp
10463 fi
10464
10465 if test "$wxUSE_STATBOX" = yes; then
10466 { echo "$as_me:$LINENO: result: yes" >&5
10467 echo "${ECHO_T}yes" >&6; }
10468 else
10469 { echo "$as_me:$LINENO: result: no" >&5
10470 echo "${ECHO_T}no" >&6; }
10471 fi
10472
10473
10474 enablestring=
10475 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statline" >&5
10476 echo $ECHO_N "checking for --${enablestring:-enable}-statline... $ECHO_C" >&6; }
10477 no_cache=0
10478 # Check whether --enable-statline was given.
10479 if test "${enable_statline+set}" = set; then
10480 enableval=$enable_statline;
10481 if test "$enableval" = yes; then
10482 ac_cv_use_statline='wxUSE_STATLINE=yes'
10483 else
10484 ac_cv_use_statline='wxUSE_STATLINE=no'
10485 fi
10486
10487 else
10488
10489 LINE=`grep "wxUSE_STATLINE" ${wx_arg_cache_file}`
10490 if test "x$LINE" != x ; then
10491 eval "DEFAULT_$LINE"
10492 else
10493 no_cache=1
10494 fi
10495
10496 ac_cv_use_statline='wxUSE_STATLINE='$DEFAULT_wxUSE_STATLINE
10497
10498 fi
10499
10500
10501 eval "$ac_cv_use_statline"
10502 if test "$no_cache" != 1; then
10503 echo $ac_cv_use_statline >> ${wx_arg_cache_file}.tmp
10504 fi
10505
10506 if test "$wxUSE_STATLINE" = yes; then
10507 { echo "$as_me:$LINENO: result: yes" >&5
10508 echo "${ECHO_T}yes" >&6; }
10509 else
10510 { echo "$as_me:$LINENO: result: no" >&5
10511 echo "${ECHO_T}no" >&6; }
10512 fi
10513
10514
10515 enablestring=
10516 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-stattext" >&5
10517 echo $ECHO_N "checking for --${enablestring:-enable}-stattext... $ECHO_C" >&6; }
10518 no_cache=0
10519 # Check whether --enable-stattext was given.
10520 if test "${enable_stattext+set}" = set; then
10521 enableval=$enable_stattext;
10522 if test "$enableval" = yes; then
10523 ac_cv_use_stattext='wxUSE_STATTEXT=yes'
10524 else
10525 ac_cv_use_stattext='wxUSE_STATTEXT=no'
10526 fi
10527
10528 else
10529
10530 LINE=`grep "wxUSE_STATTEXT" ${wx_arg_cache_file}`
10531 if test "x$LINE" != x ; then
10532 eval "DEFAULT_$LINE"
10533 else
10534 no_cache=1
10535 fi
10536
10537 ac_cv_use_stattext='wxUSE_STATTEXT='$DEFAULT_wxUSE_STATTEXT
10538
10539 fi
10540
10541
10542 eval "$ac_cv_use_stattext"
10543 if test "$no_cache" != 1; then
10544 echo $ac_cv_use_stattext >> ${wx_arg_cache_file}.tmp
10545 fi
10546
10547 if test "$wxUSE_STATTEXT" = yes; then
10548 { echo "$as_me:$LINENO: result: yes" >&5
10549 echo "${ECHO_T}yes" >&6; }
10550 else
10551 { echo "$as_me:$LINENO: result: no" >&5
10552 echo "${ECHO_T}no" >&6; }
10553 fi
10554
10555
10556 enablestring=
10557 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-statusbar" >&5
10558 echo $ECHO_N "checking for --${enablestring:-enable}-statusbar... $ECHO_C" >&6; }
10559 no_cache=0
10560 # Check whether --enable-statusbar was given.
10561 if test "${enable_statusbar+set}" = set; then
10562 enableval=$enable_statusbar;
10563 if test "$enableval" = yes; then
10564 ac_cv_use_statusbar='wxUSE_STATUSBAR=yes'
10565 else
10566 ac_cv_use_statusbar='wxUSE_STATUSBAR=no'
10567 fi
10568
10569 else
10570
10571 LINE=`grep "wxUSE_STATUSBAR" ${wx_arg_cache_file}`
10572 if test "x$LINE" != x ; then
10573 eval "DEFAULT_$LINE"
10574 else
10575 no_cache=1
10576 fi
10577
10578 ac_cv_use_statusbar='wxUSE_STATUSBAR='$DEFAULT_wxUSE_STATUSBAR
10579
10580 fi
10581
10582
10583 eval "$ac_cv_use_statusbar"
10584 if test "$no_cache" != 1; then
10585 echo $ac_cv_use_statusbar >> ${wx_arg_cache_file}.tmp
10586 fi
10587
10588 if test "$wxUSE_STATUSBAR" = yes; then
10589 { echo "$as_me:$LINENO: result: yes" >&5
10590 echo "${ECHO_T}yes" >&6; }
10591 else
10592 { echo "$as_me:$LINENO: result: no" >&5
10593 echo "${ECHO_T}no" >&6; }
10594 fi
10595
10596
10597 enablestring=
10598 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tabdialog" >&5
10599 echo $ECHO_N "checking for --${enablestring:-enable}-tabdialog... $ECHO_C" >&6; }
10600 no_cache=0
10601 # Check whether --enable-tabdialog was given.
10602 if test "${enable_tabdialog+set}" = set; then
10603 enableval=$enable_tabdialog;
10604 if test "$enableval" = yes; then
10605 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=yes'
10606 else
10607 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG=no'
10608 fi
10609
10610 else
10611
10612 LINE=`grep "wxUSE_TAB_DIALOG" ${wx_arg_cache_file}`
10613 if test "x$LINE" != x ; then
10614 eval "DEFAULT_$LINE"
10615 else
10616 no_cache=1
10617 fi
10618
10619 ac_cv_use_tabdialog='wxUSE_TAB_DIALOG='$DEFAULT_wxUSE_TAB_DIALOG
10620
10621 fi
10622
10623
10624 eval "$ac_cv_use_tabdialog"
10625 if test "$no_cache" != 1; then
10626 echo $ac_cv_use_tabdialog >> ${wx_arg_cache_file}.tmp
10627 fi
10628
10629 if test "$wxUSE_TAB_DIALOG" = yes; then
10630 { echo "$as_me:$LINENO: result: yes" >&5
10631 echo "${ECHO_T}yes" >&6; }
10632 else
10633 { echo "$as_me:$LINENO: result: no" >&5
10634 echo "${ECHO_T}no" >&6; }
10635 fi
10636
10637
10638 enablestring=
10639 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textctrl" >&5
10640 echo $ECHO_N "checking for --${enablestring:-enable}-textctrl... $ECHO_C" >&6; }
10641 no_cache=0
10642 # Check whether --enable-textctrl was given.
10643 if test "${enable_textctrl+set}" = set; then
10644 enableval=$enable_textctrl;
10645 if test "$enableval" = yes; then
10646 ac_cv_use_textctrl='wxUSE_TEXTCTRL=yes'
10647 else
10648 ac_cv_use_textctrl='wxUSE_TEXTCTRL=no'
10649 fi
10650
10651 else
10652
10653 LINE=`grep "wxUSE_TEXTCTRL" ${wx_arg_cache_file}`
10654 if test "x$LINE" != x ; then
10655 eval "DEFAULT_$LINE"
10656 else
10657 no_cache=1
10658 fi
10659
10660 ac_cv_use_textctrl='wxUSE_TEXTCTRL='$DEFAULT_wxUSE_TEXTCTRL
10661
10662 fi
10663
10664
10665 eval "$ac_cv_use_textctrl"
10666 if test "$no_cache" != 1; then
10667 echo $ac_cv_use_textctrl >> ${wx_arg_cache_file}.tmp
10668 fi
10669
10670 if test "$wxUSE_TEXTCTRL" = yes; then
10671 { echo "$as_me:$LINENO: result: yes" >&5
10672 echo "${ECHO_T}yes" >&6; }
10673 else
10674 { echo "$as_me:$LINENO: result: no" >&5
10675 echo "${ECHO_T}no" >&6; }
10676 fi
10677
10678
10679 enablestring=
10680 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-togglebtn" >&5
10681 echo $ECHO_N "checking for --${enablestring:-enable}-togglebtn... $ECHO_C" >&6; }
10682 no_cache=0
10683 # Check whether --enable-togglebtn was given.
10684 if test "${enable_togglebtn+set}" = set; then
10685 enableval=$enable_togglebtn;
10686 if test "$enableval" = yes; then
10687 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=yes'
10688 else
10689 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN=no'
10690 fi
10691
10692 else
10693
10694 LINE=`grep "wxUSE_TOGGLEBTN" ${wx_arg_cache_file}`
10695 if test "x$LINE" != x ; then
10696 eval "DEFAULT_$LINE"
10697 else
10698 no_cache=1
10699 fi
10700
10701 ac_cv_use_togglebtn='wxUSE_TOGGLEBTN='$DEFAULT_wxUSE_TOGGLEBTN
10702
10703 fi
10704
10705
10706 eval "$ac_cv_use_togglebtn"
10707 if test "$no_cache" != 1; then
10708 echo $ac_cv_use_togglebtn >> ${wx_arg_cache_file}.tmp
10709 fi
10710
10711 if test "$wxUSE_TOGGLEBTN" = yes; then
10712 { echo "$as_me:$LINENO: result: yes" >&5
10713 echo "${ECHO_T}yes" >&6; }
10714 else
10715 { echo "$as_me:$LINENO: result: no" >&5
10716 echo "${ECHO_T}no" >&6; }
10717 fi
10718
10719
10720 enablestring=
10721 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbar" >&5
10722 echo $ECHO_N "checking for --${enablestring:-enable}-toolbar... $ECHO_C" >&6; }
10723 no_cache=0
10724 # Check whether --enable-toolbar was given.
10725 if test "${enable_toolbar+set}" = set; then
10726 enableval=$enable_toolbar;
10727 if test "$enableval" = yes; then
10728 ac_cv_use_toolbar='wxUSE_TOOLBAR=yes'
10729 else
10730 ac_cv_use_toolbar='wxUSE_TOOLBAR=no'
10731 fi
10732
10733 else
10734
10735 LINE=`grep "wxUSE_TOOLBAR" ${wx_arg_cache_file}`
10736 if test "x$LINE" != x ; then
10737 eval "DEFAULT_$LINE"
10738 else
10739 no_cache=1
10740 fi
10741
10742 ac_cv_use_toolbar='wxUSE_TOOLBAR='$DEFAULT_wxUSE_TOOLBAR
10743
10744 fi
10745
10746
10747 eval "$ac_cv_use_toolbar"
10748 if test "$no_cache" != 1; then
10749 echo $ac_cv_use_toolbar >> ${wx_arg_cache_file}.tmp
10750 fi
10751
10752 if test "$wxUSE_TOOLBAR" = yes; then
10753 { echo "$as_me:$LINENO: result: yes" >&5
10754 echo "${ECHO_T}yes" >&6; }
10755 else
10756 { echo "$as_me:$LINENO: result: no" >&5
10757 echo "${ECHO_T}no" >&6; }
10758 fi
10759
10760
10761 enablestring=
10762 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tbarnative" >&5
10763 echo $ECHO_N "checking for --${enablestring:-enable}-tbarnative... $ECHO_C" >&6; }
10764 no_cache=0
10765 # Check whether --enable-tbarnative was given.
10766 if test "${enable_tbarnative+set}" = set; then
10767 enableval=$enable_tbarnative;
10768 if test "$enableval" = yes; then
10769 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=yes'
10770 else
10771 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE=no'
10772 fi
10773
10774 else
10775
10776 LINE=`grep "wxUSE_TOOLBAR_NATIVE" ${wx_arg_cache_file}`
10777 if test "x$LINE" != x ; then
10778 eval "DEFAULT_$LINE"
10779 else
10780 no_cache=1
10781 fi
10782
10783 ac_cv_use_tbarnative='wxUSE_TOOLBAR_NATIVE='$DEFAULT_wxUSE_TOOLBAR_NATIVE
10784
10785 fi
10786
10787
10788 eval "$ac_cv_use_tbarnative"
10789 if test "$no_cache" != 1; then
10790 echo $ac_cv_use_tbarnative >> ${wx_arg_cache_file}.tmp
10791 fi
10792
10793 if test "$wxUSE_TOOLBAR_NATIVE" = yes; then
10794 { echo "$as_me:$LINENO: result: yes" >&5
10795 echo "${ECHO_T}yes" >&6; }
10796 else
10797 { echo "$as_me:$LINENO: result: no" >&5
10798 echo "${ECHO_T}no" >&6; }
10799 fi
10800
10801
10802 enablestring=
10803 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treebook" >&5
10804 echo $ECHO_N "checking for --${enablestring:-enable}-treebook... $ECHO_C" >&6; }
10805 no_cache=0
10806 # Check whether --enable-treebook was given.
10807 if test "${enable_treebook+set}" = set; then
10808 enableval=$enable_treebook;
10809 if test "$enableval" = yes; then
10810 ac_cv_use_treebook='wxUSE_TREEBOOK=yes'
10811 else
10812 ac_cv_use_treebook='wxUSE_TREEBOOK=no'
10813 fi
10814
10815 else
10816
10817 LINE=`grep "wxUSE_TREEBOOK" ${wx_arg_cache_file}`
10818 if test "x$LINE" != x ; then
10819 eval "DEFAULT_$LINE"
10820 else
10821 no_cache=1
10822 fi
10823
10824 ac_cv_use_treebook='wxUSE_TREEBOOK='$DEFAULT_wxUSE_TREEBOOK
10825
10826 fi
10827
10828
10829 eval "$ac_cv_use_treebook"
10830 if test "$no_cache" != 1; then
10831 echo $ac_cv_use_treebook >> ${wx_arg_cache_file}.tmp
10832 fi
10833
10834 if test "$wxUSE_TREEBOOK" = yes; then
10835 { echo "$as_me:$LINENO: result: yes" >&5
10836 echo "${ECHO_T}yes" >&6; }
10837 else
10838 { echo "$as_me:$LINENO: result: no" >&5
10839 echo "${ECHO_T}no" >&6; }
10840 fi
10841
10842
10843 enablestring=
10844 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-toolbook" >&5
10845 echo $ECHO_N "checking for --${enablestring:-enable}-toolbook... $ECHO_C" >&6; }
10846 no_cache=0
10847 # Check whether --enable-toolbook was given.
10848 if test "${enable_toolbook+set}" = set; then
10849 enableval=$enable_toolbook;
10850 if test "$enableval" = yes; then
10851 ac_cv_use_toolbook='wxUSE_TOOLBOOK=yes'
10852 else
10853 ac_cv_use_toolbook='wxUSE_TOOLBOOK=no'
10854 fi
10855
10856 else
10857
10858 LINE=`grep "wxUSE_TOOLBOOK" ${wx_arg_cache_file}`
10859 if test "x$LINE" != x ; then
10860 eval "DEFAULT_$LINE"
10861 else
10862 no_cache=1
10863 fi
10864
10865 ac_cv_use_toolbook='wxUSE_TOOLBOOK='$DEFAULT_wxUSE_TOOLBOOK
10866
10867 fi
10868
10869
10870 eval "$ac_cv_use_toolbook"
10871 if test "$no_cache" != 1; then
10872 echo $ac_cv_use_toolbook >> ${wx_arg_cache_file}.tmp
10873 fi
10874
10875 if test "$wxUSE_TOOLBOOK" = yes; then
10876 { echo "$as_me:$LINENO: result: yes" >&5
10877 echo "${ECHO_T}yes" >&6; }
10878 else
10879 { echo "$as_me:$LINENO: result: no" >&5
10880 echo "${ECHO_T}no" >&6; }
10881 fi
10882
10883
10884 enablestring=
10885 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-treectrl" >&5
10886 echo $ECHO_N "checking for --${enablestring:-enable}-treectrl... $ECHO_C" >&6; }
10887 no_cache=0
10888 # Check whether --enable-treectrl was given.
10889 if test "${enable_treectrl+set}" = set; then
10890 enableval=$enable_treectrl;
10891 if test "$enableval" = yes; then
10892 ac_cv_use_treectrl='wxUSE_TREECTRL=yes'
10893 else
10894 ac_cv_use_treectrl='wxUSE_TREECTRL=no'
10895 fi
10896
10897 else
10898
10899 LINE=`grep "wxUSE_TREECTRL" ${wx_arg_cache_file}`
10900 if test "x$LINE" != x ; then
10901 eval "DEFAULT_$LINE"
10902 else
10903 no_cache=1
10904 fi
10905
10906 ac_cv_use_treectrl='wxUSE_TREECTRL='$DEFAULT_wxUSE_TREECTRL
10907
10908 fi
10909
10910
10911 eval "$ac_cv_use_treectrl"
10912 if test "$no_cache" != 1; then
10913 echo $ac_cv_use_treectrl >> ${wx_arg_cache_file}.tmp
10914 fi
10915
10916 if test "$wxUSE_TREECTRL" = yes; then
10917 { echo "$as_me:$LINENO: result: yes" >&5
10918 echo "${ECHO_T}yes" >&6; }
10919 else
10920 { echo "$as_me:$LINENO: result: no" >&5
10921 echo "${ECHO_T}no" >&6; }
10922 fi
10923
10924
10925 enablestring=
10926 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipwindow" >&5
10927 echo $ECHO_N "checking for --${enablestring:-enable}-tipwindow... $ECHO_C" >&6; }
10928 no_cache=0
10929 # Check whether --enable-tipwindow was given.
10930 if test "${enable_tipwindow+set}" = set; then
10931 enableval=$enable_tipwindow;
10932 if test "$enableval" = yes; then
10933 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=yes'
10934 else
10935 ac_cv_use_tipwindow='wxUSE_TIPWINDOW=no'
10936 fi
10937
10938 else
10939
10940 LINE=`grep "wxUSE_TIPWINDOW" ${wx_arg_cache_file}`
10941 if test "x$LINE" != x ; then
10942 eval "DEFAULT_$LINE"
10943 else
10944 no_cache=1
10945 fi
10946
10947 ac_cv_use_tipwindow='wxUSE_TIPWINDOW='$DEFAULT_wxUSE_TIPWINDOW
10948
10949 fi
10950
10951
10952 eval "$ac_cv_use_tipwindow"
10953 if test "$no_cache" != 1; then
10954 echo $ac_cv_use_tipwindow >> ${wx_arg_cache_file}.tmp
10955 fi
10956
10957 if test "$wxUSE_TIPWINDOW" = yes; then
10958 { echo "$as_me:$LINENO: result: yes" >&5
10959 echo "${ECHO_T}yes" >&6; }
10960 else
10961 { echo "$as_me:$LINENO: result: no" >&5
10962 echo "${ECHO_T}no" >&6; }
10963 fi
10964
10965
10966 enablestring=
10967 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-popupwin" >&5
10968 echo $ECHO_N "checking for --${enablestring:-enable}-popupwin... $ECHO_C" >&6; }
10969 no_cache=0
10970 # Check whether --enable-popupwin was given.
10971 if test "${enable_popupwin+set}" = set; then
10972 enableval=$enable_popupwin;
10973 if test "$enableval" = yes; then
10974 ac_cv_use_popupwin='wxUSE_POPUPWIN=yes'
10975 else
10976 ac_cv_use_popupwin='wxUSE_POPUPWIN=no'
10977 fi
10978
10979 else
10980
10981 LINE=`grep "wxUSE_POPUPWIN" ${wx_arg_cache_file}`
10982 if test "x$LINE" != x ; then
10983 eval "DEFAULT_$LINE"
10984 else
10985 no_cache=1
10986 fi
10987
10988 ac_cv_use_popupwin='wxUSE_POPUPWIN='$DEFAULT_wxUSE_POPUPWIN
10989
10990 fi
10991
10992
10993 eval "$ac_cv_use_popupwin"
10994 if test "$no_cache" != 1; then
10995 echo $ac_cv_use_popupwin >> ${wx_arg_cache_file}.tmp
10996 fi
10997
10998 if test "$wxUSE_POPUPWIN" = yes; then
10999 { echo "$as_me:$LINENO: result: yes" >&5
11000 echo "${ECHO_T}yes" >&6; }
11001 else
11002 { echo "$as_me:$LINENO: result: no" >&5
11003 echo "${ECHO_T}no" >&6; }
11004 fi
11005
11006
11007
11008
11009 enablestring=
11010 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-commondlg" >&5
11011 echo $ECHO_N "checking for --${enablestring:-enable}-commondlg... $ECHO_C" >&6; }
11012 no_cache=0
11013 # Check whether --enable-commondlg was given.
11014 if test "${enable_commondlg+set}" = set; then
11015 enableval=$enable_commondlg;
11016 if test "$enableval" = yes; then
11017 ac_cv_use_commondlg='wxUSE_COMMONDLGS=yes'
11018 else
11019 ac_cv_use_commondlg='wxUSE_COMMONDLGS=no'
11020 fi
11021
11022 else
11023
11024 LINE=`grep "wxUSE_COMMONDLGS" ${wx_arg_cache_file}`
11025 if test "x$LINE" != x ; then
11026 eval "DEFAULT_$LINE"
11027 else
11028 no_cache=1
11029 fi
11030
11031 ac_cv_use_commondlg='wxUSE_COMMONDLGS='$DEFAULT_wxUSE_COMMONDLGS
11032
11033 fi
11034
11035
11036 eval "$ac_cv_use_commondlg"
11037 if test "$no_cache" != 1; then
11038 echo $ac_cv_use_commondlg >> ${wx_arg_cache_file}.tmp
11039 fi
11040
11041 if test "$wxUSE_COMMONDLGS" = yes; then
11042 { echo "$as_me:$LINENO: result: yes" >&5
11043 echo "${ECHO_T}yes" >&6; }
11044 else
11045 { echo "$as_me:$LINENO: result: no" >&5
11046 echo "${ECHO_T}no" >&6; }
11047 fi
11048
11049
11050 enablestring=
11051 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-aboutdlg" >&5
11052 echo $ECHO_N "checking for --${enablestring:-enable}-aboutdlg... $ECHO_C" >&6; }
11053 no_cache=0
11054 # Check whether --enable-aboutdlg was given.
11055 if test "${enable_aboutdlg+set}" = set; then
11056 enableval=$enable_aboutdlg;
11057 if test "$enableval" = yes; then
11058 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=yes'
11059 else
11060 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG=no'
11061 fi
11062
11063 else
11064
11065 LINE=`grep "wxUSE_ABOUTDLG" ${wx_arg_cache_file}`
11066 if test "x$LINE" != x ; then
11067 eval "DEFAULT_$LINE"
11068 else
11069 no_cache=1
11070 fi
11071
11072 ac_cv_use_aboutdlg='wxUSE_ABOUTDLG='$DEFAULT_wxUSE_ABOUTDLG
11073
11074 fi
11075
11076
11077 eval "$ac_cv_use_aboutdlg"
11078 if test "$no_cache" != 1; then
11079 echo $ac_cv_use_aboutdlg >> ${wx_arg_cache_file}.tmp
11080 fi
11081
11082 if test "$wxUSE_ABOUTDLG" = yes; then
11083 { echo "$as_me:$LINENO: result: yes" >&5
11084 echo "${ECHO_T}yes" >&6; }
11085 else
11086 { echo "$as_me:$LINENO: result: no" >&5
11087 echo "${ECHO_T}no" >&6; }
11088 fi
11089
11090
11091 enablestring=
11092 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-choicedlg" >&5
11093 echo $ECHO_N "checking for --${enablestring:-enable}-choicedlg... $ECHO_C" >&6; }
11094 no_cache=0
11095 # Check whether --enable-choicedlg was given.
11096 if test "${enable_choicedlg+set}" = set; then
11097 enableval=$enable_choicedlg;
11098 if test "$enableval" = yes; then
11099 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=yes'
11100 else
11101 ac_cv_use_choicedlg='wxUSE_CHOICEDLG=no'
11102 fi
11103
11104 else
11105
11106 LINE=`grep "wxUSE_CHOICEDLG" ${wx_arg_cache_file}`
11107 if test "x$LINE" != x ; then
11108 eval "DEFAULT_$LINE"
11109 else
11110 no_cache=1
11111 fi
11112
11113 ac_cv_use_choicedlg='wxUSE_CHOICEDLG='$DEFAULT_wxUSE_CHOICEDLG
11114
11115 fi
11116
11117
11118 eval "$ac_cv_use_choicedlg"
11119 if test "$no_cache" != 1; then
11120 echo $ac_cv_use_choicedlg >> ${wx_arg_cache_file}.tmp
11121 fi
11122
11123 if test "$wxUSE_CHOICEDLG" = yes; then
11124 { echo "$as_me:$LINENO: result: yes" >&5
11125 echo "${ECHO_T}yes" >&6; }
11126 else
11127 { echo "$as_me:$LINENO: result: no" >&5
11128 echo "${ECHO_T}no" >&6; }
11129 fi
11130
11131
11132 enablestring=
11133 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-coldlg" >&5
11134 echo $ECHO_N "checking for --${enablestring:-enable}-coldlg... $ECHO_C" >&6; }
11135 no_cache=0
11136 # Check whether --enable-coldlg was given.
11137 if test "${enable_coldlg+set}" = set; then
11138 enableval=$enable_coldlg;
11139 if test "$enableval" = yes; then
11140 ac_cv_use_coldlg='wxUSE_COLOURDLG=yes'
11141 else
11142 ac_cv_use_coldlg='wxUSE_COLOURDLG=no'
11143 fi
11144
11145 else
11146
11147 LINE=`grep "wxUSE_COLOURDLG" ${wx_arg_cache_file}`
11148 if test "x$LINE" != x ; then
11149 eval "DEFAULT_$LINE"
11150 else
11151 no_cache=1
11152 fi
11153
11154 ac_cv_use_coldlg='wxUSE_COLOURDLG='$DEFAULT_wxUSE_COLOURDLG
11155
11156 fi
11157
11158
11159 eval "$ac_cv_use_coldlg"
11160 if test "$no_cache" != 1; then
11161 echo $ac_cv_use_coldlg >> ${wx_arg_cache_file}.tmp
11162 fi
11163
11164 if test "$wxUSE_COLOURDLG" = yes; then
11165 { echo "$as_me:$LINENO: result: yes" >&5
11166 echo "${ECHO_T}yes" >&6; }
11167 else
11168 { echo "$as_me:$LINENO: result: no" >&5
11169 echo "${ECHO_T}no" >&6; }
11170 fi
11171
11172
11173 enablestring=
11174 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-filedlg" >&5
11175 echo $ECHO_N "checking for --${enablestring:-enable}-filedlg... $ECHO_C" >&6; }
11176 no_cache=0
11177 # Check whether --enable-filedlg was given.
11178 if test "${enable_filedlg+set}" = set; then
11179 enableval=$enable_filedlg;
11180 if test "$enableval" = yes; then
11181 ac_cv_use_filedlg='wxUSE_FILEDLG=yes'
11182 else
11183 ac_cv_use_filedlg='wxUSE_FILEDLG=no'
11184 fi
11185
11186 else
11187
11188 LINE=`grep "wxUSE_FILEDLG" ${wx_arg_cache_file}`
11189 if test "x$LINE" != x ; then
11190 eval "DEFAULT_$LINE"
11191 else
11192 no_cache=1
11193 fi
11194
11195 ac_cv_use_filedlg='wxUSE_FILEDLG='$DEFAULT_wxUSE_FILEDLG
11196
11197 fi
11198
11199
11200 eval "$ac_cv_use_filedlg"
11201 if test "$no_cache" != 1; then
11202 echo $ac_cv_use_filedlg >> ${wx_arg_cache_file}.tmp
11203 fi
11204
11205 if test "$wxUSE_FILEDLG" = yes; then
11206 { echo "$as_me:$LINENO: result: yes" >&5
11207 echo "${ECHO_T}yes" >&6; }
11208 else
11209 { echo "$as_me:$LINENO: result: no" >&5
11210 echo "${ECHO_T}no" >&6; }
11211 fi
11212
11213
11214 enablestring=
11215 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-finddlg" >&5
11216 echo $ECHO_N "checking for --${enablestring:-enable}-finddlg... $ECHO_C" >&6; }
11217 no_cache=0
11218 # Check whether --enable-finddlg was given.
11219 if test "${enable_finddlg+set}" = set; then
11220 enableval=$enable_finddlg;
11221 if test "$enableval" = yes; then
11222 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=yes'
11223 else
11224 ac_cv_use_finddlg='wxUSE_FINDREPLDLG=no'
11225 fi
11226
11227 else
11228
11229 LINE=`grep "wxUSE_FINDREPLDLG" ${wx_arg_cache_file}`
11230 if test "x$LINE" != x ; then
11231 eval "DEFAULT_$LINE"
11232 else
11233 no_cache=1
11234 fi
11235
11236 ac_cv_use_finddlg='wxUSE_FINDREPLDLG='$DEFAULT_wxUSE_FINDREPLDLG
11237
11238 fi
11239
11240
11241 eval "$ac_cv_use_finddlg"
11242 if test "$no_cache" != 1; then
11243 echo $ac_cv_use_finddlg >> ${wx_arg_cache_file}.tmp
11244 fi
11245
11246 if test "$wxUSE_FINDREPLDLG" = yes; then
11247 { echo "$as_me:$LINENO: result: yes" >&5
11248 echo "${ECHO_T}yes" >&6; }
11249 else
11250 { echo "$as_me:$LINENO: result: no" >&5
11251 echo "${ECHO_T}no" >&6; }
11252 fi
11253
11254
11255 enablestring=
11256 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-fontdlg" >&5
11257 echo $ECHO_N "checking for --${enablestring:-enable}-fontdlg... $ECHO_C" >&6; }
11258 no_cache=0
11259 # Check whether --enable-fontdlg was given.
11260 if test "${enable_fontdlg+set}" = set; then
11261 enableval=$enable_fontdlg;
11262 if test "$enableval" = yes; then
11263 ac_cv_use_fontdlg='wxUSE_FONTDLG=yes'
11264 else
11265 ac_cv_use_fontdlg='wxUSE_FONTDLG=no'
11266 fi
11267
11268 else
11269
11270 LINE=`grep "wxUSE_FONTDLG" ${wx_arg_cache_file}`
11271 if test "x$LINE" != x ; then
11272 eval "DEFAULT_$LINE"
11273 else
11274 no_cache=1
11275 fi
11276
11277 ac_cv_use_fontdlg='wxUSE_FONTDLG='$DEFAULT_wxUSE_FONTDLG
11278
11279 fi
11280
11281
11282 eval "$ac_cv_use_fontdlg"
11283 if test "$no_cache" != 1; then
11284 echo $ac_cv_use_fontdlg >> ${wx_arg_cache_file}.tmp
11285 fi
11286
11287 if test "$wxUSE_FONTDLG" = yes; then
11288 { echo "$as_me:$LINENO: result: yes" >&5
11289 echo "${ECHO_T}yes" >&6; }
11290 else
11291 { echo "$as_me:$LINENO: result: no" >&5
11292 echo "${ECHO_T}no" >&6; }
11293 fi
11294
11295
11296 enablestring=
11297 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dirdlg" >&5
11298 echo $ECHO_N "checking for --${enablestring:-enable}-dirdlg... $ECHO_C" >&6; }
11299 no_cache=0
11300 # Check whether --enable-dirdlg was given.
11301 if test "${enable_dirdlg+set}" = set; then
11302 enableval=$enable_dirdlg;
11303 if test "$enableval" = yes; then
11304 ac_cv_use_dirdlg='wxUSE_DIRDLG=yes'
11305 else
11306 ac_cv_use_dirdlg='wxUSE_DIRDLG=no'
11307 fi
11308
11309 else
11310
11311 LINE=`grep "wxUSE_DIRDLG" ${wx_arg_cache_file}`
11312 if test "x$LINE" != x ; then
11313 eval "DEFAULT_$LINE"
11314 else
11315 no_cache=1
11316 fi
11317
11318 ac_cv_use_dirdlg='wxUSE_DIRDLG='$DEFAULT_wxUSE_DIRDLG
11319
11320 fi
11321
11322
11323 eval "$ac_cv_use_dirdlg"
11324 if test "$no_cache" != 1; then
11325 echo $ac_cv_use_dirdlg >> ${wx_arg_cache_file}.tmp
11326 fi
11327
11328 if test "$wxUSE_DIRDLG" = yes; then
11329 { echo "$as_me:$LINENO: result: yes" >&5
11330 echo "${ECHO_T}yes" >&6; }
11331 else
11332 { echo "$as_me:$LINENO: result: no" >&5
11333 echo "${ECHO_T}no" >&6; }
11334 fi
11335
11336
11337 enablestring=
11338 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-msgdlg" >&5
11339 echo $ECHO_N "checking for --${enablestring:-enable}-msgdlg... $ECHO_C" >&6; }
11340 no_cache=0
11341 # Check whether --enable-msgdlg was given.
11342 if test "${enable_msgdlg+set}" = set; then
11343 enableval=$enable_msgdlg;
11344 if test "$enableval" = yes; then
11345 ac_cv_use_msgdlg='wxUSE_MSGDLG=yes'
11346 else
11347 ac_cv_use_msgdlg='wxUSE_MSGDLG=no'
11348 fi
11349
11350 else
11351
11352 LINE=`grep "wxUSE_MSGDLG" ${wx_arg_cache_file}`
11353 if test "x$LINE" != x ; then
11354 eval "DEFAULT_$LINE"
11355 else
11356 no_cache=1
11357 fi
11358
11359 ac_cv_use_msgdlg='wxUSE_MSGDLG='$DEFAULT_wxUSE_MSGDLG
11360
11361 fi
11362
11363
11364 eval "$ac_cv_use_msgdlg"
11365 if test "$no_cache" != 1; then
11366 echo $ac_cv_use_msgdlg >> ${wx_arg_cache_file}.tmp
11367 fi
11368
11369 if test "$wxUSE_MSGDLG" = yes; then
11370 { echo "$as_me:$LINENO: result: yes" >&5
11371 echo "${ECHO_T}yes" >&6; }
11372 else
11373 { echo "$as_me:$LINENO: result: no" >&5
11374 echo "${ECHO_T}no" >&6; }
11375 fi
11376
11377
11378 enablestring=
11379 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-numberdlg" >&5
11380 echo $ECHO_N "checking for --${enablestring:-enable}-numberdlg... $ECHO_C" >&6; }
11381 no_cache=0
11382 # Check whether --enable-numberdlg was given.
11383 if test "${enable_numberdlg+set}" = set; then
11384 enableval=$enable_numberdlg;
11385 if test "$enableval" = yes; then
11386 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=yes'
11387 else
11388 ac_cv_use_numberdlg='wxUSE_NUMBERDLG=no'
11389 fi
11390
11391 else
11392
11393 LINE=`grep "wxUSE_NUMBERDLG" ${wx_arg_cache_file}`
11394 if test "x$LINE" != x ; then
11395 eval "DEFAULT_$LINE"
11396 else
11397 no_cache=1
11398 fi
11399
11400 ac_cv_use_numberdlg='wxUSE_NUMBERDLG='$DEFAULT_wxUSE_NUMBERDLG
11401
11402 fi
11403
11404
11405 eval "$ac_cv_use_numberdlg"
11406 if test "$no_cache" != 1; then
11407 echo $ac_cv_use_numberdlg >> ${wx_arg_cache_file}.tmp
11408 fi
11409
11410 if test "$wxUSE_NUMBERDLG" = yes; then
11411 { echo "$as_me:$LINENO: result: yes" >&5
11412 echo "${ECHO_T}yes" >&6; }
11413 else
11414 { echo "$as_me:$LINENO: result: no" >&5
11415 echo "${ECHO_T}no" >&6; }
11416 fi
11417
11418
11419 enablestring=
11420 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splash" >&5
11421 echo $ECHO_N "checking for --${enablestring:-enable}-splash... $ECHO_C" >&6; }
11422 no_cache=0
11423 # Check whether --enable-splash was given.
11424 if test "${enable_splash+set}" = set; then
11425 enableval=$enable_splash;
11426 if test "$enableval" = yes; then
11427 ac_cv_use_splash='wxUSE_SPLASH=yes'
11428 else
11429 ac_cv_use_splash='wxUSE_SPLASH=no'
11430 fi
11431
11432 else
11433
11434 LINE=`grep "wxUSE_SPLASH" ${wx_arg_cache_file}`
11435 if test "x$LINE" != x ; then
11436 eval "DEFAULT_$LINE"
11437 else
11438 no_cache=1
11439 fi
11440
11441 ac_cv_use_splash='wxUSE_SPLASH='$DEFAULT_wxUSE_SPLASH
11442
11443 fi
11444
11445
11446 eval "$ac_cv_use_splash"
11447 if test "$no_cache" != 1; then
11448 echo $ac_cv_use_splash >> ${wx_arg_cache_file}.tmp
11449 fi
11450
11451 if test "$wxUSE_SPLASH" = yes; then
11452 { echo "$as_me:$LINENO: result: yes" >&5
11453 echo "${ECHO_T}yes" >&6; }
11454 else
11455 { echo "$as_me:$LINENO: result: no" >&5
11456 echo "${ECHO_T}no" >&6; }
11457 fi
11458
11459
11460 enablestring=
11461 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-textdlg" >&5
11462 echo $ECHO_N "checking for --${enablestring:-enable}-textdlg... $ECHO_C" >&6; }
11463 no_cache=0
11464 # Check whether --enable-textdlg was given.
11465 if test "${enable_textdlg+set}" = set; then
11466 enableval=$enable_textdlg;
11467 if test "$enableval" = yes; then
11468 ac_cv_use_textdlg='wxUSE_TEXTDLG=yes'
11469 else
11470 ac_cv_use_textdlg='wxUSE_TEXTDLG=no'
11471 fi
11472
11473 else
11474
11475 LINE=`grep "wxUSE_TEXTDLG" ${wx_arg_cache_file}`
11476 if test "x$LINE" != x ; then
11477 eval "DEFAULT_$LINE"
11478 else
11479 no_cache=1
11480 fi
11481
11482 ac_cv_use_textdlg='wxUSE_TEXTDLG='$DEFAULT_wxUSE_TEXTDLG
11483
11484 fi
11485
11486
11487 eval "$ac_cv_use_textdlg"
11488 if test "$no_cache" != 1; then
11489 echo $ac_cv_use_textdlg >> ${wx_arg_cache_file}.tmp
11490 fi
11491
11492 if test "$wxUSE_TEXTDLG" = yes; then
11493 { echo "$as_me:$LINENO: result: yes" >&5
11494 echo "${ECHO_T}yes" >&6; }
11495 else
11496 { echo "$as_me:$LINENO: result: no" >&5
11497 echo "${ECHO_T}no" >&6; }
11498 fi
11499
11500
11501 enablestring=
11502 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tipdlg" >&5
11503 echo $ECHO_N "checking for --${enablestring:-enable}-tipdlg... $ECHO_C" >&6; }
11504 no_cache=0
11505 # Check whether --enable-tipdlg was given.
11506 if test "${enable_tipdlg+set}" = set; then
11507 enableval=$enable_tipdlg;
11508 if test "$enableval" = yes; then
11509 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=yes'
11510 else
11511 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS=no'
11512 fi
11513
11514 else
11515
11516 LINE=`grep "wxUSE_STARTUP_TIPS" ${wx_arg_cache_file}`
11517 if test "x$LINE" != x ; then
11518 eval "DEFAULT_$LINE"
11519 else
11520 no_cache=1
11521 fi
11522
11523 ac_cv_use_tipdlg='wxUSE_STARTUP_TIPS='$DEFAULT_wxUSE_STARTUP_TIPS
11524
11525 fi
11526
11527
11528 eval "$ac_cv_use_tipdlg"
11529 if test "$no_cache" != 1; then
11530 echo $ac_cv_use_tipdlg >> ${wx_arg_cache_file}.tmp
11531 fi
11532
11533 if test "$wxUSE_STARTUP_TIPS" = yes; then
11534 { echo "$as_me:$LINENO: result: yes" >&5
11535 echo "${ECHO_T}yes" >&6; }
11536 else
11537 { echo "$as_me:$LINENO: result: no" >&5
11538 echo "${ECHO_T}no" >&6; }
11539 fi
11540
11541
11542 enablestring=
11543 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-progressdlg" >&5
11544 echo $ECHO_N "checking for --${enablestring:-enable}-progressdlg... $ECHO_C" >&6; }
11545 no_cache=0
11546 # Check whether --enable-progressdlg was given.
11547 if test "${enable_progressdlg+set}" = set; then
11548 enableval=$enable_progressdlg;
11549 if test "$enableval" = yes; then
11550 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=yes'
11551 else
11552 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG=no'
11553 fi
11554
11555 else
11556
11557 LINE=`grep "wxUSE_PROGRESSDLG" ${wx_arg_cache_file}`
11558 if test "x$LINE" != x ; then
11559 eval "DEFAULT_$LINE"
11560 else
11561 no_cache=1
11562 fi
11563
11564 ac_cv_use_progressdlg='wxUSE_PROGRESSDLG='$DEFAULT_wxUSE_PROGRESSDLG
11565
11566 fi
11567
11568
11569 eval "$ac_cv_use_progressdlg"
11570 if test "$no_cache" != 1; then
11571 echo $ac_cv_use_progressdlg >> ${wx_arg_cache_file}.tmp
11572 fi
11573
11574 if test "$wxUSE_PROGRESSDLG" = yes; then
11575 { echo "$as_me:$LINENO: result: yes" >&5
11576 echo "${ECHO_T}yes" >&6; }
11577 else
11578 { echo "$as_me:$LINENO: result: no" >&5
11579 echo "${ECHO_T}no" >&6; }
11580 fi
11581
11582
11583 enablestring=
11584 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-wizarddlg" >&5
11585 echo $ECHO_N "checking for --${enablestring:-enable}-wizarddlg... $ECHO_C" >&6; }
11586 no_cache=0
11587 # Check whether --enable-wizarddlg was given.
11588 if test "${enable_wizarddlg+set}" = set; then
11589 enableval=$enable_wizarddlg;
11590 if test "$enableval" = yes; then
11591 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=yes'
11592 else
11593 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG=no'
11594 fi
11595
11596 else
11597
11598 LINE=`grep "wxUSE_WIZARDDLG" ${wx_arg_cache_file}`
11599 if test "x$LINE" != x ; then
11600 eval "DEFAULT_$LINE"
11601 else
11602 no_cache=1
11603 fi
11604
11605 ac_cv_use_wizarddlg='wxUSE_WIZARDDLG='$DEFAULT_wxUSE_WIZARDDLG
11606
11607 fi
11608
11609
11610 eval "$ac_cv_use_wizarddlg"
11611 if test "$no_cache" != 1; then
11612 echo $ac_cv_use_wizarddlg >> ${wx_arg_cache_file}.tmp
11613 fi
11614
11615 if test "$wxUSE_WIZARDDLG" = yes; then
11616 { echo "$as_me:$LINENO: result: yes" >&5
11617 echo "${ECHO_T}yes" >&6; }
11618 else
11619 { echo "$as_me:$LINENO: result: no" >&5
11620 echo "${ECHO_T}no" >&6; }
11621 fi
11622
11623
11624
11625
11626 enablestring=
11627 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-menus" >&5
11628 echo $ECHO_N "checking for --${enablestring:-enable}-menus... $ECHO_C" >&6; }
11629 no_cache=0
11630 # Check whether --enable-menus was given.
11631 if test "${enable_menus+set}" = set; then
11632 enableval=$enable_menus;
11633 if test "$enableval" = yes; then
11634 ac_cv_use_menus='wxUSE_MENUS=yes'
11635 else
11636 ac_cv_use_menus='wxUSE_MENUS=no'
11637 fi
11638
11639 else
11640
11641 LINE=`grep "wxUSE_MENUS" ${wx_arg_cache_file}`
11642 if test "x$LINE" != x ; then
11643 eval "DEFAULT_$LINE"
11644 else
11645 no_cache=1
11646 fi
11647
11648 ac_cv_use_menus='wxUSE_MENUS='$DEFAULT_wxUSE_MENUS
11649
11650 fi
11651
11652
11653 eval "$ac_cv_use_menus"
11654 if test "$no_cache" != 1; then
11655 echo $ac_cv_use_menus >> ${wx_arg_cache_file}.tmp
11656 fi
11657
11658 if test "$wxUSE_MENUS" = yes; then
11659 { echo "$as_me:$LINENO: result: yes" >&5
11660 echo "${ECHO_T}yes" >&6; }
11661 else
11662 { echo "$as_me:$LINENO: result: no" >&5
11663 echo "${ECHO_T}no" >&6; }
11664 fi
11665
11666
11667 enablestring=
11668 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-miniframe" >&5
11669 echo $ECHO_N "checking for --${enablestring:-enable}-miniframe... $ECHO_C" >&6; }
11670 no_cache=0
11671 # Check whether --enable-miniframe was given.
11672 if test "${enable_miniframe+set}" = set; then
11673 enableval=$enable_miniframe;
11674 if test "$enableval" = yes; then
11675 ac_cv_use_miniframe='wxUSE_MINIFRAME=yes'
11676 else
11677 ac_cv_use_miniframe='wxUSE_MINIFRAME=no'
11678 fi
11679
11680 else
11681
11682 LINE=`grep "wxUSE_MINIFRAME" ${wx_arg_cache_file}`
11683 if test "x$LINE" != x ; then
11684 eval "DEFAULT_$LINE"
11685 else
11686 no_cache=1
11687 fi
11688
11689 ac_cv_use_miniframe='wxUSE_MINIFRAME='$DEFAULT_wxUSE_MINIFRAME
11690
11691 fi
11692
11693
11694 eval "$ac_cv_use_miniframe"
11695 if test "$no_cache" != 1; then
11696 echo $ac_cv_use_miniframe >> ${wx_arg_cache_file}.tmp
11697 fi
11698
11699 if test "$wxUSE_MINIFRAME" = yes; then
11700 { echo "$as_me:$LINENO: result: yes" >&5
11701 echo "${ECHO_T}yes" >&6; }
11702 else
11703 { echo "$as_me:$LINENO: result: no" >&5
11704 echo "${ECHO_T}no" >&6; }
11705 fi
11706
11707
11708 enablestring=
11709 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tooltips" >&5
11710 echo $ECHO_N "checking for --${enablestring:-enable}-tooltips... $ECHO_C" >&6; }
11711 no_cache=0
11712 # Check whether --enable-tooltips was given.
11713 if test "${enable_tooltips+set}" = set; then
11714 enableval=$enable_tooltips;
11715 if test "$enableval" = yes; then
11716 ac_cv_use_tooltips='wxUSE_TOOLTIPS=yes'
11717 else
11718 ac_cv_use_tooltips='wxUSE_TOOLTIPS=no'
11719 fi
11720
11721 else
11722
11723 LINE=`grep "wxUSE_TOOLTIPS" ${wx_arg_cache_file}`
11724 if test "x$LINE" != x ; then
11725 eval "DEFAULT_$LINE"
11726 else
11727 no_cache=1
11728 fi
11729
11730 ac_cv_use_tooltips='wxUSE_TOOLTIPS='$DEFAULT_wxUSE_TOOLTIPS
11731
11732 fi
11733
11734
11735 eval "$ac_cv_use_tooltips"
11736 if test "$no_cache" != 1; then
11737 echo $ac_cv_use_tooltips >> ${wx_arg_cache_file}.tmp
11738 fi
11739
11740 if test "$wxUSE_TOOLTIPS" = yes; then
11741 { echo "$as_me:$LINENO: result: yes" >&5
11742 echo "${ECHO_T}yes" >&6; }
11743 else
11744 { echo "$as_me:$LINENO: result: no" >&5
11745 echo "${ECHO_T}no" >&6; }
11746 fi
11747
11748
11749 enablestring=
11750 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-splines" >&5
11751 echo $ECHO_N "checking for --${enablestring:-enable}-splines... $ECHO_C" >&6; }
11752 no_cache=0
11753 # Check whether --enable-splines was given.
11754 if test "${enable_splines+set}" = set; then
11755 enableval=$enable_splines;
11756 if test "$enableval" = yes; then
11757 ac_cv_use_splines='wxUSE_SPLINES=yes'
11758 else
11759 ac_cv_use_splines='wxUSE_SPLINES=no'
11760 fi
11761
11762 else
11763
11764 LINE=`grep "wxUSE_SPLINES" ${wx_arg_cache_file}`
11765 if test "x$LINE" != x ; then
11766 eval "DEFAULT_$LINE"
11767 else
11768 no_cache=1
11769 fi
11770
11771 ac_cv_use_splines='wxUSE_SPLINES='$DEFAULT_wxUSE_SPLINES
11772
11773 fi
11774
11775
11776 eval "$ac_cv_use_splines"
11777 if test "$no_cache" != 1; then
11778 echo $ac_cv_use_splines >> ${wx_arg_cache_file}.tmp
11779 fi
11780
11781 if test "$wxUSE_SPLINES" = yes; then
11782 { echo "$as_me:$LINENO: result: yes" >&5
11783 echo "${ECHO_T}yes" >&6; }
11784 else
11785 { echo "$as_me:$LINENO: result: no" >&5
11786 echo "${ECHO_T}no" >&6; }
11787 fi
11788
11789
11790 enablestring=
11791 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-mousewheel" >&5
11792 echo $ECHO_N "checking for --${enablestring:-enable}-mousewheel... $ECHO_C" >&6; }
11793 no_cache=0
11794 # Check whether --enable-mousewheel was given.
11795 if test "${enable_mousewheel+set}" = set; then
11796 enableval=$enable_mousewheel;
11797 if test "$enableval" = yes; then
11798 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=yes'
11799 else
11800 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL=no'
11801 fi
11802
11803 else
11804
11805 LINE=`grep "wxUSE_MOUSEWHEEL" ${wx_arg_cache_file}`
11806 if test "x$LINE" != x ; then
11807 eval "DEFAULT_$LINE"
11808 else
11809 no_cache=1
11810 fi
11811
11812 ac_cv_use_mousewheel='wxUSE_MOUSEWHEEL='$DEFAULT_wxUSE_MOUSEWHEEL
11813
11814 fi
11815
11816
11817 eval "$ac_cv_use_mousewheel"
11818 if test "$no_cache" != 1; then
11819 echo $ac_cv_use_mousewheel >> ${wx_arg_cache_file}.tmp
11820 fi
11821
11822 if test "$wxUSE_MOUSEWHEEL" = yes; then
11823 { echo "$as_me:$LINENO: result: yes" >&5
11824 echo "${ECHO_T}yes" >&6; }
11825 else
11826 { echo "$as_me:$LINENO: result: no" >&5
11827 echo "${ECHO_T}no" >&6; }
11828 fi
11829
11830
11831 enablestring=
11832 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-validators" >&5
11833 echo $ECHO_N "checking for --${enablestring:-enable}-validators... $ECHO_C" >&6; }
11834 no_cache=0
11835 # Check whether --enable-validators was given.
11836 if test "${enable_validators+set}" = set; then
11837 enableval=$enable_validators;
11838 if test "$enableval" = yes; then
11839 ac_cv_use_validators='wxUSE_VALIDATORS=yes'
11840 else
11841 ac_cv_use_validators='wxUSE_VALIDATORS=no'
11842 fi
11843
11844 else
11845
11846 LINE=`grep "wxUSE_VALIDATORS" ${wx_arg_cache_file}`
11847 if test "x$LINE" != x ; then
11848 eval "DEFAULT_$LINE"
11849 else
11850 no_cache=1
11851 fi
11852
11853 ac_cv_use_validators='wxUSE_VALIDATORS='$DEFAULT_wxUSE_VALIDATORS
11854
11855 fi
11856
11857
11858 eval "$ac_cv_use_validators"
11859 if test "$no_cache" != 1; then
11860 echo $ac_cv_use_validators >> ${wx_arg_cache_file}.tmp
11861 fi
11862
11863 if test "$wxUSE_VALIDATORS" = yes; then
11864 { echo "$as_me:$LINENO: result: yes" >&5
11865 echo "${ECHO_T}yes" >&6; }
11866 else
11867 { echo "$as_me:$LINENO: result: no" >&5
11868 echo "${ECHO_T}no" >&6; }
11869 fi
11870
11871
11872 enablestring=
11873 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-busyinfo" >&5
11874 echo $ECHO_N "checking for --${enablestring:-enable}-busyinfo... $ECHO_C" >&6; }
11875 no_cache=0
11876 # Check whether --enable-busyinfo was given.
11877 if test "${enable_busyinfo+set}" = set; then
11878 enableval=$enable_busyinfo;
11879 if test "$enableval" = yes; then
11880 ac_cv_use_busyinfo='wxUSE_BUSYINFO=yes'
11881 else
11882 ac_cv_use_busyinfo='wxUSE_BUSYINFO=no'
11883 fi
11884
11885 else
11886
11887 LINE=`grep "wxUSE_BUSYINFO" ${wx_arg_cache_file}`
11888 if test "x$LINE" != x ; then
11889 eval "DEFAULT_$LINE"
11890 else
11891 no_cache=1
11892 fi
11893
11894 ac_cv_use_busyinfo='wxUSE_BUSYINFO='$DEFAULT_wxUSE_BUSYINFO
11895
11896 fi
11897
11898
11899 eval "$ac_cv_use_busyinfo"
11900 if test "$no_cache" != 1; then
11901 echo $ac_cv_use_busyinfo >> ${wx_arg_cache_file}.tmp
11902 fi
11903
11904 if test "$wxUSE_BUSYINFO" = yes; then
11905 { echo "$as_me:$LINENO: result: yes" >&5
11906 echo "${ECHO_T}yes" >&6; }
11907 else
11908 { echo "$as_me:$LINENO: result: no" >&5
11909 echo "${ECHO_T}no" >&6; }
11910 fi
11911
11912
11913 enablestring=
11914 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-joystick" >&5
11915 echo $ECHO_N "checking for --${enablestring:-enable}-joystick... $ECHO_C" >&6; }
11916 no_cache=0
11917 # Check whether --enable-joystick was given.
11918 if test "${enable_joystick+set}" = set; then
11919 enableval=$enable_joystick;
11920 if test "$enableval" = yes; then
11921 ac_cv_use_joystick='wxUSE_JOYSTICK=yes'
11922 else
11923 ac_cv_use_joystick='wxUSE_JOYSTICK=no'
11924 fi
11925
11926 else
11927
11928 LINE=`grep "wxUSE_JOYSTICK" ${wx_arg_cache_file}`
11929 if test "x$LINE" != x ; then
11930 eval "DEFAULT_$LINE"
11931 else
11932 no_cache=1
11933 fi
11934
11935 ac_cv_use_joystick='wxUSE_JOYSTICK='$DEFAULT_wxUSE_JOYSTICK
11936
11937 fi
11938
11939
11940 eval "$ac_cv_use_joystick"
11941 if test "$no_cache" != 1; then
11942 echo $ac_cv_use_joystick >> ${wx_arg_cache_file}.tmp
11943 fi
11944
11945 if test "$wxUSE_JOYSTICK" = yes; then
11946 { echo "$as_me:$LINENO: result: yes" >&5
11947 echo "${ECHO_T}yes" >&6; }
11948 else
11949 { echo "$as_me:$LINENO: result: no" >&5
11950 echo "${ECHO_T}no" >&6; }
11951 fi
11952
11953
11954 enablestring=
11955 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-metafile" >&5
11956 echo $ECHO_N "checking for --${enablestring:-enable}-metafile... $ECHO_C" >&6; }
11957 no_cache=0
11958 # Check whether --enable-metafile was given.
11959 if test "${enable_metafile+set}" = set; then
11960 enableval=$enable_metafile;
11961 if test "$enableval" = yes; then
11962 ac_cv_use_metafile='wxUSE_METAFILE=yes'
11963 else
11964 ac_cv_use_metafile='wxUSE_METAFILE=no'
11965 fi
11966
11967 else
11968
11969 LINE=`grep "wxUSE_METAFILE" ${wx_arg_cache_file}`
11970 if test "x$LINE" != x ; then
11971 eval "DEFAULT_$LINE"
11972 else
11973 no_cache=1
11974 fi
11975
11976 ac_cv_use_metafile='wxUSE_METAFILE='$DEFAULT_wxUSE_METAFILE
11977
11978 fi
11979
11980
11981 eval "$ac_cv_use_metafile"
11982 if test "$no_cache" != 1; then
11983 echo $ac_cv_use_metafile >> ${wx_arg_cache_file}.tmp
11984 fi
11985
11986 if test "$wxUSE_METAFILE" = yes; then
11987 { echo "$as_me:$LINENO: result: yes" >&5
11988 echo "${ECHO_T}yes" >&6; }
11989 else
11990 { echo "$as_me:$LINENO: result: no" >&5
11991 echo "${ECHO_T}no" >&6; }
11992 fi
11993
11994
11995 enablestring=
11996 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dragimage" >&5
11997 echo $ECHO_N "checking for --${enablestring:-enable}-dragimage... $ECHO_C" >&6; }
11998 no_cache=0
11999 # Check whether --enable-dragimage was given.
12000 if test "${enable_dragimage+set}" = set; then
12001 enableval=$enable_dragimage;
12002 if test "$enableval" = yes; then
12003 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=yes'
12004 else
12005 ac_cv_use_dragimage='wxUSE_DRAGIMAGE=no'
12006 fi
12007
12008 else
12009
12010 LINE=`grep "wxUSE_DRAGIMAGE" ${wx_arg_cache_file}`
12011 if test "x$LINE" != x ; then
12012 eval "DEFAULT_$LINE"
12013 else
12014 no_cache=1
12015 fi
12016
12017 ac_cv_use_dragimage='wxUSE_DRAGIMAGE='$DEFAULT_wxUSE_DRAGIMAGE
12018
12019 fi
12020
12021
12022 eval "$ac_cv_use_dragimage"
12023 if test "$no_cache" != 1; then
12024 echo $ac_cv_use_dragimage >> ${wx_arg_cache_file}.tmp
12025 fi
12026
12027 if test "$wxUSE_DRAGIMAGE" = yes; then
12028 { echo "$as_me:$LINENO: result: yes" >&5
12029 echo "${ECHO_T}yes" >&6; }
12030 else
12031 { echo "$as_me:$LINENO: result: no" >&5
12032 echo "${ECHO_T}no" >&6; }
12033 fi
12034
12035
12036 enablestring=
12037 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-accessibility" >&5
12038 echo $ECHO_N "checking for --${enablestring:-enable}-accessibility... $ECHO_C" >&6; }
12039 no_cache=0
12040 # Check whether --enable-accessibility was given.
12041 if test "${enable_accessibility+set}" = set; then
12042 enableval=$enable_accessibility;
12043 if test "$enableval" = yes; then
12044 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=yes'
12045 else
12046 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY=no'
12047 fi
12048
12049 else
12050
12051 LINE=`grep "wxUSE_ACCESSIBILITY" ${wx_arg_cache_file}`
12052 if test "x$LINE" != x ; then
12053 eval "DEFAULT_$LINE"
12054 else
12055 no_cache=1
12056 fi
12057
12058 ac_cv_use_accessibility='wxUSE_ACCESSIBILITY='$DEFAULT_wxUSE_ACCESSIBILITY
12059
12060 fi
12061
12062
12063 eval "$ac_cv_use_accessibility"
12064 if test "$no_cache" != 1; then
12065 echo $ac_cv_use_accessibility >> ${wx_arg_cache_file}.tmp
12066 fi
12067
12068 if test "$wxUSE_ACCESSIBILITY" = yes; then
12069 { echo "$as_me:$LINENO: result: yes" >&5
12070 echo "${ECHO_T}yes" >&6; }
12071 else
12072 { echo "$as_me:$LINENO: result: no" >&5
12073 echo "${ECHO_T}no" >&6; }
12074 fi
12075
12076
12077 if test "$wxUSE_MSW" = "1"; then
12078
12079 enablestring=
12080 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-dccache" >&5
12081 echo $ECHO_N "checking for --${enablestring:-enable}-dccache... $ECHO_C" >&6; }
12082 no_cache=0
12083 # Check whether --enable-dccache was given.
12084 if test "${enable_dccache+set}" = set; then
12085 enableval=$enable_dccache;
12086 if test "$enableval" = yes; then
12087 ac_cv_use_dccache='wxUSE_DC_CACHEING=yes'
12088 else
12089 ac_cv_use_dccache='wxUSE_DC_CACHEING=no'
12090 fi
12091
12092 else
12093
12094 LINE=`grep "wxUSE_DC_CACHEING" ${wx_arg_cache_file}`
12095 if test "x$LINE" != x ; then
12096 eval "DEFAULT_$LINE"
12097 else
12098 no_cache=1
12099 fi
12100
12101 ac_cv_use_dccache='wxUSE_DC_CACHEING='$DEFAULT_wxUSE_DC_CACHEING
12102
12103 fi
12104
12105
12106 eval "$ac_cv_use_dccache"
12107 if test "$no_cache" != 1; then
12108 echo $ac_cv_use_dccache >> ${wx_arg_cache_file}.tmp
12109 fi
12110
12111 if test "$wxUSE_DC_CACHEING" = yes; then
12112 { echo "$as_me:$LINENO: result: yes" >&5
12113 echo "${ECHO_T}yes" >&6; }
12114 else
12115 { echo "$as_me:$LINENO: result: no" >&5
12116 echo "${ECHO_T}no" >&6; }
12117 fi
12118
12119 fi
12120
12121
12122
12123 enablestring=
12124 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-palette" >&5
12125 echo $ECHO_N "checking for --${enablestring:-enable}-palette... $ECHO_C" >&6; }
12126 no_cache=0
12127 # Check whether --enable-palette was given.
12128 if test "${enable_palette+set}" = set; then
12129 enableval=$enable_palette;
12130 if test "$enableval" = yes; then
12131 ac_cv_use_palette='wxUSE_PALETTE=yes'
12132 else
12133 ac_cv_use_palette='wxUSE_PALETTE=no'
12134 fi
12135
12136 else
12137
12138 LINE=`grep "wxUSE_PALETTE" ${wx_arg_cache_file}`
12139 if test "x$LINE" != x ; then
12140 eval "DEFAULT_$LINE"
12141 else
12142 no_cache=1
12143 fi
12144
12145 ac_cv_use_palette='wxUSE_PALETTE='$DEFAULT_wxUSE_PALETTE
12146
12147 fi
12148
12149
12150 eval "$ac_cv_use_palette"
12151 if test "$no_cache" != 1; then
12152 echo $ac_cv_use_palette >> ${wx_arg_cache_file}.tmp
12153 fi
12154
12155 if test "$wxUSE_PALETTE" = yes; then
12156 { echo "$as_me:$LINENO: result: yes" >&5
12157 echo "${ECHO_T}yes" >&6; }
12158 else
12159 { echo "$as_me:$LINENO: result: no" >&5
12160 echo "${ECHO_T}no" >&6; }
12161 fi
12162
12163
12164 enablestring=
12165 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-image" >&5
12166 echo $ECHO_N "checking for --${enablestring:-enable}-image... $ECHO_C" >&6; }
12167 no_cache=0
12168 # Check whether --enable-image was given.
12169 if test "${enable_image+set}" = set; then
12170 enableval=$enable_image;
12171 if test "$enableval" = yes; then
12172 ac_cv_use_image='wxUSE_IMAGE=yes'
12173 else
12174 ac_cv_use_image='wxUSE_IMAGE=no'
12175 fi
12176
12177 else
12178
12179 LINE=`grep "wxUSE_IMAGE" ${wx_arg_cache_file}`
12180 if test "x$LINE" != x ; then
12181 eval "DEFAULT_$LINE"
12182 else
12183 no_cache=1
12184 fi
12185
12186 ac_cv_use_image='wxUSE_IMAGE='$DEFAULT_wxUSE_IMAGE
12187
12188 fi
12189
12190
12191 eval "$ac_cv_use_image"
12192 if test "$no_cache" != 1; then
12193 echo $ac_cv_use_image >> ${wx_arg_cache_file}.tmp
12194 fi
12195
12196 if test "$wxUSE_IMAGE" = yes; then
12197 { echo "$as_me:$LINENO: result: yes" >&5
12198 echo "${ECHO_T}yes" >&6; }
12199 else
12200 { echo "$as_me:$LINENO: result: no" >&5
12201 echo "${ECHO_T}no" >&6; }
12202 fi
12203
12204
12205 enablestring=
12206 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-gif" >&5
12207 echo $ECHO_N "checking for --${enablestring:-enable}-gif... $ECHO_C" >&6; }
12208 no_cache=0
12209 # Check whether --enable-gif was given.
12210 if test "${enable_gif+set}" = set; then
12211 enableval=$enable_gif;
12212 if test "$enableval" = yes; then
12213 ac_cv_use_gif='wxUSE_GIF=yes'
12214 else
12215 ac_cv_use_gif='wxUSE_GIF=no'
12216 fi
12217
12218 else
12219
12220 LINE=`grep "wxUSE_GIF" ${wx_arg_cache_file}`
12221 if test "x$LINE" != x ; then
12222 eval "DEFAULT_$LINE"
12223 else
12224 no_cache=1
12225 fi
12226
12227 ac_cv_use_gif='wxUSE_GIF='$DEFAULT_wxUSE_GIF
12228
12229 fi
12230
12231
12232 eval "$ac_cv_use_gif"
12233 if test "$no_cache" != 1; then
12234 echo $ac_cv_use_gif >> ${wx_arg_cache_file}.tmp
12235 fi
12236
12237 if test "$wxUSE_GIF" = yes; then
12238 { echo "$as_me:$LINENO: result: yes" >&5
12239 echo "${ECHO_T}yes" >&6; }
12240 else
12241 { echo "$as_me:$LINENO: result: no" >&5
12242 echo "${ECHO_T}no" >&6; }
12243 fi
12244
12245
12246 enablestring=
12247 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pcx" >&5
12248 echo $ECHO_N "checking for --${enablestring:-enable}-pcx... $ECHO_C" >&6; }
12249 no_cache=0
12250 # Check whether --enable-pcx was given.
12251 if test "${enable_pcx+set}" = set; then
12252 enableval=$enable_pcx;
12253 if test "$enableval" = yes; then
12254 ac_cv_use_pcx='wxUSE_PCX=yes'
12255 else
12256 ac_cv_use_pcx='wxUSE_PCX=no'
12257 fi
12258
12259 else
12260
12261 LINE=`grep "wxUSE_PCX" ${wx_arg_cache_file}`
12262 if test "x$LINE" != x ; then
12263 eval "DEFAULT_$LINE"
12264 else
12265 no_cache=1
12266 fi
12267
12268 ac_cv_use_pcx='wxUSE_PCX='$DEFAULT_wxUSE_PCX
12269
12270 fi
12271
12272
12273 eval "$ac_cv_use_pcx"
12274 if test "$no_cache" != 1; then
12275 echo $ac_cv_use_pcx >> ${wx_arg_cache_file}.tmp
12276 fi
12277
12278 if test "$wxUSE_PCX" = yes; then
12279 { echo "$as_me:$LINENO: result: yes" >&5
12280 echo "${ECHO_T}yes" >&6; }
12281 else
12282 { echo "$as_me:$LINENO: result: no" >&5
12283 echo "${ECHO_T}no" >&6; }
12284 fi
12285
12286
12287 enablestring=
12288 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-tga" >&5
12289 echo $ECHO_N "checking for --${enablestring:-enable}-tga... $ECHO_C" >&6; }
12290 no_cache=0
12291 # Check whether --enable-tga was given.
12292 if test "${enable_tga+set}" = set; then
12293 enableval=$enable_tga;
12294 if test "$enableval" = yes; then
12295 ac_cv_use_tga='wxUSE_TGA=yes'
12296 else
12297 ac_cv_use_tga='wxUSE_TGA=no'
12298 fi
12299
12300 else
12301
12302 LINE=`grep "wxUSE_TGA" ${wx_arg_cache_file}`
12303 if test "x$LINE" != x ; then
12304 eval "DEFAULT_$LINE"
12305 else
12306 no_cache=1
12307 fi
12308
12309 ac_cv_use_tga='wxUSE_TGA='$DEFAULT_wxUSE_TGA
12310
12311 fi
12312
12313
12314 eval "$ac_cv_use_tga"
12315 if test "$no_cache" != 1; then
12316 echo $ac_cv_use_tga >> ${wx_arg_cache_file}.tmp
12317 fi
12318
12319 if test "$wxUSE_TGA" = yes; then
12320 { echo "$as_me:$LINENO: result: yes" >&5
12321 echo "${ECHO_T}yes" >&6; }
12322 else
12323 { echo "$as_me:$LINENO: result: no" >&5
12324 echo "${ECHO_T}no" >&6; }
12325 fi
12326
12327
12328 enablestring=
12329 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-iff" >&5
12330 echo $ECHO_N "checking for --${enablestring:-enable}-iff... $ECHO_C" >&6; }
12331 no_cache=0
12332 # Check whether --enable-iff was given.
12333 if test "${enable_iff+set}" = set; then
12334 enableval=$enable_iff;
12335 if test "$enableval" = yes; then
12336 ac_cv_use_iff='wxUSE_IFF=yes'
12337 else
12338 ac_cv_use_iff='wxUSE_IFF=no'
12339 fi
12340
12341 else
12342
12343 LINE=`grep "wxUSE_IFF" ${wx_arg_cache_file}`
12344 if test "x$LINE" != x ; then
12345 eval "DEFAULT_$LINE"
12346 else
12347 no_cache=1
12348 fi
12349
12350 ac_cv_use_iff='wxUSE_IFF='$DEFAULT_wxUSE_IFF
12351
12352 fi
12353
12354
12355 eval "$ac_cv_use_iff"
12356 if test "$no_cache" != 1; then
12357 echo $ac_cv_use_iff >> ${wx_arg_cache_file}.tmp
12358 fi
12359
12360 if test "$wxUSE_IFF" = yes; then
12361 { echo "$as_me:$LINENO: result: yes" >&5
12362 echo "${ECHO_T}yes" >&6; }
12363 else
12364 { echo "$as_me:$LINENO: result: no" >&5
12365 echo "${ECHO_T}no" >&6; }
12366 fi
12367
12368
12369 enablestring=
12370 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-pnm" >&5
12371 echo $ECHO_N "checking for --${enablestring:-enable}-pnm... $ECHO_C" >&6; }
12372 no_cache=0
12373 # Check whether --enable-pnm was given.
12374 if test "${enable_pnm+set}" = set; then
12375 enableval=$enable_pnm;
12376 if test "$enableval" = yes; then
12377 ac_cv_use_pnm='wxUSE_PNM=yes'
12378 else
12379 ac_cv_use_pnm='wxUSE_PNM=no'
12380 fi
12381
12382 else
12383
12384 LINE=`grep "wxUSE_PNM" ${wx_arg_cache_file}`
12385 if test "x$LINE" != x ; then
12386 eval "DEFAULT_$LINE"
12387 else
12388 no_cache=1
12389 fi
12390
12391 ac_cv_use_pnm='wxUSE_PNM='$DEFAULT_wxUSE_PNM
12392
12393 fi
12394
12395
12396 eval "$ac_cv_use_pnm"
12397 if test "$no_cache" != 1; then
12398 echo $ac_cv_use_pnm >> ${wx_arg_cache_file}.tmp
12399 fi
12400
12401 if test "$wxUSE_PNM" = yes; then
12402 { echo "$as_me:$LINENO: result: yes" >&5
12403 echo "${ECHO_T}yes" >&6; }
12404 else
12405 { echo "$as_me:$LINENO: result: no" >&5
12406 echo "${ECHO_T}no" >&6; }
12407 fi
12408
12409
12410 enablestring=
12411 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-xpm" >&5
12412 echo $ECHO_N "checking for --${enablestring:-enable}-xpm... $ECHO_C" >&6; }
12413 no_cache=0
12414 # Check whether --enable-xpm was given.
12415 if test "${enable_xpm+set}" = set; then
12416 enableval=$enable_xpm;
12417 if test "$enableval" = yes; then
12418 ac_cv_use_xpm='wxUSE_XPM=yes'
12419 else
12420 ac_cv_use_xpm='wxUSE_XPM=no'
12421 fi
12422
12423 else
12424
12425 LINE=`grep "wxUSE_XPM" ${wx_arg_cache_file}`
12426 if test "x$LINE" != x ; then
12427 eval "DEFAULT_$LINE"
12428 else
12429 no_cache=1
12430 fi
12431
12432 ac_cv_use_xpm='wxUSE_XPM='$DEFAULT_wxUSE_XPM
12433
12434 fi
12435
12436
12437 eval "$ac_cv_use_xpm"
12438 if test "$no_cache" != 1; then
12439 echo $ac_cv_use_xpm >> ${wx_arg_cache_file}.tmp
12440 fi
12441
12442 if test "$wxUSE_XPM" = yes; then
12443 { echo "$as_me:$LINENO: result: yes" >&5
12444 echo "${ECHO_T}yes" >&6; }
12445 else
12446 { echo "$as_me:$LINENO: result: no" >&5
12447 echo "${ECHO_T}no" >&6; }
12448 fi
12449
12450
12451 enablestring=
12452 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-ico_cur" >&5
12453 echo $ECHO_N "checking for --${enablestring:-enable}-ico_cur... $ECHO_C" >&6; }
12454 no_cache=0
12455 # Check whether --enable-ico_cur was given.
12456 if test "${enable_ico_cur+set}" = set; then
12457 enableval=$enable_ico_cur;
12458 if test "$enableval" = yes; then
12459 ac_cv_use_ico_cur='wxUSE_ICO_CUR=yes'
12460 else
12461 ac_cv_use_ico_cur='wxUSE_ICO_CUR=no'
12462 fi
12463
12464 else
12465
12466 LINE=`grep "wxUSE_ICO_CUR" ${wx_arg_cache_file}`
12467 if test "x$LINE" != x ; then
12468 eval "DEFAULT_$LINE"
12469 else
12470 no_cache=1
12471 fi
12472
12473 ac_cv_use_ico_cur='wxUSE_ICO_CUR='$DEFAULT_wxUSE_ICO_CUR
12474
12475 fi
12476
12477
12478 eval "$ac_cv_use_ico_cur"
12479 if test "$no_cache" != 1; then
12480 echo $ac_cv_use_ico_cur >> ${wx_arg_cache_file}.tmp
12481 fi
12482
12483 if test "$wxUSE_ICO_CUR" = yes; then
12484 { echo "$as_me:$LINENO: result: yes" >&5
12485 echo "${ECHO_T}yes" >&6; }
12486 else
12487 { echo "$as_me:$LINENO: result: no" >&5
12488 echo "${ECHO_T}no" >&6; }
12489 fi
12490
12491
12492 fi
12493
12494
12495
12496 # Check whether --with-flavour was given.
12497 if test "${with_flavour+set}" = set; then
12498 withval=$with_flavour; WX_FLAVOUR="$withval"
12499 fi
12500
12501
12502
12503
12504 enablestring=
12505 { echo "$as_me:$LINENO: checking for --${enablestring:-enable}-official_build" >&5
12506 echo $ECHO_N "checking for --${enablestring:-enable}-official_build... $ECHO_C" >&6; }
12507 no_cache=0
12508 # Check whether --enable-official_build was given.
12509 if test "${enable_official_build+set}" = set; then
12510 enableval=$enable_official_build;
12511 if test "$enableval" = yes; then
12512 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=yes'
12513 else
12514 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD=no'
12515 fi
12516
12517 else
12518
12519 LINE=`grep "wxUSE_OFFICIAL_BUILD" ${wx_arg_cache_file}`
12520 if test "x$LINE" != x ; then
12521 eval "DEFAULT_$LINE"
12522 else
12523 no_cache=1
12524 fi
12525
12526 ac_cv_use_official_build='wxUSE_OFFICIAL_BUILD='$DEFAULT_wxUSE_OFFICIAL_BUILD
12527
12528 fi
12529
12530
12531 eval "$ac_cv_use_official_build"
12532 if test "$no_cache" != 1; then
12533 echo $ac_cv_use_official_build >> ${wx_arg_cache_file}.tmp
12534 fi
12535
12536 if test "$wxUSE_OFFICIAL_BUILD" = yes; then
12537 { echo "$as_me:$LINENO: result: yes" >&5
12538 echo "${ECHO_T}yes" >&6; }
12539 else
12540 { echo "$as_me:$LINENO: result: no" >&5
12541 echo "${ECHO_T}no" >&6; }
12542 fi
12543
12544 # Check whether --enable-vendor was given.
12545 if test "${enable_vendor+set}" = set; then
12546 enableval=$enable_vendor; VENDOR="$enableval"
12547 fi
12548
12549 if test "x$VENDOR" = "x"; then
12550 VENDOR="custom"
12551 fi
12552
12553
12554
12555
12556 echo "saving argument cache $wx_arg_cache_file"
12557 mv ${wx_arg_cache_file}.tmp ${wx_arg_cache_file}
12558
12559
12560
12561 { echo "$as_me:$LINENO: checking for toolkit" >&5
12562 echo $ECHO_N "checking for toolkit... $ECHO_C" >&6; }
12563
12564 # In Wine, we need to default to MSW, not GTK or MOTIF
12565 if test "$wxUSE_WINE" = "yes"; then
12566 DEFAULT_DEFAULT_wxUSE_GTK=0
12567 DEFAULT_DEFAULT_wxUSE_MOTIF=0
12568 DEFAULT_DEFAULT_wxUSE_MSW=1
12569 wxUSE_SHARED=no
12570 CC=${CC:-winegcc}
12571 CXX=${CXX:-wineg++}
12572 fi
12573
12574
12575 if test "$wxUSE_GUI" = "yes"; then
12576
12577 if test "$USE_BEOS" = 1; then
12578 { { echo "$as_me:$LINENO: error: BeOS GUI is not supported yet, use --disable-gui" >&5
12579 echo "$as_me: error: BeOS GUI is not supported yet, use --disable-gui" >&2;}
12580 { (exit 1); exit 1; }; }
12581 fi
12582
12583 if test "$TOOLKIT_GIVEN" = 1; then
12584 for toolkit in `echo $ALL_TOOLKITS`; do
12585 var=wxUSE_$toolkit
12586 eval "value=\$${var}"
12587 if test "x$value" = "xno"; then
12588 eval "$var=0"
12589 elif test "x$value" != "x"; then
12590 eval "$var=1"
12591 fi
12592
12593 if test "x$value" != "x" -a "x$value" != "xyes" -a "x$value" != "xno"; then
12594 eval "wx${toolkit}_VERSION=$value"
12595 fi
12596 done
12597 else
12598 for toolkit in `echo $ALL_TOOLKITS`; do
12599 if test "$has_toolkit_in_cache" != 1; then
12600 var=DEFAULT_DEFAULT_wxUSE_$toolkit
12601 else
12602 var=DEFAULT_wxUSE_$toolkit
12603
12604 eval "version=\$DEFAULT_wx${toolkit}_VERSION"
12605 if test "x$version" != "x"; then
12606 eval "wx${toolkit}_VERSION=$version"
12607 fi
12608 fi
12609 eval "wxUSE_$toolkit=\$${var}"
12610 done
12611 fi
12612
12613 NUM_TOOLKITS=`expr ${wxUSE_COCOA:-0} + ${wxUSE_GTK:-0} + ${wxUSE_MAC:-0} \
12614 + ${wxUSE_MGL:-0} + ${wxUSE_DFB:-0} + ${wxUSE_MICROWIN:-0} \
12615 + ${wxUSE_MOTIF:-0} + ${wxUSE_MSW:-0} + ${wxUSE_X11:-0}`
12616
12617 case "${host}" in
12618 *-pc-os2_emx | *-pc-os2-emx )
12619 NUM_TOOLKITS=`expr ${NUM_TOOLKITS} + ${wxUSE_PM:-0}`
12620 esac
12621
12622 case "$NUM_TOOLKITS" in
12623 1)
12624 ;;
12625 0)
12626 { { echo "$as_me:$LINENO: error: Please specify a toolkit -- cannot determine the default for ${host}" >&5
12627 echo "$as_me: error: Please specify a toolkit -- cannot determine the default for ${host}" >&2;}
12628 { (exit 1); exit 1; }; }
12629 ;;
12630 *)
12631 { { echo "$as_me:$LINENO: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&5
12632 echo "$as_me: error: Please specify at most one toolkit (maybe some are cached in configarg.cache?)" >&2;}
12633 { (exit 1); exit 1; }; }
12634 esac
12635
12636 # to be removed when --disable-gtk2 isn't needed
12637 if test "x$wxUSE_GTK2" = "xyes"; then
12638 wxGTK_VERSION=2
12639 elif test "x$wxUSE_GTK2" = "xno"; then
12640 wxGTK_VERSION=1
12641 fi
12642
12643 for toolkit in `echo $ALL_TOOLKITS`; do
12644 var=wxUSE_$toolkit
12645 eval "value=\$${var}"
12646 if test "x$value" != x; then
12647 cache_var=CACHE_$toolkit
12648 eval "cache=\$${cache_var}"
12649 if test "$cache" = 1; then
12650 echo "$var=$value" >> ${wx_arg_cache_file}
12651 eval "version=\$wx${toolkit}_VERSION"
12652 if test "x$version" != "x"; then
12653 echo "wx${toolkit}_VERSION=$version" >> ${wx_arg_cache_file}
12654 fi
12655 fi
12656 if test "$value" = 1; then
12657 toolkit_echo=`echo $toolkit | tr "[A-Z]" "[a-z]"`
12658 { echo "$as_me:$LINENO: result: $toolkit_echo" >&5
12659 echo "${ECHO_T}$toolkit_echo" >&6; }
12660 fi
12661 fi
12662 done
12663 else
12664 if test "x$host_alias" != "x"; then
12665 { echo "$as_me:$LINENO: result: base ($host_alias hosted) only" >&5
12666 echo "${ECHO_T}base ($host_alias hosted) only" >&6; }
12667 else
12668 { echo "$as_me:$LINENO: result: base only" >&5
12669 echo "${ECHO_T}base only" >&6; }
12670 fi
12671 fi
12672
12673
12674 cat >confcache <<\_ACEOF
12675 # This file is a shell script that caches the results of configure
12676 # tests run on this system so they can be shared between configure
12677 # scripts and configure runs, see configure's option --config-cache.
12678 # It is not useful on other systems. If it contains results you don't
12679 # want to keep, you may remove or edit it.
12680 #
12681 # config.status only pays attention to the cache file if you give it
12682 # the --recheck option to rerun configure.
12683 #
12684 # `ac_cv_env_foo' variables (set or unset) will be overridden when
12685 # loading this file, other *unset* `ac_cv_foo' will be assigned the
12686 # following values.
12687
12688 _ACEOF
12689
12690 # The following way of writing the cache mishandles newlines in values,
12691 # but we know of no workaround that is simple, portable, and efficient.
12692 # So, we kill variables containing newlines.
12693 # Ultrix sh set writes to stderr and can't be redirected directly,
12694 # and sets the high bit in the cache file unless we assign to the vars.
12695 (
12696 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
12697 eval ac_val=\$$ac_var
12698 case $ac_val in #(
12699 *${as_nl}*)
12700 case $ac_var in #(
12701 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
12702 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
12703 esac
12704 case $ac_var in #(
12705 _ | IFS | as_nl) ;; #(
12706 *) $as_unset $ac_var ;;
12707 esac ;;
12708 esac
12709 done
12710
12711 (set) 2>&1 |
12712 case $as_nl`(ac_space=' '; set) 2>&1` in #(
12713 *${as_nl}ac_space=\ *)
12714 # `set' does not quote correctly, so add quotes (double-quote
12715 # substitution turns \\\\ into \\, and sed turns \\ into \).
12716 sed -n \
12717 "s/'/'\\\\''/g;
12718 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
12719 ;; #(
12720 *)
12721 # `set' quotes correctly as required by POSIX, so do not add quotes.
12722 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
12723 ;;
12724 esac |
12725 sort
12726 ) |
12727 sed '
12728 /^ac_cv_env_/b end
12729 t clear
12730 :clear
12731 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
12732 t end
12733 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
12734 :end' >>confcache
12735 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
12736 if test -w "$cache_file"; then
12737 test "x$cache_file" != "x/dev/null" &&
12738 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
12739 echo "$as_me: updating cache $cache_file" >&6;}
12740 cat confcache >$cache_file
12741 else
12742 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
12743 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
12744 fi
12745 fi
12746 rm -f confcache
12747
12748 CFLAGS=${CFLAGS:=}
12749
12750
12751
12752 ac_ext=c
12753 ac_cpp='$CPP $CPPFLAGS'
12754 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
12755 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
12756 ac_compiler_gnu=$ac_cv_c_compiler_gnu
12757 if test -n "$ac_tool_prefix"; then
12758 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
12759 set dummy ${ac_tool_prefix}gcc; ac_word=$2
12760 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12761 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12762 if test "${ac_cv_prog_CC+set}" = set; then
12763 echo $ECHO_N "(cached) $ECHO_C" >&6
12764 else
12765 if test -n "$CC"; then
12766 ac_cv_prog_CC="$CC" # Let the user override the test.
12767 else
12768 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12769 for as_dir in $PATH
12770 do
12771 IFS=$as_save_IFS
12772 test -z "$as_dir" && as_dir=.
12773 for ac_exec_ext in '' $ac_executable_extensions; do
12774 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12775 ac_cv_prog_CC="${ac_tool_prefix}gcc"
12776 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12777 break 2
12778 fi
12779 done
12780 done
12781 IFS=$as_save_IFS
12782
12783 fi
12784 fi
12785 CC=$ac_cv_prog_CC
12786 if test -n "$CC"; then
12787 { echo "$as_me:$LINENO: result: $CC" >&5
12788 echo "${ECHO_T}$CC" >&6; }
12789 else
12790 { echo "$as_me:$LINENO: result: no" >&5
12791 echo "${ECHO_T}no" >&6; }
12792 fi
12793
12794
12795 fi
12796 if test -z "$ac_cv_prog_CC"; then
12797 ac_ct_CC=$CC
12798 # Extract the first word of "gcc", so it can be a program name with args.
12799 set dummy gcc; ac_word=$2
12800 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12801 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12802 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
12803 echo $ECHO_N "(cached) $ECHO_C" >&6
12804 else
12805 if test -n "$ac_ct_CC"; then
12806 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
12807 else
12808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12809 for as_dir in $PATH
12810 do
12811 IFS=$as_save_IFS
12812 test -z "$as_dir" && as_dir=.
12813 for ac_exec_ext in '' $ac_executable_extensions; do
12814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12815 ac_cv_prog_ac_ct_CC="gcc"
12816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12817 break 2
12818 fi
12819 done
12820 done
12821 IFS=$as_save_IFS
12822
12823 fi
12824 fi
12825 ac_ct_CC=$ac_cv_prog_ac_ct_CC
12826 if test -n "$ac_ct_CC"; then
12827 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
12828 echo "${ECHO_T}$ac_ct_CC" >&6; }
12829 else
12830 { echo "$as_me:$LINENO: result: no" >&5
12831 echo "${ECHO_T}no" >&6; }
12832 fi
12833
12834 if test "x$ac_ct_CC" = x; then
12835 CC=""
12836 else
12837 case $cross_compiling:$ac_tool_warned in
12838 yes:)
12839 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
12840 whose name does not start with the host triplet. If you think this
12841 configuration is useful to you, please write to autoconf@gnu.org." >&5
12842 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
12843 whose name does not start with the host triplet. If you think this
12844 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
12845 ac_tool_warned=yes ;;
12846 esac
12847 CC=$ac_ct_CC
12848 fi
12849 else
12850 CC="$ac_cv_prog_CC"
12851 fi
12852
12853 if test -z "$CC"; then
12854 if test -n "$ac_tool_prefix"; then
12855 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
12856 set dummy ${ac_tool_prefix}cc; ac_word=$2
12857 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12858 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12859 if test "${ac_cv_prog_CC+set}" = set; then
12860 echo $ECHO_N "(cached) $ECHO_C" >&6
12861 else
12862 if test -n "$CC"; then
12863 ac_cv_prog_CC="$CC" # Let the user override the test.
12864 else
12865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12866 for as_dir in $PATH
12867 do
12868 IFS=$as_save_IFS
12869 test -z "$as_dir" && as_dir=.
12870 for ac_exec_ext in '' $ac_executable_extensions; do
12871 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12872 ac_cv_prog_CC="${ac_tool_prefix}cc"
12873 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12874 break 2
12875 fi
12876 done
12877 done
12878 IFS=$as_save_IFS
12879
12880 fi
12881 fi
12882 CC=$ac_cv_prog_CC
12883 if test -n "$CC"; then
12884 { echo "$as_me:$LINENO: result: $CC" >&5
12885 echo "${ECHO_T}$CC" >&6; }
12886 else
12887 { echo "$as_me:$LINENO: result: no" >&5
12888 echo "${ECHO_T}no" >&6; }
12889 fi
12890
12891
12892 fi
12893 fi
12894 if test -z "$CC"; then
12895 # Extract the first word of "cc", so it can be a program name with args.
12896 set dummy cc; ac_word=$2
12897 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12898 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12899 if test "${ac_cv_prog_CC+set}" = set; then
12900 echo $ECHO_N "(cached) $ECHO_C" >&6
12901 else
12902 if test -n "$CC"; then
12903 ac_cv_prog_CC="$CC" # Let the user override the test.
12904 else
12905 ac_prog_rejected=no
12906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12907 for as_dir in $PATH
12908 do
12909 IFS=$as_save_IFS
12910 test -z "$as_dir" && as_dir=.
12911 for ac_exec_ext in '' $ac_executable_extensions; do
12912 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12913 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
12914 ac_prog_rejected=yes
12915 continue
12916 fi
12917 ac_cv_prog_CC="cc"
12918 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12919 break 2
12920 fi
12921 done
12922 done
12923 IFS=$as_save_IFS
12924
12925 if test $ac_prog_rejected = yes; then
12926 # We found a bogon in the path, so make sure we never use it.
12927 set dummy $ac_cv_prog_CC
12928 shift
12929 if test $# != 0; then
12930 # We chose a different compiler from the bogus one.
12931 # However, it has the same basename, so the bogon will be chosen
12932 # first if we set CC to just the basename; use the full file name.
12933 shift
12934 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
12935 fi
12936 fi
12937 fi
12938 fi
12939 CC=$ac_cv_prog_CC
12940 if test -n "$CC"; then
12941 { echo "$as_me:$LINENO: result: $CC" >&5
12942 echo "${ECHO_T}$CC" >&6; }
12943 else
12944 { echo "$as_me:$LINENO: result: no" >&5
12945 echo "${ECHO_T}no" >&6; }
12946 fi
12947
12948
12949 fi
12950 if test -z "$CC"; then
12951 if test -n "$ac_tool_prefix"; then
12952 for ac_prog in cl.exe
12953 do
12954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
12955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
12956 { echo "$as_me:$LINENO: checking for $ac_word" >&5
12957 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
12958 if test "${ac_cv_prog_CC+set}" = set; then
12959 echo $ECHO_N "(cached) $ECHO_C" >&6
12960 else
12961 if test -n "$CC"; then
12962 ac_cv_prog_CC="$CC" # Let the user override the test.
12963 else
12964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
12965 for as_dir in $PATH
12966 do
12967 IFS=$as_save_IFS
12968 test -z "$as_dir" && as_dir=.
12969 for ac_exec_ext in '' $ac_executable_extensions; do
12970 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
12971 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
12972 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
12973 break 2
12974 fi
12975 done
12976 done
12977 IFS=$as_save_IFS
12978
12979 fi
12980 fi
12981 CC=$ac_cv_prog_CC
12982 if test -n "$CC"; then
12983 { echo "$as_me:$LINENO: result: $CC" >&5
12984 echo "${ECHO_T}$CC" >&6; }
12985 else
12986 { echo "$as_me:$LINENO: result: no" >&5
12987 echo "${ECHO_T}no" >&6; }
12988 fi
12989
12990
12991 test -n "$CC" && break
12992 done
12993 fi
12994 if test -z "$CC"; then
12995 ac_ct_CC=$CC
12996 for ac_prog in cl.exe
12997 do
12998 # Extract the first word of "$ac_prog", so it can be a program name with args.
12999 set dummy $ac_prog; ac_word=$2
13000 { echo "$as_me:$LINENO: checking for $ac_word" >&5
13001 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
13002 if test "${ac_cv_prog_ac_ct_CC+set}" = set; then
13003 echo $ECHO_N "(cached) $ECHO_C" >&6
13004 else
13005 if test -n "$ac_ct_CC"; then
13006 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
13007 else
13008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
13009 for as_dir in $PATH
13010 do
13011 IFS=$as_save_IFS
13012 test -z "$as_dir" && as_dir=.
13013 for ac_exec_ext in '' $ac_executable_extensions; do
13014 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
13015 ac_cv_prog_ac_ct_CC="$ac_prog"
13016 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
13017 break 2
13018 fi
13019 done
13020 done
13021 IFS=$as_save_IFS
13022
13023 fi
13024 fi
13025 ac_ct_CC=$ac_cv_prog_ac_ct_CC
13026 if test -n "$ac_ct_CC"; then
13027 { echo "$as_me:$LINENO: result: $ac_ct_CC" >&5
13028 echo "${ECHO_T}$ac_ct_CC" >&6; }
13029 else
13030 { echo "$as_me:$LINENO: result: no" >&5
13031 echo "${ECHO_T}no" >&6; }
13032 fi
13033
13034
13035 test -n "$ac_ct_CC" && break
13036 done
13037
13038 if test "x$ac_ct_CC" = x; then
13039 CC=""
13040 else
13041 case $cross_compiling:$ac_tool_warned in
13042 yes:)
13043 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
13044 whose name does not start with the host triplet. If you think this
13045 configuration is useful to you, please write to autoconf@gnu.org." >&5
13046 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
13047 whose name does not start with the host triplet. If you think this
13048 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
13049 ac_tool_warned=yes ;;
13050 esac
13051 CC=$ac_ct_CC
13052 fi
13053 fi
13054
13055 fi
13056
13057
13058 test -z "$CC" && { { echo "$as_me:$LINENO: error: no acceptable C compiler found in \$PATH
13059 See \`config.log' for more details." >&5
13060 echo "$as_me: error: no acceptable C compiler found in \$PATH
13061 See \`config.log' for more details." >&2;}
13062 { (exit 1); exit 1; }; }
13063
13064 # Provide some information about the compiler.
13065 echo "$as_me:$LINENO: checking for C compiler version" >&5
13066 ac_compiler=`set X $ac_compile; echo $2`
13067 { (ac_try="$ac_compiler --version >&5"
13068 case "(($ac_try" in
13069 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13070 *) ac_try_echo=$ac_try;;
13071 esac
13072 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13073 (eval "$ac_compiler --version >&5") 2>&5
13074 ac_status=$?
13075 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13076 (exit $ac_status); }
13077 { (ac_try="$ac_compiler -v >&5"
13078 case "(($ac_try" in
13079 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13080 *) ac_try_echo=$ac_try;;
13081 esac
13082 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13083 (eval "$ac_compiler -v >&5") 2>&5
13084 ac_status=$?
13085 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13086 (exit $ac_status); }
13087 { (ac_try="$ac_compiler -V >&5"
13088 case "(($ac_try" in
13089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13090 *) ac_try_echo=$ac_try;;
13091 esac
13092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13093 (eval "$ac_compiler -V >&5") 2>&5
13094 ac_status=$?
13095 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13096 (exit $ac_status); }
13097
13098 cat >conftest.$ac_ext <<_ACEOF
13099 /* confdefs.h. */
13100 _ACEOF
13101 cat confdefs.h >>conftest.$ac_ext
13102 cat >>conftest.$ac_ext <<_ACEOF
13103 /* end confdefs.h. */
13104
13105 int
13106 main ()
13107 {
13108
13109 ;
13110 return 0;
13111 }
13112 _ACEOF
13113 ac_clean_files_save=$ac_clean_files
13114 ac_clean_files="$ac_clean_files a.out a.exe b.out"
13115 # Try to create an executable without -o first, disregard a.out.
13116 # It will help us diagnose broken compilers, and finding out an intuition
13117 # of exeext.
13118 { echo "$as_me:$LINENO: checking for C compiler default output file name" >&5
13119 echo $ECHO_N "checking for C compiler default output file name... $ECHO_C" >&6; }
13120 ac_link_default=`echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
13121 #
13122 # List of possible output files, starting from the most likely.
13123 # The algorithm is not robust to junk in `.', hence go to wildcards (a.*)
13124 # only as a last resort. b.out is created by i960 compilers.
13125 ac_files='a_out.exe a.exe conftest.exe a.out conftest a.* conftest.* b.out'
13126 #
13127 # The IRIX 6 linker writes into existing files which may not be
13128 # executable, retaining their permissions. Remove them first so a
13129 # subsequent execution test works.
13130 ac_rmfiles=
13131 for ac_file in $ac_files
13132 do
13133 case $ac_file in
13134 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13135 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
13136 esac
13137 done
13138 rm -f $ac_rmfiles
13139
13140 if { (ac_try="$ac_link_default"
13141 case "(($ac_try" in
13142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13143 *) ac_try_echo=$ac_try;;
13144 esac
13145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13146 (eval "$ac_link_default") 2>&5
13147 ac_status=$?
13148 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13149 (exit $ac_status); }; then
13150 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
13151 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
13152 # in a Makefile. We should not override ac_cv_exeext if it was cached,
13153 # so that the user can short-circuit this test for compilers unknown to
13154 # Autoconf.
13155 for ac_file in $ac_files ''
13156 do
13157 test -f "$ac_file" || continue
13158 case $ac_file in
13159 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj )
13160 ;;
13161 [ab].out )
13162 # We found the default executable, but exeext='' is most
13163 # certainly right.
13164 break;;
13165 *.* )
13166 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
13167 then :; else
13168 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13169 fi
13170 # We set ac_cv_exeext here because the later test for it is not
13171 # safe: cross compilers may not add the suffix if given an `-o'
13172 # argument, so we may need to know it at that point already.
13173 # Even if this section looks crufty: it has the advantage of
13174 # actually working.
13175 break;;
13176 * )
13177 break;;
13178 esac
13179 done
13180 test "$ac_cv_exeext" = no && ac_cv_exeext=
13181
13182 else
13183 ac_file=''
13184 fi
13185
13186 { echo "$as_me:$LINENO: result: $ac_file" >&5
13187 echo "${ECHO_T}$ac_file" >&6; }
13188 if test -z "$ac_file"; then
13189 echo "$as_me: failed program was:" >&5
13190 sed 's/^/| /' conftest.$ac_ext >&5
13191
13192 { { echo "$as_me:$LINENO: error: C compiler cannot create executables
13193 See \`config.log' for more details." >&5
13194 echo "$as_me: error: C compiler cannot create executables
13195 See \`config.log' for more details." >&2;}
13196 { (exit 77); exit 77; }; }
13197 fi
13198
13199 ac_exeext=$ac_cv_exeext
13200
13201 # Check that the compiler produces executables we can run. If not, either
13202 # the compiler is broken, or we cross compile.
13203 { echo "$as_me:$LINENO: checking whether the C compiler works" >&5
13204 echo $ECHO_N "checking whether the C compiler works... $ECHO_C" >&6; }
13205 # FIXME: These cross compiler hacks should be removed for Autoconf 3.0
13206 # If not cross compiling, check that we can run a simple program.
13207 if test "$cross_compiling" != yes; then
13208 if { ac_try='./$ac_file'
13209 { (case "(($ac_try" in
13210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13211 *) ac_try_echo=$ac_try;;
13212 esac
13213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13214 (eval "$ac_try") 2>&5
13215 ac_status=$?
13216 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13217 (exit $ac_status); }; }; then
13218 cross_compiling=no
13219 else
13220 if test "$cross_compiling" = maybe; then
13221 cross_compiling=yes
13222 else
13223 { { echo "$as_me:$LINENO: error: cannot run C compiled programs.
13224 If you meant to cross compile, use \`--host'.
13225 See \`config.log' for more details." >&5
13226 echo "$as_me: error: cannot run C compiled programs.
13227 If you meant to cross compile, use \`--host'.
13228 See \`config.log' for more details." >&2;}
13229 { (exit 1); exit 1; }; }
13230 fi
13231 fi
13232 fi
13233 { echo "$as_me:$LINENO: result: yes" >&5
13234 echo "${ECHO_T}yes" >&6; }
13235
13236 rm -f a.out a.exe conftest$ac_cv_exeext b.out
13237 ac_clean_files=$ac_clean_files_save
13238 # Check that the compiler produces executables we can run. If not, either
13239 # the compiler is broken, or we cross compile.
13240 { echo "$as_me:$LINENO: checking whether we are cross compiling" >&5
13241 echo $ECHO_N "checking whether we are cross compiling... $ECHO_C" >&6; }
13242 { echo "$as_me:$LINENO: result: $cross_compiling" >&5
13243 echo "${ECHO_T}$cross_compiling" >&6; }
13244
13245 { echo "$as_me:$LINENO: checking for suffix of executables" >&5
13246 echo $ECHO_N "checking for suffix of executables... $ECHO_C" >&6; }
13247 if { (ac_try="$ac_link"
13248 case "(($ac_try" in
13249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13250 *) ac_try_echo=$ac_try;;
13251 esac
13252 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13253 (eval "$ac_link") 2>&5
13254 ac_status=$?
13255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13256 (exit $ac_status); }; then
13257 # If both `conftest.exe' and `conftest' are `present' (well, observable)
13258 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
13259 # work properly (i.e., refer to `conftest.exe'), while it won't with
13260 # `rm'.
13261 for ac_file in conftest.exe conftest conftest.*; do
13262 test -f "$ac_file" || continue
13263 case $ac_file in
13264 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.o | *.obj ) ;;
13265 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
13266 break;;
13267 * ) break;;
13268 esac
13269 done
13270 else
13271 { { echo "$as_me:$LINENO: error: cannot compute suffix of executables: cannot compile and link
13272 See \`config.log' for more details." >&5
13273 echo "$as_me: error: cannot compute suffix of executables: cannot compile and link
13274 See \`config.log' for more details." >&2;}
13275 { (exit 1); exit 1; }; }
13276 fi
13277
13278 rm -f conftest$ac_cv_exeext
13279 { echo "$as_me:$LINENO: result: $ac_cv_exeext" >&5
13280 echo "${ECHO_T}$ac_cv_exeext" >&6; }
13281
13282 rm -f conftest.$ac_ext
13283 EXEEXT=$ac_cv_exeext
13284 ac_exeext=$EXEEXT
13285 { echo "$as_me:$LINENO: checking for suffix of object files" >&5
13286 echo $ECHO_N "checking for suffix of object files... $ECHO_C" >&6; }
13287 if test "${ac_cv_objext+set}" = set; then
13288 echo $ECHO_N "(cached) $ECHO_C" >&6
13289 else
13290 cat >conftest.$ac_ext <<_ACEOF
13291 /* confdefs.h. */
13292 _ACEOF
13293 cat confdefs.h >>conftest.$ac_ext
13294 cat >>conftest.$ac_ext <<_ACEOF
13295 /* end confdefs.h. */
13296
13297 int
13298 main ()
13299 {
13300
13301 ;
13302 return 0;
13303 }
13304 _ACEOF
13305 rm -f conftest.o conftest.obj
13306 if { (ac_try="$ac_compile"
13307 case "(($ac_try" in
13308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13309 *) ac_try_echo=$ac_try;;
13310 esac
13311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13312 (eval "$ac_compile") 2>&5
13313 ac_status=$?
13314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13315 (exit $ac_status); }; then
13316 for ac_file in conftest.o conftest.obj conftest.*; do
13317 test -f "$ac_file" || continue;
13318 case $ac_file in
13319 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf ) ;;
13320 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
13321 break;;
13322 esac
13323 done
13324 else
13325 echo "$as_me: failed program was:" >&5
13326 sed 's/^/| /' conftest.$ac_ext >&5
13327
13328 { { echo "$as_me:$LINENO: error: cannot compute suffix of object files: cannot compile
13329 See \`config.log' for more details." >&5
13330 echo "$as_me: error: cannot compute suffix of object files: cannot compile
13331 See \`config.log' for more details." >&2;}
13332 { (exit 1); exit 1; }; }
13333 fi
13334
13335 rm -f conftest.$ac_cv_objext conftest.$ac_ext
13336 fi
13337 { echo "$as_me:$LINENO: result: $ac_cv_objext" >&5
13338 echo "${ECHO_T}$ac_cv_objext" >&6; }
13339 OBJEXT=$ac_cv_objext
13340 ac_objext=$OBJEXT
13341 { echo "$as_me:$LINENO: checking whether we are using the GNU C compiler" >&5
13342 echo $ECHO_N "checking whether we are using the GNU C compiler... $ECHO_C" >&6; }
13343 if test "${ac_cv_c_compiler_gnu+set}" = set; then
13344 echo $ECHO_N "(cached) $ECHO_C" >&6
13345 else
13346 cat >conftest.$ac_ext <<_ACEOF
13347 /* confdefs.h. */
13348 _ACEOF
13349 cat confdefs.h >>conftest.$ac_ext
13350 cat >>conftest.$ac_ext <<_ACEOF
13351 /* end confdefs.h. */
13352
13353 int
13354 main ()
13355 {
13356 #ifndef __GNUC__
13357 choke me
13358 #endif
13359
13360 ;
13361 return 0;
13362 }
13363 _ACEOF
13364 rm -f conftest.$ac_objext
13365 if { (ac_try="$ac_compile"
13366 case "(($ac_try" in
13367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13368 *) ac_try_echo=$ac_try;;
13369 esac
13370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13371 (eval "$ac_compile") 2>conftest.er1
13372 ac_status=$?
13373 grep -v '^ *+' conftest.er1 >conftest.err
13374 rm -f conftest.er1
13375 cat conftest.err >&5
13376 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13377 (exit $ac_status); } && {
13378 test -z "$ac_c_werror_flag" ||
13379 test ! -s conftest.err
13380 } && test -s conftest.$ac_objext; then
13381 ac_compiler_gnu=yes
13382 else
13383 echo "$as_me: failed program was:" >&5
13384 sed 's/^/| /' conftest.$ac_ext >&5
13385
13386 ac_compiler_gnu=no
13387 fi
13388
13389 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13390 ac_cv_c_compiler_gnu=$ac_compiler_gnu
13391
13392 fi
13393 { echo "$as_me:$LINENO: result: $ac_cv_c_compiler_gnu" >&5
13394 echo "${ECHO_T}$ac_cv_c_compiler_gnu" >&6; }
13395 GCC=`test $ac_compiler_gnu = yes && echo yes`
13396 ac_test_CFLAGS=${CFLAGS+set}
13397 ac_save_CFLAGS=$CFLAGS
13398 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13399 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13400 if test "${ac_cv_prog_cc_g+set}" = set; then
13401 echo $ECHO_N "(cached) $ECHO_C" >&6
13402 else
13403 ac_save_c_werror_flag=$ac_c_werror_flag
13404 ac_c_werror_flag=yes
13405 ac_cv_prog_cc_g=no
13406 CFLAGS="-g"
13407 cat >conftest.$ac_ext <<_ACEOF
13408 /* confdefs.h. */
13409 _ACEOF
13410 cat confdefs.h >>conftest.$ac_ext
13411 cat >>conftest.$ac_ext <<_ACEOF
13412 /* end confdefs.h. */
13413
13414 int
13415 main ()
13416 {
13417
13418 ;
13419 return 0;
13420 }
13421 _ACEOF
13422 rm -f conftest.$ac_objext
13423 if { (ac_try="$ac_compile"
13424 case "(($ac_try" in
13425 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13426 *) ac_try_echo=$ac_try;;
13427 esac
13428 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13429 (eval "$ac_compile") 2>conftest.er1
13430 ac_status=$?
13431 grep -v '^ *+' conftest.er1 >conftest.err
13432 rm -f conftest.er1
13433 cat conftest.err >&5
13434 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13435 (exit $ac_status); } && {
13436 test -z "$ac_c_werror_flag" ||
13437 test ! -s conftest.err
13438 } && test -s conftest.$ac_objext; then
13439 ac_cv_prog_cc_g=yes
13440 else
13441 echo "$as_me: failed program was:" >&5
13442 sed 's/^/| /' conftest.$ac_ext >&5
13443
13444 CFLAGS=""
13445 cat >conftest.$ac_ext <<_ACEOF
13446 /* confdefs.h. */
13447 _ACEOF
13448 cat confdefs.h >>conftest.$ac_ext
13449 cat >>conftest.$ac_ext <<_ACEOF
13450 /* end confdefs.h. */
13451
13452 int
13453 main ()
13454 {
13455
13456 ;
13457 return 0;
13458 }
13459 _ACEOF
13460 rm -f conftest.$ac_objext
13461 if { (ac_try="$ac_compile"
13462 case "(($ac_try" in
13463 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13464 *) ac_try_echo=$ac_try;;
13465 esac
13466 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13467 (eval "$ac_compile") 2>conftest.er1
13468 ac_status=$?
13469 grep -v '^ *+' conftest.er1 >conftest.err
13470 rm -f conftest.er1
13471 cat conftest.err >&5
13472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13473 (exit $ac_status); } && {
13474 test -z "$ac_c_werror_flag" ||
13475 test ! -s conftest.err
13476 } && test -s conftest.$ac_objext; then
13477 :
13478 else
13479 echo "$as_me: failed program was:" >&5
13480 sed 's/^/| /' conftest.$ac_ext >&5
13481
13482 ac_c_werror_flag=$ac_save_c_werror_flag
13483 CFLAGS="-g"
13484 cat >conftest.$ac_ext <<_ACEOF
13485 /* confdefs.h. */
13486 _ACEOF
13487 cat confdefs.h >>conftest.$ac_ext
13488 cat >>conftest.$ac_ext <<_ACEOF
13489 /* end confdefs.h. */
13490
13491 int
13492 main ()
13493 {
13494
13495 ;
13496 return 0;
13497 }
13498 _ACEOF
13499 rm -f conftest.$ac_objext
13500 if { (ac_try="$ac_compile"
13501 case "(($ac_try" in
13502 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13503 *) ac_try_echo=$ac_try;;
13504 esac
13505 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13506 (eval "$ac_compile") 2>conftest.er1
13507 ac_status=$?
13508 grep -v '^ *+' conftest.er1 >conftest.err
13509 rm -f conftest.er1
13510 cat conftest.err >&5
13511 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13512 (exit $ac_status); } && {
13513 test -z "$ac_c_werror_flag" ||
13514 test ! -s conftest.err
13515 } && test -s conftest.$ac_objext; then
13516 ac_cv_prog_cc_g=yes
13517 else
13518 echo "$as_me: failed program was:" >&5
13519 sed 's/^/| /' conftest.$ac_ext >&5
13520
13521
13522 fi
13523
13524 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13525 fi
13526
13527 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13528 fi
13529
13530 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13531 ac_c_werror_flag=$ac_save_c_werror_flag
13532 fi
13533 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13534 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13535 if test "$ac_test_CFLAGS" = set; then
13536 CFLAGS=$ac_save_CFLAGS
13537 elif test $ac_cv_prog_cc_g = yes; then
13538 if test "$GCC" = yes; then
13539 CFLAGS="-g -O2"
13540 else
13541 CFLAGS="-g"
13542 fi
13543 else
13544 if test "$GCC" = yes; then
13545 CFLAGS="-O2"
13546 else
13547 CFLAGS=
13548 fi
13549 fi
13550 { echo "$as_me:$LINENO: checking for $CC option to accept ISO C89" >&5
13551 echo $ECHO_N "checking for $CC option to accept ISO C89... $ECHO_C" >&6; }
13552 if test "${ac_cv_prog_cc_c89+set}" = set; then
13553 echo $ECHO_N "(cached) $ECHO_C" >&6
13554 else
13555 ac_cv_prog_cc_c89=no
13556 ac_save_CC=$CC
13557 cat >conftest.$ac_ext <<_ACEOF
13558 /* confdefs.h. */
13559 _ACEOF
13560 cat confdefs.h >>conftest.$ac_ext
13561 cat >>conftest.$ac_ext <<_ACEOF
13562 /* end confdefs.h. */
13563 #include <stdarg.h>
13564 #include <stdio.h>
13565 #include <sys/types.h>
13566 #include <sys/stat.h>
13567 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
13568 struct buf { int x; };
13569 FILE * (*rcsopen) (struct buf *, struct stat *, int);
13570 static char *e (p, i)
13571 char **p;
13572 int i;
13573 {
13574 return p[i];
13575 }
13576 static char *f (char * (*g) (char **, int), char **p, ...)
13577 {
13578 char *s;
13579 va_list v;
13580 va_start (v,p);
13581 s = g (p, va_arg (v,int));
13582 va_end (v);
13583 return s;
13584 }
13585
13586 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
13587 function prototypes and stuff, but not '\xHH' hex character constants.
13588 These don't provoke an error unfortunately, instead are silently treated
13589 as 'x'. The following induces an error, until -std is added to get
13590 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
13591 array size at least. It's necessary to write '\x00'==0 to get something
13592 that's true only with -std. */
13593 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
13594
13595 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
13596 inside strings and character constants. */
13597 #define FOO(x) 'x'
13598 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
13599
13600 int test (int i, double x);
13601 struct s1 {int (*f) (int a);};
13602 struct s2 {int (*f) (double a);};
13603 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
13604 int argc;
13605 char **argv;
13606 int
13607 main ()
13608 {
13609 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
13610 ;
13611 return 0;
13612 }
13613 _ACEOF
13614 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
13615 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
13616 do
13617 CC="$ac_save_CC $ac_arg"
13618 rm -f conftest.$ac_objext
13619 if { (ac_try="$ac_compile"
13620 case "(($ac_try" in
13621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13622 *) ac_try_echo=$ac_try;;
13623 esac
13624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13625 (eval "$ac_compile") 2>conftest.er1
13626 ac_status=$?
13627 grep -v '^ *+' conftest.er1 >conftest.err
13628 rm -f conftest.er1
13629 cat conftest.err >&5
13630 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13631 (exit $ac_status); } && {
13632 test -z "$ac_c_werror_flag" ||
13633 test ! -s conftest.err
13634 } && test -s conftest.$ac_objext; then
13635 ac_cv_prog_cc_c89=$ac_arg
13636 else
13637 echo "$as_me: failed program was:" >&5
13638 sed 's/^/| /' conftest.$ac_ext >&5
13639
13640
13641 fi
13642
13643 rm -f core conftest.err conftest.$ac_objext
13644 test "x$ac_cv_prog_cc_c89" != "xno" && break
13645 done
13646 rm -f conftest.$ac_ext
13647 CC=$ac_save_CC
13648
13649 fi
13650 # AC_CACHE_VAL
13651 case "x$ac_cv_prog_cc_c89" in
13652 x)
13653 { echo "$as_me:$LINENO: result: none needed" >&5
13654 echo "${ECHO_T}none needed" >&6; } ;;
13655 xno)
13656 { echo "$as_me:$LINENO: result: unsupported" >&5
13657 echo "${ECHO_T}unsupported" >&6; } ;;
13658 *)
13659 CC="$CC $ac_cv_prog_cc_c89"
13660 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_c89" >&5
13661 echo "${ECHO_T}$ac_cv_prog_cc_c89" >&6; } ;;
13662 esac
13663
13664
13665 ac_ext=c
13666 ac_cpp='$CPP $CPPFLAGS'
13667 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13668 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13669 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13670
13671
13672
13673 ac_ext=c
13674 ac_cpp='$CPP $CPPFLAGS'
13675 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13676 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13677 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13678
13679 { echo "$as_me:$LINENO: checking whether we are using the Intel C compiler" >&5
13680 echo $ECHO_N "checking whether we are using the Intel C compiler... $ECHO_C" >&6; }
13681 if test "${bakefile_cv_c_compiler___INTEL_COMPILER+set}" = set; then
13682 echo $ECHO_N "(cached) $ECHO_C" >&6
13683 else
13684 cat >conftest.$ac_ext <<_ACEOF
13685 /* confdefs.h. */
13686 _ACEOF
13687 cat confdefs.h >>conftest.$ac_ext
13688 cat >>conftest.$ac_ext <<_ACEOF
13689 /* end confdefs.h. */
13690
13691 int
13692 main ()
13693 {
13694
13695 #ifndef __INTEL_COMPILER
13696 choke me
13697 #endif
13698
13699 ;
13700 return 0;
13701 }
13702 _ACEOF
13703 rm -f conftest.$ac_objext
13704 if { (ac_try="$ac_compile"
13705 case "(($ac_try" in
13706 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13707 *) ac_try_echo=$ac_try;;
13708 esac
13709 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13710 (eval "$ac_compile") 2>conftest.er1
13711 ac_status=$?
13712 grep -v '^ *+' conftest.er1 >conftest.err
13713 rm -f conftest.er1
13714 cat conftest.err >&5
13715 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13716 (exit $ac_status); } && {
13717 test -z "$ac_c_werror_flag" ||
13718 test ! -s conftest.err
13719 } && test -s conftest.$ac_objext; then
13720 bakefile_cv_c_compiler___INTEL_COMPILER=yes
13721 else
13722 echo "$as_me: failed program was:" >&5
13723 sed 's/^/| /' conftest.$ac_ext >&5
13724
13725 bakefile_cv_c_compiler___INTEL_COMPILER=no
13726
13727 fi
13728
13729 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13730
13731
13732 fi
13733 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___INTEL_COMPILER" >&5
13734 echo "${ECHO_T}$bakefile_cv_c_compiler___INTEL_COMPILER" >&6; }
13735 ac_ext=c
13736 ac_cpp='$CPP $CPPFLAGS'
13737 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13738 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13739 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13740
13741 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
13742 :; INTELCC=yes
13743 else
13744 :;
13745 fi
13746
13747
13748 if test "x$GCC" != "xyes"; then
13749 if test "xCC" = "xC"; then
13750 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
13751 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
13752 if test "${bakefile_cv_c_exto+set}" = set; then
13753 echo $ECHO_N "(cached) $ECHO_C" >&6
13754 else
13755 cat >conftest.$ac_ext <<_ACEOF
13756 /* confdefs.h. */
13757 _ACEOF
13758 cat confdefs.h >>conftest.$ac_ext
13759 cat >>conftest.$ac_ext <<_ACEOF
13760 /* end confdefs.h. */
13761
13762 int
13763 main ()
13764 {
13765
13766 ;
13767 return 0;
13768 }
13769 _ACEOF
13770 rm -f conftest.$ac_objext conftest.$ac_ext.o
13771 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
13772 (eval $ac_compile) 2>&5
13773 ac_status=$?
13774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13775 (exit $ac_status); }; then
13776 for ac_file in `(ls conftest.* 2>/dev/null)`; do
13777 case $ac_file in
13778 conftest.$ac_ext.o)
13779 bakefile_cv_c_exto="-ext o"
13780 ;;
13781 *)
13782 ;;
13783 esac
13784 done
13785 else
13786 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
13787 See \`config.log' for more details." >&5
13788 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
13789 See \`config.log' for more details." >&2;}
13790 { (exit 1); exit 1; }; }
13791
13792 fi
13793
13794 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
13795
13796 fi
13797 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
13798 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
13799 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13800 if test "c" = "c"; then
13801 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
13802 fi
13803 if test "c" = "cxx"; then
13804 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
13805 fi
13806 fi
13807
13808 if test "x$bakefile_cv_c_exto" '!=' "x"; then
13809 unset ac_cv_prog_cc_g
13810 ac_test_CFLAGS=${CFLAGS+set}
13811 ac_save_CFLAGS=$CFLAGS
13812 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
13813 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
13814 if test "${ac_cv_prog_cc_g+set}" = set; then
13815 echo $ECHO_N "(cached) $ECHO_C" >&6
13816 else
13817 ac_save_c_werror_flag=$ac_c_werror_flag
13818 ac_c_werror_flag=yes
13819 ac_cv_prog_cc_g=no
13820 CFLAGS="-g"
13821 cat >conftest.$ac_ext <<_ACEOF
13822 /* confdefs.h. */
13823 _ACEOF
13824 cat confdefs.h >>conftest.$ac_ext
13825 cat >>conftest.$ac_ext <<_ACEOF
13826 /* end confdefs.h. */
13827
13828 int
13829 main ()
13830 {
13831
13832 ;
13833 return 0;
13834 }
13835 _ACEOF
13836 rm -f conftest.$ac_objext
13837 if { (ac_try="$ac_compile"
13838 case "(($ac_try" in
13839 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13840 *) ac_try_echo=$ac_try;;
13841 esac
13842 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13843 (eval "$ac_compile") 2>conftest.er1
13844 ac_status=$?
13845 grep -v '^ *+' conftest.er1 >conftest.err
13846 rm -f conftest.er1
13847 cat conftest.err >&5
13848 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13849 (exit $ac_status); } && {
13850 test -z "$ac_c_werror_flag" ||
13851 test ! -s conftest.err
13852 } && test -s conftest.$ac_objext; then
13853 ac_cv_prog_cc_g=yes
13854 else
13855 echo "$as_me: failed program was:" >&5
13856 sed 's/^/| /' conftest.$ac_ext >&5
13857
13858 CFLAGS=""
13859 cat >conftest.$ac_ext <<_ACEOF
13860 /* confdefs.h. */
13861 _ACEOF
13862 cat confdefs.h >>conftest.$ac_ext
13863 cat >>conftest.$ac_ext <<_ACEOF
13864 /* end confdefs.h. */
13865
13866 int
13867 main ()
13868 {
13869
13870 ;
13871 return 0;
13872 }
13873 _ACEOF
13874 rm -f conftest.$ac_objext
13875 if { (ac_try="$ac_compile"
13876 case "(($ac_try" in
13877 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13878 *) ac_try_echo=$ac_try;;
13879 esac
13880 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13881 (eval "$ac_compile") 2>conftest.er1
13882 ac_status=$?
13883 grep -v '^ *+' conftest.er1 >conftest.err
13884 rm -f conftest.er1
13885 cat conftest.err >&5
13886 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13887 (exit $ac_status); } && {
13888 test -z "$ac_c_werror_flag" ||
13889 test ! -s conftest.err
13890 } && test -s conftest.$ac_objext; then
13891 :
13892 else
13893 echo "$as_me: failed program was:" >&5
13894 sed 's/^/| /' conftest.$ac_ext >&5
13895
13896 ac_c_werror_flag=$ac_save_c_werror_flag
13897 CFLAGS="-g"
13898 cat >conftest.$ac_ext <<_ACEOF
13899 /* confdefs.h. */
13900 _ACEOF
13901 cat confdefs.h >>conftest.$ac_ext
13902 cat >>conftest.$ac_ext <<_ACEOF
13903 /* end confdefs.h. */
13904
13905 int
13906 main ()
13907 {
13908
13909 ;
13910 return 0;
13911 }
13912 _ACEOF
13913 rm -f conftest.$ac_objext
13914 if { (ac_try="$ac_compile"
13915 case "(($ac_try" in
13916 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
13917 *) ac_try_echo=$ac_try;;
13918 esac
13919 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
13920 (eval "$ac_compile") 2>conftest.er1
13921 ac_status=$?
13922 grep -v '^ *+' conftest.er1 >conftest.err
13923 rm -f conftest.er1
13924 cat conftest.err >&5
13925 echo "$as_me:$LINENO: \$? = $ac_status" >&5
13926 (exit $ac_status); } && {
13927 test -z "$ac_c_werror_flag" ||
13928 test ! -s conftest.err
13929 } && test -s conftest.$ac_objext; then
13930 ac_cv_prog_cc_g=yes
13931 else
13932 echo "$as_me: failed program was:" >&5
13933 sed 's/^/| /' conftest.$ac_ext >&5
13934
13935
13936 fi
13937
13938 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13939 fi
13940
13941 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13942 fi
13943
13944 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13945 ac_c_werror_flag=$ac_save_c_werror_flag
13946 fi
13947 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
13948 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
13949 if test "$ac_test_CFLAGS" = set; then
13950 CFLAGS=$ac_save_CFLAGS
13951 elif test $ac_cv_prog_cc_g = yes; then
13952 if test "$GCC" = yes; then
13953 CFLAGS="-g -O2"
13954 else
13955 CFLAGS="-g"
13956 fi
13957 else
13958 if test "$GCC" = yes; then
13959 CFLAGS="-O2"
13960 else
13961 CFLAGS=
13962 fi
13963 fi
13964 fi
13965 fi
13966
13967 case `uname -s` in
13968 AIX*)
13969 ac_ext=c
13970 ac_cpp='$CPP $CPPFLAGS'
13971 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13972 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13973 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13974
13975 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
13976 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
13977 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
13978 echo $ECHO_N "(cached) $ECHO_C" >&6
13979 else
13980 cat >conftest.$ac_ext <<_ACEOF
13981 /* confdefs.h. */
13982 _ACEOF
13983 cat confdefs.h >>conftest.$ac_ext
13984 cat >>conftest.$ac_ext <<_ACEOF
13985 /* end confdefs.h. */
13986
13987 int
13988 main ()
13989 {
13990 #ifndef __xlC__
13991 choke me
13992 #endif
13993
13994 ;
13995 return 0;
13996 }
13997 _ACEOF
13998 rm -f conftest.$ac_objext
13999 if { (ac_try="$ac_compile"
14000 case "(($ac_try" in
14001 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14002 *) ac_try_echo=$ac_try;;
14003 esac
14004 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14005 (eval "$ac_compile") 2>conftest.er1
14006 ac_status=$?
14007 grep -v '^ *+' conftest.er1 >conftest.err
14008 rm -f conftest.er1
14009 cat conftest.err >&5
14010 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14011 (exit $ac_status); } && {
14012 test -z "$ac_c_werror_flag" ||
14013 test ! -s conftest.err
14014 } && test -s conftest.$ac_objext; then
14015 bakefile_compiler_xlc=yes
14016 else
14017 echo "$as_me: failed program was:" >&5
14018 sed 's/^/| /' conftest.$ac_ext >&5
14019
14020 bakefile_compiler_xlc=no
14021 fi
14022
14023 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14024 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14025
14026 fi
14027 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14028 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14029
14030 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14031 ac_ext=c
14032 ac_cpp='$CPP $CPPFLAGS'
14033 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14034 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14035 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14036
14037
14038 ;;
14039
14040 Darwin)
14041 ac_ext=c
14042 ac_cpp='$CPP $CPPFLAGS'
14043 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14044 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14045 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14046
14047 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C compiler" >&5
14048 echo $ECHO_N "checking whether we are using the Metrowerks C compiler... $ECHO_C" >&6; }
14049 if test "${bakefile_cv_c_compiler_mwerks+set}" = set; then
14050 echo $ECHO_N "(cached) $ECHO_C" >&6
14051 else
14052 cat >conftest.$ac_ext <<_ACEOF
14053 /* confdefs.h. */
14054 _ACEOF
14055 cat confdefs.h >>conftest.$ac_ext
14056 cat >>conftest.$ac_ext <<_ACEOF
14057 /* end confdefs.h. */
14058
14059 int
14060 main ()
14061 {
14062 #ifndef __MWERKS__
14063 choke me
14064 #endif
14065
14066 ;
14067 return 0;
14068 }
14069 _ACEOF
14070 rm -f conftest.$ac_objext
14071 if { (ac_try="$ac_compile"
14072 case "(($ac_try" in
14073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14074 *) ac_try_echo=$ac_try;;
14075 esac
14076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14077 (eval "$ac_compile") 2>conftest.er1
14078 ac_status=$?
14079 grep -v '^ *+' conftest.er1 >conftest.err
14080 rm -f conftest.er1
14081 cat conftest.err >&5
14082 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14083 (exit $ac_status); } && {
14084 test -z "$ac_c_werror_flag" ||
14085 test ! -s conftest.err
14086 } && test -s conftest.$ac_objext; then
14087 bakefile_compiler_mwerks=yes
14088 else
14089 echo "$as_me: failed program was:" >&5
14090 sed 's/^/| /' conftest.$ac_ext >&5
14091
14092 bakefile_compiler_mwerks=no
14093 fi
14094
14095 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14096 bakefile_cv_c_compiler_mwerks=$bakefile_compiler_mwerks
14097
14098 fi
14099 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_mwerks" >&5
14100 echo "${ECHO_T}$bakefile_cv_c_compiler_mwerks" >&6; }
14101
14102 MWCC=`test $bakefile_cv_c_compiler_mwerks = yes && echo yes`
14103 ac_ext=c
14104 ac_cpp='$CPP $CPPFLAGS'
14105 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14106 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14107 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14108
14109
14110 ac_ext=c
14111 ac_cpp='$CPP $CPPFLAGS'
14112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14115
14116 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C compiler" >&5
14117 echo $ECHO_N "checking whether we are using the IBM xlC C compiler... $ECHO_C" >&6; }
14118 if test "${bakefile_cv_c_compiler_xlc+set}" = set; then
14119 echo $ECHO_N "(cached) $ECHO_C" >&6
14120 else
14121 cat >conftest.$ac_ext <<_ACEOF
14122 /* confdefs.h. */
14123 _ACEOF
14124 cat confdefs.h >>conftest.$ac_ext
14125 cat >>conftest.$ac_ext <<_ACEOF
14126 /* end confdefs.h. */
14127
14128 int
14129 main ()
14130 {
14131 #ifndef __xlC__
14132 choke me
14133 #endif
14134
14135 ;
14136 return 0;
14137 }
14138 _ACEOF
14139 rm -f conftest.$ac_objext
14140 if { (ac_try="$ac_compile"
14141 case "(($ac_try" in
14142 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14143 *) ac_try_echo=$ac_try;;
14144 esac
14145 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14146 (eval "$ac_compile") 2>conftest.er1
14147 ac_status=$?
14148 grep -v '^ *+' conftest.er1 >conftest.err
14149 rm -f conftest.er1
14150 cat conftest.err >&5
14151 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14152 (exit $ac_status); } && {
14153 test -z "$ac_c_werror_flag" ||
14154 test ! -s conftest.err
14155 } && test -s conftest.$ac_objext; then
14156 bakefile_compiler_xlc=yes
14157 else
14158 echo "$as_me: failed program was:" >&5
14159 sed 's/^/| /' conftest.$ac_ext >&5
14160
14161 bakefile_compiler_xlc=no
14162 fi
14163
14164 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14165 bakefile_cv_c_compiler_xlc=$bakefile_compiler_xlc
14166
14167 fi
14168 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler_xlc" >&5
14169 echo "${ECHO_T}$bakefile_cv_c_compiler_xlc" >&6; }
14170
14171 XLCC=`test $bakefile_cv_c_compiler_xlc = yes && echo yes`
14172 ac_ext=c
14173 ac_cpp='$CPP $CPPFLAGS'
14174 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14175 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14176 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14177
14178
14179 ;;
14180
14181 IRIX*)
14182
14183
14184 ac_ext=c
14185 ac_cpp='$CPP $CPPFLAGS'
14186 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14187 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14188 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14189
14190 { echo "$as_me:$LINENO: checking whether we are using the SGI C compiler" >&5
14191 echo $ECHO_N "checking whether we are using the SGI C compiler... $ECHO_C" >&6; }
14192 if test "${bakefile_cv_c_compiler__SGI_COMPILER_VERSION+set}" = set; then
14193 echo $ECHO_N "(cached) $ECHO_C" >&6
14194 else
14195 cat >conftest.$ac_ext <<_ACEOF
14196 /* confdefs.h. */
14197 _ACEOF
14198 cat confdefs.h >>conftest.$ac_ext
14199 cat >>conftest.$ac_ext <<_ACEOF
14200 /* end confdefs.h. */
14201
14202 int
14203 main ()
14204 {
14205
14206 #ifndef _SGI_COMPILER_VERSION
14207 choke me
14208 #endif
14209
14210 ;
14211 return 0;
14212 }
14213 _ACEOF
14214 rm -f conftest.$ac_objext
14215 if { (ac_try="$ac_compile"
14216 case "(($ac_try" in
14217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14218 *) ac_try_echo=$ac_try;;
14219 esac
14220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14221 (eval "$ac_compile") 2>conftest.er1
14222 ac_status=$?
14223 grep -v '^ *+' conftest.er1 >conftest.err
14224 rm -f conftest.er1
14225 cat conftest.err >&5
14226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14227 (exit $ac_status); } && {
14228 test -z "$ac_c_werror_flag" ||
14229 test ! -s conftest.err
14230 } && test -s conftest.$ac_objext; then
14231 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=yes
14232 else
14233 echo "$as_me: failed program was:" >&5
14234 sed 's/^/| /' conftest.$ac_ext >&5
14235
14236 bakefile_cv_c_compiler__SGI_COMPILER_VERSION=no
14237
14238 fi
14239
14240 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14241
14242
14243 fi
14244 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&5
14245 echo "${ECHO_T}$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" >&6; }
14246 ac_ext=c
14247 ac_cpp='$CPP $CPPFLAGS'
14248 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14249 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14250 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14251
14252 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
14253 :; SGICC=yes
14254 else
14255 :;
14256 fi
14257
14258
14259 ;;
14260
14261 HP-UX*)
14262
14263
14264 ac_ext=c
14265 ac_cpp='$CPP $CPPFLAGS'
14266 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14267 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14268 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14269
14270 { echo "$as_me:$LINENO: checking whether we are using the HP C compiler" >&5
14271 echo $ECHO_N "checking whether we are using the HP C compiler... $ECHO_C" >&6; }
14272 if test "${bakefile_cv_c_compiler___HP_cc+set}" = set; then
14273 echo $ECHO_N "(cached) $ECHO_C" >&6
14274 else
14275 cat >conftest.$ac_ext <<_ACEOF
14276 /* confdefs.h. */
14277 _ACEOF
14278 cat confdefs.h >>conftest.$ac_ext
14279 cat >>conftest.$ac_ext <<_ACEOF
14280 /* end confdefs.h. */
14281
14282 int
14283 main ()
14284 {
14285
14286 #ifndef __HP_cc
14287 choke me
14288 #endif
14289
14290 ;
14291 return 0;
14292 }
14293 _ACEOF
14294 rm -f conftest.$ac_objext
14295 if { (ac_try="$ac_compile"
14296 case "(($ac_try" in
14297 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14298 *) ac_try_echo=$ac_try;;
14299 esac
14300 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14301 (eval "$ac_compile") 2>conftest.er1
14302 ac_status=$?
14303 grep -v '^ *+' conftest.er1 >conftest.err
14304 rm -f conftest.er1
14305 cat conftest.err >&5
14306 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14307 (exit $ac_status); } && {
14308 test -z "$ac_c_werror_flag" ||
14309 test ! -s conftest.err
14310 } && test -s conftest.$ac_objext; then
14311 bakefile_cv_c_compiler___HP_cc=yes
14312 else
14313 echo "$as_me: failed program was:" >&5
14314 sed 's/^/| /' conftest.$ac_ext >&5
14315
14316 bakefile_cv_c_compiler___HP_cc=no
14317
14318 fi
14319
14320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14321
14322
14323 fi
14324 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___HP_cc" >&5
14325 echo "${ECHO_T}$bakefile_cv_c_compiler___HP_cc" >&6; }
14326 ac_ext=c
14327 ac_cpp='$CPP $CPPFLAGS'
14328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14331
14332 if test "x$bakefile_cv_c_compiler___HP_cc" = "xyes"; then
14333 :; HPCC=yes
14334 else
14335 :;
14336 fi
14337
14338
14339 ;;
14340
14341 OSF1)
14342
14343
14344 ac_ext=c
14345 ac_cpp='$CPP $CPPFLAGS'
14346 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14347 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14348 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14349
14350 { echo "$as_me:$LINENO: checking whether we are using the Compaq C compiler" >&5
14351 echo $ECHO_N "checking whether we are using the Compaq C compiler... $ECHO_C" >&6; }
14352 if test "${bakefile_cv_c_compiler___DECC+set}" = set; then
14353 echo $ECHO_N "(cached) $ECHO_C" >&6
14354 else
14355 cat >conftest.$ac_ext <<_ACEOF
14356 /* confdefs.h. */
14357 _ACEOF
14358 cat confdefs.h >>conftest.$ac_ext
14359 cat >>conftest.$ac_ext <<_ACEOF
14360 /* end confdefs.h. */
14361
14362 int
14363 main ()
14364 {
14365
14366 #ifndef __DECC
14367 choke me
14368 #endif
14369
14370 ;
14371 return 0;
14372 }
14373 _ACEOF
14374 rm -f conftest.$ac_objext
14375 if { (ac_try="$ac_compile"
14376 case "(($ac_try" in
14377 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14378 *) ac_try_echo=$ac_try;;
14379 esac
14380 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14381 (eval "$ac_compile") 2>conftest.er1
14382 ac_status=$?
14383 grep -v '^ *+' conftest.er1 >conftest.err
14384 rm -f conftest.er1
14385 cat conftest.err >&5
14386 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14387 (exit $ac_status); } && {
14388 test -z "$ac_c_werror_flag" ||
14389 test ! -s conftest.err
14390 } && test -s conftest.$ac_objext; then
14391 bakefile_cv_c_compiler___DECC=yes
14392 else
14393 echo "$as_me: failed program was:" >&5
14394 sed 's/^/| /' conftest.$ac_ext >&5
14395
14396 bakefile_cv_c_compiler___DECC=no
14397
14398 fi
14399
14400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14401
14402
14403 fi
14404 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___DECC" >&5
14405 echo "${ECHO_T}$bakefile_cv_c_compiler___DECC" >&6; }
14406 ac_ext=c
14407 ac_cpp='$CPP $CPPFLAGS'
14408 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14409 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14410 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14411
14412 if test "x$bakefile_cv_c_compiler___DECC" = "xyes"; then
14413 :; COMPAQCC=yes
14414 else
14415 :;
14416 fi
14417
14418
14419 ;;
14420
14421 SunOS)
14422
14423
14424 ac_ext=c
14425 ac_cpp='$CPP $CPPFLAGS'
14426 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14427 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14428 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14429
14430 { echo "$as_me:$LINENO: checking whether we are using the Sun C compiler" >&5
14431 echo $ECHO_N "checking whether we are using the Sun C compiler... $ECHO_C" >&6; }
14432 if test "${bakefile_cv_c_compiler___SUNPRO_C+set}" = set; then
14433 echo $ECHO_N "(cached) $ECHO_C" >&6
14434 else
14435 cat >conftest.$ac_ext <<_ACEOF
14436 /* confdefs.h. */
14437 _ACEOF
14438 cat confdefs.h >>conftest.$ac_ext
14439 cat >>conftest.$ac_ext <<_ACEOF
14440 /* end confdefs.h. */
14441
14442 int
14443 main ()
14444 {
14445
14446 #ifndef __SUNPRO_C
14447 choke me
14448 #endif
14449
14450 ;
14451 return 0;
14452 }
14453 _ACEOF
14454 rm -f conftest.$ac_objext
14455 if { (ac_try="$ac_compile"
14456 case "(($ac_try" in
14457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14458 *) ac_try_echo=$ac_try;;
14459 esac
14460 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14461 (eval "$ac_compile") 2>conftest.er1
14462 ac_status=$?
14463 grep -v '^ *+' conftest.er1 >conftest.err
14464 rm -f conftest.er1
14465 cat conftest.err >&5
14466 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14467 (exit $ac_status); } && {
14468 test -z "$ac_c_werror_flag" ||
14469 test ! -s conftest.err
14470 } && test -s conftest.$ac_objext; then
14471 bakefile_cv_c_compiler___SUNPRO_C=yes
14472 else
14473 echo "$as_me: failed program was:" >&5
14474 sed 's/^/| /' conftest.$ac_ext >&5
14475
14476 bakefile_cv_c_compiler___SUNPRO_C=no
14477
14478 fi
14479
14480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14481
14482
14483 fi
14484 { echo "$as_me:$LINENO: result: $bakefile_cv_c_compiler___SUNPRO_C" >&5
14485 echo "${ECHO_T}$bakefile_cv_c_compiler___SUNPRO_C" >&6; }
14486 ac_ext=c
14487 ac_cpp='$CPP $CPPFLAGS'
14488 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14489 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14490 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14491
14492 if test "x$bakefile_cv_c_compiler___SUNPRO_C" = "xyes"; then
14493 :; SUNCC=yes
14494 else
14495 :;
14496 fi
14497
14498
14499 ;;
14500 esac
14501 fi
14502
14503
14504
14505 ac_ext=c
14506 ac_cpp='$CPP $CPPFLAGS'
14507 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14508 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14509 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14510 { echo "$as_me:$LINENO: checking how to run the C preprocessor" >&5
14511 echo $ECHO_N "checking how to run the C preprocessor... $ECHO_C" >&6; }
14512 # On Suns, sometimes $CPP names a directory.
14513 if test -n "$CPP" && test -d "$CPP"; then
14514 CPP=
14515 fi
14516 if test -z "$CPP"; then
14517 if test "${ac_cv_prog_CPP+set}" = set; then
14518 echo $ECHO_N "(cached) $ECHO_C" >&6
14519 else
14520 # Double quotes because CPP needs to be expanded
14521 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
14522 do
14523 ac_preproc_ok=false
14524 for ac_c_preproc_warn_flag in '' yes
14525 do
14526 # Use a header file that comes with gcc, so configuring glibc
14527 # with a fresh cross-compiler works.
14528 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14529 # <limits.h> exists even on freestanding compilers.
14530 # On the NeXT, cc -E runs the code through the compiler's parser,
14531 # not just through cpp. "Syntax error" is here to catch this case.
14532 cat >conftest.$ac_ext <<_ACEOF
14533 /* confdefs.h. */
14534 _ACEOF
14535 cat confdefs.h >>conftest.$ac_ext
14536 cat >>conftest.$ac_ext <<_ACEOF
14537 /* end confdefs.h. */
14538 #ifdef __STDC__
14539 # include <limits.h>
14540 #else
14541 # include <assert.h>
14542 #endif
14543 Syntax error
14544 _ACEOF
14545 if { (ac_try="$ac_cpp conftest.$ac_ext"
14546 case "(($ac_try" in
14547 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14548 *) ac_try_echo=$ac_try;;
14549 esac
14550 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14551 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14552 ac_status=$?
14553 grep -v '^ *+' conftest.er1 >conftest.err
14554 rm -f conftest.er1
14555 cat conftest.err >&5
14556 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14557 (exit $ac_status); } >/dev/null && {
14558 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14559 test ! -s conftest.err
14560 }; then
14561 :
14562 else
14563 echo "$as_me: failed program was:" >&5
14564 sed 's/^/| /' conftest.$ac_ext >&5
14565
14566 # Broken: fails on valid input.
14567 continue
14568 fi
14569
14570 rm -f conftest.err conftest.$ac_ext
14571
14572 # OK, works on sane cases. Now check whether nonexistent headers
14573 # can be detected and how.
14574 cat >conftest.$ac_ext <<_ACEOF
14575 /* confdefs.h. */
14576 _ACEOF
14577 cat confdefs.h >>conftest.$ac_ext
14578 cat >>conftest.$ac_ext <<_ACEOF
14579 /* end confdefs.h. */
14580 #include <ac_nonexistent.h>
14581 _ACEOF
14582 if { (ac_try="$ac_cpp conftest.$ac_ext"
14583 case "(($ac_try" in
14584 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14585 *) ac_try_echo=$ac_try;;
14586 esac
14587 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14588 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14589 ac_status=$?
14590 grep -v '^ *+' conftest.er1 >conftest.err
14591 rm -f conftest.er1
14592 cat conftest.err >&5
14593 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14594 (exit $ac_status); } >/dev/null && {
14595 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14596 test ! -s conftest.err
14597 }; then
14598 # Broken: success on invalid input.
14599 continue
14600 else
14601 echo "$as_me: failed program was:" >&5
14602 sed 's/^/| /' conftest.$ac_ext >&5
14603
14604 # Passes both tests.
14605 ac_preproc_ok=:
14606 break
14607 fi
14608
14609 rm -f conftest.err conftest.$ac_ext
14610
14611 done
14612 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14613 rm -f conftest.err conftest.$ac_ext
14614 if $ac_preproc_ok; then
14615 break
14616 fi
14617
14618 done
14619 ac_cv_prog_CPP=$CPP
14620
14621 fi
14622 CPP=$ac_cv_prog_CPP
14623 else
14624 ac_cv_prog_CPP=$CPP
14625 fi
14626 { echo "$as_me:$LINENO: result: $CPP" >&5
14627 echo "${ECHO_T}$CPP" >&6; }
14628 ac_preproc_ok=false
14629 for ac_c_preproc_warn_flag in '' yes
14630 do
14631 # Use a header file that comes with gcc, so configuring glibc
14632 # with a fresh cross-compiler works.
14633 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
14634 # <limits.h> exists even on freestanding compilers.
14635 # On the NeXT, cc -E runs the code through the compiler's parser,
14636 # not just through cpp. "Syntax error" is here to catch this case.
14637 cat >conftest.$ac_ext <<_ACEOF
14638 /* confdefs.h. */
14639 _ACEOF
14640 cat confdefs.h >>conftest.$ac_ext
14641 cat >>conftest.$ac_ext <<_ACEOF
14642 /* end confdefs.h. */
14643 #ifdef __STDC__
14644 # include <limits.h>
14645 #else
14646 # include <assert.h>
14647 #endif
14648 Syntax error
14649 _ACEOF
14650 if { (ac_try="$ac_cpp conftest.$ac_ext"
14651 case "(($ac_try" in
14652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14653 *) ac_try_echo=$ac_try;;
14654 esac
14655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14656 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14657 ac_status=$?
14658 grep -v '^ *+' conftest.er1 >conftest.err
14659 rm -f conftest.er1
14660 cat conftest.err >&5
14661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14662 (exit $ac_status); } >/dev/null && {
14663 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14664 test ! -s conftest.err
14665 }; then
14666 :
14667 else
14668 echo "$as_me: failed program was:" >&5
14669 sed 's/^/| /' conftest.$ac_ext >&5
14670
14671 # Broken: fails on valid input.
14672 continue
14673 fi
14674
14675 rm -f conftest.err conftest.$ac_ext
14676
14677 # OK, works on sane cases. Now check whether nonexistent headers
14678 # can be detected and how.
14679 cat >conftest.$ac_ext <<_ACEOF
14680 /* confdefs.h. */
14681 _ACEOF
14682 cat confdefs.h >>conftest.$ac_ext
14683 cat >>conftest.$ac_ext <<_ACEOF
14684 /* end confdefs.h. */
14685 #include <ac_nonexistent.h>
14686 _ACEOF
14687 if { (ac_try="$ac_cpp conftest.$ac_ext"
14688 case "(($ac_try" in
14689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
14690 *) ac_try_echo=$ac_try;;
14691 esac
14692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
14693 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
14694 ac_status=$?
14695 grep -v '^ *+' conftest.er1 >conftest.err
14696 rm -f conftest.er1
14697 cat conftest.err >&5
14698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
14699 (exit $ac_status); } >/dev/null && {
14700 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
14701 test ! -s conftest.err
14702 }; then
14703 # Broken: success on invalid input.
14704 continue
14705 else
14706 echo "$as_me: failed program was:" >&5
14707 sed 's/^/| /' conftest.$ac_ext >&5
14708
14709 # Passes both tests.
14710 ac_preproc_ok=:
14711 break
14712 fi
14713
14714 rm -f conftest.err conftest.$ac_ext
14715
14716 done
14717 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
14718 rm -f conftest.err conftest.$ac_ext
14719 if $ac_preproc_ok; then
14720 :
14721 else
14722 { { echo "$as_me:$LINENO: error: C preprocessor \"$CPP\" fails sanity check
14723 See \`config.log' for more details." >&5
14724 echo "$as_me: error: C preprocessor \"$CPP\" fails sanity check
14725 See \`config.log' for more details." >&2;}
14726 { (exit 1); exit 1; }; }
14727 fi
14728
14729 ac_ext=c
14730 ac_cpp='$CPP $CPPFLAGS'
14731 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14732 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14733 ac_compiler_gnu=$ac_cv_c_compiler_gnu
14734
14735
14736 { echo "$as_me:$LINENO: checking for grep that handles long lines and -e" >&5
14737 echo $ECHO_N "checking for grep that handles long lines and -e... $ECHO_C" >&6; }
14738 if test "${ac_cv_path_GREP+set}" = set; then
14739 echo $ECHO_N "(cached) $ECHO_C" >&6
14740 else
14741 # Extract the first word of "grep ggrep" to use in msg output
14742 if test -z "$GREP"; then
14743 set dummy grep ggrep; ac_prog_name=$2
14744 if test "${ac_cv_path_GREP+set}" = set; then
14745 echo $ECHO_N "(cached) $ECHO_C" >&6
14746 else
14747 ac_path_GREP_found=false
14748 # Loop through the user's path and test for each of PROGNAME-LIST
14749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14750 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14751 do
14752 IFS=$as_save_IFS
14753 test -z "$as_dir" && as_dir=.
14754 for ac_prog in grep ggrep; do
14755 for ac_exec_ext in '' $ac_executable_extensions; do
14756 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
14757 { test -f "$ac_path_GREP" && $as_test_x "$ac_path_GREP"; } || continue
14758 # Check for GNU ac_path_GREP and select it if it is found.
14759 # Check for GNU $ac_path_GREP
14760 case `"$ac_path_GREP" --version 2>&1` in
14761 *GNU*)
14762 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
14763 *)
14764 ac_count=0
14765 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14766 while :
14767 do
14768 cat "conftest.in" "conftest.in" >"conftest.tmp"
14769 mv "conftest.tmp" "conftest.in"
14770 cp "conftest.in" "conftest.nl"
14771 echo 'GREP' >> "conftest.nl"
14772 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14773 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14774 ac_count=`expr $ac_count + 1`
14775 if test $ac_count -gt ${ac_path_GREP_max-0}; then
14776 # Best one so far, save it but keep looking for a better one
14777 ac_cv_path_GREP="$ac_path_GREP"
14778 ac_path_GREP_max=$ac_count
14779 fi
14780 # 10*(2^10) chars as input seems more than enough
14781 test $ac_count -gt 10 && break
14782 done
14783 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14784 esac
14785
14786
14787 $ac_path_GREP_found && break 3
14788 done
14789 done
14790
14791 done
14792 IFS=$as_save_IFS
14793
14794
14795 fi
14796
14797 GREP="$ac_cv_path_GREP"
14798 if test -z "$GREP"; then
14799 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14800 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14801 { (exit 1); exit 1; }; }
14802 fi
14803
14804 else
14805 ac_cv_path_GREP=$GREP
14806 fi
14807
14808
14809 fi
14810 { echo "$as_me:$LINENO: result: $ac_cv_path_GREP" >&5
14811 echo "${ECHO_T}$ac_cv_path_GREP" >&6; }
14812 GREP="$ac_cv_path_GREP"
14813
14814
14815 { echo "$as_me:$LINENO: checking for egrep" >&5
14816 echo $ECHO_N "checking for egrep... $ECHO_C" >&6; }
14817 if test "${ac_cv_path_EGREP+set}" = set; then
14818 echo $ECHO_N "(cached) $ECHO_C" >&6
14819 else
14820 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
14821 then ac_cv_path_EGREP="$GREP -E"
14822 else
14823 # Extract the first word of "egrep" to use in msg output
14824 if test -z "$EGREP"; then
14825 set dummy egrep; ac_prog_name=$2
14826 if test "${ac_cv_path_EGREP+set}" = set; then
14827 echo $ECHO_N "(cached) $ECHO_C" >&6
14828 else
14829 ac_path_EGREP_found=false
14830 # Loop through the user's path and test for each of PROGNAME-LIST
14831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14832 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
14833 do
14834 IFS=$as_save_IFS
14835 test -z "$as_dir" && as_dir=.
14836 for ac_prog in egrep; do
14837 for ac_exec_ext in '' $ac_executable_extensions; do
14838 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
14839 { test -f "$ac_path_EGREP" && $as_test_x "$ac_path_EGREP"; } || continue
14840 # Check for GNU ac_path_EGREP and select it if it is found.
14841 # Check for GNU $ac_path_EGREP
14842 case `"$ac_path_EGREP" --version 2>&1` in
14843 *GNU*)
14844 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
14845 *)
14846 ac_count=0
14847 echo $ECHO_N "0123456789$ECHO_C" >"conftest.in"
14848 while :
14849 do
14850 cat "conftest.in" "conftest.in" >"conftest.tmp"
14851 mv "conftest.tmp" "conftest.in"
14852 cp "conftest.in" "conftest.nl"
14853 echo 'EGREP' >> "conftest.nl"
14854 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
14855 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
14856 ac_count=`expr $ac_count + 1`
14857 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
14858 # Best one so far, save it but keep looking for a better one
14859 ac_cv_path_EGREP="$ac_path_EGREP"
14860 ac_path_EGREP_max=$ac_count
14861 fi
14862 # 10*(2^10) chars as input seems more than enough
14863 test $ac_count -gt 10 && break
14864 done
14865 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
14866 esac
14867
14868
14869 $ac_path_EGREP_found && break 3
14870 done
14871 done
14872
14873 done
14874 IFS=$as_save_IFS
14875
14876
14877 fi
14878
14879 EGREP="$ac_cv_path_EGREP"
14880 if test -z "$EGREP"; then
14881 { { echo "$as_me:$LINENO: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&5
14882 echo "$as_me: error: no acceptable $ac_prog_name could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" >&2;}
14883 { (exit 1); exit 1; }; }
14884 fi
14885
14886 else
14887 ac_cv_path_EGREP=$EGREP
14888 fi
14889
14890
14891 fi
14892 fi
14893 { echo "$as_me:$LINENO: result: $ac_cv_path_EGREP" >&5
14894 echo "${ECHO_T}$ac_cv_path_EGREP" >&6; }
14895 EGREP="$ac_cv_path_EGREP"
14896
14897
14898 if test $ac_cv_c_compiler_gnu = yes; then
14899 { echo "$as_me:$LINENO: checking whether $CC needs -traditional" >&5
14900 echo $ECHO_N "checking whether $CC needs -traditional... $ECHO_C" >&6; }
14901 if test "${ac_cv_prog_gcc_traditional+set}" = set; then
14902 echo $ECHO_N "(cached) $ECHO_C" >&6
14903 else
14904 ac_pattern="Autoconf.*'x'"
14905 cat >conftest.$ac_ext <<_ACEOF
14906 /* confdefs.h. */
14907 _ACEOF
14908 cat confdefs.h >>conftest.$ac_ext
14909 cat >>conftest.$ac_ext <<_ACEOF
14910 /* end confdefs.h. */
14911 #include <sgtty.h>
14912 Autoconf TIOCGETP
14913 _ACEOF
14914 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14915 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14916 ac_cv_prog_gcc_traditional=yes
14917 else
14918 ac_cv_prog_gcc_traditional=no
14919 fi
14920 rm -f conftest*
14921
14922
14923 if test $ac_cv_prog_gcc_traditional = no; then
14924 cat >conftest.$ac_ext <<_ACEOF
14925 /* confdefs.h. */
14926 _ACEOF
14927 cat confdefs.h >>conftest.$ac_ext
14928 cat >>conftest.$ac_ext <<_ACEOF
14929 /* end confdefs.h. */
14930 #include <termio.h>
14931 Autoconf TCGETA
14932 _ACEOF
14933 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
14934 $EGREP "$ac_pattern" >/dev/null 2>&1; then
14935 ac_cv_prog_gcc_traditional=yes
14936 fi
14937 rm -f conftest*
14938
14939 fi
14940 fi
14941 { echo "$as_me:$LINENO: result: $ac_cv_prog_gcc_traditional" >&5
14942 echo "${ECHO_T}$ac_cv_prog_gcc_traditional" >&6; }
14943 if test $ac_cv_prog_gcc_traditional = yes; then
14944 CC="$CC -traditional"
14945 fi
14946 fi
14947
14948
14949 CXXFLAGS=${CXXFLAGS:=}
14950
14951
14952
14953 ac_ext=cpp
14954 ac_cpp='$CXXCPP $CPPFLAGS'
14955 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
14956 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
14957 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
14958 if test -z "$CXX"; then
14959 if test -n "$CCC"; then
14960 CXX=$CCC
14961 else
14962 if test -n "$ac_tool_prefix"; then
14963 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
14964 do
14965 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
14966 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
14967 { echo "$as_me:$LINENO: checking for $ac_word" >&5
14968 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
14969 if test "${ac_cv_prog_CXX+set}" = set; then
14970 echo $ECHO_N "(cached) $ECHO_C" >&6
14971 else
14972 if test -n "$CXX"; then
14973 ac_cv_prog_CXX="$CXX" # Let the user override the test.
14974 else
14975 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
14976 for as_dir in $PATH
14977 do
14978 IFS=$as_save_IFS
14979 test -z "$as_dir" && as_dir=.
14980 for ac_exec_ext in '' $ac_executable_extensions; do
14981 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
14982 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
14983 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
14984 break 2
14985 fi
14986 done
14987 done
14988 IFS=$as_save_IFS
14989
14990 fi
14991 fi
14992 CXX=$ac_cv_prog_CXX
14993 if test -n "$CXX"; then
14994 { echo "$as_me:$LINENO: result: $CXX" >&5
14995 echo "${ECHO_T}$CXX" >&6; }
14996 else
14997 { echo "$as_me:$LINENO: result: no" >&5
14998 echo "${ECHO_T}no" >&6; }
14999 fi
15000
15001
15002 test -n "$CXX" && break
15003 done
15004 fi
15005 if test -z "$CXX"; then
15006 ac_ct_CXX=$CXX
15007 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
15008 do
15009 # Extract the first word of "$ac_prog", so it can be a program name with args.
15010 set dummy $ac_prog; ac_word=$2
15011 { echo "$as_me:$LINENO: checking for $ac_word" >&5
15012 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
15013 if test "${ac_cv_prog_ac_ct_CXX+set}" = set; then
15014 echo $ECHO_N "(cached) $ECHO_C" >&6
15015 else
15016 if test -n "$ac_ct_CXX"; then
15017 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
15018 else
15019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
15020 for as_dir in $PATH
15021 do
15022 IFS=$as_save_IFS
15023 test -z "$as_dir" && as_dir=.
15024 for ac_exec_ext in '' $ac_executable_extensions; do
15025 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
15026 ac_cv_prog_ac_ct_CXX="$ac_prog"
15027 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
15028 break 2
15029 fi
15030 done
15031 done
15032 IFS=$as_save_IFS
15033
15034 fi
15035 fi
15036 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
15037 if test -n "$ac_ct_CXX"; then
15038 { echo "$as_me:$LINENO: result: $ac_ct_CXX" >&5
15039 echo "${ECHO_T}$ac_ct_CXX" >&6; }
15040 else
15041 { echo "$as_me:$LINENO: result: no" >&5
15042 echo "${ECHO_T}no" >&6; }
15043 fi
15044
15045
15046 test -n "$ac_ct_CXX" && break
15047 done
15048
15049 if test "x$ac_ct_CXX" = x; then
15050 CXX="g++"
15051 else
15052 case $cross_compiling:$ac_tool_warned in
15053 yes:)
15054 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
15055 whose name does not start with the host triplet. If you think this
15056 configuration is useful to you, please write to autoconf@gnu.org." >&5
15057 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
15058 whose name does not start with the host triplet. If you think this
15059 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
15060 ac_tool_warned=yes ;;
15061 esac
15062 CXX=$ac_ct_CXX
15063 fi
15064 fi
15065
15066 fi
15067 fi
15068 # Provide some information about the compiler.
15069 echo "$as_me:$LINENO: checking for C++ compiler version" >&5
15070 ac_compiler=`set X $ac_compile; echo $2`
15071 { (ac_try="$ac_compiler --version >&5"
15072 case "(($ac_try" in
15073 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15074 *) ac_try_echo=$ac_try;;
15075 esac
15076 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15077 (eval "$ac_compiler --version >&5") 2>&5
15078 ac_status=$?
15079 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15080 (exit $ac_status); }
15081 { (ac_try="$ac_compiler -v >&5"
15082 case "(($ac_try" in
15083 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15084 *) ac_try_echo=$ac_try;;
15085 esac
15086 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15087 (eval "$ac_compiler -v >&5") 2>&5
15088 ac_status=$?
15089 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15090 (exit $ac_status); }
15091 { (ac_try="$ac_compiler -V >&5"
15092 case "(($ac_try" in
15093 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15094 *) ac_try_echo=$ac_try;;
15095 esac
15096 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15097 (eval "$ac_compiler -V >&5") 2>&5
15098 ac_status=$?
15099 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15100 (exit $ac_status); }
15101
15102 { echo "$as_me:$LINENO: checking whether we are using the GNU C++ compiler" >&5
15103 echo $ECHO_N "checking whether we are using the GNU C++ compiler... $ECHO_C" >&6; }
15104 if test "${ac_cv_cxx_compiler_gnu+set}" = set; then
15105 echo $ECHO_N "(cached) $ECHO_C" >&6
15106 else
15107 cat >conftest.$ac_ext <<_ACEOF
15108 /* confdefs.h. */
15109 _ACEOF
15110 cat confdefs.h >>conftest.$ac_ext
15111 cat >>conftest.$ac_ext <<_ACEOF
15112 /* end confdefs.h. */
15113
15114 int
15115 main ()
15116 {
15117 #ifndef __GNUC__
15118 choke me
15119 #endif
15120
15121 ;
15122 return 0;
15123 }
15124 _ACEOF
15125 rm -f conftest.$ac_objext
15126 if { (ac_try="$ac_compile"
15127 case "(($ac_try" in
15128 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15129 *) ac_try_echo=$ac_try;;
15130 esac
15131 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15132 (eval "$ac_compile") 2>conftest.er1
15133 ac_status=$?
15134 grep -v '^ *+' conftest.er1 >conftest.err
15135 rm -f conftest.er1
15136 cat conftest.err >&5
15137 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15138 (exit $ac_status); } && {
15139 test -z "$ac_cxx_werror_flag" ||
15140 test ! -s conftest.err
15141 } && test -s conftest.$ac_objext; then
15142 ac_compiler_gnu=yes
15143 else
15144 echo "$as_me: failed program was:" >&5
15145 sed 's/^/| /' conftest.$ac_ext >&5
15146
15147 ac_compiler_gnu=no
15148 fi
15149
15150 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15151 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
15152
15153 fi
15154 { echo "$as_me:$LINENO: result: $ac_cv_cxx_compiler_gnu" >&5
15155 echo "${ECHO_T}$ac_cv_cxx_compiler_gnu" >&6; }
15156 GXX=`test $ac_compiler_gnu = yes && echo yes`
15157 ac_test_CXXFLAGS=${CXXFLAGS+set}
15158 ac_save_CXXFLAGS=$CXXFLAGS
15159 { echo "$as_me:$LINENO: checking whether $CXX accepts -g" >&5
15160 echo $ECHO_N "checking whether $CXX accepts -g... $ECHO_C" >&6; }
15161 if test "${ac_cv_prog_cxx_g+set}" = set; then
15162 echo $ECHO_N "(cached) $ECHO_C" >&6
15163 else
15164 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
15165 ac_cxx_werror_flag=yes
15166 ac_cv_prog_cxx_g=no
15167 CXXFLAGS="-g"
15168 cat >conftest.$ac_ext <<_ACEOF
15169 /* confdefs.h. */
15170 _ACEOF
15171 cat confdefs.h >>conftest.$ac_ext
15172 cat >>conftest.$ac_ext <<_ACEOF
15173 /* end confdefs.h. */
15174
15175 int
15176 main ()
15177 {
15178
15179 ;
15180 return 0;
15181 }
15182 _ACEOF
15183 rm -f conftest.$ac_objext
15184 if { (ac_try="$ac_compile"
15185 case "(($ac_try" in
15186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15187 *) ac_try_echo=$ac_try;;
15188 esac
15189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15190 (eval "$ac_compile") 2>conftest.er1
15191 ac_status=$?
15192 grep -v '^ *+' conftest.er1 >conftest.err
15193 rm -f conftest.er1
15194 cat conftest.err >&5
15195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15196 (exit $ac_status); } && {
15197 test -z "$ac_cxx_werror_flag" ||
15198 test ! -s conftest.err
15199 } && test -s conftest.$ac_objext; then
15200 ac_cv_prog_cxx_g=yes
15201 else
15202 echo "$as_me: failed program was:" >&5
15203 sed 's/^/| /' conftest.$ac_ext >&5
15204
15205 CXXFLAGS=""
15206 cat >conftest.$ac_ext <<_ACEOF
15207 /* confdefs.h. */
15208 _ACEOF
15209 cat confdefs.h >>conftest.$ac_ext
15210 cat >>conftest.$ac_ext <<_ACEOF
15211 /* end confdefs.h. */
15212
15213 int
15214 main ()
15215 {
15216
15217 ;
15218 return 0;
15219 }
15220 _ACEOF
15221 rm -f conftest.$ac_objext
15222 if { (ac_try="$ac_compile"
15223 case "(($ac_try" in
15224 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15225 *) ac_try_echo=$ac_try;;
15226 esac
15227 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15228 (eval "$ac_compile") 2>conftest.er1
15229 ac_status=$?
15230 grep -v '^ *+' conftest.er1 >conftest.err
15231 rm -f conftest.er1
15232 cat conftest.err >&5
15233 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15234 (exit $ac_status); } && {
15235 test -z "$ac_cxx_werror_flag" ||
15236 test ! -s conftest.err
15237 } && test -s conftest.$ac_objext; then
15238 :
15239 else
15240 echo "$as_me: failed program was:" >&5
15241 sed 's/^/| /' conftest.$ac_ext >&5
15242
15243 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15244 CXXFLAGS="-g"
15245 cat >conftest.$ac_ext <<_ACEOF
15246 /* confdefs.h. */
15247 _ACEOF
15248 cat confdefs.h >>conftest.$ac_ext
15249 cat >>conftest.$ac_ext <<_ACEOF
15250 /* end confdefs.h. */
15251
15252 int
15253 main ()
15254 {
15255
15256 ;
15257 return 0;
15258 }
15259 _ACEOF
15260 rm -f conftest.$ac_objext
15261 if { (ac_try="$ac_compile"
15262 case "(($ac_try" in
15263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15264 *) ac_try_echo=$ac_try;;
15265 esac
15266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15267 (eval "$ac_compile") 2>conftest.er1
15268 ac_status=$?
15269 grep -v '^ *+' conftest.er1 >conftest.err
15270 rm -f conftest.er1
15271 cat conftest.err >&5
15272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15273 (exit $ac_status); } && {
15274 test -z "$ac_cxx_werror_flag" ||
15275 test ! -s conftest.err
15276 } && test -s conftest.$ac_objext; then
15277 ac_cv_prog_cxx_g=yes
15278 else
15279 echo "$as_me: failed program was:" >&5
15280 sed 's/^/| /' conftest.$ac_ext >&5
15281
15282
15283 fi
15284
15285 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15286 fi
15287
15288 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15289 fi
15290
15291 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15292 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
15293 fi
15294 { echo "$as_me:$LINENO: result: $ac_cv_prog_cxx_g" >&5
15295 echo "${ECHO_T}$ac_cv_prog_cxx_g" >&6; }
15296 if test "$ac_test_CXXFLAGS" = set; then
15297 CXXFLAGS=$ac_save_CXXFLAGS
15298 elif test $ac_cv_prog_cxx_g = yes; then
15299 if test "$GXX" = yes; then
15300 CXXFLAGS="-g -O2"
15301 else
15302 CXXFLAGS="-g"
15303 fi
15304 else
15305 if test "$GXX" = yes; then
15306 CXXFLAGS="-O2"
15307 else
15308 CXXFLAGS=
15309 fi
15310 fi
15311 ac_ext=c
15312 ac_cpp='$CPP $CPPFLAGS'
15313 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15314 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15315 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15316
15317
15318
15319 ac_ext=cpp
15320 ac_cpp='$CXXCPP $CPPFLAGS'
15321 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15322 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15323 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15324
15325 { echo "$as_me:$LINENO: checking whether we are using the Intel C++ compiler" >&5
15326 echo $ECHO_N "checking whether we are using the Intel C++ compiler... $ECHO_C" >&6; }
15327 if test "${bakefile_cv_cxx_compiler___INTEL_COMPILER+set}" = set; then
15328 echo $ECHO_N "(cached) $ECHO_C" >&6
15329 else
15330 cat >conftest.$ac_ext <<_ACEOF
15331 /* confdefs.h. */
15332 _ACEOF
15333 cat confdefs.h >>conftest.$ac_ext
15334 cat >>conftest.$ac_ext <<_ACEOF
15335 /* end confdefs.h. */
15336
15337 int
15338 main ()
15339 {
15340
15341 #ifndef __INTEL_COMPILER
15342 choke me
15343 #endif
15344
15345 ;
15346 return 0;
15347 }
15348 _ACEOF
15349 rm -f conftest.$ac_objext
15350 if { (ac_try="$ac_compile"
15351 case "(($ac_try" in
15352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15353 *) ac_try_echo=$ac_try;;
15354 esac
15355 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15356 (eval "$ac_compile") 2>conftest.er1
15357 ac_status=$?
15358 grep -v '^ *+' conftest.er1 >conftest.err
15359 rm -f conftest.er1
15360 cat conftest.err >&5
15361 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15362 (exit $ac_status); } && {
15363 test -z "$ac_cxx_werror_flag" ||
15364 test ! -s conftest.err
15365 } && test -s conftest.$ac_objext; then
15366 bakefile_cv_cxx_compiler___INTEL_COMPILER=yes
15367 else
15368 echo "$as_me: failed program was:" >&5
15369 sed 's/^/| /' conftest.$ac_ext >&5
15370
15371 bakefile_cv_cxx_compiler___INTEL_COMPILER=no
15372
15373 fi
15374
15375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15376
15377
15378 fi
15379 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___INTEL_COMPILER" >&5
15380 echo "${ECHO_T}$bakefile_cv_cxx_compiler___INTEL_COMPILER" >&6; }
15381 ac_ext=c
15382 ac_cpp='$CPP $CPPFLAGS'
15383 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15384 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15385 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15386
15387 if test "x$bakefile_cv_c_compiler___INTEL_COMPILER" = "xyes"; then
15388 :; INTELCXX=yes
15389 else
15390 :;
15391 fi
15392
15393
15394 if test "x$GCXX" != "xyes"; then
15395 if test "xCXX" = "xC"; then
15396 { echo "$as_me:$LINENO: checking if the C compiler requires -ext o" >&5
15397 echo $ECHO_N "checking if the C compiler requires -ext o... $ECHO_C" >&6; }
15398 if test "${bakefile_cv_c_exto+set}" = set; then
15399 echo $ECHO_N "(cached) $ECHO_C" >&6
15400 else
15401 cat >conftest.$ac_ext <<_ACEOF
15402 /* confdefs.h. */
15403 _ACEOF
15404 cat confdefs.h >>conftest.$ac_ext
15405 cat >>conftest.$ac_ext <<_ACEOF
15406 /* end confdefs.h. */
15407
15408 int
15409 main ()
15410 {
15411
15412 ;
15413 return 0;
15414 }
15415 _ACEOF
15416 rm -f conftest.$ac_objext conftest.$ac_ext.o
15417 if { (eval echo "$as_me:$LINENO: \"$ac_compile\"") >&5
15418 (eval $ac_compile) 2>&5
15419 ac_status=$?
15420 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15421 (exit $ac_status); }; then
15422 for ac_file in `(ls conftest.* 2>/dev/null)`; do
15423 case $ac_file in
15424 conftest.$ac_ext.o)
15425 bakefile_cv_c_exto="-ext o"
15426 ;;
15427 *)
15428 ;;
15429 esac
15430 done
15431 else
15432 { { echo "$as_me:$LINENO: error: cannot figure out if compiler needs -ext o: cannot compile
15433 See \`config.log' for more details." >&5
15434 echo "$as_me: error: cannot figure out if compiler needs -ext o: cannot compile
15435 See \`config.log' for more details." >&2;}
15436 { (exit 1); exit 1; }; }
15437
15438 fi
15439
15440 rm -f conftest.$ac_ext.o conftest.$ac_objext conftest.$ac_ext
15441
15442 fi
15443 { echo "$as_me:$LINENO: result: $bakefile_cv_c_exto" >&5
15444 echo "${ECHO_T}$bakefile_cv_c_exto" >&6; }
15445 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15446 if test "c" = "c"; then
15447 CFLAGS="$bakefile_cv_c_exto $CFLAGS"
15448 fi
15449 if test "c" = "cxx"; then
15450 CXXFLAGS="$bakefile_cv_c_exto $CXXFLAGS"
15451 fi
15452 fi
15453
15454 if test "x$bakefile_cv_c_exto" '!=' "x"; then
15455 unset ac_cv_prog_cc_g
15456 ac_test_CFLAGS=${CFLAGS+set}
15457 ac_save_CFLAGS=$CFLAGS
15458 { echo "$as_me:$LINENO: checking whether $CC accepts -g" >&5
15459 echo $ECHO_N "checking whether $CC accepts -g... $ECHO_C" >&6; }
15460 if test "${ac_cv_prog_cc_g+set}" = set; then
15461 echo $ECHO_N "(cached) $ECHO_C" >&6
15462 else
15463 ac_save_c_werror_flag=$ac_c_werror_flag
15464 ac_c_werror_flag=yes
15465 ac_cv_prog_cc_g=no
15466 CFLAGS="-g"
15467 cat >conftest.$ac_ext <<_ACEOF
15468 /* confdefs.h. */
15469 _ACEOF
15470 cat confdefs.h >>conftest.$ac_ext
15471 cat >>conftest.$ac_ext <<_ACEOF
15472 /* end confdefs.h. */
15473
15474 int
15475 main ()
15476 {
15477
15478 ;
15479 return 0;
15480 }
15481 _ACEOF
15482 rm -f conftest.$ac_objext
15483 if { (ac_try="$ac_compile"
15484 case "(($ac_try" in
15485 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15486 *) ac_try_echo=$ac_try;;
15487 esac
15488 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15489 (eval "$ac_compile") 2>conftest.er1
15490 ac_status=$?
15491 grep -v '^ *+' conftest.er1 >conftest.err
15492 rm -f conftest.er1
15493 cat conftest.err >&5
15494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15495 (exit $ac_status); } && {
15496 test -z "$ac_c_werror_flag" ||
15497 test ! -s conftest.err
15498 } && test -s conftest.$ac_objext; then
15499 ac_cv_prog_cc_g=yes
15500 else
15501 echo "$as_me: failed program was:" >&5
15502 sed 's/^/| /' conftest.$ac_ext >&5
15503
15504 CFLAGS=""
15505 cat >conftest.$ac_ext <<_ACEOF
15506 /* confdefs.h. */
15507 _ACEOF
15508 cat confdefs.h >>conftest.$ac_ext
15509 cat >>conftest.$ac_ext <<_ACEOF
15510 /* end confdefs.h. */
15511
15512 int
15513 main ()
15514 {
15515
15516 ;
15517 return 0;
15518 }
15519 _ACEOF
15520 rm -f conftest.$ac_objext
15521 if { (ac_try="$ac_compile"
15522 case "(($ac_try" in
15523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15524 *) ac_try_echo=$ac_try;;
15525 esac
15526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15527 (eval "$ac_compile") 2>conftest.er1
15528 ac_status=$?
15529 grep -v '^ *+' conftest.er1 >conftest.err
15530 rm -f conftest.er1
15531 cat conftest.err >&5
15532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15533 (exit $ac_status); } && {
15534 test -z "$ac_c_werror_flag" ||
15535 test ! -s conftest.err
15536 } && test -s conftest.$ac_objext; then
15537 :
15538 else
15539 echo "$as_me: failed program was:" >&5
15540 sed 's/^/| /' conftest.$ac_ext >&5
15541
15542 ac_c_werror_flag=$ac_save_c_werror_flag
15543 CFLAGS="-g"
15544 cat >conftest.$ac_ext <<_ACEOF
15545 /* confdefs.h. */
15546 _ACEOF
15547 cat confdefs.h >>conftest.$ac_ext
15548 cat >>conftest.$ac_ext <<_ACEOF
15549 /* end confdefs.h. */
15550
15551 int
15552 main ()
15553 {
15554
15555 ;
15556 return 0;
15557 }
15558 _ACEOF
15559 rm -f conftest.$ac_objext
15560 if { (ac_try="$ac_compile"
15561 case "(($ac_try" in
15562 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15563 *) ac_try_echo=$ac_try;;
15564 esac
15565 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15566 (eval "$ac_compile") 2>conftest.er1
15567 ac_status=$?
15568 grep -v '^ *+' conftest.er1 >conftest.err
15569 rm -f conftest.er1
15570 cat conftest.err >&5
15571 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15572 (exit $ac_status); } && {
15573 test -z "$ac_c_werror_flag" ||
15574 test ! -s conftest.err
15575 } && test -s conftest.$ac_objext; then
15576 ac_cv_prog_cc_g=yes
15577 else
15578 echo "$as_me: failed program was:" >&5
15579 sed 's/^/| /' conftest.$ac_ext >&5
15580
15581
15582 fi
15583
15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15585 fi
15586
15587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15588 fi
15589
15590 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15591 ac_c_werror_flag=$ac_save_c_werror_flag
15592 fi
15593 { echo "$as_me:$LINENO: result: $ac_cv_prog_cc_g" >&5
15594 echo "${ECHO_T}$ac_cv_prog_cc_g" >&6; }
15595 if test "$ac_test_CFLAGS" = set; then
15596 CFLAGS=$ac_save_CFLAGS
15597 elif test $ac_cv_prog_cc_g = yes; then
15598 if test "$GCC" = yes; then
15599 CFLAGS="-g -O2"
15600 else
15601 CFLAGS="-g"
15602 fi
15603 else
15604 if test "$GCC" = yes; then
15605 CFLAGS="-O2"
15606 else
15607 CFLAGS=
15608 fi
15609 fi
15610 fi
15611 fi
15612
15613 case `uname -s` in
15614 AIX*)
15615 ac_ext=cpp
15616 ac_cpp='$CXXCPP $CPPFLAGS'
15617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15620
15621 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15622 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15623 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15624 echo $ECHO_N "(cached) $ECHO_C" >&6
15625 else
15626 cat >conftest.$ac_ext <<_ACEOF
15627 /* confdefs.h. */
15628 _ACEOF
15629 cat confdefs.h >>conftest.$ac_ext
15630 cat >>conftest.$ac_ext <<_ACEOF
15631 /* end confdefs.h. */
15632
15633 int
15634 main ()
15635 {
15636 #ifndef __xlC__
15637 choke me
15638 #endif
15639
15640 ;
15641 return 0;
15642 }
15643 _ACEOF
15644 rm -f conftest.$ac_objext
15645 if { (ac_try="$ac_compile"
15646 case "(($ac_try" in
15647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15648 *) ac_try_echo=$ac_try;;
15649 esac
15650 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15651 (eval "$ac_compile") 2>conftest.er1
15652 ac_status=$?
15653 grep -v '^ *+' conftest.er1 >conftest.err
15654 rm -f conftest.er1
15655 cat conftest.err >&5
15656 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15657 (exit $ac_status); } && {
15658 test -z "$ac_cxx_werror_flag" ||
15659 test ! -s conftest.err
15660 } && test -s conftest.$ac_objext; then
15661 bakefile_compiler_xlc=yes
15662 else
15663 echo "$as_me: failed program was:" >&5
15664 sed 's/^/| /' conftest.$ac_ext >&5
15665
15666 bakefile_compiler_xlc=no
15667 fi
15668
15669 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15670 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15671
15672 fi
15673 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15674 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15675
15676 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15677 ac_ext=c
15678 ac_cpp='$CPP $CPPFLAGS'
15679 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15680 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15681 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15682
15683
15684 ;;
15685
15686 Darwin)
15687 ac_ext=cpp
15688 ac_cpp='$CXXCPP $CPPFLAGS'
15689 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15690 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15691 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15692
15693 { echo "$as_me:$LINENO: checking whether we are using the Metrowerks C++ compiler" >&5
15694 echo $ECHO_N "checking whether we are using the Metrowerks C++ compiler... $ECHO_C" >&6; }
15695 if test "${bakefile_cv_cxx_compiler_mwerks+set}" = set; then
15696 echo $ECHO_N "(cached) $ECHO_C" >&6
15697 else
15698 cat >conftest.$ac_ext <<_ACEOF
15699 /* confdefs.h. */
15700 _ACEOF
15701 cat confdefs.h >>conftest.$ac_ext
15702 cat >>conftest.$ac_ext <<_ACEOF
15703 /* end confdefs.h. */
15704
15705 int
15706 main ()
15707 {
15708 #ifndef __MWERKS__
15709 choke me
15710 #endif
15711
15712 ;
15713 return 0;
15714 }
15715 _ACEOF
15716 rm -f conftest.$ac_objext
15717 if { (ac_try="$ac_compile"
15718 case "(($ac_try" in
15719 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15720 *) ac_try_echo=$ac_try;;
15721 esac
15722 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15723 (eval "$ac_compile") 2>conftest.er1
15724 ac_status=$?
15725 grep -v '^ *+' conftest.er1 >conftest.err
15726 rm -f conftest.er1
15727 cat conftest.err >&5
15728 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15729 (exit $ac_status); } && {
15730 test -z "$ac_cxx_werror_flag" ||
15731 test ! -s conftest.err
15732 } && test -s conftest.$ac_objext; then
15733 bakefile_compiler_mwerks=yes
15734 else
15735 echo "$as_me: failed program was:" >&5
15736 sed 's/^/| /' conftest.$ac_ext >&5
15737
15738 bakefile_compiler_mwerks=no
15739 fi
15740
15741 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15742 bakefile_cv_cxx_compiler_mwerks=$bakefile_compiler_mwerks
15743
15744 fi
15745 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_mwerks" >&5
15746 echo "${ECHO_T}$bakefile_cv_cxx_compiler_mwerks" >&6; }
15747
15748 MWCXX=`test $bakefile_cv_cxx_compiler_mwerks = yes && echo yes`
15749 ac_ext=c
15750 ac_cpp='$CPP $CPPFLAGS'
15751 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15752 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15753 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15754
15755
15756 ac_ext=cpp
15757 ac_cpp='$CXXCPP $CPPFLAGS'
15758 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15759 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15760 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15761
15762 { echo "$as_me:$LINENO: checking whether we are using the IBM xlC C++ compiler" >&5
15763 echo $ECHO_N "checking whether we are using the IBM xlC C++ compiler... $ECHO_C" >&6; }
15764 if test "${bakefile_cv_cxx_compiler_xlc+set}" = set; then
15765 echo $ECHO_N "(cached) $ECHO_C" >&6
15766 else
15767 cat >conftest.$ac_ext <<_ACEOF
15768 /* confdefs.h. */
15769 _ACEOF
15770 cat confdefs.h >>conftest.$ac_ext
15771 cat >>conftest.$ac_ext <<_ACEOF
15772 /* end confdefs.h. */
15773
15774 int
15775 main ()
15776 {
15777 #ifndef __xlC__
15778 choke me
15779 #endif
15780
15781 ;
15782 return 0;
15783 }
15784 _ACEOF
15785 rm -f conftest.$ac_objext
15786 if { (ac_try="$ac_compile"
15787 case "(($ac_try" in
15788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15789 *) ac_try_echo=$ac_try;;
15790 esac
15791 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15792 (eval "$ac_compile") 2>conftest.er1
15793 ac_status=$?
15794 grep -v '^ *+' conftest.er1 >conftest.err
15795 rm -f conftest.er1
15796 cat conftest.err >&5
15797 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15798 (exit $ac_status); } && {
15799 test -z "$ac_cxx_werror_flag" ||
15800 test ! -s conftest.err
15801 } && test -s conftest.$ac_objext; then
15802 bakefile_compiler_xlc=yes
15803 else
15804 echo "$as_me: failed program was:" >&5
15805 sed 's/^/| /' conftest.$ac_ext >&5
15806
15807 bakefile_compiler_xlc=no
15808 fi
15809
15810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15811 bakefile_cv_cxx_compiler_xlc=$bakefile_compiler_xlc
15812
15813 fi
15814 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler_xlc" >&5
15815 echo "${ECHO_T}$bakefile_cv_cxx_compiler_xlc" >&6; }
15816
15817 XLCXX=`test $bakefile_cv_cxx_compiler_xlc = yes && echo yes`
15818 ac_ext=c
15819 ac_cpp='$CPP $CPPFLAGS'
15820 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15821 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15822 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15823
15824
15825 ;;
15826
15827 IRIX*)
15828
15829
15830 ac_ext=cpp
15831 ac_cpp='$CXXCPP $CPPFLAGS'
15832 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15833 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15834 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15835
15836 { echo "$as_me:$LINENO: checking whether we are using the SGI C++ compiler" >&5
15837 echo $ECHO_N "checking whether we are using the SGI C++ compiler... $ECHO_C" >&6; }
15838 if test "${bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION+set}" = set; then
15839 echo $ECHO_N "(cached) $ECHO_C" >&6
15840 else
15841 cat >conftest.$ac_ext <<_ACEOF
15842 /* confdefs.h. */
15843 _ACEOF
15844 cat confdefs.h >>conftest.$ac_ext
15845 cat >>conftest.$ac_ext <<_ACEOF
15846 /* end confdefs.h. */
15847
15848 int
15849 main ()
15850 {
15851
15852 #ifndef _SGI_COMPILER_VERSION
15853 choke me
15854 #endif
15855
15856 ;
15857 return 0;
15858 }
15859 _ACEOF
15860 rm -f conftest.$ac_objext
15861 if { (ac_try="$ac_compile"
15862 case "(($ac_try" in
15863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15864 *) ac_try_echo=$ac_try;;
15865 esac
15866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15867 (eval "$ac_compile") 2>conftest.er1
15868 ac_status=$?
15869 grep -v '^ *+' conftest.er1 >conftest.err
15870 rm -f conftest.er1
15871 cat conftest.err >&5
15872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15873 (exit $ac_status); } && {
15874 test -z "$ac_cxx_werror_flag" ||
15875 test ! -s conftest.err
15876 } && test -s conftest.$ac_objext; then
15877 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=yes
15878 else
15879 echo "$as_me: failed program was:" >&5
15880 sed 's/^/| /' conftest.$ac_ext >&5
15881
15882 bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION=no
15883
15884 fi
15885
15886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15887
15888
15889 fi
15890 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&5
15891 echo "${ECHO_T}$bakefile_cv_cxx_compiler__SGI_COMPILER_VERSION" >&6; }
15892 ac_ext=c
15893 ac_cpp='$CPP $CPPFLAGS'
15894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15897
15898 if test "x$bakefile_cv_c_compiler__SGI_COMPILER_VERSION" = "xyes"; then
15899 :; SGICXX=yes
15900 else
15901 :;
15902 fi
15903
15904
15905 ;;
15906
15907 HP-UX*)
15908
15909
15910 ac_ext=cpp
15911 ac_cpp='$CXXCPP $CPPFLAGS'
15912 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15913 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15914 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15915
15916 { echo "$as_me:$LINENO: checking whether we are using the HP C++ compiler" >&5
15917 echo $ECHO_N "checking whether we are using the HP C++ compiler... $ECHO_C" >&6; }
15918 if test "${bakefile_cv_cxx_compiler___HP_aCC+set}" = set; then
15919 echo $ECHO_N "(cached) $ECHO_C" >&6
15920 else
15921 cat >conftest.$ac_ext <<_ACEOF
15922 /* confdefs.h. */
15923 _ACEOF
15924 cat confdefs.h >>conftest.$ac_ext
15925 cat >>conftest.$ac_ext <<_ACEOF
15926 /* end confdefs.h. */
15927
15928 int
15929 main ()
15930 {
15931
15932 #ifndef __HP_aCC
15933 choke me
15934 #endif
15935
15936 ;
15937 return 0;
15938 }
15939 _ACEOF
15940 rm -f conftest.$ac_objext
15941 if { (ac_try="$ac_compile"
15942 case "(($ac_try" in
15943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
15944 *) ac_try_echo=$ac_try;;
15945 esac
15946 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
15947 (eval "$ac_compile") 2>conftest.er1
15948 ac_status=$?
15949 grep -v '^ *+' conftest.er1 >conftest.err
15950 rm -f conftest.er1
15951 cat conftest.err >&5
15952 echo "$as_me:$LINENO: \$? = $ac_status" >&5
15953 (exit $ac_status); } && {
15954 test -z "$ac_cxx_werror_flag" ||
15955 test ! -s conftest.err
15956 } && test -s conftest.$ac_objext; then
15957 bakefile_cv_cxx_compiler___HP_aCC=yes
15958 else
15959 echo "$as_me: failed program was:" >&5
15960 sed 's/^/| /' conftest.$ac_ext >&5
15961
15962 bakefile_cv_cxx_compiler___HP_aCC=no
15963
15964 fi
15965
15966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15967
15968
15969 fi
15970 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___HP_aCC" >&5
15971 echo "${ECHO_T}$bakefile_cv_cxx_compiler___HP_aCC" >&6; }
15972 ac_ext=c
15973 ac_cpp='$CPP $CPPFLAGS'
15974 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15975 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15976 ac_compiler_gnu=$ac_cv_c_compiler_gnu
15977
15978 if test "x$bakefile_cv_c_compiler___HP_aCC" = "xyes"; then
15979 :; HPCXX=yes
15980 else
15981 :;
15982 fi
15983
15984
15985 ;;
15986
15987 OSF1)
15988
15989
15990 ac_ext=cpp
15991 ac_cpp='$CXXCPP $CPPFLAGS'
15992 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
15993 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
15994 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
15995
15996 { echo "$as_me:$LINENO: checking whether we are using the Compaq C++ compiler" >&5
15997 echo $ECHO_N "checking whether we are using the Compaq C++ compiler... $ECHO_C" >&6; }
15998 if test "${bakefile_cv_cxx_compiler___DECCXX+set}" = set; then
15999 echo $ECHO_N "(cached) $ECHO_C" >&6
16000 else
16001 cat >conftest.$ac_ext <<_ACEOF
16002 /* confdefs.h. */
16003 _ACEOF
16004 cat confdefs.h >>conftest.$ac_ext
16005 cat >>conftest.$ac_ext <<_ACEOF
16006 /* end confdefs.h. */
16007
16008 int
16009 main ()
16010 {
16011
16012 #ifndef __DECCXX
16013 choke me
16014 #endif
16015
16016 ;
16017 return 0;
16018 }
16019 _ACEOF
16020 rm -f conftest.$ac_objext
16021 if { (ac_try="$ac_compile"
16022 case "(($ac_try" in
16023 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16024 *) ac_try_echo=$ac_try;;
16025 esac
16026 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16027 (eval "$ac_compile") 2>conftest.er1
16028 ac_status=$?
16029 grep -v '^ *+' conftest.er1 >conftest.err
16030 rm -f conftest.er1
16031 cat conftest.err >&5
16032 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16033 (exit $ac_status); } && {
16034 test -z "$ac_cxx_werror_flag" ||
16035 test ! -s conftest.err
16036 } && test -s conftest.$ac_objext; then
16037 bakefile_cv_cxx_compiler___DECCXX=yes
16038 else
16039 echo "$as_me: failed program was:" >&5
16040 sed 's/^/| /' conftest.$ac_ext >&5
16041
16042 bakefile_cv_cxx_compiler___DECCXX=no
16043
16044 fi
16045
16046 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16047
16048
16049 fi
16050 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___DECCXX" >&5
16051 echo "${ECHO_T}$bakefile_cv_cxx_compiler___DECCXX" >&6; }
16052 ac_ext=c
16053 ac_cpp='$CPP $CPPFLAGS'
16054 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16055 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16056 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16057
16058 if test "x$bakefile_cv_c_compiler___DECCXX" = "xyes"; then
16059 :; COMPAQCXX=yes
16060 else
16061 :;
16062 fi
16063
16064
16065 ;;
16066
16067 SunOS)
16068
16069
16070 ac_ext=cpp
16071 ac_cpp='$CXXCPP $CPPFLAGS'
16072 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16073 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16074 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
16075
16076 { echo "$as_me:$LINENO: checking whether we are using the Sun C++ compiler" >&5
16077 echo $ECHO_N "checking whether we are using the Sun C++ compiler... $ECHO_C" >&6; }
16078 if test "${bakefile_cv_cxx_compiler___SUNPRO_CC+set}" = set; then
16079 echo $ECHO_N "(cached) $ECHO_C" >&6
16080 else
16081 cat >conftest.$ac_ext <<_ACEOF
16082 /* confdefs.h. */
16083 _ACEOF
16084 cat confdefs.h >>conftest.$ac_ext
16085 cat >>conftest.$ac_ext <<_ACEOF
16086 /* end confdefs.h. */
16087
16088 int
16089 main ()
16090 {
16091
16092 #ifndef __SUNPRO_CC
16093 choke me
16094 #endif
16095
16096 ;
16097 return 0;
16098 }
16099 _ACEOF
16100 rm -f conftest.$ac_objext
16101 if { (ac_try="$ac_compile"
16102 case "(($ac_try" in
16103 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16104 *) ac_try_echo=$ac_try;;
16105 esac
16106 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16107 (eval "$ac_compile") 2>conftest.er1
16108 ac_status=$?
16109 grep -v '^ *+' conftest.er1 >conftest.err
16110 rm -f conftest.er1
16111 cat conftest.err >&5
16112 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16113 (exit $ac_status); } && {
16114 test -z "$ac_cxx_werror_flag" ||
16115 test ! -s conftest.err
16116 } && test -s conftest.$ac_objext; then
16117 bakefile_cv_cxx_compiler___SUNPRO_CC=yes
16118 else
16119 echo "$as_me: failed program was:" >&5
16120 sed 's/^/| /' conftest.$ac_ext >&5
16121
16122 bakefile_cv_cxx_compiler___SUNPRO_CC=no
16123
16124 fi
16125
16126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16127
16128
16129 fi
16130 { echo "$as_me:$LINENO: result: $bakefile_cv_cxx_compiler___SUNPRO_CC" >&5
16131 echo "${ECHO_T}$bakefile_cv_cxx_compiler___SUNPRO_CC" >&6; }
16132 ac_ext=c
16133 ac_cpp='$CPP $CPPFLAGS'
16134 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
16135 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
16136 ac_compiler_gnu=$ac_cv_c_compiler_gnu
16137
16138 if test "x$bakefile_cv_c_compiler___SUNPRO_CC" = "xyes"; then
16139 :; SUNCXX=yes
16140 else
16141 :;
16142 fi
16143
16144
16145 ;;
16146 esac
16147 fi
16148
16149
16150
16151 if test -n "$ac_tool_prefix"; then
16152 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
16153 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
16154 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16155 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16156 if test "${ac_cv_prog_RANLIB+set}" = set; then
16157 echo $ECHO_N "(cached) $ECHO_C" >&6
16158 else
16159 if test -n "$RANLIB"; then
16160 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
16161 else
16162 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16163 for as_dir in $PATH
16164 do
16165 IFS=$as_save_IFS
16166 test -z "$as_dir" && as_dir=.
16167 for ac_exec_ext in '' $ac_executable_extensions; do
16168 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16169 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
16170 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16171 break 2
16172 fi
16173 done
16174 done
16175 IFS=$as_save_IFS
16176
16177 fi
16178 fi
16179 RANLIB=$ac_cv_prog_RANLIB
16180 if test -n "$RANLIB"; then
16181 { echo "$as_me:$LINENO: result: $RANLIB" >&5
16182 echo "${ECHO_T}$RANLIB" >&6; }
16183 else
16184 { echo "$as_me:$LINENO: result: no" >&5
16185 echo "${ECHO_T}no" >&6; }
16186 fi
16187
16188
16189 fi
16190 if test -z "$ac_cv_prog_RANLIB"; then
16191 ac_ct_RANLIB=$RANLIB
16192 # Extract the first word of "ranlib", so it can be a program name with args.
16193 set dummy ranlib; ac_word=$2
16194 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16195 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16196 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
16197 echo $ECHO_N "(cached) $ECHO_C" >&6
16198 else
16199 if test -n "$ac_ct_RANLIB"; then
16200 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
16201 else
16202 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16203 for as_dir in $PATH
16204 do
16205 IFS=$as_save_IFS
16206 test -z "$as_dir" && as_dir=.
16207 for ac_exec_ext in '' $ac_executable_extensions; do
16208 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16209 ac_cv_prog_ac_ct_RANLIB="ranlib"
16210 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16211 break 2
16212 fi
16213 done
16214 done
16215 IFS=$as_save_IFS
16216
16217 fi
16218 fi
16219 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
16220 if test -n "$ac_ct_RANLIB"; then
16221 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
16222 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
16223 else
16224 { echo "$as_me:$LINENO: result: no" >&5
16225 echo "${ECHO_T}no" >&6; }
16226 fi
16227
16228 if test "x$ac_ct_RANLIB" = x; then
16229 RANLIB=":"
16230 else
16231 case $cross_compiling:$ac_tool_warned in
16232 yes:)
16233 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16234 whose name does not start with the host triplet. If you think this
16235 configuration is useful to you, please write to autoconf@gnu.org." >&5
16236 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16237 whose name does not start with the host triplet. If you think this
16238 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16239 ac_tool_warned=yes ;;
16240 esac
16241 RANLIB=$ac_ct_RANLIB
16242 fi
16243 else
16244 RANLIB="$ac_cv_prog_RANLIB"
16245 fi
16246
16247
16248 if test "x$SUNCXX" != xyes; then
16249 if test -n "$ac_tool_prefix"; then
16250 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
16251 set dummy ${ac_tool_prefix}ar; ac_word=$2
16252 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16253 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16254 if test "${ac_cv_prog_AR+set}" = set; then
16255 echo $ECHO_N "(cached) $ECHO_C" >&6
16256 else
16257 if test -n "$AR"; then
16258 ac_cv_prog_AR="$AR" # Let the user override the test.
16259 else
16260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16261 for as_dir in $PATH
16262 do
16263 IFS=$as_save_IFS
16264 test -z "$as_dir" && as_dir=.
16265 for ac_exec_ext in '' $ac_executable_extensions; do
16266 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16267 ac_cv_prog_AR="${ac_tool_prefix}ar"
16268 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16269 break 2
16270 fi
16271 done
16272 done
16273 IFS=$as_save_IFS
16274
16275 fi
16276 fi
16277 AR=$ac_cv_prog_AR
16278 if test -n "$AR"; then
16279 { echo "$as_me:$LINENO: result: $AR" >&5
16280 echo "${ECHO_T}$AR" >&6; }
16281 else
16282 { echo "$as_me:$LINENO: result: no" >&5
16283 echo "${ECHO_T}no" >&6; }
16284 fi
16285
16286
16287 fi
16288 if test -z "$ac_cv_prog_AR"; then
16289 ac_ct_AR=$AR
16290 # Extract the first word of "ar", so it can be a program name with args.
16291 set dummy ar; ac_word=$2
16292 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16293 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16294 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
16295 echo $ECHO_N "(cached) $ECHO_C" >&6
16296 else
16297 if test -n "$ac_ct_AR"; then
16298 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
16299 else
16300 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16301 for as_dir in $PATH
16302 do
16303 IFS=$as_save_IFS
16304 test -z "$as_dir" && as_dir=.
16305 for ac_exec_ext in '' $ac_executable_extensions; do
16306 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16307 ac_cv_prog_ac_ct_AR="ar"
16308 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16309 break 2
16310 fi
16311 done
16312 done
16313 IFS=$as_save_IFS
16314
16315 fi
16316 fi
16317 ac_ct_AR=$ac_cv_prog_ac_ct_AR
16318 if test -n "$ac_ct_AR"; then
16319 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
16320 echo "${ECHO_T}$ac_ct_AR" >&6; }
16321 else
16322 { echo "$as_me:$LINENO: result: no" >&5
16323 echo "${ECHO_T}no" >&6; }
16324 fi
16325
16326 if test "x$ac_ct_AR" = x; then
16327 AR=""
16328 else
16329 case $cross_compiling:$ac_tool_warned in
16330 yes:)
16331 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16332 whose name does not start with the host triplet. If you think this
16333 configuration is useful to you, please write to autoconf@gnu.org." >&5
16334 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16335 whose name does not start with the host triplet. If you think this
16336 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16337 ac_tool_warned=yes ;;
16338 esac
16339 AR=$ac_ct_AR
16340 fi
16341 else
16342 AR="$ac_cv_prog_AR"
16343 fi
16344
16345 if test "x$AR" = "x" ; then
16346 { { echo "$as_me:$LINENO: error: ar is needed to build wxWidgets" >&5
16347 echo "$as_me: error: ar is needed to build wxWidgets" >&2;}
16348 { (exit 1); exit 1; }; }
16349 fi
16350 fi
16351
16352 # Find a good install program. We prefer a C program (faster),
16353 # so one script is as good as another. But avoid the broken or
16354 # incompatible versions:
16355 # SysV /etc/install, /usr/sbin/install
16356 # SunOS /usr/etc/install
16357 # IRIX /sbin/install
16358 # AIX /bin/install
16359 # AmigaOS /C/install, which installs bootblocks on floppy discs
16360 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
16361 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
16362 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
16363 # OS/2's system install, which has a completely different semantic
16364 # ./install, which can be erroneously created by make from ./install.sh.
16365 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
16366 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
16367 if test -z "$INSTALL"; then
16368 if test "${ac_cv_path_install+set}" = set; then
16369 echo $ECHO_N "(cached) $ECHO_C" >&6
16370 else
16371 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16372 for as_dir in $PATH
16373 do
16374 IFS=$as_save_IFS
16375 test -z "$as_dir" && as_dir=.
16376 # Account for people who put trailing slashes in PATH elements.
16377 case $as_dir/ in
16378 ./ | .// | /cC/* | \
16379 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
16380 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
16381 /usr/ucb/* ) ;;
16382 *)
16383 # OSF1 and SCO ODT 3.0 have their own names for install.
16384 # Don't use installbsd from OSF since it installs stuff as root
16385 # by default.
16386 for ac_prog in ginstall scoinst install; do
16387 for ac_exec_ext in '' $ac_executable_extensions; do
16388 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
16389 if test $ac_prog = install &&
16390 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16391 # AIX install. It has an incompatible calling convention.
16392 :
16393 elif test $ac_prog = install &&
16394 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
16395 # program-specific install script used by HP pwplus--don't use.
16396 :
16397 else
16398 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
16399 break 3
16400 fi
16401 fi
16402 done
16403 done
16404 ;;
16405 esac
16406 done
16407 IFS=$as_save_IFS
16408
16409
16410 fi
16411 if test "${ac_cv_path_install+set}" = set; then
16412 INSTALL=$ac_cv_path_install
16413 else
16414 # As a last resort, use the slow shell script. Don't cache a
16415 # value for INSTALL within a source directory, because that will
16416 # break other packages using the cache if that directory is
16417 # removed, or if the value is a relative name.
16418 INSTALL=$ac_install_sh
16419 fi
16420 fi
16421 { echo "$as_me:$LINENO: result: $INSTALL" >&5
16422 echo "${ECHO_T}$INSTALL" >&6; }
16423
16424 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
16425 # It thinks the first close brace ends the variable substitution.
16426 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
16427
16428 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
16429
16430 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
16431
16432
16433 case ${INSTALL} in
16434 /* ) # Absolute
16435 ;;
16436 ?:* ) # Drive letter, considered as absolute.
16437 ;;
16438 *)
16439 INSTALL=`pwd`/${INSTALL} ;;
16440 esac
16441
16442
16443 case "${host}" in
16444
16445 *-*-darwin* )
16446 INSTALL_PROGRAM="cp -fp"
16447 INSTALL_DATA="cp -fp"
16448 ;;
16449 *)
16450 ;;
16451 esac
16452
16453 if test -n "$ac_tool_prefix"; then
16454 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
16455 set dummy ${ac_tool_prefix}strip; ac_word=$2
16456 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16457 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16458 if test "${ac_cv_prog_STRIP+set}" = set; then
16459 echo $ECHO_N "(cached) $ECHO_C" >&6
16460 else
16461 if test -n "$STRIP"; then
16462 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
16463 else
16464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16465 for as_dir in $PATH
16466 do
16467 IFS=$as_save_IFS
16468 test -z "$as_dir" && as_dir=.
16469 for ac_exec_ext in '' $ac_executable_extensions; do
16470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16471 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
16472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16473 break 2
16474 fi
16475 done
16476 done
16477 IFS=$as_save_IFS
16478
16479 fi
16480 fi
16481 STRIP=$ac_cv_prog_STRIP
16482 if test -n "$STRIP"; then
16483 { echo "$as_me:$LINENO: result: $STRIP" >&5
16484 echo "${ECHO_T}$STRIP" >&6; }
16485 else
16486 { echo "$as_me:$LINENO: result: no" >&5
16487 echo "${ECHO_T}no" >&6; }
16488 fi
16489
16490
16491 fi
16492 if test -z "$ac_cv_prog_STRIP"; then
16493 ac_ct_STRIP=$STRIP
16494 # Extract the first word of "strip", so it can be a program name with args.
16495 set dummy strip; ac_word=$2
16496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16498 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
16499 echo $ECHO_N "(cached) $ECHO_C" >&6
16500 else
16501 if test -n "$ac_ct_STRIP"; then
16502 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
16503 else
16504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16505 for as_dir in $PATH
16506 do
16507 IFS=$as_save_IFS
16508 test -z "$as_dir" && as_dir=.
16509 for ac_exec_ext in '' $ac_executable_extensions; do
16510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16511 ac_cv_prog_ac_ct_STRIP="strip"
16512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16513 break 2
16514 fi
16515 done
16516 done
16517 IFS=$as_save_IFS
16518
16519 fi
16520 fi
16521 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
16522 if test -n "$ac_ct_STRIP"; then
16523 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
16524 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
16525 else
16526 { echo "$as_me:$LINENO: result: no" >&5
16527 echo "${ECHO_T}no" >&6; }
16528 fi
16529
16530 if test "x$ac_ct_STRIP" = x; then
16531 STRIP="true"
16532 else
16533 case $cross_compiling:$ac_tool_warned in
16534 yes:)
16535 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16536 whose name does not start with the host triplet. If you think this
16537 configuration is useful to you, please write to autoconf@gnu.org." >&5
16538 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16539 whose name does not start with the host triplet. If you think this
16540 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16541 ac_tool_warned=yes ;;
16542 esac
16543 STRIP=$ac_ct_STRIP
16544 fi
16545 else
16546 STRIP="$ac_cv_prog_STRIP"
16547 fi
16548
16549
16550 if test "$wxUSE_WINE" = "yes"; then
16551 if test -n "$ac_tool_prefix"; then
16552 # Extract the first word of "${ac_tool_prefix}wrc", so it can be a program name with args.
16553 set dummy ${ac_tool_prefix}wrc; ac_word=$2
16554 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16555 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16556 if test "${ac_cv_prog_WINDRES+set}" = set; then
16557 echo $ECHO_N "(cached) $ECHO_C" >&6
16558 else
16559 if test -n "$WINDRES"; then
16560 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16561 else
16562 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16563 for as_dir in $PATH
16564 do
16565 IFS=$as_save_IFS
16566 test -z "$as_dir" && as_dir=.
16567 for ac_exec_ext in '' $ac_executable_extensions; do
16568 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16569 ac_cv_prog_WINDRES="${ac_tool_prefix}wrc"
16570 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16571 break 2
16572 fi
16573 done
16574 done
16575 IFS=$as_save_IFS
16576
16577 fi
16578 fi
16579 WINDRES=$ac_cv_prog_WINDRES
16580 if test -n "$WINDRES"; then
16581 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16582 echo "${ECHO_T}$WINDRES" >&6; }
16583 else
16584 { echo "$as_me:$LINENO: result: no" >&5
16585 echo "${ECHO_T}no" >&6; }
16586 fi
16587
16588
16589 fi
16590 if test -z "$ac_cv_prog_WINDRES"; then
16591 ac_ct_WINDRES=$WINDRES
16592 # Extract the first word of "wrc", so it can be a program name with args.
16593 set dummy wrc; ac_word=$2
16594 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16595 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16596 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16597 echo $ECHO_N "(cached) $ECHO_C" >&6
16598 else
16599 if test -n "$ac_ct_WINDRES"; then
16600 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16601 else
16602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16603 for as_dir in $PATH
16604 do
16605 IFS=$as_save_IFS
16606 test -z "$as_dir" && as_dir=.
16607 for ac_exec_ext in '' $ac_executable_extensions; do
16608 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16609 ac_cv_prog_ac_ct_WINDRES="wrc"
16610 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16611 break 2
16612 fi
16613 done
16614 done
16615 IFS=$as_save_IFS
16616
16617 fi
16618 fi
16619 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16620 if test -n "$ac_ct_WINDRES"; then
16621 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16622 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16623 else
16624 { echo "$as_me:$LINENO: result: no" >&5
16625 echo "${ECHO_T}no" >&6; }
16626 fi
16627
16628 if test "x$ac_ct_WINDRES" = x; then
16629 WINDRES=""
16630 else
16631 case $cross_compiling:$ac_tool_warned in
16632 yes:)
16633 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16634 whose name does not start with the host triplet. If you think this
16635 configuration is useful to you, please write to autoconf@gnu.org." >&5
16636 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16637 whose name does not start with the host triplet. If you think this
16638 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16639 ac_tool_warned=yes ;;
16640 esac
16641 WINDRES=$ac_ct_WINDRES
16642 fi
16643 else
16644 WINDRES="$ac_cv_prog_WINDRES"
16645 fi
16646
16647 RESCOMP="$WINDRES"
16648 else
16649 case "${host}" in
16650 *-*-cygwin* | *-*-mingw32* )
16651 if test -n "$ac_tool_prefix"; then
16652 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
16653 set dummy ${ac_tool_prefix}windres; ac_word=$2
16654 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16655 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16656 if test "${ac_cv_prog_WINDRES+set}" = set; then
16657 echo $ECHO_N "(cached) $ECHO_C" >&6
16658 else
16659 if test -n "$WINDRES"; then
16660 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
16661 else
16662 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16663 for as_dir in $PATH
16664 do
16665 IFS=$as_save_IFS
16666 test -z "$as_dir" && as_dir=.
16667 for ac_exec_ext in '' $ac_executable_extensions; do
16668 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16669 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
16670 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16671 break 2
16672 fi
16673 done
16674 done
16675 IFS=$as_save_IFS
16676
16677 fi
16678 fi
16679 WINDRES=$ac_cv_prog_WINDRES
16680 if test -n "$WINDRES"; then
16681 { echo "$as_me:$LINENO: result: $WINDRES" >&5
16682 echo "${ECHO_T}$WINDRES" >&6; }
16683 else
16684 { echo "$as_me:$LINENO: result: no" >&5
16685 echo "${ECHO_T}no" >&6; }
16686 fi
16687
16688
16689 fi
16690 if test -z "$ac_cv_prog_WINDRES"; then
16691 ac_ct_WINDRES=$WINDRES
16692 # Extract the first word of "windres", so it can be a program name with args.
16693 set dummy windres; ac_word=$2
16694 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16695 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16696 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
16697 echo $ECHO_N "(cached) $ECHO_C" >&6
16698 else
16699 if test -n "$ac_ct_WINDRES"; then
16700 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
16701 else
16702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16703 for as_dir in $PATH
16704 do
16705 IFS=$as_save_IFS
16706 test -z "$as_dir" && as_dir=.
16707 for ac_exec_ext in '' $ac_executable_extensions; do
16708 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16709 ac_cv_prog_ac_ct_WINDRES="windres"
16710 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16711 break 2
16712 fi
16713 done
16714 done
16715 IFS=$as_save_IFS
16716
16717 fi
16718 fi
16719 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
16720 if test -n "$ac_ct_WINDRES"; then
16721 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
16722 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
16723 else
16724 { echo "$as_me:$LINENO: result: no" >&5
16725 echo "${ECHO_T}no" >&6; }
16726 fi
16727
16728 if test "x$ac_ct_WINDRES" = x; then
16729 WINDRES=""
16730 else
16731 case $cross_compiling:$ac_tool_warned in
16732 yes:)
16733 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16734 whose name does not start with the host triplet. If you think this
16735 configuration is useful to you, please write to autoconf@gnu.org." >&5
16736 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16737 whose name does not start with the host triplet. If you think this
16738 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16739 ac_tool_warned=yes ;;
16740 esac
16741 WINDRES=$ac_ct_WINDRES
16742 fi
16743 else
16744 WINDRES="$ac_cv_prog_WINDRES"
16745 fi
16746
16747 RESCOMP="$WINDRES"
16748 if test -n "$ac_tool_prefix"; then
16749 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
16750 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
16751 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16752 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16753 if test "${ac_cv_prog_DLLTOOL+set}" = set; then
16754 echo $ECHO_N "(cached) $ECHO_C" >&6
16755 else
16756 if test -n "$DLLTOOL"; then
16757 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
16758 else
16759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16760 for as_dir in $PATH
16761 do
16762 IFS=$as_save_IFS
16763 test -z "$as_dir" && as_dir=.
16764 for ac_exec_ext in '' $ac_executable_extensions; do
16765 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16766 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
16767 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16768 break 2
16769 fi
16770 done
16771 done
16772 IFS=$as_save_IFS
16773
16774 fi
16775 fi
16776 DLLTOOL=$ac_cv_prog_DLLTOOL
16777 if test -n "$DLLTOOL"; then
16778 { echo "$as_me:$LINENO: result: $DLLTOOL" >&5
16779 echo "${ECHO_T}$DLLTOOL" >&6; }
16780 else
16781 { echo "$as_me:$LINENO: result: no" >&5
16782 echo "${ECHO_T}no" >&6; }
16783 fi
16784
16785
16786 fi
16787 if test -z "$ac_cv_prog_DLLTOOL"; then
16788 ac_ct_DLLTOOL=$DLLTOOL
16789 # Extract the first word of "dlltool", so it can be a program name with args.
16790 set dummy dlltool; ac_word=$2
16791 { echo "$as_me:$LINENO: checking for $ac_word" >&5
16792 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
16793 if test "${ac_cv_prog_ac_ct_DLLTOOL+set}" = set; then
16794 echo $ECHO_N "(cached) $ECHO_C" >&6
16795 else
16796 if test -n "$ac_ct_DLLTOOL"; then
16797 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
16798 else
16799 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
16800 for as_dir in $PATH
16801 do
16802 IFS=$as_save_IFS
16803 test -z "$as_dir" && as_dir=.
16804 for ac_exec_ext in '' $ac_executable_extensions; do
16805 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
16806 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
16807 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
16808 break 2
16809 fi
16810 done
16811 done
16812 IFS=$as_save_IFS
16813
16814 fi
16815 fi
16816 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
16817 if test -n "$ac_ct_DLLTOOL"; then
16818 { echo "$as_me:$LINENO: result: $ac_ct_DLLTOOL" >&5
16819 echo "${ECHO_T}$ac_ct_DLLTOOL" >&6; }
16820 else
16821 { echo "$as_me:$LINENO: result: no" >&5
16822 echo "${ECHO_T}no" >&6; }
16823 fi
16824
16825 if test "x$ac_ct_DLLTOOL" = x; then
16826 DLLTOOL=""
16827 else
16828 case $cross_compiling:$ac_tool_warned in
16829 yes:)
16830 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
16831 whose name does not start with the host triplet. If you think this
16832 configuration is useful to you, please write to autoconf@gnu.org." >&5
16833 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
16834 whose name does not start with the host triplet. If you think this
16835 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
16836 ac_tool_warned=yes ;;
16837 esac
16838 DLLTOOL=$ac_ct_DLLTOOL
16839 fi
16840 else
16841 DLLTOOL="$ac_cv_prog_DLLTOOL"
16842 fi
16843
16844 ;;
16845 esac
16846 fi
16847
16848 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
16849 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
16850 if test "${wx_cv_prog_makeisgnu+set}" = set; then
16851 echo $ECHO_N "(cached) $ECHO_C" >&6
16852 else
16853
16854 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
16855 $EGREP -s GNU > /dev/null); then
16856 wx_cv_prog_makeisgnu="yes"
16857 else
16858 wx_cv_prog_makeisgnu="no"
16859 fi
16860
16861 fi
16862 { echo "$as_me:$LINENO: result: $wx_cv_prog_makeisgnu" >&5
16863 echo "${ECHO_T}$wx_cv_prog_makeisgnu" >&6; }
16864
16865 if test "x$wx_cv_prog_makeisgnu" = "xyes"; then
16866 IF_GNU_MAKE=""
16867 else
16868 IF_GNU_MAKE="#"
16869 fi
16870
16871
16872
16873 if test "x$wx_cv_prog_makeisgnu" != "xyes"; then
16874 { echo "$as_me:$LINENO: checking if make supports VPATH" >&5
16875 echo $ECHO_N "checking if make supports VPATH... $ECHO_C" >&6; }
16876 if test "${wx_cv_prog_makevpath+set}" = set; then
16877 echo $ECHO_N "(cached) $ECHO_C" >&6
16878 else
16879
16880 cat - << EOF > confMake
16881 check : file
16882 cp \$? \$@
16883 cp \$? final_file
16884 EOF
16885
16886 if test ! -d sub ; then
16887 mkdir sub
16888 fi
16889 echo dummy > sub/file
16890 ${MAKE-make} -f confMake VPATH=sub 2>&5 > /dev/null
16891 RESULT=$?
16892 rm -f sub/file check final_file confMake
16893 rmdir sub
16894 if test "$RESULT" = 0; then
16895 wx_cv_prog_makevpath="yes"
16896 else
16897 wx_cv_prog_makevpath="no"
16898 fi
16899
16900 fi
16901 { echo "$as_me:$LINENO: result: $wx_cv_prog_makevpath" >&5
16902 echo "${ECHO_T}$wx_cv_prog_makevpath" >&6; }
16903
16904 if test "x$wx_cv_prog_makevpath" != "xyes"; then
16905 { { echo "$as_me:$LINENO: error:
16906 You need a make-utility that is able to use the variable
16907 VPATH correctly.
16908 If your version of make does not support VPATH correctly,
16909 please install GNU-make (possibly as gmake), and start
16910 configure with the following command:
16911 export MAKE=gmake; ./configure for sh-type shells
16912 setenv MAKE gmake; ./configure for csh-type shells
16913 Also please do remember to use gmake in this case every time
16914 you are trying to compile.
16915 " >&5
16916 echo "$as_me: error:
16917 You need a make-utility that is able to use the variable
16918 VPATH correctly.
16919 If your version of make does not support VPATH correctly,
16920 please install GNU-make (possibly as gmake), and start
16921 configure with the following command:
16922 export MAKE=gmake; ./configure for sh-type shells
16923 setenv MAKE gmake; ./configure for csh-type shells
16924 Also please do remember to use gmake in this case every time
16925 you are trying to compile.
16926 " >&2;}
16927 { (exit 1); exit 1; }; }
16928 fi fi
16929 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
16930 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
16931 LN_S=$as_ln_s
16932 if test "$LN_S" = "ln -s"; then
16933 { echo "$as_me:$LINENO: result: yes" >&5
16934 echo "${ECHO_T}yes" >&6; }
16935 else
16936 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
16937 echo "${ECHO_T}no, using $LN_S" >&6; }
16938 fi
16939
16940
16941
16942
16943 if test "x$XLCXX" = "xyes" -a "x$USE_AIX" = "x1"; then
16944 CXXFLAGS="-qunique $CXXFLAGS"
16945 fi
16946
16947 case "${host}" in
16948 powerpc-*-darwin* )
16949 { echo "$as_me:$LINENO: checking if __POWERPC__ is already defined" >&5
16950 echo $ECHO_N "checking if __POWERPC__ is already defined... $ECHO_C" >&6; }
16951 cat >conftest.$ac_ext <<_ACEOF
16952 /* confdefs.h. */
16953 _ACEOF
16954 cat confdefs.h >>conftest.$ac_ext
16955 cat >>conftest.$ac_ext <<_ACEOF
16956 /* end confdefs.h. */
16957
16958 int
16959 main ()
16960 {
16961 #ifndef __POWERPC__
16962 choke me for lack of PowerPC
16963 #endif
16964
16965 ;
16966 return 0;
16967 }
16968 _ACEOF
16969 rm -f conftest.$ac_objext
16970 if { (ac_try="$ac_compile"
16971 case "(($ac_try" in
16972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
16973 *) ac_try_echo=$ac_try;;
16974 esac
16975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
16976 (eval "$ac_compile") 2>conftest.er1
16977 ac_status=$?
16978 grep -v '^ *+' conftest.er1 >conftest.err
16979 rm -f conftest.er1
16980 cat conftest.err >&5
16981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
16982 (exit $ac_status); } && {
16983 test -z "$ac_c_werror_flag" ||
16984 test ! -s conftest.err
16985 } && test -s conftest.$ac_objext; then
16986 { echo "$as_me:$LINENO: result: yes" >&5
16987 echo "${ECHO_T}yes" >&6; }
16988 else
16989 echo "$as_me: failed program was:" >&5
16990 sed 's/^/| /' conftest.$ac_ext >&5
16991
16992 { echo "$as_me:$LINENO: result: no" >&5
16993 echo "${ECHO_T}no" >&6; }
16994 cat >>confdefs.h <<\_ACEOF
16995 #define __POWERPC__ 1
16996 _ACEOF
16997
16998
16999 fi
17000
17001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17002 ;;
17003 esac
17004
17005 case "${host}" in
17006 *-*-darwin* )
17007 { echo "$as_me:$LINENO: checking if CoreFoundation/CFBase.h is usable" >&5
17008 echo $ECHO_N "checking if CoreFoundation/CFBase.h is usable... $ECHO_C" >&6; }
17009 cat >conftest.$ac_ext <<_ACEOF
17010 /* confdefs.h. */
17011 _ACEOF
17012 cat confdefs.h >>conftest.$ac_ext
17013 cat >>conftest.$ac_ext <<_ACEOF
17014 /* end confdefs.h. */
17015 #include <CoreFoundation/CFBase.h>
17016
17017 int
17018 main ()
17019 {
17020
17021 ;
17022 return 0;
17023 }
17024 _ACEOF
17025 rm -f conftest.$ac_objext
17026 if { (ac_try="$ac_compile"
17027 case "(($ac_try" in
17028 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17029 *) ac_try_echo=$ac_try;;
17030 esac
17031 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17032 (eval "$ac_compile") 2>conftest.er1
17033 ac_status=$?
17034 grep -v '^ *+' conftest.er1 >conftest.err
17035 rm -f conftest.er1
17036 cat conftest.err >&5
17037 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17038 (exit $ac_status); } && {
17039 test -z "$ac_c_werror_flag" ||
17040 test ! -s conftest.err
17041 } && test -s conftest.$ac_objext; then
17042 { echo "$as_me:$LINENO: result: yes" >&5
17043 echo "${ECHO_T}yes" >&6; }
17044 else
17045 echo "$as_me: failed program was:" >&5
17046 sed 's/^/| /' conftest.$ac_ext >&5
17047
17048 { echo "$as_me:$LINENO: result: no" >&5
17049 echo "${ECHO_T}no" >&6; }
17050 { echo "$as_me:$LINENO: checking if __CF_USE_FRAMEWORK_INCLUDES__ is required" >&5
17051 echo $ECHO_N "checking if __CF_USE_FRAMEWORK_INCLUDES__ is required... $ECHO_C" >&6; }
17052 cat >conftest.$ac_ext <<_ACEOF
17053 /* confdefs.h. */
17054 _ACEOF
17055 cat confdefs.h >>conftest.$ac_ext
17056 cat >>conftest.$ac_ext <<_ACEOF
17057 /* end confdefs.h. */
17058 #define __CF_USE_FRAMEWORK_INCLUDES__
17059 #include <CoreFoundation/CFBase.h>
17060
17061 int
17062 main ()
17063 {
17064
17065 ;
17066 return 0;
17067 }
17068 _ACEOF
17069 rm -f conftest.$ac_objext
17070 if { (ac_try="$ac_compile"
17071 case "(($ac_try" in
17072 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17073 *) ac_try_echo=$ac_try;;
17074 esac
17075 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17076 (eval "$ac_compile") 2>conftest.er1
17077 ac_status=$?
17078 grep -v '^ *+' conftest.er1 >conftest.err
17079 rm -f conftest.er1
17080 cat conftest.err >&5
17081 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17082 (exit $ac_status); } && {
17083 test -z "$ac_c_werror_flag" ||
17084 test ! -s conftest.err
17085 } && test -s conftest.$ac_objext; then
17086 { echo "$as_me:$LINENO: result: yes" >&5
17087 echo "${ECHO_T}yes" >&6; }
17088 CPPFLAGS="-D__CF_USE_FRAMEWORK_INCLUDES__ $CPPFLAGS"
17089 else
17090 echo "$as_me: failed program was:" >&5
17091 sed 's/^/| /' conftest.$ac_ext >&5
17092
17093 { { echo "$as_me:$LINENO: error: no. CoreFoundation not available.
17094 See \`config.log' for more details." >&5
17095 echo "$as_me: error: no. CoreFoundation not available.
17096 See \`config.log' for more details." >&2;}
17097 { (exit 1); exit 1; }; }
17098
17099 fi
17100
17101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17102
17103
17104 fi
17105
17106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17107 ;;
17108 esac
17109
17110 wants_win32=0
17111 doesnt_want_win32=0
17112 case "${host}" in
17113 *-*-cygwin*)
17114 if test "$wxUSE_MSW" = 1 ; then
17115 wants_win32=1
17116 else
17117 { echo "$as_me:$LINENO: checking if -mno-cygwin is in effect" >&5
17118 echo $ECHO_N "checking if -mno-cygwin is in effect... $ECHO_C" >&6; }
17119 if test "${wx_cv_nocygwin+set}" = set; then
17120 echo $ECHO_N "(cached) $ECHO_C" >&6
17121 else
17122
17123 cat >conftest.$ac_ext <<_ACEOF
17124 /* confdefs.h. */
17125 _ACEOF
17126 cat confdefs.h >>conftest.$ac_ext
17127 cat >>conftest.$ac_ext <<_ACEOF
17128 /* end confdefs.h. */
17129
17130 int
17131 main ()
17132 {
17133
17134 #ifdef __MINGW32__
17135 choke me
17136 #endif
17137
17138 ;
17139 return 0;
17140 }
17141 _ACEOF
17142 rm -f conftest.$ac_objext
17143 if { (ac_try="$ac_compile"
17144 case "(($ac_try" in
17145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17146 *) ac_try_echo=$ac_try;;
17147 esac
17148 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17149 (eval "$ac_compile") 2>conftest.er1
17150 ac_status=$?
17151 grep -v '^ *+' conftest.er1 >conftest.err
17152 rm -f conftest.er1
17153 cat conftest.err >&5
17154 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17155 (exit $ac_status); } && {
17156 test -z "$ac_c_werror_flag" ||
17157 test ! -s conftest.err
17158 } && test -s conftest.$ac_objext; then
17159 wx_cv_nocygwin=no
17160 else
17161 echo "$as_me: failed program was:" >&5
17162 sed 's/^/| /' conftest.$ac_ext >&5
17163
17164 wx_cv_nocygwin=yes
17165
17166 fi
17167
17168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17169
17170
17171 fi
17172 { echo "$as_me:$LINENO: result: $wx_cv_nocygwin" >&5
17173 echo "${ECHO_T}$wx_cv_nocygwin" >&6; }
17174
17175 if test "$wx_cv_nocygwin" = "yes"; then
17176 wants_win32=1
17177 else
17178 doesnt_want_win32=1
17179 fi
17180 fi
17181 if test "$wants_win32" = 1 ; then
17182 BAKEFILE_FORCE_PLATFORM=win32
17183 fi
17184 ;;
17185 *-*-mingw*)
17186 wants_win32=1
17187 ;;
17188 esac
17189
17190 if test "$wxUSE_WINE" = "yes"; then
17191 wants_win32=1
17192 LDFLAGS_GUI="-mwindows"
17193 fi
17194
17195 if test "$wants_win32" = 1 ; then
17196 USE_UNIX=0
17197 USE_WIN32=1
17198 cat >>confdefs.h <<\_ACEOF
17199 #define __WIN32__ 1
17200 _ACEOF
17201
17202 cat >>confdefs.h <<\_ACEOF
17203 #define __WIN95__ 1
17204 _ACEOF
17205
17206 cat >>confdefs.h <<\_ACEOF
17207 #define __WINDOWS__ 1
17208 _ACEOF
17209
17210 cat >>confdefs.h <<\_ACEOF
17211 #define __GNUWIN32__ 1
17212 _ACEOF
17213
17214 cat >>confdefs.h <<\_ACEOF
17215 #define STRICT 1
17216 _ACEOF
17217
17218 fi
17219 if test "$doesnt_want_win32" = 1 ; then
17220 USE_UNIX=1
17221 USE_WIN32=0
17222 fi
17223
17224 if test "$USE_UNIX" = 1 ; then
17225 wxUSE_UNIX=yes
17226 cat >>confdefs.h <<\_ACEOF
17227 #define __UNIX__ 1
17228 _ACEOF
17229
17230 fi
17231
17232 case "${host}" in
17233 *-pc-os2_emx | *-pc-os2-emx )
17234 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_GTK" = 1 -o "$wxUSE_X11" = 1; then
17235 { echo "$as_me:$LINENO: checking for drand48 in -lcExt" >&5
17236 echo $ECHO_N "checking for drand48 in -lcExt... $ECHO_C" >&6; }
17237 if test "${ac_cv_lib_cExt_drand48+set}" = set; then
17238 echo $ECHO_N "(cached) $ECHO_C" >&6
17239 else
17240 ac_check_lib_save_LIBS=$LIBS
17241 LIBS="-lcExt $LIBS"
17242 cat >conftest.$ac_ext <<_ACEOF
17243 /* confdefs.h. */
17244 _ACEOF
17245 cat confdefs.h >>conftest.$ac_ext
17246 cat >>conftest.$ac_ext <<_ACEOF
17247 /* end confdefs.h. */
17248
17249 /* Override any GCC internal prototype to avoid an error.
17250 Use char because int might match the return type of a GCC
17251 builtin and then its argument prototype would still apply. */
17252 #ifdef __cplusplus
17253 extern "C"
17254 #endif
17255 char drand48 ();
17256 int
17257 main ()
17258 {
17259 return drand48 ();
17260 ;
17261 return 0;
17262 }
17263 _ACEOF
17264 rm -f conftest.$ac_objext conftest$ac_exeext
17265 if { (ac_try="$ac_link"
17266 case "(($ac_try" in
17267 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17268 *) ac_try_echo=$ac_try;;
17269 esac
17270 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17271 (eval "$ac_link") 2>conftest.er1
17272 ac_status=$?
17273 grep -v '^ *+' conftest.er1 >conftest.err
17274 rm -f conftest.er1
17275 cat conftest.err >&5
17276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17277 (exit $ac_status); } && {
17278 test -z "$ac_c_werror_flag" ||
17279 test ! -s conftest.err
17280 } && test -s conftest$ac_exeext &&
17281 $as_test_x conftest$ac_exeext; then
17282 ac_cv_lib_cExt_drand48=yes
17283 else
17284 echo "$as_me: failed program was:" >&5
17285 sed 's/^/| /' conftest.$ac_ext >&5
17286
17287 ac_cv_lib_cExt_drand48=no
17288 fi
17289
17290 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17291 conftest$ac_exeext conftest.$ac_ext
17292 LIBS=$ac_check_lib_save_LIBS
17293 fi
17294 { echo "$as_me:$LINENO: result: $ac_cv_lib_cExt_drand48" >&5
17295 echo "${ECHO_T}$ac_cv_lib_cExt_drand48" >&6; }
17296 if test $ac_cv_lib_cExt_drand48 = yes; then
17297 LIBS="$LIBS -lcExt"
17298 fi
17299
17300 else
17301 RESPROGRAMOBJ="\${top_srcdir}/include/wx/os2/wx.res"
17302 fi
17303 { echo "$as_me:$LINENO: checking for gcc/libc version" >&5
17304 echo $ECHO_N "checking for gcc/libc version... $ECHO_C" >&6; }
17305 if test "${wx_cv_gccversion+set}" = set; then
17306 echo $ECHO_N "(cached) $ECHO_C" >&6
17307 else
17308
17309 if test "$cross_compiling" = yes; then
17310 wx_cv_gccversion="EMX2"
17311
17312 else
17313 cat >conftest.$ac_ext <<_ACEOF
17314 /* confdefs.h. */
17315 _ACEOF
17316 cat confdefs.h >>conftest.$ac_ext
17317 cat >>conftest.$ac_ext <<_ACEOF
17318 /* end confdefs.h. */
17319
17320 #include <stdio.h>
17321
17322 int main()
17323 {
17324 FILE *f=fopen("conftestval", "w");
17325 if (!f) exit(1);
17326 fprintf(f,
17327 #if (__GNUC__ < 3)
17328 "EMX2"
17329 #elif (__GNUC__==3) && ((__GNUC_MINOR__ < 2) || ((__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__<2)))
17330 "EMX3"
17331 #elif (__GNUC__==3) && (__GNUC_MINOR__==2) && (__GNUC_PATCHLEVEL__==2)
17332 "Innotek5"
17333 #else
17334 "Innotek6"
17335 #endif
17336 );
17337 exit(0);
17338 }
17339
17340 _ACEOF
17341 rm -f conftest$ac_exeext
17342 if { (ac_try="$ac_link"
17343 case "(($ac_try" in
17344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17345 *) ac_try_echo=$ac_try;;
17346 esac
17347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17348 (eval "$ac_link") 2>&5
17349 ac_status=$?
17350 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17351 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17352 { (case "(($ac_try" in
17353 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17354 *) ac_try_echo=$ac_try;;
17355 esac
17356 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17357 (eval "$ac_try") 2>&5
17358 ac_status=$?
17359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17360 (exit $ac_status); }; }; then
17361 wx_cv_gccversion=`cat conftestval`
17362 else
17363 echo "$as_me: program exited with status $ac_status" >&5
17364 echo "$as_me: failed program was:" >&5
17365 sed 's/^/| /' conftest.$ac_ext >&5
17366
17367 ( exit $ac_status )
17368 wx_cv_gccversion="EMX2"
17369 fi
17370 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17371 fi
17372
17373
17374
17375 fi
17376 { echo "$as_me:$LINENO: result: $wx_cv_gccversion" >&5
17377 echo "${ECHO_T}$wx_cv_gccversion" >&6; }
17378 if test "$wx_cv_gccversion" = "EMX2"; then
17379 LIBS="$LIBS -lstdcpp"
17380 LDFLAGS="$LDFLAGS -Zsysv-signals"
17381 else
17382 if test "$wx_cv_gccversion" = "EMX3"; then
17383 LIBS="$LIBS -lstdcxx -lgcc"
17384 LDFLAGS="$LDFLAGS -Zsysv-signals"
17385 else
17386 LIBS="$LIBS -lstdc++"
17387 fi
17388 fi
17389 if test "$wxUSE_SHARED" = "yes" -a "$wxUSE_OMF" = "no"; then
17390 { echo "$as_me:$LINENO: WARNING: Building DLLs requires OMF mode, enabled" >&5
17391 echo "$as_me: WARNING: Building DLLs requires OMF mode, enabled" >&2;}
17392 wxUSE_OMF=yes
17393 enable_omf=yes
17394 fi
17395 ;;
17396 *)
17397
17398 { echo "$as_me:$LINENO: checking for strcasecmp() in string.h" >&5
17399 echo $ECHO_N "checking for strcasecmp() in string.h... $ECHO_C" >&6; }
17400 if test "${ac_cv_string_strcasecmp+set}" = set; then
17401 echo $ECHO_N "(cached) $ECHO_C" >&6
17402 else
17403
17404 cat >conftest.$ac_ext <<_ACEOF
17405 /* confdefs.h. */
17406 _ACEOF
17407 cat confdefs.h >>conftest.$ac_ext
17408 cat >>conftest.$ac_ext <<_ACEOF
17409 /* end confdefs.h. */
17410
17411 #include <string.h>
17412
17413 int
17414 main ()
17415 {
17416
17417 strcasecmp("foo", "bar");
17418
17419 ;
17420 return 0;
17421 }
17422 _ACEOF
17423 rm -f conftest.$ac_objext conftest$ac_exeext
17424 if { (ac_try="$ac_link"
17425 case "(($ac_try" in
17426 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17427 *) ac_try_echo=$ac_try;;
17428 esac
17429 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17430 (eval "$ac_link") 2>conftest.er1
17431 ac_status=$?
17432 grep -v '^ *+' conftest.er1 >conftest.err
17433 rm -f conftest.er1
17434 cat conftest.err >&5
17435 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17436 (exit $ac_status); } && {
17437 test -z "$ac_c_werror_flag" ||
17438 test ! -s conftest.err
17439 } && test -s conftest$ac_exeext &&
17440 $as_test_x conftest$ac_exeext; then
17441 ac_cv_string_strcasecmp=yes
17442 else
17443 echo "$as_me: failed program was:" >&5
17444 sed 's/^/| /' conftest.$ac_ext >&5
17445
17446 ac_cv_string_strcasecmp=no
17447
17448 fi
17449
17450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17451 conftest$ac_exeext conftest.$ac_ext
17452
17453 fi
17454 { echo "$as_me:$LINENO: result: $ac_cv_string_strcasecmp" >&5
17455 echo "${ECHO_T}$ac_cv_string_strcasecmp" >&6; }
17456
17457 if test x"$ac_cv_string_strcasecmp" = "xyes"; then
17458 cat >>confdefs.h <<\_ACEOF
17459 #define HAVE_STRCASECMP_IN_STRING_H 1
17460 _ACEOF
17461
17462 else
17463 { echo "$as_me:$LINENO: checking for strcasecmp() in strings.h" >&5
17464 echo $ECHO_N "checking for strcasecmp() in strings.h... $ECHO_C" >&6; }
17465 if test "${ac_cv_strings_strcasecmp+set}" = set; then
17466 echo $ECHO_N "(cached) $ECHO_C" >&6
17467 else
17468
17469 cat >conftest.$ac_ext <<_ACEOF
17470 /* confdefs.h. */
17471 _ACEOF
17472 cat confdefs.h >>conftest.$ac_ext
17473 cat >>conftest.$ac_ext <<_ACEOF
17474 /* end confdefs.h. */
17475
17476 #include <strings.h>
17477
17478 int
17479 main ()
17480 {
17481
17482 strcasecmp("foo", "bar");
17483
17484 ;
17485 return 0;
17486 }
17487 _ACEOF
17488 rm -f conftest.$ac_objext conftest$ac_exeext
17489 if { (ac_try="$ac_link"
17490 case "(($ac_try" in
17491 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17492 *) ac_try_echo=$ac_try;;
17493 esac
17494 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17495 (eval "$ac_link") 2>conftest.er1
17496 ac_status=$?
17497 grep -v '^ *+' conftest.er1 >conftest.err
17498 rm -f conftest.er1
17499 cat conftest.err >&5
17500 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17501 (exit $ac_status); } && {
17502 test -z "$ac_c_werror_flag" ||
17503 test ! -s conftest.err
17504 } && test -s conftest$ac_exeext &&
17505 $as_test_x conftest$ac_exeext; then
17506 ac_cv_strings_strcasecmp=yes
17507 else
17508 echo "$as_me: failed program was:" >&5
17509 sed 's/^/| /' conftest.$ac_ext >&5
17510
17511 ac_cv_strings_strcasecmp=no
17512
17513 fi
17514
17515 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
17516 conftest$ac_exeext conftest.$ac_ext
17517
17518 fi
17519 { echo "$as_me:$LINENO: result: $ac_cv_strings_strcasecmp" >&5
17520 echo "${ECHO_T}$ac_cv_strings_strcasecmp" >&6; }
17521
17522 if test x"$ac_cv_strings_strcasecmp" = "xyes"; then
17523 cat >>confdefs.h <<\_ACEOF
17524 #define HAVE_STRCASECMP_IN_STRINGS_H 1
17525 _ACEOF
17526
17527 else
17528 { { echo "$as_me:$LINENO: error: No case-insensitive string comparison function found." >&5
17529 echo "$as_me: error: No case-insensitive string comparison function found." >&2;}
17530 { (exit 1); exit 1; }; }
17531 fi
17532 fi
17533
17534 ;;
17535 esac
17536
17537
17538 { echo "$as_me:$LINENO: checking for ANSI C header files" >&5
17539 echo $ECHO_N "checking for ANSI C header files... $ECHO_C" >&6; }
17540 if test "${ac_cv_header_stdc+set}" = set; then
17541 echo $ECHO_N "(cached) $ECHO_C" >&6
17542 else
17543 cat >conftest.$ac_ext <<_ACEOF
17544 /* confdefs.h. */
17545 _ACEOF
17546 cat confdefs.h >>conftest.$ac_ext
17547 cat >>conftest.$ac_ext <<_ACEOF
17548 /* end confdefs.h. */
17549 #include <stdlib.h>
17550 #include <stdarg.h>
17551 #include <string.h>
17552 #include <float.h>
17553
17554 int
17555 main ()
17556 {
17557
17558 ;
17559 return 0;
17560 }
17561 _ACEOF
17562 rm -f conftest.$ac_objext
17563 if { (ac_try="$ac_compile"
17564 case "(($ac_try" in
17565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17566 *) ac_try_echo=$ac_try;;
17567 esac
17568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17569 (eval "$ac_compile") 2>conftest.er1
17570 ac_status=$?
17571 grep -v '^ *+' conftest.er1 >conftest.err
17572 rm -f conftest.er1
17573 cat conftest.err >&5
17574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17575 (exit $ac_status); } && {
17576 test -z "$ac_c_werror_flag" ||
17577 test ! -s conftest.err
17578 } && test -s conftest.$ac_objext; then
17579 ac_cv_header_stdc=yes
17580 else
17581 echo "$as_me: failed program was:" >&5
17582 sed 's/^/| /' conftest.$ac_ext >&5
17583
17584 ac_cv_header_stdc=no
17585 fi
17586
17587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17588
17589 if test $ac_cv_header_stdc = yes; then
17590 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
17591 cat >conftest.$ac_ext <<_ACEOF
17592 /* confdefs.h. */
17593 _ACEOF
17594 cat confdefs.h >>conftest.$ac_ext
17595 cat >>conftest.$ac_ext <<_ACEOF
17596 /* end confdefs.h. */
17597 #include <string.h>
17598
17599 _ACEOF
17600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17601 $EGREP "memchr" >/dev/null 2>&1; then
17602 :
17603 else
17604 ac_cv_header_stdc=no
17605 fi
17606 rm -f conftest*
17607
17608 fi
17609
17610 if test $ac_cv_header_stdc = yes; then
17611 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
17612 cat >conftest.$ac_ext <<_ACEOF
17613 /* confdefs.h. */
17614 _ACEOF
17615 cat confdefs.h >>conftest.$ac_ext
17616 cat >>conftest.$ac_ext <<_ACEOF
17617 /* end confdefs.h. */
17618 #include <stdlib.h>
17619
17620 _ACEOF
17621 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17622 $EGREP "free" >/dev/null 2>&1; then
17623 :
17624 else
17625 ac_cv_header_stdc=no
17626 fi
17627 rm -f conftest*
17628
17629 fi
17630
17631 if test $ac_cv_header_stdc = yes; then
17632 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
17633 if test "$cross_compiling" = yes; then
17634 :
17635 else
17636 cat >conftest.$ac_ext <<_ACEOF
17637 /* confdefs.h. */
17638 _ACEOF
17639 cat confdefs.h >>conftest.$ac_ext
17640 cat >>conftest.$ac_ext <<_ACEOF
17641 /* end confdefs.h. */
17642 #include <ctype.h>
17643 #include <stdlib.h>
17644 #if ((' ' & 0x0FF) == 0x020)
17645 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
17646 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
17647 #else
17648 # define ISLOWER(c) \
17649 (('a' <= (c) && (c) <= 'i') \
17650 || ('j' <= (c) && (c) <= 'r') \
17651 || ('s' <= (c) && (c) <= 'z'))
17652 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
17653 #endif
17654
17655 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
17656 int
17657 main ()
17658 {
17659 int i;
17660 for (i = 0; i < 256; i++)
17661 if (XOR (islower (i), ISLOWER (i))
17662 || toupper (i) != TOUPPER (i))
17663 return 2;
17664 return 0;
17665 }
17666 _ACEOF
17667 rm -f conftest$ac_exeext
17668 if { (ac_try="$ac_link"
17669 case "(($ac_try" in
17670 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17671 *) ac_try_echo=$ac_try;;
17672 esac
17673 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17674 (eval "$ac_link") 2>&5
17675 ac_status=$?
17676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17677 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
17678 { (case "(($ac_try" in
17679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17680 *) ac_try_echo=$ac_try;;
17681 esac
17682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17683 (eval "$ac_try") 2>&5
17684 ac_status=$?
17685 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17686 (exit $ac_status); }; }; then
17687 :
17688 else
17689 echo "$as_me: program exited with status $ac_status" >&5
17690 echo "$as_me: failed program was:" >&5
17691 sed 's/^/| /' conftest.$ac_ext >&5
17692
17693 ( exit $ac_status )
17694 ac_cv_header_stdc=no
17695 fi
17696 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
17697 fi
17698
17699
17700 fi
17701 fi
17702 { echo "$as_me:$LINENO: result: $ac_cv_header_stdc" >&5
17703 echo "${ECHO_T}$ac_cv_header_stdc" >&6; }
17704 if test $ac_cv_header_stdc = yes; then
17705
17706 cat >>confdefs.h <<\_ACEOF
17707 #define STDC_HEADERS 1
17708 _ACEOF
17709
17710 fi
17711
17712 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
17713
17714
17715
17716
17717
17718
17719
17720
17721
17722 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
17723 inttypes.h stdint.h unistd.h
17724 do
17725 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17726 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17727 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17728 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17729 echo $ECHO_N "(cached) $ECHO_C" >&6
17730 else
17731 cat >conftest.$ac_ext <<_ACEOF
17732 /* confdefs.h. */
17733 _ACEOF
17734 cat confdefs.h >>conftest.$ac_ext
17735 cat >>conftest.$ac_ext <<_ACEOF
17736 /* end confdefs.h. */
17737 $ac_includes_default
17738
17739 #include <$ac_header>
17740 _ACEOF
17741 rm -f conftest.$ac_objext
17742 if { (ac_try="$ac_compile"
17743 case "(($ac_try" in
17744 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17745 *) ac_try_echo=$ac_try;;
17746 esac
17747 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17748 (eval "$ac_compile") 2>conftest.er1
17749 ac_status=$?
17750 grep -v '^ *+' conftest.er1 >conftest.err
17751 rm -f conftest.er1
17752 cat conftest.err >&5
17753 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17754 (exit $ac_status); } && {
17755 test -z "$ac_c_werror_flag" ||
17756 test ! -s conftest.err
17757 } && test -s conftest.$ac_objext; then
17758 eval "$as_ac_Header=yes"
17759 else
17760 echo "$as_me: failed program was:" >&5
17761 sed 's/^/| /' conftest.$ac_ext >&5
17762
17763 eval "$as_ac_Header=no"
17764 fi
17765
17766 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17767 fi
17768 ac_res=`eval echo '${'$as_ac_Header'}'`
17769 { echo "$as_me:$LINENO: result: $ac_res" >&5
17770 echo "${ECHO_T}$ac_res" >&6; }
17771 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17772 cat >>confdefs.h <<_ACEOF
17773 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17774 _ACEOF
17775
17776 fi
17777
17778 done
17779
17780
17781
17782
17783
17784
17785
17786
17787 for ac_header in stdlib.h fnmatch.h langinfo.h malloc.h unistd.h wchar.h
17788 do
17789 as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh`
17790 { echo "$as_me:$LINENO: checking for $ac_header" >&5
17791 echo $ECHO_N "checking for $ac_header... $ECHO_C" >&6; }
17792 if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
17793 echo $ECHO_N "(cached) $ECHO_C" >&6
17794 else
17795 cat >conftest.$ac_ext <<_ACEOF
17796 /* confdefs.h. */
17797 _ACEOF
17798 cat confdefs.h >>conftest.$ac_ext
17799 cat >>conftest.$ac_ext <<_ACEOF
17800 /* end confdefs.h. */
17801 $ac_includes_default
17802
17803 #include <$ac_header>
17804 _ACEOF
17805 rm -f conftest.$ac_objext
17806 if { (ac_try="$ac_compile"
17807 case "(($ac_try" in
17808 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17809 *) ac_try_echo=$ac_try;;
17810 esac
17811 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17812 (eval "$ac_compile") 2>conftest.er1
17813 ac_status=$?
17814 grep -v '^ *+' conftest.er1 >conftest.err
17815 rm -f conftest.er1
17816 cat conftest.err >&5
17817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17818 (exit $ac_status); } && {
17819 test -z "$ac_c_werror_flag" ||
17820 test ! -s conftest.err
17821 } && test -s conftest.$ac_objext; then
17822 eval "$as_ac_Header=yes"
17823 else
17824 echo "$as_me: failed program was:" >&5
17825 sed 's/^/| /' conftest.$ac_ext >&5
17826
17827 eval "$as_ac_Header=no"
17828 fi
17829
17830 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17831 fi
17832 ac_res=`eval echo '${'$as_ac_Header'}'`
17833 { echo "$as_me:$LINENO: result: $ac_res" >&5
17834 echo "${ECHO_T}$ac_res" >&6; }
17835 if test `eval echo '${'$as_ac_Header'}'` = yes; then
17836 cat >>confdefs.h <<_ACEOF
17837 #define `echo "HAVE_$ac_header" | $as_tr_cpp` 1
17838 _ACEOF
17839
17840 fi
17841
17842 done
17843
17844
17845 if test "$ac_cv_header_wchar_h" != "yes"; then
17846 { echo "$as_me:$LINENO: checking for wcstr.h" >&5
17847 echo $ECHO_N "checking for wcstr.h... $ECHO_C" >&6; }
17848 if test "${ac_cv_header_wcstr_h+set}" = set; then
17849 echo $ECHO_N "(cached) $ECHO_C" >&6
17850 else
17851 cat >conftest.$ac_ext <<_ACEOF
17852 /* confdefs.h. */
17853 _ACEOF
17854 cat confdefs.h >>conftest.$ac_ext
17855 cat >>conftest.$ac_ext <<_ACEOF
17856 /* end confdefs.h. */
17857 $ac_includes_default
17858
17859 #include <wcstr.h>
17860 _ACEOF
17861 rm -f conftest.$ac_objext
17862 if { (ac_try="$ac_compile"
17863 case "(($ac_try" in
17864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17865 *) ac_try_echo=$ac_try;;
17866 esac
17867 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17868 (eval "$ac_compile") 2>conftest.er1
17869 ac_status=$?
17870 grep -v '^ *+' conftest.er1 >conftest.err
17871 rm -f conftest.er1
17872 cat conftest.err >&5
17873 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17874 (exit $ac_status); } && {
17875 test -z "$ac_c_werror_flag" ||
17876 test ! -s conftest.err
17877 } && test -s conftest.$ac_objext; then
17878 ac_cv_header_wcstr_h=yes
17879 else
17880 echo "$as_me: failed program was:" >&5
17881 sed 's/^/| /' conftest.$ac_ext >&5
17882
17883 ac_cv_header_wcstr_h=no
17884 fi
17885
17886 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17887 fi
17888 { echo "$as_me:$LINENO: result: $ac_cv_header_wcstr_h" >&5
17889 echo "${ECHO_T}$ac_cv_header_wcstr_h" >&6; }
17890
17891
17892 fi
17893
17894 case "${host}" in
17895 *-pc-os2_emx | *-pc-os2-emx )
17896 if test $ac_cv_header_langinfo_h = "yes" \
17897 -a \( "$wx_cv_gccversion" = "EMX2" \
17898 -o "$wx_cv_gccversion" = "EMX3" \
17899 -o "$wx_cv_gccversion" = "Innotek5" \); then
17900 LIBS="$LIBS -lintl"
17901 fi
17902 ;;
17903 esac
17904
17905 if test "$USE_UNIX" = 1 ; then
17906 { echo "$as_me:$LINENO: checking for sys/select.h" >&5
17907 echo $ECHO_N "checking for sys/select.h... $ECHO_C" >&6; }
17908 if test "${ac_cv_header_sys_select_h+set}" = set; then
17909 echo $ECHO_N "(cached) $ECHO_C" >&6
17910 else
17911 cat >conftest.$ac_ext <<_ACEOF
17912 /* confdefs.h. */
17913 _ACEOF
17914 cat confdefs.h >>conftest.$ac_ext
17915 cat >>conftest.$ac_ext <<_ACEOF
17916 /* end confdefs.h. */
17917 $ac_includes_default
17918
17919 #include <sys/select.h>
17920 _ACEOF
17921 rm -f conftest.$ac_objext
17922 if { (ac_try="$ac_compile"
17923 case "(($ac_try" in
17924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
17925 *) ac_try_echo=$ac_try;;
17926 esac
17927 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
17928 (eval "$ac_compile") 2>conftest.er1
17929 ac_status=$?
17930 grep -v '^ *+' conftest.er1 >conftest.err
17931 rm -f conftest.er1
17932 cat conftest.err >&5
17933 echo "$as_me:$LINENO: \$? = $ac_status" >&5
17934 (exit $ac_status); } && {
17935 test -z "$ac_c_werror_flag" ||
17936 test ! -s conftest.err
17937 } && test -s conftest.$ac_objext; then
17938 ac_cv_header_sys_select_h=yes
17939 else
17940 echo "$as_me: failed program was:" >&5
17941 sed 's/^/| /' conftest.$ac_ext >&5
17942
17943 ac_cv_header_sys_select_h=no
17944 fi
17945
17946 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17947 fi
17948 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_select_h" >&5
17949 echo "${ECHO_T}$ac_cv_header_sys_select_h" >&6; }
17950
17951
17952 fi
17953
17954
17955 { echo "$as_me:$LINENO: checking for an ANSI C-conforming const" >&5
17956 echo $ECHO_N "checking for an ANSI C-conforming const... $ECHO_C" >&6; }
17957 if test "${ac_cv_c_const+set}" = set; then
17958 echo $ECHO_N "(cached) $ECHO_C" >&6
17959 else
17960 cat >conftest.$ac_ext <<_ACEOF
17961 /* confdefs.h. */
17962 _ACEOF
17963 cat confdefs.h >>conftest.$ac_ext
17964 cat >>conftest.$ac_ext <<_ACEOF
17965 /* end confdefs.h. */
17966
17967 int
17968 main ()
17969 {
17970 /* FIXME: Include the comments suggested by Paul. */
17971 #ifndef __cplusplus
17972 /* Ultrix mips cc rejects this. */
17973 typedef int charset[2];
17974 const charset cs;
17975 /* SunOS 4.1.1 cc rejects this. */
17976 char const *const *pcpcc;
17977 char **ppc;
17978 /* NEC SVR4.0.2 mips cc rejects this. */
17979 struct point {int x, y;};
17980 static struct point const zero = {0,0};
17981 /* AIX XL C 1.02.0.0 rejects this.
17982 It does not let you subtract one const X* pointer from another in
17983 an arm of an if-expression whose if-part is not a constant
17984 expression */
17985 const char *g = "string";
17986 pcpcc = &g + (g ? g-g : 0);
17987 /* HPUX 7.0 cc rejects these. */
17988 ++pcpcc;
17989 ppc = (char**) pcpcc;
17990 pcpcc = (char const *const *) ppc;
17991 { /* SCO 3.2v4 cc rejects this. */
17992 char *t;
17993 char const *s = 0 ? (char *) 0 : (char const *) 0;
17994
17995 *t++ = 0;
17996 if (s) return 0;
17997 }
17998 { /* Someone thinks the Sun supposedly-ANSI compiler will reject this. */
17999 int x[] = {25, 17};
18000 const int *foo = &x[0];
18001 ++foo;
18002 }
18003 { /* Sun SC1.0 ANSI compiler rejects this -- but not the above. */
18004 typedef const int *iptr;
18005 iptr p = 0;
18006 ++p;
18007 }
18008 { /* AIX XL C 1.02.0.0 rejects this saying
18009 "k.c", line 2.27: 1506-025 (S) Operand must be a modifiable lvalue. */
18010 struct s { int j; const int *ap[3]; };
18011 struct s *b; b->j = 5;
18012 }
18013 { /* ULTRIX-32 V3.1 (Rev 9) vcc rejects this */
18014 const int foo = 10;
18015 if (!foo) return 0;
18016 }
18017 return !cs[0] && !zero.x;
18018 #endif
18019
18020 ;
18021 return 0;
18022 }
18023 _ACEOF
18024 rm -f conftest.$ac_objext
18025 if { (ac_try="$ac_compile"
18026 case "(($ac_try" in
18027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18028 *) ac_try_echo=$ac_try;;
18029 esac
18030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18031 (eval "$ac_compile") 2>conftest.er1
18032 ac_status=$?
18033 grep -v '^ *+' conftest.er1 >conftest.err
18034 rm -f conftest.er1
18035 cat conftest.err >&5
18036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18037 (exit $ac_status); } && {
18038 test -z "$ac_c_werror_flag" ||
18039 test ! -s conftest.err
18040 } && test -s conftest.$ac_objext; then
18041 ac_cv_c_const=yes
18042 else
18043 echo "$as_me: failed program was:" >&5
18044 sed 's/^/| /' conftest.$ac_ext >&5
18045
18046 ac_cv_c_const=no
18047 fi
18048
18049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18050 fi
18051 { echo "$as_me:$LINENO: result: $ac_cv_c_const" >&5
18052 echo "${ECHO_T}$ac_cv_c_const" >&6; }
18053 if test $ac_cv_c_const = no; then
18054
18055 cat >>confdefs.h <<\_ACEOF
18056 #define const
18057 _ACEOF
18058
18059 fi
18060
18061 { echo "$as_me:$LINENO: checking for inline" >&5
18062 echo $ECHO_N "checking for inline... $ECHO_C" >&6; }
18063 if test "${ac_cv_c_inline+set}" = set; then
18064 echo $ECHO_N "(cached) $ECHO_C" >&6
18065 else
18066 ac_cv_c_inline=no
18067 for ac_kw in inline __inline__ __inline; do
18068 cat >conftest.$ac_ext <<_ACEOF
18069 /* confdefs.h. */
18070 _ACEOF
18071 cat confdefs.h >>conftest.$ac_ext
18072 cat >>conftest.$ac_ext <<_ACEOF
18073 /* end confdefs.h. */
18074 #ifndef __cplusplus
18075 typedef int foo_t;
18076 static $ac_kw foo_t static_foo () {return 0; }
18077 $ac_kw foo_t foo () {return 0; }
18078 #endif
18079
18080 _ACEOF
18081 rm -f conftest.$ac_objext
18082 if { (ac_try="$ac_compile"
18083 case "(($ac_try" in
18084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18085 *) ac_try_echo=$ac_try;;
18086 esac
18087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18088 (eval "$ac_compile") 2>conftest.er1
18089 ac_status=$?
18090 grep -v '^ *+' conftest.er1 >conftest.err
18091 rm -f conftest.er1
18092 cat conftest.err >&5
18093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18094 (exit $ac_status); } && {
18095 test -z "$ac_c_werror_flag" ||
18096 test ! -s conftest.err
18097 } && test -s conftest.$ac_objext; then
18098 ac_cv_c_inline=$ac_kw
18099 else
18100 echo "$as_me: failed program was:" >&5
18101 sed 's/^/| /' conftest.$ac_ext >&5
18102
18103
18104 fi
18105
18106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18107 test "$ac_cv_c_inline" != no && break
18108 done
18109
18110 fi
18111 { echo "$as_me:$LINENO: result: $ac_cv_c_inline" >&5
18112 echo "${ECHO_T}$ac_cv_c_inline" >&6; }
18113
18114
18115 case $ac_cv_c_inline in
18116 inline | yes) ;;
18117 *)
18118 case $ac_cv_c_inline in
18119 no) ac_val=;;
18120 *) ac_val=$ac_cv_c_inline;;
18121 esac
18122 cat >>confdefs.h <<_ACEOF
18123 #ifndef __cplusplus
18124 #define inline $ac_val
18125 #endif
18126 _ACEOF
18127 ;;
18128 esac
18129
18130
18131 { echo "$as_me:$LINENO: checking for short" >&5
18132 echo $ECHO_N "checking for short... $ECHO_C" >&6; }
18133 if test "${ac_cv_type_short+set}" = set; then
18134 echo $ECHO_N "(cached) $ECHO_C" >&6
18135 else
18136 cat >conftest.$ac_ext <<_ACEOF
18137 /* confdefs.h. */
18138 _ACEOF
18139 cat confdefs.h >>conftest.$ac_ext
18140 cat >>conftest.$ac_ext <<_ACEOF
18141 /* end confdefs.h. */
18142 $ac_includes_default
18143 typedef short ac__type_new_;
18144 int
18145 main ()
18146 {
18147 if ((ac__type_new_ *) 0)
18148 return 0;
18149 if (sizeof (ac__type_new_))
18150 return 0;
18151 ;
18152 return 0;
18153 }
18154 _ACEOF
18155 rm -f conftest.$ac_objext
18156 if { (ac_try="$ac_compile"
18157 case "(($ac_try" in
18158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18159 *) ac_try_echo=$ac_try;;
18160 esac
18161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18162 (eval "$ac_compile") 2>conftest.er1
18163 ac_status=$?
18164 grep -v '^ *+' conftest.er1 >conftest.err
18165 rm -f conftest.er1
18166 cat conftest.err >&5
18167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18168 (exit $ac_status); } && {
18169 test -z "$ac_c_werror_flag" ||
18170 test ! -s conftest.err
18171 } && test -s conftest.$ac_objext; then
18172 ac_cv_type_short=yes
18173 else
18174 echo "$as_me: failed program was:" >&5
18175 sed 's/^/| /' conftest.$ac_ext >&5
18176
18177 ac_cv_type_short=no
18178 fi
18179
18180 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18181 fi
18182 { echo "$as_me:$LINENO: result: $ac_cv_type_short" >&5
18183 echo "${ECHO_T}$ac_cv_type_short" >&6; }
18184
18185 # The cast to long int works around a bug in the HP C Compiler
18186 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18187 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18188 # This bug is HP SR number 8606223364.
18189 { echo "$as_me:$LINENO: checking size of short" >&5
18190 echo $ECHO_N "checking size of short... $ECHO_C" >&6; }
18191 if test "${ac_cv_sizeof_short+set}" = set; then
18192 echo $ECHO_N "(cached) $ECHO_C" >&6
18193 else
18194 if test "$cross_compiling" = yes; then
18195 # Depending upon the size, compute the lo and hi bounds.
18196 cat >conftest.$ac_ext <<_ACEOF
18197 /* confdefs.h. */
18198 _ACEOF
18199 cat confdefs.h >>conftest.$ac_ext
18200 cat >>conftest.$ac_ext <<_ACEOF
18201 /* end confdefs.h. */
18202 $ac_includes_default
18203 typedef short ac__type_sizeof_;
18204 int
18205 main ()
18206 {
18207 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18208 test_array [0] = 0
18209
18210 ;
18211 return 0;
18212 }
18213 _ACEOF
18214 rm -f conftest.$ac_objext
18215 if { (ac_try="$ac_compile"
18216 case "(($ac_try" in
18217 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18218 *) ac_try_echo=$ac_try;;
18219 esac
18220 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18221 (eval "$ac_compile") 2>conftest.er1
18222 ac_status=$?
18223 grep -v '^ *+' conftest.er1 >conftest.err
18224 rm -f conftest.er1
18225 cat conftest.err >&5
18226 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18227 (exit $ac_status); } && {
18228 test -z "$ac_c_werror_flag" ||
18229 test ! -s conftest.err
18230 } && test -s conftest.$ac_objext; then
18231 ac_lo=0 ac_mid=0
18232 while :; do
18233 cat >conftest.$ac_ext <<_ACEOF
18234 /* confdefs.h. */
18235 _ACEOF
18236 cat confdefs.h >>conftest.$ac_ext
18237 cat >>conftest.$ac_ext <<_ACEOF
18238 /* end confdefs.h. */
18239 $ac_includes_default
18240 typedef short ac__type_sizeof_;
18241 int
18242 main ()
18243 {
18244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18245 test_array [0] = 0
18246
18247 ;
18248 return 0;
18249 }
18250 _ACEOF
18251 rm -f conftest.$ac_objext
18252 if { (ac_try="$ac_compile"
18253 case "(($ac_try" in
18254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18255 *) ac_try_echo=$ac_try;;
18256 esac
18257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18258 (eval "$ac_compile") 2>conftest.er1
18259 ac_status=$?
18260 grep -v '^ *+' conftest.er1 >conftest.err
18261 rm -f conftest.er1
18262 cat conftest.err >&5
18263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18264 (exit $ac_status); } && {
18265 test -z "$ac_c_werror_flag" ||
18266 test ! -s conftest.err
18267 } && test -s conftest.$ac_objext; then
18268 ac_hi=$ac_mid; break
18269 else
18270 echo "$as_me: failed program was:" >&5
18271 sed 's/^/| /' conftest.$ac_ext >&5
18272
18273 ac_lo=`expr $ac_mid + 1`
18274 if test $ac_lo -le $ac_mid; then
18275 ac_lo= ac_hi=
18276 break
18277 fi
18278 ac_mid=`expr 2 '*' $ac_mid + 1`
18279 fi
18280
18281 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18282 done
18283 else
18284 echo "$as_me: failed program was:" >&5
18285 sed 's/^/| /' conftest.$ac_ext >&5
18286
18287 cat >conftest.$ac_ext <<_ACEOF
18288 /* confdefs.h. */
18289 _ACEOF
18290 cat confdefs.h >>conftest.$ac_ext
18291 cat >>conftest.$ac_ext <<_ACEOF
18292 /* end confdefs.h. */
18293 $ac_includes_default
18294 typedef short ac__type_sizeof_;
18295 int
18296 main ()
18297 {
18298 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18299 test_array [0] = 0
18300
18301 ;
18302 return 0;
18303 }
18304 _ACEOF
18305 rm -f conftest.$ac_objext
18306 if { (ac_try="$ac_compile"
18307 case "(($ac_try" in
18308 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18309 *) ac_try_echo=$ac_try;;
18310 esac
18311 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18312 (eval "$ac_compile") 2>conftest.er1
18313 ac_status=$?
18314 grep -v '^ *+' conftest.er1 >conftest.err
18315 rm -f conftest.er1
18316 cat conftest.err >&5
18317 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18318 (exit $ac_status); } && {
18319 test -z "$ac_c_werror_flag" ||
18320 test ! -s conftest.err
18321 } && test -s conftest.$ac_objext; then
18322 ac_hi=-1 ac_mid=-1
18323 while :; do
18324 cat >conftest.$ac_ext <<_ACEOF
18325 /* confdefs.h. */
18326 _ACEOF
18327 cat confdefs.h >>conftest.$ac_ext
18328 cat >>conftest.$ac_ext <<_ACEOF
18329 /* end confdefs.h. */
18330 $ac_includes_default
18331 typedef short ac__type_sizeof_;
18332 int
18333 main ()
18334 {
18335 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18336 test_array [0] = 0
18337
18338 ;
18339 return 0;
18340 }
18341 _ACEOF
18342 rm -f conftest.$ac_objext
18343 if { (ac_try="$ac_compile"
18344 case "(($ac_try" in
18345 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18346 *) ac_try_echo=$ac_try;;
18347 esac
18348 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18349 (eval "$ac_compile") 2>conftest.er1
18350 ac_status=$?
18351 grep -v '^ *+' conftest.er1 >conftest.err
18352 rm -f conftest.er1
18353 cat conftest.err >&5
18354 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18355 (exit $ac_status); } && {
18356 test -z "$ac_c_werror_flag" ||
18357 test ! -s conftest.err
18358 } && test -s conftest.$ac_objext; then
18359 ac_lo=$ac_mid; break
18360 else
18361 echo "$as_me: failed program was:" >&5
18362 sed 's/^/| /' conftest.$ac_ext >&5
18363
18364 ac_hi=`expr '(' $ac_mid ')' - 1`
18365 if test $ac_mid -le $ac_hi; then
18366 ac_lo= ac_hi=
18367 break
18368 fi
18369 ac_mid=`expr 2 '*' $ac_mid`
18370 fi
18371
18372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 done
18374 else
18375 echo "$as_me: failed program was:" >&5
18376 sed 's/^/| /' conftest.$ac_ext >&5
18377
18378 ac_lo= ac_hi=
18379 fi
18380
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382 fi
18383
18384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18385 # Binary search between lo and hi bounds.
18386 while test "x$ac_lo" != "x$ac_hi"; do
18387 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
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 $ac_includes_default
18395 typedef short ac__type_sizeof_;
18396 int
18397 main ()
18398 {
18399 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18400 test_array [0] = 0
18401
18402 ;
18403 return 0;
18404 }
18405 _ACEOF
18406 rm -f conftest.$ac_objext
18407 if { (ac_try="$ac_compile"
18408 case "(($ac_try" in
18409 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18410 *) ac_try_echo=$ac_try;;
18411 esac
18412 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18413 (eval "$ac_compile") 2>conftest.er1
18414 ac_status=$?
18415 grep -v '^ *+' conftest.er1 >conftest.err
18416 rm -f conftest.er1
18417 cat conftest.err >&5
18418 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18419 (exit $ac_status); } && {
18420 test -z "$ac_c_werror_flag" ||
18421 test ! -s conftest.err
18422 } && test -s conftest.$ac_objext; then
18423 ac_hi=$ac_mid
18424 else
18425 echo "$as_me: failed program was:" >&5
18426 sed 's/^/| /' conftest.$ac_ext >&5
18427
18428 ac_lo=`expr '(' $ac_mid ')' + 1`
18429 fi
18430
18431 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18432 done
18433 case $ac_lo in
18434 ?*) ac_cv_sizeof_short=$ac_lo;;
18435 '') if test "$ac_cv_type_short" = yes; then
18436 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18437 See \`config.log' for more details." >&5
18438 echo "$as_me: error: cannot compute sizeof (short)
18439 See \`config.log' for more details." >&2;}
18440 { (exit 77); exit 77; }; }
18441 else
18442 ac_cv_sizeof_short=0
18443 fi ;;
18444 esac
18445 else
18446 cat >conftest.$ac_ext <<_ACEOF
18447 /* confdefs.h. */
18448 _ACEOF
18449 cat confdefs.h >>conftest.$ac_ext
18450 cat >>conftest.$ac_ext <<_ACEOF
18451 /* end confdefs.h. */
18452 $ac_includes_default
18453 typedef short ac__type_sizeof_;
18454 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18455 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18456 #include <stdio.h>
18457 #include <stdlib.h>
18458 int
18459 main ()
18460 {
18461
18462 FILE *f = fopen ("conftest.val", "w");
18463 if (! f)
18464 return 1;
18465 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18466 {
18467 long int i = longval ();
18468 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18469 return 1;
18470 fprintf (f, "%ld\n", i);
18471 }
18472 else
18473 {
18474 unsigned long int i = ulongval ();
18475 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18476 return 1;
18477 fprintf (f, "%lu\n", i);
18478 }
18479 return ferror (f) || fclose (f) != 0;
18480
18481 ;
18482 return 0;
18483 }
18484 _ACEOF
18485 rm -f conftest$ac_exeext
18486 if { (ac_try="$ac_link"
18487 case "(($ac_try" in
18488 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18489 *) ac_try_echo=$ac_try;;
18490 esac
18491 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18492 (eval "$ac_link") 2>&5
18493 ac_status=$?
18494 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18495 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18496 { (case "(($ac_try" in
18497 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18498 *) ac_try_echo=$ac_try;;
18499 esac
18500 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18501 (eval "$ac_try") 2>&5
18502 ac_status=$?
18503 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18504 (exit $ac_status); }; }; then
18505 ac_cv_sizeof_short=`cat conftest.val`
18506 else
18507 echo "$as_me: program exited with status $ac_status" >&5
18508 echo "$as_me: failed program was:" >&5
18509 sed 's/^/| /' conftest.$ac_ext >&5
18510
18511 ( exit $ac_status )
18512 if test "$ac_cv_type_short" = yes; then
18513 { { echo "$as_me:$LINENO: error: cannot compute sizeof (short)
18514 See \`config.log' for more details." >&5
18515 echo "$as_me: error: cannot compute sizeof (short)
18516 See \`config.log' for more details." >&2;}
18517 { (exit 77); exit 77; }; }
18518 else
18519 ac_cv_sizeof_short=0
18520 fi
18521 fi
18522 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18523 fi
18524 rm -f conftest.val
18525 fi
18526 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_short" >&5
18527 echo "${ECHO_T}$ac_cv_sizeof_short" >&6; }
18528
18529
18530
18531 cat >>confdefs.h <<_ACEOF
18532 #define SIZEOF_SHORT $ac_cv_sizeof_short
18533 _ACEOF
18534
18535
18536 { echo "$as_me:$LINENO: checking for void *" >&5
18537 echo $ECHO_N "checking for void *... $ECHO_C" >&6; }
18538 if test "${ac_cv_type_void_p+set}" = set; then
18539 echo $ECHO_N "(cached) $ECHO_C" >&6
18540 else
18541 cat >conftest.$ac_ext <<_ACEOF
18542 /* confdefs.h. */
18543 _ACEOF
18544 cat confdefs.h >>conftest.$ac_ext
18545 cat >>conftest.$ac_ext <<_ACEOF
18546 /* end confdefs.h. */
18547 $ac_includes_default
18548 typedef void * ac__type_new_;
18549 int
18550 main ()
18551 {
18552 if ((ac__type_new_ *) 0)
18553 return 0;
18554 if (sizeof (ac__type_new_))
18555 return 0;
18556 ;
18557 return 0;
18558 }
18559 _ACEOF
18560 rm -f conftest.$ac_objext
18561 if { (ac_try="$ac_compile"
18562 case "(($ac_try" in
18563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18564 *) ac_try_echo=$ac_try;;
18565 esac
18566 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18567 (eval "$ac_compile") 2>conftest.er1
18568 ac_status=$?
18569 grep -v '^ *+' conftest.er1 >conftest.err
18570 rm -f conftest.er1
18571 cat conftest.err >&5
18572 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18573 (exit $ac_status); } && {
18574 test -z "$ac_c_werror_flag" ||
18575 test ! -s conftest.err
18576 } && test -s conftest.$ac_objext; then
18577 ac_cv_type_void_p=yes
18578 else
18579 echo "$as_me: failed program was:" >&5
18580 sed 's/^/| /' conftest.$ac_ext >&5
18581
18582 ac_cv_type_void_p=no
18583 fi
18584
18585 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18586 fi
18587 { echo "$as_me:$LINENO: result: $ac_cv_type_void_p" >&5
18588 echo "${ECHO_T}$ac_cv_type_void_p" >&6; }
18589
18590 # The cast to long int works around a bug in the HP C Compiler
18591 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18592 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18593 # This bug is HP SR number 8606223364.
18594 { echo "$as_me:$LINENO: checking size of void *" >&5
18595 echo $ECHO_N "checking size of void *... $ECHO_C" >&6; }
18596 if test "${ac_cv_sizeof_void_p+set}" = set; then
18597 echo $ECHO_N "(cached) $ECHO_C" >&6
18598 else
18599 if test "$cross_compiling" = yes; then
18600 # Depending upon the size, compute the lo and hi bounds.
18601 cat >conftest.$ac_ext <<_ACEOF
18602 /* confdefs.h. */
18603 _ACEOF
18604 cat confdefs.h >>conftest.$ac_ext
18605 cat >>conftest.$ac_ext <<_ACEOF
18606 /* end confdefs.h. */
18607 $ac_includes_default
18608 typedef void * ac__type_sizeof_;
18609 int
18610 main ()
18611 {
18612 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
18613 test_array [0] = 0
18614
18615 ;
18616 return 0;
18617 }
18618 _ACEOF
18619 rm -f conftest.$ac_objext
18620 if { (ac_try="$ac_compile"
18621 case "(($ac_try" in
18622 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18623 *) ac_try_echo=$ac_try;;
18624 esac
18625 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18626 (eval "$ac_compile") 2>conftest.er1
18627 ac_status=$?
18628 grep -v '^ *+' conftest.er1 >conftest.err
18629 rm -f conftest.er1
18630 cat conftest.err >&5
18631 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18632 (exit $ac_status); } && {
18633 test -z "$ac_c_werror_flag" ||
18634 test ! -s conftest.err
18635 } && test -s conftest.$ac_objext; then
18636 ac_lo=0 ac_mid=0
18637 while :; do
18638 cat >conftest.$ac_ext <<_ACEOF
18639 /* confdefs.h. */
18640 _ACEOF
18641 cat confdefs.h >>conftest.$ac_ext
18642 cat >>conftest.$ac_ext <<_ACEOF
18643 /* end confdefs.h. */
18644 $ac_includes_default
18645 typedef void * ac__type_sizeof_;
18646 int
18647 main ()
18648 {
18649 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18650 test_array [0] = 0
18651
18652 ;
18653 return 0;
18654 }
18655 _ACEOF
18656 rm -f conftest.$ac_objext
18657 if { (ac_try="$ac_compile"
18658 case "(($ac_try" in
18659 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18660 *) ac_try_echo=$ac_try;;
18661 esac
18662 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18663 (eval "$ac_compile") 2>conftest.er1
18664 ac_status=$?
18665 grep -v '^ *+' conftest.er1 >conftest.err
18666 rm -f conftest.er1
18667 cat conftest.err >&5
18668 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18669 (exit $ac_status); } && {
18670 test -z "$ac_c_werror_flag" ||
18671 test ! -s conftest.err
18672 } && test -s conftest.$ac_objext; then
18673 ac_hi=$ac_mid; break
18674 else
18675 echo "$as_me: failed program was:" >&5
18676 sed 's/^/| /' conftest.$ac_ext >&5
18677
18678 ac_lo=`expr $ac_mid + 1`
18679 if test $ac_lo -le $ac_mid; then
18680 ac_lo= ac_hi=
18681 break
18682 fi
18683 ac_mid=`expr 2 '*' $ac_mid + 1`
18684 fi
18685
18686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18687 done
18688 else
18689 echo "$as_me: failed program was:" >&5
18690 sed 's/^/| /' conftest.$ac_ext >&5
18691
18692 cat >conftest.$ac_ext <<_ACEOF
18693 /* confdefs.h. */
18694 _ACEOF
18695 cat confdefs.h >>conftest.$ac_ext
18696 cat >>conftest.$ac_ext <<_ACEOF
18697 /* end confdefs.h. */
18698 $ac_includes_default
18699 typedef void * ac__type_sizeof_;
18700 int
18701 main ()
18702 {
18703 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
18704 test_array [0] = 0
18705
18706 ;
18707 return 0;
18708 }
18709 _ACEOF
18710 rm -f conftest.$ac_objext
18711 if { (ac_try="$ac_compile"
18712 case "(($ac_try" in
18713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18714 *) ac_try_echo=$ac_try;;
18715 esac
18716 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18717 (eval "$ac_compile") 2>conftest.er1
18718 ac_status=$?
18719 grep -v '^ *+' conftest.er1 >conftest.err
18720 rm -f conftest.er1
18721 cat conftest.err >&5
18722 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18723 (exit $ac_status); } && {
18724 test -z "$ac_c_werror_flag" ||
18725 test ! -s conftest.err
18726 } && test -s conftest.$ac_objext; then
18727 ac_hi=-1 ac_mid=-1
18728 while :; do
18729 cat >conftest.$ac_ext <<_ACEOF
18730 /* confdefs.h. */
18731 _ACEOF
18732 cat confdefs.h >>conftest.$ac_ext
18733 cat >>conftest.$ac_ext <<_ACEOF
18734 /* end confdefs.h. */
18735 $ac_includes_default
18736 typedef void * ac__type_sizeof_;
18737 int
18738 main ()
18739 {
18740 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
18741 test_array [0] = 0
18742
18743 ;
18744 return 0;
18745 }
18746 _ACEOF
18747 rm -f conftest.$ac_objext
18748 if { (ac_try="$ac_compile"
18749 case "(($ac_try" in
18750 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18751 *) ac_try_echo=$ac_try;;
18752 esac
18753 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18754 (eval "$ac_compile") 2>conftest.er1
18755 ac_status=$?
18756 grep -v '^ *+' conftest.er1 >conftest.err
18757 rm -f conftest.er1
18758 cat conftest.err >&5
18759 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18760 (exit $ac_status); } && {
18761 test -z "$ac_c_werror_flag" ||
18762 test ! -s conftest.err
18763 } && test -s conftest.$ac_objext; then
18764 ac_lo=$ac_mid; break
18765 else
18766 echo "$as_me: failed program was:" >&5
18767 sed 's/^/| /' conftest.$ac_ext >&5
18768
18769 ac_hi=`expr '(' $ac_mid ')' - 1`
18770 if test $ac_mid -le $ac_hi; then
18771 ac_lo= ac_hi=
18772 break
18773 fi
18774 ac_mid=`expr 2 '*' $ac_mid`
18775 fi
18776
18777 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18778 done
18779 else
18780 echo "$as_me: failed program was:" >&5
18781 sed 's/^/| /' conftest.$ac_ext >&5
18782
18783 ac_lo= ac_hi=
18784 fi
18785
18786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18787 fi
18788
18789 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18790 # Binary search between lo and hi bounds.
18791 while test "x$ac_lo" != "x$ac_hi"; do
18792 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
18793 cat >conftest.$ac_ext <<_ACEOF
18794 /* confdefs.h. */
18795 _ACEOF
18796 cat confdefs.h >>conftest.$ac_ext
18797 cat >>conftest.$ac_ext <<_ACEOF
18798 /* end confdefs.h. */
18799 $ac_includes_default
18800 typedef void * ac__type_sizeof_;
18801 int
18802 main ()
18803 {
18804 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
18805 test_array [0] = 0
18806
18807 ;
18808 return 0;
18809 }
18810 _ACEOF
18811 rm -f conftest.$ac_objext
18812 if { (ac_try="$ac_compile"
18813 case "(($ac_try" in
18814 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18815 *) ac_try_echo=$ac_try;;
18816 esac
18817 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18818 (eval "$ac_compile") 2>conftest.er1
18819 ac_status=$?
18820 grep -v '^ *+' conftest.er1 >conftest.err
18821 rm -f conftest.er1
18822 cat conftest.err >&5
18823 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18824 (exit $ac_status); } && {
18825 test -z "$ac_c_werror_flag" ||
18826 test ! -s conftest.err
18827 } && test -s conftest.$ac_objext; then
18828 ac_hi=$ac_mid
18829 else
18830 echo "$as_me: failed program was:" >&5
18831 sed 's/^/| /' conftest.$ac_ext >&5
18832
18833 ac_lo=`expr '(' $ac_mid ')' + 1`
18834 fi
18835
18836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18837 done
18838 case $ac_lo in
18839 ?*) ac_cv_sizeof_void_p=$ac_lo;;
18840 '') if test "$ac_cv_type_void_p" = yes; then
18841 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18842 See \`config.log' for more details." >&5
18843 echo "$as_me: error: cannot compute sizeof (void *)
18844 See \`config.log' for more details." >&2;}
18845 { (exit 77); exit 77; }; }
18846 else
18847 ac_cv_sizeof_void_p=0
18848 fi ;;
18849 esac
18850 else
18851 cat >conftest.$ac_ext <<_ACEOF
18852 /* confdefs.h. */
18853 _ACEOF
18854 cat confdefs.h >>conftest.$ac_ext
18855 cat >>conftest.$ac_ext <<_ACEOF
18856 /* end confdefs.h. */
18857 $ac_includes_default
18858 typedef void * ac__type_sizeof_;
18859 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
18860 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
18861 #include <stdio.h>
18862 #include <stdlib.h>
18863 int
18864 main ()
18865 {
18866
18867 FILE *f = fopen ("conftest.val", "w");
18868 if (! f)
18869 return 1;
18870 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
18871 {
18872 long int i = longval ();
18873 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18874 return 1;
18875 fprintf (f, "%ld\n", i);
18876 }
18877 else
18878 {
18879 unsigned long int i = ulongval ();
18880 if (i != ((long int) (sizeof (ac__type_sizeof_))))
18881 return 1;
18882 fprintf (f, "%lu\n", i);
18883 }
18884 return ferror (f) || fclose (f) != 0;
18885
18886 ;
18887 return 0;
18888 }
18889 _ACEOF
18890 rm -f conftest$ac_exeext
18891 if { (ac_try="$ac_link"
18892 case "(($ac_try" in
18893 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18894 *) ac_try_echo=$ac_try;;
18895 esac
18896 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18897 (eval "$ac_link") 2>&5
18898 ac_status=$?
18899 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18900 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
18901 { (case "(($ac_try" in
18902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18903 *) ac_try_echo=$ac_try;;
18904 esac
18905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18906 (eval "$ac_try") 2>&5
18907 ac_status=$?
18908 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18909 (exit $ac_status); }; }; then
18910 ac_cv_sizeof_void_p=`cat conftest.val`
18911 else
18912 echo "$as_me: program exited with status $ac_status" >&5
18913 echo "$as_me: failed program was:" >&5
18914 sed 's/^/| /' conftest.$ac_ext >&5
18915
18916 ( exit $ac_status )
18917 if test "$ac_cv_type_void_p" = yes; then
18918 { { echo "$as_me:$LINENO: error: cannot compute sizeof (void *)
18919 See \`config.log' for more details." >&5
18920 echo "$as_me: error: cannot compute sizeof (void *)
18921 See \`config.log' for more details." >&2;}
18922 { (exit 77); exit 77; }; }
18923 else
18924 ac_cv_sizeof_void_p=0
18925 fi
18926 fi
18927 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
18928 fi
18929 rm -f conftest.val
18930 fi
18931 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_void_p" >&5
18932 echo "${ECHO_T}$ac_cv_sizeof_void_p" >&6; }
18933
18934
18935
18936 cat >>confdefs.h <<_ACEOF
18937 #define SIZEOF_VOID_P $ac_cv_sizeof_void_p
18938 _ACEOF
18939
18940
18941 { echo "$as_me:$LINENO: checking for int" >&5
18942 echo $ECHO_N "checking for int... $ECHO_C" >&6; }
18943 if test "${ac_cv_type_int+set}" = set; then
18944 echo $ECHO_N "(cached) $ECHO_C" >&6
18945 else
18946 cat >conftest.$ac_ext <<_ACEOF
18947 /* confdefs.h. */
18948 _ACEOF
18949 cat confdefs.h >>conftest.$ac_ext
18950 cat >>conftest.$ac_ext <<_ACEOF
18951 /* end confdefs.h. */
18952 $ac_includes_default
18953 typedef int ac__type_new_;
18954 int
18955 main ()
18956 {
18957 if ((ac__type_new_ *) 0)
18958 return 0;
18959 if (sizeof (ac__type_new_))
18960 return 0;
18961 ;
18962 return 0;
18963 }
18964 _ACEOF
18965 rm -f conftest.$ac_objext
18966 if { (ac_try="$ac_compile"
18967 case "(($ac_try" in
18968 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
18969 *) ac_try_echo=$ac_try;;
18970 esac
18971 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
18972 (eval "$ac_compile") 2>conftest.er1
18973 ac_status=$?
18974 grep -v '^ *+' conftest.er1 >conftest.err
18975 rm -f conftest.er1
18976 cat conftest.err >&5
18977 echo "$as_me:$LINENO: \$? = $ac_status" >&5
18978 (exit $ac_status); } && {
18979 test -z "$ac_c_werror_flag" ||
18980 test ! -s conftest.err
18981 } && test -s conftest.$ac_objext; then
18982 ac_cv_type_int=yes
18983 else
18984 echo "$as_me: failed program was:" >&5
18985 sed 's/^/| /' conftest.$ac_ext >&5
18986
18987 ac_cv_type_int=no
18988 fi
18989
18990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18991 fi
18992 { echo "$as_me:$LINENO: result: $ac_cv_type_int" >&5
18993 echo "${ECHO_T}$ac_cv_type_int" >&6; }
18994
18995 # The cast to long int works around a bug in the HP C Compiler
18996 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
18997 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
18998 # This bug is HP SR number 8606223364.
18999 { echo "$as_me:$LINENO: checking size of int" >&5
19000 echo $ECHO_N "checking size of int... $ECHO_C" >&6; }
19001 if test "${ac_cv_sizeof_int+set}" = set; then
19002 echo $ECHO_N "(cached) $ECHO_C" >&6
19003 else
19004 if test "$cross_compiling" = yes; then
19005 # Depending upon the size, compute the lo and hi bounds.
19006 cat >conftest.$ac_ext <<_ACEOF
19007 /* confdefs.h. */
19008 _ACEOF
19009 cat confdefs.h >>conftest.$ac_ext
19010 cat >>conftest.$ac_ext <<_ACEOF
19011 /* end confdefs.h. */
19012 $ac_includes_default
19013 typedef int ac__type_sizeof_;
19014 int
19015 main ()
19016 {
19017 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19018 test_array [0] = 0
19019
19020 ;
19021 return 0;
19022 }
19023 _ACEOF
19024 rm -f conftest.$ac_objext
19025 if { (ac_try="$ac_compile"
19026 case "(($ac_try" in
19027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19028 *) ac_try_echo=$ac_try;;
19029 esac
19030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19031 (eval "$ac_compile") 2>conftest.er1
19032 ac_status=$?
19033 grep -v '^ *+' conftest.er1 >conftest.err
19034 rm -f conftest.er1
19035 cat conftest.err >&5
19036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19037 (exit $ac_status); } && {
19038 test -z "$ac_c_werror_flag" ||
19039 test ! -s conftest.err
19040 } && test -s conftest.$ac_objext; then
19041 ac_lo=0 ac_mid=0
19042 while :; do
19043 cat >conftest.$ac_ext <<_ACEOF
19044 /* confdefs.h. */
19045 _ACEOF
19046 cat confdefs.h >>conftest.$ac_ext
19047 cat >>conftest.$ac_ext <<_ACEOF
19048 /* end confdefs.h. */
19049 $ac_includes_default
19050 typedef int ac__type_sizeof_;
19051 int
19052 main ()
19053 {
19054 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19055 test_array [0] = 0
19056
19057 ;
19058 return 0;
19059 }
19060 _ACEOF
19061 rm -f conftest.$ac_objext
19062 if { (ac_try="$ac_compile"
19063 case "(($ac_try" in
19064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19065 *) ac_try_echo=$ac_try;;
19066 esac
19067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19068 (eval "$ac_compile") 2>conftest.er1
19069 ac_status=$?
19070 grep -v '^ *+' conftest.er1 >conftest.err
19071 rm -f conftest.er1
19072 cat conftest.err >&5
19073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19074 (exit $ac_status); } && {
19075 test -z "$ac_c_werror_flag" ||
19076 test ! -s conftest.err
19077 } && test -s conftest.$ac_objext; then
19078 ac_hi=$ac_mid; break
19079 else
19080 echo "$as_me: failed program was:" >&5
19081 sed 's/^/| /' conftest.$ac_ext >&5
19082
19083 ac_lo=`expr $ac_mid + 1`
19084 if test $ac_lo -le $ac_mid; then
19085 ac_lo= ac_hi=
19086 break
19087 fi
19088 ac_mid=`expr 2 '*' $ac_mid + 1`
19089 fi
19090
19091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19092 done
19093 else
19094 echo "$as_me: failed program was:" >&5
19095 sed 's/^/| /' conftest.$ac_ext >&5
19096
19097 cat >conftest.$ac_ext <<_ACEOF
19098 /* confdefs.h. */
19099 _ACEOF
19100 cat confdefs.h >>conftest.$ac_ext
19101 cat >>conftest.$ac_ext <<_ACEOF
19102 /* end confdefs.h. */
19103 $ac_includes_default
19104 typedef int ac__type_sizeof_;
19105 int
19106 main ()
19107 {
19108 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19109 test_array [0] = 0
19110
19111 ;
19112 return 0;
19113 }
19114 _ACEOF
19115 rm -f conftest.$ac_objext
19116 if { (ac_try="$ac_compile"
19117 case "(($ac_try" in
19118 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19119 *) ac_try_echo=$ac_try;;
19120 esac
19121 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19122 (eval "$ac_compile") 2>conftest.er1
19123 ac_status=$?
19124 grep -v '^ *+' conftest.er1 >conftest.err
19125 rm -f conftest.er1
19126 cat conftest.err >&5
19127 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19128 (exit $ac_status); } && {
19129 test -z "$ac_c_werror_flag" ||
19130 test ! -s conftest.err
19131 } && test -s conftest.$ac_objext; then
19132 ac_hi=-1 ac_mid=-1
19133 while :; do
19134 cat >conftest.$ac_ext <<_ACEOF
19135 /* confdefs.h. */
19136 _ACEOF
19137 cat confdefs.h >>conftest.$ac_ext
19138 cat >>conftest.$ac_ext <<_ACEOF
19139 /* end confdefs.h. */
19140 $ac_includes_default
19141 typedef int ac__type_sizeof_;
19142 int
19143 main ()
19144 {
19145 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19146 test_array [0] = 0
19147
19148 ;
19149 return 0;
19150 }
19151 _ACEOF
19152 rm -f conftest.$ac_objext
19153 if { (ac_try="$ac_compile"
19154 case "(($ac_try" in
19155 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19156 *) ac_try_echo=$ac_try;;
19157 esac
19158 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19159 (eval "$ac_compile") 2>conftest.er1
19160 ac_status=$?
19161 grep -v '^ *+' conftest.er1 >conftest.err
19162 rm -f conftest.er1
19163 cat conftest.err >&5
19164 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19165 (exit $ac_status); } && {
19166 test -z "$ac_c_werror_flag" ||
19167 test ! -s conftest.err
19168 } && test -s conftest.$ac_objext; then
19169 ac_lo=$ac_mid; break
19170 else
19171 echo "$as_me: failed program was:" >&5
19172 sed 's/^/| /' conftest.$ac_ext >&5
19173
19174 ac_hi=`expr '(' $ac_mid ')' - 1`
19175 if test $ac_mid -le $ac_hi; then
19176 ac_lo= ac_hi=
19177 break
19178 fi
19179 ac_mid=`expr 2 '*' $ac_mid`
19180 fi
19181
19182 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19183 done
19184 else
19185 echo "$as_me: failed program was:" >&5
19186 sed 's/^/| /' conftest.$ac_ext >&5
19187
19188 ac_lo= ac_hi=
19189 fi
19190
19191 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19192 fi
19193
19194 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19195 # Binary search between lo and hi bounds.
19196 while test "x$ac_lo" != "x$ac_hi"; do
19197 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19198 cat >conftest.$ac_ext <<_ACEOF
19199 /* confdefs.h. */
19200 _ACEOF
19201 cat confdefs.h >>conftest.$ac_ext
19202 cat >>conftest.$ac_ext <<_ACEOF
19203 /* end confdefs.h. */
19204 $ac_includes_default
19205 typedef int ac__type_sizeof_;
19206 int
19207 main ()
19208 {
19209 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19210 test_array [0] = 0
19211
19212 ;
19213 return 0;
19214 }
19215 _ACEOF
19216 rm -f conftest.$ac_objext
19217 if { (ac_try="$ac_compile"
19218 case "(($ac_try" in
19219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19220 *) ac_try_echo=$ac_try;;
19221 esac
19222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19223 (eval "$ac_compile") 2>conftest.er1
19224 ac_status=$?
19225 grep -v '^ *+' conftest.er1 >conftest.err
19226 rm -f conftest.er1
19227 cat conftest.err >&5
19228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19229 (exit $ac_status); } && {
19230 test -z "$ac_c_werror_flag" ||
19231 test ! -s conftest.err
19232 } && test -s conftest.$ac_objext; then
19233 ac_hi=$ac_mid
19234 else
19235 echo "$as_me: failed program was:" >&5
19236 sed 's/^/| /' conftest.$ac_ext >&5
19237
19238 ac_lo=`expr '(' $ac_mid ')' + 1`
19239 fi
19240
19241 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19242 done
19243 case $ac_lo in
19244 ?*) ac_cv_sizeof_int=$ac_lo;;
19245 '') if test "$ac_cv_type_int" = yes; then
19246 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19247 See \`config.log' for more details." >&5
19248 echo "$as_me: error: cannot compute sizeof (int)
19249 See \`config.log' for more details." >&2;}
19250 { (exit 77); exit 77; }; }
19251 else
19252 ac_cv_sizeof_int=0
19253 fi ;;
19254 esac
19255 else
19256 cat >conftest.$ac_ext <<_ACEOF
19257 /* confdefs.h. */
19258 _ACEOF
19259 cat confdefs.h >>conftest.$ac_ext
19260 cat >>conftest.$ac_ext <<_ACEOF
19261 /* end confdefs.h. */
19262 $ac_includes_default
19263 typedef int ac__type_sizeof_;
19264 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19265 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19266 #include <stdio.h>
19267 #include <stdlib.h>
19268 int
19269 main ()
19270 {
19271
19272 FILE *f = fopen ("conftest.val", "w");
19273 if (! f)
19274 return 1;
19275 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19276 {
19277 long int i = longval ();
19278 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19279 return 1;
19280 fprintf (f, "%ld\n", i);
19281 }
19282 else
19283 {
19284 unsigned long int i = ulongval ();
19285 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19286 return 1;
19287 fprintf (f, "%lu\n", i);
19288 }
19289 return ferror (f) || fclose (f) != 0;
19290
19291 ;
19292 return 0;
19293 }
19294 _ACEOF
19295 rm -f conftest$ac_exeext
19296 if { (ac_try="$ac_link"
19297 case "(($ac_try" in
19298 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19299 *) ac_try_echo=$ac_try;;
19300 esac
19301 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19302 (eval "$ac_link") 2>&5
19303 ac_status=$?
19304 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19305 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19306 { (case "(($ac_try" in
19307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19308 *) ac_try_echo=$ac_try;;
19309 esac
19310 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19311 (eval "$ac_try") 2>&5
19312 ac_status=$?
19313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19314 (exit $ac_status); }; }; then
19315 ac_cv_sizeof_int=`cat conftest.val`
19316 else
19317 echo "$as_me: program exited with status $ac_status" >&5
19318 echo "$as_me: failed program was:" >&5
19319 sed 's/^/| /' conftest.$ac_ext >&5
19320
19321 ( exit $ac_status )
19322 if test "$ac_cv_type_int" = yes; then
19323 { { echo "$as_me:$LINENO: error: cannot compute sizeof (int)
19324 See \`config.log' for more details." >&5
19325 echo "$as_me: error: cannot compute sizeof (int)
19326 See \`config.log' for more details." >&2;}
19327 { (exit 77); exit 77; }; }
19328 else
19329 ac_cv_sizeof_int=0
19330 fi
19331 fi
19332 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19333 fi
19334 rm -f conftest.val
19335 fi
19336 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_int" >&5
19337 echo "${ECHO_T}$ac_cv_sizeof_int" >&6; }
19338
19339
19340
19341 cat >>confdefs.h <<_ACEOF
19342 #define SIZEOF_INT $ac_cv_sizeof_int
19343 _ACEOF
19344
19345
19346 { echo "$as_me:$LINENO: checking for long" >&5
19347 echo $ECHO_N "checking for long... $ECHO_C" >&6; }
19348 if test "${ac_cv_type_long+set}" = set; then
19349 echo $ECHO_N "(cached) $ECHO_C" >&6
19350 else
19351 cat >conftest.$ac_ext <<_ACEOF
19352 /* confdefs.h. */
19353 _ACEOF
19354 cat confdefs.h >>conftest.$ac_ext
19355 cat >>conftest.$ac_ext <<_ACEOF
19356 /* end confdefs.h. */
19357 $ac_includes_default
19358 typedef long ac__type_new_;
19359 int
19360 main ()
19361 {
19362 if ((ac__type_new_ *) 0)
19363 return 0;
19364 if (sizeof (ac__type_new_))
19365 return 0;
19366 ;
19367 return 0;
19368 }
19369 _ACEOF
19370 rm -f conftest.$ac_objext
19371 if { (ac_try="$ac_compile"
19372 case "(($ac_try" in
19373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19374 *) ac_try_echo=$ac_try;;
19375 esac
19376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19377 (eval "$ac_compile") 2>conftest.er1
19378 ac_status=$?
19379 grep -v '^ *+' conftest.er1 >conftest.err
19380 rm -f conftest.er1
19381 cat conftest.err >&5
19382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19383 (exit $ac_status); } && {
19384 test -z "$ac_c_werror_flag" ||
19385 test ! -s conftest.err
19386 } && test -s conftest.$ac_objext; then
19387 ac_cv_type_long=yes
19388 else
19389 echo "$as_me: failed program was:" >&5
19390 sed 's/^/| /' conftest.$ac_ext >&5
19391
19392 ac_cv_type_long=no
19393 fi
19394
19395 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19396 fi
19397 { echo "$as_me:$LINENO: result: $ac_cv_type_long" >&5
19398 echo "${ECHO_T}$ac_cv_type_long" >&6; }
19399
19400 # The cast to long int works around a bug in the HP C Compiler
19401 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19402 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19403 # This bug is HP SR number 8606223364.
19404 { echo "$as_me:$LINENO: checking size of long" >&5
19405 echo $ECHO_N "checking size of long... $ECHO_C" >&6; }
19406 if test "${ac_cv_sizeof_long+set}" = set; then
19407 echo $ECHO_N "(cached) $ECHO_C" >&6
19408 else
19409 if test "$cross_compiling" = yes; then
19410 # Depending upon the size, compute the lo and hi bounds.
19411 cat >conftest.$ac_ext <<_ACEOF
19412 /* confdefs.h. */
19413 _ACEOF
19414 cat confdefs.h >>conftest.$ac_ext
19415 cat >>conftest.$ac_ext <<_ACEOF
19416 /* end confdefs.h. */
19417 $ac_includes_default
19418 typedef long ac__type_sizeof_;
19419 int
19420 main ()
19421 {
19422 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19423 test_array [0] = 0
19424
19425 ;
19426 return 0;
19427 }
19428 _ACEOF
19429 rm -f conftest.$ac_objext
19430 if { (ac_try="$ac_compile"
19431 case "(($ac_try" in
19432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19433 *) ac_try_echo=$ac_try;;
19434 esac
19435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19436 (eval "$ac_compile") 2>conftest.er1
19437 ac_status=$?
19438 grep -v '^ *+' conftest.er1 >conftest.err
19439 rm -f conftest.er1
19440 cat conftest.err >&5
19441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19442 (exit $ac_status); } && {
19443 test -z "$ac_c_werror_flag" ||
19444 test ! -s conftest.err
19445 } && test -s conftest.$ac_objext; then
19446 ac_lo=0 ac_mid=0
19447 while :; do
19448 cat >conftest.$ac_ext <<_ACEOF
19449 /* confdefs.h. */
19450 _ACEOF
19451 cat confdefs.h >>conftest.$ac_ext
19452 cat >>conftest.$ac_ext <<_ACEOF
19453 /* end confdefs.h. */
19454 $ac_includes_default
19455 typedef long ac__type_sizeof_;
19456 int
19457 main ()
19458 {
19459 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19460 test_array [0] = 0
19461
19462 ;
19463 return 0;
19464 }
19465 _ACEOF
19466 rm -f conftest.$ac_objext
19467 if { (ac_try="$ac_compile"
19468 case "(($ac_try" in
19469 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19470 *) ac_try_echo=$ac_try;;
19471 esac
19472 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19473 (eval "$ac_compile") 2>conftest.er1
19474 ac_status=$?
19475 grep -v '^ *+' conftest.er1 >conftest.err
19476 rm -f conftest.er1
19477 cat conftest.err >&5
19478 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19479 (exit $ac_status); } && {
19480 test -z "$ac_c_werror_flag" ||
19481 test ! -s conftest.err
19482 } && test -s conftest.$ac_objext; then
19483 ac_hi=$ac_mid; break
19484 else
19485 echo "$as_me: failed program was:" >&5
19486 sed 's/^/| /' conftest.$ac_ext >&5
19487
19488 ac_lo=`expr $ac_mid + 1`
19489 if test $ac_lo -le $ac_mid; then
19490 ac_lo= ac_hi=
19491 break
19492 fi
19493 ac_mid=`expr 2 '*' $ac_mid + 1`
19494 fi
19495
19496 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19497 done
19498 else
19499 echo "$as_me: failed program was:" >&5
19500 sed 's/^/| /' conftest.$ac_ext >&5
19501
19502 cat >conftest.$ac_ext <<_ACEOF
19503 /* confdefs.h. */
19504 _ACEOF
19505 cat confdefs.h >>conftest.$ac_ext
19506 cat >>conftest.$ac_ext <<_ACEOF
19507 /* end confdefs.h. */
19508 $ac_includes_default
19509 typedef long ac__type_sizeof_;
19510 int
19511 main ()
19512 {
19513 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19514 test_array [0] = 0
19515
19516 ;
19517 return 0;
19518 }
19519 _ACEOF
19520 rm -f conftest.$ac_objext
19521 if { (ac_try="$ac_compile"
19522 case "(($ac_try" in
19523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19524 *) ac_try_echo=$ac_try;;
19525 esac
19526 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19527 (eval "$ac_compile") 2>conftest.er1
19528 ac_status=$?
19529 grep -v '^ *+' conftest.er1 >conftest.err
19530 rm -f conftest.er1
19531 cat conftest.err >&5
19532 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19533 (exit $ac_status); } && {
19534 test -z "$ac_c_werror_flag" ||
19535 test ! -s conftest.err
19536 } && test -s conftest.$ac_objext; then
19537 ac_hi=-1 ac_mid=-1
19538 while :; do
19539 cat >conftest.$ac_ext <<_ACEOF
19540 /* confdefs.h. */
19541 _ACEOF
19542 cat confdefs.h >>conftest.$ac_ext
19543 cat >>conftest.$ac_ext <<_ACEOF
19544 /* end confdefs.h. */
19545 $ac_includes_default
19546 typedef long ac__type_sizeof_;
19547 int
19548 main ()
19549 {
19550 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19551 test_array [0] = 0
19552
19553 ;
19554 return 0;
19555 }
19556 _ACEOF
19557 rm -f conftest.$ac_objext
19558 if { (ac_try="$ac_compile"
19559 case "(($ac_try" in
19560 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19561 *) ac_try_echo=$ac_try;;
19562 esac
19563 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19564 (eval "$ac_compile") 2>conftest.er1
19565 ac_status=$?
19566 grep -v '^ *+' conftest.er1 >conftest.err
19567 rm -f conftest.er1
19568 cat conftest.err >&5
19569 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19570 (exit $ac_status); } && {
19571 test -z "$ac_c_werror_flag" ||
19572 test ! -s conftest.err
19573 } && test -s conftest.$ac_objext; then
19574 ac_lo=$ac_mid; break
19575 else
19576 echo "$as_me: failed program was:" >&5
19577 sed 's/^/| /' conftest.$ac_ext >&5
19578
19579 ac_hi=`expr '(' $ac_mid ')' - 1`
19580 if test $ac_mid -le $ac_hi; then
19581 ac_lo= ac_hi=
19582 break
19583 fi
19584 ac_mid=`expr 2 '*' $ac_mid`
19585 fi
19586
19587 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19588 done
19589 else
19590 echo "$as_me: failed program was:" >&5
19591 sed 's/^/| /' conftest.$ac_ext >&5
19592
19593 ac_lo= ac_hi=
19594 fi
19595
19596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19597 fi
19598
19599 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19600 # Binary search between lo and hi bounds.
19601 while test "x$ac_lo" != "x$ac_hi"; do
19602 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
19603 cat >conftest.$ac_ext <<_ACEOF
19604 /* confdefs.h. */
19605 _ACEOF
19606 cat confdefs.h >>conftest.$ac_ext
19607 cat >>conftest.$ac_ext <<_ACEOF
19608 /* end confdefs.h. */
19609 $ac_includes_default
19610 typedef long ac__type_sizeof_;
19611 int
19612 main ()
19613 {
19614 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19615 test_array [0] = 0
19616
19617 ;
19618 return 0;
19619 }
19620 _ACEOF
19621 rm -f conftest.$ac_objext
19622 if { (ac_try="$ac_compile"
19623 case "(($ac_try" in
19624 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19625 *) ac_try_echo=$ac_try;;
19626 esac
19627 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19628 (eval "$ac_compile") 2>conftest.er1
19629 ac_status=$?
19630 grep -v '^ *+' conftest.er1 >conftest.err
19631 rm -f conftest.er1
19632 cat conftest.err >&5
19633 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19634 (exit $ac_status); } && {
19635 test -z "$ac_c_werror_flag" ||
19636 test ! -s conftest.err
19637 } && test -s conftest.$ac_objext; then
19638 ac_hi=$ac_mid
19639 else
19640 echo "$as_me: failed program was:" >&5
19641 sed 's/^/| /' conftest.$ac_ext >&5
19642
19643 ac_lo=`expr '(' $ac_mid ')' + 1`
19644 fi
19645
19646 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19647 done
19648 case $ac_lo in
19649 ?*) ac_cv_sizeof_long=$ac_lo;;
19650 '') if test "$ac_cv_type_long" = yes; then
19651 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19652 See \`config.log' for more details." >&5
19653 echo "$as_me: error: cannot compute sizeof (long)
19654 See \`config.log' for more details." >&2;}
19655 { (exit 77); exit 77; }; }
19656 else
19657 ac_cv_sizeof_long=0
19658 fi ;;
19659 esac
19660 else
19661 cat >conftest.$ac_ext <<_ACEOF
19662 /* confdefs.h. */
19663 _ACEOF
19664 cat confdefs.h >>conftest.$ac_ext
19665 cat >>conftest.$ac_ext <<_ACEOF
19666 /* end confdefs.h. */
19667 $ac_includes_default
19668 typedef long ac__type_sizeof_;
19669 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
19670 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
19671 #include <stdio.h>
19672 #include <stdlib.h>
19673 int
19674 main ()
19675 {
19676
19677 FILE *f = fopen ("conftest.val", "w");
19678 if (! f)
19679 return 1;
19680 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
19681 {
19682 long int i = longval ();
19683 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19684 return 1;
19685 fprintf (f, "%ld\n", i);
19686 }
19687 else
19688 {
19689 unsigned long int i = ulongval ();
19690 if (i != ((long int) (sizeof (ac__type_sizeof_))))
19691 return 1;
19692 fprintf (f, "%lu\n", i);
19693 }
19694 return ferror (f) || fclose (f) != 0;
19695
19696 ;
19697 return 0;
19698 }
19699 _ACEOF
19700 rm -f conftest$ac_exeext
19701 if { (ac_try="$ac_link"
19702 case "(($ac_try" in
19703 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19704 *) ac_try_echo=$ac_try;;
19705 esac
19706 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19707 (eval "$ac_link") 2>&5
19708 ac_status=$?
19709 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19710 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
19711 { (case "(($ac_try" in
19712 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19713 *) ac_try_echo=$ac_try;;
19714 esac
19715 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19716 (eval "$ac_try") 2>&5
19717 ac_status=$?
19718 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19719 (exit $ac_status); }; }; then
19720 ac_cv_sizeof_long=`cat conftest.val`
19721 else
19722 echo "$as_me: program exited with status $ac_status" >&5
19723 echo "$as_me: failed program was:" >&5
19724 sed 's/^/| /' conftest.$ac_ext >&5
19725
19726 ( exit $ac_status )
19727 if test "$ac_cv_type_long" = yes; then
19728 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long)
19729 See \`config.log' for more details." >&5
19730 echo "$as_me: error: cannot compute sizeof (long)
19731 See \`config.log' for more details." >&2;}
19732 { (exit 77); exit 77; }; }
19733 else
19734 ac_cv_sizeof_long=0
19735 fi
19736 fi
19737 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
19738 fi
19739 rm -f conftest.val
19740 fi
19741 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long" >&5
19742 echo "${ECHO_T}$ac_cv_sizeof_long" >&6; }
19743
19744
19745
19746 cat >>confdefs.h <<_ACEOF
19747 #define SIZEOF_LONG $ac_cv_sizeof_long
19748 _ACEOF
19749
19750
19751 { echo "$as_me:$LINENO: checking for size_t" >&5
19752 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
19753 if test "${ac_cv_type_size_t+set}" = set; then
19754 echo $ECHO_N "(cached) $ECHO_C" >&6
19755 else
19756 cat >conftest.$ac_ext <<_ACEOF
19757 /* confdefs.h. */
19758 _ACEOF
19759 cat confdefs.h >>conftest.$ac_ext
19760 cat >>conftest.$ac_ext <<_ACEOF
19761 /* end confdefs.h. */
19762 $ac_includes_default
19763 typedef size_t ac__type_new_;
19764 int
19765 main ()
19766 {
19767 if ((ac__type_new_ *) 0)
19768 return 0;
19769 if (sizeof (ac__type_new_))
19770 return 0;
19771 ;
19772 return 0;
19773 }
19774 _ACEOF
19775 rm -f conftest.$ac_objext
19776 if { (ac_try="$ac_compile"
19777 case "(($ac_try" in
19778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19779 *) ac_try_echo=$ac_try;;
19780 esac
19781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19782 (eval "$ac_compile") 2>conftest.er1
19783 ac_status=$?
19784 grep -v '^ *+' conftest.er1 >conftest.err
19785 rm -f conftest.er1
19786 cat conftest.err >&5
19787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19788 (exit $ac_status); } && {
19789 test -z "$ac_c_werror_flag" ||
19790 test ! -s conftest.err
19791 } && test -s conftest.$ac_objext; then
19792 ac_cv_type_size_t=yes
19793 else
19794 echo "$as_me: failed program was:" >&5
19795 sed 's/^/| /' conftest.$ac_ext >&5
19796
19797 ac_cv_type_size_t=no
19798 fi
19799
19800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19801 fi
19802 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
19803 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
19804
19805 # The cast to long int works around a bug in the HP C Compiler
19806 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
19807 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
19808 # This bug is HP SR number 8606223364.
19809 { echo "$as_me:$LINENO: checking size of size_t" >&5
19810 echo $ECHO_N "checking size of size_t... $ECHO_C" >&6; }
19811 if test "${ac_cv_sizeof_size_t+set}" = set; then
19812 echo $ECHO_N "(cached) $ECHO_C" >&6
19813 else
19814 if test "$cross_compiling" = yes; then
19815 # Depending upon the size, compute the lo and hi bounds.
19816 cat >conftest.$ac_ext <<_ACEOF
19817 /* confdefs.h. */
19818 _ACEOF
19819 cat confdefs.h >>conftest.$ac_ext
19820 cat >>conftest.$ac_ext <<_ACEOF
19821 /* end confdefs.h. */
19822 $ac_includes_default
19823 typedef size_t ac__type_sizeof_;
19824 int
19825 main ()
19826 {
19827 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
19828 test_array [0] = 0
19829
19830 ;
19831 return 0;
19832 }
19833 _ACEOF
19834 rm -f conftest.$ac_objext
19835 if { (ac_try="$ac_compile"
19836 case "(($ac_try" in
19837 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19838 *) ac_try_echo=$ac_try;;
19839 esac
19840 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19841 (eval "$ac_compile") 2>conftest.er1
19842 ac_status=$?
19843 grep -v '^ *+' conftest.er1 >conftest.err
19844 rm -f conftest.er1
19845 cat conftest.err >&5
19846 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19847 (exit $ac_status); } && {
19848 test -z "$ac_c_werror_flag" ||
19849 test ! -s conftest.err
19850 } && test -s conftest.$ac_objext; then
19851 ac_lo=0 ac_mid=0
19852 while :; do
19853 cat >conftest.$ac_ext <<_ACEOF
19854 /* confdefs.h. */
19855 _ACEOF
19856 cat confdefs.h >>conftest.$ac_ext
19857 cat >>conftest.$ac_ext <<_ACEOF
19858 /* end confdefs.h. */
19859 $ac_includes_default
19860 typedef size_t ac__type_sizeof_;
19861 int
19862 main ()
19863 {
19864 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
19865 test_array [0] = 0
19866
19867 ;
19868 return 0;
19869 }
19870 _ACEOF
19871 rm -f conftest.$ac_objext
19872 if { (ac_try="$ac_compile"
19873 case "(($ac_try" in
19874 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19875 *) ac_try_echo=$ac_try;;
19876 esac
19877 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19878 (eval "$ac_compile") 2>conftest.er1
19879 ac_status=$?
19880 grep -v '^ *+' conftest.er1 >conftest.err
19881 rm -f conftest.er1
19882 cat conftest.err >&5
19883 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19884 (exit $ac_status); } && {
19885 test -z "$ac_c_werror_flag" ||
19886 test ! -s conftest.err
19887 } && test -s conftest.$ac_objext; then
19888 ac_hi=$ac_mid; break
19889 else
19890 echo "$as_me: failed program was:" >&5
19891 sed 's/^/| /' conftest.$ac_ext >&5
19892
19893 ac_lo=`expr $ac_mid + 1`
19894 if test $ac_lo -le $ac_mid; then
19895 ac_lo= ac_hi=
19896 break
19897 fi
19898 ac_mid=`expr 2 '*' $ac_mid + 1`
19899 fi
19900
19901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19902 done
19903 else
19904 echo "$as_me: failed program was:" >&5
19905 sed 's/^/| /' conftest.$ac_ext >&5
19906
19907 cat >conftest.$ac_ext <<_ACEOF
19908 /* confdefs.h. */
19909 _ACEOF
19910 cat confdefs.h >>conftest.$ac_ext
19911 cat >>conftest.$ac_ext <<_ACEOF
19912 /* end confdefs.h. */
19913 $ac_includes_default
19914 typedef size_t ac__type_sizeof_;
19915 int
19916 main ()
19917 {
19918 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
19919 test_array [0] = 0
19920
19921 ;
19922 return 0;
19923 }
19924 _ACEOF
19925 rm -f conftest.$ac_objext
19926 if { (ac_try="$ac_compile"
19927 case "(($ac_try" in
19928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19929 *) ac_try_echo=$ac_try;;
19930 esac
19931 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19932 (eval "$ac_compile") 2>conftest.er1
19933 ac_status=$?
19934 grep -v '^ *+' conftest.er1 >conftest.err
19935 rm -f conftest.er1
19936 cat conftest.err >&5
19937 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19938 (exit $ac_status); } && {
19939 test -z "$ac_c_werror_flag" ||
19940 test ! -s conftest.err
19941 } && test -s conftest.$ac_objext; then
19942 ac_hi=-1 ac_mid=-1
19943 while :; do
19944 cat >conftest.$ac_ext <<_ACEOF
19945 /* confdefs.h. */
19946 _ACEOF
19947 cat confdefs.h >>conftest.$ac_ext
19948 cat >>conftest.$ac_ext <<_ACEOF
19949 /* end confdefs.h. */
19950 $ac_includes_default
19951 typedef size_t ac__type_sizeof_;
19952 int
19953 main ()
19954 {
19955 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
19956 test_array [0] = 0
19957
19958 ;
19959 return 0;
19960 }
19961 _ACEOF
19962 rm -f conftest.$ac_objext
19963 if { (ac_try="$ac_compile"
19964 case "(($ac_try" in
19965 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
19966 *) ac_try_echo=$ac_try;;
19967 esac
19968 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
19969 (eval "$ac_compile") 2>conftest.er1
19970 ac_status=$?
19971 grep -v '^ *+' conftest.er1 >conftest.err
19972 rm -f conftest.er1
19973 cat conftest.err >&5
19974 echo "$as_me:$LINENO: \$? = $ac_status" >&5
19975 (exit $ac_status); } && {
19976 test -z "$ac_c_werror_flag" ||
19977 test ! -s conftest.err
19978 } && test -s conftest.$ac_objext; then
19979 ac_lo=$ac_mid; break
19980 else
19981 echo "$as_me: failed program was:" >&5
19982 sed 's/^/| /' conftest.$ac_ext >&5
19983
19984 ac_hi=`expr '(' $ac_mid ')' - 1`
19985 if test $ac_mid -le $ac_hi; then
19986 ac_lo= ac_hi=
19987 break
19988 fi
19989 ac_mid=`expr 2 '*' $ac_mid`
19990 fi
19991
19992 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
19993 done
19994 else
19995 echo "$as_me: failed program was:" >&5
19996 sed 's/^/| /' conftest.$ac_ext >&5
19997
19998 ac_lo= ac_hi=
19999 fi
20000
20001 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20002 fi
20003
20004 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20005 # Binary search between lo and hi bounds.
20006 while test "x$ac_lo" != "x$ac_hi"; do
20007 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20008 cat >conftest.$ac_ext <<_ACEOF
20009 /* confdefs.h. */
20010 _ACEOF
20011 cat confdefs.h >>conftest.$ac_ext
20012 cat >>conftest.$ac_ext <<_ACEOF
20013 /* end confdefs.h. */
20014 $ac_includes_default
20015 typedef size_t ac__type_sizeof_;
20016 int
20017 main ()
20018 {
20019 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20020 test_array [0] = 0
20021
20022 ;
20023 return 0;
20024 }
20025 _ACEOF
20026 rm -f conftest.$ac_objext
20027 if { (ac_try="$ac_compile"
20028 case "(($ac_try" in
20029 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20030 *) ac_try_echo=$ac_try;;
20031 esac
20032 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20033 (eval "$ac_compile") 2>conftest.er1
20034 ac_status=$?
20035 grep -v '^ *+' conftest.er1 >conftest.err
20036 rm -f conftest.er1
20037 cat conftest.err >&5
20038 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20039 (exit $ac_status); } && {
20040 test -z "$ac_c_werror_flag" ||
20041 test ! -s conftest.err
20042 } && test -s conftest.$ac_objext; then
20043 ac_hi=$ac_mid
20044 else
20045 echo "$as_me: failed program was:" >&5
20046 sed 's/^/| /' conftest.$ac_ext >&5
20047
20048 ac_lo=`expr '(' $ac_mid ')' + 1`
20049 fi
20050
20051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20052 done
20053 case $ac_lo in
20054 ?*) ac_cv_sizeof_size_t=$ac_lo;;
20055 '') if test "$ac_cv_type_size_t" = yes; then
20056 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20057 See \`config.log' for more details." >&5
20058 echo "$as_me: error: cannot compute sizeof (size_t)
20059 See \`config.log' for more details." >&2;}
20060 { (exit 77); exit 77; }; }
20061 else
20062 ac_cv_sizeof_size_t=0
20063 fi ;;
20064 esac
20065 else
20066 cat >conftest.$ac_ext <<_ACEOF
20067 /* confdefs.h. */
20068 _ACEOF
20069 cat confdefs.h >>conftest.$ac_ext
20070 cat >>conftest.$ac_ext <<_ACEOF
20071 /* end confdefs.h. */
20072 $ac_includes_default
20073 typedef size_t ac__type_sizeof_;
20074 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20075 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20076 #include <stdio.h>
20077 #include <stdlib.h>
20078 int
20079 main ()
20080 {
20081
20082 FILE *f = fopen ("conftest.val", "w");
20083 if (! f)
20084 return 1;
20085 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20086 {
20087 long int i = longval ();
20088 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20089 return 1;
20090 fprintf (f, "%ld\n", i);
20091 }
20092 else
20093 {
20094 unsigned long int i = ulongval ();
20095 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20096 return 1;
20097 fprintf (f, "%lu\n", i);
20098 }
20099 return ferror (f) || fclose (f) != 0;
20100
20101 ;
20102 return 0;
20103 }
20104 _ACEOF
20105 rm -f conftest$ac_exeext
20106 if { (ac_try="$ac_link"
20107 case "(($ac_try" in
20108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20109 *) ac_try_echo=$ac_try;;
20110 esac
20111 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20112 (eval "$ac_link") 2>&5
20113 ac_status=$?
20114 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20115 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20116 { (case "(($ac_try" in
20117 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20118 *) ac_try_echo=$ac_try;;
20119 esac
20120 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20121 (eval "$ac_try") 2>&5
20122 ac_status=$?
20123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20124 (exit $ac_status); }; }; then
20125 ac_cv_sizeof_size_t=`cat conftest.val`
20126 else
20127 echo "$as_me: program exited with status $ac_status" >&5
20128 echo "$as_me: failed program was:" >&5
20129 sed 's/^/| /' conftest.$ac_ext >&5
20130
20131 ( exit $ac_status )
20132 if test "$ac_cv_type_size_t" = yes; then
20133 { { echo "$as_me:$LINENO: error: cannot compute sizeof (size_t)
20134 See \`config.log' for more details." >&5
20135 echo "$as_me: error: cannot compute sizeof (size_t)
20136 See \`config.log' for more details." >&2;}
20137 { (exit 77); exit 77; }; }
20138 else
20139 ac_cv_sizeof_size_t=0
20140 fi
20141 fi
20142 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20143 fi
20144 rm -f conftest.val
20145 fi
20146 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_size_t" >&5
20147 echo "${ECHO_T}$ac_cv_sizeof_size_t" >&6; }
20148
20149
20150
20151 cat >>confdefs.h <<_ACEOF
20152 #define SIZEOF_SIZE_T $ac_cv_sizeof_size_t
20153 _ACEOF
20154
20155
20156
20157 case "${host}" in
20158 arm-*-linux* )
20159 { echo "$as_me:$LINENO: checking for long long" >&5
20160 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20161 if test "${ac_cv_type_long_long+set}" = set; then
20162 echo $ECHO_N "(cached) $ECHO_C" >&6
20163 else
20164 cat >conftest.$ac_ext <<_ACEOF
20165 /* confdefs.h. */
20166 _ACEOF
20167 cat confdefs.h >>conftest.$ac_ext
20168 cat >>conftest.$ac_ext <<_ACEOF
20169 /* end confdefs.h. */
20170 $ac_includes_default
20171 typedef long long ac__type_new_;
20172 int
20173 main ()
20174 {
20175 if ((ac__type_new_ *) 0)
20176 return 0;
20177 if (sizeof (ac__type_new_))
20178 return 0;
20179 ;
20180 return 0;
20181 }
20182 _ACEOF
20183 rm -f conftest.$ac_objext
20184 if { (ac_try="$ac_compile"
20185 case "(($ac_try" in
20186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20187 *) ac_try_echo=$ac_try;;
20188 esac
20189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20190 (eval "$ac_compile") 2>conftest.er1
20191 ac_status=$?
20192 grep -v '^ *+' conftest.er1 >conftest.err
20193 rm -f conftest.er1
20194 cat conftest.err >&5
20195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20196 (exit $ac_status); } && {
20197 test -z "$ac_c_werror_flag" ||
20198 test ! -s conftest.err
20199 } && test -s conftest.$ac_objext; then
20200 ac_cv_type_long_long=yes
20201 else
20202 echo "$as_me: failed program was:" >&5
20203 sed 's/^/| /' conftest.$ac_ext >&5
20204
20205 ac_cv_type_long_long=no
20206 fi
20207
20208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20209 fi
20210 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20211 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20212
20213 # The cast to long int works around a bug in the HP C Compiler
20214 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20215 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20216 # This bug is HP SR number 8606223364.
20217 { echo "$as_me:$LINENO: checking size of long long" >&5
20218 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20219 if test "${ac_cv_sizeof_long_long+set}" = set; then
20220 echo $ECHO_N "(cached) $ECHO_C" >&6
20221 else
20222 if test "$cross_compiling" = yes; then
20223 # Depending upon the size, compute the lo and hi bounds.
20224 cat >conftest.$ac_ext <<_ACEOF
20225 /* confdefs.h. */
20226 _ACEOF
20227 cat confdefs.h >>conftest.$ac_ext
20228 cat >>conftest.$ac_ext <<_ACEOF
20229 /* end confdefs.h. */
20230 $ac_includes_default
20231 typedef long long ac__type_sizeof_;
20232 int
20233 main ()
20234 {
20235 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20236 test_array [0] = 0
20237
20238 ;
20239 return 0;
20240 }
20241 _ACEOF
20242 rm -f conftest.$ac_objext
20243 if { (ac_try="$ac_compile"
20244 case "(($ac_try" in
20245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20246 *) ac_try_echo=$ac_try;;
20247 esac
20248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20249 (eval "$ac_compile") 2>conftest.er1
20250 ac_status=$?
20251 grep -v '^ *+' conftest.er1 >conftest.err
20252 rm -f conftest.er1
20253 cat conftest.err >&5
20254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20255 (exit $ac_status); } && {
20256 test -z "$ac_c_werror_flag" ||
20257 test ! -s conftest.err
20258 } && test -s conftest.$ac_objext; then
20259 ac_lo=0 ac_mid=0
20260 while :; do
20261 cat >conftest.$ac_ext <<_ACEOF
20262 /* confdefs.h. */
20263 _ACEOF
20264 cat confdefs.h >>conftest.$ac_ext
20265 cat >>conftest.$ac_ext <<_ACEOF
20266 /* end confdefs.h. */
20267 $ac_includes_default
20268 typedef long long ac__type_sizeof_;
20269 int
20270 main ()
20271 {
20272 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20273 test_array [0] = 0
20274
20275 ;
20276 return 0;
20277 }
20278 _ACEOF
20279 rm -f conftest.$ac_objext
20280 if { (ac_try="$ac_compile"
20281 case "(($ac_try" in
20282 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20283 *) ac_try_echo=$ac_try;;
20284 esac
20285 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20286 (eval "$ac_compile") 2>conftest.er1
20287 ac_status=$?
20288 grep -v '^ *+' conftest.er1 >conftest.err
20289 rm -f conftest.er1
20290 cat conftest.err >&5
20291 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20292 (exit $ac_status); } && {
20293 test -z "$ac_c_werror_flag" ||
20294 test ! -s conftest.err
20295 } && test -s conftest.$ac_objext; then
20296 ac_hi=$ac_mid; break
20297 else
20298 echo "$as_me: failed program was:" >&5
20299 sed 's/^/| /' conftest.$ac_ext >&5
20300
20301 ac_lo=`expr $ac_mid + 1`
20302 if test $ac_lo -le $ac_mid; then
20303 ac_lo= ac_hi=
20304 break
20305 fi
20306 ac_mid=`expr 2 '*' $ac_mid + 1`
20307 fi
20308
20309 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20310 done
20311 else
20312 echo "$as_me: failed program was:" >&5
20313 sed 's/^/| /' conftest.$ac_ext >&5
20314
20315 cat >conftest.$ac_ext <<_ACEOF
20316 /* confdefs.h. */
20317 _ACEOF
20318 cat confdefs.h >>conftest.$ac_ext
20319 cat >>conftest.$ac_ext <<_ACEOF
20320 /* end confdefs.h. */
20321 $ac_includes_default
20322 typedef long long ac__type_sizeof_;
20323 int
20324 main ()
20325 {
20326 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20327 test_array [0] = 0
20328
20329 ;
20330 return 0;
20331 }
20332 _ACEOF
20333 rm -f conftest.$ac_objext
20334 if { (ac_try="$ac_compile"
20335 case "(($ac_try" in
20336 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20337 *) ac_try_echo=$ac_try;;
20338 esac
20339 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20340 (eval "$ac_compile") 2>conftest.er1
20341 ac_status=$?
20342 grep -v '^ *+' conftest.er1 >conftest.err
20343 rm -f conftest.er1
20344 cat conftest.err >&5
20345 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20346 (exit $ac_status); } && {
20347 test -z "$ac_c_werror_flag" ||
20348 test ! -s conftest.err
20349 } && test -s conftest.$ac_objext; then
20350 ac_hi=-1 ac_mid=-1
20351 while :; do
20352 cat >conftest.$ac_ext <<_ACEOF
20353 /* confdefs.h. */
20354 _ACEOF
20355 cat confdefs.h >>conftest.$ac_ext
20356 cat >>conftest.$ac_ext <<_ACEOF
20357 /* end confdefs.h. */
20358 $ac_includes_default
20359 typedef long long ac__type_sizeof_;
20360 int
20361 main ()
20362 {
20363 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20364 test_array [0] = 0
20365
20366 ;
20367 return 0;
20368 }
20369 _ACEOF
20370 rm -f conftest.$ac_objext
20371 if { (ac_try="$ac_compile"
20372 case "(($ac_try" in
20373 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20374 *) ac_try_echo=$ac_try;;
20375 esac
20376 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20377 (eval "$ac_compile") 2>conftest.er1
20378 ac_status=$?
20379 grep -v '^ *+' conftest.er1 >conftest.err
20380 rm -f conftest.er1
20381 cat conftest.err >&5
20382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20383 (exit $ac_status); } && {
20384 test -z "$ac_c_werror_flag" ||
20385 test ! -s conftest.err
20386 } && test -s conftest.$ac_objext; then
20387 ac_lo=$ac_mid; break
20388 else
20389 echo "$as_me: failed program was:" >&5
20390 sed 's/^/| /' conftest.$ac_ext >&5
20391
20392 ac_hi=`expr '(' $ac_mid ')' - 1`
20393 if test $ac_mid -le $ac_hi; then
20394 ac_lo= ac_hi=
20395 break
20396 fi
20397 ac_mid=`expr 2 '*' $ac_mid`
20398 fi
20399
20400 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20401 done
20402 else
20403 echo "$as_me: failed program was:" >&5
20404 sed 's/^/| /' conftest.$ac_ext >&5
20405
20406 ac_lo= ac_hi=
20407 fi
20408
20409 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20410 fi
20411
20412 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20413 # Binary search between lo and hi bounds.
20414 while test "x$ac_lo" != "x$ac_hi"; do
20415 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20416 cat >conftest.$ac_ext <<_ACEOF
20417 /* confdefs.h. */
20418 _ACEOF
20419 cat confdefs.h >>conftest.$ac_ext
20420 cat >>conftest.$ac_ext <<_ACEOF
20421 /* end confdefs.h. */
20422 $ac_includes_default
20423 typedef long long ac__type_sizeof_;
20424 int
20425 main ()
20426 {
20427 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20428 test_array [0] = 0
20429
20430 ;
20431 return 0;
20432 }
20433 _ACEOF
20434 rm -f conftest.$ac_objext
20435 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
20442 ac_status=$?
20443 grep -v '^ *+' conftest.er1 >conftest.err
20444 rm -f conftest.er1
20445 cat conftest.err >&5
20446 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20447 (exit $ac_status); } && {
20448 test -z "$ac_c_werror_flag" ||
20449 test ! -s conftest.err
20450 } && test -s conftest.$ac_objext; then
20451 ac_hi=$ac_mid
20452 else
20453 echo "$as_me: failed program was:" >&5
20454 sed 's/^/| /' conftest.$ac_ext >&5
20455
20456 ac_lo=`expr '(' $ac_mid ')' + 1`
20457 fi
20458
20459 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20460 done
20461 case $ac_lo in
20462 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20463 '') if test "$ac_cv_type_long_long" = yes; then
20464 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20465 See \`config.log' for more details." >&5
20466 echo "$as_me: error: cannot compute sizeof (long long)
20467 See \`config.log' for more details." >&2;}
20468 { (exit 77); exit 77; }; }
20469 else
20470 ac_cv_sizeof_long_long=0
20471 fi ;;
20472 esac
20473 else
20474 cat >conftest.$ac_ext <<_ACEOF
20475 /* confdefs.h. */
20476 _ACEOF
20477 cat confdefs.h >>conftest.$ac_ext
20478 cat >>conftest.$ac_ext <<_ACEOF
20479 /* end confdefs.h. */
20480 $ac_includes_default
20481 typedef long long ac__type_sizeof_;
20482 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20483 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20484 #include <stdio.h>
20485 #include <stdlib.h>
20486 int
20487 main ()
20488 {
20489
20490 FILE *f = fopen ("conftest.val", "w");
20491 if (! f)
20492 return 1;
20493 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20494 {
20495 long int i = longval ();
20496 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20497 return 1;
20498 fprintf (f, "%ld\n", i);
20499 }
20500 else
20501 {
20502 unsigned long int i = ulongval ();
20503 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20504 return 1;
20505 fprintf (f, "%lu\n", i);
20506 }
20507 return ferror (f) || fclose (f) != 0;
20508
20509 ;
20510 return 0;
20511 }
20512 _ACEOF
20513 rm -f conftest$ac_exeext
20514 if { (ac_try="$ac_link"
20515 case "(($ac_try" in
20516 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20517 *) ac_try_echo=$ac_try;;
20518 esac
20519 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20520 (eval "$ac_link") 2>&5
20521 ac_status=$?
20522 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20523 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20524 { (case "(($ac_try" in
20525 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20526 *) ac_try_echo=$ac_try;;
20527 esac
20528 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20529 (eval "$ac_try") 2>&5
20530 ac_status=$?
20531 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20532 (exit $ac_status); }; }; then
20533 ac_cv_sizeof_long_long=`cat conftest.val`
20534 else
20535 echo "$as_me: program exited with status $ac_status" >&5
20536 echo "$as_me: failed program was:" >&5
20537 sed 's/^/| /' conftest.$ac_ext >&5
20538
20539 ( exit $ac_status )
20540 if test "$ac_cv_type_long_long" = yes; then
20541 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20542 See \`config.log' for more details." >&5
20543 echo "$as_me: error: cannot compute sizeof (long long)
20544 See \`config.log' for more details." >&2;}
20545 { (exit 77); exit 77; }; }
20546 else
20547 ac_cv_sizeof_long_long=0
20548 fi
20549 fi
20550 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20551 fi
20552 rm -f conftest.val
20553 fi
20554 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20555 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20556
20557
20558
20559 cat >>confdefs.h <<_ACEOF
20560 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20561 _ACEOF
20562
20563
20564 ;;
20565 *-hp-hpux* )
20566 { echo "$as_me:$LINENO: checking for long long" >&5
20567 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20568 if test "${ac_cv_type_long_long+set}" = set; then
20569 echo $ECHO_N "(cached) $ECHO_C" >&6
20570 else
20571 cat >conftest.$ac_ext <<_ACEOF
20572 /* confdefs.h. */
20573 _ACEOF
20574 cat confdefs.h >>conftest.$ac_ext
20575 cat >>conftest.$ac_ext <<_ACEOF
20576 /* end confdefs.h. */
20577 $ac_includes_default
20578 typedef long long ac__type_new_;
20579 int
20580 main ()
20581 {
20582 if ((ac__type_new_ *) 0)
20583 return 0;
20584 if (sizeof (ac__type_new_))
20585 return 0;
20586 ;
20587 return 0;
20588 }
20589 _ACEOF
20590 rm -f conftest.$ac_objext
20591 if { (ac_try="$ac_compile"
20592 case "(($ac_try" in
20593 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20594 *) ac_try_echo=$ac_try;;
20595 esac
20596 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20597 (eval "$ac_compile") 2>conftest.er1
20598 ac_status=$?
20599 grep -v '^ *+' conftest.er1 >conftest.err
20600 rm -f conftest.er1
20601 cat conftest.err >&5
20602 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20603 (exit $ac_status); } && {
20604 test -z "$ac_c_werror_flag" ||
20605 test ! -s conftest.err
20606 } && test -s conftest.$ac_objext; then
20607 ac_cv_type_long_long=yes
20608 else
20609 echo "$as_me: failed program was:" >&5
20610 sed 's/^/| /' conftest.$ac_ext >&5
20611
20612 ac_cv_type_long_long=no
20613 fi
20614
20615 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20616 fi
20617 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
20618 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
20619
20620 # The cast to long int works around a bug in the HP C Compiler
20621 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
20622 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
20623 # This bug is HP SR number 8606223364.
20624 { echo "$as_me:$LINENO: checking size of long long" >&5
20625 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
20626 if test "${ac_cv_sizeof_long_long+set}" = set; then
20627 echo $ECHO_N "(cached) $ECHO_C" >&6
20628 else
20629 if test "$cross_compiling" = yes; then
20630 # Depending upon the size, compute the lo and hi bounds.
20631 cat >conftest.$ac_ext <<_ACEOF
20632 /* confdefs.h. */
20633 _ACEOF
20634 cat confdefs.h >>conftest.$ac_ext
20635 cat >>conftest.$ac_ext <<_ACEOF
20636 /* end confdefs.h. */
20637 $ac_includes_default
20638 typedef long long ac__type_sizeof_;
20639 int
20640 main ()
20641 {
20642 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
20643 test_array [0] = 0
20644
20645 ;
20646 return 0;
20647 }
20648 _ACEOF
20649 rm -f conftest.$ac_objext
20650 if { (ac_try="$ac_compile"
20651 case "(($ac_try" in
20652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20653 *) ac_try_echo=$ac_try;;
20654 esac
20655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20656 (eval "$ac_compile") 2>conftest.er1
20657 ac_status=$?
20658 grep -v '^ *+' conftest.er1 >conftest.err
20659 rm -f conftest.er1
20660 cat conftest.err >&5
20661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20662 (exit $ac_status); } && {
20663 test -z "$ac_c_werror_flag" ||
20664 test ! -s conftest.err
20665 } && test -s conftest.$ac_objext; then
20666 ac_lo=0 ac_mid=0
20667 while :; do
20668 cat >conftest.$ac_ext <<_ACEOF
20669 /* confdefs.h. */
20670 _ACEOF
20671 cat confdefs.h >>conftest.$ac_ext
20672 cat >>conftest.$ac_ext <<_ACEOF
20673 /* end confdefs.h. */
20674 $ac_includes_default
20675 typedef long long ac__type_sizeof_;
20676 int
20677 main ()
20678 {
20679 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20680 test_array [0] = 0
20681
20682 ;
20683 return 0;
20684 }
20685 _ACEOF
20686 rm -f conftest.$ac_objext
20687 if { (ac_try="$ac_compile"
20688 case "(($ac_try" in
20689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20690 *) ac_try_echo=$ac_try;;
20691 esac
20692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20693 (eval "$ac_compile") 2>conftest.er1
20694 ac_status=$?
20695 grep -v '^ *+' conftest.er1 >conftest.err
20696 rm -f conftest.er1
20697 cat conftest.err >&5
20698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20699 (exit $ac_status); } && {
20700 test -z "$ac_c_werror_flag" ||
20701 test ! -s conftest.err
20702 } && test -s conftest.$ac_objext; then
20703 ac_hi=$ac_mid; break
20704 else
20705 echo "$as_me: failed program was:" >&5
20706 sed 's/^/| /' conftest.$ac_ext >&5
20707
20708 ac_lo=`expr $ac_mid + 1`
20709 if test $ac_lo -le $ac_mid; then
20710 ac_lo= ac_hi=
20711 break
20712 fi
20713 ac_mid=`expr 2 '*' $ac_mid + 1`
20714 fi
20715
20716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20717 done
20718 else
20719 echo "$as_me: failed program was:" >&5
20720 sed 's/^/| /' conftest.$ac_ext >&5
20721
20722 cat >conftest.$ac_ext <<_ACEOF
20723 /* confdefs.h. */
20724 _ACEOF
20725 cat confdefs.h >>conftest.$ac_ext
20726 cat >>conftest.$ac_ext <<_ACEOF
20727 /* end confdefs.h. */
20728 $ac_includes_default
20729 typedef long long ac__type_sizeof_;
20730 int
20731 main ()
20732 {
20733 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
20734 test_array [0] = 0
20735
20736 ;
20737 return 0;
20738 }
20739 _ACEOF
20740 rm -f conftest.$ac_objext
20741 if { (ac_try="$ac_compile"
20742 case "(($ac_try" in
20743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20744 *) ac_try_echo=$ac_try;;
20745 esac
20746 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20747 (eval "$ac_compile") 2>conftest.er1
20748 ac_status=$?
20749 grep -v '^ *+' conftest.er1 >conftest.err
20750 rm -f conftest.er1
20751 cat conftest.err >&5
20752 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20753 (exit $ac_status); } && {
20754 test -z "$ac_c_werror_flag" ||
20755 test ! -s conftest.err
20756 } && test -s conftest.$ac_objext; then
20757 ac_hi=-1 ac_mid=-1
20758 while :; do
20759 cat >conftest.$ac_ext <<_ACEOF
20760 /* confdefs.h. */
20761 _ACEOF
20762 cat confdefs.h >>conftest.$ac_ext
20763 cat >>conftest.$ac_ext <<_ACEOF
20764 /* end confdefs.h. */
20765 $ac_includes_default
20766 typedef long long ac__type_sizeof_;
20767 int
20768 main ()
20769 {
20770 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
20771 test_array [0] = 0
20772
20773 ;
20774 return 0;
20775 }
20776 _ACEOF
20777 rm -f conftest.$ac_objext
20778 if { (ac_try="$ac_compile"
20779 case "(($ac_try" in
20780 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20781 *) ac_try_echo=$ac_try;;
20782 esac
20783 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20784 (eval "$ac_compile") 2>conftest.er1
20785 ac_status=$?
20786 grep -v '^ *+' conftest.er1 >conftest.err
20787 rm -f conftest.er1
20788 cat conftest.err >&5
20789 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20790 (exit $ac_status); } && {
20791 test -z "$ac_c_werror_flag" ||
20792 test ! -s conftest.err
20793 } && test -s conftest.$ac_objext; then
20794 ac_lo=$ac_mid; break
20795 else
20796 echo "$as_me: failed program was:" >&5
20797 sed 's/^/| /' conftest.$ac_ext >&5
20798
20799 ac_hi=`expr '(' $ac_mid ')' - 1`
20800 if test $ac_mid -le $ac_hi; then
20801 ac_lo= ac_hi=
20802 break
20803 fi
20804 ac_mid=`expr 2 '*' $ac_mid`
20805 fi
20806
20807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20808 done
20809 else
20810 echo "$as_me: failed program was:" >&5
20811 sed 's/^/| /' conftest.$ac_ext >&5
20812
20813 ac_lo= ac_hi=
20814 fi
20815
20816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20817 fi
20818
20819 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20820 # Binary search between lo and hi bounds.
20821 while test "x$ac_lo" != "x$ac_hi"; do
20822 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
20823 cat >conftest.$ac_ext <<_ACEOF
20824 /* confdefs.h. */
20825 _ACEOF
20826 cat confdefs.h >>conftest.$ac_ext
20827 cat >>conftest.$ac_ext <<_ACEOF
20828 /* end confdefs.h. */
20829 $ac_includes_default
20830 typedef long long ac__type_sizeof_;
20831 int
20832 main ()
20833 {
20834 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
20835 test_array [0] = 0
20836
20837 ;
20838 return 0;
20839 }
20840 _ACEOF
20841 rm -f conftest.$ac_objext
20842 if { (ac_try="$ac_compile"
20843 case "(($ac_try" in
20844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20845 *) ac_try_echo=$ac_try;;
20846 esac
20847 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20848 (eval "$ac_compile") 2>conftest.er1
20849 ac_status=$?
20850 grep -v '^ *+' conftest.er1 >conftest.err
20851 rm -f conftest.er1
20852 cat conftest.err >&5
20853 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20854 (exit $ac_status); } && {
20855 test -z "$ac_c_werror_flag" ||
20856 test ! -s conftest.err
20857 } && test -s conftest.$ac_objext; then
20858 ac_hi=$ac_mid
20859 else
20860 echo "$as_me: failed program was:" >&5
20861 sed 's/^/| /' conftest.$ac_ext >&5
20862
20863 ac_lo=`expr '(' $ac_mid ')' + 1`
20864 fi
20865
20866 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
20867 done
20868 case $ac_lo in
20869 ?*) ac_cv_sizeof_long_long=$ac_lo;;
20870 '') if test "$ac_cv_type_long_long" = yes; then
20871 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20872 See \`config.log' for more details." >&5
20873 echo "$as_me: error: cannot compute sizeof (long long)
20874 See \`config.log' for more details." >&2;}
20875 { (exit 77); exit 77; }; }
20876 else
20877 ac_cv_sizeof_long_long=0
20878 fi ;;
20879 esac
20880 else
20881 cat >conftest.$ac_ext <<_ACEOF
20882 /* confdefs.h. */
20883 _ACEOF
20884 cat confdefs.h >>conftest.$ac_ext
20885 cat >>conftest.$ac_ext <<_ACEOF
20886 /* end confdefs.h. */
20887 $ac_includes_default
20888 typedef long long ac__type_sizeof_;
20889 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
20890 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
20891 #include <stdio.h>
20892 #include <stdlib.h>
20893 int
20894 main ()
20895 {
20896
20897 FILE *f = fopen ("conftest.val", "w");
20898 if (! f)
20899 return 1;
20900 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
20901 {
20902 long int i = longval ();
20903 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20904 return 1;
20905 fprintf (f, "%ld\n", i);
20906 }
20907 else
20908 {
20909 unsigned long int i = ulongval ();
20910 if (i != ((long int) (sizeof (ac__type_sizeof_))))
20911 return 1;
20912 fprintf (f, "%lu\n", i);
20913 }
20914 return ferror (f) || fclose (f) != 0;
20915
20916 ;
20917 return 0;
20918 }
20919 _ACEOF
20920 rm -f conftest$ac_exeext
20921 if { (ac_try="$ac_link"
20922 case "(($ac_try" in
20923 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20924 *) ac_try_echo=$ac_try;;
20925 esac
20926 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20927 (eval "$ac_link") 2>&5
20928 ac_status=$?
20929 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20930 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
20931 { (case "(($ac_try" in
20932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
20933 *) ac_try_echo=$ac_try;;
20934 esac
20935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
20936 (eval "$ac_try") 2>&5
20937 ac_status=$?
20938 echo "$as_me:$LINENO: \$? = $ac_status" >&5
20939 (exit $ac_status); }; }; then
20940 ac_cv_sizeof_long_long=`cat conftest.val`
20941 else
20942 echo "$as_me: program exited with status $ac_status" >&5
20943 echo "$as_me: failed program was:" >&5
20944 sed 's/^/| /' conftest.$ac_ext >&5
20945
20946 ( exit $ac_status )
20947 if test "$ac_cv_type_long_long" = yes; then
20948 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
20949 See \`config.log' for more details." >&5
20950 echo "$as_me: error: cannot compute sizeof (long long)
20951 See \`config.log' for more details." >&2;}
20952 { (exit 77); exit 77; }; }
20953 else
20954 ac_cv_sizeof_long_long=0
20955 fi
20956 fi
20957 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
20958 fi
20959 rm -f conftest.val
20960 fi
20961 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
20962 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
20963
20964
20965
20966 cat >>confdefs.h <<_ACEOF
20967 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
20968 _ACEOF
20969
20970
20971 if test "$ac_cv_sizeof_long_long" != "0"; then
20972 CPPFLAGS="-D_INCLUDE_LONGLONG $CPPFLAGS"
20973 fi
20974 ;;
20975 * )
20976 { echo "$as_me:$LINENO: checking for long long" >&5
20977 echo $ECHO_N "checking for long long... $ECHO_C" >&6; }
20978 if test "${ac_cv_type_long_long+set}" = set; then
20979 echo $ECHO_N "(cached) $ECHO_C" >&6
20980 else
20981 cat >conftest.$ac_ext <<_ACEOF
20982 /* confdefs.h. */
20983 _ACEOF
20984 cat confdefs.h >>conftest.$ac_ext
20985 cat >>conftest.$ac_ext <<_ACEOF
20986 /* end confdefs.h. */
20987 $ac_includes_default
20988 typedef long long ac__type_new_;
20989 int
20990 main ()
20991 {
20992 if ((ac__type_new_ *) 0)
20993 return 0;
20994 if (sizeof (ac__type_new_))
20995 return 0;
20996 ;
20997 return 0;
20998 }
20999 _ACEOF
21000 rm -f conftest.$ac_objext
21001 if { (ac_try="$ac_compile"
21002 case "(($ac_try" in
21003 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21004 *) ac_try_echo=$ac_try;;
21005 esac
21006 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21007 (eval "$ac_compile") 2>conftest.er1
21008 ac_status=$?
21009 grep -v '^ *+' conftest.er1 >conftest.err
21010 rm -f conftest.er1
21011 cat conftest.err >&5
21012 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21013 (exit $ac_status); } && {
21014 test -z "$ac_c_werror_flag" ||
21015 test ! -s conftest.err
21016 } && test -s conftest.$ac_objext; then
21017 ac_cv_type_long_long=yes
21018 else
21019 echo "$as_me: failed program was:" >&5
21020 sed 's/^/| /' conftest.$ac_ext >&5
21021
21022 ac_cv_type_long_long=no
21023 fi
21024
21025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21026 fi
21027 { echo "$as_me:$LINENO: result: $ac_cv_type_long_long" >&5
21028 echo "${ECHO_T}$ac_cv_type_long_long" >&6; }
21029
21030 # The cast to long int works around a bug in the HP C Compiler
21031 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21032 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21033 # This bug is HP SR number 8606223364.
21034 { echo "$as_me:$LINENO: checking size of long long" >&5
21035 echo $ECHO_N "checking size of long long... $ECHO_C" >&6; }
21036 if test "${ac_cv_sizeof_long_long+set}" = set; then
21037 echo $ECHO_N "(cached) $ECHO_C" >&6
21038 else
21039 if test "$cross_compiling" = yes; then
21040 # Depending upon the size, compute the lo and hi bounds.
21041 cat >conftest.$ac_ext <<_ACEOF
21042 /* confdefs.h. */
21043 _ACEOF
21044 cat confdefs.h >>conftest.$ac_ext
21045 cat >>conftest.$ac_ext <<_ACEOF
21046 /* end confdefs.h. */
21047 $ac_includes_default
21048 typedef long long ac__type_sizeof_;
21049 int
21050 main ()
21051 {
21052 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21053 test_array [0] = 0
21054
21055 ;
21056 return 0;
21057 }
21058 _ACEOF
21059 rm -f conftest.$ac_objext
21060 if { (ac_try="$ac_compile"
21061 case "(($ac_try" in
21062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21063 *) ac_try_echo=$ac_try;;
21064 esac
21065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21066 (eval "$ac_compile") 2>conftest.er1
21067 ac_status=$?
21068 grep -v '^ *+' conftest.er1 >conftest.err
21069 rm -f conftest.er1
21070 cat conftest.err >&5
21071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21072 (exit $ac_status); } && {
21073 test -z "$ac_c_werror_flag" ||
21074 test ! -s conftest.err
21075 } && test -s conftest.$ac_objext; then
21076 ac_lo=0 ac_mid=0
21077 while :; do
21078 cat >conftest.$ac_ext <<_ACEOF
21079 /* confdefs.h. */
21080 _ACEOF
21081 cat confdefs.h >>conftest.$ac_ext
21082 cat >>conftest.$ac_ext <<_ACEOF
21083 /* end confdefs.h. */
21084 $ac_includes_default
21085 typedef long long ac__type_sizeof_;
21086 int
21087 main ()
21088 {
21089 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21090 test_array [0] = 0
21091
21092 ;
21093 return 0;
21094 }
21095 _ACEOF
21096 rm -f conftest.$ac_objext
21097 if { (ac_try="$ac_compile"
21098 case "(($ac_try" in
21099 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21100 *) ac_try_echo=$ac_try;;
21101 esac
21102 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21103 (eval "$ac_compile") 2>conftest.er1
21104 ac_status=$?
21105 grep -v '^ *+' conftest.er1 >conftest.err
21106 rm -f conftest.er1
21107 cat conftest.err >&5
21108 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21109 (exit $ac_status); } && {
21110 test -z "$ac_c_werror_flag" ||
21111 test ! -s conftest.err
21112 } && test -s conftest.$ac_objext; then
21113 ac_hi=$ac_mid; break
21114 else
21115 echo "$as_me: failed program was:" >&5
21116 sed 's/^/| /' conftest.$ac_ext >&5
21117
21118 ac_lo=`expr $ac_mid + 1`
21119 if test $ac_lo -le $ac_mid; then
21120 ac_lo= ac_hi=
21121 break
21122 fi
21123 ac_mid=`expr 2 '*' $ac_mid + 1`
21124 fi
21125
21126 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21127 done
21128 else
21129 echo "$as_me: failed program was:" >&5
21130 sed 's/^/| /' conftest.$ac_ext >&5
21131
21132 cat >conftest.$ac_ext <<_ACEOF
21133 /* confdefs.h. */
21134 _ACEOF
21135 cat confdefs.h >>conftest.$ac_ext
21136 cat >>conftest.$ac_ext <<_ACEOF
21137 /* end confdefs.h. */
21138 $ac_includes_default
21139 typedef long long ac__type_sizeof_;
21140 int
21141 main ()
21142 {
21143 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21144 test_array [0] = 0
21145
21146 ;
21147 return 0;
21148 }
21149 _ACEOF
21150 rm -f conftest.$ac_objext
21151 if { (ac_try="$ac_compile"
21152 case "(($ac_try" in
21153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21154 *) ac_try_echo=$ac_try;;
21155 esac
21156 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21157 (eval "$ac_compile") 2>conftest.er1
21158 ac_status=$?
21159 grep -v '^ *+' conftest.er1 >conftest.err
21160 rm -f conftest.er1
21161 cat conftest.err >&5
21162 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21163 (exit $ac_status); } && {
21164 test -z "$ac_c_werror_flag" ||
21165 test ! -s conftest.err
21166 } && test -s conftest.$ac_objext; then
21167 ac_hi=-1 ac_mid=-1
21168 while :; do
21169 cat >conftest.$ac_ext <<_ACEOF
21170 /* confdefs.h. */
21171 _ACEOF
21172 cat confdefs.h >>conftest.$ac_ext
21173 cat >>conftest.$ac_ext <<_ACEOF
21174 /* end confdefs.h. */
21175 $ac_includes_default
21176 typedef long long ac__type_sizeof_;
21177 int
21178 main ()
21179 {
21180 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21181 test_array [0] = 0
21182
21183 ;
21184 return 0;
21185 }
21186 _ACEOF
21187 rm -f conftest.$ac_objext
21188 if { (ac_try="$ac_compile"
21189 case "(($ac_try" in
21190 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21191 *) ac_try_echo=$ac_try;;
21192 esac
21193 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21194 (eval "$ac_compile") 2>conftest.er1
21195 ac_status=$?
21196 grep -v '^ *+' conftest.er1 >conftest.err
21197 rm -f conftest.er1
21198 cat conftest.err >&5
21199 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21200 (exit $ac_status); } && {
21201 test -z "$ac_c_werror_flag" ||
21202 test ! -s conftest.err
21203 } && test -s conftest.$ac_objext; then
21204 ac_lo=$ac_mid; break
21205 else
21206 echo "$as_me: failed program was:" >&5
21207 sed 's/^/| /' conftest.$ac_ext >&5
21208
21209 ac_hi=`expr '(' $ac_mid ')' - 1`
21210 if test $ac_mid -le $ac_hi; then
21211 ac_lo= ac_hi=
21212 break
21213 fi
21214 ac_mid=`expr 2 '*' $ac_mid`
21215 fi
21216
21217 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21218 done
21219 else
21220 echo "$as_me: failed program was:" >&5
21221 sed 's/^/| /' conftest.$ac_ext >&5
21222
21223 ac_lo= ac_hi=
21224 fi
21225
21226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21227 fi
21228
21229 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21230 # Binary search between lo and hi bounds.
21231 while test "x$ac_lo" != "x$ac_hi"; do
21232 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21233 cat >conftest.$ac_ext <<_ACEOF
21234 /* confdefs.h. */
21235 _ACEOF
21236 cat confdefs.h >>conftest.$ac_ext
21237 cat >>conftest.$ac_ext <<_ACEOF
21238 /* end confdefs.h. */
21239 $ac_includes_default
21240 typedef long long ac__type_sizeof_;
21241 int
21242 main ()
21243 {
21244 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21245 test_array [0] = 0
21246
21247 ;
21248 return 0;
21249 }
21250 _ACEOF
21251 rm -f conftest.$ac_objext
21252 if { (ac_try="$ac_compile"
21253 case "(($ac_try" in
21254 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21255 *) ac_try_echo=$ac_try;;
21256 esac
21257 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21258 (eval "$ac_compile") 2>conftest.er1
21259 ac_status=$?
21260 grep -v '^ *+' conftest.er1 >conftest.err
21261 rm -f conftest.er1
21262 cat conftest.err >&5
21263 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21264 (exit $ac_status); } && {
21265 test -z "$ac_c_werror_flag" ||
21266 test ! -s conftest.err
21267 } && test -s conftest.$ac_objext; then
21268 ac_hi=$ac_mid
21269 else
21270 echo "$as_me: failed program was:" >&5
21271 sed 's/^/| /' conftest.$ac_ext >&5
21272
21273 ac_lo=`expr '(' $ac_mid ')' + 1`
21274 fi
21275
21276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21277 done
21278 case $ac_lo in
21279 ?*) ac_cv_sizeof_long_long=$ac_lo;;
21280 '') if test "$ac_cv_type_long_long" = yes; then
21281 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21282 See \`config.log' for more details." >&5
21283 echo "$as_me: error: cannot compute sizeof (long long)
21284 See \`config.log' for more details." >&2;}
21285 { (exit 77); exit 77; }; }
21286 else
21287 ac_cv_sizeof_long_long=0
21288 fi ;;
21289 esac
21290 else
21291 cat >conftest.$ac_ext <<_ACEOF
21292 /* confdefs.h. */
21293 _ACEOF
21294 cat confdefs.h >>conftest.$ac_ext
21295 cat >>conftest.$ac_ext <<_ACEOF
21296 /* end confdefs.h. */
21297 $ac_includes_default
21298 typedef long long ac__type_sizeof_;
21299 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21300 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21301 #include <stdio.h>
21302 #include <stdlib.h>
21303 int
21304 main ()
21305 {
21306
21307 FILE *f = fopen ("conftest.val", "w");
21308 if (! f)
21309 return 1;
21310 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21311 {
21312 long int i = longval ();
21313 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21314 return 1;
21315 fprintf (f, "%ld\n", i);
21316 }
21317 else
21318 {
21319 unsigned long int i = ulongval ();
21320 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21321 return 1;
21322 fprintf (f, "%lu\n", i);
21323 }
21324 return ferror (f) || fclose (f) != 0;
21325
21326 ;
21327 return 0;
21328 }
21329 _ACEOF
21330 rm -f conftest$ac_exeext
21331 if { (ac_try="$ac_link"
21332 case "(($ac_try" in
21333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21334 *) ac_try_echo=$ac_try;;
21335 esac
21336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21337 (eval "$ac_link") 2>&5
21338 ac_status=$?
21339 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21340 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21341 { (case "(($ac_try" in
21342 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21343 *) ac_try_echo=$ac_try;;
21344 esac
21345 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21346 (eval "$ac_try") 2>&5
21347 ac_status=$?
21348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21349 (exit $ac_status); }; }; then
21350 ac_cv_sizeof_long_long=`cat conftest.val`
21351 else
21352 echo "$as_me: program exited with status $ac_status" >&5
21353 echo "$as_me: failed program was:" >&5
21354 sed 's/^/| /' conftest.$ac_ext >&5
21355
21356 ( exit $ac_status )
21357 if test "$ac_cv_type_long_long" = yes; then
21358 { { echo "$as_me:$LINENO: error: cannot compute sizeof (long long)
21359 See \`config.log' for more details." >&5
21360 echo "$as_me: error: cannot compute sizeof (long long)
21361 See \`config.log' for more details." >&2;}
21362 { (exit 77); exit 77; }; }
21363 else
21364 ac_cv_sizeof_long_long=0
21365 fi
21366 fi
21367 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21368 fi
21369 rm -f conftest.val
21370 fi
21371 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_long_long" >&5
21372 echo "${ECHO_T}$ac_cv_sizeof_long_long" >&6; }
21373
21374
21375
21376 cat >>confdefs.h <<_ACEOF
21377 #define SIZEOF_LONG_LONG $ac_cv_sizeof_long_long
21378 _ACEOF
21379
21380
21381 esac
21382
21383 { echo "$as_me:$LINENO: checking for wchar_t" >&5
21384 echo $ECHO_N "checking for wchar_t... $ECHO_C" >&6; }
21385 if test "${ac_cv_type_wchar_t+set}" = set; then
21386 echo $ECHO_N "(cached) $ECHO_C" >&6
21387 else
21388 cat >conftest.$ac_ext <<_ACEOF
21389 /* confdefs.h. */
21390 _ACEOF
21391 cat confdefs.h >>conftest.$ac_ext
21392 cat >>conftest.$ac_ext <<_ACEOF
21393 /* end confdefs.h. */
21394
21395 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21396 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21397 # error "fake wchar_t"
21398 #endif
21399 #ifdef HAVE_WCHAR_H
21400 # ifdef __CYGWIN__
21401 # include <stddef.h>
21402 # endif
21403 # include <wchar.h>
21404 #endif
21405 #ifdef HAVE_STDLIB_H
21406 # include <stdlib.h>
21407 #endif
21408 #include <stdio.h>
21409
21410
21411
21412 typedef wchar_t ac__type_new_;
21413 int
21414 main ()
21415 {
21416 if ((ac__type_new_ *) 0)
21417 return 0;
21418 if (sizeof (ac__type_new_))
21419 return 0;
21420 ;
21421 return 0;
21422 }
21423 _ACEOF
21424 rm -f conftest.$ac_objext
21425 if { (ac_try="$ac_compile"
21426 case "(($ac_try" in
21427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21428 *) ac_try_echo=$ac_try;;
21429 esac
21430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21431 (eval "$ac_compile") 2>conftest.er1
21432 ac_status=$?
21433 grep -v '^ *+' conftest.er1 >conftest.err
21434 rm -f conftest.er1
21435 cat conftest.err >&5
21436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21437 (exit $ac_status); } && {
21438 test -z "$ac_c_werror_flag" ||
21439 test ! -s conftest.err
21440 } && test -s conftest.$ac_objext; then
21441 ac_cv_type_wchar_t=yes
21442 else
21443 echo "$as_me: failed program was:" >&5
21444 sed 's/^/| /' conftest.$ac_ext >&5
21445
21446 ac_cv_type_wchar_t=no
21447 fi
21448
21449 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21450 fi
21451 { echo "$as_me:$LINENO: result: $ac_cv_type_wchar_t" >&5
21452 echo "${ECHO_T}$ac_cv_type_wchar_t" >&6; }
21453
21454 # The cast to long int works around a bug in the HP C Compiler
21455 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
21456 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
21457 # This bug is HP SR number 8606223364.
21458 { echo "$as_me:$LINENO: checking size of wchar_t" >&5
21459 echo $ECHO_N "checking size of wchar_t... $ECHO_C" >&6; }
21460 if test "${ac_cv_sizeof_wchar_t+set}" = set; then
21461 echo $ECHO_N "(cached) $ECHO_C" >&6
21462 else
21463 if test "$cross_compiling" = yes; then
21464 # Depending upon the size, compute the lo and hi bounds.
21465 cat >conftest.$ac_ext <<_ACEOF
21466 /* confdefs.h. */
21467 _ACEOF
21468 cat confdefs.h >>conftest.$ac_ext
21469 cat >>conftest.$ac_ext <<_ACEOF
21470 /* end confdefs.h. */
21471
21472 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21473 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21474 # error "fake wchar_t"
21475 #endif
21476 #ifdef HAVE_WCHAR_H
21477 # ifdef __CYGWIN__
21478 # include <stddef.h>
21479 # endif
21480 # include <wchar.h>
21481 #endif
21482 #ifdef HAVE_STDLIB_H
21483 # include <stdlib.h>
21484 #endif
21485 #include <stdio.h>
21486
21487
21488
21489 typedef wchar_t ac__type_sizeof_;
21490 int
21491 main ()
21492 {
21493 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
21494 test_array [0] = 0
21495
21496 ;
21497 return 0;
21498 }
21499 _ACEOF
21500 rm -f conftest.$ac_objext
21501 if { (ac_try="$ac_compile"
21502 case "(($ac_try" in
21503 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21504 *) ac_try_echo=$ac_try;;
21505 esac
21506 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21507 (eval "$ac_compile") 2>conftest.er1
21508 ac_status=$?
21509 grep -v '^ *+' conftest.er1 >conftest.err
21510 rm -f conftest.er1
21511 cat conftest.err >&5
21512 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21513 (exit $ac_status); } && {
21514 test -z "$ac_c_werror_flag" ||
21515 test ! -s conftest.err
21516 } && test -s conftest.$ac_objext; then
21517 ac_lo=0 ac_mid=0
21518 while :; do
21519 cat >conftest.$ac_ext <<_ACEOF
21520 /* confdefs.h. */
21521 _ACEOF
21522 cat confdefs.h >>conftest.$ac_ext
21523 cat >>conftest.$ac_ext <<_ACEOF
21524 /* end confdefs.h. */
21525
21526 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21527 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21528 # error "fake wchar_t"
21529 #endif
21530 #ifdef HAVE_WCHAR_H
21531 # ifdef __CYGWIN__
21532 # include <stddef.h>
21533 # endif
21534 # include <wchar.h>
21535 #endif
21536 #ifdef HAVE_STDLIB_H
21537 # include <stdlib.h>
21538 #endif
21539 #include <stdio.h>
21540
21541
21542
21543 typedef wchar_t ac__type_sizeof_;
21544 int
21545 main ()
21546 {
21547 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21548 test_array [0] = 0
21549
21550 ;
21551 return 0;
21552 }
21553 _ACEOF
21554 rm -f conftest.$ac_objext
21555 if { (ac_try="$ac_compile"
21556 case "(($ac_try" in
21557 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21558 *) ac_try_echo=$ac_try;;
21559 esac
21560 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21561 (eval "$ac_compile") 2>conftest.er1
21562 ac_status=$?
21563 grep -v '^ *+' conftest.er1 >conftest.err
21564 rm -f conftest.er1
21565 cat conftest.err >&5
21566 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21567 (exit $ac_status); } && {
21568 test -z "$ac_c_werror_flag" ||
21569 test ! -s conftest.err
21570 } && test -s conftest.$ac_objext; then
21571 ac_hi=$ac_mid; break
21572 else
21573 echo "$as_me: failed program was:" >&5
21574 sed 's/^/| /' conftest.$ac_ext >&5
21575
21576 ac_lo=`expr $ac_mid + 1`
21577 if test $ac_lo -le $ac_mid; then
21578 ac_lo= ac_hi=
21579 break
21580 fi
21581 ac_mid=`expr 2 '*' $ac_mid + 1`
21582 fi
21583
21584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21585 done
21586 else
21587 echo "$as_me: failed program was:" >&5
21588 sed 's/^/| /' conftest.$ac_ext >&5
21589
21590 cat >conftest.$ac_ext <<_ACEOF
21591 /* confdefs.h. */
21592 _ACEOF
21593 cat confdefs.h >>conftest.$ac_ext
21594 cat >>conftest.$ac_ext <<_ACEOF
21595 /* end confdefs.h. */
21596
21597 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21598 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21599 # error "fake wchar_t"
21600 #endif
21601 #ifdef HAVE_WCHAR_H
21602 # ifdef __CYGWIN__
21603 # include <stddef.h>
21604 # endif
21605 # include <wchar.h>
21606 #endif
21607 #ifdef HAVE_STDLIB_H
21608 # include <stdlib.h>
21609 #endif
21610 #include <stdio.h>
21611
21612
21613
21614 typedef wchar_t ac__type_sizeof_;
21615 int
21616 main ()
21617 {
21618 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
21619 test_array [0] = 0
21620
21621 ;
21622 return 0;
21623 }
21624 _ACEOF
21625 rm -f conftest.$ac_objext
21626 if { (ac_try="$ac_compile"
21627 case "(($ac_try" in
21628 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21629 *) ac_try_echo=$ac_try;;
21630 esac
21631 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21632 (eval "$ac_compile") 2>conftest.er1
21633 ac_status=$?
21634 grep -v '^ *+' conftest.er1 >conftest.err
21635 rm -f conftest.er1
21636 cat conftest.err >&5
21637 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21638 (exit $ac_status); } && {
21639 test -z "$ac_c_werror_flag" ||
21640 test ! -s conftest.err
21641 } && test -s conftest.$ac_objext; then
21642 ac_hi=-1 ac_mid=-1
21643 while :; do
21644 cat >conftest.$ac_ext <<_ACEOF
21645 /* confdefs.h. */
21646 _ACEOF
21647 cat confdefs.h >>conftest.$ac_ext
21648 cat >>conftest.$ac_ext <<_ACEOF
21649 /* end confdefs.h. */
21650
21651 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21652 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21653 # error "fake wchar_t"
21654 #endif
21655 #ifdef HAVE_WCHAR_H
21656 # ifdef __CYGWIN__
21657 # include <stddef.h>
21658 # endif
21659 # include <wchar.h>
21660 #endif
21661 #ifdef HAVE_STDLIB_H
21662 # include <stdlib.h>
21663 #endif
21664 #include <stdio.h>
21665
21666
21667
21668 typedef wchar_t ac__type_sizeof_;
21669 int
21670 main ()
21671 {
21672 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
21673 test_array [0] = 0
21674
21675 ;
21676 return 0;
21677 }
21678 _ACEOF
21679 rm -f conftest.$ac_objext
21680 if { (ac_try="$ac_compile"
21681 case "(($ac_try" in
21682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21683 *) ac_try_echo=$ac_try;;
21684 esac
21685 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21686 (eval "$ac_compile") 2>conftest.er1
21687 ac_status=$?
21688 grep -v '^ *+' conftest.er1 >conftest.err
21689 rm -f conftest.er1
21690 cat conftest.err >&5
21691 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21692 (exit $ac_status); } && {
21693 test -z "$ac_c_werror_flag" ||
21694 test ! -s conftest.err
21695 } && test -s conftest.$ac_objext; then
21696 ac_lo=$ac_mid; break
21697 else
21698 echo "$as_me: failed program was:" >&5
21699 sed 's/^/| /' conftest.$ac_ext >&5
21700
21701 ac_hi=`expr '(' $ac_mid ')' - 1`
21702 if test $ac_mid -le $ac_hi; then
21703 ac_lo= ac_hi=
21704 break
21705 fi
21706 ac_mid=`expr 2 '*' $ac_mid`
21707 fi
21708
21709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21710 done
21711 else
21712 echo "$as_me: failed program was:" >&5
21713 sed 's/^/| /' conftest.$ac_ext >&5
21714
21715 ac_lo= ac_hi=
21716 fi
21717
21718 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21719 fi
21720
21721 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21722 # Binary search between lo and hi bounds.
21723 while test "x$ac_lo" != "x$ac_hi"; do
21724 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
21725 cat >conftest.$ac_ext <<_ACEOF
21726 /* confdefs.h. */
21727 _ACEOF
21728 cat confdefs.h >>conftest.$ac_ext
21729 cat >>conftest.$ac_ext <<_ACEOF
21730 /* end confdefs.h. */
21731
21732 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21733 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21734 # error "fake wchar_t"
21735 #endif
21736 #ifdef HAVE_WCHAR_H
21737 # ifdef __CYGWIN__
21738 # include <stddef.h>
21739 # endif
21740 # include <wchar.h>
21741 #endif
21742 #ifdef HAVE_STDLIB_H
21743 # include <stdlib.h>
21744 #endif
21745 #include <stdio.h>
21746
21747
21748
21749 typedef wchar_t ac__type_sizeof_;
21750 int
21751 main ()
21752 {
21753 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
21754 test_array [0] = 0
21755
21756 ;
21757 return 0;
21758 }
21759 _ACEOF
21760 rm -f conftest.$ac_objext
21761 if { (ac_try="$ac_compile"
21762 case "(($ac_try" in
21763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21764 *) ac_try_echo=$ac_try;;
21765 esac
21766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21767 (eval "$ac_compile") 2>conftest.er1
21768 ac_status=$?
21769 grep -v '^ *+' conftest.er1 >conftest.err
21770 rm -f conftest.er1
21771 cat conftest.err >&5
21772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21773 (exit $ac_status); } && {
21774 test -z "$ac_c_werror_flag" ||
21775 test ! -s conftest.err
21776 } && test -s conftest.$ac_objext; then
21777 ac_hi=$ac_mid
21778 else
21779 echo "$as_me: failed program was:" >&5
21780 sed 's/^/| /' conftest.$ac_ext >&5
21781
21782 ac_lo=`expr '(' $ac_mid ')' + 1`
21783 fi
21784
21785 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
21786 done
21787 case $ac_lo in
21788 ?*) ac_cv_sizeof_wchar_t=$ac_lo;;
21789 '') if test "$ac_cv_type_wchar_t" = yes; then
21790 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21791 See \`config.log' for more details." >&5
21792 echo "$as_me: error: cannot compute sizeof (wchar_t)
21793 See \`config.log' for more details." >&2;}
21794 { (exit 77); exit 77; }; }
21795 else
21796 ac_cv_sizeof_wchar_t=0
21797 fi ;;
21798 esac
21799 else
21800 cat >conftest.$ac_ext <<_ACEOF
21801 /* confdefs.h. */
21802 _ACEOF
21803 cat confdefs.h >>conftest.$ac_ext
21804 cat >>conftest.$ac_ext <<_ACEOF
21805 /* end confdefs.h. */
21806
21807 /* DJGPP's wchar_t is now a keyword in C++ (still not C though) */
21808 #if defined(__DJGPP__) && !( (__GNUC_MINOR__ >= 8 && __GNUC__ == 2 ) || __GNUC__ >= 3 )
21809 # error "fake wchar_t"
21810 #endif
21811 #ifdef HAVE_WCHAR_H
21812 # ifdef __CYGWIN__
21813 # include <stddef.h>
21814 # endif
21815 # include <wchar.h>
21816 #endif
21817 #ifdef HAVE_STDLIB_H
21818 # include <stdlib.h>
21819 #endif
21820 #include <stdio.h>
21821
21822
21823
21824 typedef wchar_t ac__type_sizeof_;
21825 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
21826 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
21827 #include <stdio.h>
21828 #include <stdlib.h>
21829 int
21830 main ()
21831 {
21832
21833 FILE *f = fopen ("conftest.val", "w");
21834 if (! f)
21835 return 1;
21836 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
21837 {
21838 long int i = longval ();
21839 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21840 return 1;
21841 fprintf (f, "%ld\n", i);
21842 }
21843 else
21844 {
21845 unsigned long int i = ulongval ();
21846 if (i != ((long int) (sizeof (ac__type_sizeof_))))
21847 return 1;
21848 fprintf (f, "%lu\n", i);
21849 }
21850 return ferror (f) || fclose (f) != 0;
21851
21852 ;
21853 return 0;
21854 }
21855 _ACEOF
21856 rm -f conftest$ac_exeext
21857 if { (ac_try="$ac_link"
21858 case "(($ac_try" in
21859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21860 *) ac_try_echo=$ac_try;;
21861 esac
21862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21863 (eval "$ac_link") 2>&5
21864 ac_status=$?
21865 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21866 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
21867 { (case "(($ac_try" in
21868 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21869 *) ac_try_echo=$ac_try;;
21870 esac
21871 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21872 (eval "$ac_try") 2>&5
21873 ac_status=$?
21874 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21875 (exit $ac_status); }; }; then
21876 ac_cv_sizeof_wchar_t=`cat conftest.val`
21877 else
21878 echo "$as_me: program exited with status $ac_status" >&5
21879 echo "$as_me: failed program was:" >&5
21880 sed 's/^/| /' conftest.$ac_ext >&5
21881
21882 ( exit $ac_status )
21883 if test "$ac_cv_type_wchar_t" = yes; then
21884 { { echo "$as_me:$LINENO: error: cannot compute sizeof (wchar_t)
21885 See \`config.log' for more details." >&5
21886 echo "$as_me: error: cannot compute sizeof (wchar_t)
21887 See \`config.log' for more details." >&2;}
21888 { (exit 77); exit 77; }; }
21889 else
21890 ac_cv_sizeof_wchar_t=0
21891 fi
21892 fi
21893 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
21894 fi
21895 rm -f conftest.val
21896 fi
21897 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_wchar_t" >&5
21898 echo "${ECHO_T}$ac_cv_sizeof_wchar_t" >&6; }
21899
21900
21901
21902 cat >>confdefs.h <<_ACEOF
21903 #define SIZEOF_WCHAR_T $ac_cv_sizeof_wchar_t
21904 _ACEOF
21905
21906
21907 if test "$ac_cv_sizeof_wchar_t" != "0"; then
21908 wxUSE_WCHAR_T=yes
21909 else
21910 wxUSE_WCHAR_T=no
21911 fi
21912
21913 { echo "$as_me:$LINENO: checking for va_copy" >&5
21914 echo $ECHO_N "checking for va_copy... $ECHO_C" >&6; }
21915 if test "${wx_cv_func_va_copy+set}" = set; then
21916 echo $ECHO_N "(cached) $ECHO_C" >&6
21917 else
21918
21919 cat >conftest.$ac_ext <<_ACEOF
21920
21921 #include <stdarg.h>
21922 void foo(char *f, ...)
21923 {
21924 va_list ap1, ap2;
21925 va_start(ap1, f);
21926 va_copy(ap2, ap1);
21927 va_end(ap2);
21928 va_end(ap1);
21929 }
21930 int main()
21931 {
21932 foo("hi", 17);
21933 return 0;
21934 }
21935 _ACEOF
21936 rm -f conftest.$ac_objext conftest$ac_exeext
21937 if { (ac_try="$ac_link"
21938 case "(($ac_try" in
21939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
21940 *) ac_try_echo=$ac_try;;
21941 esac
21942 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
21943 (eval "$ac_link") 2>conftest.er1
21944 ac_status=$?
21945 grep -v '^ *+' conftest.er1 >conftest.err
21946 rm -f conftest.er1
21947 cat conftest.err >&5
21948 echo "$as_me:$LINENO: \$? = $ac_status" >&5
21949 (exit $ac_status); } && {
21950 test -z "$ac_c_werror_flag" ||
21951 test ! -s conftest.err
21952 } && test -s conftest$ac_exeext &&
21953 $as_test_x conftest$ac_exeext; then
21954 wx_cv_func_va_copy=yes
21955 else
21956 echo "$as_me: failed program was:" >&5
21957 sed 's/^/| /' conftest.$ac_ext >&5
21958
21959 wx_cv_func_va_copy=no
21960
21961 fi
21962
21963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
21964 conftest$ac_exeext conftest.$ac_ext
21965
21966
21967 fi
21968 { echo "$as_me:$LINENO: result: $wx_cv_func_va_copy" >&5
21969 echo "${ECHO_T}$wx_cv_func_va_copy" >&6; }
21970
21971 if test $wx_cv_func_va_copy = "yes"; then
21972 cat >>confdefs.h <<\_ACEOF
21973 #define HAVE_VA_COPY 1
21974 _ACEOF
21975
21976 else
21977 { echo "$as_me:$LINENO: checking if va_list can be copied by value" >&5
21978 echo $ECHO_N "checking if va_list can be copied by value... $ECHO_C" >&6; }
21979 if test "${wx_cv_type_va_list_lvalue+set}" = set; then
21980 echo $ECHO_N "(cached) $ECHO_C" >&6
21981 else
21982
21983 if test "$cross_compiling" = yes; then
21984 wx_cv_type_va_list_lvalue=yes
21985
21986 else
21987 cat >conftest.$ac_ext <<_ACEOF
21988
21989 #include <stdarg.h>
21990 int foo(char *f, ...)
21991 {
21992 va_list ap1, ap2;
21993 va_start(ap1, f);
21994 ap2 = ap1;
21995 if ( va_arg(ap1, int) != 17 || va_arg(ap2, int) != 17 )
21996 return 1;
21997 va_end(ap2);
21998 va_end(ap1);
21999 return 0;
22000 }
22001 int main()
22002 {
22003 return foo("hi", 17);
22004 }
22005 _ACEOF
22006 rm -f conftest$ac_exeext
22007 if { (ac_try="$ac_link"
22008 case "(($ac_try" in
22009 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22010 *) ac_try_echo=$ac_try;;
22011 esac
22012 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22013 (eval "$ac_link") 2>&5
22014 ac_status=$?
22015 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22016 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22017 { (case "(($ac_try" in
22018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22019 *) ac_try_echo=$ac_try;;
22020 esac
22021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22022 (eval "$ac_try") 2>&5
22023 ac_status=$?
22024 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22025 (exit $ac_status); }; }; then
22026 wx_cv_type_va_list_lvalue=yes
22027 else
22028 echo "$as_me: program exited with status $ac_status" >&5
22029 echo "$as_me: failed program was:" >&5
22030 sed 's/^/| /' conftest.$ac_ext >&5
22031
22032 ( exit $ac_status )
22033 wx_cv_type_va_list_lvalue=no
22034 fi
22035 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22036 fi
22037
22038
22039
22040
22041 fi
22042 { echo "$as_me:$LINENO: result: $wx_cv_type_va_list_lvalue" >&5
22043 echo "${ECHO_T}$wx_cv_type_va_list_lvalue" >&6; }
22044
22045 if test $wx_cv_type_va_list_lvalue != "yes"; then
22046 cat >>confdefs.h <<\_ACEOF
22047 #define VA_LIST_IS_ARRAY 1
22048 _ACEOF
22049
22050 fi
22051 fi
22052
22053 if test "$wxUSE_VARARG_MACROS" = "yes"; then
22054
22055 { echo "$as_me:$LINENO: checking whether the compiler supports variadic macros" >&5
22056 echo $ECHO_N "checking whether the compiler supports variadic macros... $ECHO_C" >&6; }
22057 if test "${wx_cv_have_variadic_macros+set}" = set; then
22058 echo $ECHO_N "(cached) $ECHO_C" >&6
22059 else
22060
22061 ac_ext=cpp
22062 ac_cpp='$CXXCPP $CPPFLAGS'
22063 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22064 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22065 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22066
22067 cat >conftest.$ac_ext <<_ACEOF
22068 /* confdefs.h. */
22069 _ACEOF
22070 cat confdefs.h >>conftest.$ac_ext
22071 cat >>conftest.$ac_ext <<_ACEOF
22072 /* end confdefs.h. */
22073
22074 #include <stdio.h>
22075 #define test(fmt, ...) printf(fmt, __VA_ARGS__)
22076
22077 int
22078 main ()
22079 {
22080
22081 test("%s %d %p", "test", 1, 0);
22082
22083
22084 ;
22085 return 0;
22086 }
22087 _ACEOF
22088 rm -f conftest.$ac_objext
22089 if { (ac_try="$ac_compile"
22090 case "(($ac_try" in
22091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22092 *) ac_try_echo=$ac_try;;
22093 esac
22094 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22095 (eval "$ac_compile") 2>conftest.er1
22096 ac_status=$?
22097 grep -v '^ *+' conftest.er1 >conftest.err
22098 rm -f conftest.er1
22099 cat conftest.err >&5
22100 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22101 (exit $ac_status); } && {
22102 test -z "$ac_cxx_werror_flag" ||
22103 test ! -s conftest.err
22104 } && test -s conftest.$ac_objext; then
22105 wx_cv_have_variadic_macros=yes
22106 else
22107 echo "$as_me: failed program was:" >&5
22108 sed 's/^/| /' conftest.$ac_ext >&5
22109
22110 wx_cv_have_variadic_macros=no
22111
22112 fi
22113
22114 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22115 ac_ext=c
22116 ac_cpp='$CPP $CPPFLAGS'
22117 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22118 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22119 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22120
22121
22122
22123 fi
22124 { echo "$as_me:$LINENO: result: $wx_cv_have_variadic_macros" >&5
22125 echo "${ECHO_T}$wx_cv_have_variadic_macros" >&6; }
22126
22127 if test $wx_cv_have_variadic_macros = "yes"; then
22128 cat >>confdefs.h <<\_ACEOF
22129 #define HAVE_VARIADIC_MACROS 1
22130 _ACEOF
22131
22132 fi
22133
22134 fi
22135 # Check whether --enable-largefile was given.
22136 if test "${enable_largefile+set}" = set; then
22137 enableval=$enable_largefile;
22138 fi
22139
22140 if test "$enable_largefile" != no; then
22141 wx_largefile=no
22142
22143 { echo "$as_me:$LINENO: checking for _FILE_OFFSET_BITS value needed for large files" >&5
22144 echo $ECHO_N "checking for _FILE_OFFSET_BITS value needed for large files... $ECHO_C" >&6; }
22145 if test "${ac_cv_sys_file_offset_bits+set}" = set; then
22146 echo $ECHO_N "(cached) $ECHO_C" >&6
22147 else
22148
22149 cat >conftest.$ac_ext <<_ACEOF
22150 /* confdefs.h. */
22151 _ACEOF
22152 cat confdefs.h >>conftest.$ac_ext
22153 cat >>conftest.$ac_ext <<_ACEOF
22154 /* end confdefs.h. */
22155 #define _FILE_OFFSET_BITS 64
22156 #include <sys/types.h>
22157 int
22158 main ()
22159 {
22160 typedef struct {
22161 unsigned int field: sizeof(off_t) == 8;
22162 } wxlf;
22163
22164 ;
22165 return 0;
22166 }
22167 _ACEOF
22168 rm -f conftest.$ac_objext
22169 if { (ac_try="$ac_compile"
22170 case "(($ac_try" in
22171 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22172 *) ac_try_echo=$ac_try;;
22173 esac
22174 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22175 (eval "$ac_compile") 2>conftest.er1
22176 ac_status=$?
22177 grep -v '^ *+' conftest.er1 >conftest.err
22178 rm -f conftest.er1
22179 cat conftest.err >&5
22180 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22181 (exit $ac_status); } && {
22182 test -z "$ac_c_werror_flag" ||
22183 test ! -s conftest.err
22184 } && test -s conftest.$ac_objext; then
22185 ac_cv_sys_file_offset_bits=64
22186 else
22187 echo "$as_me: failed program was:" >&5
22188 sed 's/^/| /' conftest.$ac_ext >&5
22189
22190 ac_cv_sys_file_offset_bits=no
22191 fi
22192
22193 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22194
22195
22196 fi
22197 { echo "$as_me:$LINENO: result: $ac_cv_sys_file_offset_bits" >&5
22198 echo "${ECHO_T}$ac_cv_sys_file_offset_bits" >&6; }
22199
22200 if test "$ac_cv_sys_file_offset_bits" != no; then
22201 wx_largefile=yes
22202 cat >>confdefs.h <<_ACEOF
22203 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
22204 _ACEOF
22205
22206 fi
22207
22208 if test "x$wx_largefile" != "xyes"; then
22209
22210 { echo "$as_me:$LINENO: checking for _LARGE_FILES value needed for large files" >&5
22211 echo $ECHO_N "checking for _LARGE_FILES value needed for large files... $ECHO_C" >&6; }
22212 if test "${ac_cv_sys_large_files+set}" = set; then
22213 echo $ECHO_N "(cached) $ECHO_C" >&6
22214 else
22215
22216 cat >conftest.$ac_ext <<_ACEOF
22217 /* confdefs.h. */
22218 _ACEOF
22219 cat confdefs.h >>conftest.$ac_ext
22220 cat >>conftest.$ac_ext <<_ACEOF
22221 /* end confdefs.h. */
22222 #define _LARGE_FILES 1
22223 #include <sys/types.h>
22224 int
22225 main ()
22226 {
22227 typedef struct {
22228 unsigned int field: sizeof(off_t) == 8;
22229 } wxlf;
22230
22231 ;
22232 return 0;
22233 }
22234 _ACEOF
22235 rm -f conftest.$ac_objext
22236 if { (ac_try="$ac_compile"
22237 case "(($ac_try" in
22238 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22239 *) ac_try_echo=$ac_try;;
22240 esac
22241 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22242 (eval "$ac_compile") 2>conftest.er1
22243 ac_status=$?
22244 grep -v '^ *+' conftest.er1 >conftest.err
22245 rm -f conftest.er1
22246 cat conftest.err >&5
22247 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22248 (exit $ac_status); } && {
22249 test -z "$ac_c_werror_flag" ||
22250 test ! -s conftest.err
22251 } && test -s conftest.$ac_objext; then
22252 ac_cv_sys_large_files=1
22253 else
22254 echo "$as_me: failed program was:" >&5
22255 sed 's/^/| /' conftest.$ac_ext >&5
22256
22257 ac_cv_sys_large_files=no
22258 fi
22259
22260 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22261
22262
22263 fi
22264 { echo "$as_me:$LINENO: result: $ac_cv_sys_large_files" >&5
22265 echo "${ECHO_T}$ac_cv_sys_large_files" >&6; }
22266
22267 if test "$ac_cv_sys_large_files" != no; then
22268 wx_largefile=yes
22269 cat >>confdefs.h <<_ACEOF
22270 #define _LARGE_FILES $ac_cv_sys_large_files
22271 _ACEOF
22272
22273 fi
22274
22275 fi
22276
22277 { echo "$as_me:$LINENO: checking if large file support is available" >&5
22278 echo $ECHO_N "checking if large file support is available... $ECHO_C" >&6; }
22279 if test "x$wx_largefile" = "xyes"; then
22280 cat >>confdefs.h <<\_ACEOF
22281 #define HAVE_LARGEFILE_SUPPORT 1
22282 _ACEOF
22283
22284 fi
22285 { echo "$as_me:$LINENO: result: $wx_largefile" >&5
22286 echo "${ECHO_T}$wx_largefile" >&6; }
22287 fi
22288
22289
22290 if test "x$wx_largefile" = "xyes"; then
22291 if test "x$ac_cv_sys_file_offset_bits" = "x64"; then
22292 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_FILE_OFFSET_BITS=64 -D_LARGE_FILES"
22293
22294 if test "$USE_HPUX" = 1 -a "$GXX" = "yes"; then
22295 { echo "$as_me:$LINENO: checking if -D__STDC_EXT__ is required" >&5
22296 echo $ECHO_N "checking if -D__STDC_EXT__ is required... $ECHO_C" >&6; }
22297 if test "${wx_cv_STDC_EXT_required+set}" = set; then
22298 echo $ECHO_N "(cached) $ECHO_C" >&6
22299 else
22300
22301 ac_ext=cpp
22302 ac_cpp='$CXXCPP $CPPFLAGS'
22303 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22304 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22305 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22306
22307 cat >conftest.$ac_ext <<_ACEOF
22308 /* confdefs.h. */
22309 _ACEOF
22310 cat confdefs.h >>conftest.$ac_ext
22311 cat >>conftest.$ac_ext <<_ACEOF
22312 /* end confdefs.h. */
22313
22314 int
22315 main ()
22316 {
22317
22318 #ifndef __STDC_EXT__
22319 choke me
22320 #endif
22321
22322 ;
22323 return 0;
22324 }
22325 _ACEOF
22326 rm -f conftest.$ac_objext
22327 if { (ac_try="$ac_compile"
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_compile") 2>conftest.er1
22334 ac_status=$?
22335 grep -v '^ *+' conftest.er1 >conftest.err
22336 rm -f conftest.er1
22337 cat conftest.err >&5
22338 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22339 (exit $ac_status); } && {
22340 test -z "$ac_cxx_werror_flag" ||
22341 test ! -s conftest.err
22342 } && test -s conftest.$ac_objext; then
22343 wx_cv_STDC_EXT_required=no
22344 else
22345 echo "$as_me: failed program was:" >&5
22346 sed 's/^/| /' conftest.$ac_ext >&5
22347
22348 wx_cv_STDC_EXT_required=yes
22349
22350 fi
22351
22352 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22353 ac_ext=c
22354 ac_cpp='$CPP $CPPFLAGS'
22355 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22356 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22357 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22358
22359
22360
22361 fi
22362 { echo "$as_me:$LINENO: result: $wx_cv_STDC_EXT_required" >&5
22363 echo "${ECHO_T}$wx_cv_STDC_EXT_required" >&6; }
22364 if test "x$wx_cv_STDC_EXT_required" = "xyes"; then
22365 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -D__STDC_EXT__"
22366 fi
22367 fi
22368 else
22369 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGE_FILES"
22370 fi
22371 { echo "$as_me:$LINENO: checking for _LARGEFILE_SOURCE value needed for large files" >&5
22372 echo $ECHO_N "checking for _LARGEFILE_SOURCE value needed for large files... $ECHO_C" >&6; }
22373 if test "${ac_cv_sys_largefile_source+set}" = set; then
22374 echo $ECHO_N "(cached) $ECHO_C" >&6
22375 else
22376 while :; do
22377 cat >conftest.$ac_ext <<_ACEOF
22378 /* confdefs.h. */
22379 _ACEOF
22380 cat confdefs.h >>conftest.$ac_ext
22381 cat >>conftest.$ac_ext <<_ACEOF
22382 /* end confdefs.h. */
22383 #include <sys/types.h> /* for off_t */
22384 #include <stdio.h>
22385 int
22386 main ()
22387 {
22388 int (*fp) (FILE *, off_t, int) = fseeko;
22389 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22390 ;
22391 return 0;
22392 }
22393 _ACEOF
22394 rm -f conftest.$ac_objext conftest$ac_exeext
22395 if { (ac_try="$ac_link"
22396 case "(($ac_try" in
22397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22398 *) ac_try_echo=$ac_try;;
22399 esac
22400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22401 (eval "$ac_link") 2>conftest.er1
22402 ac_status=$?
22403 grep -v '^ *+' conftest.er1 >conftest.err
22404 rm -f conftest.er1
22405 cat conftest.err >&5
22406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22407 (exit $ac_status); } && {
22408 test -z "$ac_c_werror_flag" ||
22409 test ! -s conftest.err
22410 } && test -s conftest$ac_exeext &&
22411 $as_test_x conftest$ac_exeext; then
22412 ac_cv_sys_largefile_source=no; break
22413 else
22414 echo "$as_me: failed program was:" >&5
22415 sed 's/^/| /' conftest.$ac_ext >&5
22416
22417
22418 fi
22419
22420 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22421 conftest$ac_exeext conftest.$ac_ext
22422 cat >conftest.$ac_ext <<_ACEOF
22423 /* confdefs.h. */
22424 _ACEOF
22425 cat confdefs.h >>conftest.$ac_ext
22426 cat >>conftest.$ac_ext <<_ACEOF
22427 /* end confdefs.h. */
22428 #define _LARGEFILE_SOURCE 1
22429 #include <sys/types.h> /* for off_t */
22430 #include <stdio.h>
22431 int
22432 main ()
22433 {
22434 int (*fp) (FILE *, off_t, int) = fseeko;
22435 return fseeko (stdin, 0, 0) && fp (stdin, 0, 0);
22436 ;
22437 return 0;
22438 }
22439 _ACEOF
22440 rm -f conftest.$ac_objext conftest$ac_exeext
22441 if { (ac_try="$ac_link"
22442 case "(($ac_try" in
22443 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22444 *) ac_try_echo=$ac_try;;
22445 esac
22446 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22447 (eval "$ac_link") 2>conftest.er1
22448 ac_status=$?
22449 grep -v '^ *+' conftest.er1 >conftest.err
22450 rm -f conftest.er1
22451 cat conftest.err >&5
22452 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22453 (exit $ac_status); } && {
22454 test -z "$ac_c_werror_flag" ||
22455 test ! -s conftest.err
22456 } && test -s conftest$ac_exeext &&
22457 $as_test_x conftest$ac_exeext; then
22458 ac_cv_sys_largefile_source=1; break
22459 else
22460 echo "$as_me: failed program was:" >&5
22461 sed 's/^/| /' conftest.$ac_ext >&5
22462
22463
22464 fi
22465
22466 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
22467 conftest$ac_exeext conftest.$ac_ext
22468 ac_cv_sys_largefile_source=unknown
22469 break
22470 done
22471 fi
22472 { echo "$as_me:$LINENO: result: $ac_cv_sys_largefile_source" >&5
22473 echo "${ECHO_T}$ac_cv_sys_largefile_source" >&6; }
22474 case $ac_cv_sys_largefile_source in #(
22475 no | unknown) ;;
22476 *)
22477 cat >>confdefs.h <<_ACEOF
22478 #define _LARGEFILE_SOURCE $ac_cv_sys_largefile_source
22479 _ACEOF
22480 ;;
22481 esac
22482 rm -f conftest*
22483
22484 # We used to try defining _XOPEN_SOURCE=500 too, to work around a bug
22485 # in glibc 2.1.3, but that breaks too many other things.
22486 # If you want fseeko and ftello with glibc, upgrade to a fixed glibc.
22487 if test $ac_cv_sys_largefile_source != unknown; then
22488
22489 cat >>confdefs.h <<\_ACEOF
22490 #define HAVE_FSEEKO 1
22491 _ACEOF
22492
22493 fi
22494
22495 if test "$ac_cv_sys_largefile_source" != no; then
22496 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_LARGEFILE_SOURCE=$ac_cv_sys_largefile_source"
22497 fi
22498 fi
22499
22500 { echo "$as_me:$LINENO: checking whether byte ordering is bigendian" >&5
22501 echo $ECHO_N "checking whether byte ordering is bigendian... $ECHO_C" >&6; }
22502 if test "${ac_cv_c_bigendian+set}" = set; then
22503 echo $ECHO_N "(cached) $ECHO_C" >&6
22504 else
22505 ac_cv_c_bigendian=unknown
22506 # See if sys/param.h defines the BYTE_ORDER macro.
22507 cat >conftest.$ac_ext <<_ACEOF
22508 /* confdefs.h. */
22509 _ACEOF
22510 cat confdefs.h >>conftest.$ac_ext
22511 cat >>conftest.$ac_ext <<_ACEOF
22512 /* end confdefs.h. */
22513 #include <sys/types.h>
22514 #include <sys/param.h>
22515 int
22516 main ()
22517 {
22518
22519 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
22520 bogus endian macros
22521 #endif
22522 ;
22523 return 0;
22524 }
22525 _ACEOF
22526 rm -f conftest.$ac_objext
22527 if { (ac_try="$ac_compile"
22528 case "(($ac_try" in
22529 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22530 *) ac_try_echo=$ac_try;;
22531 esac
22532 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22533 (eval "$ac_compile") 2>conftest.er1
22534 ac_status=$?
22535 grep -v '^ *+' conftest.er1 >conftest.err
22536 rm -f conftest.er1
22537 cat conftest.err >&5
22538 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22539 (exit $ac_status); } && {
22540 test -z "$ac_c_werror_flag" ||
22541 test ! -s conftest.err
22542 } && test -s conftest.$ac_objext; then
22543 # It does; now see whether it defined to BIG_ENDIAN or not.
22544 cat >conftest.$ac_ext <<_ACEOF
22545 /* confdefs.h. */
22546 _ACEOF
22547 cat confdefs.h >>conftest.$ac_ext
22548 cat >>conftest.$ac_ext <<_ACEOF
22549 /* end confdefs.h. */
22550 #include <sys/types.h>
22551 #include <sys/param.h>
22552 int
22553 main ()
22554 {
22555
22556 #if BYTE_ORDER != BIG_ENDIAN
22557 not big endian
22558 #endif
22559 ;
22560 return 0;
22561 }
22562 _ACEOF
22563 rm -f conftest.$ac_objext
22564 if { (ac_try="$ac_compile"
22565 case "(($ac_try" in
22566 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22567 *) ac_try_echo=$ac_try;;
22568 esac
22569 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22570 (eval "$ac_compile") 2>conftest.er1
22571 ac_status=$?
22572 grep -v '^ *+' conftest.er1 >conftest.err
22573 rm -f conftest.er1
22574 cat conftest.err >&5
22575 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22576 (exit $ac_status); } && {
22577 test -z "$ac_c_werror_flag" ||
22578 test ! -s conftest.err
22579 } && test -s conftest.$ac_objext; then
22580 ac_cv_c_bigendian=yes
22581 else
22582 echo "$as_me: failed program was:" >&5
22583 sed 's/^/| /' conftest.$ac_ext >&5
22584
22585 ac_cv_c_bigendian=no
22586 fi
22587
22588 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22589 else
22590 echo "$as_me: failed program was:" >&5
22591 sed 's/^/| /' conftest.$ac_ext >&5
22592
22593
22594 fi
22595
22596 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22597 if test $ac_cv_c_bigendian = unknown; then
22598 if test "$cross_compiling" = yes; then
22599 ac_cv_c_bigendian=unknown
22600 else
22601 cat >conftest.$ac_ext <<_ACEOF
22602 /* confdefs.h. */
22603 _ACEOF
22604 cat confdefs.h >>conftest.$ac_ext
22605 cat >>conftest.$ac_ext <<_ACEOF
22606 /* end confdefs.h. */
22607 main () {
22608 /* Are we little or big endian? From Harbison&Steele. */
22609 union
22610 {
22611 long l;
22612 char c[sizeof (long)];
22613 } u;
22614 u.l = 1;
22615 exit (u.c[sizeof (long) - 1] == 1);
22616 }
22617 _ACEOF
22618 rm -f conftest$ac_exeext
22619 if { (ac_try="$ac_link"
22620 case "(($ac_try" in
22621 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22622 *) ac_try_echo=$ac_try;;
22623 esac
22624 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22625 (eval "$ac_link") 2>&5
22626 ac_status=$?
22627 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22628 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
22629 { (case "(($ac_try" in
22630 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22631 *) ac_try_echo=$ac_try;;
22632 esac
22633 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22634 (eval "$ac_try") 2>&5
22635 ac_status=$?
22636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22637 (exit $ac_status); }; }; then
22638 ac_cv_c_bigendian=no
22639 else
22640 echo "$as_me: program exited with status $ac_status" >&5
22641 echo "$as_me: failed program was:" >&5
22642 sed 's/^/| /' conftest.$ac_ext >&5
22643
22644 ( exit $ac_status )
22645 ac_cv_c_bigendian=yes
22646 fi
22647 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
22648 fi
22649
22650
22651 fi
22652 fi
22653 { echo "$as_me:$LINENO: result: $ac_cv_c_bigendian" >&5
22654 echo "${ECHO_T}$ac_cv_c_bigendian" >&6; }
22655 if test $ac_cv_c_bigendian = unknown; then
22656 { 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
22657 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;}
22658 fi
22659 if test $ac_cv_c_bigendian = yes; then
22660 cat >>confdefs.h <<\_ACEOF
22661 #define WORDS_BIGENDIAN 1
22662 _ACEOF
22663
22664 fi
22665
22666
22667
22668
22669 ac_ext=cpp
22670 ac_cpp='$CXXCPP $CPPFLAGS'
22671 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22672 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22673 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22674
22675
22676 { echo "$as_me:$LINENO: checking for iostream" >&5
22677 echo $ECHO_N "checking for iostream... $ECHO_C" >&6; }
22678 if test "${ac_cv_header_iostream+set}" = set; then
22679 echo $ECHO_N "(cached) $ECHO_C" >&6
22680 else
22681 cat >conftest.$ac_ext <<_ACEOF
22682 /* confdefs.h. */
22683 _ACEOF
22684 cat confdefs.h >>conftest.$ac_ext
22685 cat >>conftest.$ac_ext <<_ACEOF
22686 /* end confdefs.h. */
22687
22688
22689 #include <iostream>
22690 _ACEOF
22691 rm -f conftest.$ac_objext
22692 if { (ac_try="$ac_compile"
22693 case "(($ac_try" in
22694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22695 *) ac_try_echo=$ac_try;;
22696 esac
22697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22698 (eval "$ac_compile") 2>conftest.er1
22699 ac_status=$?
22700 grep -v '^ *+' conftest.er1 >conftest.err
22701 rm -f conftest.er1
22702 cat conftest.err >&5
22703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22704 (exit $ac_status); } && {
22705 test -z "$ac_cxx_werror_flag" ||
22706 test ! -s conftest.err
22707 } && test -s conftest.$ac_objext; then
22708 ac_cv_header_iostream=yes
22709 else
22710 echo "$as_me: failed program was:" >&5
22711 sed 's/^/| /' conftest.$ac_ext >&5
22712
22713 ac_cv_header_iostream=no
22714 fi
22715
22716 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22717 fi
22718 { echo "$as_me:$LINENO: result: $ac_cv_header_iostream" >&5
22719 echo "${ECHO_T}$ac_cv_header_iostream" >&6; }
22720
22721
22722
22723 if test "$ac_cv_header_iostream" = "yes" ; then
22724 :
22725 else
22726 cat >>confdefs.h <<\_ACEOF
22727 #define wxUSE_IOSTREAMH 1
22728 _ACEOF
22729
22730 fi
22731
22732 ac_ext=c
22733 ac_cpp='$CPP $CPPFLAGS'
22734 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22735 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22736 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22737
22738
22739
22740
22741 { echo "$as_me:$LINENO: checking if C++ compiler supports bool" >&5
22742 echo $ECHO_N "checking if C++ compiler supports bool... $ECHO_C" >&6; }
22743 if test "${wx_cv_cpp_bool+set}" = set; then
22744 echo $ECHO_N "(cached) $ECHO_C" >&6
22745 else
22746
22747
22748 ac_ext=cpp
22749 ac_cpp='$CXXCPP $CPPFLAGS'
22750 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22751 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22752 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22753
22754
22755 cat >conftest.$ac_ext <<_ACEOF
22756 /* confdefs.h. */
22757 _ACEOF
22758 cat confdefs.h >>conftest.$ac_ext
22759 cat >>conftest.$ac_ext <<_ACEOF
22760 /* end confdefs.h. */
22761
22762
22763 int
22764 main ()
22765 {
22766
22767 bool b = true;
22768
22769 return 0;
22770
22771 ;
22772 return 0;
22773 }
22774 _ACEOF
22775 rm -f conftest.$ac_objext
22776 if { (ac_try="$ac_compile"
22777 case "(($ac_try" in
22778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22779 *) ac_try_echo=$ac_try;;
22780 esac
22781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22782 (eval "$ac_compile") 2>conftest.er1
22783 ac_status=$?
22784 grep -v '^ *+' conftest.er1 >conftest.err
22785 rm -f conftest.er1
22786 cat conftest.err >&5
22787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22788 (exit $ac_status); } && {
22789 test -z "$ac_cxx_werror_flag" ||
22790 test ! -s conftest.err
22791 } && test -s conftest.$ac_objext; then
22792
22793 wx_cv_cpp_bool=yes
22794
22795 else
22796 echo "$as_me: failed program was:" >&5
22797 sed 's/^/| /' conftest.$ac_ext >&5
22798
22799
22800 wx_cv_cpp_bool=no
22801
22802
22803 fi
22804
22805 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22806
22807 ac_ext=c
22808 ac_cpp='$CPP $CPPFLAGS'
22809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22812
22813
22814 fi
22815 { echo "$as_me:$LINENO: result: $wx_cv_cpp_bool" >&5
22816 echo "${ECHO_T}$wx_cv_cpp_bool" >&6; }
22817
22818 if test "$wx_cv_cpp_bool" = "yes"; then
22819 cat >>confdefs.h <<\_ACEOF
22820 #define HAVE_BOOL 1
22821 _ACEOF
22822
22823 fi
22824
22825
22826
22827 { echo "$as_me:$LINENO: checking if C++ compiler supports the explicit keyword" >&5
22828 echo $ECHO_N "checking if C++ compiler supports the explicit keyword... $ECHO_C" >&6; }
22829 if test "${wx_cv_explicit+set}" = set; then
22830 echo $ECHO_N "(cached) $ECHO_C" >&6
22831 else
22832
22833
22834 ac_ext=cpp
22835 ac_cpp='$CXXCPP $CPPFLAGS'
22836 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22837 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22838 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22839
22840
22841 cat >conftest.$ac_ext <<_ACEOF
22842 /* confdefs.h. */
22843 _ACEOF
22844 cat confdefs.h >>conftest.$ac_ext
22845 cat >>conftest.$ac_ext <<_ACEOF
22846 /* end confdefs.h. */
22847
22848 class Foo { public: explicit Foo(int) {} };
22849
22850 int
22851 main ()
22852 {
22853
22854 return 0;
22855
22856 ;
22857 return 0;
22858 }
22859 _ACEOF
22860 rm -f conftest.$ac_objext
22861 if { (ac_try="$ac_compile"
22862 case "(($ac_try" in
22863 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22864 *) ac_try_echo=$ac_try;;
22865 esac
22866 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22867 (eval "$ac_compile") 2>conftest.er1
22868 ac_status=$?
22869 grep -v '^ *+' conftest.er1 >conftest.err
22870 rm -f conftest.er1
22871 cat conftest.err >&5
22872 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22873 (exit $ac_status); } && {
22874 test -z "$ac_cxx_werror_flag" ||
22875 test ! -s conftest.err
22876 } && test -s conftest.$ac_objext; then
22877
22878 cat >conftest.$ac_ext <<_ACEOF
22879 /* confdefs.h. */
22880 _ACEOF
22881 cat confdefs.h >>conftest.$ac_ext
22882 cat >>conftest.$ac_ext <<_ACEOF
22883 /* end confdefs.h. */
22884
22885 class Foo { public: explicit Foo(int) {} };
22886 static void TakeFoo(const Foo& foo) { }
22887
22888 int
22889 main ()
22890 {
22891
22892 TakeFoo(17);
22893 return 0;
22894
22895 ;
22896 return 0;
22897 }
22898 _ACEOF
22899 rm -f conftest.$ac_objext
22900 if { (ac_try="$ac_compile"
22901 case "(($ac_try" in
22902 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22903 *) ac_try_echo=$ac_try;;
22904 esac
22905 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22906 (eval "$ac_compile") 2>conftest.er1
22907 ac_status=$?
22908 grep -v '^ *+' conftest.er1 >conftest.err
22909 rm -f conftest.er1
22910 cat conftest.err >&5
22911 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22912 (exit $ac_status); } && {
22913 test -z "$ac_cxx_werror_flag" ||
22914 test ! -s conftest.err
22915 } && test -s conftest.$ac_objext; then
22916 wx_cv_explicit=no
22917 else
22918 echo "$as_me: failed program was:" >&5
22919 sed 's/^/| /' conftest.$ac_ext >&5
22920
22921 wx_cv_explicit=yes
22922
22923 fi
22924
22925 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22926
22927 else
22928 echo "$as_me: failed program was:" >&5
22929 sed 's/^/| /' conftest.$ac_ext >&5
22930
22931 wx_cv_explicit=no
22932
22933 fi
22934
22935 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
22936
22937 ac_ext=c
22938 ac_cpp='$CPP $CPPFLAGS'
22939 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22940 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22941 ac_compiler_gnu=$ac_cv_c_compiler_gnu
22942
22943
22944 fi
22945 { echo "$as_me:$LINENO: result: $wx_cv_explicit" >&5
22946 echo "${ECHO_T}$wx_cv_explicit" >&6; }
22947
22948 if test "$wx_cv_explicit" = "yes"; then
22949 cat >>confdefs.h <<\_ACEOF
22950 #define HAVE_EXPLICIT 1
22951 _ACEOF
22952
22953 fi
22954
22955
22956 { echo "$as_me:$LINENO: checking whether the compiler supports const_cast<>" >&5
22957 echo $ECHO_N "checking whether the compiler supports const_cast<>... $ECHO_C" >&6; }
22958 if test "${ac_cv_cxx_const_cast+set}" = set; then
22959 echo $ECHO_N "(cached) $ECHO_C" >&6
22960 else
22961
22962 ac_ext=cpp
22963 ac_cpp='$CXXCPP $CPPFLAGS'
22964 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
22965 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
22966 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
22967
22968 cat >conftest.$ac_ext <<_ACEOF
22969 /* confdefs.h. */
22970 _ACEOF
22971 cat confdefs.h >>conftest.$ac_ext
22972 cat >>conftest.$ac_ext <<_ACEOF
22973 /* end confdefs.h. */
22974
22975 int
22976 main ()
22977 {
22978 int x = 0;const int& y = x;int& z = const_cast<int&>(y);return z;
22979 ;
22980 return 0;
22981 }
22982 _ACEOF
22983 rm -f conftest.$ac_objext
22984 if { (ac_try="$ac_compile"
22985 case "(($ac_try" in
22986 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
22987 *) ac_try_echo=$ac_try;;
22988 esac
22989 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
22990 (eval "$ac_compile") 2>conftest.er1
22991 ac_status=$?
22992 grep -v '^ *+' conftest.er1 >conftest.err
22993 rm -f conftest.er1
22994 cat conftest.err >&5
22995 echo "$as_me:$LINENO: \$? = $ac_status" >&5
22996 (exit $ac_status); } && {
22997 test -z "$ac_cxx_werror_flag" ||
22998 test ! -s conftest.err
22999 } && test -s conftest.$ac_objext; then
23000 ac_cv_cxx_const_cast=yes
23001 else
23002 echo "$as_me: failed program was:" >&5
23003 sed 's/^/| /' conftest.$ac_ext >&5
23004
23005 ac_cv_cxx_const_cast=no
23006 fi
23007
23008 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23009 ac_ext=c
23010 ac_cpp='$CPP $CPPFLAGS'
23011 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23012 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23013 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23014
23015
23016 fi
23017 { echo "$as_me:$LINENO: result: $ac_cv_cxx_const_cast" >&5
23018 echo "${ECHO_T}$ac_cv_cxx_const_cast" >&6; }
23019 if test "$ac_cv_cxx_const_cast" = yes; then
23020
23021 cat >>confdefs.h <<\_ACEOF
23022 #define HAVE_CONST_CAST
23023 _ACEOF
23024
23025 fi
23026
23027 { echo "$as_me:$LINENO: checking whether the compiler supports reinterpret_cast<>" >&5
23028 echo $ECHO_N "checking whether the compiler supports reinterpret_cast<>... $ECHO_C" >&6; }
23029 if test "${ac_cv_cxx_reinterpret_cast+set}" = set; then
23030 echo $ECHO_N "(cached) $ECHO_C" >&6
23031 else
23032
23033 ac_ext=cpp
23034 ac_cpp='$CXXCPP $CPPFLAGS'
23035 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23036 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23037 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23038
23039 cat >conftest.$ac_ext <<_ACEOF
23040 /* confdefs.h. */
23041 _ACEOF
23042 cat confdefs.h >>conftest.$ac_ext
23043 cat >>conftest.$ac_ext <<_ACEOF
23044 /* end confdefs.h. */
23045 #include <typeinfo>
23046 class Base { public : Base () {} virtual void f () = 0;};
23047 class Derived : public Base { public : Derived () {} virtual void f () {} };
23048 class Unrelated { public : Unrelated () {} };
23049 int g (Unrelated&) { return 0; }
23050 int
23051 main ()
23052 {
23053
23054 Derived d;Base& b=d;Unrelated& e=reinterpret_cast<Unrelated&>(b);return g(e);
23055 ;
23056 return 0;
23057 }
23058 _ACEOF
23059 rm -f conftest.$ac_objext
23060 if { (ac_try="$ac_compile"
23061 case "(($ac_try" in
23062 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23063 *) ac_try_echo=$ac_try;;
23064 esac
23065 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23066 (eval "$ac_compile") 2>conftest.er1
23067 ac_status=$?
23068 grep -v '^ *+' conftest.er1 >conftest.err
23069 rm -f conftest.er1
23070 cat conftest.err >&5
23071 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23072 (exit $ac_status); } && {
23073 test -z "$ac_cxx_werror_flag" ||
23074 test ! -s conftest.err
23075 } && test -s conftest.$ac_objext; then
23076 ac_cv_cxx_reinterpret_cast=yes
23077 else
23078 echo "$as_me: failed program was:" >&5
23079 sed 's/^/| /' conftest.$ac_ext >&5
23080
23081 ac_cv_cxx_reinterpret_cast=no
23082 fi
23083
23084 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23085 ac_ext=c
23086 ac_cpp='$CPP $CPPFLAGS'
23087 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23088 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23089 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23090
23091
23092 fi
23093 { echo "$as_me:$LINENO: result: $ac_cv_cxx_reinterpret_cast" >&5
23094 echo "${ECHO_T}$ac_cv_cxx_reinterpret_cast" >&6; }
23095 if test "$ac_cv_cxx_reinterpret_cast" = yes; then
23096
23097 cat >>confdefs.h <<\_ACEOF
23098 #define HAVE_REINTERPRET_CAST
23099 _ACEOF
23100
23101 fi
23102
23103 { echo "$as_me:$LINENO: checking whether the compiler supports static_cast<>" >&5
23104 echo $ECHO_N "checking whether the compiler supports static_cast<>... $ECHO_C" >&6; }
23105 if test "${ac_cv_cxx_static_cast+set}" = set; then
23106 echo $ECHO_N "(cached) $ECHO_C" >&6
23107 else
23108
23109 ac_ext=cpp
23110 ac_cpp='$CXXCPP $CPPFLAGS'
23111 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23112 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23113 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23114
23115 cat >conftest.$ac_ext <<_ACEOF
23116 /* confdefs.h. */
23117 _ACEOF
23118 cat confdefs.h >>conftest.$ac_ext
23119 cat >>conftest.$ac_ext <<_ACEOF
23120 /* end confdefs.h. */
23121 #include <typeinfo>
23122 class Base { public : Base () {} virtual void f () = 0; };
23123 class Derived : public Base { public : Derived () {} virtual void f () {} };
23124 int g (Derived&) { return 0; }
23125 int
23126 main ()
23127 {
23128
23129 Derived d; Base& b = d; Derived& s = static_cast<Derived&> (b); return g (s);
23130 ;
23131 return 0;
23132 }
23133 _ACEOF
23134 rm -f conftest.$ac_objext
23135 if { (ac_try="$ac_compile"
23136 case "(($ac_try" in
23137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23138 *) ac_try_echo=$ac_try;;
23139 esac
23140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23141 (eval "$ac_compile") 2>conftest.er1
23142 ac_status=$?
23143 grep -v '^ *+' conftest.er1 >conftest.err
23144 rm -f conftest.er1
23145 cat conftest.err >&5
23146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23147 (exit $ac_status); } && {
23148 test -z "$ac_cxx_werror_flag" ||
23149 test ! -s conftest.err
23150 } && test -s conftest.$ac_objext; then
23151 ac_cv_cxx_static_cast=yes
23152 else
23153 echo "$as_me: failed program was:" >&5
23154 sed 's/^/| /' conftest.$ac_ext >&5
23155
23156 ac_cv_cxx_static_cast=no
23157 fi
23158
23159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23160 ac_ext=c
23161 ac_cpp='$CPP $CPPFLAGS'
23162 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23163 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23164 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23165
23166
23167 fi
23168 { echo "$as_me:$LINENO: result: $ac_cv_cxx_static_cast" >&5
23169 echo "${ECHO_T}$ac_cv_cxx_static_cast" >&6; }
23170 if test "$ac_cv_cxx_static_cast" = yes; then
23171
23172 cat >>confdefs.h <<\_ACEOF
23173 #define HAVE_STATIC_CAST
23174 _ACEOF
23175
23176 fi
23177
23178
23179 if test "x$SUNCXX" = xyes; then
23180 CXXFLAGS="-features=tmplife $CXXFLAGS"
23181 fi
23182
23183 if test "x$SUNCC" = xyes; then
23184 CFLAGS="-erroff=E_NO_EXPLICIT_TYPE_GIVEN $CFLAGS"
23185 fi
23186
23187 if test "x$SGICC" = "xyes"; then
23188 CFLAGS="-woff 3970 $CFLAGS"
23189 fi
23190 if test "x$SGICXX" = "xyes"; then
23191 CXXFLAGS="-woff 3970 $CXXFLAGS"
23192 fi
23193
23194 if test "x$HPCC" = "xyes"; then
23195 CFLAGS="+W 2011,2450 $CFLAGS"
23196 fi
23197 if test "x$HPCXX" = "xyes"; then
23198 CXXFLAGS="+W 2340 $CXXFLAGS"
23199 fi
23200
23201 if test "x$COMPAQCXX" = "xyes"; then
23202 CXXFLAGS="-w0 -msg_disable basclsnondto,unrimpret,intconlosbit"
23203 fi
23204
23205 ac_ext=cpp
23206 ac_cpp='$CXXCPP $CPPFLAGS'
23207 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23208 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23209 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
23210
23211
23212 if test "$wxUSE_STD_STRING" = "yes" -o "$wxUSE_STL" = "yes"; then
23213 if test "$wxUSE_UNICODE" = "yes"; then
23214 std_string="std::wstring"
23215 char_type="wchar_t"
23216 else
23217 std_string="std::string"
23218 char_type="char"
23219 fi
23220
23221 { echo "$as_me:$LINENO: checking for $std_string in <string>" >&5
23222 echo $ECHO_N "checking for $std_string in <string>... $ECHO_C" >&6; }
23223 if test "${wx_cv_class_stdstring+set}" = set; then
23224 echo $ECHO_N "(cached) $ECHO_C" >&6
23225 else
23226
23227 cat >conftest.$ac_ext <<_ACEOF
23228 /* confdefs.h. */
23229 _ACEOF
23230 cat confdefs.h >>conftest.$ac_ext
23231 cat >>conftest.$ac_ext <<_ACEOF
23232 /* end confdefs.h. */
23233 #include <string>
23234 int
23235 main ()
23236 {
23237 $std_string foo;
23238 ;
23239 return 0;
23240 }
23241 _ACEOF
23242 rm -f conftest.$ac_objext
23243 if { (ac_try="$ac_compile"
23244 case "(($ac_try" in
23245 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23246 *) ac_try_echo=$ac_try;;
23247 esac
23248 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23249 (eval "$ac_compile") 2>conftest.er1
23250 ac_status=$?
23251 grep -v '^ *+' conftest.er1 >conftest.err
23252 rm -f conftest.er1
23253 cat conftest.err >&5
23254 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23255 (exit $ac_status); } && {
23256 test -z "$ac_cxx_werror_flag" ||
23257 test ! -s conftest.err
23258 } && test -s conftest.$ac_objext; then
23259 wx_cv_class_stdstring=yes
23260 else
23261 echo "$as_me: failed program was:" >&5
23262 sed 's/^/| /' conftest.$ac_ext >&5
23263
23264 wx_cv_class_stdstring=no
23265
23266 fi
23267
23268 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23269
23270
23271 fi
23272 { echo "$as_me:$LINENO: result: $wx_cv_class_stdstring" >&5
23273 echo "${ECHO_T}$wx_cv_class_stdstring" >&6; }
23274
23275 if test "$wx_cv_class_stdstring" = yes; then
23276 if test "$wxUSE_UNICODE" = "yes"; then
23277 cat >>confdefs.h <<\_ACEOF
23278 #define HAVE_STD_WSTRING 1
23279 _ACEOF
23280
23281 fi
23282 else
23283 { echo "$as_me:$LINENO: checking if std::basic_string<$char_type> works" >&5
23284 echo $ECHO_N "checking if std::basic_string<$char_type> works... $ECHO_C" >&6; }
23285 if test "${wx_cv_class_stdbasicstring+set}" = set; then
23286 echo $ECHO_N "(cached) $ECHO_C" >&6
23287 else
23288
23289 cat >conftest.$ac_ext <<_ACEOF
23290 /* confdefs.h. */
23291 _ACEOF
23292 cat confdefs.h >>conftest.$ac_ext
23293 cat >>conftest.$ac_ext <<_ACEOF
23294 /* end confdefs.h. */
23295
23296 #ifdef HAVE_WCHAR_H
23297 # ifdef __CYGWIN__
23298 # include <stddef.h>
23299 # endif
23300 # include <wchar.h>
23301 #endif
23302 #ifdef HAVE_STDLIB_H
23303 # include <stdlib.h>
23304 #endif
23305 #include <stdio.h>
23306 #include <string>
23307
23308 int
23309 main ()
23310 {
23311 std::basic_string<$char_type> foo;
23312 const $char_type* dummy = foo.c_str();
23313 ;
23314 return 0;
23315 }
23316 _ACEOF
23317 rm -f conftest.$ac_objext
23318 if { (ac_try="$ac_compile"
23319 case "(($ac_try" in
23320 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23321 *) ac_try_echo=$ac_try;;
23322 esac
23323 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23324 (eval "$ac_compile") 2>conftest.er1
23325 ac_status=$?
23326 grep -v '^ *+' conftest.er1 >conftest.err
23327 rm -f conftest.er1
23328 cat conftest.err >&5
23329 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23330 (exit $ac_status); } && {
23331 test -z "$ac_cxx_werror_flag" ||
23332 test ! -s conftest.err
23333 } && test -s conftest.$ac_objext; then
23334 wx_cv_class_stdbasicstring=yes
23335 else
23336 echo "$as_me: failed program was:" >&5
23337 sed 's/^/| /' conftest.$ac_ext >&5
23338
23339 wx_cv_class_stdbasicstring=no
23340
23341 fi
23342
23343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23344
23345
23346 fi
23347 { echo "$as_me:$LINENO: result: $wx_cv_class_stdbasicstring" >&5
23348 echo "${ECHO_T}$wx_cv_class_stdbasicstring" >&6; }
23349
23350 if test "$wx_cv_class_stdbasicstring" != yes; then
23351 if test "$wxUSE_STL" = "yes"; then
23352 { { echo "$as_me:$LINENO: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&5
23353 echo "$as_me: error: Can't use --enable-stl without $std_string or std::basic_string<$char_type>" >&2;}
23354 { (exit 1); exit 1; }; }
23355 elif grep wxUSE_STD_STRING $wx_arg_cache_file >/dev/null; then
23356 { { echo "$as_me:$LINENO: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&5
23357 echo "$as_me: error: Can't use --enable-std_string without $std_string or std::basic_string<$char_type>" >&2;}
23358 { (exit 1); exit 1; }; }
23359 else
23360 { echo "$as_me:$LINENO: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&5
23361 echo "$as_me: WARNING: No $std_string or std::basic_string<$char_type>, switching to --disable-std_string" >&2;}
23362 wxUSE_STD_STRING=no
23363 fi
23364 fi
23365 fi
23366 fi
23367
23368 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
23369 { echo "$as_me:$LINENO: checking for std::istream" >&5
23370 echo $ECHO_N "checking for std::istream... $ECHO_C" >&6; }
23371 if test "${ac_cv_type_std__istream+set}" = set; then
23372 echo $ECHO_N "(cached) $ECHO_C" >&6
23373 else
23374 cat >conftest.$ac_ext <<_ACEOF
23375 /* confdefs.h. */
23376 _ACEOF
23377 cat confdefs.h >>conftest.$ac_ext
23378 cat >>conftest.$ac_ext <<_ACEOF
23379 /* end confdefs.h. */
23380 #include <iostream>
23381
23382 typedef std::istream ac__type_new_;
23383 int
23384 main ()
23385 {
23386 if ((ac__type_new_ *) 0)
23387 return 0;
23388 if (sizeof (ac__type_new_))
23389 return 0;
23390 ;
23391 return 0;
23392 }
23393 _ACEOF
23394 rm -f conftest.$ac_objext
23395 if { (ac_try="$ac_compile"
23396 case "(($ac_try" in
23397 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23398 *) ac_try_echo=$ac_try;;
23399 esac
23400 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23401 (eval "$ac_compile") 2>conftest.er1
23402 ac_status=$?
23403 grep -v '^ *+' conftest.er1 >conftest.err
23404 rm -f conftest.er1
23405 cat conftest.err >&5
23406 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23407 (exit $ac_status); } && {
23408 test -z "$ac_cxx_werror_flag" ||
23409 test ! -s conftest.err
23410 } && test -s conftest.$ac_objext; then
23411 ac_cv_type_std__istream=yes
23412 else
23413 echo "$as_me: failed program was:" >&5
23414 sed 's/^/| /' conftest.$ac_ext >&5
23415
23416 ac_cv_type_std__istream=no
23417 fi
23418
23419 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23420 fi
23421 { echo "$as_me:$LINENO: result: $ac_cv_type_std__istream" >&5
23422 echo "${ECHO_T}$ac_cv_type_std__istream" >&6; }
23423 if test $ac_cv_type_std__istream = yes; then
23424
23425 cat >>confdefs.h <<_ACEOF
23426 #define HAVE_STD__ISTREAM 1
23427 _ACEOF
23428
23429
23430 else
23431 wxUSE_STD_IOSTREAM=no
23432 fi
23433 { echo "$as_me:$LINENO: checking for std::ostream" >&5
23434 echo $ECHO_N "checking for std::ostream... $ECHO_C" >&6; }
23435 if test "${ac_cv_type_std__ostream+set}" = set; then
23436 echo $ECHO_N "(cached) $ECHO_C" >&6
23437 else
23438 cat >conftest.$ac_ext <<_ACEOF
23439 /* confdefs.h. */
23440 _ACEOF
23441 cat confdefs.h >>conftest.$ac_ext
23442 cat >>conftest.$ac_ext <<_ACEOF
23443 /* end confdefs.h. */
23444 #include <iostream>
23445
23446 typedef std::ostream ac__type_new_;
23447 int
23448 main ()
23449 {
23450 if ((ac__type_new_ *) 0)
23451 return 0;
23452 if (sizeof (ac__type_new_))
23453 return 0;
23454 ;
23455 return 0;
23456 }
23457 _ACEOF
23458 rm -f conftest.$ac_objext
23459 if { (ac_try="$ac_compile"
23460 case "(($ac_try" in
23461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23462 *) ac_try_echo=$ac_try;;
23463 esac
23464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23465 (eval "$ac_compile") 2>conftest.er1
23466 ac_status=$?
23467 grep -v '^ *+' conftest.er1 >conftest.err
23468 rm -f conftest.er1
23469 cat conftest.err >&5
23470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23471 (exit $ac_status); } && {
23472 test -z "$ac_cxx_werror_flag" ||
23473 test ! -s conftest.err
23474 } && test -s conftest.$ac_objext; then
23475 ac_cv_type_std__ostream=yes
23476 else
23477 echo "$as_me: failed program was:" >&5
23478 sed 's/^/| /' conftest.$ac_ext >&5
23479
23480 ac_cv_type_std__ostream=no
23481 fi
23482
23483 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23484 fi
23485 { echo "$as_me:$LINENO: result: $ac_cv_type_std__ostream" >&5
23486 echo "${ECHO_T}$ac_cv_type_std__ostream" >&6; }
23487 if test $ac_cv_type_std__ostream = yes; then
23488
23489 cat >>confdefs.h <<_ACEOF
23490 #define HAVE_STD__OSTREAM 1
23491 _ACEOF
23492
23493
23494 else
23495 wxUSE_STD_IOSTREAM=no
23496 fi
23497
23498
23499 if test "$wxUSE_STD_IOSTREAM" != "yes"; then
23500 if grep wxUSE_STD_IOSTREAM $wx_arg_cache_file >/dev/null; then
23501 { { echo "$as_me:$LINENO: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&5
23502 echo "$as_me: error: Can't use --enable-std_iostreams without std::istream and std::ostream" >&2;}
23503 { (exit 1); exit 1; }; }
23504 else
23505 { echo "$as_me:$LINENO: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&5
23506 echo "$as_me: WARNING: No std::iostreams, switching to --disable-std_iostreams" >&2;}
23507 fi
23508 fi
23509 fi
23510
23511 if test "$wxUSE_STL" = "yes"; then
23512 { echo "$as_me:$LINENO: checking for basic STL functionality" >&5
23513 echo $ECHO_N "checking for basic STL functionality... $ECHO_C" >&6; }
23514 if test "${wx_cv_lib_stl+set}" = set; then
23515 echo $ECHO_N "(cached) $ECHO_C" >&6
23516 else
23517 cat >conftest.$ac_ext <<_ACEOF
23518 /* confdefs.h. */
23519 _ACEOF
23520 cat confdefs.h >>conftest.$ac_ext
23521 cat >>conftest.$ac_ext <<_ACEOF
23522 /* end confdefs.h. */
23523 #include <string>
23524 #include <functional>
23525 #include <algorithm>
23526 #include <vector>
23527 #include <list>
23528 int
23529 main ()
23530 {
23531 std::vector<int> moo;
23532 std::list<int> foo;
23533 std::vector<int>::iterator it =
23534 std::find_if(moo.begin(), moo.end(),
23535 std::bind2nd(std::less<int>(), 3));
23536 ;
23537 return 0;
23538 }
23539 _ACEOF
23540 rm -f conftest.$ac_objext
23541 if { (ac_try="$ac_compile"
23542 case "(($ac_try" in
23543 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23544 *) ac_try_echo=$ac_try;;
23545 esac
23546 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23547 (eval "$ac_compile") 2>conftest.er1
23548 ac_status=$?
23549 grep -v '^ *+' conftest.er1 >conftest.err
23550 rm -f conftest.er1
23551 cat conftest.err >&5
23552 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23553 (exit $ac_status); } && {
23554 test -z "$ac_cxx_werror_flag" ||
23555 test ! -s conftest.err
23556 } && test -s conftest.$ac_objext; then
23557 wx_cv_lib_stl=yes
23558 else
23559 echo "$as_me: failed program was:" >&5
23560 sed 's/^/| /' conftest.$ac_ext >&5
23561
23562 wx_cv_lib_stl=no
23563
23564 fi
23565
23566 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23567
23568 fi
23569 { echo "$as_me:$LINENO: result: $wx_cv_lib_stl" >&5
23570 echo "${ECHO_T}$wx_cv_lib_stl" >&6; }
23571
23572 if test "$wx_cv_lib_stl" != yes; then
23573 { { echo "$as_me:$LINENO: error: Can't use --enable-stl as basic STL functionality is missing" >&5
23574 echo "$as_me: error: Can't use --enable-stl as basic STL functionality is missing" >&2;}
23575 { (exit 1); exit 1; }; }
23576 fi
23577
23578 { echo "$as_me:$LINENO: checking for compliant std::string::compare" >&5
23579 echo $ECHO_N "checking for compliant std::string::compare... $ECHO_C" >&6; }
23580 if test "${wx_cv_func_stdstring_compare+set}" = set; then
23581 echo $ECHO_N "(cached) $ECHO_C" >&6
23582 else
23583 cat >conftest.$ac_ext <<_ACEOF
23584 /* confdefs.h. */
23585 _ACEOF
23586 cat confdefs.h >>conftest.$ac_ext
23587 cat >>conftest.$ac_ext <<_ACEOF
23588 /* end confdefs.h. */
23589 #include <string>
23590 int
23591 main ()
23592 {
23593 std::string foo, bar;
23594 foo.compare(bar);
23595 foo.compare(1, 1, bar);
23596 foo.compare(1, 1, bar, 1, 1);
23597 foo.compare("");
23598 foo.compare(1, 1, "");
23599 foo.compare(1, 1, "", 2);
23600 ;
23601 return 0;
23602 }
23603 _ACEOF
23604 rm -f conftest.$ac_objext
23605 if { (ac_try="$ac_compile"
23606 case "(($ac_try" in
23607 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23608 *) ac_try_echo=$ac_try;;
23609 esac
23610 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23611 (eval "$ac_compile") 2>conftest.er1
23612 ac_status=$?
23613 grep -v '^ *+' conftest.er1 >conftest.err
23614 rm -f conftest.er1
23615 cat conftest.err >&5
23616 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23617 (exit $ac_status); } && {
23618 test -z "$ac_cxx_werror_flag" ||
23619 test ! -s conftest.err
23620 } && test -s conftest.$ac_objext; then
23621 wx_cv_func_stdstring_compare=yes
23622 else
23623 echo "$as_me: failed program was:" >&5
23624 sed 's/^/| /' conftest.$ac_ext >&5
23625
23626 wx_cv_func_stdstring_compare=no
23627
23628 fi
23629
23630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23631
23632 fi
23633 { echo "$as_me:$LINENO: result: $wx_cv_func_stdstring_compare" >&5
23634 echo "${ECHO_T}$wx_cv_func_stdstring_compare" >&6; }
23635
23636 if test "$wx_cv_func_stdstring_compare" = yes; then
23637 cat >>confdefs.h <<\_ACEOF
23638 #define HAVE_STD_STRING_COMPARE 1
23639 _ACEOF
23640
23641 fi
23642
23643 { echo "$as_me:$LINENO: checking for hash_map" >&5
23644 echo $ECHO_N "checking for hash_map... $ECHO_C" >&6; }
23645 if test "${ac_cv_header_hash_map+set}" = set; then
23646 echo $ECHO_N "(cached) $ECHO_C" >&6
23647 else
23648 cat >conftest.$ac_ext <<_ACEOF
23649 /* confdefs.h. */
23650 _ACEOF
23651 cat confdefs.h >>conftest.$ac_ext
23652 cat >>conftest.$ac_ext <<_ACEOF
23653 /* end confdefs.h. */
23654
23655
23656
23657 #include <hash_map>
23658 _ACEOF
23659 rm -f conftest.$ac_objext
23660 if { (ac_try="$ac_compile"
23661 case "(($ac_try" in
23662 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23663 *) ac_try_echo=$ac_try;;
23664 esac
23665 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23666 (eval "$ac_compile") 2>conftest.er1
23667 ac_status=$?
23668 grep -v '^ *+' conftest.er1 >conftest.err
23669 rm -f conftest.er1
23670 cat conftest.err >&5
23671 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23672 (exit $ac_status); } && {
23673 test -z "$ac_cxx_werror_flag" ||
23674 test ! -s conftest.err
23675 } && test -s conftest.$ac_objext; then
23676 ac_cv_header_hash_map=yes
23677 else
23678 echo "$as_me: failed program was:" >&5
23679 sed 's/^/| /' conftest.$ac_ext >&5
23680
23681 ac_cv_header_hash_map=no
23682 fi
23683
23684 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23685 fi
23686 { echo "$as_me:$LINENO: result: $ac_cv_header_hash_map" >&5
23687 echo "${ECHO_T}$ac_cv_header_hash_map" >&6; }
23688 if test $ac_cv_header_hash_map = yes; then
23689 { echo "$as_me:$LINENO: checking for standard hash_map and hash_set" >&5
23690 echo $ECHO_N "checking for standard hash_map and hash_set... $ECHO_C" >&6; }
23691 if test "${wx_cv_class_stdhashmapset+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 <hash_map>
23701 #include <hash_set>
23702 int
23703 main ()
23704 {
23705 std::hash_map<double*, char*, std::hash<double*>, std::equal_to<double*> > test1;
23706 std::hash_set<char*, std::hash<char*>, std::equal_to<char*> > test2;
23707 ;
23708 return 0;
23709 }
23710 _ACEOF
23711 rm -f conftest.$ac_objext
23712 if { (ac_try="$ac_compile"
23713 case "(($ac_try" in
23714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23715 *) ac_try_echo=$ac_try;;
23716 esac
23717 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23718 (eval "$ac_compile") 2>conftest.er1
23719 ac_status=$?
23720 grep -v '^ *+' conftest.er1 >conftest.err
23721 rm -f conftest.er1
23722 cat conftest.err >&5
23723 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23724 (exit $ac_status); } && {
23725 test -z "$ac_cxx_werror_flag" ||
23726 test ! -s conftest.err
23727 } && test -s conftest.$ac_objext; then
23728 wx_cv_class_stdhashmapset=yes
23729 else
23730 echo "$as_me: failed program was:" >&5
23731 sed 's/^/| /' conftest.$ac_ext >&5
23732
23733 wx_cv_class_stdhashmapset=no
23734 fi
23735
23736 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23737
23738
23739 fi
23740 { echo "$as_me:$LINENO: result: $wx_cv_class_stdhashmapset" >&5
23741 echo "${ECHO_T}$wx_cv_class_stdhashmapset" >&6; }
23742 fi
23743
23744
23745
23746 if test "$wx_cv_class_stdhashmapset" = yes; then
23747 cat >>confdefs.h <<\_ACEOF
23748 #define HAVE_HASH_MAP 1
23749 _ACEOF
23750
23751 cat >>confdefs.h <<\_ACEOF
23752 #define HAVE_STD_HASH_MAP 1
23753 _ACEOF
23754
23755 fi
23756
23757 { echo "$as_me:$LINENO: checking for ext/hash_map" >&5
23758 echo $ECHO_N "checking for ext/hash_map... $ECHO_C" >&6; }
23759 if test "${ac_cv_header_ext_hash_map+set}" = set; then
23760 echo $ECHO_N "(cached) $ECHO_C" >&6
23761 else
23762 cat >conftest.$ac_ext <<_ACEOF
23763 /* confdefs.h. */
23764 _ACEOF
23765 cat confdefs.h >>conftest.$ac_ext
23766 cat >>conftest.$ac_ext <<_ACEOF
23767 /* end confdefs.h. */
23768
23769
23770
23771 #include <ext/hash_map>
23772 _ACEOF
23773 rm -f conftest.$ac_objext
23774 if { (ac_try="$ac_compile"
23775 case "(($ac_try" in
23776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23777 *) ac_try_echo=$ac_try;;
23778 esac
23779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23780 (eval "$ac_compile") 2>conftest.er1
23781 ac_status=$?
23782 grep -v '^ *+' conftest.er1 >conftest.err
23783 rm -f conftest.er1
23784 cat conftest.err >&5
23785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23786 (exit $ac_status); } && {
23787 test -z "$ac_cxx_werror_flag" ||
23788 test ! -s conftest.err
23789 } && test -s conftest.$ac_objext; then
23790 ac_cv_header_ext_hash_map=yes
23791 else
23792 echo "$as_me: failed program was:" >&5
23793 sed 's/^/| /' conftest.$ac_ext >&5
23794
23795 ac_cv_header_ext_hash_map=no
23796 fi
23797
23798 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23799 fi
23800 { echo "$as_me:$LINENO: result: $ac_cv_header_ext_hash_map" >&5
23801 echo "${ECHO_T}$ac_cv_header_ext_hash_map" >&6; }
23802 if test $ac_cv_header_ext_hash_map = yes; then
23803 { echo "$as_me:$LINENO: checking for GNU hash_map and hash_set" >&5
23804 echo $ECHO_N "checking for GNU hash_map and hash_set... $ECHO_C" >&6; }
23805 if test "${wx_cv_class_gnuhashmapset+set}" = set; then
23806 echo $ECHO_N "(cached) $ECHO_C" >&6
23807 else
23808 cat >conftest.$ac_ext <<_ACEOF
23809 /* confdefs.h. */
23810 _ACEOF
23811 cat confdefs.h >>conftest.$ac_ext
23812 cat >>conftest.$ac_ext <<_ACEOF
23813 /* end confdefs.h. */
23814 #include <ext/hash_map>
23815 #include <ext/hash_set>
23816 int
23817 main ()
23818 {
23819 __gnu_cxx::hash_map<double*, char*, __gnu_cxx::hash<double*>, std::equal_to<double*> > test1;
23820 __gnu_cxx::hash_set<char*, __gnu_cxx::hash<char*>, std::equal_to<char*> > test2;
23821 ;
23822 return 0;
23823 }
23824 _ACEOF
23825 rm -f conftest.$ac_objext
23826 if { (ac_try="$ac_compile"
23827 case "(($ac_try" in
23828 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23829 *) ac_try_echo=$ac_try;;
23830 esac
23831 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23832 (eval "$ac_compile") 2>conftest.er1
23833 ac_status=$?
23834 grep -v '^ *+' conftest.er1 >conftest.err
23835 rm -f conftest.er1
23836 cat conftest.err >&5
23837 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23838 (exit $ac_status); } && {
23839 test -z "$ac_cxx_werror_flag" ||
23840 test ! -s conftest.err
23841 } && test -s conftest.$ac_objext; then
23842 wx_cv_class_gnuhashmapset=yes
23843 else
23844 echo "$as_me: failed program was:" >&5
23845 sed 's/^/| /' conftest.$ac_ext >&5
23846
23847 wx_cv_class_gnuhashmapset=no
23848 fi
23849
23850 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
23851
23852
23853 fi
23854 { echo "$as_me:$LINENO: result: $wx_cv_class_gnuhashmapset" >&5
23855 echo "${ECHO_T}$wx_cv_class_gnuhashmapset" >&6; }
23856 fi
23857
23858
23859
23860 if test "$wx_cv_class_gnuhashmapset" = yes; then
23861 cat >>confdefs.h <<\_ACEOF
23862 #define HAVE_EXT_HASH_MAP 1
23863 _ACEOF
23864
23865 cat >>confdefs.h <<\_ACEOF
23866 #define HAVE_GNU_CXX_HASH_MAP 1
23867 _ACEOF
23868
23869 fi
23870 fi
23871
23872 ac_ext=c
23873 ac_cpp='$CPP $CPPFLAGS'
23874 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
23875 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
23876 ac_compiler_gnu=$ac_cv_c_compiler_gnu
23877
23878
23879
23880 SEARCH_INCLUDE="\
23881 /usr/local/include \
23882 \
23883 /usr/Motif-2.1/include \
23884 /usr/Motif-1.2/include \
23885 /usr/include/Motif1.2 \
23886 \
23887 /usr/dt/include \
23888 /usr/openwin/include \
23889 \
23890 /usr/include/Xm \
23891 \
23892 /usr/X11R6/include \
23893 /usr/X11R6.4/include \
23894 /usr/X11R5/include \
23895 /usr/X11R4/include \
23896 \
23897 /usr/include/X11R6 \
23898 /usr/include/X11R5 \
23899 /usr/include/X11R4 \
23900 \
23901 /usr/local/X11R6/include \
23902 /usr/local/X11R5/include \
23903 /usr/local/X11R4/include \
23904 \
23905 /usr/local/include/X11R6 \
23906 /usr/local/include/X11R5 \
23907 /usr/local/include/X11R4 \
23908 \
23909 /usr/X11/include \
23910 /usr/include/X11 \
23911 /usr/local/X11/include \
23912 /usr/local/include/X11 \
23913 \
23914 /usr/XFree86/include/X11 \
23915 /usr/pkg/include \
23916 \
23917 /usr/openwin/share/include"
23918
23919 { echo "$as_me:$LINENO: checking for libraries directory" >&5
23920 echo $ECHO_N "checking for libraries directory... $ECHO_C" >&6; }
23921
23922 case "${host}" in
23923 *-*-irix6* )
23924 if test "${wx_cv_std_libpath+set}" = set; then
23925 echo $ECHO_N "(cached) $ECHO_C" >&6
23926 else
23927
23928 for d in /usr/lib /usr/lib32 /usr/lib/64 /usr/lib64; do
23929 for e in a so sl dylib dll.a; do
23930 libc="$d/libc.$e"
23931 if test -f $libc; then
23932 save_LIBS="$LIBS"
23933 LIBS="$libc"
23934 cat >conftest.$ac_ext <<_ACEOF
23935 int main() { return 0; }
23936 _ACEOF
23937 rm -f conftest.$ac_objext conftest$ac_exeext
23938 if { (ac_try="$ac_link"
23939 case "(($ac_try" in
23940 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
23941 *) ac_try_echo=$ac_try;;
23942 esac
23943 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
23944 (eval "$ac_link") 2>conftest.er1
23945 ac_status=$?
23946 grep -v '^ *+' conftest.er1 >conftest.err
23947 rm -f conftest.er1
23948 cat conftest.err >&5
23949 echo "$as_me:$LINENO: \$? = $ac_status" >&5
23950 (exit $ac_status); } && {
23951 test -z "$ac_c_werror_flag" ||
23952 test ! -s conftest.err
23953 } && test -s conftest$ac_exeext &&
23954 $as_test_x conftest$ac_exeext; then
23955 wx_cv_std_libpath=`echo $d | sed s@/usr/@@`
23956 else
23957 echo "$as_me: failed program was:" >&5
23958 sed 's/^/| /' conftest.$ac_ext >&5
23959
23960
23961 fi
23962
23963 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
23964 conftest$ac_exeext conftest.$ac_ext
23965 LIBS="$save_LIBS"
23966 if test "x$wx_cv_std_libpath" != "x"; then
23967 break 2
23968 fi
23969 fi
23970 done
23971 done
23972 if test "x$wx_cv_std_libpath" = "x"; then
23973 wx_cv_std_libpath="lib"
23974 fi
23975
23976
23977 fi
23978
23979 ;;
23980
23981 *-*-solaris2* )
23982 if test "$ac_cv_sizeof_void_p" = 8 -a -d "/usr/lib/64"; then
23983 wx_cv_std_libpath="lib/64"
23984 else
23985 wx_cv_std_libpath="lib"
23986 fi
23987 ;;
23988
23989 *-*-linux* )
23990 if test "$ac_cv_sizeof_void_p" = 8 -a \
23991 -d "/usr/lib64" -a ! -h "/usr/lib64"; then
23992 wx_cv_std_libpath="lib64"
23993 else
23994 wx_cv_std_libpath="lib"
23995 fi
23996 ;;
23997
23998 *)
23999 wx_cv_std_libpath="lib";
24000 ;;
24001 esac
24002
24003 { echo "$as_me:$LINENO: result: $wx_cv_std_libpath" >&5
24004 echo "${ECHO_T}$wx_cv_std_libpath" >&6; }
24005
24006 SEARCH_LIB="`echo "$SEARCH_INCLUDE" | sed s@include@$wx_cv_std_libpath@g` /usr/$wx_cv_std_libpath"
24007
24008 if test "$build" != "$host" -a "$GCC" = yes; then
24009 if cross_root=`$CC -print-prog-name=ld 2>/dev/null`; then
24010 cross_root=`dirname $cross_root`
24011 cross_root=`dirname $cross_root`
24012
24013 SEARCH_LIB=`for x in $SEARCH_LIB; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24014 SEARCH_INCLUDE=`for x in $SEARCH_INCLUDE; do echo $x; done | sed -ne "s|^/usr|$cross_root|p"`
24015 SEARCH_INCLUDE="$SEARCH_INCLUDE $cross_root/include"
24016
24017 if test -z "$PKG_CONFIG_PATH"; then
24018 PKG_CONFIG_PATH="$cross_root/local/lib/pkgconfig:$cross_root/lib/pkgconfig"
24019 export PKG_CONFIG_PATH
24020 fi
24021
24022 if test -z "$x_includes" -o "$x_includes" = NONE; then
24023
24024 ac_find_includes=
24025 for ac_dir in $SEARCH_INCLUDE /usr/include;
24026 do
24027 if test -f "$ac_dir/X11/Intrinsic.h"; then
24028 ac_find_includes=$ac_dir
24029 break
24030 fi
24031 done
24032
24033 x_includes=$ac_find_includes
24034 fi
24035 if test -z "$x_libraries" -o "$x_libraries" = NONE; then
24036
24037 ac_find_libraries=
24038 for ac_dir in $SEARCH_LIB;
24039 do
24040 for ac_extension in a so sl dylib dll.a; do
24041 if test -f "$ac_dir/libXt.$ac_extension"; then
24042 ac_find_libraries=$ac_dir
24043 break 2
24044 fi
24045 done
24046 done
24047
24048 x_libraries=$ac_find_libraries
24049 fi
24050 fi
24051 fi
24052
24053
24054 cat >confcache <<\_ACEOF
24055 # This file is a shell script that caches the results of configure
24056 # tests run on this system so they can be shared between configure
24057 # scripts and configure runs, see configure's option --config-cache.
24058 # It is not useful on other systems. If it contains results you don't
24059 # want to keep, you may remove or edit it.
24060 #
24061 # config.status only pays attention to the cache file if you give it
24062 # the --recheck option to rerun configure.
24063 #
24064 # `ac_cv_env_foo' variables (set or unset) will be overridden when
24065 # loading this file, other *unset* `ac_cv_foo' will be assigned the
24066 # following values.
24067
24068 _ACEOF
24069
24070 # The following way of writing the cache mishandles newlines in values,
24071 # but we know of no workaround that is simple, portable, and efficient.
24072 # So, we kill variables containing newlines.
24073 # Ultrix sh set writes to stderr and can't be redirected directly,
24074 # and sets the high bit in the cache file unless we assign to the vars.
24075 (
24076 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
24077 eval ac_val=\$$ac_var
24078 case $ac_val in #(
24079 *${as_nl}*)
24080 case $ac_var in #(
24081 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
24082 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
24083 esac
24084 case $ac_var in #(
24085 _ | IFS | as_nl) ;; #(
24086 *) $as_unset $ac_var ;;
24087 esac ;;
24088 esac
24089 done
24090
24091 (set) 2>&1 |
24092 case $as_nl`(ac_space=' '; set) 2>&1` in #(
24093 *${as_nl}ac_space=\ *)
24094 # `set' does not quote correctly, so add quotes (double-quote
24095 # substitution turns \\\\ into \\, and sed turns \\ into \).
24096 sed -n \
24097 "s/'/'\\\\''/g;
24098 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
24099 ;; #(
24100 *)
24101 # `set' quotes correctly as required by POSIX, so do not add quotes.
24102 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
24103 ;;
24104 esac |
24105 sort
24106 ) |
24107 sed '
24108 /^ac_cv_env_/b end
24109 t clear
24110 :clear
24111 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
24112 t end
24113 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
24114 :end' >>confcache
24115 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
24116 if test -w "$cache_file"; then
24117 test "x$cache_file" != "x/dev/null" &&
24118 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
24119 echo "$as_me: updating cache $cache_file" >&6;}
24120 cat confcache >$cache_file
24121 else
24122 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
24123 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
24124 fi
24125 fi
24126 rm -f confcache
24127
24128 if test "$USE_LINUX" = 1 -o "$USE_GNU" = 1; then
24129 { echo "$as_me:$LINENO: checking for glibc 2.1 or later" >&5
24130 echo $ECHO_N "checking for glibc 2.1 or later... $ECHO_C" >&6; }
24131 if test "${wx_cv_lib_glibc21+set}" = set; then
24132 echo $ECHO_N "(cached) $ECHO_C" >&6
24133 else
24134
24135 cat >conftest.$ac_ext <<_ACEOF
24136 /* confdefs.h. */
24137 _ACEOF
24138 cat confdefs.h >>conftest.$ac_ext
24139 cat >>conftest.$ac_ext <<_ACEOF
24140 /* end confdefs.h. */
24141 #include <features.h>
24142 int
24143 main ()
24144 {
24145
24146 #if (__GLIBC__ < 2) || (__GLIBC_MINOR__ < 1)
24147 not glibc 2.1
24148 #endif
24149
24150 ;
24151 return 0;
24152 }
24153 _ACEOF
24154 rm -f conftest.$ac_objext
24155 if { (ac_try="$ac_compile"
24156 case "(($ac_try" in
24157 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24158 *) ac_try_echo=$ac_try;;
24159 esac
24160 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24161 (eval "$ac_compile") 2>conftest.er1
24162 ac_status=$?
24163 grep -v '^ *+' conftest.er1 >conftest.err
24164 rm -f conftest.er1
24165 cat conftest.err >&5
24166 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24167 (exit $ac_status); } && {
24168 test -z "$ac_c_werror_flag" ||
24169 test ! -s conftest.err
24170 } && test -s conftest.$ac_objext; then
24171
24172 wx_cv_lib_glibc21=yes
24173
24174 else
24175 echo "$as_me: failed program was:" >&5
24176 sed 's/^/| /' conftest.$ac_ext >&5
24177
24178
24179 wx_cv_lib_glibc21=no
24180
24181
24182 fi
24183
24184 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24185
24186 fi
24187 { echo "$as_me:$LINENO: result: $wx_cv_lib_glibc21" >&5
24188 echo "${ECHO_T}$wx_cv_lib_glibc21" >&6; }
24189 if test "$wx_cv_lib_glibc21" = "yes"; then
24190 cat >>confdefs.h <<\_ACEOF
24191 #define wxHAVE_GLIBC2 1
24192 _ACEOF
24193
24194 fi
24195 fi
24196
24197 if test "x$wx_cv_lib_glibc21" = "xyes"; then
24198 if test "$wxUSE_UNICODE" = "yes" -o "$wxUSE_THREADS" = "yes"; then
24199 cat >>confdefs.h <<\_ACEOF
24200 #define _GNU_SOURCE 1
24201 _ACEOF
24202
24203 fi
24204 fi
24205
24206 have_cos=0
24207 have_floor=0
24208
24209 for ac_func in cos
24210 do
24211 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24212 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24213 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24214 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24215 echo $ECHO_N "(cached) $ECHO_C" >&6
24216 else
24217 cat >conftest.$ac_ext <<_ACEOF
24218 /* confdefs.h. */
24219 _ACEOF
24220 cat confdefs.h >>conftest.$ac_ext
24221 cat >>conftest.$ac_ext <<_ACEOF
24222 /* end confdefs.h. */
24223 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24224 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24225 #define $ac_func innocuous_$ac_func
24226
24227 /* System header to define __stub macros and hopefully few prototypes,
24228 which can conflict with char $ac_func (); below.
24229 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24230 <limits.h> exists even on freestanding compilers. */
24231
24232 #ifdef __STDC__
24233 # include <limits.h>
24234 #else
24235 # include <assert.h>
24236 #endif
24237
24238 #undef $ac_func
24239
24240 /* Override any GCC internal prototype to avoid an error.
24241 Use char because int might match the return type of a GCC
24242 builtin and then its argument prototype would still apply. */
24243 #ifdef __cplusplus
24244 extern "C"
24245 #endif
24246 char $ac_func ();
24247 /* The GNU C library defines this for functions which it implements
24248 to always fail with ENOSYS. Some functions are actually named
24249 something starting with __ and the normal name is an alias. */
24250 #if defined __stub_$ac_func || defined __stub___$ac_func
24251 choke me
24252 #endif
24253
24254 int
24255 main ()
24256 {
24257 return $ac_func ();
24258 ;
24259 return 0;
24260 }
24261 _ACEOF
24262 rm -f conftest.$ac_objext conftest$ac_exeext
24263 if { (ac_try="$ac_link"
24264 case "(($ac_try" in
24265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24266 *) ac_try_echo=$ac_try;;
24267 esac
24268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24269 (eval "$ac_link") 2>conftest.er1
24270 ac_status=$?
24271 grep -v '^ *+' conftest.er1 >conftest.err
24272 rm -f conftest.er1
24273 cat conftest.err >&5
24274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24275 (exit $ac_status); } && {
24276 test -z "$ac_c_werror_flag" ||
24277 test ! -s conftest.err
24278 } && test -s conftest$ac_exeext &&
24279 $as_test_x conftest$ac_exeext; then
24280 eval "$as_ac_var=yes"
24281 else
24282 echo "$as_me: failed program was:" >&5
24283 sed 's/^/| /' conftest.$ac_ext >&5
24284
24285 eval "$as_ac_var=no"
24286 fi
24287
24288 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24289 conftest$ac_exeext conftest.$ac_ext
24290 fi
24291 ac_res=`eval echo '${'$as_ac_var'}'`
24292 { echo "$as_me:$LINENO: result: $ac_res" >&5
24293 echo "${ECHO_T}$ac_res" >&6; }
24294 if test `eval echo '${'$as_ac_var'}'` = yes; then
24295 cat >>confdefs.h <<_ACEOF
24296 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24297 _ACEOF
24298 have_cos=1
24299 fi
24300 done
24301
24302
24303 for ac_func in floor
24304 do
24305 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24306 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24307 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24308 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24309 echo $ECHO_N "(cached) $ECHO_C" >&6
24310 else
24311 cat >conftest.$ac_ext <<_ACEOF
24312 /* confdefs.h. */
24313 _ACEOF
24314 cat confdefs.h >>conftest.$ac_ext
24315 cat >>conftest.$ac_ext <<_ACEOF
24316 /* end confdefs.h. */
24317 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24318 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24319 #define $ac_func innocuous_$ac_func
24320
24321 /* System header to define __stub macros and hopefully few prototypes,
24322 which can conflict with char $ac_func (); below.
24323 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24324 <limits.h> exists even on freestanding compilers. */
24325
24326 #ifdef __STDC__
24327 # include <limits.h>
24328 #else
24329 # include <assert.h>
24330 #endif
24331
24332 #undef $ac_func
24333
24334 /* Override any GCC internal prototype to avoid an error.
24335 Use char because int might match the return type of a GCC
24336 builtin and then its argument prototype would still apply. */
24337 #ifdef __cplusplus
24338 extern "C"
24339 #endif
24340 char $ac_func ();
24341 /* The GNU C library defines this for functions which it implements
24342 to always fail with ENOSYS. Some functions are actually named
24343 something starting with __ and the normal name is an alias. */
24344 #if defined __stub_$ac_func || defined __stub___$ac_func
24345 choke me
24346 #endif
24347
24348 int
24349 main ()
24350 {
24351 return $ac_func ();
24352 ;
24353 return 0;
24354 }
24355 _ACEOF
24356 rm -f conftest.$ac_objext conftest$ac_exeext
24357 if { (ac_try="$ac_link"
24358 case "(($ac_try" in
24359 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24360 *) ac_try_echo=$ac_try;;
24361 esac
24362 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24363 (eval "$ac_link") 2>conftest.er1
24364 ac_status=$?
24365 grep -v '^ *+' conftest.er1 >conftest.err
24366 rm -f conftest.er1
24367 cat conftest.err >&5
24368 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24369 (exit $ac_status); } && {
24370 test -z "$ac_c_werror_flag" ||
24371 test ! -s conftest.err
24372 } && test -s conftest$ac_exeext &&
24373 $as_test_x conftest$ac_exeext; then
24374 eval "$as_ac_var=yes"
24375 else
24376 echo "$as_me: failed program was:" >&5
24377 sed 's/^/| /' conftest.$ac_ext >&5
24378
24379 eval "$as_ac_var=no"
24380 fi
24381
24382 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24383 conftest$ac_exeext conftest.$ac_ext
24384 fi
24385 ac_res=`eval echo '${'$as_ac_var'}'`
24386 { echo "$as_me:$LINENO: result: $ac_res" >&5
24387 echo "${ECHO_T}$ac_res" >&6; }
24388 if test `eval echo '${'$as_ac_var'}'` = yes; then
24389 cat >>confdefs.h <<_ACEOF
24390 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24391 _ACEOF
24392 have_floor=1
24393 fi
24394 done
24395
24396 { echo "$as_me:$LINENO: checking if floating point functions link without -lm" >&5
24397 echo $ECHO_N "checking if floating point functions link without -lm... $ECHO_C" >&6; }
24398 if test "$have_cos" = 1 -a "$have_floor" = 1; then
24399 { echo "$as_me:$LINENO: result: yes" >&5
24400 echo "${ECHO_T}yes" >&6; }
24401 else
24402 { echo "$as_me:$LINENO: result: no" >&5
24403 echo "${ECHO_T}no" >&6; }
24404 LIBS="$LIBS -lm"
24405 # use different functions to avoid configure caching
24406 have_sin=0
24407 have_ceil=0
24408
24409 for ac_func in sin
24410 do
24411 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24412 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24413 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24414 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24415 echo $ECHO_N "(cached) $ECHO_C" >&6
24416 else
24417 cat >conftest.$ac_ext <<_ACEOF
24418 /* confdefs.h. */
24419 _ACEOF
24420 cat confdefs.h >>conftest.$ac_ext
24421 cat >>conftest.$ac_ext <<_ACEOF
24422 /* end confdefs.h. */
24423 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24424 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24425 #define $ac_func innocuous_$ac_func
24426
24427 /* System header to define __stub macros and hopefully few prototypes,
24428 which can conflict with char $ac_func (); below.
24429 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24430 <limits.h> exists even on freestanding compilers. */
24431
24432 #ifdef __STDC__
24433 # include <limits.h>
24434 #else
24435 # include <assert.h>
24436 #endif
24437
24438 #undef $ac_func
24439
24440 /* Override any GCC internal prototype to avoid an error.
24441 Use char because int might match the return type of a GCC
24442 builtin and then its argument prototype would still apply. */
24443 #ifdef __cplusplus
24444 extern "C"
24445 #endif
24446 char $ac_func ();
24447 /* The GNU C library defines this for functions which it implements
24448 to always fail with ENOSYS. Some functions are actually named
24449 something starting with __ and the normal name is an alias. */
24450 #if defined __stub_$ac_func || defined __stub___$ac_func
24451 choke me
24452 #endif
24453
24454 int
24455 main ()
24456 {
24457 return $ac_func ();
24458 ;
24459 return 0;
24460 }
24461 _ACEOF
24462 rm -f conftest.$ac_objext conftest$ac_exeext
24463 if { (ac_try="$ac_link"
24464 case "(($ac_try" in
24465 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24466 *) ac_try_echo=$ac_try;;
24467 esac
24468 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24469 (eval "$ac_link") 2>conftest.er1
24470 ac_status=$?
24471 grep -v '^ *+' conftest.er1 >conftest.err
24472 rm -f conftest.er1
24473 cat conftest.err >&5
24474 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24475 (exit $ac_status); } && {
24476 test -z "$ac_c_werror_flag" ||
24477 test ! -s conftest.err
24478 } && test -s conftest$ac_exeext &&
24479 $as_test_x conftest$ac_exeext; then
24480 eval "$as_ac_var=yes"
24481 else
24482 echo "$as_me: failed program was:" >&5
24483 sed 's/^/| /' conftest.$ac_ext >&5
24484
24485 eval "$as_ac_var=no"
24486 fi
24487
24488 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24489 conftest$ac_exeext conftest.$ac_ext
24490 fi
24491 ac_res=`eval echo '${'$as_ac_var'}'`
24492 { echo "$as_me:$LINENO: result: $ac_res" >&5
24493 echo "${ECHO_T}$ac_res" >&6; }
24494 if test `eval echo '${'$as_ac_var'}'` = yes; then
24495 cat >>confdefs.h <<_ACEOF
24496 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24497 _ACEOF
24498 have_sin=1
24499 fi
24500 done
24501
24502
24503 for ac_func in ceil
24504 do
24505 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24506 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24507 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24508 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24509 echo $ECHO_N "(cached) $ECHO_C" >&6
24510 else
24511 cat >conftest.$ac_ext <<_ACEOF
24512 /* confdefs.h. */
24513 _ACEOF
24514 cat confdefs.h >>conftest.$ac_ext
24515 cat >>conftest.$ac_ext <<_ACEOF
24516 /* end confdefs.h. */
24517 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24518 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24519 #define $ac_func innocuous_$ac_func
24520
24521 /* System header to define __stub macros and hopefully few prototypes,
24522 which can conflict with char $ac_func (); below.
24523 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24524 <limits.h> exists even on freestanding compilers. */
24525
24526 #ifdef __STDC__
24527 # include <limits.h>
24528 #else
24529 # include <assert.h>
24530 #endif
24531
24532 #undef $ac_func
24533
24534 /* Override any GCC internal prototype to avoid an error.
24535 Use char because int might match the return type of a GCC
24536 builtin and then its argument prototype would still apply. */
24537 #ifdef __cplusplus
24538 extern "C"
24539 #endif
24540 char $ac_func ();
24541 /* The GNU C library defines this for functions which it implements
24542 to always fail with ENOSYS. Some functions are actually named
24543 something starting with __ and the normal name is an alias. */
24544 #if defined __stub_$ac_func || defined __stub___$ac_func
24545 choke me
24546 #endif
24547
24548 int
24549 main ()
24550 {
24551 return $ac_func ();
24552 ;
24553 return 0;
24554 }
24555 _ACEOF
24556 rm -f conftest.$ac_objext conftest$ac_exeext
24557 if { (ac_try="$ac_link"
24558 case "(($ac_try" in
24559 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24560 *) ac_try_echo=$ac_try;;
24561 esac
24562 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24563 (eval "$ac_link") 2>conftest.er1
24564 ac_status=$?
24565 grep -v '^ *+' conftest.er1 >conftest.err
24566 rm -f conftest.er1
24567 cat conftest.err >&5
24568 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24569 (exit $ac_status); } && {
24570 test -z "$ac_c_werror_flag" ||
24571 test ! -s conftest.err
24572 } && test -s conftest$ac_exeext &&
24573 $as_test_x conftest$ac_exeext; then
24574 eval "$as_ac_var=yes"
24575 else
24576 echo "$as_me: failed program was:" >&5
24577 sed 's/^/| /' conftest.$ac_ext >&5
24578
24579 eval "$as_ac_var=no"
24580 fi
24581
24582 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24583 conftest$ac_exeext conftest.$ac_ext
24584 fi
24585 ac_res=`eval echo '${'$as_ac_var'}'`
24586 { echo "$as_me:$LINENO: result: $ac_res" >&5
24587 echo "${ECHO_T}$ac_res" >&6; }
24588 if test `eval echo '${'$as_ac_var'}'` = yes; then
24589 cat >>confdefs.h <<_ACEOF
24590 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24591 _ACEOF
24592 have_ceil=1
24593 fi
24594 done
24595
24596 { echo "$as_me:$LINENO: checking if floating point functions link with -lm" >&5
24597 echo $ECHO_N "checking if floating point functions link with -lm... $ECHO_C" >&6; }
24598 if test "$have_sin" = 1 -a "$have_ceil" = 1; then
24599 { echo "$as_me:$LINENO: result: yes" >&5
24600 echo "${ECHO_T}yes" >&6; }
24601 else
24602 { echo "$as_me:$LINENO: result: no" >&5
24603 echo "${ECHO_T}no" >&6; }
24604 # not sure we should warn the user, crash, etc.
24605 fi
24606 fi
24607
24608 ac_ext=cpp
24609 ac_cpp='$CXXCPP $CPPFLAGS'
24610 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24611 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24612 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
24613
24614 if test "wxUSE_UNICODE" = "yes"; then
24615
24616 for wx_func in wcstoull
24617 do
24618 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24619 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24620 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24621 echo $ECHO_N "(cached) $ECHO_C" >&6
24622 else
24623
24624 cat >conftest.$ac_ext <<_ACEOF
24625
24626 /* confdefs.h. */
24627 _ACEOF
24628 cat confdefs.h >>conftest.$ac_ext
24629 cat >>conftest.$ac_ext <<_ACEOF
24630 /* end confdefs.h. */
24631
24632
24633 $ac_includes_default
24634
24635 int
24636 main ()
24637 {
24638
24639 #ifndef $wx_func
24640 &$wx_func;
24641 #endif
24642
24643
24644 ;
24645 return 0;
24646 }
24647
24648 _ACEOF
24649 rm -f conftest.$ac_objext conftest$ac_exeext
24650 if { (ac_try="$ac_link"
24651 case "(($ac_try" in
24652 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24653 *) ac_try_echo=$ac_try;;
24654 esac
24655 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24656 (eval "$ac_link") 2>conftest.er1
24657 ac_status=$?
24658 grep -v '^ *+' conftest.er1 >conftest.err
24659 rm -f conftest.er1
24660 cat conftest.err >&5
24661 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24662 (exit $ac_status); } && {
24663 test -z "$ac_cxx_werror_flag" ||
24664 test ! -s conftest.err
24665 } && test -s conftest$ac_exeext &&
24666 $as_test_x conftest$ac_exeext; then
24667 eval wx_cv_func_$wx_func=yes
24668 else
24669 echo "$as_me: failed program was:" >&5
24670 sed 's/^/| /' conftest.$ac_ext >&5
24671
24672 eval wx_cv_func_$wx_func=no
24673 fi
24674
24675 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24676 conftest$ac_exeext conftest.$ac_ext
24677
24678 fi
24679 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24680 { echo "$as_me:$LINENO: result: $ac_res" >&5
24681 echo "${ECHO_T}$ac_res" >&6; }
24682
24683 if eval test \$wx_cv_func_$wx_func = yes
24684 then
24685 cat >>confdefs.h <<_ACEOF
24686 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24687 _ACEOF
24688
24689
24690 else
24691 :
24692
24693 fi
24694 done
24695
24696 else
24697
24698 for wx_func in strtoull
24699 do
24700 { echo "$as_me:$LINENO: checking for $wx_func" >&5
24701 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
24702 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
24703 echo $ECHO_N "(cached) $ECHO_C" >&6
24704 else
24705
24706 cat >conftest.$ac_ext <<_ACEOF
24707
24708 /* confdefs.h. */
24709 _ACEOF
24710 cat confdefs.h >>conftest.$ac_ext
24711 cat >>conftest.$ac_ext <<_ACEOF
24712 /* end confdefs.h. */
24713
24714
24715 $ac_includes_default
24716
24717 int
24718 main ()
24719 {
24720
24721 #ifndef $wx_func
24722 &$wx_func;
24723 #endif
24724
24725
24726 ;
24727 return 0;
24728 }
24729
24730 _ACEOF
24731 rm -f conftest.$ac_objext conftest$ac_exeext
24732 if { (ac_try="$ac_link"
24733 case "(($ac_try" in
24734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24735 *) ac_try_echo=$ac_try;;
24736 esac
24737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24738 (eval "$ac_link") 2>conftest.er1
24739 ac_status=$?
24740 grep -v '^ *+' conftest.er1 >conftest.err
24741 rm -f conftest.er1
24742 cat conftest.err >&5
24743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24744 (exit $ac_status); } && {
24745 test -z "$ac_cxx_werror_flag" ||
24746 test ! -s conftest.err
24747 } && test -s conftest$ac_exeext &&
24748 $as_test_x conftest$ac_exeext; then
24749 eval wx_cv_func_$wx_func=yes
24750 else
24751 echo "$as_me: failed program was:" >&5
24752 sed 's/^/| /' conftest.$ac_ext >&5
24753
24754 eval wx_cv_func_$wx_func=no
24755 fi
24756
24757 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24758 conftest$ac_exeext conftest.$ac_ext
24759
24760 fi
24761 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
24762 { echo "$as_me:$LINENO: result: $ac_res" >&5
24763 echo "${ECHO_T}$ac_res" >&6; }
24764
24765 if eval test \$wx_cv_func_$wx_func = yes
24766 then
24767 cat >>confdefs.h <<_ACEOF
24768 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
24769 _ACEOF
24770
24771
24772 else
24773 :
24774
24775 fi
24776 done
24777
24778 fi
24779 ac_ext=c
24780 ac_cpp='$CPP $CPPFLAGS'
24781 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
24782 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
24783 ac_compiler_gnu=$ac_cv_c_compiler_gnu
24784
24785
24786
24787
24788 if test "$wxUSE_REGEX" != "no"; then
24789 cat >>confdefs.h <<\_ACEOF
24790 #define wxUSE_REGEX 1
24791 _ACEOF
24792
24793
24794 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_REGEX" = "yes"; then
24795 { echo "$as_me:$LINENO: WARNING: Defaulting to the the builtin regex library for Unicode build." >&5
24796 echo "$as_me: WARNING: Defaulting to the the builtin regex library for Unicode build." >&2;}
24797 wxUSE_REGEX=builtin
24798 fi
24799
24800 if test "$wxUSE_REGEX" = "sys" -o "$wxUSE_REGEX" = "yes" ; then
24801 { echo "$as_me:$LINENO: checking for regex.h" >&5
24802 echo $ECHO_N "checking for regex.h... $ECHO_C" >&6; }
24803 if test "${ac_cv_header_regex_h+set}" = set; then
24804 echo $ECHO_N "(cached) $ECHO_C" >&6
24805 else
24806 cat >conftest.$ac_ext <<_ACEOF
24807 /* confdefs.h. */
24808 _ACEOF
24809 cat confdefs.h >>conftest.$ac_ext
24810 cat >>conftest.$ac_ext <<_ACEOF
24811 /* end confdefs.h. */
24812
24813
24814 #include <regex.h>
24815 _ACEOF
24816 rm -f conftest.$ac_objext
24817 if { (ac_try="$ac_compile"
24818 case "(($ac_try" in
24819 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24820 *) ac_try_echo=$ac_try;;
24821 esac
24822 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24823 (eval "$ac_compile") 2>conftest.er1
24824 ac_status=$?
24825 grep -v '^ *+' conftest.er1 >conftest.err
24826 rm -f conftest.er1
24827 cat conftest.err >&5
24828 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24829 (exit $ac_status); } && {
24830 test -z "$ac_c_werror_flag" ||
24831 test ! -s conftest.err
24832 } && test -s conftest.$ac_objext; then
24833 ac_cv_header_regex_h=yes
24834 else
24835 echo "$as_me: failed program was:" >&5
24836 sed 's/^/| /' conftest.$ac_ext >&5
24837
24838 ac_cv_header_regex_h=no
24839 fi
24840
24841 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
24842 fi
24843 { echo "$as_me:$LINENO: result: $ac_cv_header_regex_h" >&5
24844 echo "${ECHO_T}$ac_cv_header_regex_h" >&6; }
24845 if test $ac_cv_header_regex_h = yes; then
24846
24847
24848 for ac_func in regcomp re_search
24849 do
24850 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
24851 { echo "$as_me:$LINENO: checking for $ac_func" >&5
24852 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
24853 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
24854 echo $ECHO_N "(cached) $ECHO_C" >&6
24855 else
24856 cat >conftest.$ac_ext <<_ACEOF
24857 /* confdefs.h. */
24858 _ACEOF
24859 cat confdefs.h >>conftest.$ac_ext
24860 cat >>conftest.$ac_ext <<_ACEOF
24861 /* end confdefs.h. */
24862 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
24863 For example, HP-UX 11i <limits.h> declares gettimeofday. */
24864 #define $ac_func innocuous_$ac_func
24865
24866 /* System header to define __stub macros and hopefully few prototypes,
24867 which can conflict with char $ac_func (); below.
24868 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
24869 <limits.h> exists even on freestanding compilers. */
24870
24871 #ifdef __STDC__
24872 # include <limits.h>
24873 #else
24874 # include <assert.h>
24875 #endif
24876
24877 #undef $ac_func
24878
24879 /* Override any GCC internal prototype to avoid an error.
24880 Use char because int might match the return type of a GCC
24881 builtin and then its argument prototype would still apply. */
24882 #ifdef __cplusplus
24883 extern "C"
24884 #endif
24885 char $ac_func ();
24886 /* The GNU C library defines this for functions which it implements
24887 to always fail with ENOSYS. Some functions are actually named
24888 something starting with __ and the normal name is an alias. */
24889 #if defined __stub_$ac_func || defined __stub___$ac_func
24890 choke me
24891 #endif
24892
24893 int
24894 main ()
24895 {
24896 return $ac_func ();
24897 ;
24898 return 0;
24899 }
24900 _ACEOF
24901 rm -f conftest.$ac_objext conftest$ac_exeext
24902 if { (ac_try="$ac_link"
24903 case "(($ac_try" in
24904 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
24905 *) ac_try_echo=$ac_try;;
24906 esac
24907 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
24908 (eval "$ac_link") 2>conftest.er1
24909 ac_status=$?
24910 grep -v '^ *+' conftest.er1 >conftest.err
24911 rm -f conftest.er1
24912 cat conftest.err >&5
24913 echo "$as_me:$LINENO: \$? = $ac_status" >&5
24914 (exit $ac_status); } && {
24915 test -z "$ac_c_werror_flag" ||
24916 test ! -s conftest.err
24917 } && test -s conftest$ac_exeext &&
24918 $as_test_x conftest$ac_exeext; then
24919 eval "$as_ac_var=yes"
24920 else
24921 echo "$as_me: failed program was:" >&5
24922 sed 's/^/| /' conftest.$ac_ext >&5
24923
24924 eval "$as_ac_var=no"
24925 fi
24926
24927 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
24928 conftest$ac_exeext conftest.$ac_ext
24929 fi
24930 ac_res=`eval echo '${'$as_ac_var'}'`
24931 { echo "$as_me:$LINENO: result: $ac_res" >&5
24932 echo "${ECHO_T}$ac_res" >&6; }
24933 if test `eval echo '${'$as_ac_var'}'` = yes; then
24934 cat >>confdefs.h <<_ACEOF
24935 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
24936 _ACEOF
24937
24938 fi
24939 done
24940
24941 fi
24942
24943
24944
24945 if test "x$ac_cv_func_regcomp" != "xyes"; then
24946 if test "$wxUSE_REGEX" = "sys" ; then
24947 { { echo "$as_me:$LINENO: error: system regex library not found! Use --with-regex to use built-in version" >&5
24948 echo "$as_me: error: system regex library not found! Use --with-regex to use built-in version" >&2;}
24949 { (exit 1); exit 1; }; }
24950 else
24951 { echo "$as_me:$LINENO: WARNING: system regex library not found, will use built-in instead" >&5
24952 echo "$as_me: WARNING: system regex library not found, will use built-in instead" >&2;}
24953 wxUSE_REGEX=builtin
24954 fi
24955 else
24956 wxUSE_REGEX=sys
24957 cat >>confdefs.h <<\_ACEOF
24958 #define WX_NO_REGEX_ADVANCED 1
24959 _ACEOF
24960
24961 fi
24962 fi
24963 fi
24964
24965
24966 ZLIB_LINK=
24967 if test "$wxUSE_ZLIB" != "no" ; then
24968 cat >>confdefs.h <<\_ACEOF
24969 #define wxUSE_ZLIB 1
24970 _ACEOF
24971
24972
24973 if test "$wxUSE_ZLIB" = "sys" -o "$wxUSE_ZLIB" = "yes" ; then
24974 if test "$USE_DARWIN" = 1; then
24975 system_zlib_h_ok="yes"
24976 else
24977 { echo "$as_me:$LINENO: checking for zlib.h >= 1.1.4" >&5
24978 echo $ECHO_N "checking for zlib.h >= 1.1.4... $ECHO_C" >&6; }
24979 if test "${ac_cv_header_zlib_h+set}" = set; then
24980 echo $ECHO_N "(cached) $ECHO_C" >&6
24981 else
24982 if test "$cross_compiling" = yes; then
24983 unset ac_cv_header_zlib_h
24984
24985 else
24986 cat >conftest.$ac_ext <<_ACEOF
24987 /* confdefs.h. */
24988 _ACEOF
24989 cat confdefs.h >>conftest.$ac_ext
24990 cat >>conftest.$ac_ext <<_ACEOF
24991 /* end confdefs.h. */
24992
24993 #include <zlib.h>
24994 #include <stdio.h>
24995
24996 int main()
24997 {
24998 FILE *f=fopen("conftestval", "w");
24999 if (!f) exit(1);
25000 fprintf(f, "%s",
25001 ZLIB_VERSION[0] == '1' &&
25002 (ZLIB_VERSION[2] > '1' ||
25003 (ZLIB_VERSION[2] == '1' &&
25004 ZLIB_VERSION[4] >= '4')) ? "yes" : "no");
25005 exit(0);
25006 }
25007
25008 _ACEOF
25009 rm -f conftest$ac_exeext
25010 if { (ac_try="$ac_link"
25011 case "(($ac_try" in
25012 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25013 *) ac_try_echo=$ac_try;;
25014 esac
25015 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25016 (eval "$ac_link") 2>&5
25017 ac_status=$?
25018 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25019 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25020 { (case "(($ac_try" in
25021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25022 *) ac_try_echo=$ac_try;;
25023 esac
25024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25025 (eval "$ac_try") 2>&5
25026 ac_status=$?
25027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25028 (exit $ac_status); }; }; then
25029 ac_cv_header_zlib_h=`cat conftestval`
25030 else
25031 echo "$as_me: program exited with status $ac_status" >&5
25032 echo "$as_me: failed program was:" >&5
25033 sed 's/^/| /' conftest.$ac_ext >&5
25034
25035 ( exit $ac_status )
25036 ac_cv_header_zlib_h=no
25037 fi
25038 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25039 fi
25040
25041
25042
25043 fi
25044 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25045 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25046 { echo "$as_me:$LINENO: checking for zlib.h" >&5
25047 echo $ECHO_N "checking for zlib.h... $ECHO_C" >&6; }
25048 if test "${ac_cv_header_zlib_h+set}" = set; then
25049 echo $ECHO_N "(cached) $ECHO_C" >&6
25050 else
25051 cat >conftest.$ac_ext <<_ACEOF
25052 /* confdefs.h. */
25053 _ACEOF
25054 cat confdefs.h >>conftest.$ac_ext
25055 cat >>conftest.$ac_ext <<_ACEOF
25056 /* end confdefs.h. */
25057
25058
25059 #include <zlib.h>
25060 _ACEOF
25061 rm -f conftest.$ac_objext
25062 if { (ac_try="$ac_compile"
25063 case "(($ac_try" in
25064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25065 *) ac_try_echo=$ac_try;;
25066 esac
25067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25068 (eval "$ac_compile") 2>conftest.er1
25069 ac_status=$?
25070 grep -v '^ *+' conftest.er1 >conftest.err
25071 rm -f conftest.er1
25072 cat conftest.err >&5
25073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25074 (exit $ac_status); } && {
25075 test -z "$ac_c_werror_flag" ||
25076 test ! -s conftest.err
25077 } && test -s conftest.$ac_objext; then
25078 ac_cv_header_zlib_h=yes
25079 else
25080 echo "$as_me: failed program was:" >&5
25081 sed 's/^/| /' conftest.$ac_ext >&5
25082
25083 ac_cv_header_zlib_h=no
25084 fi
25085
25086 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25087 fi
25088 { echo "$as_me:$LINENO: result: $ac_cv_header_zlib_h" >&5
25089 echo "${ECHO_T}$ac_cv_header_zlib_h" >&6; }
25090
25091
25092
25093 system_zlib_h_ok=$ac_cv_header_zlib_h
25094 fi
25095
25096 if test "$system_zlib_h_ok" = "yes"; then
25097 { echo "$as_me:$LINENO: checking for deflate in -lz" >&5
25098 echo $ECHO_N "checking for deflate in -lz... $ECHO_C" >&6; }
25099 if test "${ac_cv_lib_z_deflate+set}" = set; then
25100 echo $ECHO_N "(cached) $ECHO_C" >&6
25101 else
25102 ac_check_lib_save_LIBS=$LIBS
25103 LIBS="-lz $LIBS"
25104 cat >conftest.$ac_ext <<_ACEOF
25105 /* confdefs.h. */
25106 _ACEOF
25107 cat confdefs.h >>conftest.$ac_ext
25108 cat >>conftest.$ac_ext <<_ACEOF
25109 /* end confdefs.h. */
25110
25111 /* Override any GCC internal prototype to avoid an error.
25112 Use char because int might match the return type of a GCC
25113 builtin and then its argument prototype would still apply. */
25114 #ifdef __cplusplus
25115 extern "C"
25116 #endif
25117 char deflate ();
25118 int
25119 main ()
25120 {
25121 return deflate ();
25122 ;
25123 return 0;
25124 }
25125 _ACEOF
25126 rm -f conftest.$ac_objext conftest$ac_exeext
25127 if { (ac_try="$ac_link"
25128 case "(($ac_try" in
25129 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25130 *) ac_try_echo=$ac_try;;
25131 esac
25132 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25133 (eval "$ac_link") 2>conftest.er1
25134 ac_status=$?
25135 grep -v '^ *+' conftest.er1 >conftest.err
25136 rm -f conftest.er1
25137 cat conftest.err >&5
25138 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25139 (exit $ac_status); } && {
25140 test -z "$ac_c_werror_flag" ||
25141 test ! -s conftest.err
25142 } && test -s conftest$ac_exeext &&
25143 $as_test_x conftest$ac_exeext; then
25144 ac_cv_lib_z_deflate=yes
25145 else
25146 echo "$as_me: failed program was:" >&5
25147 sed 's/^/| /' conftest.$ac_ext >&5
25148
25149 ac_cv_lib_z_deflate=no
25150 fi
25151
25152 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25153 conftest$ac_exeext conftest.$ac_ext
25154 LIBS=$ac_check_lib_save_LIBS
25155 fi
25156 { echo "$as_me:$LINENO: result: $ac_cv_lib_z_deflate" >&5
25157 echo "${ECHO_T}$ac_cv_lib_z_deflate" >&6; }
25158 if test $ac_cv_lib_z_deflate = yes; then
25159 ZLIB_LINK=" -lz"
25160 fi
25161
25162 fi
25163
25164 if test "x$ZLIB_LINK" = "x" ; then
25165 if test "$wxUSE_ZLIB" = "sys" ; then
25166 { { echo "$as_me:$LINENO: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&5
25167 echo "$as_me: error: zlib library not found or too old! Use --with-zlib=builtin to use built-in version" >&2;}
25168 { (exit 1); exit 1; }; }
25169 else
25170 { echo "$as_me:$LINENO: WARNING: zlib library not found or too old, will use built-in instead" >&5
25171 echo "$as_me: WARNING: zlib library not found or too old, will use built-in instead" >&2;}
25172 wxUSE_ZLIB=builtin
25173 fi
25174 else
25175 wxUSE_ZLIB=sys
25176 fi
25177 fi
25178 fi
25179
25180
25181 PNG_LINK=
25182 if test "$wxUSE_LIBPNG" != "no" ; then
25183 cat >>confdefs.h <<\_ACEOF
25184 #define wxUSE_LIBPNG 1
25185 _ACEOF
25186
25187
25188 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBPNG" = "builtin" ; then
25189 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&5
25190 echo "$as_me: WARNING: wxMGL doesn't work with builtin png library, will use MGL one instead" >&2;}
25191 wxUSE_LIBPNG=sys
25192 fi
25193
25194 if test "$wxUSE_MGL" != 1 -a "$wxUSE_LIBPNG" = "sys" -a "$wxUSE_ZLIB" != "sys" ; then
25195 { echo "$as_me:$LINENO: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&5
25196 echo "$as_me: WARNING: system png library doesn't work without system zlib, will use built-in instead" >&2;}
25197 wxUSE_LIBPNG=builtin
25198 fi
25199
25200 if test "$wxUSE_MGL" != 1 ; then
25201 if test "$wxUSE_LIBPNG" = "sys" -o "$wxUSE_LIBPNG" = "yes" ; then
25202 { echo "$as_me:$LINENO: checking for png.h > 0.90" >&5
25203 echo $ECHO_N "checking for png.h > 0.90... $ECHO_C" >&6; }
25204 if test "${ac_cv_header_png_h+set}" = set; then
25205 echo $ECHO_N "(cached) $ECHO_C" >&6
25206 else
25207 if test "$cross_compiling" = yes; then
25208 unset ac_cv_header_png_h
25209
25210 else
25211 cat >conftest.$ac_ext <<_ACEOF
25212 /* confdefs.h. */
25213 _ACEOF
25214 cat confdefs.h >>conftest.$ac_ext
25215 cat >>conftest.$ac_ext <<_ACEOF
25216 /* end confdefs.h. */
25217
25218 #include <png.h>
25219 #include <stdio.h>
25220
25221 int main()
25222 {
25223 FILE *f=fopen("conftestval", "w");
25224 if (!f) exit(1);
25225 fprintf(f, "%s",
25226 PNG_LIBPNG_VER > 90 ? "yes" : "no");
25227 exit(0);
25228 }
25229
25230 _ACEOF
25231 rm -f conftest$ac_exeext
25232 if { (ac_try="$ac_link"
25233 case "(($ac_try" in
25234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25235 *) ac_try_echo=$ac_try;;
25236 esac
25237 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25238 (eval "$ac_link") 2>&5
25239 ac_status=$?
25240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25241 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
25242 { (case "(($ac_try" in
25243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25244 *) ac_try_echo=$ac_try;;
25245 esac
25246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25247 (eval "$ac_try") 2>&5
25248 ac_status=$?
25249 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25250 (exit $ac_status); }; }; then
25251 ac_cv_header_png_h=`cat conftestval`
25252 else
25253 echo "$as_me: program exited with status $ac_status" >&5
25254 echo "$as_me: failed program was:" >&5
25255 sed 's/^/| /' conftest.$ac_ext >&5
25256
25257 ( exit $ac_status )
25258 ac_cv_header_png_h=no
25259 fi
25260 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
25261 fi
25262
25263
25264
25265 fi
25266 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25267 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25268 { echo "$as_me:$LINENO: checking for png.h" >&5
25269 echo $ECHO_N "checking for png.h... $ECHO_C" >&6; }
25270 if test "${ac_cv_header_png_h+set}" = set; then
25271 echo $ECHO_N "(cached) $ECHO_C" >&6
25272 else
25273 cat >conftest.$ac_ext <<_ACEOF
25274 /* confdefs.h. */
25275 _ACEOF
25276 cat confdefs.h >>conftest.$ac_ext
25277 cat >>conftest.$ac_ext <<_ACEOF
25278 /* end confdefs.h. */
25279
25280
25281 #include <png.h>
25282 _ACEOF
25283 rm -f conftest.$ac_objext
25284 if { (ac_try="$ac_compile"
25285 case "(($ac_try" in
25286 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25287 *) ac_try_echo=$ac_try;;
25288 esac
25289 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25290 (eval "$ac_compile") 2>conftest.er1
25291 ac_status=$?
25292 grep -v '^ *+' conftest.er1 >conftest.err
25293 rm -f conftest.er1
25294 cat conftest.err >&5
25295 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25296 (exit $ac_status); } && {
25297 test -z "$ac_c_werror_flag" ||
25298 test ! -s conftest.err
25299 } && test -s conftest.$ac_objext; then
25300 ac_cv_header_png_h=yes
25301 else
25302 echo "$as_me: failed program was:" >&5
25303 sed 's/^/| /' conftest.$ac_ext >&5
25304
25305 ac_cv_header_png_h=no
25306 fi
25307
25308 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25309 fi
25310 { echo "$as_me:$LINENO: result: $ac_cv_header_png_h" >&5
25311 echo "${ECHO_T}$ac_cv_header_png_h" >&6; }
25312
25313
25314
25315 if test "$ac_cv_header_png_h" = "yes"; then
25316 { echo "$as_me:$LINENO: checking for png_check_sig in -lpng" >&5
25317 echo $ECHO_N "checking for png_check_sig in -lpng... $ECHO_C" >&6; }
25318 if test "${ac_cv_lib_png_png_check_sig+set}" = set; then
25319 echo $ECHO_N "(cached) $ECHO_C" >&6
25320 else
25321 ac_check_lib_save_LIBS=$LIBS
25322 LIBS="-lpng -lz -lm $LIBS"
25323 cat >conftest.$ac_ext <<_ACEOF
25324 /* confdefs.h. */
25325 _ACEOF
25326 cat confdefs.h >>conftest.$ac_ext
25327 cat >>conftest.$ac_ext <<_ACEOF
25328 /* end confdefs.h. */
25329
25330 /* Override any GCC internal prototype to avoid an error.
25331 Use char because int might match the return type of a GCC
25332 builtin and then its argument prototype would still apply. */
25333 #ifdef __cplusplus
25334 extern "C"
25335 #endif
25336 char png_check_sig ();
25337 int
25338 main ()
25339 {
25340 return png_check_sig ();
25341 ;
25342 return 0;
25343 }
25344 _ACEOF
25345 rm -f conftest.$ac_objext conftest$ac_exeext
25346 if { (ac_try="$ac_link"
25347 case "(($ac_try" in
25348 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25349 *) ac_try_echo=$ac_try;;
25350 esac
25351 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25352 (eval "$ac_link") 2>conftest.er1
25353 ac_status=$?
25354 grep -v '^ *+' conftest.er1 >conftest.err
25355 rm -f conftest.er1
25356 cat conftest.err >&5
25357 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25358 (exit $ac_status); } && {
25359 test -z "$ac_c_werror_flag" ||
25360 test ! -s conftest.err
25361 } && test -s conftest$ac_exeext &&
25362 $as_test_x conftest$ac_exeext; then
25363 ac_cv_lib_png_png_check_sig=yes
25364 else
25365 echo "$as_me: failed program was:" >&5
25366 sed 's/^/| /' conftest.$ac_ext >&5
25367
25368 ac_cv_lib_png_png_check_sig=no
25369 fi
25370
25371 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25372 conftest$ac_exeext conftest.$ac_ext
25373 LIBS=$ac_check_lib_save_LIBS
25374 fi
25375 { echo "$as_me:$LINENO: result: $ac_cv_lib_png_png_check_sig" >&5
25376 echo "${ECHO_T}$ac_cv_lib_png_png_check_sig" >&6; }
25377 if test $ac_cv_lib_png_png_check_sig = yes; then
25378 PNG_LINK=" -lpng -lz"
25379 fi
25380
25381 fi
25382
25383 if test "x$PNG_LINK" = "x" ; then
25384 if test "$wxUSE_LIBPNG" = "sys" ; then
25385 { { echo "$as_me:$LINENO: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&5
25386 echo "$as_me: error: system png library not found or too old! Use --with-libpng=builtin to use built-in version" >&2;}
25387 { (exit 1); exit 1; }; }
25388 else
25389 { echo "$as_me:$LINENO: WARNING: system png library not found or too old, will use built-in instead" >&5
25390 echo "$as_me: WARNING: system png library not found or too old, will use built-in instead" >&2;}
25391 wxUSE_LIBPNG=builtin
25392 fi
25393 else
25394 wxUSE_LIBPNG=sys
25395 fi
25396 fi
25397 fi
25398
25399 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS png"
25400 fi
25401
25402
25403 JPEG_LINK=
25404 if test "$wxUSE_LIBJPEG" != "no" ; then
25405 cat >>confdefs.h <<\_ACEOF
25406 #define wxUSE_LIBJPEG 1
25407 _ACEOF
25408
25409
25410 if test "$wxUSE_MGL" = 1 -a "$wxUSE_LIBJPEG" = "builtin" ; then
25411 { echo "$as_me:$LINENO: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&5
25412 echo "$as_me: WARNING: wxMGL doesn't work with builtin jpeg library, will use MGL one instead" >&2;}
25413 wxUSE_LIBJPEG=sys
25414 fi
25415
25416 if test "$wxUSE_MGL" != 1 ; then
25417 if test "$wxUSE_LIBJPEG" = "sys" -o "$wxUSE_LIBJPEG" = "yes" ; then
25418 { echo "$as_me:$LINENO: checking for jpeglib.h" >&5
25419 echo $ECHO_N "checking for jpeglib.h... $ECHO_C" >&6; }
25420 if test "${ac_cv_header_jpeglib_h+set}" = set; then
25421 echo $ECHO_N "(cached) $ECHO_C" >&6
25422 else
25423 cat >conftest.$ac_ext <<_ACEOF
25424 /* confdefs.h. */
25425 _ACEOF
25426 cat confdefs.h >>conftest.$ac_ext
25427 cat >>conftest.$ac_ext <<_ACEOF
25428 /* end confdefs.h. */
25429
25430 #undef HAVE_STDLIB_H
25431 #include <stdio.h>
25432 #include <jpeglib.h>
25433
25434 int
25435 main ()
25436 {
25437
25438
25439 ;
25440 return 0;
25441 }
25442 _ACEOF
25443 rm -f conftest.$ac_objext
25444 if { (ac_try="$ac_compile"
25445 case "(($ac_try" in
25446 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25447 *) ac_try_echo=$ac_try;;
25448 esac
25449 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25450 (eval "$ac_compile") 2>conftest.er1
25451 ac_status=$?
25452 grep -v '^ *+' conftest.er1 >conftest.err
25453 rm -f conftest.er1
25454 cat conftest.err >&5
25455 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25456 (exit $ac_status); } && {
25457 test -z "$ac_c_werror_flag" ||
25458 test ! -s conftest.err
25459 } && test -s conftest.$ac_objext; then
25460 ac_cv_header_jpeglib_h=yes
25461 else
25462 echo "$as_me: failed program was:" >&5
25463 sed 's/^/| /' conftest.$ac_ext >&5
25464
25465 ac_cv_header_jpeglib_h=no
25466
25467 fi
25468
25469 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25470
25471 fi
25472
25473 { echo "$as_me:$LINENO: result: $ac_cv_header_jpeglib_h" >&5
25474 echo "${ECHO_T}$ac_cv_header_jpeglib_h" >&6; }
25475
25476 if test "$ac_cv_header_jpeglib_h" = "yes"; then
25477 { echo "$as_me:$LINENO: checking for jpeg_read_header in -ljpeg" >&5
25478 echo $ECHO_N "checking for jpeg_read_header in -ljpeg... $ECHO_C" >&6; }
25479 if test "${ac_cv_lib_jpeg_jpeg_read_header+set}" = set; then
25480 echo $ECHO_N "(cached) $ECHO_C" >&6
25481 else
25482 ac_check_lib_save_LIBS=$LIBS
25483 LIBS="-ljpeg $LIBS"
25484 cat >conftest.$ac_ext <<_ACEOF
25485 /* confdefs.h. */
25486 _ACEOF
25487 cat confdefs.h >>conftest.$ac_ext
25488 cat >>conftest.$ac_ext <<_ACEOF
25489 /* end confdefs.h. */
25490
25491 /* Override any GCC internal prototype to avoid an error.
25492 Use char because int might match the return type of a GCC
25493 builtin and then its argument prototype would still apply. */
25494 #ifdef __cplusplus
25495 extern "C"
25496 #endif
25497 char jpeg_read_header ();
25498 int
25499 main ()
25500 {
25501 return jpeg_read_header ();
25502 ;
25503 return 0;
25504 }
25505 _ACEOF
25506 rm -f conftest.$ac_objext conftest$ac_exeext
25507 if { (ac_try="$ac_link"
25508 case "(($ac_try" in
25509 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25510 *) ac_try_echo=$ac_try;;
25511 esac
25512 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25513 (eval "$ac_link") 2>conftest.er1
25514 ac_status=$?
25515 grep -v '^ *+' conftest.er1 >conftest.err
25516 rm -f conftest.er1
25517 cat conftest.err >&5
25518 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25519 (exit $ac_status); } && {
25520 test -z "$ac_c_werror_flag" ||
25521 test ! -s conftest.err
25522 } && test -s conftest$ac_exeext &&
25523 $as_test_x conftest$ac_exeext; then
25524 ac_cv_lib_jpeg_jpeg_read_header=yes
25525 else
25526 echo "$as_me: failed program was:" >&5
25527 sed 's/^/| /' conftest.$ac_ext >&5
25528
25529 ac_cv_lib_jpeg_jpeg_read_header=no
25530 fi
25531
25532 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
25533 conftest$ac_exeext conftest.$ac_ext
25534 LIBS=$ac_check_lib_save_LIBS
25535 fi
25536 { echo "$as_me:$LINENO: result: $ac_cv_lib_jpeg_jpeg_read_header" >&5
25537 echo "${ECHO_T}$ac_cv_lib_jpeg_jpeg_read_header" >&6; }
25538 if test $ac_cv_lib_jpeg_jpeg_read_header = yes; then
25539 JPEG_LINK=" -ljpeg"
25540 fi
25541
25542 fi
25543
25544 if test "x$JPEG_LINK" = "x" ; then
25545 if test "$wxUSE_LIBJPEG" = "sys" ; then
25546 { { echo "$as_me:$LINENO: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&5
25547 echo "$as_me: error: system jpeg library not found! Use --with-libjpeg=builtin to use built-in version" >&2;}
25548 { (exit 1); exit 1; }; }
25549 else
25550 { echo "$as_me:$LINENO: WARNING: system jpeg library not found, will use built-in instead" >&5
25551 echo "$as_me: WARNING: system jpeg library not found, will use built-in instead" >&2;}
25552 wxUSE_LIBJPEG=builtin
25553 fi
25554 else
25555 wxUSE_LIBJPEG=sys
25556
25557 if test "$wxUSE_MSW" = 1; then
25558 { echo "$as_me:$LINENO: checking for boolean" >&5
25559 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25560 if test "${ac_cv_type_boolean+set}" = set; then
25561 echo $ECHO_N "(cached) $ECHO_C" >&6
25562 else
25563 cat >conftest.$ac_ext <<_ACEOF
25564 /* confdefs.h. */
25565 _ACEOF
25566 cat confdefs.h >>conftest.$ac_ext
25567 cat >>conftest.$ac_ext <<_ACEOF
25568 /* end confdefs.h. */
25569 #include <windows.h>
25570
25571 typedef boolean ac__type_new_;
25572 int
25573 main ()
25574 {
25575 if ((ac__type_new_ *) 0)
25576 return 0;
25577 if (sizeof (ac__type_new_))
25578 return 0;
25579 ;
25580 return 0;
25581 }
25582 _ACEOF
25583 rm -f conftest.$ac_objext
25584 if { (ac_try="$ac_compile"
25585 case "(($ac_try" in
25586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25587 *) ac_try_echo=$ac_try;;
25588 esac
25589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25590 (eval "$ac_compile") 2>conftest.er1
25591 ac_status=$?
25592 grep -v '^ *+' conftest.er1 >conftest.err
25593 rm -f conftest.er1
25594 cat conftest.err >&5
25595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25596 (exit $ac_status); } && {
25597 test -z "$ac_c_werror_flag" ||
25598 test ! -s conftest.err
25599 } && test -s conftest.$ac_objext; then
25600 ac_cv_type_boolean=yes
25601 else
25602 echo "$as_me: failed program was:" >&5
25603 sed 's/^/| /' conftest.$ac_ext >&5
25604
25605 ac_cv_type_boolean=no
25606 fi
25607
25608 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25609 fi
25610 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25611 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25612 if test $ac_cv_type_boolean = yes; then
25613
25614 cat >>confdefs.h <<_ACEOF
25615 #define HAVE_BOOLEAN 1
25616 _ACEOF
25617
25618
25619 { echo "$as_me:$LINENO: checking for boolean" >&5
25620 echo $ECHO_N "checking for boolean... $ECHO_C" >&6; }
25621 if test "${ac_cv_type_boolean+set}" = set; then
25622 echo $ECHO_N "(cached) $ECHO_C" >&6
25623 else
25624 cat >conftest.$ac_ext <<_ACEOF
25625 /* confdefs.h. */
25626 _ACEOF
25627 cat confdefs.h >>conftest.$ac_ext
25628 cat >>conftest.$ac_ext <<_ACEOF
25629 /* end confdefs.h. */
25630
25631 #undef HAVE_BOOLEAN
25632 #include <stdio.h>
25633 #include <jpeglib.h>
25634
25635
25636 typedef boolean ac__type_new_;
25637 int
25638 main ()
25639 {
25640 if ((ac__type_new_ *) 0)
25641 return 0;
25642 if (sizeof (ac__type_new_))
25643 return 0;
25644 ;
25645 return 0;
25646 }
25647 _ACEOF
25648 rm -f conftest.$ac_objext
25649 if { (ac_try="$ac_compile"
25650 case "(($ac_try" in
25651 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25652 *) ac_try_echo=$ac_try;;
25653 esac
25654 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25655 (eval "$ac_compile") 2>conftest.er1
25656 ac_status=$?
25657 grep -v '^ *+' conftest.er1 >conftest.err
25658 rm -f conftest.er1
25659 cat conftest.err >&5
25660 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25661 (exit $ac_status); } && {
25662 test -z "$ac_c_werror_flag" ||
25663 test ! -s conftest.err
25664 } && test -s conftest.$ac_objext; then
25665 ac_cv_type_boolean=yes
25666 else
25667 echo "$as_me: failed program was:" >&5
25668 sed 's/^/| /' conftest.$ac_ext >&5
25669
25670 ac_cv_type_boolean=no
25671 fi
25672
25673 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25674 fi
25675 { echo "$as_me:$LINENO: result: $ac_cv_type_boolean" >&5
25676 echo "${ECHO_T}$ac_cv_type_boolean" >&6; }
25677
25678 # The cast to long int works around a bug in the HP C Compiler
25679 # version HP92453-01 B.11.11.23709.GP, which incorrectly rejects
25680 # declarations like `int a3[[(sizeof (unsigned char)) >= 0]];'.
25681 # This bug is HP SR number 8606223364.
25682 { echo "$as_me:$LINENO: checking size of boolean" >&5
25683 echo $ECHO_N "checking size of boolean... $ECHO_C" >&6; }
25684 if test "${ac_cv_sizeof_boolean+set}" = set; then
25685 echo $ECHO_N "(cached) $ECHO_C" >&6
25686 else
25687 if test "$cross_compiling" = yes; then
25688 # Depending upon the size, compute the lo and hi bounds.
25689 cat >conftest.$ac_ext <<_ACEOF
25690 /* confdefs.h. */
25691 _ACEOF
25692 cat confdefs.h >>conftest.$ac_ext
25693 cat >>conftest.$ac_ext <<_ACEOF
25694 /* end confdefs.h. */
25695
25696 #undef HAVE_BOOLEAN
25697 #include <stdio.h>
25698 #include <jpeglib.h>
25699
25700
25701 typedef boolean ac__type_sizeof_;
25702 int
25703 main ()
25704 {
25705 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= 0)];
25706 test_array [0] = 0
25707
25708 ;
25709 return 0;
25710 }
25711 _ACEOF
25712 rm -f conftest.$ac_objext
25713 if { (ac_try="$ac_compile"
25714 case "(($ac_try" in
25715 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25716 *) ac_try_echo=$ac_try;;
25717 esac
25718 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25719 (eval "$ac_compile") 2>conftest.er1
25720 ac_status=$?
25721 grep -v '^ *+' conftest.er1 >conftest.err
25722 rm -f conftest.er1
25723 cat conftest.err >&5
25724 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25725 (exit $ac_status); } && {
25726 test -z "$ac_c_werror_flag" ||
25727 test ! -s conftest.err
25728 } && test -s conftest.$ac_objext; then
25729 ac_lo=0 ac_mid=0
25730 while :; do
25731 cat >conftest.$ac_ext <<_ACEOF
25732 /* confdefs.h. */
25733 _ACEOF
25734 cat confdefs.h >>conftest.$ac_ext
25735 cat >>conftest.$ac_ext <<_ACEOF
25736 /* end confdefs.h. */
25737
25738 #undef HAVE_BOOLEAN
25739 #include <stdio.h>
25740 #include <jpeglib.h>
25741
25742
25743 typedef boolean ac__type_sizeof_;
25744 int
25745 main ()
25746 {
25747 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25748 test_array [0] = 0
25749
25750 ;
25751 return 0;
25752 }
25753 _ACEOF
25754 rm -f conftest.$ac_objext
25755 if { (ac_try="$ac_compile"
25756 case "(($ac_try" in
25757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25758 *) ac_try_echo=$ac_try;;
25759 esac
25760 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25761 (eval "$ac_compile") 2>conftest.er1
25762 ac_status=$?
25763 grep -v '^ *+' conftest.er1 >conftest.err
25764 rm -f conftest.er1
25765 cat conftest.err >&5
25766 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25767 (exit $ac_status); } && {
25768 test -z "$ac_c_werror_flag" ||
25769 test ! -s conftest.err
25770 } && test -s conftest.$ac_objext; then
25771 ac_hi=$ac_mid; break
25772 else
25773 echo "$as_me: failed program was:" >&5
25774 sed 's/^/| /' conftest.$ac_ext >&5
25775
25776 ac_lo=`expr $ac_mid + 1`
25777 if test $ac_lo -le $ac_mid; then
25778 ac_lo= ac_hi=
25779 break
25780 fi
25781 ac_mid=`expr 2 '*' $ac_mid + 1`
25782 fi
25783
25784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25785 done
25786 else
25787 echo "$as_me: failed program was:" >&5
25788 sed 's/^/| /' conftest.$ac_ext >&5
25789
25790 cat >conftest.$ac_ext <<_ACEOF
25791 /* confdefs.h. */
25792 _ACEOF
25793 cat confdefs.h >>conftest.$ac_ext
25794 cat >>conftest.$ac_ext <<_ACEOF
25795 /* end confdefs.h. */
25796
25797 #undef HAVE_BOOLEAN
25798 #include <stdio.h>
25799 #include <jpeglib.h>
25800
25801
25802 typedef boolean ac__type_sizeof_;
25803 int
25804 main ()
25805 {
25806 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) < 0)];
25807 test_array [0] = 0
25808
25809 ;
25810 return 0;
25811 }
25812 _ACEOF
25813 rm -f conftest.$ac_objext
25814 if { (ac_try="$ac_compile"
25815 case "(($ac_try" in
25816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25817 *) ac_try_echo=$ac_try;;
25818 esac
25819 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25820 (eval "$ac_compile") 2>conftest.er1
25821 ac_status=$?
25822 grep -v '^ *+' conftest.er1 >conftest.err
25823 rm -f conftest.er1
25824 cat conftest.err >&5
25825 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25826 (exit $ac_status); } && {
25827 test -z "$ac_c_werror_flag" ||
25828 test ! -s conftest.err
25829 } && test -s conftest.$ac_objext; then
25830 ac_hi=-1 ac_mid=-1
25831 while :; do
25832 cat >conftest.$ac_ext <<_ACEOF
25833 /* confdefs.h. */
25834 _ACEOF
25835 cat confdefs.h >>conftest.$ac_ext
25836 cat >>conftest.$ac_ext <<_ACEOF
25837 /* end confdefs.h. */
25838
25839 #undef HAVE_BOOLEAN
25840 #include <stdio.h>
25841 #include <jpeglib.h>
25842
25843
25844 typedef boolean ac__type_sizeof_;
25845 int
25846 main ()
25847 {
25848 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) >= $ac_mid)];
25849 test_array [0] = 0
25850
25851 ;
25852 return 0;
25853 }
25854 _ACEOF
25855 rm -f conftest.$ac_objext
25856 if { (ac_try="$ac_compile"
25857 case "(($ac_try" in
25858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25859 *) ac_try_echo=$ac_try;;
25860 esac
25861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25862 (eval "$ac_compile") 2>conftest.er1
25863 ac_status=$?
25864 grep -v '^ *+' conftest.er1 >conftest.err
25865 rm -f conftest.er1
25866 cat conftest.err >&5
25867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25868 (exit $ac_status); } && {
25869 test -z "$ac_c_werror_flag" ||
25870 test ! -s conftest.err
25871 } && test -s conftest.$ac_objext; then
25872 ac_lo=$ac_mid; break
25873 else
25874 echo "$as_me: failed program was:" >&5
25875 sed 's/^/| /' conftest.$ac_ext >&5
25876
25877 ac_hi=`expr '(' $ac_mid ')' - 1`
25878 if test $ac_mid -le $ac_hi; then
25879 ac_lo= ac_hi=
25880 break
25881 fi
25882 ac_mid=`expr 2 '*' $ac_mid`
25883 fi
25884
25885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25886 done
25887 else
25888 echo "$as_me: failed program was:" >&5
25889 sed 's/^/| /' conftest.$ac_ext >&5
25890
25891 ac_lo= ac_hi=
25892 fi
25893
25894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25895 fi
25896
25897 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25898 # Binary search between lo and hi bounds.
25899 while test "x$ac_lo" != "x$ac_hi"; do
25900 ac_mid=`expr '(' $ac_hi - $ac_lo ')' / 2 + $ac_lo`
25901 cat >conftest.$ac_ext <<_ACEOF
25902 /* confdefs.h. */
25903 _ACEOF
25904 cat confdefs.h >>conftest.$ac_ext
25905 cat >>conftest.$ac_ext <<_ACEOF
25906 /* end confdefs.h. */
25907
25908 #undef HAVE_BOOLEAN
25909 #include <stdio.h>
25910 #include <jpeglib.h>
25911
25912
25913 typedef boolean ac__type_sizeof_;
25914 int
25915 main ()
25916 {
25917 static int test_array [1 - 2 * !(((long int) (sizeof (ac__type_sizeof_))) <= $ac_mid)];
25918 test_array [0] = 0
25919
25920 ;
25921 return 0;
25922 }
25923 _ACEOF
25924 rm -f conftest.$ac_objext
25925 if { (ac_try="$ac_compile"
25926 case "(($ac_try" in
25927 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
25928 *) ac_try_echo=$ac_try;;
25929 esac
25930 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
25931 (eval "$ac_compile") 2>conftest.er1
25932 ac_status=$?
25933 grep -v '^ *+' conftest.er1 >conftest.err
25934 rm -f conftest.er1
25935 cat conftest.err >&5
25936 echo "$as_me:$LINENO: \$? = $ac_status" >&5
25937 (exit $ac_status); } && {
25938 test -z "$ac_c_werror_flag" ||
25939 test ! -s conftest.err
25940 } && test -s conftest.$ac_objext; then
25941 ac_hi=$ac_mid
25942 else
25943 echo "$as_me: failed program was:" >&5
25944 sed 's/^/| /' conftest.$ac_ext >&5
25945
25946 ac_lo=`expr '(' $ac_mid ')' + 1`
25947 fi
25948
25949 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
25950 done
25951 case $ac_lo in
25952 ?*) ac_cv_sizeof_boolean=$ac_lo;;
25953 '') if test "$ac_cv_type_boolean" = yes; then
25954 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
25955 See \`config.log' for more details." >&5
25956 echo "$as_me: error: cannot compute sizeof (boolean)
25957 See \`config.log' for more details." >&2;}
25958 { (exit 77); exit 77; }; }
25959 else
25960 ac_cv_sizeof_boolean=0
25961 fi ;;
25962 esac
25963 else
25964 cat >conftest.$ac_ext <<_ACEOF
25965 /* confdefs.h. */
25966 _ACEOF
25967 cat confdefs.h >>conftest.$ac_ext
25968 cat >>conftest.$ac_ext <<_ACEOF
25969 /* end confdefs.h. */
25970
25971 #undef HAVE_BOOLEAN
25972 #include <stdio.h>
25973 #include <jpeglib.h>
25974
25975
25976 typedef boolean ac__type_sizeof_;
25977 static long int longval () { return (long int) (sizeof (ac__type_sizeof_)); }
25978 static unsigned long int ulongval () { return (long int) (sizeof (ac__type_sizeof_)); }
25979 #include <stdio.h>
25980 #include <stdlib.h>
25981 int
25982 main ()
25983 {
25984
25985 FILE *f = fopen ("conftest.val", "w");
25986 if (! f)
25987 return 1;
25988 if (((long int) (sizeof (ac__type_sizeof_))) < 0)
25989 {
25990 long int i = longval ();
25991 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25992 return 1;
25993 fprintf (f, "%ld\n", i);
25994 }
25995 else
25996 {
25997 unsigned long int i = ulongval ();
25998 if (i != ((long int) (sizeof (ac__type_sizeof_))))
25999 return 1;
26000 fprintf (f, "%lu\n", i);
26001 }
26002 return ferror (f) || fclose (f) != 0;
26003
26004 ;
26005 return 0;
26006 }
26007 _ACEOF
26008 rm -f conftest$ac_exeext
26009 if { (ac_try="$ac_link"
26010 case "(($ac_try" in
26011 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26012 *) ac_try_echo=$ac_try;;
26013 esac
26014 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26015 (eval "$ac_link") 2>&5
26016 ac_status=$?
26017 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26018 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
26019 { (case "(($ac_try" in
26020 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26021 *) ac_try_echo=$ac_try;;
26022 esac
26023 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26024 (eval "$ac_try") 2>&5
26025 ac_status=$?
26026 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26027 (exit $ac_status); }; }; then
26028 ac_cv_sizeof_boolean=`cat conftest.val`
26029 else
26030 echo "$as_me: program exited with status $ac_status" >&5
26031 echo "$as_me: failed program was:" >&5
26032 sed 's/^/| /' conftest.$ac_ext >&5
26033
26034 ( exit $ac_status )
26035 if test "$ac_cv_type_boolean" = yes; then
26036 { { echo "$as_me:$LINENO: error: cannot compute sizeof (boolean)
26037 See \`config.log' for more details." >&5
26038 echo "$as_me: error: cannot compute sizeof (boolean)
26039 See \`config.log' for more details." >&2;}
26040 { (exit 77); exit 77; }; }
26041 else
26042 ac_cv_sizeof_boolean=0
26043 fi
26044 fi
26045 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
26046 fi
26047 rm -f conftest.val
26048 fi
26049 { echo "$as_me:$LINENO: result: $ac_cv_sizeof_boolean" >&5
26050 echo "${ECHO_T}$ac_cv_sizeof_boolean" >&6; }
26051
26052
26053
26054 cat >>confdefs.h <<_ACEOF
26055 #define SIZEOF_BOOLEAN $ac_cv_sizeof_boolean
26056 _ACEOF
26057
26058
26059 cat >>confdefs.h <<_ACEOF
26060 #define wxHACK_BOOLEAN wxInt`expr 8 \* $ac_cv_sizeof_boolean`
26061 _ACEOF
26062
26063
26064 fi
26065
26066 fi
26067 fi
26068 fi
26069 fi
26070 fi
26071
26072
26073 TIFF_LINK=
26074 TIFF_PREREQ_LINKS=-lm
26075 if test "$wxUSE_LIBTIFF" != "no" ; then
26076 cat >>confdefs.h <<\_ACEOF
26077 #define wxUSE_LIBTIFF 1
26078 _ACEOF
26079
26080
26081 if test "$wxUSE_LIBTIFF" = "sys" -o "$wxUSE_LIBTIFF" = "yes" ; then
26082 if test "$wxUSE_LIBJPEG" = "sys"; then
26083 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $JPEG_LINK"
26084 fi
26085 if test "$wxUSE_ZLIB" = "sys"; then
26086 TIFF_PREREQ_LINKS="$TIFF_PREREQ_LINKS $ZLIB_LINK"
26087 fi
26088 { echo "$as_me:$LINENO: checking for tiffio.h" >&5
26089 echo $ECHO_N "checking for tiffio.h... $ECHO_C" >&6; }
26090 if test "${ac_cv_header_tiffio_h+set}" = set; then
26091 echo $ECHO_N "(cached) $ECHO_C" >&6
26092 else
26093 cat >conftest.$ac_ext <<_ACEOF
26094 /* confdefs.h. */
26095 _ACEOF
26096 cat confdefs.h >>conftest.$ac_ext
26097 cat >>conftest.$ac_ext <<_ACEOF
26098 /* end confdefs.h. */
26099
26100
26101
26102 #include <tiffio.h>
26103 _ACEOF
26104 rm -f conftest.$ac_objext
26105 if { (ac_try="$ac_compile"
26106 case "(($ac_try" in
26107 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26108 *) ac_try_echo=$ac_try;;
26109 esac
26110 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26111 (eval "$ac_compile") 2>conftest.er1
26112 ac_status=$?
26113 grep -v '^ *+' conftest.er1 >conftest.err
26114 rm -f conftest.er1
26115 cat conftest.err >&5
26116 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26117 (exit $ac_status); } && {
26118 test -z "$ac_c_werror_flag" ||
26119 test ! -s conftest.err
26120 } && test -s conftest.$ac_objext; then
26121 ac_cv_header_tiffio_h=yes
26122 else
26123 echo "$as_me: failed program was:" >&5
26124 sed 's/^/| /' conftest.$ac_ext >&5
26125
26126 ac_cv_header_tiffio_h=no
26127 fi
26128
26129 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26130 fi
26131 { echo "$as_me:$LINENO: result: $ac_cv_header_tiffio_h" >&5
26132 echo "${ECHO_T}$ac_cv_header_tiffio_h" >&6; }
26133 if test $ac_cv_header_tiffio_h = yes; then
26134
26135 { echo "$as_me:$LINENO: checking for TIFFError in -ltiff" >&5
26136 echo $ECHO_N "checking for TIFFError in -ltiff... $ECHO_C" >&6; }
26137 if test "${ac_cv_lib_tiff_TIFFError+set}" = set; then
26138 echo $ECHO_N "(cached) $ECHO_C" >&6
26139 else
26140 ac_check_lib_save_LIBS=$LIBS
26141 LIBS="-ltiff $TIFF_PREREQ_LINKS $LIBS"
26142 cat >conftest.$ac_ext <<_ACEOF
26143 /* confdefs.h. */
26144 _ACEOF
26145 cat confdefs.h >>conftest.$ac_ext
26146 cat >>conftest.$ac_ext <<_ACEOF
26147 /* end confdefs.h. */
26148
26149 /* Override any GCC internal prototype to avoid an error.
26150 Use char because int might match the return type of a GCC
26151 builtin and then its argument prototype would still apply. */
26152 #ifdef __cplusplus
26153 extern "C"
26154 #endif
26155 char TIFFError ();
26156 int
26157 main ()
26158 {
26159 return TIFFError ();
26160 ;
26161 return 0;
26162 }
26163 _ACEOF
26164 rm -f conftest.$ac_objext conftest$ac_exeext
26165 if { (ac_try="$ac_link"
26166 case "(($ac_try" in
26167 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26168 *) ac_try_echo=$ac_try;;
26169 esac
26170 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26171 (eval "$ac_link") 2>conftest.er1
26172 ac_status=$?
26173 grep -v '^ *+' conftest.er1 >conftest.err
26174 rm -f conftest.er1
26175 cat conftest.err >&5
26176 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26177 (exit $ac_status); } && {
26178 test -z "$ac_c_werror_flag" ||
26179 test ! -s conftest.err
26180 } && test -s conftest$ac_exeext &&
26181 $as_test_x conftest$ac_exeext; then
26182 ac_cv_lib_tiff_TIFFError=yes
26183 else
26184 echo "$as_me: failed program was:" >&5
26185 sed 's/^/| /' conftest.$ac_ext >&5
26186
26187 ac_cv_lib_tiff_TIFFError=no
26188 fi
26189
26190 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26191 conftest$ac_exeext conftest.$ac_ext
26192 LIBS=$ac_check_lib_save_LIBS
26193 fi
26194 { echo "$as_me:$LINENO: result: $ac_cv_lib_tiff_TIFFError" >&5
26195 echo "${ECHO_T}$ac_cv_lib_tiff_TIFFError" >&6; }
26196 if test $ac_cv_lib_tiff_TIFFError = yes; then
26197 TIFF_LINK=" -ltiff"
26198 fi
26199
26200
26201 fi
26202
26203
26204
26205 if test "x$TIFF_LINK" = "x" ; then
26206 if test "$wxUSE_LIBTIFF" = "sys" ; then
26207 { { echo "$as_me:$LINENO: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&5
26208 echo "$as_me: error: system tiff library not found! Use --with-libtiff=builtin to use built-in version" >&2;}
26209 { (exit 1); exit 1; }; }
26210 else
26211 { echo "$as_me:$LINENO: WARNING: system tiff library not found, will use built-in instead" >&5
26212 echo "$as_me: WARNING: system tiff library not found, will use built-in instead" >&2;}
26213 wxUSE_LIBTIFF=builtin
26214 fi
26215 else
26216 wxUSE_LIBTIFF=sys
26217 fi
26218 fi
26219 fi
26220
26221
26222 if test "$wxUSE_WCHAR_T" != "yes"; then
26223 if test "$wxUSE_EXPAT" != "no"; then
26224 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&5
26225 echo "$as_me: WARNING: wxWidgets requires wchar_t to use expat, disabling" >&2;}
26226 wxUSE_EXPAT=no
26227 fi
26228 if test "$wxUSE_XML" != "no"; then
26229 { echo "$as_me:$LINENO: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&5
26230 echo "$as_me: WARNING: wxWidgets requires wchar_t to use xml, disabling" >&2;}
26231 wxUSE_XML=no
26232 fi
26233 fi
26234
26235 if test "$wxUSE_EXPAT" != "no"; then
26236 wxUSE_XML=yes
26237 cat >>confdefs.h <<\_ACEOF
26238 #define wxUSE_EXPAT 1
26239 _ACEOF
26240
26241 cat >>confdefs.h <<\_ACEOF
26242 #define wxUSE_XML 1
26243 _ACEOF
26244
26245
26246 if test "$wxUSE_EXPAT" = "sys" -o "$wxUSE_EXPAT" = "yes" ; then
26247 { echo "$as_me:$LINENO: checking for expat.h" >&5
26248 echo $ECHO_N "checking for expat.h... $ECHO_C" >&6; }
26249 if test "${ac_cv_header_expat_h+set}" = set; then
26250 echo $ECHO_N "(cached) $ECHO_C" >&6
26251 else
26252 cat >conftest.$ac_ext <<_ACEOF
26253 /* confdefs.h. */
26254 _ACEOF
26255 cat confdefs.h >>conftest.$ac_ext
26256 cat >>conftest.$ac_ext <<_ACEOF
26257 /* end confdefs.h. */
26258
26259
26260 #include <expat.h>
26261 _ACEOF
26262 rm -f conftest.$ac_objext
26263 if { (ac_try="$ac_compile"
26264 case "(($ac_try" in
26265 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26266 *) ac_try_echo=$ac_try;;
26267 esac
26268 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26269 (eval "$ac_compile") 2>conftest.er1
26270 ac_status=$?
26271 grep -v '^ *+' conftest.er1 >conftest.err
26272 rm -f conftest.er1
26273 cat conftest.err >&5
26274 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26275 (exit $ac_status); } && {
26276 test -z "$ac_c_werror_flag" ||
26277 test ! -s conftest.err
26278 } && test -s conftest.$ac_objext; then
26279 ac_cv_header_expat_h=yes
26280 else
26281 echo "$as_me: failed program was:" >&5
26282 sed 's/^/| /' conftest.$ac_ext >&5
26283
26284 ac_cv_header_expat_h=no
26285 fi
26286
26287 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26288 fi
26289 { echo "$as_me:$LINENO: result: $ac_cv_header_expat_h" >&5
26290 echo "${ECHO_T}$ac_cv_header_expat_h" >&6; }
26291 if test $ac_cv_header_expat_h = yes; then
26292 found_expat_h=1
26293 fi
26294
26295
26296 if test "x$found_expat_h" = "x1"; then
26297 { echo "$as_me:$LINENO: checking if expat.h is valid C++ header" >&5
26298 echo $ECHO_N "checking if expat.h is valid C++ header... $ECHO_C" >&6; }
26299 if test "${wx_cv_expat_is_not_broken+set}" = set; then
26300 echo $ECHO_N "(cached) $ECHO_C" >&6
26301 else
26302
26303 ac_ext=cpp
26304 ac_cpp='$CXXCPP $CPPFLAGS'
26305 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26306 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26307 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
26308
26309 cat >conftest.$ac_ext <<_ACEOF
26310 /* confdefs.h. */
26311 _ACEOF
26312 cat confdefs.h >>conftest.$ac_ext
26313 cat >>conftest.$ac_ext <<_ACEOF
26314 /* end confdefs.h. */
26315 #include <expat.h>
26316 int
26317 main ()
26318 {
26319
26320 ;
26321 return 0;
26322 }
26323 _ACEOF
26324 rm -f conftest.$ac_objext
26325 if { (ac_try="$ac_compile"
26326 case "(($ac_try" in
26327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26328 *) ac_try_echo=$ac_try;;
26329 esac
26330 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26331 (eval "$ac_compile") 2>conftest.er1
26332 ac_status=$?
26333 grep -v '^ *+' conftest.er1 >conftest.err
26334 rm -f conftest.er1
26335 cat conftest.err >&5
26336 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26337 (exit $ac_status); } && {
26338 test -z "$ac_cxx_werror_flag" ||
26339 test ! -s conftest.err
26340 } && test -s conftest.$ac_objext; then
26341 wx_cv_expat_is_not_broken=yes
26342 else
26343 echo "$as_me: failed program was:" >&5
26344 sed 's/^/| /' conftest.$ac_ext >&5
26345
26346 wx_cv_expat_is_not_broken=no
26347
26348 fi
26349
26350 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26351 ac_ext=c
26352 ac_cpp='$CPP $CPPFLAGS'
26353 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
26354 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
26355 ac_compiler_gnu=$ac_cv_c_compiler_gnu
26356
26357
26358
26359 fi
26360 { echo "$as_me:$LINENO: result: $wx_cv_expat_is_not_broken" >&5
26361 echo "${ECHO_T}$wx_cv_expat_is_not_broken" >&6; }
26362 if test "$wx_cv_expat_is_not_broken" = "yes" ; then
26363 { echo "$as_me:$LINENO: checking for XML_ParserCreate in -lexpat" >&5
26364 echo $ECHO_N "checking for XML_ParserCreate in -lexpat... $ECHO_C" >&6; }
26365 if test "${ac_cv_lib_expat_XML_ParserCreate+set}" = set; then
26366 echo $ECHO_N "(cached) $ECHO_C" >&6
26367 else
26368 ac_check_lib_save_LIBS=$LIBS
26369 LIBS="-lexpat $LIBS"
26370 cat >conftest.$ac_ext <<_ACEOF
26371 /* confdefs.h. */
26372 _ACEOF
26373 cat confdefs.h >>conftest.$ac_ext
26374 cat >>conftest.$ac_ext <<_ACEOF
26375 /* end confdefs.h. */
26376
26377 /* Override any GCC internal prototype to avoid an error.
26378 Use char because int might match the return type of a GCC
26379 builtin and then its argument prototype would still apply. */
26380 #ifdef __cplusplus
26381 extern "C"
26382 #endif
26383 char XML_ParserCreate ();
26384 int
26385 main ()
26386 {
26387 return XML_ParserCreate ();
26388 ;
26389 return 0;
26390 }
26391 _ACEOF
26392 rm -f conftest.$ac_objext conftest$ac_exeext
26393 if { (ac_try="$ac_link"
26394 case "(($ac_try" in
26395 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26396 *) ac_try_echo=$ac_try;;
26397 esac
26398 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26399 (eval "$ac_link") 2>conftest.er1
26400 ac_status=$?
26401 grep -v '^ *+' conftest.er1 >conftest.err
26402 rm -f conftest.er1
26403 cat conftest.err >&5
26404 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26405 (exit $ac_status); } && {
26406 test -z "$ac_c_werror_flag" ||
26407 test ! -s conftest.err
26408 } && test -s conftest$ac_exeext &&
26409 $as_test_x conftest$ac_exeext; then
26410 ac_cv_lib_expat_XML_ParserCreate=yes
26411 else
26412 echo "$as_me: failed program was:" >&5
26413 sed 's/^/| /' conftest.$ac_ext >&5
26414
26415 ac_cv_lib_expat_XML_ParserCreate=no
26416 fi
26417
26418 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26419 conftest$ac_exeext conftest.$ac_ext
26420 LIBS=$ac_check_lib_save_LIBS
26421 fi
26422 { echo "$as_me:$LINENO: result: $ac_cv_lib_expat_XML_ParserCreate" >&5
26423 echo "${ECHO_T}$ac_cv_lib_expat_XML_ParserCreate" >&6; }
26424 if test $ac_cv_lib_expat_XML_ParserCreate = yes; then
26425 EXPAT_LINK=" -lexpat"
26426 fi
26427
26428 fi
26429 fi
26430 if test "x$EXPAT_LINK" = "x" ; then
26431 if test "$wxUSE_EXPAT" = "sys" ; then
26432 { { echo "$as_me:$LINENO: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&5
26433 echo "$as_me: error: system expat library not found! Use --with-expat=builtin to use built-in version" >&2;}
26434 { (exit 1); exit 1; }; }
26435 else
26436 { echo "$as_me:$LINENO: WARNING: system expat library not found, will use built-in instead" >&5
26437 echo "$as_me: WARNING: system expat library not found, will use built-in instead" >&2;}
26438 wxUSE_EXPAT=builtin
26439 fi
26440 else
26441 wxUSE_EXPAT=sys
26442 fi
26443 fi
26444 if test "$wxUSE_EXPAT" = "builtin" ; then
26445 subdirs="$subdirs src/expat"
26446
26447 fi
26448 fi
26449
26450
26451
26452 if test "$wxUSE_LIBMSPACK" != "no"; then
26453 { echo "$as_me:$LINENO: checking for mspack.h" >&5
26454 echo $ECHO_N "checking for mspack.h... $ECHO_C" >&6; }
26455 if test "${ac_cv_header_mspack_h+set}" = set; then
26456 echo $ECHO_N "(cached) $ECHO_C" >&6
26457 else
26458 cat >conftest.$ac_ext <<_ACEOF
26459 /* confdefs.h. */
26460 _ACEOF
26461 cat confdefs.h >>conftest.$ac_ext
26462 cat >>conftest.$ac_ext <<_ACEOF
26463 /* end confdefs.h. */
26464
26465
26466 #include <mspack.h>
26467 _ACEOF
26468 rm -f conftest.$ac_objext
26469 if { (ac_try="$ac_compile"
26470 case "(($ac_try" in
26471 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26472 *) ac_try_echo=$ac_try;;
26473 esac
26474 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26475 (eval "$ac_compile") 2>conftest.er1
26476 ac_status=$?
26477 grep -v '^ *+' conftest.er1 >conftest.err
26478 rm -f conftest.er1
26479 cat conftest.err >&5
26480 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26481 (exit $ac_status); } && {
26482 test -z "$ac_c_werror_flag" ||
26483 test ! -s conftest.err
26484 } && test -s conftest.$ac_objext; then
26485 ac_cv_header_mspack_h=yes
26486 else
26487 echo "$as_me: failed program was:" >&5
26488 sed 's/^/| /' conftest.$ac_ext >&5
26489
26490 ac_cv_header_mspack_h=no
26491 fi
26492
26493 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26494 fi
26495 { echo "$as_me:$LINENO: result: $ac_cv_header_mspack_h" >&5
26496 echo "${ECHO_T}$ac_cv_header_mspack_h" >&6; }
26497 if test $ac_cv_header_mspack_h = yes; then
26498 found_mspack_h=1
26499 fi
26500
26501
26502 if test "x$found_mspack_h" = "x1"; then
26503 { echo "$as_me:$LINENO: checking for mspack_create_chm_decompressor in -lmspack" >&5
26504 echo $ECHO_N "checking for mspack_create_chm_decompressor in -lmspack... $ECHO_C" >&6; }
26505 if test "${ac_cv_lib_mspack_mspack_create_chm_decompressor+set}" = set; then
26506 echo $ECHO_N "(cached) $ECHO_C" >&6
26507 else
26508 ac_check_lib_save_LIBS=$LIBS
26509 LIBS="-lmspack $LIBS"
26510 cat >conftest.$ac_ext <<_ACEOF
26511 /* confdefs.h. */
26512 _ACEOF
26513 cat confdefs.h >>conftest.$ac_ext
26514 cat >>conftest.$ac_ext <<_ACEOF
26515 /* end confdefs.h. */
26516
26517 /* Override any GCC internal prototype to avoid an error.
26518 Use char because int might match the return type of a GCC
26519 builtin and then its argument prototype would still apply. */
26520 #ifdef __cplusplus
26521 extern "C"
26522 #endif
26523 char mspack_create_chm_decompressor ();
26524 int
26525 main ()
26526 {
26527 return mspack_create_chm_decompressor ();
26528 ;
26529 return 0;
26530 }
26531 _ACEOF
26532 rm -f conftest.$ac_objext conftest$ac_exeext
26533 if { (ac_try="$ac_link"
26534 case "(($ac_try" in
26535 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26536 *) ac_try_echo=$ac_try;;
26537 esac
26538 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26539 (eval "$ac_link") 2>conftest.er1
26540 ac_status=$?
26541 grep -v '^ *+' conftest.er1 >conftest.err
26542 rm -f conftest.er1
26543 cat conftest.err >&5
26544 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26545 (exit $ac_status); } && {
26546 test -z "$ac_c_werror_flag" ||
26547 test ! -s conftest.err
26548 } && test -s conftest$ac_exeext &&
26549 $as_test_x conftest$ac_exeext; then
26550 ac_cv_lib_mspack_mspack_create_chm_decompressor=yes
26551 else
26552 echo "$as_me: failed program was:" >&5
26553 sed 's/^/| /' conftest.$ac_ext >&5
26554
26555 ac_cv_lib_mspack_mspack_create_chm_decompressor=no
26556 fi
26557
26558 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
26559 conftest$ac_exeext conftest.$ac_ext
26560 LIBS=$ac_check_lib_save_LIBS
26561 fi
26562 { echo "$as_me:$LINENO: result: $ac_cv_lib_mspack_mspack_create_chm_decompressor" >&5
26563 echo "${ECHO_T}$ac_cv_lib_mspack_mspack_create_chm_decompressor" >&6; }
26564 if test $ac_cv_lib_mspack_mspack_create_chm_decompressor = yes; then
26565 MSPACK_LINK=" -lmspack"
26566 fi
26567
26568 fi
26569 if test "x$MSPACK_LINK" = "x" ; then
26570 wxUSE_LIBMSPACK=no
26571 fi
26572 fi
26573
26574 if test "$wxUSE_LIBMSPACK" != "no"; then
26575 cat >>confdefs.h <<\_ACEOF
26576 #define wxUSE_LIBMSPACK 1
26577 _ACEOF
26578
26579 fi
26580
26581
26582
26583 AFMINSTALL=
26584 WIN32INSTALL=
26585
26586 TOOLKIT=
26587 TOOLKIT_INCLUDE=
26588 WIDGET_SET=
26589
26590 if test "$USE_WIN32" = 1 ; then
26591 { echo "$as_me:$LINENO: checking for w32api.h" >&5
26592 echo $ECHO_N "checking for w32api.h... $ECHO_C" >&6; }
26593 if test "${ac_cv_header_w32api_h+set}" = set; then
26594 echo $ECHO_N "(cached) $ECHO_C" >&6
26595 else
26596 cat >conftest.$ac_ext <<_ACEOF
26597 /* confdefs.h. */
26598 _ACEOF
26599 cat confdefs.h >>conftest.$ac_ext
26600 cat >>conftest.$ac_ext <<_ACEOF
26601 /* end confdefs.h. */
26602
26603
26604 #include <w32api.h>
26605 _ACEOF
26606 rm -f conftest.$ac_objext
26607 if { (ac_try="$ac_compile"
26608 case "(($ac_try" in
26609 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26610 *) ac_try_echo=$ac_try;;
26611 esac
26612 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26613 (eval "$ac_compile") 2>conftest.er1
26614 ac_status=$?
26615 grep -v '^ *+' conftest.er1 >conftest.err
26616 rm -f conftest.er1
26617 cat conftest.err >&5
26618 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26619 (exit $ac_status); } && {
26620 test -z "$ac_c_werror_flag" ||
26621 test ! -s conftest.err
26622 } && test -s conftest.$ac_objext; then
26623 ac_cv_header_w32api_h=yes
26624 else
26625 echo "$as_me: failed program was:" >&5
26626 sed 's/^/| /' conftest.$ac_ext >&5
26627
26628 ac_cv_header_w32api_h=no
26629 fi
26630
26631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26632 fi
26633 { echo "$as_me:$LINENO: result: $ac_cv_header_w32api_h" >&5
26634 echo "${ECHO_T}$ac_cv_header_w32api_h" >&6; }
26635
26636
26637 { echo "$as_me:$LINENO: checking for windows.h" >&5
26638 echo $ECHO_N "checking for windows.h... $ECHO_C" >&6; }
26639 if test "${ac_cv_header_windows_h+set}" = set; then
26640 echo $ECHO_N "(cached) $ECHO_C" >&6
26641 else
26642 cat >conftest.$ac_ext <<_ACEOF
26643 /* confdefs.h. */
26644 _ACEOF
26645 cat confdefs.h >>conftest.$ac_ext
26646 cat >>conftest.$ac_ext <<_ACEOF
26647 /* end confdefs.h. */
26648
26649
26650 #include <windows.h>
26651 _ACEOF
26652 rm -f conftest.$ac_objext
26653 if { (ac_try="$ac_compile"
26654 case "(($ac_try" in
26655 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26656 *) ac_try_echo=$ac_try;;
26657 esac
26658 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26659 (eval "$ac_compile") 2>conftest.er1
26660 ac_status=$?
26661 grep -v '^ *+' conftest.er1 >conftest.err
26662 rm -f conftest.er1
26663 cat conftest.err >&5
26664 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26665 (exit $ac_status); } && {
26666 test -z "$ac_c_werror_flag" ||
26667 test ! -s conftest.err
26668 } && test -s conftest.$ac_objext; then
26669 ac_cv_header_windows_h=yes
26670 else
26671 echo "$as_me: failed program was:" >&5
26672 sed 's/^/| /' conftest.$ac_ext >&5
26673
26674 ac_cv_header_windows_h=no
26675 fi
26676
26677 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26678 fi
26679 { echo "$as_me:$LINENO: result: $ac_cv_header_windows_h" >&5
26680 echo "${ECHO_T}$ac_cv_header_windows_h" >&6; }
26681 if test $ac_cv_header_windows_h = yes; then
26682 :
26683 else
26684
26685 { { echo "$as_me:$LINENO: error: please set CFLAGS to contain the location of windows.h" >&5
26686 echo "$as_me: error: please set CFLAGS to contain the location of windows.h" >&2;}
26687 { (exit 1); exit 1; }; }
26688
26689 fi
26690
26691
26692
26693 LIBS="$LIBS -lwinspool -lwinmm -lshell32 -lcomctl32 -lcomdlg32 -lctl3d32 -ladvapi32 -lwsock32 -lgdi32"
26694
26695 if test "$wxUSE_ACCESSIBILITY" = "yes" ; then
26696 LIBS="$LIBS -loleacc"
26697 fi
26698
26699 case "${host}" in
26700 *-*-cygwin* )
26701 LIBS="$LIBS -lkernel32 -luser32"
26702 esac
26703
26704 if test "$wxUSE_ODBC" = "sys" ; then
26705 wxUSE_ODBC = "yes"
26706 fi
26707 if test "$wxUSE_ODBC" = "yes" ; then
26708 LIBS=" -lodbc32 -lole32 -loleaut32 $LIBS"
26709 cat >>confdefs.h <<\_ACEOF
26710 #define wxUSE_ODBC 1
26711 _ACEOF
26712
26713 fi
26714
26715 RESFLAGS="--include-dir \$(top_srcdir)/include --include-dir \$(top_srcdir)/\$(program_dir) --define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26716 RESPROGRAMOBJ="\$(PROGRAM)_resources.o"
26717
26718 WXCONFIG_RESFLAGS="--define __WIN32__ --define __WIN95__ --define __GNUWIN32__"
26719
26720 WIN32INSTALL=win32install
26721
26722 { echo "$as_me:$LINENO: checking for pbt.h" >&5
26723 echo $ECHO_N "checking for pbt.h... $ECHO_C" >&6; }
26724 if test "${ac_cv_header_pbt_h+set}" = set; then
26725 echo $ECHO_N "(cached) $ECHO_C" >&6
26726 else
26727 cat >conftest.$ac_ext <<_ACEOF
26728 /* confdefs.h. */
26729 _ACEOF
26730 cat confdefs.h >>conftest.$ac_ext
26731 cat >>conftest.$ac_ext <<_ACEOF
26732 /* end confdefs.h. */
26733
26734
26735 #include <pbt.h>
26736 _ACEOF
26737 rm -f conftest.$ac_objext
26738 if { (ac_try="$ac_compile"
26739 case "(($ac_try" in
26740 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
26741 *) ac_try_echo=$ac_try;;
26742 esac
26743 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
26744 (eval "$ac_compile") 2>conftest.er1
26745 ac_status=$?
26746 grep -v '^ *+' conftest.er1 >conftest.err
26747 rm -f conftest.er1
26748 cat conftest.err >&5
26749 echo "$as_me:$LINENO: \$? = $ac_status" >&5
26750 (exit $ac_status); } && {
26751 test -z "$ac_c_werror_flag" ||
26752 test ! -s conftest.err
26753 } && test -s conftest.$ac_objext; then
26754 ac_cv_header_pbt_h=yes
26755 else
26756 echo "$as_me: failed program was:" >&5
26757 sed 's/^/| /' conftest.$ac_ext >&5
26758
26759 ac_cv_header_pbt_h=no
26760 fi
26761
26762 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
26763 fi
26764 { echo "$as_me:$LINENO: result: $ac_cv_header_pbt_h" >&5
26765 echo "${ECHO_T}$ac_cv_header_pbt_h" >&6; }
26766 if test $ac_cv_header_pbt_h = yes; then
26767 :
26768 else
26769 cat >>confdefs.h <<\_ACEOF
26770 #define NEED_PBT_H 1
26771 _ACEOF
26772
26773 fi
26774
26775
26776 fi
26777
26778 if test "$wxUSE_GUI" = "yes"; then
26779 USE_GUI=1
26780
26781 GUI_TK_LIBRARY=
26782
26783 WXGTK12=
26784 WXGTK127=
26785 WXGTK20=
26786 WXGPE=
26787
26788 if test "$wxUSE_COCOA" = 1 ; then
26789 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes"; then
26790 { echo "$as_me:$LINENO: WARNING: Printing not supported under wxCocoa yet, disabled" >&5
26791 echo "$as_me: WARNING: Printing not supported under wxCocoa yet, disabled" >&2;}
26792 wxUSE_PRINTING_ARCHITECTURE=no
26793 fi
26794 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
26795 { echo "$as_me:$LINENO: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&5
26796 echo "$as_me: WARNING: Drag and Drop not supported under wxCocoa yet, disabled" >&2;}
26797 wxUSE_DRAG_AND_DROP=no
26798 fi
26799 if test "$wxUSE_DRAGIMAGE" = "yes"; then
26800 { echo "$as_me:$LINENO: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&5
26801 echo "$as_me: WARNING: wxDragImage not supported under wxCocoa yet, disabled" >&2;}
26802 wxUSE_DRAGIMAGE=no
26803 fi
26804 fi
26805
26806 if test "$wxUSE_MSW" = 1 ; then
26807 TOOLKIT=MSW
26808 GUIDIST=MSW_DIST
26809
26810 case "${host}" in
26811 *-*-mingw32* )
26812 WXCONFIG_LDFLAGS_GUI="$LDFLAGS -Wl,--subsystem,windows -mwindows"
26813 esac
26814 fi
26815
26816 if test "$wxUSE_GTK" = 1; then
26817 { echo "$as_me:$LINENO: checking for GTK+ version" >&5
26818 echo $ECHO_N "checking for GTK+ version... $ECHO_C" >&6; }
26819
26820 gtk_version_cached=1
26821 if test "${wx_cv_lib_gtk+set}" = set; then
26822 echo $ECHO_N "(cached) $ECHO_C" >&6
26823 else
26824
26825 gtk_version_cached=0
26826 { echo "$as_me:$LINENO: result: " >&5
26827 echo "${ECHO_T}" >&6; }
26828
26829 GTK_MODULES=
26830 if test "$wxUSE_THREADS" = "yes"; then
26831 GTK_MODULES=gthread
26832 fi
26833
26834 wx_cv_lib_gtk=
26835 if test "x$wxGTK_VERSION" != "x1"
26836 then
26837 case "${host}" in
26838 *-*-solaris2* )
26839 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
26840 enable_gtktest=no
26841 fi
26842 esac
26843
26844 # Check whether --enable-gtktest was given.
26845 if test "${enable_gtktest+set}" = set; then
26846 enableval=$enable_gtktest;
26847 else
26848 enable_gtktest=yes
26849 fi
26850
26851
26852 pkg_config_args=gtk+-2.0
26853 for module in . $GTK_MODULES
26854 do
26855 case "$module" in
26856 gthread)
26857 pkg_config_args="$pkg_config_args gthread-2.0"
26858 ;;
26859 esac
26860 done
26861
26862 no_gtk=""
26863
26864 # Extract the first word of "pkg-config", so it can be a program name with args.
26865 set dummy pkg-config; ac_word=$2
26866 { echo "$as_me:$LINENO: checking for $ac_word" >&5
26867 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
26868 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
26869 echo $ECHO_N "(cached) $ECHO_C" >&6
26870 else
26871 case $PKG_CONFIG in
26872 [\\/]* | ?:[\\/]*)
26873 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
26874 ;;
26875 *)
26876 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
26877 for as_dir in $PATH
26878 do
26879 IFS=$as_save_IFS
26880 test -z "$as_dir" && as_dir=.
26881 for ac_exec_ext in '' $ac_executable_extensions; do
26882 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
26883 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
26884 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
26885 break 2
26886 fi
26887 done
26888 done
26889 IFS=$as_save_IFS
26890
26891 test -z "$ac_cv_path_PKG_CONFIG" && ac_cv_path_PKG_CONFIG="no"
26892 ;;
26893 esac
26894 fi
26895 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
26896 if test -n "$PKG_CONFIG"; then
26897 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
26898 echo "${ECHO_T}$PKG_CONFIG" >&6; }
26899 else
26900 { echo "$as_me:$LINENO: result: no" >&5
26901 echo "${ECHO_T}no" >&6; }
26902 fi
26903
26904
26905
26906 if test x$PKG_CONFIG != xno ; then
26907 if pkg-config --atleast-pkgconfig-version 0.7 ; then
26908 :
26909 else
26910 echo "*** pkg-config too old; version 0.7 or better required."
26911 no_gtk=yes
26912 PKG_CONFIG=no
26913 fi
26914 else
26915 no_gtk=yes
26916 fi
26917
26918 min_gtk_version=2.0.0
26919 { echo "$as_me:$LINENO: checking for GTK+ - version >= $min_gtk_version" >&5
26920 echo $ECHO_N "checking for GTK+ - version >= $min_gtk_version... $ECHO_C" >&6; }
26921
26922 if test x$PKG_CONFIG != xno ; then
26923 ## don't try to run the test against uninstalled libtool libs
26924 if $PKG_CONFIG --uninstalled $pkg_config_args; then
26925 echo "Will use uninstalled version of GTK+ found in PKG_CONFIG_PATH"
26926 enable_gtktest=no
26927 fi
26928
26929 if $PKG_CONFIG --atleast-version $min_gtk_version $pkg_config_args; then
26930 :
26931 else
26932 no_gtk=yes
26933 fi
26934 fi
26935
26936 if test x"$no_gtk" = x ; then
26937 GTK_CFLAGS=`$PKG_CONFIG $pkg_config_args --cflags`
26938 GTK_LIBS=`$PKG_CONFIG $pkg_config_args --libs`
26939 gtk_config_major_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26940 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
26941 gtk_config_minor_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26942 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
26943 gtk_config_micro_version=`$PKG_CONFIG --modversion gtk+-2.0 | \
26944 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
26945 if test "x$enable_gtktest" = "xyes" ; then
26946 ac_save_CFLAGS="$CFLAGS"
26947 ac_save_LIBS="$LIBS"
26948 CFLAGS="$CFLAGS $GTK_CFLAGS"
26949 LIBS="$GTK_LIBS $LIBS"
26950 rm -f conf.gtktest
26951 if test "$cross_compiling" = yes; then
26952 echo $ac_n "cross compiling; assumed OK... $ac_c"
26953 else
26954 cat >conftest.$ac_ext <<_ACEOF
26955 /* confdefs.h. */
26956 _ACEOF
26957 cat confdefs.h >>conftest.$ac_ext
26958 cat >>conftest.$ac_ext <<_ACEOF
26959 /* end confdefs.h. */
26960
26961 #include <gtk/gtk.h>
26962 #include <stdio.h>
26963 #include <stdlib.h>
26964
26965 int
26966 main ()
26967 {
26968 int major, minor, micro;
26969 char *tmp_version;
26970
26971 system ("touch conf.gtktest");
26972
26973 /* HP/UX 9 (%@#!) writes to sscanf strings */
26974 tmp_version = g_strdup("$min_gtk_version");
26975 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
26976 printf("%s, bad version string\n", "$min_gtk_version");
26977 exit(1);
26978 }
26979
26980 if ((gtk_major_version != $gtk_config_major_version) ||
26981 (gtk_minor_version != $gtk_config_minor_version) ||
26982 (gtk_micro_version != $gtk_config_micro_version))
26983 {
26984 printf("\n*** 'pkg-config --modversion gtk+-2.0' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
26985 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
26986 gtk_major_version, gtk_minor_version, gtk_micro_version);
26987 printf ("*** was found! If pkg-config was correct, then it is best\n");
26988 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
26989 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
26990 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
26991 printf("*** required on your system.\n");
26992 printf("*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH\n");
26993 printf("*** to point to the correct configuration files\n");
26994 }
26995 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
26996 (gtk_minor_version != GTK_MINOR_VERSION) ||
26997 (gtk_micro_version != GTK_MICRO_VERSION))
26998 {
26999 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27000 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27001 printf("*** library (version %d.%d.%d)\n",
27002 gtk_major_version, gtk_minor_version, gtk_micro_version);
27003 }
27004 else
27005 {
27006 if ((gtk_major_version > major) ||
27007 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27008 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27009 {
27010 return 0;
27011 }
27012 else
27013 {
27014 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27015 gtk_major_version, gtk_minor_version, gtk_micro_version);
27016 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27017 major, minor, micro);
27018 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27019 printf("***\n");
27020 printf("*** If you have already installed a sufficiently new version, this error\n");
27021 printf("*** probably means that the wrong copy of the pkg-config shell script is\n");
27022 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27023 printf("*** of GTK+, but you can also set the PKG_CONFIG environment to point to the\n");
27024 printf("*** correct copy of pkg-config. (In this case, you will have to\n");
27025 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27026 printf("*** so that the correct libraries are found at run-time))\n");
27027 }
27028 }
27029 return 1;
27030 }
27031
27032 _ACEOF
27033 rm -f conftest$ac_exeext
27034 if { (ac_try="$ac_link"
27035 case "(($ac_try" in
27036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27037 *) ac_try_echo=$ac_try;;
27038 esac
27039 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27040 (eval "$ac_link") 2>&5
27041 ac_status=$?
27042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27043 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27044 { (case "(($ac_try" in
27045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27046 *) ac_try_echo=$ac_try;;
27047 esac
27048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27049 (eval "$ac_try") 2>&5
27050 ac_status=$?
27051 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27052 (exit $ac_status); }; }; then
27053 :
27054 else
27055 echo "$as_me: program exited with status $ac_status" >&5
27056 echo "$as_me: failed program was:" >&5
27057 sed 's/^/| /' conftest.$ac_ext >&5
27058
27059 ( exit $ac_status )
27060 no_gtk=yes
27061 fi
27062 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27063 fi
27064
27065
27066 CFLAGS="$ac_save_CFLAGS"
27067 LIBS="$ac_save_LIBS"
27068 fi
27069 fi
27070 if test "x$no_gtk" = x ; then
27071 { echo "$as_me:$LINENO: result: yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&5
27072 echo "${ECHO_T}yes (version $gtk_config_major_version.$gtk_config_minor_version.$gtk_config_micro_version)" >&6; }
27073 wx_cv_lib_gtk=2.0
27074 else
27075 { echo "$as_me:$LINENO: result: no" >&5
27076 echo "${ECHO_T}no" >&6; }
27077 if test "$PKG_CONFIG" = "no" ; then
27078 echo "*** A new enough version of pkg-config was not found."
27079 echo "*** See http://pkgconfig.sourceforge.net"
27080 else
27081 if test -f conf.gtktest ; then
27082 :
27083 else
27084 echo "*** Could not run GTK+ test program, checking why..."
27085 ac_save_CFLAGS="$CFLAGS"
27086 ac_save_LIBS="$LIBS"
27087 CFLAGS="$CFLAGS $GTK_CFLAGS"
27088 LIBS="$LIBS $GTK_LIBS"
27089 cat >conftest.$ac_ext <<_ACEOF
27090 /* confdefs.h. */
27091 _ACEOF
27092 cat confdefs.h >>conftest.$ac_ext
27093 cat >>conftest.$ac_ext <<_ACEOF
27094 /* end confdefs.h. */
27095
27096 #include <gtk/gtk.h>
27097 #include <stdio.h>
27098
27099 int
27100 main ()
27101 {
27102 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27103 ;
27104 return 0;
27105 }
27106 _ACEOF
27107 rm -f conftest.$ac_objext conftest$ac_exeext
27108 if { (ac_try="$ac_link"
27109 case "(($ac_try" in
27110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27111 *) ac_try_echo=$ac_try;;
27112 esac
27113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27114 (eval "$ac_link") 2>conftest.er1
27115 ac_status=$?
27116 grep -v '^ *+' conftest.er1 >conftest.err
27117 rm -f conftest.er1
27118 cat conftest.err >&5
27119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27120 (exit $ac_status); } && {
27121 test -z "$ac_c_werror_flag" ||
27122 test ! -s conftest.err
27123 } && test -s conftest$ac_exeext &&
27124 $as_test_x conftest$ac_exeext; then
27125 echo "*** The test program compiled, but did not run. This usually means"
27126 echo "*** that the run-time linker is not finding GTK+ or finding the wrong"
27127 echo "*** version of GTK+. If it is not finding GTK+, you'll need to set your"
27128 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27129 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27130 echo "*** is required on your system"
27131 echo "***"
27132 echo "*** If you have an old version installed, it is best to remove it, although"
27133 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27134 else
27135 echo "$as_me: failed program was:" >&5
27136 sed 's/^/| /' conftest.$ac_ext >&5
27137
27138 echo "*** The test program failed to compile or link. See the file config.log for the"
27139 echo "*** exact error that occured. This usually means GTK+ is incorrectly installed."
27140 fi
27141
27142 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27143 conftest$ac_exeext conftest.$ac_ext
27144 CFLAGS="$ac_save_CFLAGS"
27145 LIBS="$ac_save_LIBS"
27146 fi
27147 fi
27148 GTK_CFLAGS=""
27149 GTK_LIBS=""
27150 :
27151 fi
27152
27153
27154 rm -f conf.gtktest
27155
27156
27157 case "${host}" in
27158 *-*-solaris2* )
27159 if test "$wxUSE_THREADS" = "yes" -a "$GCC" = yes; then
27160 GTK_CFLAGS=`echo $GTK_CFLAGS | sed 's/-mt//'`
27161 GTK_LIBS=`echo $GTK_LIBS | sed 's/-mt//'`
27162 fi
27163 if test "$wxUSE_SHARED" != "yes"; then
27164 GTK_LIBS="$GTK_LIBS -lX11"
27165 fi
27166 esac
27167 fi
27168
27169 if test -z "$wx_cv_lib_gtk"; then
27170 if test "x$wxGTK_VERSION" = "x1" -o "x$wxGTK_VERSION" = "xany" ; then
27171
27172 # Check whether --with-gtk-prefix was given.
27173 if test "${with_gtk_prefix+set}" = set; then
27174 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27175 else
27176 gtk_config_prefix=""
27177 fi
27178
27179
27180 # Check whether --with-gtk-exec-prefix was given.
27181 if test "${with_gtk_exec_prefix+set}" = set; then
27182 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27183 else
27184 gtk_config_exec_prefix=""
27185 fi
27186
27187 # Check whether --enable-gtktest was given.
27188 if test "${enable_gtktest+set}" = set; then
27189 enableval=$enable_gtktest;
27190 else
27191 enable_gtktest=yes
27192 fi
27193
27194
27195 for module in . $GTK_MODULES
27196 do
27197 case "$module" in
27198 gthread)
27199 gtk_config_args="$gtk_config_args gthread"
27200 ;;
27201 esac
27202 done
27203
27204 if test x$gtk_config_exec_prefix != x ; then
27205 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27206 if test x${GTK_CONFIG+set} != xset ; then
27207 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27208 fi
27209 fi
27210 if test x$gtk_config_prefix != x ; then
27211 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27212 if test x${GTK_CONFIG+set} != xset ; then
27213 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27214 fi
27215 fi
27216
27217 # Extract the first word of "gtk-config", so it can be a program name with args.
27218 set dummy gtk-config; ac_word=$2
27219 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27220 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27221 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27222 echo $ECHO_N "(cached) $ECHO_C" >&6
27223 else
27224 case $GTK_CONFIG in
27225 [\\/]* | ?:[\\/]*)
27226 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27227 ;;
27228 *)
27229 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27230 for as_dir in $PATH
27231 do
27232 IFS=$as_save_IFS
27233 test -z "$as_dir" && as_dir=.
27234 for ac_exec_ext in '' $ac_executable_extensions; do
27235 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27236 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27237 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27238 break 2
27239 fi
27240 done
27241 done
27242 IFS=$as_save_IFS
27243
27244 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27245 ;;
27246 esac
27247 fi
27248 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27249 if test -n "$GTK_CONFIG"; then
27250 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27251 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27252 else
27253 { echo "$as_me:$LINENO: result: no" >&5
27254 echo "${ECHO_T}no" >&6; }
27255 fi
27256
27257
27258 min_gtk_version=1.2.7
27259 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27260 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27261 no_gtk=""
27262 if test "$GTK_CONFIG" = "no" ; then
27263 no_gtk=yes
27264 else
27265 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27266 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27267 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27268 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27269 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27270 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27271 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27272 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27273 if test "x$enable_gtktest" = "xyes" ; then
27274 ac_save_CFLAGS="$CFLAGS"
27275 ac_save_LIBS="$LIBS"
27276 CFLAGS="$CFLAGS $GTK_CFLAGS"
27277 LIBS="$GTK_LIBS $LIBS"
27278 rm -f conf.gtktest
27279 if test "$cross_compiling" = yes; then
27280 echo $ac_n "cross compiling; assumed OK... $ac_c"
27281 else
27282 cat >conftest.$ac_ext <<_ACEOF
27283 /* confdefs.h. */
27284 _ACEOF
27285 cat confdefs.h >>conftest.$ac_ext
27286 cat >>conftest.$ac_ext <<_ACEOF
27287 /* end confdefs.h. */
27288
27289 #include <gtk/gtk.h>
27290 #include <stdio.h>
27291 #include <stdlib.h>
27292
27293 int
27294 main ()
27295 {
27296 int major, minor, micro;
27297 char *tmp_version;
27298
27299 system ("touch conf.gtktest");
27300
27301 /* HP/UX 9 (%@#!) writes to sscanf strings */
27302 tmp_version = g_strdup("$min_gtk_version");
27303 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27304 printf("%s, bad version string\n", "$min_gtk_version");
27305 exit(1);
27306 }
27307
27308 if ((gtk_major_version != $gtk_config_major_version) ||
27309 (gtk_minor_version != $gtk_config_minor_version) ||
27310 (gtk_micro_version != $gtk_config_micro_version))
27311 {
27312 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27313 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27314 gtk_major_version, gtk_minor_version, gtk_micro_version);
27315 printf ("*** was found! If gtk-config was correct, then it is best\n");
27316 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27317 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27318 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27319 printf("*** required on your system.\n");
27320 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27321 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27322 printf("*** before re-running configure\n");
27323 }
27324 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27325 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27326 (gtk_minor_version != GTK_MINOR_VERSION) ||
27327 (gtk_micro_version != GTK_MICRO_VERSION))
27328 {
27329 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27330 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27331 printf("*** library (version %d.%d.%d)\n",
27332 gtk_major_version, gtk_minor_version, gtk_micro_version);
27333 }
27334 #endif /* defined (GTK_MAJOR_VERSION) ... */
27335 else
27336 {
27337 if ((gtk_major_version > major) ||
27338 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27339 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27340 {
27341 return 0;
27342 }
27343 else
27344 {
27345 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27346 gtk_major_version, gtk_minor_version, gtk_micro_version);
27347 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27348 major, minor, micro);
27349 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27350 printf("***\n");
27351 printf("*** If you have already installed a sufficiently new version, this error\n");
27352 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27353 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27354 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27355 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27356 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27357 printf("*** so that the correct libraries are found at run-time))\n");
27358 }
27359 }
27360 return 1;
27361 }
27362
27363 _ACEOF
27364 rm -f conftest$ac_exeext
27365 if { (ac_try="$ac_link"
27366 case "(($ac_try" in
27367 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27368 *) ac_try_echo=$ac_try;;
27369 esac
27370 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27371 (eval "$ac_link") 2>&5
27372 ac_status=$?
27373 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27374 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27375 { (case "(($ac_try" in
27376 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27377 *) ac_try_echo=$ac_try;;
27378 esac
27379 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27380 (eval "$ac_try") 2>&5
27381 ac_status=$?
27382 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27383 (exit $ac_status); }; }; then
27384 :
27385 else
27386 echo "$as_me: program exited with status $ac_status" >&5
27387 echo "$as_me: failed program was:" >&5
27388 sed 's/^/| /' conftest.$ac_ext >&5
27389
27390 ( exit $ac_status )
27391 no_gtk=yes
27392 fi
27393 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27394 fi
27395
27396
27397 CFLAGS="$ac_save_CFLAGS"
27398 LIBS="$ac_save_LIBS"
27399 fi
27400 fi
27401 if test "x$no_gtk" = x ; then
27402 { echo "$as_me:$LINENO: result: yes" >&5
27403 echo "${ECHO_T}yes" >&6; }
27404 wx_cv_lib_gtk=1.2.7
27405 else
27406 { echo "$as_me:$LINENO: result: no" >&5
27407 echo "${ECHO_T}no" >&6; }
27408 if test "$GTK_CONFIG" = "no" ; then
27409 echo "*** The gtk-config script installed by GTK could not be found"
27410 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27411 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27412 echo "*** full path to gtk-config."
27413 else
27414 if test -f conf.gtktest ; then
27415 :
27416 else
27417 echo "*** Could not run GTK test program, checking why..."
27418 CFLAGS="$CFLAGS $GTK_CFLAGS"
27419 LIBS="$LIBS $GTK_LIBS"
27420 cat >conftest.$ac_ext <<_ACEOF
27421 /* confdefs.h. */
27422 _ACEOF
27423 cat confdefs.h >>conftest.$ac_ext
27424 cat >>conftest.$ac_ext <<_ACEOF
27425 /* end confdefs.h. */
27426
27427 #include <gtk/gtk.h>
27428 #include <stdio.h>
27429
27430 int
27431 main ()
27432 {
27433 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27434 ;
27435 return 0;
27436 }
27437 _ACEOF
27438 rm -f conftest.$ac_objext conftest$ac_exeext
27439 if { (ac_try="$ac_link"
27440 case "(($ac_try" in
27441 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27442 *) ac_try_echo=$ac_try;;
27443 esac
27444 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27445 (eval "$ac_link") 2>conftest.er1
27446 ac_status=$?
27447 grep -v '^ *+' conftest.er1 >conftest.err
27448 rm -f conftest.er1
27449 cat conftest.err >&5
27450 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27451 (exit $ac_status); } && {
27452 test -z "$ac_c_werror_flag" ||
27453 test ! -s conftest.err
27454 } && test -s conftest$ac_exeext &&
27455 $as_test_x conftest$ac_exeext; then
27456 echo "*** The test program compiled, but did not run. This usually means"
27457 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27458 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27459 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27460 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27461 echo "*** is required on your system"
27462 echo "***"
27463 echo "*** If you have an old version installed, it is best to remove it, although"
27464 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27465 echo "***"
27466 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27467 echo "*** came with the system with the command"
27468 echo "***"
27469 echo "*** rpm --erase --nodeps gtk gtk-devel"
27470 else
27471 echo "$as_me: failed program was:" >&5
27472 sed 's/^/| /' conftest.$ac_ext >&5
27473
27474 echo "*** The test program failed to compile or link. See the file config.log for the"
27475 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27476 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27477 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27478 fi
27479
27480 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27481 conftest$ac_exeext conftest.$ac_ext
27482 CFLAGS="$ac_save_CFLAGS"
27483 LIBS="$ac_save_LIBS"
27484 fi
27485 fi
27486 GTK_CFLAGS=""
27487 GTK_LIBS=""
27488 :
27489 fi
27490
27491
27492 rm -f conf.gtktest
27493
27494
27495 if test -z "$wx_cv_lib_gtk"; then
27496
27497 # Check whether --with-gtk-prefix was given.
27498 if test "${with_gtk_prefix+set}" = set; then
27499 withval=$with_gtk_prefix; gtk_config_prefix="$withval"
27500 else
27501 gtk_config_prefix=""
27502 fi
27503
27504
27505 # Check whether --with-gtk-exec-prefix was given.
27506 if test "${with_gtk_exec_prefix+set}" = set; then
27507 withval=$with_gtk_exec_prefix; gtk_config_exec_prefix="$withval"
27508 else
27509 gtk_config_exec_prefix=""
27510 fi
27511
27512 # Check whether --enable-gtktest was given.
27513 if test "${enable_gtktest+set}" = set; then
27514 enableval=$enable_gtktest;
27515 else
27516 enable_gtktest=yes
27517 fi
27518
27519
27520 for module in . $GTK_MODULES
27521 do
27522 case "$module" in
27523 gthread)
27524 gtk_config_args="$gtk_config_args gthread"
27525 ;;
27526 esac
27527 done
27528
27529 if test x$gtk_config_exec_prefix != x ; then
27530 gtk_config_args="$gtk_config_args --exec-prefix=$gtk_config_exec_prefix"
27531 if test x${GTK_CONFIG+set} != xset ; then
27532 GTK_CONFIG=$gtk_config_exec_prefix/bin/gtk-config
27533 fi
27534 fi
27535 if test x$gtk_config_prefix != x ; then
27536 gtk_config_args="$gtk_config_args --prefix=$gtk_config_prefix"
27537 if test x${GTK_CONFIG+set} != xset ; then
27538 GTK_CONFIG=$gtk_config_prefix/bin/gtk-config
27539 fi
27540 fi
27541
27542 # Extract the first word of "gtk-config", so it can be a program name with args.
27543 set dummy gtk-config; ac_word=$2
27544 { echo "$as_me:$LINENO: checking for $ac_word" >&5
27545 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
27546 if test "${ac_cv_path_GTK_CONFIG+set}" = set; then
27547 echo $ECHO_N "(cached) $ECHO_C" >&6
27548 else
27549 case $GTK_CONFIG in
27550 [\\/]* | ?:[\\/]*)
27551 ac_cv_path_GTK_CONFIG="$GTK_CONFIG" # Let the user override the test with a path.
27552 ;;
27553 *)
27554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
27555 for as_dir in $PATH
27556 do
27557 IFS=$as_save_IFS
27558 test -z "$as_dir" && as_dir=.
27559 for ac_exec_ext in '' $ac_executable_extensions; do
27560 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
27561 ac_cv_path_GTK_CONFIG="$as_dir/$ac_word$ac_exec_ext"
27562 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
27563 break 2
27564 fi
27565 done
27566 done
27567 IFS=$as_save_IFS
27568
27569 test -z "$ac_cv_path_GTK_CONFIG" && ac_cv_path_GTK_CONFIG="no"
27570 ;;
27571 esac
27572 fi
27573 GTK_CONFIG=$ac_cv_path_GTK_CONFIG
27574 if test -n "$GTK_CONFIG"; then
27575 { echo "$as_me:$LINENO: result: $GTK_CONFIG" >&5
27576 echo "${ECHO_T}$GTK_CONFIG" >&6; }
27577 else
27578 { echo "$as_me:$LINENO: result: no" >&5
27579 echo "${ECHO_T}no" >&6; }
27580 fi
27581
27582
27583 min_gtk_version=1.2.3
27584 { echo "$as_me:$LINENO: checking for GTK - version >= $min_gtk_version" >&5
27585 echo $ECHO_N "checking for GTK - version >= $min_gtk_version... $ECHO_C" >&6; }
27586 no_gtk=""
27587 if test "$GTK_CONFIG" = "no" ; then
27588 no_gtk=yes
27589 else
27590 GTK_CFLAGS=`$GTK_CONFIG $gtk_config_args --cflags`
27591 GTK_LIBS=`$GTK_CONFIG $gtk_config_args --libs`
27592 gtk_config_major_version=`$GTK_CONFIG $gtk_config_args --version | \
27593 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
27594 gtk_config_minor_version=`$GTK_CONFIG $gtk_config_args --version | \
27595 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
27596 gtk_config_micro_version=`$GTK_CONFIG $gtk_config_args --version | \
27597 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
27598 if test "x$enable_gtktest" = "xyes" ; then
27599 ac_save_CFLAGS="$CFLAGS"
27600 ac_save_LIBS="$LIBS"
27601 CFLAGS="$CFLAGS $GTK_CFLAGS"
27602 LIBS="$GTK_LIBS $LIBS"
27603 rm -f conf.gtktest
27604 if test "$cross_compiling" = yes; then
27605 echo $ac_n "cross compiling; assumed OK... $ac_c"
27606 else
27607 cat >conftest.$ac_ext <<_ACEOF
27608 /* confdefs.h. */
27609 _ACEOF
27610 cat confdefs.h >>conftest.$ac_ext
27611 cat >>conftest.$ac_ext <<_ACEOF
27612 /* end confdefs.h. */
27613
27614 #include <gtk/gtk.h>
27615 #include <stdio.h>
27616 #include <stdlib.h>
27617
27618 int
27619 main ()
27620 {
27621 int major, minor, micro;
27622 char *tmp_version;
27623
27624 system ("touch conf.gtktest");
27625
27626 /* HP/UX 9 (%@#!) writes to sscanf strings */
27627 tmp_version = g_strdup("$min_gtk_version");
27628 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
27629 printf("%s, bad version string\n", "$min_gtk_version");
27630 exit(1);
27631 }
27632
27633 if ((gtk_major_version != $gtk_config_major_version) ||
27634 (gtk_minor_version != $gtk_config_minor_version) ||
27635 (gtk_micro_version != $gtk_config_micro_version))
27636 {
27637 printf("\n*** 'gtk-config --version' returned %d.%d.%d, but GTK+ (%d.%d.%d)\n",
27638 $gtk_config_major_version, $gtk_config_minor_version, $gtk_config_micro_version,
27639 gtk_major_version, gtk_minor_version, gtk_micro_version);
27640 printf ("*** was found! If gtk-config was correct, then it is best\n");
27641 printf ("*** to remove the old version of GTK+. You may also be able to fix the error\n");
27642 printf("*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing\n");
27643 printf("*** /etc/ld.so.conf. Make sure you have run ldconfig if that is\n");
27644 printf("*** required on your system.\n");
27645 printf("*** If gtk-config was wrong, set the environment variable GTK_CONFIG\n");
27646 printf("*** to point to the correct copy of gtk-config, and remove the file config.cache\n");
27647 printf("*** before re-running configure\n");
27648 }
27649 #if defined (GTK_MAJOR_VERSION) && defined (GTK_MINOR_VERSION) && defined (GTK_MICRO_VERSION)
27650 else if ((gtk_major_version != GTK_MAJOR_VERSION) ||
27651 (gtk_minor_version != GTK_MINOR_VERSION) ||
27652 (gtk_micro_version != GTK_MICRO_VERSION))
27653 {
27654 printf("*** GTK+ header files (version %d.%d.%d) do not match\n",
27655 GTK_MAJOR_VERSION, GTK_MINOR_VERSION, GTK_MICRO_VERSION);
27656 printf("*** library (version %d.%d.%d)\n",
27657 gtk_major_version, gtk_minor_version, gtk_micro_version);
27658 }
27659 #endif /* defined (GTK_MAJOR_VERSION) ... */
27660 else
27661 {
27662 if ((gtk_major_version > major) ||
27663 ((gtk_major_version == major) && (gtk_minor_version > minor)) ||
27664 ((gtk_major_version == major) && (gtk_minor_version == minor) && (gtk_micro_version >= micro)))
27665 {
27666 return 0;
27667 }
27668 else
27669 {
27670 printf("\n*** An old version of GTK+ (%d.%d.%d) was found.\n",
27671 gtk_major_version, gtk_minor_version, gtk_micro_version);
27672 printf("*** You need a version of GTK+ newer than %d.%d.%d. The latest version of\n",
27673 major, minor, micro);
27674 printf("*** GTK+ is always available from ftp://ftp.gtk.org.\n");
27675 printf("***\n");
27676 printf("*** If you have already installed a sufficiently new version, this error\n");
27677 printf("*** probably means that the wrong copy of the gtk-config shell script is\n");
27678 printf("*** being found. The easiest way to fix this is to remove the old version\n");
27679 printf("*** of GTK+, but you can also set the GTK_CONFIG environment to point to the\n");
27680 printf("*** correct copy of gtk-config. (In this case, you will have to\n");
27681 printf("*** modify your LD_LIBRARY_PATH enviroment variable, or edit /etc/ld.so.conf\n");
27682 printf("*** so that the correct libraries are found at run-time))\n");
27683 }
27684 }
27685 return 1;
27686 }
27687
27688 _ACEOF
27689 rm -f conftest$ac_exeext
27690 if { (ac_try="$ac_link"
27691 case "(($ac_try" in
27692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27693 *) ac_try_echo=$ac_try;;
27694 esac
27695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27696 (eval "$ac_link") 2>&5
27697 ac_status=$?
27698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27699 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
27700 { (case "(($ac_try" in
27701 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27702 *) ac_try_echo=$ac_try;;
27703 esac
27704 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27705 (eval "$ac_try") 2>&5
27706 ac_status=$?
27707 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27708 (exit $ac_status); }; }; then
27709 :
27710 else
27711 echo "$as_me: program exited with status $ac_status" >&5
27712 echo "$as_me: failed program was:" >&5
27713 sed 's/^/| /' conftest.$ac_ext >&5
27714
27715 ( exit $ac_status )
27716 no_gtk=yes
27717 fi
27718 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
27719 fi
27720
27721
27722 CFLAGS="$ac_save_CFLAGS"
27723 LIBS="$ac_save_LIBS"
27724 fi
27725 fi
27726 if test "x$no_gtk" = x ; then
27727 { echo "$as_me:$LINENO: result: yes" >&5
27728 echo "${ECHO_T}yes" >&6; }
27729 wx_cv_lib_gtk=1.2.3
27730 else
27731 { echo "$as_me:$LINENO: result: no" >&5
27732 echo "${ECHO_T}no" >&6; }
27733 if test "$GTK_CONFIG" = "no" ; then
27734 echo "*** The gtk-config script installed by GTK could not be found"
27735 echo "*** If GTK was installed in PREFIX, make sure PREFIX/bin is in"
27736 echo "*** your path, or set the GTK_CONFIG environment variable to the"
27737 echo "*** full path to gtk-config."
27738 else
27739 if test -f conf.gtktest ; then
27740 :
27741 else
27742 echo "*** Could not run GTK test program, checking why..."
27743 CFLAGS="$CFLAGS $GTK_CFLAGS"
27744 LIBS="$LIBS $GTK_LIBS"
27745 cat >conftest.$ac_ext <<_ACEOF
27746 /* confdefs.h. */
27747 _ACEOF
27748 cat confdefs.h >>conftest.$ac_ext
27749 cat >>conftest.$ac_ext <<_ACEOF
27750 /* end confdefs.h. */
27751
27752 #include <gtk/gtk.h>
27753 #include <stdio.h>
27754
27755 int
27756 main ()
27757 {
27758 return ((gtk_major_version) || (gtk_minor_version) || (gtk_micro_version));
27759 ;
27760 return 0;
27761 }
27762 _ACEOF
27763 rm -f conftest.$ac_objext conftest$ac_exeext
27764 if { (ac_try="$ac_link"
27765 case "(($ac_try" in
27766 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27767 *) ac_try_echo=$ac_try;;
27768 esac
27769 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27770 (eval "$ac_link") 2>conftest.er1
27771 ac_status=$?
27772 grep -v '^ *+' conftest.er1 >conftest.err
27773 rm -f conftest.er1
27774 cat conftest.err >&5
27775 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27776 (exit $ac_status); } && {
27777 test -z "$ac_c_werror_flag" ||
27778 test ! -s conftest.err
27779 } && test -s conftest$ac_exeext &&
27780 $as_test_x conftest$ac_exeext; then
27781 echo "*** The test program compiled, but did not run. This usually means"
27782 echo "*** that the run-time linker is not finding GTK or finding the wrong"
27783 echo "*** version of GTK. If it is not finding GTK, you'll need to set your"
27784 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
27785 echo "*** to the installed location Also, make sure you have run ldconfig if that"
27786 echo "*** is required on your system"
27787 echo "***"
27788 echo "*** If you have an old version installed, it is best to remove it, although"
27789 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
27790 echo "***"
27791 echo "*** If you have a RedHat 5.0 system, you should remove the GTK package that"
27792 echo "*** came with the system with the command"
27793 echo "***"
27794 echo "*** rpm --erase --nodeps gtk gtk-devel"
27795 else
27796 echo "$as_me: failed program was:" >&5
27797 sed 's/^/| /' conftest.$ac_ext >&5
27798
27799 echo "*** The test program failed to compile or link. See the file config.log for the"
27800 echo "*** exact error that occured. This usually means GTK was incorrectly installed"
27801 echo "*** or that you have moved GTK since it was installed. In the latter case, you"
27802 echo "*** may want to edit the gtk-config script: $GTK_CONFIG"
27803 fi
27804
27805 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
27806 conftest$ac_exeext conftest.$ac_ext
27807 CFLAGS="$ac_save_CFLAGS"
27808 LIBS="$ac_save_LIBS"
27809 fi
27810 fi
27811 GTK_CFLAGS=""
27812 GTK_LIBS=""
27813 :
27814 fi
27815
27816
27817 rm -f conf.gtktest
27818
27819 fi
27820 fi
27821 fi
27822
27823 if test -z "$wx_cv_lib_gtk"; then
27824 wx_cv_lib_gtk=none
27825 else
27826 wx_cv_cflags_gtk=$GTK_CFLAGS
27827 wx_cv_libs_gtk=`echo $GTK_LIBS | sed -e 's/ -l[^ ]*cairo[^ ]*//g'`
27828 fi
27829
27830
27831 fi
27832
27833
27834 if test "$gtk_version_cached" = 1; then
27835 { echo "$as_me:$LINENO: result: $wx_cv_lib_gtk" >&5
27836 echo "${ECHO_T}$wx_cv_lib_gtk" >&6; }
27837 fi
27838
27839 case "$wx_cv_lib_gtk" in
27840 2.0) WXGTK20=1
27841 TOOLKIT_VERSION=2
27842 ;;
27843 1.2.7) WXGTK127=1
27844 WXGTK12=1
27845 ;;
27846 1.2.3) WXGTK12=1
27847 ;;
27848 *) { { echo "$as_me:$LINENO: error:
27849 The development files for GTK+ were not found. For GTK+ 2, please
27850 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27851 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27852 and that the version is 1.2.3 or above. Also check that the
27853 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27854 --libs' are in the LD_LIBRARY_PATH or equivalent.
27855 " >&5
27856 echo "$as_me: error:
27857 The development files for GTK+ were not found. For GTK+ 2, please
27858 ensure that pkg-config is in the path and that gtk+-2.0.pc is
27859 installed. For GTK+ 1.2 please check that gtk-config is in the path,
27860 and that the version is 1.2.3 or above. Also check that the
27861 libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
27862 --libs' are in the LD_LIBRARY_PATH or equivalent.
27863 " >&2;}
27864 { (exit 1); exit 1; }; }
27865 ;;
27866 esac
27867
27868 if test "$WXGTK20" = 1; then
27869 save_CFLAGS="$CFLAGS"
27870 save_LIBS="$LIBS"
27871 CFLAGS="$wx_cv_cflags_gtk $CFLAGS"
27872 LIBS="$LIBS $wx_cv_libs_gtk"
27873
27874 { echo "$as_me:$LINENO: checking whether gtk_icon_size_lookup is declared" >&5
27875 echo $ECHO_N "checking whether gtk_icon_size_lookup is declared... $ECHO_C" >&6; }
27876 if test "${ac_cv_have_decl_gtk_icon_size_lookup+set}" = set; then
27877 echo $ECHO_N "(cached) $ECHO_C" >&6
27878 else
27879 cat >conftest.$ac_ext <<_ACEOF
27880 /* confdefs.h. */
27881 _ACEOF
27882 cat confdefs.h >>conftest.$ac_ext
27883 cat >>conftest.$ac_ext <<_ACEOF
27884 /* end confdefs.h. */
27885 #include <gtk/gtk.h>
27886
27887 int
27888 main ()
27889 {
27890 #ifndef gtk_icon_size_lookup
27891 (void) gtk_icon_size_lookup;
27892 #endif
27893
27894 ;
27895 return 0;
27896 }
27897 _ACEOF
27898 rm -f conftest.$ac_objext
27899 if { (ac_try="$ac_compile"
27900 case "(($ac_try" in
27901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27902 *) ac_try_echo=$ac_try;;
27903 esac
27904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27905 (eval "$ac_compile") 2>conftest.er1
27906 ac_status=$?
27907 grep -v '^ *+' conftest.er1 >conftest.err
27908 rm -f conftest.er1
27909 cat conftest.err >&5
27910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27911 (exit $ac_status); } && {
27912 test -z "$ac_c_werror_flag" ||
27913 test ! -s conftest.err
27914 } && test -s conftest.$ac_objext; then
27915 ac_cv_have_decl_gtk_icon_size_lookup=yes
27916 else
27917 echo "$as_me: failed program was:" >&5
27918 sed 's/^/| /' conftest.$ac_ext >&5
27919
27920 ac_cv_have_decl_gtk_icon_size_lookup=no
27921 fi
27922
27923 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
27924 fi
27925 { echo "$as_me:$LINENO: result: $ac_cv_have_decl_gtk_icon_size_lookup" >&5
27926 echo "${ECHO_T}$ac_cv_have_decl_gtk_icon_size_lookup" >&6; }
27927 if test $ac_cv_have_decl_gtk_icon_size_lookup = yes; then
27928
27929 cat >>confdefs.h <<_ACEOF
27930 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 1
27931 _ACEOF
27932
27933
27934 else
27935 cat >>confdefs.h <<_ACEOF
27936 #define HAVE_DECL_GTK_ICON_SIZE_LOOKUP 0
27937 _ACEOF
27938
27939 cat >>confdefs.h <<\_ACEOF
27940 #define NEED_GTK_ICON_SIZE_LOOKUP 1
27941 _ACEOF
27942
27943 fi
27944
27945
27946
27947
27948 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.10" >&5
27949 echo $ECHO_N "checking if GTK+ is version >= 2.10... $ECHO_C" >&6; }
27950 cat >conftest.$ac_ext <<_ACEOF
27951 /* confdefs.h. */
27952 _ACEOF
27953 cat confdefs.h >>conftest.$ac_ext
27954 cat >>conftest.$ac_ext <<_ACEOF
27955 /* end confdefs.h. */
27956
27957 #include <gtk/gtk.h>
27958
27959 int
27960 main ()
27961 {
27962
27963 #if !GTK_CHECK_VERSION(2,10,0)
27964 Not GTK+ 2.10
27965 #endif
27966
27967 ;
27968 return 0;
27969 }
27970 _ACEOF
27971 rm -f conftest.$ac_objext
27972 if { (ac_try="$ac_compile"
27973 case "(($ac_try" in
27974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
27975 *) ac_try_echo=$ac_try;;
27976 esac
27977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
27978 (eval "$ac_compile") 2>conftest.er1
27979 ac_status=$?
27980 grep -v '^ *+' conftest.er1 >conftest.err
27981 rm -f conftest.er1
27982 cat conftest.err >&5
27983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
27984 (exit $ac_status); } && {
27985 test -z "$ac_c_werror_flag" ||
27986 test ! -s conftest.err
27987 } && test -s conftest.$ac_objext; then
27988
27989 cat >>confdefs.h <<\_ACEOF
27990 #define __WXGTK210__ 1
27991 _ACEOF
27992
27993 cat >>confdefs.h <<\_ACEOF
27994 #define __WXGTK26__ 1
27995 _ACEOF
27996
27997 cat >>confdefs.h <<\_ACEOF
27998 #define __WXGTK24__ 1
27999 _ACEOF
28000
28001 { echo "$as_me:$LINENO: result: yes" >&5
28002 echo "${ECHO_T}yes" >&6; }
28003 ac_wxgtk210=1
28004
28005 else
28006 echo "$as_me: failed program was:" >&5
28007 sed 's/^/| /' conftest.$ac_ext >&5
28008
28009
28010 { echo "$as_me:$LINENO: result: no" >&5
28011 echo "${ECHO_T}no" >&6; }
28012 ac_wxgtk210=0
28013
28014 fi
28015
28016 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28017
28018 if test "$ac_wxgtk210" = 0; then
28019 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.6" >&5
28020 echo $ECHO_N "checking if GTK+ is version >= 2.6... $ECHO_C" >&6; }
28021 cat >conftest.$ac_ext <<_ACEOF
28022 /* confdefs.h. */
28023 _ACEOF
28024 cat confdefs.h >>conftest.$ac_ext
28025 cat >>conftest.$ac_ext <<_ACEOF
28026 /* end confdefs.h. */
28027
28028 #include <gtk/gtk.h>
28029
28030 int
28031 main ()
28032 {
28033
28034 #if !GTK_CHECK_VERSION(2,6,0)
28035 Not GTK+ 2.6
28036 #endif
28037
28038 ;
28039 return 0;
28040 }
28041 _ACEOF
28042 rm -f conftest.$ac_objext
28043 if { (ac_try="$ac_compile"
28044 case "(($ac_try" in
28045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28046 *) ac_try_echo=$ac_try;;
28047 esac
28048 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28049 (eval "$ac_compile") 2>conftest.er1
28050 ac_status=$?
28051 grep -v '^ *+' conftest.er1 >conftest.err
28052 rm -f conftest.er1
28053 cat conftest.err >&5
28054 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28055 (exit $ac_status); } && {
28056 test -z "$ac_c_werror_flag" ||
28057 test ! -s conftest.err
28058 } && test -s conftest.$ac_objext; then
28059
28060 cat >>confdefs.h <<\_ACEOF
28061 #define __WXGTK26__ 1
28062 _ACEOF
28063
28064 cat >>confdefs.h <<\_ACEOF
28065 #define __WXGTK24__ 1
28066 _ACEOF
28067
28068 { echo "$as_me:$LINENO: result: yes" >&5
28069 echo "${ECHO_T}yes" >&6; }
28070 ac_wxgtk26=1
28071
28072 else
28073 echo "$as_me: failed program was:" >&5
28074 sed 's/^/| /' conftest.$ac_ext >&5
28075
28076
28077 { echo "$as_me:$LINENO: result: no" >&5
28078 echo "${ECHO_T}no" >&6; }
28079 ac_wxgtk26=0
28080
28081 fi
28082
28083 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28084 fi
28085
28086 if test "$ac_wxgtk26" = 0; then
28087 { echo "$as_me:$LINENO: checking if GTK+ is version >= 2.4" >&5
28088 echo $ECHO_N "checking if GTK+ is version >= 2.4... $ECHO_C" >&6; }
28089 cat >conftest.$ac_ext <<_ACEOF
28090 /* confdefs.h. */
28091 _ACEOF
28092 cat confdefs.h >>conftest.$ac_ext
28093 cat >>conftest.$ac_ext <<_ACEOF
28094 /* end confdefs.h. */
28095
28096 #include <gtk/gtk.h>
28097
28098 int
28099 main ()
28100 {
28101
28102 #if !GTK_CHECK_VERSION(2,4,0)
28103 Not GTK+ 2.4
28104 #endif
28105
28106 ;
28107 return 0;
28108 }
28109 _ACEOF
28110 rm -f conftest.$ac_objext
28111 if { (ac_try="$ac_compile"
28112 case "(($ac_try" in
28113 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28114 *) ac_try_echo=$ac_try;;
28115 esac
28116 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28117 (eval "$ac_compile") 2>conftest.er1
28118 ac_status=$?
28119 grep -v '^ *+' conftest.er1 >conftest.err
28120 rm -f conftest.er1
28121 cat conftest.err >&5
28122 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28123 (exit $ac_status); } && {
28124 test -z "$ac_c_werror_flag" ||
28125 test ! -s conftest.err
28126 } && test -s conftest.$ac_objext; then
28127
28128 cat >>confdefs.h <<\_ACEOF
28129 #define __WXGTK24__ 1
28130 _ACEOF
28131
28132 { echo "$as_me:$LINENO: result: yes" >&5
28133 echo "${ECHO_T}yes" >&6; }
28134
28135 else
28136 echo "$as_me: failed program was:" >&5
28137 sed 's/^/| /' conftest.$ac_ext >&5
28138
28139
28140 { echo "$as_me:$LINENO: result: no" >&5
28141 echo "${ECHO_T}no" >&6; }
28142
28143 fi
28144
28145 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
28146 fi
28147
28148 CFLAGS="$save_CFLAGS"
28149 LIBS="$save_LIBS"
28150 else
28151 if test "$wxUSE_UNICODE" = "yes"; then
28152 { echo "$as_me:$LINENO: WARNING: Unicode configuration not supported with GTK+ 1.x" >&5
28153 echo "$as_me: WARNING: Unicode configuration not supported with GTK+ 1.x" >&2;}
28154 wxUSE_UNICODE=no
28155 fi
28156
28157 { echo "$as_me:$LINENO: checking for gdk_im_open in -lgdk" >&5
28158 echo $ECHO_N "checking for gdk_im_open in -lgdk... $ECHO_C" >&6; }
28159 if test "${ac_cv_lib_gdk_gdk_im_open+set}" = set; then
28160 echo $ECHO_N "(cached) $ECHO_C" >&6
28161 else
28162 ac_check_lib_save_LIBS=$LIBS
28163 LIBS="-lgdk $LIBS"
28164 cat >conftest.$ac_ext <<_ACEOF
28165 /* confdefs.h. */
28166 _ACEOF
28167 cat confdefs.h >>conftest.$ac_ext
28168 cat >>conftest.$ac_ext <<_ACEOF
28169 /* end confdefs.h. */
28170
28171 /* Override any GCC internal prototype to avoid an error.
28172 Use char because int might match the return type of a GCC
28173 builtin and then its argument prototype would still apply. */
28174 #ifdef __cplusplus
28175 extern "C"
28176 #endif
28177 char gdk_im_open ();
28178 int
28179 main ()
28180 {
28181 return gdk_im_open ();
28182 ;
28183 return 0;
28184 }
28185 _ACEOF
28186 rm -f conftest.$ac_objext conftest$ac_exeext
28187 if { (ac_try="$ac_link"
28188 case "(($ac_try" in
28189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28190 *) ac_try_echo=$ac_try;;
28191 esac
28192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28193 (eval "$ac_link") 2>conftest.er1
28194 ac_status=$?
28195 grep -v '^ *+' conftest.er1 >conftest.err
28196 rm -f conftest.er1
28197 cat conftest.err >&5
28198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28199 (exit $ac_status); } && {
28200 test -z "$ac_c_werror_flag" ||
28201 test ! -s conftest.err
28202 } && test -s conftest$ac_exeext &&
28203 $as_test_x conftest$ac_exeext; then
28204 ac_cv_lib_gdk_gdk_im_open=yes
28205 else
28206 echo "$as_me: failed program was:" >&5
28207 sed 's/^/| /' conftest.$ac_ext >&5
28208
28209 ac_cv_lib_gdk_gdk_im_open=no
28210 fi
28211
28212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28213 conftest$ac_exeext conftest.$ac_ext
28214 LIBS=$ac_check_lib_save_LIBS
28215 fi
28216 { echo "$as_me:$LINENO: result: $ac_cv_lib_gdk_gdk_im_open" >&5
28217 echo "${ECHO_T}$ac_cv_lib_gdk_gdk_im_open" >&6; }
28218 if test $ac_cv_lib_gdk_gdk_im_open = yes; then
28219 cat >>confdefs.h <<\_ACEOF
28220 #define HAVE_XIM 1
28221 _ACEOF
28222
28223 fi
28224
28225
28226 if test "$USE_DARWIN" != 1; then
28227
28228 for ac_func in poll
28229 do
28230 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
28231 { echo "$as_me:$LINENO: checking for $ac_func" >&5
28232 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
28233 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
28234 echo $ECHO_N "(cached) $ECHO_C" >&6
28235 else
28236 cat >conftest.$ac_ext <<_ACEOF
28237 /* confdefs.h. */
28238 _ACEOF
28239 cat confdefs.h >>conftest.$ac_ext
28240 cat >>conftest.$ac_ext <<_ACEOF
28241 /* end confdefs.h. */
28242 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
28243 For example, HP-UX 11i <limits.h> declares gettimeofday. */
28244 #define $ac_func innocuous_$ac_func
28245
28246 /* System header to define __stub macros and hopefully few prototypes,
28247 which can conflict with char $ac_func (); below.
28248 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
28249 <limits.h> exists even on freestanding compilers. */
28250
28251 #ifdef __STDC__
28252 # include <limits.h>
28253 #else
28254 # include <assert.h>
28255 #endif
28256
28257 #undef $ac_func
28258
28259 /* Override any GCC internal prototype to avoid an error.
28260 Use char because int might match the return type of a GCC
28261 builtin and then its argument prototype would still apply. */
28262 #ifdef __cplusplus
28263 extern "C"
28264 #endif
28265 char $ac_func ();
28266 /* The GNU C library defines this for functions which it implements
28267 to always fail with ENOSYS. Some functions are actually named
28268 something starting with __ and the normal name is an alias. */
28269 #if defined __stub_$ac_func || defined __stub___$ac_func
28270 choke me
28271 #endif
28272
28273 int
28274 main ()
28275 {
28276 return $ac_func ();
28277 ;
28278 return 0;
28279 }
28280 _ACEOF
28281 rm -f conftest.$ac_objext conftest$ac_exeext
28282 if { (ac_try="$ac_link"
28283 case "(($ac_try" in
28284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28285 *) ac_try_echo=$ac_try;;
28286 esac
28287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28288 (eval "$ac_link") 2>conftest.er1
28289 ac_status=$?
28290 grep -v '^ *+' conftest.er1 >conftest.err
28291 rm -f conftest.er1
28292 cat conftest.err >&5
28293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28294 (exit $ac_status); } && {
28295 test -z "$ac_c_werror_flag" ||
28296 test ! -s conftest.err
28297 } && test -s conftest$ac_exeext &&
28298 $as_test_x conftest$ac_exeext; then
28299 eval "$as_ac_var=yes"
28300 else
28301 echo "$as_me: failed program was:" >&5
28302 sed 's/^/| /' conftest.$ac_ext >&5
28303
28304 eval "$as_ac_var=no"
28305 fi
28306
28307 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28308 conftest$ac_exeext conftest.$ac_ext
28309 fi
28310 ac_res=`eval echo '${'$as_ac_var'}'`
28311 { echo "$as_me:$LINENO: result: $ac_res" >&5
28312 echo "${ECHO_T}$ac_res" >&6; }
28313 if test `eval echo '${'$as_ac_var'}'` = yes; then
28314 cat >>confdefs.h <<_ACEOF
28315 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
28316 _ACEOF
28317
28318 fi
28319 done
28320
28321 fi
28322 fi
28323
28324 TOOLKIT_INCLUDE="$wx_cv_cflags_gtk"
28325 GUI_TK_LIBRARY="$wx_cv_libs_gtk $GUI_TK_LIBRARY"
28326
28327 AFMINSTALL=afminstall
28328 TOOLKIT=GTK
28329 GUIDIST=GTK_DIST
28330
28331 if test "$wxUSE_GPE" = "yes"; then
28332 { echo "$as_me:$LINENO: checking for gpewidget library" >&5
28333 echo $ECHO_N "checking for gpewidget library... $ECHO_C" >&6; }
28334
28335 ac_find_libraries=
28336 for ac_dir in $SEARCH_LIB;
28337 do
28338 for ac_extension in a so sl dylib dll.a; do
28339 if test -f "$ac_dir/libgpewidget.$ac_extension"; then
28340 ac_find_libraries=$ac_dir
28341 break 2
28342 fi
28343 done
28344 done
28345
28346 if test "$ac_find_libraries" != "" ; then
28347
28348 if test "$ac_find_libraries" = "default location"; then
28349 ac_path_to_link=""
28350 else
28351 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
28352 result=$?
28353 if test $result = 0; then
28354 ac_path_to_link=""
28355 else
28356 ac_path_to_link=" -L$ac_find_libraries"
28357 fi
28358 fi
28359
28360 GUI_TK_LIBRARY="-L${prefix}/lib -lgpewidget $GUI_TK_LIBRARY"
28361 WXGPE=1
28362 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
28363 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
28364 else
28365 { echo "$as_me:$LINENO: result: not found" >&5
28366 echo "${ECHO_T}not found" >&6; }
28367 fi
28368
28369 fi
28370 fi
28371
28372 if test "$wxUSE_MGL" = 1; then
28373 { echo "$as_me:$LINENO: checking for SciTech MGL library" >&5
28374 echo $ECHO_N "checking for SciTech MGL library... $ECHO_C" >&6; }
28375 if test "x$MGL_ROOT" = x ; then
28376 { echo "$as_me:$LINENO: result: not found" >&5
28377 echo "${ECHO_T}not found" >&6; }
28378 { { echo "$as_me:$LINENO: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&5
28379 echo "$as_me: error: Cannot find MGL library. Make sure MGL_ROOT is set." >&2;}
28380 { (exit 1); exit 1; }; }
28381 else
28382 { echo "$as_me:$LINENO: result: $MGL_ROOT" >&5
28383 echo "${ECHO_T}$MGL_ROOT" >&6; }
28384 fi
28385
28386 { echo "$as_me:$LINENO: checking for libmgl location" >&5
28387 echo $ECHO_N "checking for libmgl location... $ECHO_C" >&6; }
28388 case "${host}" in
28389 *-*-linux* )
28390 if test "x$wxUSE_SHARED" = xyes ; then
28391 mgl_os_candidates="linux/gcc/x86/so linux/gcc/x86/a linux/gcc/glibc.so linux/gcc/glibc"
28392 else
28393 mgl_os_candidates="linux/gcc/x86/a linux/gcc/x86/so linux/gcc/glibc linux/gcc/glibc.so"
28394 fi
28395 ;;
28396 *-pc-msdosdjgpp )
28397 mgl_os_candidates="dos32/dj2"
28398 ;;
28399 *)
28400 { { echo "$as_me:$LINENO: error: This system type ${host} is not yet supported by wxMGL." >&5
28401 echo "$as_me: error: This system type ${host} is not yet supported by wxMGL." >&2;}
28402 { (exit 1); exit 1; }; }
28403 esac
28404
28405 mgl_lib_type=""
28406 mgl_os=""
28407
28408 for mgl_os_i in $mgl_os_candidates ; do
28409 if test "x$mgl_os" = x ; then
28410 if test "$wxUSE_DEBUG_FLAG" = yes ; then
28411 if test -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.a -o \
28412 -f $MGL_ROOT/lib/debug/$mgl_os_i/libmgl.so; then
28413 mgl_lib_type=debug
28414 mgl_os=$mgl_os_i
28415 fi
28416 fi
28417 if test "x$mgl_lib_type" = x ; then
28418 if test -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.a -o \
28419 -f $MGL_ROOT/lib/release/$mgl_os_i/libmgl.so; then
28420 mgl_lib_type=release
28421 mgl_os=$mgl_os_i
28422 fi
28423 fi
28424 fi
28425 done
28426
28427 if test "x$mgl_os" = x ; then
28428 { echo "$as_me:$LINENO: result: not found" >&5
28429 echo "${ECHO_T}not found" >&6; }
28430 { { echo "$as_me:$LINENO: error: Cannot find MGL libraries, make sure they are compiled." >&5
28431 echo "$as_me: error: Cannot find MGL libraries, make sure they are compiled." >&2;}
28432 { (exit 1); exit 1; }; }
28433 fi
28434 { echo "$as_me:$LINENO: result: \"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&5
28435 echo "${ECHO_T}\"$MGL_ROOT/lib/$mgl_lib_type/$mgl_os\"" >&6; }
28436
28437 wxUSE_UNIVERSAL="yes"
28438
28439 TOOLKIT_INCLUDE="-I$MGL_ROOT/include"
28440 GUI_TK_LIBRARY="-L$MGL_ROOT/lib/$mgl_lib_type/$mgl_os -lmgl -lmglcpp -lpm"
28441
28442 AFMINSTALL=afminstall
28443 TOOLKIT=MGL
28444 GUIDIST=MGL_DIST
28445 fi
28446
28447 if test "$wxUSE_DFB" = 1; then
28448
28449
28450 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
28451 if test -n "$ac_tool_prefix"; then
28452 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
28453 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
28454 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28455 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28456 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
28457 echo $ECHO_N "(cached) $ECHO_C" >&6
28458 else
28459 case $PKG_CONFIG in
28460 [\\/]* | ?:[\\/]*)
28461 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
28462 ;;
28463 *)
28464 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28465 for as_dir in $PATH
28466 do
28467 IFS=$as_save_IFS
28468 test -z "$as_dir" && as_dir=.
28469 for ac_exec_ext in '' $ac_executable_extensions; do
28470 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28471 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28472 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28473 break 2
28474 fi
28475 done
28476 done
28477 IFS=$as_save_IFS
28478
28479 ;;
28480 esac
28481 fi
28482 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
28483 if test -n "$PKG_CONFIG"; then
28484 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
28485 echo "${ECHO_T}$PKG_CONFIG" >&6; }
28486 else
28487 { echo "$as_me:$LINENO: result: no" >&5
28488 echo "${ECHO_T}no" >&6; }
28489 fi
28490
28491
28492 fi
28493 if test -z "$ac_cv_path_PKG_CONFIG"; then
28494 ac_pt_PKG_CONFIG=$PKG_CONFIG
28495 # Extract the first word of "pkg-config", so it can be a program name with args.
28496 set dummy pkg-config; ac_word=$2
28497 { echo "$as_me:$LINENO: checking for $ac_word" >&5
28498 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
28499 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
28500 echo $ECHO_N "(cached) $ECHO_C" >&6
28501 else
28502 case $ac_pt_PKG_CONFIG in
28503 [\\/]* | ?:[\\/]*)
28504 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
28505 ;;
28506 *)
28507 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
28508 for as_dir in $PATH
28509 do
28510 IFS=$as_save_IFS
28511 test -z "$as_dir" && as_dir=.
28512 for ac_exec_ext in '' $ac_executable_extensions; do
28513 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
28514 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
28515 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
28516 break 2
28517 fi
28518 done
28519 done
28520 IFS=$as_save_IFS
28521
28522 ;;
28523 esac
28524 fi
28525 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
28526 if test -n "$ac_pt_PKG_CONFIG"; then
28527 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
28528 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
28529 else
28530 { echo "$as_me:$LINENO: result: no" >&5
28531 echo "${ECHO_T}no" >&6; }
28532 fi
28533
28534 if test "x$ac_pt_PKG_CONFIG" = x; then
28535 PKG_CONFIG=""
28536 else
28537 case $cross_compiling:$ac_tool_warned in
28538 yes:)
28539 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
28540 whose name does not start with the host triplet. If you think this
28541 configuration is useful to you, please write to autoconf@gnu.org." >&5
28542 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
28543 whose name does not start with the host triplet. If you think this
28544 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
28545 ac_tool_warned=yes ;;
28546 esac
28547 PKG_CONFIG=$ac_pt_PKG_CONFIG
28548 fi
28549 else
28550 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
28551 fi
28552
28553 fi
28554 if test -n "$PKG_CONFIG"; then
28555 _pkg_min_version=0.9.0
28556 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
28557 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
28558 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
28559 { echo "$as_me:$LINENO: result: yes" >&5
28560 echo "${ECHO_T}yes" >&6; }
28561 else
28562 { echo "$as_me:$LINENO: result: no" >&5
28563 echo "${ECHO_T}no" >&6; }
28564 PKG_CONFIG=""
28565 fi
28566
28567 fi
28568
28569
28570 pkg_failed=no
28571 { echo "$as_me:$LINENO: checking for DIRECTFB" >&5
28572 echo $ECHO_N "checking for DIRECTFB... $ECHO_C" >&6; }
28573
28574 if test -n "$PKG_CONFIG"; then
28575 if test -n "$DIRECTFB_CFLAGS"; then
28576 pkg_cv_DIRECTFB_CFLAGS="$DIRECTFB_CFLAGS"
28577 else
28578 if test -n "$PKG_CONFIG" && \
28579 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28580 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28581 ac_status=$?
28582 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28583 (exit $ac_status); }; then
28584 pkg_cv_DIRECTFB_CFLAGS=`$PKG_CONFIG --cflags "directfb >= 0.9.23" 2>/dev/null`
28585 else
28586 pkg_failed=yes
28587 fi
28588 fi
28589 else
28590 pkg_failed=untried
28591 fi
28592 if test -n "$PKG_CONFIG"; then
28593 if test -n "$DIRECTFB_LIBS"; then
28594 pkg_cv_DIRECTFB_LIBS="$DIRECTFB_LIBS"
28595 else
28596 if test -n "$PKG_CONFIG" && \
28597 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"directfb >= 0.9.23\"") >&5
28598 ($PKG_CONFIG --exists --print-errors "directfb >= 0.9.23") 2>&5
28599 ac_status=$?
28600 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28601 (exit $ac_status); }; then
28602 pkg_cv_DIRECTFB_LIBS=`$PKG_CONFIG --libs "directfb >= 0.9.23" 2>/dev/null`
28603 else
28604 pkg_failed=yes
28605 fi
28606 fi
28607 else
28608 pkg_failed=untried
28609 fi
28610
28611
28612
28613 if test $pkg_failed = yes; then
28614
28615 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
28616 _pkg_short_errors_supported=yes
28617 else
28618 _pkg_short_errors_supported=no
28619 fi
28620 if test $_pkg_short_errors_supported = yes; then
28621 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28622 else
28623 DIRECTFB_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "directfb >= 0.9.23"`
28624 fi
28625 # Put the nasty error message in config.log where it belongs
28626 echo "$DIRECTFB_PKG_ERRORS" >&5
28627
28628
28629 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28630 echo "$as_me: error: DirectFB not found." >&2;}
28631 { (exit 1); exit 1; }; }
28632
28633
28634 elif test $pkg_failed = untried; then
28635
28636 { { echo "$as_me:$LINENO: error: DirectFB not found." >&5
28637 echo "$as_me: error: DirectFB not found." >&2;}
28638 { (exit 1); exit 1; }; }
28639
28640
28641 else
28642 DIRECTFB_CFLAGS=$pkg_cv_DIRECTFB_CFLAGS
28643 DIRECTFB_LIBS=$pkg_cv_DIRECTFB_LIBS
28644 { echo "$as_me:$LINENO: result: yes" >&5
28645 echo "${ECHO_T}yes" >&6; }
28646
28647 wxUSE_UNIVERSAL="yes"
28648 TOOLKIT_INCLUDE="$DIRECTFB_CFLAGS"
28649 GUI_TK_LIBRARY="$DIRECTFB_LIBS"
28650 TOOLKIT=DFB
28651 GUIDIST=DFB_DIST
28652
28653 fi
28654 fi
28655
28656 if test "$wxUSE_MICROWIN" = 1; then
28657 { echo "$as_me:$LINENO: checking for MicroWindows" >&5
28658 echo $ECHO_N "checking for MicroWindows... $ECHO_C" >&6; }
28659 if test "x$MICROWINDOWS" = x ; then
28660 { echo "$as_me:$LINENO: result: not found" >&5
28661 echo "${ECHO_T}not found" >&6; }
28662 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&5
28663 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWINDOWS is set." >&2;}
28664 { (exit 1); exit 1; }; }
28665 else
28666 { echo "$as_me:$LINENO: result: $MICROWINDOWS" >&5
28667 echo "${ECHO_T}$MICROWINDOWS" >&6; }
28668 fi
28669
28670 if test -f $MICROWINDOWS/lib/libmwin.a; then
28671 { echo "$as_me:$LINENO: result: MicroWindows' libraries found." >&5
28672 echo "${ECHO_T}MicroWindows' libraries found." >&6; }
28673 else
28674 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows libraries, make sure they are compiled." >&5
28675 echo "$as_me: error: Cannot find MicroWindows libraries, make sure they are compiled." >&2;}
28676 { (exit 1); exit 1; }; }
28677 fi
28678
28679 TOOLKIT_INCLUDE="-I$MICROWINDOWS/include"
28680 GUI_TK_LIBRARY="-L$MICROWINDOWS/lib -lmwin -lmwengine -mwfonts -mwdrivers -mwinlib"
28681
28682 wxUSE_UNIVERSAL="yes"
28683
28684 AFMINSTALL=afminstall
28685 TOOLKIT=MICROWIN
28686 GUIDIST=MICROWIN_DIST
28687
28688 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXMSW__ -D__WIN95__ -D__WIN32__ -DMWIN -DMICROWIN_NOCONTROLS -DMICROWIN_TODO=1"
28689 fi
28690
28691 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
28692 { echo "$as_me:$LINENO: checking for X" >&5
28693 echo $ECHO_N "checking for X... $ECHO_C" >&6; }
28694
28695
28696 # Check whether --with-x was given.
28697 if test "${with_x+set}" = set; then
28698 withval=$with_x;
28699 fi
28700
28701 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
28702 if test "x$with_x" = xno; then
28703 # The user explicitly disabled X.
28704 have_x=disabled
28705 else
28706 case $x_includes,$x_libraries in #(
28707 *\'*) { { echo "$as_me:$LINENO: error: Cannot use X directory names containing '" >&5
28708 echo "$as_me: error: Cannot use X directory names containing '" >&2;}
28709 { (exit 1); exit 1; }; };; #(
28710 *,NONE | NONE,*) if test "${ac_cv_have_x+set}" = set; then
28711 echo $ECHO_N "(cached) $ECHO_C" >&6
28712 else
28713 # One or both of the vars are not set, and there is no cached value.
28714 ac_x_includes=no ac_x_libraries=no
28715 rm -f -r conftest.dir
28716 if mkdir conftest.dir; then
28717 cd conftest.dir
28718 cat >Imakefile <<'_ACEOF'
28719 incroot:
28720 @echo incroot='${INCROOT}'
28721 usrlibdir:
28722 @echo usrlibdir='${USRLIBDIR}'
28723 libdir:
28724 @echo libdir='${LIBDIR}'
28725 _ACEOF
28726 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
28727 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
28728 for ac_var in incroot usrlibdir libdir; do
28729 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
28730 done
28731 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
28732 for ac_extension in a so sl; do
28733 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
28734 test -f "$ac_im_libdir/libX11.$ac_extension"; then
28735 ac_im_usrlibdir=$ac_im_libdir; break
28736 fi
28737 done
28738 # Screen out bogus values from the imake configuration. They are
28739 # bogus both because they are the default anyway, and because
28740 # using them would break gcc on systems where it needs fixed includes.
28741 case $ac_im_incroot in
28742 /usr/include) ac_x_includes= ;;
28743 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
28744 esac
28745 case $ac_im_usrlibdir in
28746 /usr/lib | /lib) ;;
28747 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
28748 esac
28749 fi
28750 cd ..
28751 rm -f -r conftest.dir
28752 fi
28753
28754 # Standard set of common directories for X headers.
28755 # Check X11 before X11Rn because it is often a symlink to the current release.
28756 ac_x_header_dirs='
28757 /usr/X11/include
28758 /usr/X11R6/include
28759 /usr/X11R5/include
28760 /usr/X11R4/include
28761
28762 /usr/include/X11
28763 /usr/include/X11R6
28764 /usr/include/X11R5
28765 /usr/include/X11R4
28766
28767 /usr/local/X11/include
28768 /usr/local/X11R6/include
28769 /usr/local/X11R5/include
28770 /usr/local/X11R4/include
28771
28772 /usr/local/include/X11
28773 /usr/local/include/X11R6
28774 /usr/local/include/X11R5
28775 /usr/local/include/X11R4
28776
28777 /usr/X386/include
28778 /usr/x386/include
28779 /usr/XFree86/include/X11
28780
28781 /usr/include
28782 /usr/local/include
28783 /usr/unsupported/include
28784 /usr/athena/include
28785 /usr/local/x11r5/include
28786 /usr/lpp/Xamples/include
28787
28788 /usr/openwin/include
28789 /usr/openwin/share/include'
28790
28791 if test "$ac_x_includes" = no; then
28792 # Guess where to find include files, by looking for Xlib.h.
28793 # First, try using that file with no special directory specified.
28794 cat >conftest.$ac_ext <<_ACEOF
28795 /* confdefs.h. */
28796 _ACEOF
28797 cat confdefs.h >>conftest.$ac_ext
28798 cat >>conftest.$ac_ext <<_ACEOF
28799 /* end confdefs.h. */
28800 #include <X11/Xlib.h>
28801 _ACEOF
28802 if { (ac_try="$ac_cpp conftest.$ac_ext"
28803 case "(($ac_try" in
28804 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28805 *) ac_try_echo=$ac_try;;
28806 esac
28807 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28808 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
28809 ac_status=$?
28810 grep -v '^ *+' conftest.er1 >conftest.err
28811 rm -f conftest.er1
28812 cat conftest.err >&5
28813 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28814 (exit $ac_status); } >/dev/null && {
28815 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
28816 test ! -s conftest.err
28817 }; then
28818 # We can compile using X headers with no special include directory.
28819 ac_x_includes=
28820 else
28821 echo "$as_me: failed program was:" >&5
28822 sed 's/^/| /' conftest.$ac_ext >&5
28823
28824 for ac_dir in $ac_x_header_dirs; do
28825 if test -r "$ac_dir/X11/Xlib.h"; then
28826 ac_x_includes=$ac_dir
28827 break
28828 fi
28829 done
28830 fi
28831
28832 rm -f conftest.err conftest.$ac_ext
28833 fi # $ac_x_includes = no
28834
28835 if test "$ac_x_libraries" = no; then
28836 # Check for the libraries.
28837 # See if we find them without any special options.
28838 # Don't add to $LIBS permanently.
28839 ac_save_LIBS=$LIBS
28840 LIBS="-lX11 $LIBS"
28841 cat >conftest.$ac_ext <<_ACEOF
28842 /* confdefs.h. */
28843 _ACEOF
28844 cat confdefs.h >>conftest.$ac_ext
28845 cat >>conftest.$ac_ext <<_ACEOF
28846 /* end confdefs.h. */
28847 #include <X11/Xlib.h>
28848 int
28849 main ()
28850 {
28851 XrmInitialize ()
28852 ;
28853 return 0;
28854 }
28855 _ACEOF
28856 rm -f conftest.$ac_objext conftest$ac_exeext
28857 if { (ac_try="$ac_link"
28858 case "(($ac_try" in
28859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28860 *) ac_try_echo=$ac_try;;
28861 esac
28862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28863 (eval "$ac_link") 2>conftest.er1
28864 ac_status=$?
28865 grep -v '^ *+' conftest.er1 >conftest.err
28866 rm -f conftest.er1
28867 cat conftest.err >&5
28868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28869 (exit $ac_status); } && {
28870 test -z "$ac_c_werror_flag" ||
28871 test ! -s conftest.err
28872 } && test -s conftest$ac_exeext &&
28873 $as_test_x conftest$ac_exeext; then
28874 LIBS=$ac_save_LIBS
28875 # We can link X programs with no special library path.
28876 ac_x_libraries=
28877 else
28878 echo "$as_me: failed program was:" >&5
28879 sed 's/^/| /' conftest.$ac_ext >&5
28880
28881 LIBS=$ac_save_LIBS
28882 for ac_dir in `echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
28883 do
28884 # Don't even attempt the hair of trying to link an X program!
28885 for ac_extension in a so sl; do
28886 if test -r "$ac_dir/libX11.$ac_extension"; then
28887 ac_x_libraries=$ac_dir
28888 break 2
28889 fi
28890 done
28891 done
28892 fi
28893
28894 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
28895 conftest$ac_exeext conftest.$ac_ext
28896 fi # $ac_x_libraries = no
28897
28898 case $ac_x_includes,$ac_x_libraries in #(
28899 no,* | *,no | *\'*)
28900 # Didn't find X, or a directory has "'" in its name.
28901 ac_cv_have_x="have_x=no";; #(
28902 *)
28903 # Record where we found X for the cache.
28904 ac_cv_have_x="have_x=yes\
28905 ac_x_includes='$ac_x_includes'\
28906 ac_x_libraries='$ac_x_libraries'"
28907 esac
28908 fi
28909 ;; #(
28910 *) have_x=yes;;
28911 esac
28912 eval "$ac_cv_have_x"
28913 fi # $with_x != no
28914
28915 if test "$have_x" != yes; then
28916 { echo "$as_me:$LINENO: result: $have_x" >&5
28917 echo "${ECHO_T}$have_x" >&6; }
28918 no_x=yes
28919 else
28920 # If each of the values was on the command line, it overrides each guess.
28921 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
28922 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
28923 # Update the cache value to reflect the command line values.
28924 ac_cv_have_x="have_x=yes\
28925 ac_x_includes='$x_includes'\
28926 ac_x_libraries='$x_libraries'"
28927 { echo "$as_me:$LINENO: result: libraries $x_libraries, headers $x_includes" >&5
28928 echo "${ECHO_T}libraries $x_libraries, headers $x_includes" >&6; }
28929 fi
28930
28931 if test "$no_x" = yes; then
28932 # Not all programs may use this symbol, but it does not hurt to define it.
28933
28934 cat >>confdefs.h <<\_ACEOF
28935 #define X_DISPLAY_MISSING 1
28936 _ACEOF
28937
28938 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
28939 else
28940 if test -n "$x_includes"; then
28941 X_CFLAGS="$X_CFLAGS -I$x_includes"
28942 fi
28943
28944 # It would also be nice to do this for all -L options, not just this one.
28945 if test -n "$x_libraries"; then
28946 X_LIBS="$X_LIBS -L$x_libraries"
28947 # For Solaris; some versions of Sun CC require a space after -R and
28948 # others require no space. Words are not sufficient . . . .
28949 { echo "$as_me:$LINENO: checking whether -R must be followed by a space" >&5
28950 echo $ECHO_N "checking whether -R must be followed by a space... $ECHO_C" >&6; }
28951 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
28952 ac_xsave_c_werror_flag=$ac_c_werror_flag
28953 ac_c_werror_flag=yes
28954 cat >conftest.$ac_ext <<_ACEOF
28955 /* confdefs.h. */
28956 _ACEOF
28957 cat confdefs.h >>conftest.$ac_ext
28958 cat >>conftest.$ac_ext <<_ACEOF
28959 /* end confdefs.h. */
28960
28961 int
28962 main ()
28963 {
28964
28965 ;
28966 return 0;
28967 }
28968 _ACEOF
28969 rm -f conftest.$ac_objext conftest$ac_exeext
28970 if { (ac_try="$ac_link"
28971 case "(($ac_try" in
28972 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
28973 *) ac_try_echo=$ac_try;;
28974 esac
28975 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
28976 (eval "$ac_link") 2>conftest.er1
28977 ac_status=$?
28978 grep -v '^ *+' conftest.er1 >conftest.err
28979 rm -f conftest.er1
28980 cat conftest.err >&5
28981 echo "$as_me:$LINENO: \$? = $ac_status" >&5
28982 (exit $ac_status); } && {
28983 test -z "$ac_c_werror_flag" ||
28984 test ! -s conftest.err
28985 } && test -s conftest$ac_exeext &&
28986 $as_test_x conftest$ac_exeext; then
28987 { echo "$as_me:$LINENO: result: no" >&5
28988 echo "${ECHO_T}no" >&6; }
28989 X_LIBS="$X_LIBS -R$x_libraries"
28990 else
28991 echo "$as_me: failed program was:" >&5
28992 sed 's/^/| /' conftest.$ac_ext >&5
28993
28994 LIBS="$ac_xsave_LIBS -R $x_libraries"
28995 cat >conftest.$ac_ext <<_ACEOF
28996 /* confdefs.h. */
28997 _ACEOF
28998 cat confdefs.h >>conftest.$ac_ext
28999 cat >>conftest.$ac_ext <<_ACEOF
29000 /* end confdefs.h. */
29001
29002 int
29003 main ()
29004 {
29005
29006 ;
29007 return 0;
29008 }
29009 _ACEOF
29010 rm -f conftest.$ac_objext conftest$ac_exeext
29011 if { (ac_try="$ac_link"
29012 case "(($ac_try" in
29013 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29014 *) ac_try_echo=$ac_try;;
29015 esac
29016 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29017 (eval "$ac_link") 2>conftest.er1
29018 ac_status=$?
29019 grep -v '^ *+' conftest.er1 >conftest.err
29020 rm -f conftest.er1
29021 cat conftest.err >&5
29022 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29023 (exit $ac_status); } && {
29024 test -z "$ac_c_werror_flag" ||
29025 test ! -s conftest.err
29026 } && test -s conftest$ac_exeext &&
29027 $as_test_x conftest$ac_exeext; then
29028 { echo "$as_me:$LINENO: result: yes" >&5
29029 echo "${ECHO_T}yes" >&6; }
29030 X_LIBS="$X_LIBS -R $x_libraries"
29031 else
29032 echo "$as_me: failed program was:" >&5
29033 sed 's/^/| /' conftest.$ac_ext >&5
29034
29035 { echo "$as_me:$LINENO: result: neither works" >&5
29036 echo "${ECHO_T}neither works" >&6; }
29037 fi
29038
29039 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29040 conftest$ac_exeext conftest.$ac_ext
29041 fi
29042
29043 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29044 conftest$ac_exeext conftest.$ac_ext
29045 ac_c_werror_flag=$ac_xsave_c_werror_flag
29046 LIBS=$ac_xsave_LIBS
29047 fi
29048
29049 # Check for system-dependent libraries X programs must link with.
29050 # Do this before checking for the system-independent R6 libraries
29051 # (-lICE), since we may need -lsocket or whatever for X linking.
29052
29053 if test "$ISC" = yes; then
29054 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
29055 else
29056 # Martyn Johnson says this is needed for Ultrix, if the X
29057 # libraries were built with DECnet support. And Karl Berry says
29058 # the Alpha needs dnet_stub (dnet does not exist).
29059 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
29060 cat >conftest.$ac_ext <<_ACEOF
29061 /* confdefs.h. */
29062 _ACEOF
29063 cat confdefs.h >>conftest.$ac_ext
29064 cat >>conftest.$ac_ext <<_ACEOF
29065 /* end confdefs.h. */
29066
29067 /* Override any GCC internal prototype to avoid an error.
29068 Use char because int might match the return type of a GCC
29069 builtin and then its argument prototype would still apply. */
29070 #ifdef __cplusplus
29071 extern "C"
29072 #endif
29073 char XOpenDisplay ();
29074 int
29075 main ()
29076 {
29077 return XOpenDisplay ();
29078 ;
29079 return 0;
29080 }
29081 _ACEOF
29082 rm -f conftest.$ac_objext conftest$ac_exeext
29083 if { (ac_try="$ac_link"
29084 case "(($ac_try" in
29085 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29086 *) ac_try_echo=$ac_try;;
29087 esac
29088 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29089 (eval "$ac_link") 2>conftest.er1
29090 ac_status=$?
29091 grep -v '^ *+' conftest.er1 >conftest.err
29092 rm -f conftest.er1
29093 cat conftest.err >&5
29094 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29095 (exit $ac_status); } && {
29096 test -z "$ac_c_werror_flag" ||
29097 test ! -s conftest.err
29098 } && test -s conftest$ac_exeext &&
29099 $as_test_x conftest$ac_exeext; then
29100 :
29101 else
29102 echo "$as_me: failed program was:" >&5
29103 sed 's/^/| /' conftest.$ac_ext >&5
29104
29105 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet" >&5
29106 echo $ECHO_N "checking for dnet_ntoa in -ldnet... $ECHO_C" >&6; }
29107 if test "${ac_cv_lib_dnet_dnet_ntoa+set}" = set; then
29108 echo $ECHO_N "(cached) $ECHO_C" >&6
29109 else
29110 ac_check_lib_save_LIBS=$LIBS
29111 LIBS="-ldnet $LIBS"
29112 cat >conftest.$ac_ext <<_ACEOF
29113 /* confdefs.h. */
29114 _ACEOF
29115 cat confdefs.h >>conftest.$ac_ext
29116 cat >>conftest.$ac_ext <<_ACEOF
29117 /* end confdefs.h. */
29118
29119 /* Override any GCC internal prototype to avoid an error.
29120 Use char because int might match the return type of a GCC
29121 builtin and then its argument prototype would still apply. */
29122 #ifdef __cplusplus
29123 extern "C"
29124 #endif
29125 char dnet_ntoa ();
29126 int
29127 main ()
29128 {
29129 return dnet_ntoa ();
29130 ;
29131 return 0;
29132 }
29133 _ACEOF
29134 rm -f conftest.$ac_objext conftest$ac_exeext
29135 if { (ac_try="$ac_link"
29136 case "(($ac_try" in
29137 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29138 *) ac_try_echo=$ac_try;;
29139 esac
29140 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29141 (eval "$ac_link") 2>conftest.er1
29142 ac_status=$?
29143 grep -v '^ *+' conftest.er1 >conftest.err
29144 rm -f conftest.er1
29145 cat conftest.err >&5
29146 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29147 (exit $ac_status); } && {
29148 test -z "$ac_c_werror_flag" ||
29149 test ! -s conftest.err
29150 } && test -s conftest$ac_exeext &&
29151 $as_test_x conftest$ac_exeext; then
29152 ac_cv_lib_dnet_dnet_ntoa=yes
29153 else
29154 echo "$as_me: failed program was:" >&5
29155 sed 's/^/| /' conftest.$ac_ext >&5
29156
29157 ac_cv_lib_dnet_dnet_ntoa=no
29158 fi
29159
29160 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29161 conftest$ac_exeext conftest.$ac_ext
29162 LIBS=$ac_check_lib_save_LIBS
29163 fi
29164 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
29165 echo "${ECHO_T}$ac_cv_lib_dnet_dnet_ntoa" >&6; }
29166 if test $ac_cv_lib_dnet_dnet_ntoa = yes; then
29167 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
29168 fi
29169
29170 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
29171 { echo "$as_me:$LINENO: checking for dnet_ntoa in -ldnet_stub" >&5
29172 echo $ECHO_N "checking for dnet_ntoa in -ldnet_stub... $ECHO_C" >&6; }
29173 if test "${ac_cv_lib_dnet_stub_dnet_ntoa+set}" = set; then
29174 echo $ECHO_N "(cached) $ECHO_C" >&6
29175 else
29176 ac_check_lib_save_LIBS=$LIBS
29177 LIBS="-ldnet_stub $LIBS"
29178 cat >conftest.$ac_ext <<_ACEOF
29179 /* confdefs.h. */
29180 _ACEOF
29181 cat confdefs.h >>conftest.$ac_ext
29182 cat >>conftest.$ac_ext <<_ACEOF
29183 /* end confdefs.h. */
29184
29185 /* Override any GCC internal prototype to avoid an error.
29186 Use char because int might match the return type of a GCC
29187 builtin and then its argument prototype would still apply. */
29188 #ifdef __cplusplus
29189 extern "C"
29190 #endif
29191 char dnet_ntoa ();
29192 int
29193 main ()
29194 {
29195 return dnet_ntoa ();
29196 ;
29197 return 0;
29198 }
29199 _ACEOF
29200 rm -f conftest.$ac_objext conftest$ac_exeext
29201 if { (ac_try="$ac_link"
29202 case "(($ac_try" in
29203 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29204 *) ac_try_echo=$ac_try;;
29205 esac
29206 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29207 (eval "$ac_link") 2>conftest.er1
29208 ac_status=$?
29209 grep -v '^ *+' conftest.er1 >conftest.err
29210 rm -f conftest.er1
29211 cat conftest.err >&5
29212 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29213 (exit $ac_status); } && {
29214 test -z "$ac_c_werror_flag" ||
29215 test ! -s conftest.err
29216 } && test -s conftest$ac_exeext &&
29217 $as_test_x conftest$ac_exeext; then
29218 ac_cv_lib_dnet_stub_dnet_ntoa=yes
29219 else
29220 echo "$as_me: failed program was:" >&5
29221 sed 's/^/| /' conftest.$ac_ext >&5
29222
29223 ac_cv_lib_dnet_stub_dnet_ntoa=no
29224 fi
29225
29226 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29227 conftest$ac_exeext conftest.$ac_ext
29228 LIBS=$ac_check_lib_save_LIBS
29229 fi
29230 { echo "$as_me:$LINENO: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
29231 echo "${ECHO_T}$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
29232 if test $ac_cv_lib_dnet_stub_dnet_ntoa = yes; then
29233 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
29234 fi
29235
29236 fi
29237 fi
29238
29239 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29240 conftest$ac_exeext conftest.$ac_ext
29241 LIBS="$ac_xsave_LIBS"
29242
29243 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
29244 # to get the SysV transport functions.
29245 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
29246 # needs -lnsl.
29247 # The nsl library prevents programs from opening the X display
29248 # on Irix 5.2, according to T.E. Dickey.
29249 # The functions gethostbyname, getservbyname, and inet_addr are
29250 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
29251 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
29252 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
29253 if test "${ac_cv_func_gethostbyname+set}" = set; then
29254 echo $ECHO_N "(cached) $ECHO_C" >&6
29255 else
29256 cat >conftest.$ac_ext <<_ACEOF
29257 /* confdefs.h. */
29258 _ACEOF
29259 cat confdefs.h >>conftest.$ac_ext
29260 cat >>conftest.$ac_ext <<_ACEOF
29261 /* end confdefs.h. */
29262 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
29263 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29264 #define gethostbyname innocuous_gethostbyname
29265
29266 /* System header to define __stub macros and hopefully few prototypes,
29267 which can conflict with char gethostbyname (); below.
29268 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29269 <limits.h> exists even on freestanding compilers. */
29270
29271 #ifdef __STDC__
29272 # include <limits.h>
29273 #else
29274 # include <assert.h>
29275 #endif
29276
29277 #undef gethostbyname
29278
29279 /* Override any GCC internal prototype to avoid an error.
29280 Use char because int might match the return type of a GCC
29281 builtin and then its argument prototype would still apply. */
29282 #ifdef __cplusplus
29283 extern "C"
29284 #endif
29285 char gethostbyname ();
29286 /* The GNU C library defines this for functions which it implements
29287 to always fail with ENOSYS. Some functions are actually named
29288 something starting with __ and the normal name is an alias. */
29289 #if defined __stub_gethostbyname || defined __stub___gethostbyname
29290 choke me
29291 #endif
29292
29293 int
29294 main ()
29295 {
29296 return gethostbyname ();
29297 ;
29298 return 0;
29299 }
29300 _ACEOF
29301 rm -f conftest.$ac_objext conftest$ac_exeext
29302 if { (ac_try="$ac_link"
29303 case "(($ac_try" in
29304 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29305 *) ac_try_echo=$ac_try;;
29306 esac
29307 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29308 (eval "$ac_link") 2>conftest.er1
29309 ac_status=$?
29310 grep -v '^ *+' conftest.er1 >conftest.err
29311 rm -f conftest.er1
29312 cat conftest.err >&5
29313 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29314 (exit $ac_status); } && {
29315 test -z "$ac_c_werror_flag" ||
29316 test ! -s conftest.err
29317 } && test -s conftest$ac_exeext &&
29318 $as_test_x conftest$ac_exeext; then
29319 ac_cv_func_gethostbyname=yes
29320 else
29321 echo "$as_me: failed program was:" >&5
29322 sed 's/^/| /' conftest.$ac_ext >&5
29323
29324 ac_cv_func_gethostbyname=no
29325 fi
29326
29327 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29328 conftest$ac_exeext conftest.$ac_ext
29329 fi
29330 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
29331 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
29332
29333 if test $ac_cv_func_gethostbyname = no; then
29334 { echo "$as_me:$LINENO: checking for gethostbyname in -lnsl" >&5
29335 echo $ECHO_N "checking for gethostbyname in -lnsl... $ECHO_C" >&6; }
29336 if test "${ac_cv_lib_nsl_gethostbyname+set}" = set; then
29337 echo $ECHO_N "(cached) $ECHO_C" >&6
29338 else
29339 ac_check_lib_save_LIBS=$LIBS
29340 LIBS="-lnsl $LIBS"
29341 cat >conftest.$ac_ext <<_ACEOF
29342 /* confdefs.h. */
29343 _ACEOF
29344 cat confdefs.h >>conftest.$ac_ext
29345 cat >>conftest.$ac_ext <<_ACEOF
29346 /* end confdefs.h. */
29347
29348 /* Override any GCC internal prototype to avoid an error.
29349 Use char because int might match the return type of a GCC
29350 builtin and then its argument prototype would still apply. */
29351 #ifdef __cplusplus
29352 extern "C"
29353 #endif
29354 char gethostbyname ();
29355 int
29356 main ()
29357 {
29358 return gethostbyname ();
29359 ;
29360 return 0;
29361 }
29362 _ACEOF
29363 rm -f conftest.$ac_objext conftest$ac_exeext
29364 if { (ac_try="$ac_link"
29365 case "(($ac_try" in
29366 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29367 *) ac_try_echo=$ac_try;;
29368 esac
29369 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29370 (eval "$ac_link") 2>conftest.er1
29371 ac_status=$?
29372 grep -v '^ *+' conftest.er1 >conftest.err
29373 rm -f conftest.er1
29374 cat conftest.err >&5
29375 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29376 (exit $ac_status); } && {
29377 test -z "$ac_c_werror_flag" ||
29378 test ! -s conftest.err
29379 } && test -s conftest$ac_exeext &&
29380 $as_test_x conftest$ac_exeext; then
29381 ac_cv_lib_nsl_gethostbyname=yes
29382 else
29383 echo "$as_me: failed program was:" >&5
29384 sed 's/^/| /' conftest.$ac_ext >&5
29385
29386 ac_cv_lib_nsl_gethostbyname=no
29387 fi
29388
29389 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29390 conftest$ac_exeext conftest.$ac_ext
29391 LIBS=$ac_check_lib_save_LIBS
29392 fi
29393 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_gethostbyname" >&5
29394 echo "${ECHO_T}$ac_cv_lib_nsl_gethostbyname" >&6; }
29395 if test $ac_cv_lib_nsl_gethostbyname = yes; then
29396 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
29397 fi
29398
29399 if test $ac_cv_lib_nsl_gethostbyname = no; then
29400 { echo "$as_me:$LINENO: checking for gethostbyname in -lbsd" >&5
29401 echo $ECHO_N "checking for gethostbyname in -lbsd... $ECHO_C" >&6; }
29402 if test "${ac_cv_lib_bsd_gethostbyname+set}" = set; then
29403 echo $ECHO_N "(cached) $ECHO_C" >&6
29404 else
29405 ac_check_lib_save_LIBS=$LIBS
29406 LIBS="-lbsd $LIBS"
29407 cat >conftest.$ac_ext <<_ACEOF
29408 /* confdefs.h. */
29409 _ACEOF
29410 cat confdefs.h >>conftest.$ac_ext
29411 cat >>conftest.$ac_ext <<_ACEOF
29412 /* end confdefs.h. */
29413
29414 /* Override any GCC internal prototype to avoid an error.
29415 Use char because int might match the return type of a GCC
29416 builtin and then its argument prototype would still apply. */
29417 #ifdef __cplusplus
29418 extern "C"
29419 #endif
29420 char gethostbyname ();
29421 int
29422 main ()
29423 {
29424 return gethostbyname ();
29425 ;
29426 return 0;
29427 }
29428 _ACEOF
29429 rm -f conftest.$ac_objext conftest$ac_exeext
29430 if { (ac_try="$ac_link"
29431 case "(($ac_try" in
29432 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29433 *) ac_try_echo=$ac_try;;
29434 esac
29435 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29436 (eval "$ac_link") 2>conftest.er1
29437 ac_status=$?
29438 grep -v '^ *+' conftest.er1 >conftest.err
29439 rm -f conftest.er1
29440 cat conftest.err >&5
29441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29442 (exit $ac_status); } && {
29443 test -z "$ac_c_werror_flag" ||
29444 test ! -s conftest.err
29445 } && test -s conftest$ac_exeext &&
29446 $as_test_x conftest$ac_exeext; then
29447 ac_cv_lib_bsd_gethostbyname=yes
29448 else
29449 echo "$as_me: failed program was:" >&5
29450 sed 's/^/| /' conftest.$ac_ext >&5
29451
29452 ac_cv_lib_bsd_gethostbyname=no
29453 fi
29454
29455 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29456 conftest$ac_exeext conftest.$ac_ext
29457 LIBS=$ac_check_lib_save_LIBS
29458 fi
29459 { echo "$as_me:$LINENO: result: $ac_cv_lib_bsd_gethostbyname" >&5
29460 echo "${ECHO_T}$ac_cv_lib_bsd_gethostbyname" >&6; }
29461 if test $ac_cv_lib_bsd_gethostbyname = yes; then
29462 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
29463 fi
29464
29465 fi
29466 fi
29467
29468 # lieder@skyler.mavd.honeywell.com says without -lsocket,
29469 # socket/setsockopt and other routines are undefined under SCO ODT
29470 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
29471 # on later versions), says Simon Leinen: it contains gethostby*
29472 # variants that don't use the name server (or something). -lsocket
29473 # must be given before -lnsl if both are needed. We assume that
29474 # if connect needs -lnsl, so does gethostbyname.
29475 { echo "$as_me:$LINENO: checking for connect" >&5
29476 echo $ECHO_N "checking for connect... $ECHO_C" >&6; }
29477 if test "${ac_cv_func_connect+set}" = set; then
29478 echo $ECHO_N "(cached) $ECHO_C" >&6
29479 else
29480 cat >conftest.$ac_ext <<_ACEOF
29481 /* confdefs.h. */
29482 _ACEOF
29483 cat confdefs.h >>conftest.$ac_ext
29484 cat >>conftest.$ac_ext <<_ACEOF
29485 /* end confdefs.h. */
29486 /* Define connect to an innocuous variant, in case <limits.h> declares connect.
29487 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29488 #define connect innocuous_connect
29489
29490 /* System header to define __stub macros and hopefully few prototypes,
29491 which can conflict with char connect (); below.
29492 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29493 <limits.h> exists even on freestanding compilers. */
29494
29495 #ifdef __STDC__
29496 # include <limits.h>
29497 #else
29498 # include <assert.h>
29499 #endif
29500
29501 #undef connect
29502
29503 /* Override any GCC internal prototype to avoid an error.
29504 Use char because int might match the return type of a GCC
29505 builtin and then its argument prototype would still apply. */
29506 #ifdef __cplusplus
29507 extern "C"
29508 #endif
29509 char connect ();
29510 /* The GNU C library defines this for functions which it implements
29511 to always fail with ENOSYS. Some functions are actually named
29512 something starting with __ and the normal name is an alias. */
29513 #if defined __stub_connect || defined __stub___connect
29514 choke me
29515 #endif
29516
29517 int
29518 main ()
29519 {
29520 return connect ();
29521 ;
29522 return 0;
29523 }
29524 _ACEOF
29525 rm -f conftest.$ac_objext conftest$ac_exeext
29526 if { (ac_try="$ac_link"
29527 case "(($ac_try" in
29528 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29529 *) ac_try_echo=$ac_try;;
29530 esac
29531 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29532 (eval "$ac_link") 2>conftest.er1
29533 ac_status=$?
29534 grep -v '^ *+' conftest.er1 >conftest.err
29535 rm -f conftest.er1
29536 cat conftest.err >&5
29537 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29538 (exit $ac_status); } && {
29539 test -z "$ac_c_werror_flag" ||
29540 test ! -s conftest.err
29541 } && test -s conftest$ac_exeext &&
29542 $as_test_x conftest$ac_exeext; then
29543 ac_cv_func_connect=yes
29544 else
29545 echo "$as_me: failed program was:" >&5
29546 sed 's/^/| /' conftest.$ac_ext >&5
29547
29548 ac_cv_func_connect=no
29549 fi
29550
29551 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29552 conftest$ac_exeext conftest.$ac_ext
29553 fi
29554 { echo "$as_me:$LINENO: result: $ac_cv_func_connect" >&5
29555 echo "${ECHO_T}$ac_cv_func_connect" >&6; }
29556
29557 if test $ac_cv_func_connect = no; then
29558 { echo "$as_me:$LINENO: checking for connect in -lsocket" >&5
29559 echo $ECHO_N "checking for connect in -lsocket... $ECHO_C" >&6; }
29560 if test "${ac_cv_lib_socket_connect+set}" = set; then
29561 echo $ECHO_N "(cached) $ECHO_C" >&6
29562 else
29563 ac_check_lib_save_LIBS=$LIBS
29564 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
29565 cat >conftest.$ac_ext <<_ACEOF
29566 /* confdefs.h. */
29567 _ACEOF
29568 cat confdefs.h >>conftest.$ac_ext
29569 cat >>conftest.$ac_ext <<_ACEOF
29570 /* end confdefs.h. */
29571
29572 /* Override any GCC internal prototype to avoid an error.
29573 Use char because int might match the return type of a GCC
29574 builtin and then its argument prototype would still apply. */
29575 #ifdef __cplusplus
29576 extern "C"
29577 #endif
29578 char connect ();
29579 int
29580 main ()
29581 {
29582 return connect ();
29583 ;
29584 return 0;
29585 }
29586 _ACEOF
29587 rm -f conftest.$ac_objext conftest$ac_exeext
29588 if { (ac_try="$ac_link"
29589 case "(($ac_try" in
29590 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29591 *) ac_try_echo=$ac_try;;
29592 esac
29593 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29594 (eval "$ac_link") 2>conftest.er1
29595 ac_status=$?
29596 grep -v '^ *+' conftest.er1 >conftest.err
29597 rm -f conftest.er1
29598 cat conftest.err >&5
29599 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29600 (exit $ac_status); } && {
29601 test -z "$ac_c_werror_flag" ||
29602 test ! -s conftest.err
29603 } && test -s conftest$ac_exeext &&
29604 $as_test_x conftest$ac_exeext; then
29605 ac_cv_lib_socket_connect=yes
29606 else
29607 echo "$as_me: failed program was:" >&5
29608 sed 's/^/| /' conftest.$ac_ext >&5
29609
29610 ac_cv_lib_socket_connect=no
29611 fi
29612
29613 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29614 conftest$ac_exeext conftest.$ac_ext
29615 LIBS=$ac_check_lib_save_LIBS
29616 fi
29617 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_connect" >&5
29618 echo "${ECHO_T}$ac_cv_lib_socket_connect" >&6; }
29619 if test $ac_cv_lib_socket_connect = yes; then
29620 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
29621 fi
29622
29623 fi
29624
29625 # Guillermo Gomez says -lposix is necessary on A/UX.
29626 { echo "$as_me:$LINENO: checking for remove" >&5
29627 echo $ECHO_N "checking for remove... $ECHO_C" >&6; }
29628 if test "${ac_cv_func_remove+set}" = set; then
29629 echo $ECHO_N "(cached) $ECHO_C" >&6
29630 else
29631 cat >conftest.$ac_ext <<_ACEOF
29632 /* confdefs.h. */
29633 _ACEOF
29634 cat confdefs.h >>conftest.$ac_ext
29635 cat >>conftest.$ac_ext <<_ACEOF
29636 /* end confdefs.h. */
29637 /* Define remove to an innocuous variant, in case <limits.h> declares remove.
29638 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29639 #define remove innocuous_remove
29640
29641 /* System header to define __stub macros and hopefully few prototypes,
29642 which can conflict with char remove (); below.
29643 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29644 <limits.h> exists even on freestanding compilers. */
29645
29646 #ifdef __STDC__
29647 # include <limits.h>
29648 #else
29649 # include <assert.h>
29650 #endif
29651
29652 #undef remove
29653
29654 /* Override any GCC internal prototype to avoid an error.
29655 Use char because int might match the return type of a GCC
29656 builtin and then its argument prototype would still apply. */
29657 #ifdef __cplusplus
29658 extern "C"
29659 #endif
29660 char remove ();
29661 /* The GNU C library defines this for functions which it implements
29662 to always fail with ENOSYS. Some functions are actually named
29663 something starting with __ and the normal name is an alias. */
29664 #if defined __stub_remove || defined __stub___remove
29665 choke me
29666 #endif
29667
29668 int
29669 main ()
29670 {
29671 return remove ();
29672 ;
29673 return 0;
29674 }
29675 _ACEOF
29676 rm -f conftest.$ac_objext conftest$ac_exeext
29677 if { (ac_try="$ac_link"
29678 case "(($ac_try" in
29679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29680 *) ac_try_echo=$ac_try;;
29681 esac
29682 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29683 (eval "$ac_link") 2>conftest.er1
29684 ac_status=$?
29685 grep -v '^ *+' conftest.er1 >conftest.err
29686 rm -f conftest.er1
29687 cat conftest.err >&5
29688 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29689 (exit $ac_status); } && {
29690 test -z "$ac_c_werror_flag" ||
29691 test ! -s conftest.err
29692 } && test -s conftest$ac_exeext &&
29693 $as_test_x conftest$ac_exeext; then
29694 ac_cv_func_remove=yes
29695 else
29696 echo "$as_me: failed program was:" >&5
29697 sed 's/^/| /' conftest.$ac_ext >&5
29698
29699 ac_cv_func_remove=no
29700 fi
29701
29702 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29703 conftest$ac_exeext conftest.$ac_ext
29704 fi
29705 { echo "$as_me:$LINENO: result: $ac_cv_func_remove" >&5
29706 echo "${ECHO_T}$ac_cv_func_remove" >&6; }
29707
29708 if test $ac_cv_func_remove = no; then
29709 { echo "$as_me:$LINENO: checking for remove in -lposix" >&5
29710 echo $ECHO_N "checking for remove in -lposix... $ECHO_C" >&6; }
29711 if test "${ac_cv_lib_posix_remove+set}" = set; then
29712 echo $ECHO_N "(cached) $ECHO_C" >&6
29713 else
29714 ac_check_lib_save_LIBS=$LIBS
29715 LIBS="-lposix $LIBS"
29716 cat >conftest.$ac_ext <<_ACEOF
29717 /* confdefs.h. */
29718 _ACEOF
29719 cat confdefs.h >>conftest.$ac_ext
29720 cat >>conftest.$ac_ext <<_ACEOF
29721 /* end confdefs.h. */
29722
29723 /* Override any GCC internal prototype to avoid an error.
29724 Use char because int might match the return type of a GCC
29725 builtin and then its argument prototype would still apply. */
29726 #ifdef __cplusplus
29727 extern "C"
29728 #endif
29729 char remove ();
29730 int
29731 main ()
29732 {
29733 return remove ();
29734 ;
29735 return 0;
29736 }
29737 _ACEOF
29738 rm -f conftest.$ac_objext conftest$ac_exeext
29739 if { (ac_try="$ac_link"
29740 case "(($ac_try" in
29741 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29742 *) ac_try_echo=$ac_try;;
29743 esac
29744 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29745 (eval "$ac_link") 2>conftest.er1
29746 ac_status=$?
29747 grep -v '^ *+' conftest.er1 >conftest.err
29748 rm -f conftest.er1
29749 cat conftest.err >&5
29750 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29751 (exit $ac_status); } && {
29752 test -z "$ac_c_werror_flag" ||
29753 test ! -s conftest.err
29754 } && test -s conftest$ac_exeext &&
29755 $as_test_x conftest$ac_exeext; then
29756 ac_cv_lib_posix_remove=yes
29757 else
29758 echo "$as_me: failed program was:" >&5
29759 sed 's/^/| /' conftest.$ac_ext >&5
29760
29761 ac_cv_lib_posix_remove=no
29762 fi
29763
29764 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29765 conftest$ac_exeext conftest.$ac_ext
29766 LIBS=$ac_check_lib_save_LIBS
29767 fi
29768 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix_remove" >&5
29769 echo "${ECHO_T}$ac_cv_lib_posix_remove" >&6; }
29770 if test $ac_cv_lib_posix_remove = yes; then
29771 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
29772 fi
29773
29774 fi
29775
29776 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
29777 { echo "$as_me:$LINENO: checking for shmat" >&5
29778 echo $ECHO_N "checking for shmat... $ECHO_C" >&6; }
29779 if test "${ac_cv_func_shmat+set}" = set; then
29780 echo $ECHO_N "(cached) $ECHO_C" >&6
29781 else
29782 cat >conftest.$ac_ext <<_ACEOF
29783 /* confdefs.h. */
29784 _ACEOF
29785 cat confdefs.h >>conftest.$ac_ext
29786 cat >>conftest.$ac_ext <<_ACEOF
29787 /* end confdefs.h. */
29788 /* Define shmat to an innocuous variant, in case <limits.h> declares shmat.
29789 For example, HP-UX 11i <limits.h> declares gettimeofday. */
29790 #define shmat innocuous_shmat
29791
29792 /* System header to define __stub macros and hopefully few prototypes,
29793 which can conflict with char shmat (); below.
29794 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
29795 <limits.h> exists even on freestanding compilers. */
29796
29797 #ifdef __STDC__
29798 # include <limits.h>
29799 #else
29800 # include <assert.h>
29801 #endif
29802
29803 #undef shmat
29804
29805 /* Override any GCC internal prototype to avoid an error.
29806 Use char because int might match the return type of a GCC
29807 builtin and then its argument prototype would still apply. */
29808 #ifdef __cplusplus
29809 extern "C"
29810 #endif
29811 char shmat ();
29812 /* The GNU C library defines this for functions which it implements
29813 to always fail with ENOSYS. Some functions are actually named
29814 something starting with __ and the normal name is an alias. */
29815 #if defined __stub_shmat || defined __stub___shmat
29816 choke me
29817 #endif
29818
29819 int
29820 main ()
29821 {
29822 return shmat ();
29823 ;
29824 return 0;
29825 }
29826 _ACEOF
29827 rm -f conftest.$ac_objext conftest$ac_exeext
29828 if { (ac_try="$ac_link"
29829 case "(($ac_try" in
29830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29831 *) ac_try_echo=$ac_try;;
29832 esac
29833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29834 (eval "$ac_link") 2>conftest.er1
29835 ac_status=$?
29836 grep -v '^ *+' conftest.er1 >conftest.err
29837 rm -f conftest.er1
29838 cat conftest.err >&5
29839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29840 (exit $ac_status); } && {
29841 test -z "$ac_c_werror_flag" ||
29842 test ! -s conftest.err
29843 } && test -s conftest$ac_exeext &&
29844 $as_test_x conftest$ac_exeext; then
29845 ac_cv_func_shmat=yes
29846 else
29847 echo "$as_me: failed program was:" >&5
29848 sed 's/^/| /' conftest.$ac_ext >&5
29849
29850 ac_cv_func_shmat=no
29851 fi
29852
29853 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29854 conftest$ac_exeext conftest.$ac_ext
29855 fi
29856 { echo "$as_me:$LINENO: result: $ac_cv_func_shmat" >&5
29857 echo "${ECHO_T}$ac_cv_func_shmat" >&6; }
29858
29859 if test $ac_cv_func_shmat = no; then
29860 { echo "$as_me:$LINENO: checking for shmat in -lipc" >&5
29861 echo $ECHO_N "checking for shmat in -lipc... $ECHO_C" >&6; }
29862 if test "${ac_cv_lib_ipc_shmat+set}" = set; then
29863 echo $ECHO_N "(cached) $ECHO_C" >&6
29864 else
29865 ac_check_lib_save_LIBS=$LIBS
29866 LIBS="-lipc $LIBS"
29867 cat >conftest.$ac_ext <<_ACEOF
29868 /* confdefs.h. */
29869 _ACEOF
29870 cat confdefs.h >>conftest.$ac_ext
29871 cat >>conftest.$ac_ext <<_ACEOF
29872 /* end confdefs.h. */
29873
29874 /* Override any GCC internal prototype to avoid an error.
29875 Use char because int might match the return type of a GCC
29876 builtin and then its argument prototype would still apply. */
29877 #ifdef __cplusplus
29878 extern "C"
29879 #endif
29880 char shmat ();
29881 int
29882 main ()
29883 {
29884 return shmat ();
29885 ;
29886 return 0;
29887 }
29888 _ACEOF
29889 rm -f conftest.$ac_objext conftest$ac_exeext
29890 if { (ac_try="$ac_link"
29891 case "(($ac_try" in
29892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29893 *) ac_try_echo=$ac_try;;
29894 esac
29895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29896 (eval "$ac_link") 2>conftest.er1
29897 ac_status=$?
29898 grep -v '^ *+' conftest.er1 >conftest.err
29899 rm -f conftest.er1
29900 cat conftest.err >&5
29901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29902 (exit $ac_status); } && {
29903 test -z "$ac_c_werror_flag" ||
29904 test ! -s conftest.err
29905 } && test -s conftest$ac_exeext &&
29906 $as_test_x conftest$ac_exeext; then
29907 ac_cv_lib_ipc_shmat=yes
29908 else
29909 echo "$as_me: failed program was:" >&5
29910 sed 's/^/| /' conftest.$ac_ext >&5
29911
29912 ac_cv_lib_ipc_shmat=no
29913 fi
29914
29915 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29916 conftest$ac_exeext conftest.$ac_ext
29917 LIBS=$ac_check_lib_save_LIBS
29918 fi
29919 { echo "$as_me:$LINENO: result: $ac_cv_lib_ipc_shmat" >&5
29920 echo "${ECHO_T}$ac_cv_lib_ipc_shmat" >&6; }
29921 if test $ac_cv_lib_ipc_shmat = yes; then
29922 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
29923 fi
29924
29925 fi
29926 fi
29927
29928 # Check for libraries that X11R6 Xt/Xaw programs need.
29929 ac_save_LDFLAGS=$LDFLAGS
29930 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
29931 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
29932 # check for ICE first), but we must link in the order -lSM -lICE or
29933 # we get undefined symbols. So assume we have SM if we have ICE.
29934 # These have to be linked with before -lX11, unlike the other
29935 # libraries we check for below, so use a different variable.
29936 # John Interrante, Karl Berry
29937 { echo "$as_me:$LINENO: checking for IceConnectionNumber in -lICE" >&5
29938 echo $ECHO_N "checking for IceConnectionNumber in -lICE... $ECHO_C" >&6; }
29939 if test "${ac_cv_lib_ICE_IceConnectionNumber+set}" = set; then
29940 echo $ECHO_N "(cached) $ECHO_C" >&6
29941 else
29942 ac_check_lib_save_LIBS=$LIBS
29943 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
29944 cat >conftest.$ac_ext <<_ACEOF
29945 /* confdefs.h. */
29946 _ACEOF
29947 cat confdefs.h >>conftest.$ac_ext
29948 cat >>conftest.$ac_ext <<_ACEOF
29949 /* end confdefs.h. */
29950
29951 /* Override any GCC internal prototype to avoid an error.
29952 Use char because int might match the return type of a GCC
29953 builtin and then its argument prototype would still apply. */
29954 #ifdef __cplusplus
29955 extern "C"
29956 #endif
29957 char IceConnectionNumber ();
29958 int
29959 main ()
29960 {
29961 return IceConnectionNumber ();
29962 ;
29963 return 0;
29964 }
29965 _ACEOF
29966 rm -f conftest.$ac_objext conftest$ac_exeext
29967 if { (ac_try="$ac_link"
29968 case "(($ac_try" in
29969 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
29970 *) ac_try_echo=$ac_try;;
29971 esac
29972 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
29973 (eval "$ac_link") 2>conftest.er1
29974 ac_status=$?
29975 grep -v '^ *+' conftest.er1 >conftest.err
29976 rm -f conftest.er1
29977 cat conftest.err >&5
29978 echo "$as_me:$LINENO: \$? = $ac_status" >&5
29979 (exit $ac_status); } && {
29980 test -z "$ac_c_werror_flag" ||
29981 test ! -s conftest.err
29982 } && test -s conftest$ac_exeext &&
29983 $as_test_x conftest$ac_exeext; then
29984 ac_cv_lib_ICE_IceConnectionNumber=yes
29985 else
29986 echo "$as_me: failed program was:" >&5
29987 sed 's/^/| /' conftest.$ac_ext >&5
29988
29989 ac_cv_lib_ICE_IceConnectionNumber=no
29990 fi
29991
29992 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
29993 conftest$ac_exeext conftest.$ac_ext
29994 LIBS=$ac_check_lib_save_LIBS
29995 fi
29996 { echo "$as_me:$LINENO: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
29997 echo "${ECHO_T}$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
29998 if test $ac_cv_lib_ICE_IceConnectionNumber = yes; then
29999 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
30000 fi
30001
30002 LDFLAGS=$ac_save_LDFLAGS
30003
30004 fi
30005
30006
30007 if test "$no_x" = "yes"; then
30008 { { echo "$as_me:$LINENO: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&5
30009 echo "$as_me: error: X11 not found, please use --x-includes and/or --x-libraries options (see config.log for details)" >&2;}
30010 { (exit 1); exit 1; }; }
30011 fi
30012
30013 GUI_TK_LIBRARY=`echo $X_LIBS | sed 's/ -LNONE//' | sed 's/ -RNONE//'`
30014 TOOLKIT_INCLUDE=`echo $X_CFLAGS | sed 's/ -INONE//'`
30015 AFMINSTALL=afminstall
30016 COMPILED_X_PROGRAM=0
30017
30018 fi
30019
30020 if test "$wxUSE_X11" = 1; then
30021 if test "$wxUSE_NANOX" = "yes"; then
30022 { echo "$as_me:$LINENO: checking for MicroWindows/NanoX distribution" >&5
30023 echo $ECHO_N "checking for MicroWindows/NanoX distribution... $ECHO_C" >&6; }
30024 if test "x$MICROWIN" = x ; then
30025 { echo "$as_me:$LINENO: result: not found" >&5
30026 echo "${ECHO_T}not found" >&6; }
30027 { { echo "$as_me:$LINENO: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&5
30028 echo "$as_me: error: Cannot find MicroWindows library. Make sure MICROWIN is set." >&2;}
30029 { (exit 1); exit 1; }; }
30030 else
30031 { echo "$as_me:$LINENO: result: $MICROWIN" >&5
30032 echo "${ECHO_T}$MICROWIN" >&6; }
30033 cat >>confdefs.h <<\_ACEOF
30034 #define wxUSE_NANOX 1
30035 _ACEOF
30036
30037 fi
30038 fi
30039
30040 if test "$wxUSE_UNICODE" = "yes"; then
30041
30042
30043 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
30044 if test -n "$ac_tool_prefix"; then
30045 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
30046 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
30047 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30048 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30049 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
30050 echo $ECHO_N "(cached) $ECHO_C" >&6
30051 else
30052 case $PKG_CONFIG in
30053 [\\/]* | ?:[\\/]*)
30054 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
30055 ;;
30056 *)
30057 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30058 for as_dir in $PATH
30059 do
30060 IFS=$as_save_IFS
30061 test -z "$as_dir" && as_dir=.
30062 for ac_exec_ext in '' $ac_executable_extensions; do
30063 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30064 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30065 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30066 break 2
30067 fi
30068 done
30069 done
30070 IFS=$as_save_IFS
30071
30072 ;;
30073 esac
30074 fi
30075 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
30076 if test -n "$PKG_CONFIG"; then
30077 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
30078 echo "${ECHO_T}$PKG_CONFIG" >&6; }
30079 else
30080 { echo "$as_me:$LINENO: result: no" >&5
30081 echo "${ECHO_T}no" >&6; }
30082 fi
30083
30084
30085 fi
30086 if test -z "$ac_cv_path_PKG_CONFIG"; then
30087 ac_pt_PKG_CONFIG=$PKG_CONFIG
30088 # Extract the first word of "pkg-config", so it can be a program name with args.
30089 set dummy pkg-config; ac_word=$2
30090 { echo "$as_me:$LINENO: checking for $ac_word" >&5
30091 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
30092 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
30093 echo $ECHO_N "(cached) $ECHO_C" >&6
30094 else
30095 case $ac_pt_PKG_CONFIG in
30096 [\\/]* | ?:[\\/]*)
30097 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
30098 ;;
30099 *)
30100 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
30101 for as_dir in $PATH
30102 do
30103 IFS=$as_save_IFS
30104 test -z "$as_dir" && as_dir=.
30105 for ac_exec_ext in '' $ac_executable_extensions; do
30106 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
30107 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
30108 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
30109 break 2
30110 fi
30111 done
30112 done
30113 IFS=$as_save_IFS
30114
30115 ;;
30116 esac
30117 fi
30118 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
30119 if test -n "$ac_pt_PKG_CONFIG"; then
30120 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
30121 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
30122 else
30123 { echo "$as_me:$LINENO: result: no" >&5
30124 echo "${ECHO_T}no" >&6; }
30125 fi
30126
30127 if test "x$ac_pt_PKG_CONFIG" = x; then
30128 PKG_CONFIG=""
30129 else
30130 case $cross_compiling:$ac_tool_warned in
30131 yes:)
30132 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
30133 whose name does not start with the host triplet. If you think this
30134 configuration is useful to you, please write to autoconf@gnu.org." >&5
30135 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
30136 whose name does not start with the host triplet. If you think this
30137 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
30138 ac_tool_warned=yes ;;
30139 esac
30140 PKG_CONFIG=$ac_pt_PKG_CONFIG
30141 fi
30142 else
30143 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
30144 fi
30145
30146 fi
30147 if test -n "$PKG_CONFIG"; then
30148 _pkg_min_version=0.9.0
30149 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
30150 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
30151 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
30152 { echo "$as_me:$LINENO: result: yes" >&5
30153 echo "${ECHO_T}yes" >&6; }
30154 else
30155 { echo "$as_me:$LINENO: result: no" >&5
30156 echo "${ECHO_T}no" >&6; }
30157 PKG_CONFIG=""
30158 fi
30159
30160 fi
30161
30162
30163 pkg_failed=no
30164 { echo "$as_me:$LINENO: checking for PANGOX" >&5
30165 echo $ECHO_N "checking for PANGOX... $ECHO_C" >&6; }
30166
30167 if test -n "$PKG_CONFIG"; then
30168 if test -n "$PANGOX_CFLAGS"; then
30169 pkg_cv_PANGOX_CFLAGS="$PANGOX_CFLAGS"
30170 else
30171 if test -n "$PKG_CONFIG" && \
30172 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30173 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30174 ac_status=$?
30175 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30176 (exit $ac_status); }; then
30177 pkg_cv_PANGOX_CFLAGS=`$PKG_CONFIG --cflags "pangox" 2>/dev/null`
30178 else
30179 pkg_failed=yes
30180 fi
30181 fi
30182 else
30183 pkg_failed=untried
30184 fi
30185 if test -n "$PKG_CONFIG"; then
30186 if test -n "$PANGOX_LIBS"; then
30187 pkg_cv_PANGOX_LIBS="$PANGOX_LIBS"
30188 else
30189 if test -n "$PKG_CONFIG" && \
30190 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangox\"") >&5
30191 ($PKG_CONFIG --exists --print-errors "pangox") 2>&5
30192 ac_status=$?
30193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30194 (exit $ac_status); }; then
30195 pkg_cv_PANGOX_LIBS=`$PKG_CONFIG --libs "pangox" 2>/dev/null`
30196 else
30197 pkg_failed=yes
30198 fi
30199 fi
30200 else
30201 pkg_failed=untried
30202 fi
30203
30204
30205
30206 if test $pkg_failed = yes; then
30207
30208 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30209 _pkg_short_errors_supported=yes
30210 else
30211 _pkg_short_errors_supported=no
30212 fi
30213 if test $_pkg_short_errors_supported = yes; then
30214 PANGOX_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangox"`
30215 else
30216 PANGOX_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangox"`
30217 fi
30218 # Put the nasty error message in config.log where it belongs
30219 echo "$PANGOX_PKG_ERRORS" >&5
30220
30221
30222 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30223 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30224 { (exit 1); exit 1; }; }
30225
30226
30227 elif test $pkg_failed = untried; then
30228
30229 { { echo "$as_me:$LINENO: error: pangox library not found, library cannot be compiled in Unicode mode" >&5
30230 echo "$as_me: error: pangox library not found, library cannot be compiled in Unicode mode" >&2;}
30231 { (exit 1); exit 1; }; }
30232
30233
30234 else
30235 PANGOX_CFLAGS=$pkg_cv_PANGOX_CFLAGS
30236 PANGOX_LIBS=$pkg_cv_PANGOX_LIBS
30237 { echo "$as_me:$LINENO: result: yes" >&5
30238 echo "${ECHO_T}yes" >&6; }
30239
30240 CFLAGS="$PANGOX_CFLAGS $CFLAGS"
30241 CXXFLAGS="$PANGOX_CFLAGS $CXXFLAGS"
30242 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOX_LIBS"
30243
30244 fi
30245
30246 pkg_failed=no
30247 { echo "$as_me:$LINENO: checking for PANGOFT2" >&5
30248 echo $ECHO_N "checking for PANGOFT2... $ECHO_C" >&6; }
30249
30250 if test -n "$PKG_CONFIG"; then
30251 if test -n "$PANGOFT2_CFLAGS"; then
30252 pkg_cv_PANGOFT2_CFLAGS="$PANGOFT2_CFLAGS"
30253 else
30254 if test -n "$PKG_CONFIG" && \
30255 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30256 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30257 ac_status=$?
30258 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30259 (exit $ac_status); }; then
30260 pkg_cv_PANGOFT2_CFLAGS=`$PKG_CONFIG --cflags "pangoft2" 2>/dev/null`
30261 else
30262 pkg_failed=yes
30263 fi
30264 fi
30265 else
30266 pkg_failed=untried
30267 fi
30268 if test -n "$PKG_CONFIG"; then
30269 if test -n "$PANGOFT2_LIBS"; then
30270 pkg_cv_PANGOFT2_LIBS="$PANGOFT2_LIBS"
30271 else
30272 if test -n "$PKG_CONFIG" && \
30273 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoft2\"") >&5
30274 ($PKG_CONFIG --exists --print-errors "pangoft2") 2>&5
30275 ac_status=$?
30276 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30277 (exit $ac_status); }; then
30278 pkg_cv_PANGOFT2_LIBS=`$PKG_CONFIG --libs "pangoft2" 2>/dev/null`
30279 else
30280 pkg_failed=yes
30281 fi
30282 fi
30283 else
30284 pkg_failed=untried
30285 fi
30286
30287
30288
30289 if test $pkg_failed = yes; then
30290
30291 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30292 _pkg_short_errors_supported=yes
30293 else
30294 _pkg_short_errors_supported=no
30295 fi
30296 if test $_pkg_short_errors_supported = yes; then
30297 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoft2"`
30298 else
30299 PANGOFT2_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoft2"`
30300 fi
30301 # Put the nasty error message in config.log where it belongs
30302 echo "$PANGOFT2_PKG_ERRORS" >&5
30303
30304
30305 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30306 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30307 wxUSE_PRINTING_ARCHITECTURE="no"
30308
30309
30310 elif test $pkg_failed = untried; then
30311
30312 { echo "$as_me:$LINENO: WARNING: pangoft2 library not found, library will be compiled without printing support" >&5
30313 echo "$as_me: WARNING: pangoft2 library not found, library will be compiled without printing support" >&2;}
30314 wxUSE_PRINTING_ARCHITECTURE="no"
30315
30316
30317 else
30318 PANGOFT2_CFLAGS=$pkg_cv_PANGOFT2_CFLAGS
30319 PANGOFT2_LIBS=$pkg_cv_PANGOFT2_LIBS
30320 { echo "$as_me:$LINENO: result: yes" >&5
30321 echo "${ECHO_T}yes" >&6; }
30322
30323 CFLAGS="$PANGOFT2_CFLAGS $CFLAGS"
30324 CXXFLAGS="$PANGOFT2_CFLAGS $CXXFLAGS"
30325 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOFT2_LIBS"
30326
30327 fi
30328
30329 pkg_failed=no
30330 { echo "$as_me:$LINENO: checking for PANGOXFT" >&5
30331 echo $ECHO_N "checking for PANGOXFT... $ECHO_C" >&6; }
30332
30333 if test -n "$PKG_CONFIG"; then
30334 if test -n "$PANGOXFT_CFLAGS"; then
30335 pkg_cv_PANGOXFT_CFLAGS="$PANGOXFT_CFLAGS"
30336 else
30337 if test -n "$PKG_CONFIG" && \
30338 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30339 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30340 ac_status=$?
30341 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30342 (exit $ac_status); }; then
30343 pkg_cv_PANGOXFT_CFLAGS=`$PKG_CONFIG --cflags "pangoxft" 2>/dev/null`
30344 else
30345 pkg_failed=yes
30346 fi
30347 fi
30348 else
30349 pkg_failed=untried
30350 fi
30351 if test -n "$PKG_CONFIG"; then
30352 if test -n "$PANGOXFT_LIBS"; then
30353 pkg_cv_PANGOXFT_LIBS="$PANGOXFT_LIBS"
30354 else
30355 if test -n "$PKG_CONFIG" && \
30356 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"pangoxft\"") >&5
30357 ($PKG_CONFIG --exists --print-errors "pangoxft") 2>&5
30358 ac_status=$?
30359 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30360 (exit $ac_status); }; then
30361 pkg_cv_PANGOXFT_LIBS=`$PKG_CONFIG --libs "pangoxft" 2>/dev/null`
30362 else
30363 pkg_failed=yes
30364 fi
30365 fi
30366 else
30367 pkg_failed=untried
30368 fi
30369
30370
30371
30372 if test $pkg_failed = yes; then
30373
30374 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
30375 _pkg_short_errors_supported=yes
30376 else
30377 _pkg_short_errors_supported=no
30378 fi
30379 if test $_pkg_short_errors_supported = yes; then
30380 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "pangoxft"`
30381 else
30382 PANGOXFT_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "pangoxft"`
30383 fi
30384 # Put the nasty error message in config.log where it belongs
30385 echo "$PANGOXFT_PKG_ERRORS" >&5
30386
30387
30388 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30389 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30390
30391
30392 elif test $pkg_failed = untried; then
30393
30394 { echo "$as_me:$LINENO: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&5
30395 echo "$as_me: WARNING: pangoxft library not found, library will be compiled without anti-aliasing support" >&2;}
30396
30397
30398 else
30399 PANGOXFT_CFLAGS=$pkg_cv_PANGOXFT_CFLAGS
30400 PANGOXFT_LIBS=$pkg_cv_PANGOXFT_LIBS
30401 { echo "$as_me:$LINENO: result: yes" >&5
30402 echo "${ECHO_T}yes" >&6; }
30403
30404 cat >>confdefs.h <<\_ACEOF
30405 #define HAVE_PANGO_XFT 1
30406 _ACEOF
30407
30408 CFLAGS="$PANGOXFT_CFLAGS $CFLAGS"
30409 CXXFLAGS="$PANGOXFT_CFLAGS $CXXFLAGS"
30410 GUI_TK_LIBRARY="$GUI_TK_LIBRARY $PANGOXFT_LIBS"
30411
30412 fi
30413 save_LIBS="$LIBS"
30414 LIBS="$LIBS $PANGOX_LIBS"
30415
30416 for ac_func in pango_font_family_is_monospace
30417 do
30418 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
30419 { echo "$as_me:$LINENO: checking for $ac_func" >&5
30420 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
30421 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
30422 echo $ECHO_N "(cached) $ECHO_C" >&6
30423 else
30424 cat >conftest.$ac_ext <<_ACEOF
30425 /* confdefs.h. */
30426 _ACEOF
30427 cat confdefs.h >>conftest.$ac_ext
30428 cat >>conftest.$ac_ext <<_ACEOF
30429 /* end confdefs.h. */
30430 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
30431 For example, HP-UX 11i <limits.h> declares gettimeofday. */
30432 #define $ac_func innocuous_$ac_func
30433
30434 /* System header to define __stub macros and hopefully few prototypes,
30435 which can conflict with char $ac_func (); below.
30436 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
30437 <limits.h> exists even on freestanding compilers. */
30438
30439 #ifdef __STDC__
30440 # include <limits.h>
30441 #else
30442 # include <assert.h>
30443 #endif
30444
30445 #undef $ac_func
30446
30447 /* Override any GCC internal prototype to avoid an error.
30448 Use char because int might match the return type of a GCC
30449 builtin and then its argument prototype would still apply. */
30450 #ifdef __cplusplus
30451 extern "C"
30452 #endif
30453 char $ac_func ();
30454 /* The GNU C library defines this for functions which it implements
30455 to always fail with ENOSYS. Some functions are actually named
30456 something starting with __ and the normal name is an alias. */
30457 #if defined __stub_$ac_func || defined __stub___$ac_func
30458 choke me
30459 #endif
30460
30461 int
30462 main ()
30463 {
30464 return $ac_func ();
30465 ;
30466 return 0;
30467 }
30468 _ACEOF
30469 rm -f conftest.$ac_objext conftest$ac_exeext
30470 if { (ac_try="$ac_link"
30471 case "(($ac_try" in
30472 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30473 *) ac_try_echo=$ac_try;;
30474 esac
30475 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30476 (eval "$ac_link") 2>conftest.er1
30477 ac_status=$?
30478 grep -v '^ *+' conftest.er1 >conftest.err
30479 rm -f conftest.er1
30480 cat conftest.err >&5
30481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30482 (exit $ac_status); } && {
30483 test -z "$ac_c_werror_flag" ||
30484 test ! -s conftest.err
30485 } && test -s conftest$ac_exeext &&
30486 $as_test_x conftest$ac_exeext; then
30487 eval "$as_ac_var=yes"
30488 else
30489 echo "$as_me: failed program was:" >&5
30490 sed 's/^/| /' conftest.$ac_ext >&5
30491
30492 eval "$as_ac_var=no"
30493 fi
30494
30495 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30496 conftest$ac_exeext conftest.$ac_ext
30497 fi
30498 ac_res=`eval echo '${'$as_ac_var'}'`
30499 { echo "$as_me:$LINENO: result: $ac_res" >&5
30500 echo "${ECHO_T}$ac_res" >&6; }
30501 if test `eval echo '${'$as_ac_var'}'` = yes; then
30502 cat >>confdefs.h <<_ACEOF
30503 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
30504 _ACEOF
30505
30506 fi
30507 done
30508
30509 LIBS="$save_LIBS"
30510 fi
30511
30512 wxUSE_UNIVERSAL="yes"
30513
30514 if test "$wxUSE_NANOX" = "yes"; then
30515 TOOLKIT_INCLUDE="-I\$(top_srcdir)/include/wx/x11/nanox -I\$(MICROWIN)/src/include $TOOLKIT_INCLUDE"
30516 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"
30517 GUI_TK_LIBRARY="$GUI_TK_LIBRARY \$(MICROWIN)/src/lib/libnano-X.a"
30518 else
30519 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lX11"
30520 fi
30521
30522 TOOLKIT=X11
30523 GUIDIST=X11_DIST
30524 fi
30525
30526 if test "$wxUSE_MOTIF" = 1; then
30527 if test "$wxUSE_UNICODE" = "yes"; then
30528 { { echo "$as_me:$LINENO: error: Unicode configuration not supported with Motif" >&5
30529 echo "$as_me: error: Unicode configuration not supported with Motif" >&2;}
30530 { (exit 1); exit 1; }; }
30531 fi
30532
30533 { echo "$as_me:$LINENO: checking for Motif/Lesstif headers" >&5
30534 echo $ECHO_N "checking for Motif/Lesstif headers... $ECHO_C" >&6; }
30535
30536 ac_find_includes=
30537 for ac_dir in $SEARCH_INCLUDE /usr/include;
30538 do
30539 if test -f "$ac_dir/Xm/Xm.h"; then
30540 ac_find_includes=$ac_dir
30541 break
30542 fi
30543 done
30544
30545 if test "$ac_find_includes" != "" ; then
30546 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
30547 echo "${ECHO_T}found in $ac_find_includes" >&6; }
30548
30549 if test "x$ac_find_includes" = "x/usr/include"; then
30550 ac_path_to_include=""
30551 else
30552 echo "$TOOLKIT_INCLUDE" | grep "\-I$ac_find_includes" > /dev/null
30553 result=$?
30554 if test $result = 0; then
30555 ac_path_to_include=""
30556 else
30557 ac_path_to_include=" -I$ac_find_includes"
30558 fi
30559 fi
30560
30561 TOOLKIT_INCLUDE="$TOOLKIT_INCLUDE$ac_path_to_include"
30562 else
30563 save_CFLAGS=$CFLAGS
30564 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30565
30566 cat >conftest.$ac_ext <<_ACEOF
30567 /* confdefs.h. */
30568 _ACEOF
30569 cat confdefs.h >>conftest.$ac_ext
30570 cat >>conftest.$ac_ext <<_ACEOF
30571 /* end confdefs.h. */
30572
30573 #include <Xm/Xm.h>
30574
30575 int
30576 main ()
30577 {
30578
30579 int version;
30580 version = xmUseVersion;
30581
30582 ;
30583 return 0;
30584 }
30585 _ACEOF
30586 rm -f conftest.$ac_objext
30587 if { (ac_try="$ac_compile"
30588 case "(($ac_try" in
30589 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30590 *) ac_try_echo=$ac_try;;
30591 esac
30592 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30593 (eval "$ac_compile") 2>conftest.er1
30594 ac_status=$?
30595 grep -v '^ *+' conftest.er1 >conftest.err
30596 rm -f conftest.er1
30597 cat conftest.err >&5
30598 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30599 (exit $ac_status); } && {
30600 test -z "$ac_c_werror_flag" ||
30601 test ! -s conftest.err
30602 } && test -s conftest.$ac_objext; then
30603
30604 { echo "$as_me:$LINENO: result: found in default search path" >&5
30605 echo "${ECHO_T}found in default search path" >&6; }
30606 COMPILED_X_PROGRAM=1
30607
30608 else
30609 echo "$as_me: failed program was:" >&5
30610 sed 's/^/| /' conftest.$ac_ext >&5
30611
30612
30613 { echo "$as_me:$LINENO: result: no" >&5
30614 echo "${ECHO_T}no" >&6; }
30615 { { echo "$as_me:$LINENO: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&5
30616 echo "$as_me: error: please set CPPFLAGS to contain the location of Xm/Xm.h" >&2;}
30617 { (exit 1); exit 1; }; }
30618
30619
30620 fi
30621
30622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30623
30624 CFLAGS=$save_CFLAGS
30625 fi
30626
30627
30628 { echo "$as_me:$LINENO: checking for Motif/Lesstif library" >&5
30629 echo $ECHO_N "checking for Motif/Lesstif library... $ECHO_C" >&6; }
30630
30631 ac_find_libraries=
30632 for ac_dir in $SEARCH_LIB;
30633 do
30634 for ac_extension in a so sl dylib dll.a; do
30635 if test -f "$ac_dir/libXm.$ac_extension"; then
30636 ac_find_libraries=$ac_dir
30637 break 2
30638 fi
30639 done
30640 done
30641
30642
30643 if test "x$ac_find_libraries" != "x" ; then
30644 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
30645 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
30646
30647
30648 if test "$ac_find_libraries" = "default location"; then
30649 ac_path_to_link=""
30650 else
30651 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
30652 result=$?
30653 if test $result = 0; then
30654 ac_path_to_link=""
30655 else
30656 ac_path_to_link=" -L$ac_find_libraries"
30657 fi
30658 fi
30659
30660 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
30661 else
30662 save_CFLAGS=$CFLAGS
30663 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30664 save_LIBS="$LIBS"
30665 LIBS="$GUI_TK_LIBRARY -lXm -lXmu -lXext -lX11"
30666
30667 cat >conftest.$ac_ext <<_ACEOF
30668 /* confdefs.h. */
30669 _ACEOF
30670 cat confdefs.h >>conftest.$ac_ext
30671 cat >>conftest.$ac_ext <<_ACEOF
30672 /* end confdefs.h. */
30673
30674 #include <Xm/Xm.h>
30675
30676 int
30677 main ()
30678 {
30679
30680 int version;
30681 version = xmUseVersion;
30682
30683 ;
30684 return 0;
30685 }
30686 _ACEOF
30687 rm -f conftest.$ac_objext conftest$ac_exeext
30688 if { (ac_try="$ac_link"
30689 case "(($ac_try" in
30690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30691 *) ac_try_echo=$ac_try;;
30692 esac
30693 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30694 (eval "$ac_link") 2>conftest.er1
30695 ac_status=$?
30696 grep -v '^ *+' conftest.er1 >conftest.err
30697 rm -f conftest.er1
30698 cat conftest.err >&5
30699 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30700 (exit $ac_status); } && {
30701 test -z "$ac_c_werror_flag" ||
30702 test ! -s conftest.err
30703 } && test -s conftest$ac_exeext &&
30704 $as_test_x conftest$ac_exeext; then
30705
30706 { echo "$as_me:$LINENO: result: found in default search path" >&5
30707 echo "${ECHO_T}found in default search path" >&6; }
30708 COMPILED_X_PROGRAM=1
30709
30710 else
30711 echo "$as_me: failed program was:" >&5
30712 sed 's/^/| /' conftest.$ac_ext >&5
30713
30714
30715 { echo "$as_me:$LINENO: result: no" >&5
30716 echo "${ECHO_T}no" >&6; }
30717 { { echo "$as_me:$LINENO: error: please set LDFLAGS to contain the location of libXm" >&5
30718 echo "$as_me: error: please set LDFLAGS to contain the location of libXm" >&2;}
30719 { (exit 1); exit 1; }; }
30720
30721
30722 fi
30723
30724 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30725 conftest$ac_exeext conftest.$ac_ext
30726
30727 CFLAGS=$save_CFLAGS
30728 LIBS="$save_LIBS"
30729 fi
30730
30731 { echo "$as_me:$LINENO: checking if we need -lXp and/or -lSM -lICE" >&5
30732 echo $ECHO_N "checking if we need -lXp and/or -lSM -lICE... $ECHO_C" >&6; }
30733 libp_link=""
30734 libsm_ice_link=""
30735 libs_found=0
30736 for libp in "" " -lXp"; do
30737 if test "$libs_found" = "0"; then
30738 for libsm_ice in "" " -lSM -lICE"; do
30739 if test "$libs_found" = "0"; then
30740 save_LIBS="$LIBS"
30741 LIBS="$GUI_TK_LIBRARY -lXm ${libp} -lXmu -lXext -lXt${libsm_ice} -lX11"
30742 save_CFLAGS=$CFLAGS
30743 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30744
30745 cat >conftest.$ac_ext <<_ACEOF
30746 /* confdefs.h. */
30747 _ACEOF
30748 cat confdefs.h >>conftest.$ac_ext
30749 cat >>conftest.$ac_ext <<_ACEOF
30750 /* end confdefs.h. */
30751
30752 #include <Xm/Xm.h>
30753 #include <Xm/List.h>
30754
30755 int
30756 main ()
30757 {
30758
30759 XmString string = NULL;
30760 Widget w = NULL;
30761 int position = 0;
30762 XmListAddItem(w, string, position);
30763
30764 ;
30765 return 0;
30766 }
30767 _ACEOF
30768 rm -f conftest.$ac_objext conftest$ac_exeext
30769 if { (ac_try="$ac_link"
30770 case "(($ac_try" in
30771 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30772 *) ac_try_echo=$ac_try;;
30773 esac
30774 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30775 (eval "$ac_link") 2>conftest.er1
30776 ac_status=$?
30777 grep -v '^ *+' conftest.er1 >conftest.err
30778 rm -f conftest.er1
30779 cat conftest.err >&5
30780 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30781 (exit $ac_status); } && {
30782 test -z "$ac_c_werror_flag" ||
30783 test ! -s conftest.err
30784 } && test -s conftest$ac_exeext &&
30785 $as_test_x conftest$ac_exeext; then
30786
30787 libp_link="$libp"
30788 libsm_ice_link="$libsm_ice"
30789 { echo "$as_me:$LINENO: result: need${libp_link}${libsm_ice_link}" >&5
30790 echo "${ECHO_T}need${libp_link}${libsm_ice_link}" >&6; }
30791 libs_found=1
30792
30793 else
30794 echo "$as_me: failed program was:" >&5
30795 sed 's/^/| /' conftest.$ac_ext >&5
30796
30797
30798
30799 fi
30800
30801 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30802 conftest$ac_exeext conftest.$ac_ext
30803
30804 LIBS="$save_LIBS"
30805 CFLAGS=$save_CFLAGS
30806 fi
30807 done
30808 fi
30809 done
30810
30811 if test "$libs_found" = "0"; then
30812 { echo "$as_me:$LINENO: result: can't find the right libraries" >&5
30813 echo "${ECHO_T}can't find the right libraries" >&6; }
30814 { { echo "$as_me:$LINENO: error: can't link a simple motif program" >&5
30815 echo "$as_me: error: can't link a simple motif program" >&2;}
30816 { (exit 1); exit 1; }; }
30817 fi
30818
30819 { echo "$as_me:$LINENO: checking for SgCreateList in -lSgm" >&5
30820 echo $ECHO_N "checking for SgCreateList in -lSgm... $ECHO_C" >&6; }
30821 if test "${ac_cv_lib_Sgm_SgCreateList+set}" = set; then
30822 echo $ECHO_N "(cached) $ECHO_C" >&6
30823 else
30824 ac_check_lib_save_LIBS=$LIBS
30825 LIBS="-lSgm $LIBS"
30826 cat >conftest.$ac_ext <<_ACEOF
30827 /* confdefs.h. */
30828 _ACEOF
30829 cat confdefs.h >>conftest.$ac_ext
30830 cat >>conftest.$ac_ext <<_ACEOF
30831 /* end confdefs.h. */
30832
30833 /* Override any GCC internal prototype to avoid an error.
30834 Use char because int might match the return type of a GCC
30835 builtin and then its argument prototype would still apply. */
30836 #ifdef __cplusplus
30837 extern "C"
30838 #endif
30839 char SgCreateList ();
30840 int
30841 main ()
30842 {
30843 return SgCreateList ();
30844 ;
30845 return 0;
30846 }
30847 _ACEOF
30848 rm -f conftest.$ac_objext conftest$ac_exeext
30849 if { (ac_try="$ac_link"
30850 case "(($ac_try" in
30851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30852 *) ac_try_echo=$ac_try;;
30853 esac
30854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30855 (eval "$ac_link") 2>conftest.er1
30856 ac_status=$?
30857 grep -v '^ *+' conftest.er1 >conftest.err
30858 rm -f conftest.er1
30859 cat conftest.err >&5
30860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30861 (exit $ac_status); } && {
30862 test -z "$ac_c_werror_flag" ||
30863 test ! -s conftest.err
30864 } && test -s conftest$ac_exeext &&
30865 $as_test_x conftest$ac_exeext; then
30866 ac_cv_lib_Sgm_SgCreateList=yes
30867 else
30868 echo "$as_me: failed program was:" >&5
30869 sed 's/^/| /' conftest.$ac_ext >&5
30870
30871 ac_cv_lib_Sgm_SgCreateList=no
30872 fi
30873
30874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
30875 conftest$ac_exeext conftest.$ac_ext
30876 LIBS=$ac_check_lib_save_LIBS
30877 fi
30878 { echo "$as_me:$LINENO: result: $ac_cv_lib_Sgm_SgCreateList" >&5
30879 echo "${ECHO_T}$ac_cv_lib_Sgm_SgCreateList" >&6; }
30880 if test $ac_cv_lib_Sgm_SgCreateList = yes; then
30881 libsgm_link=" -lSgm"
30882 fi
30883
30884
30885 save_CFLAGS=$CFLAGS
30886 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
30887
30888 { echo "$as_me:$LINENO: checking for Motif 2" >&5
30889 echo $ECHO_N "checking for Motif 2... $ECHO_C" >&6; }
30890 if test "${wx_cv_lib_motif2+set}" = set; then
30891 echo $ECHO_N "(cached) $ECHO_C" >&6
30892 else
30893 cat >conftest.$ac_ext <<_ACEOF
30894 /* confdefs.h. */
30895 _ACEOF
30896 cat confdefs.h >>conftest.$ac_ext
30897 cat >>conftest.$ac_ext <<_ACEOF
30898 /* end confdefs.h. */
30899
30900 #include <Xm/Xm.h>
30901
30902 int
30903 main ()
30904 {
30905
30906 #if XmVersion < 2000
30907 Not Motif 2
30908 #endif
30909
30910 ;
30911 return 0;
30912 }
30913 _ACEOF
30914 rm -f conftest.$ac_objext
30915 if { (ac_try="$ac_compile"
30916 case "(($ac_try" in
30917 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30918 *) ac_try_echo=$ac_try;;
30919 esac
30920 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30921 (eval "$ac_compile") 2>conftest.er1
30922 ac_status=$?
30923 grep -v '^ *+' conftest.er1 >conftest.err
30924 rm -f conftest.er1
30925 cat conftest.err >&5
30926 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30927 (exit $ac_status); } && {
30928 test -z "$ac_c_werror_flag" ||
30929 test ! -s conftest.err
30930 } && test -s conftest.$ac_objext; then
30931 wx_cv_lib_motif2="yes"
30932 else
30933 echo "$as_me: failed program was:" >&5
30934 sed 's/^/| /' conftest.$ac_ext >&5
30935
30936 wx_cv_lib_motif2="no"
30937 fi
30938
30939 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
30940 fi
30941 { echo "$as_me:$LINENO: result: $wx_cv_lib_motif2" >&5
30942 echo "${ECHO_T}$wx_cv_lib_motif2" >&6; }
30943 if test "$wx_cv_lib_motif2" = "yes"; then
30944 cat >>confdefs.h <<\_ACEOF
30945 #define __WXMOTIF20__ 1
30946 _ACEOF
30947
30948 else
30949 cat >>confdefs.h <<\_ACEOF
30950 #define __WXMOTIF20__ 0
30951 _ACEOF
30952
30953 fi
30954
30955 { echo "$as_me:$LINENO: checking whether Motif is Lesstif" >&5
30956 echo $ECHO_N "checking whether Motif is Lesstif... $ECHO_C" >&6; }
30957 if test "${wx_cv_lib_lesstif+set}" = set; then
30958 echo $ECHO_N "(cached) $ECHO_C" >&6
30959 else
30960 cat >conftest.$ac_ext <<_ACEOF
30961 /* confdefs.h. */
30962 _ACEOF
30963 cat confdefs.h >>conftest.$ac_ext
30964 cat >>conftest.$ac_ext <<_ACEOF
30965 /* end confdefs.h. */
30966
30967 #include <Xm/Xm.h>
30968
30969 int
30970 main ()
30971 {
30972
30973 #if !defined(LesstifVersion) || LesstifVersion <= 0
30974 Not Lesstif
30975 #endif
30976
30977 ;
30978 return 0;
30979 }
30980 _ACEOF
30981 rm -f conftest.$ac_objext
30982 if { (ac_try="$ac_compile"
30983 case "(($ac_try" in
30984 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
30985 *) ac_try_echo=$ac_try;;
30986 esac
30987 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
30988 (eval "$ac_compile") 2>conftest.er1
30989 ac_status=$?
30990 grep -v '^ *+' conftest.er1 >conftest.err
30991 rm -f conftest.er1
30992 cat conftest.err >&5
30993 echo "$as_me:$LINENO: \$? = $ac_status" >&5
30994 (exit $ac_status); } && {
30995 test -z "$ac_c_werror_flag" ||
30996 test ! -s conftest.err
30997 } && test -s conftest.$ac_objext; then
30998 wx_cv_lib_lesstif="yes"
30999 else
31000 echo "$as_me: failed program was:" >&5
31001 sed 's/^/| /' conftest.$ac_ext >&5
31002
31003 wx_cv_lib_lesstif="no"
31004 fi
31005
31006 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31007
31008 fi
31009 { echo "$as_me:$LINENO: result: $wx_cv_lib_lesstif" >&5
31010 echo "${ECHO_T}$wx_cv_lib_lesstif" >&6; }
31011 if test "$wx_cv_lib_lesstif" = "yes"; then
31012 cat >>confdefs.h <<\_ACEOF
31013 #define __WXLESSTIF__ 1
31014 _ACEOF
31015
31016 else
31017 cat >>confdefs.h <<\_ACEOF
31018 #define __WXLESSTIF__ 0
31019 _ACEOF
31020
31021 fi
31022
31023 CFLAGS=$save_CFLAGS
31024
31025 GUI_TK_LIBRARY="$GUI_TK_LIBRARY${libsgm_link} -lXm${libp_link} -lXmu -lXext -lXt${libsm_ice_link} -lX11"
31026 TOOLKIT=MOTIF
31027 GUIDIST=MOTIF_DIST
31028 fi
31029
31030 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
31031 if test "$wxUSE_LIBXPM" = "sys"; then
31032 { echo "$as_me:$LINENO: checking for Xpm library" >&5
31033 echo $ECHO_N "checking for Xpm library... $ECHO_C" >&6; }
31034
31035 ac_find_libraries=
31036 for ac_dir in $SEARCH_LIB;
31037 do
31038 for ac_extension in a so sl dylib dll.a; do
31039 if test -f "$ac_dir/libXpm.$ac_extension"; then
31040 ac_find_libraries=$ac_dir
31041 break 2
31042 fi
31043 done
31044 done
31045
31046 if test "$ac_find_libraries" != "" ; then
31047
31048 if test "$ac_find_libraries" = "default location"; then
31049 ac_path_to_link=""
31050 else
31051 echo "$GUI_TK_LIBRARY" | grep "\-L$ac_find_libraries" > /dev/null
31052 result=$?
31053 if test $result = 0; then
31054 ac_path_to_link=""
31055 else
31056 ac_path_to_link=" -L$ac_find_libraries"
31057 fi
31058 fi
31059
31060 GUI_TK_LIBRARY="$GUI_TK_LIBRARY$ac_path_to_link"
31061 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
31062 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
31063
31064 { echo "$as_me:$LINENO: checking for X11/xpm.h" >&5
31065 echo $ECHO_N "checking for X11/xpm.h... $ECHO_C" >&6; }
31066 if test "${wx_cv_x11_xpm_h+set}" = set; then
31067 echo $ECHO_N "(cached) $ECHO_C" >&6
31068 else
31069
31070 save_CFLAGS=$CFLAGS
31071 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31072
31073 cat >conftest.$ac_ext <<_ACEOF
31074 /* confdefs.h. */
31075 _ACEOF
31076 cat confdefs.h >>conftest.$ac_ext
31077 cat >>conftest.$ac_ext <<_ACEOF
31078 /* end confdefs.h. */
31079
31080 #include <X11/xpm.h>
31081
31082 int
31083 main ()
31084 {
31085
31086 int version;
31087 version = XpmLibraryVersion();
31088
31089 ;
31090 return 0;
31091 }
31092 _ACEOF
31093 rm -f conftest.$ac_objext
31094 if { (ac_try="$ac_compile"
31095 case "(($ac_try" in
31096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31097 *) ac_try_echo=$ac_try;;
31098 esac
31099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31100 (eval "$ac_compile") 2>conftest.er1
31101 ac_status=$?
31102 grep -v '^ *+' conftest.er1 >conftest.err
31103 rm -f conftest.er1
31104 cat conftest.err >&5
31105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31106 (exit $ac_status); } && {
31107 test -z "$ac_c_werror_flag" ||
31108 test ! -s conftest.err
31109 } && test -s conftest.$ac_objext; then
31110 wx_cv_x11_xpm_h=yes
31111 else
31112 echo "$as_me: failed program was:" >&5
31113 sed 's/^/| /' conftest.$ac_ext >&5
31114
31115 wx_cv_x11_xpm_h=no
31116
31117 fi
31118
31119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31120
31121 CFLAGS=$save_CFLAGS
31122
31123
31124 fi
31125 { echo "$as_me:$LINENO: result: $wx_cv_x11_xpm_h" >&5
31126 echo "${ECHO_T}$wx_cv_x11_xpm_h" >&6; }
31127
31128 if test $wx_cv_x11_xpm_h = "yes"; then
31129 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXpm"
31130 cat >>confdefs.h <<\_ACEOF
31131 #define wxHAVE_LIB_XPM 1
31132 _ACEOF
31133
31134 else
31135 { echo "$as_me:$LINENO: WARNING: built-in less efficient XPM decoder will be used" >&5
31136 echo "$as_me: WARNING: built-in less efficient XPM decoder will be used" >&2;}
31137 fi
31138 fi
31139
31140 fi
31141
31142 { echo "$as_me:$LINENO: checking for XShapeQueryExtension in -lXext" >&5
31143 echo $ECHO_N "checking for XShapeQueryExtension in -lXext... $ECHO_C" >&6; }
31144 if test "${ac_cv_lib_Xext_XShapeQueryExtension+set}" = set; then
31145 echo $ECHO_N "(cached) $ECHO_C" >&6
31146 else
31147 ac_check_lib_save_LIBS=$LIBS
31148 LIBS="-lXext $GUI_TK_LIBRARY -lX11 $LIBS"
31149 cat >conftest.$ac_ext <<_ACEOF
31150 /* confdefs.h. */
31151 _ACEOF
31152 cat confdefs.h >>conftest.$ac_ext
31153 cat >>conftest.$ac_ext <<_ACEOF
31154 /* end confdefs.h. */
31155
31156 /* Override any GCC internal prototype to avoid an error.
31157 Use char because int might match the return type of a GCC
31158 builtin and then its argument prototype would still apply. */
31159 #ifdef __cplusplus
31160 extern "C"
31161 #endif
31162 char XShapeQueryExtension ();
31163 int
31164 main ()
31165 {
31166 return XShapeQueryExtension ();
31167 ;
31168 return 0;
31169 }
31170 _ACEOF
31171 rm -f conftest.$ac_objext conftest$ac_exeext
31172 if { (ac_try="$ac_link"
31173 case "(($ac_try" in
31174 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31175 *) ac_try_echo=$ac_try;;
31176 esac
31177 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31178 (eval "$ac_link") 2>conftest.er1
31179 ac_status=$?
31180 grep -v '^ *+' conftest.er1 >conftest.err
31181 rm -f conftest.er1
31182 cat conftest.err >&5
31183 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31184 (exit $ac_status); } && {
31185 test -z "$ac_c_werror_flag" ||
31186 test ! -s conftest.err
31187 } && test -s conftest$ac_exeext &&
31188 $as_test_x conftest$ac_exeext; then
31189 ac_cv_lib_Xext_XShapeQueryExtension=yes
31190 else
31191 echo "$as_me: failed program was:" >&5
31192 sed 's/^/| /' conftest.$ac_ext >&5
31193
31194 ac_cv_lib_Xext_XShapeQueryExtension=no
31195 fi
31196
31197 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31198 conftest$ac_exeext conftest.$ac_ext
31199 LIBS=$ac_check_lib_save_LIBS
31200 fi
31201 { echo "$as_me:$LINENO: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
31202 echo "${ECHO_T}$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
31203 if test $ac_cv_lib_Xext_XShapeQueryExtension = yes; then
31204
31205 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXext"
31206 wxHAVE_XEXT_LIB=1
31207
31208 fi
31209
31210
31211 if test "$wxHAVE_XEXT_LIB" = 1; then
31212 save_CFLAGS="$CFLAGS"
31213 CFLAGS="$TOOLKIT_INCLUDE $CFLAGS"
31214
31215 { echo "$as_me:$LINENO: checking for X11/extensions/shape.h" >&5
31216 echo $ECHO_N "checking for X11/extensions/shape.h... $ECHO_C" >&6; }
31217 cat >conftest.$ac_ext <<_ACEOF
31218 /* confdefs.h. */
31219 _ACEOF
31220 cat confdefs.h >>conftest.$ac_ext
31221 cat >>conftest.$ac_ext <<_ACEOF
31222 /* end confdefs.h. */
31223
31224 #include <X11/Xlib.h>
31225 #include <X11/extensions/shape.h>
31226
31227 int
31228 main ()
31229 {
31230
31231 int dummy1, dummy2;
31232 XShapeQueryExtension((Display*)NULL,
31233 (int*)NULL, (int*)NULL);
31234
31235 ;
31236 return 0;
31237 }
31238 _ACEOF
31239 rm -f conftest.$ac_objext
31240 if { (ac_try="$ac_compile"
31241 case "(($ac_try" in
31242 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31243 *) ac_try_echo=$ac_try;;
31244 esac
31245 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31246 (eval "$ac_compile") 2>conftest.er1
31247 ac_status=$?
31248 grep -v '^ *+' conftest.er1 >conftest.err
31249 rm -f conftest.er1
31250 cat conftest.err >&5
31251 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31252 (exit $ac_status); } && {
31253 test -z "$ac_c_werror_flag" ||
31254 test ! -s conftest.err
31255 } && test -s conftest.$ac_objext; then
31256
31257 cat >>confdefs.h <<\_ACEOF
31258 #define HAVE_XSHAPE 1
31259 _ACEOF
31260
31261 { echo "$as_me:$LINENO: result: found" >&5
31262 echo "${ECHO_T}found" >&6; }
31263
31264 else
31265 echo "$as_me: failed program was:" >&5
31266 sed 's/^/| /' conftest.$ac_ext >&5
31267
31268
31269 { echo "$as_me:$LINENO: result: not found" >&5
31270 echo "${ECHO_T}not found" >&6; }
31271
31272 fi
31273
31274 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31275 CFLAGS="$save_CFLAGS"
31276
31277 fi
31278 fi
31279
31280 if test "$wxUSE_MAC" = 1; then
31281 { echo "$as_me:$LINENO: checking for compiler syntax to enable Pascal strings" >&5
31282 echo $ECHO_N "checking for compiler syntax to enable Pascal strings... $ECHO_C" >&6; }
31283 if test "$GCC" = yes; then
31284 { echo "$as_me:$LINENO: result: gcc" >&5
31285 echo "${ECHO_T}gcc" >&6; }
31286 CPPFLAGS_PASCAL="-fpascal-strings"
31287 elif test "`echo $CXX | sed -e 's@.*/@@'`" = "xlC"; then
31288 { echo "$as_me:$LINENO: result: xlc" >&5
31289 echo "${ECHO_T}xlc" >&6; }
31290 CPPFLAGS_PASCAL="-qmacpstr"
31291 else
31292 { echo "$as_me:$LINENO: result: none" >&5
31293 echo "${ECHO_T}none" >&6; }
31294 fi
31295
31296 if test "x$wxUSE_UNIX" = "xyes"; then
31297 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -I/Developer/Headers/FlatCarbon $CPPFLAGS"
31298 else
31299 CPPFLAGS="$CPPFLAGS_PASCAL -I\${top_srcdir}/src/mac/carbon/morefilex -DTARGET_CARBON $CPPFLAGS"
31300 fi
31301
31302 TOOLKIT=MAC
31303 GUIDIST=MACX_DIST
31304 WXBASEPORT="_carbon"
31305 fi
31306
31307 if test "$wxUSE_COCOA" = 1; then
31308 TOOLKIT=COCOA
31309 GUIDIST=COCOA_DIST
31310 fi
31311
31312 if test "$wxUSE_PM" = 1; then
31313 TOOLKIT=PM
31314 GUIDIST=PM_DIST
31315 { echo "$as_me:$LINENO: checking for type SPBCDATA" >&5
31316 echo $ECHO_N "checking for type SPBCDATA... $ECHO_C" >&6; }
31317 if test "${wx_cv_spbcdata+set}" = set; then
31318 echo $ECHO_N "(cached) $ECHO_C" >&6
31319 else
31320
31321 cat >conftest.$ac_ext <<_ACEOF
31322 /* confdefs.h. */
31323 _ACEOF
31324 cat confdefs.h >>conftest.$ac_ext
31325 cat >>conftest.$ac_ext <<_ACEOF
31326 /* end confdefs.h. */
31327
31328 #define INCL_PM
31329 #include <os2.h>
31330
31331 int
31332 main ()
31333 {
31334
31335 SPBCDATA test;
31336
31337 ;
31338 return 0;
31339 }
31340 _ACEOF
31341 rm -f conftest.$ac_objext
31342 if { (ac_try="$ac_compile"
31343 case "(($ac_try" in
31344 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31345 *) ac_try_echo=$ac_try;;
31346 esac
31347 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31348 (eval "$ac_compile") 2>conftest.er1
31349 ac_status=$?
31350 grep -v '^ *+' conftest.er1 >conftest.err
31351 rm -f conftest.er1
31352 cat conftest.err >&5
31353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31354 (exit $ac_status); } && {
31355 test -z "$ac_c_werror_flag" ||
31356 test ! -s conftest.err
31357 } && test -s conftest.$ac_objext; then
31358 wx_cv_spbcdata=yes
31359 else
31360 echo "$as_me: failed program was:" >&5
31361 sed 's/^/| /' conftest.$ac_ext >&5
31362
31363 wx_cv_spbcdata=no
31364
31365 fi
31366
31367 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31368
31369
31370 fi
31371 { echo "$as_me:$LINENO: result: $wx_cv_spbcdata" >&5
31372 echo "${ECHO_T}$wx_cv_spbcdata" >&6; }
31373
31374 if test $wx_cv_spbcdata = "yes"; then
31375 cat >>confdefs.h <<\_ACEOF
31376 #define HAVE_SPBCDATA 1
31377 _ACEOF
31378
31379 fi
31380 fi
31381
31382 if test "$TOOLKIT" = "PM" ; then
31383 TOOLKIT_DIR="os2"
31384 else
31385 TOOLKIT_DIR=`echo ${TOOLKIT} | tr "[A-Z]" "[a-z]"`
31386 fi
31387
31388 if test "$wxUSE_UNIVERSAL" = "yes"; then
31389 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WXUNIVERSAL__"
31390 WIDGET_SET=univ
31391 fi
31392
31393 GUIDIST="${GUIDIST} SAMPLES_DIST DEMOS_DIST UTILS_DIST MISC_DIST"
31394 DISTDIR="wx\$(TOOLKIT)"
31395 else
31396 USE_GUI=0
31397
31398 TOOLKIT_DIR="base"
31399
31400 if test "$USE_WIN32" = 1 ; then
31401 TOOLKIT="MSW"
31402 fi
31403
31404 GUIDIST="BASE_DIST"
31405 DISTDIR="wxBase"
31406 fi
31407
31408
31409 if test "$wxUSE_GUI" = "yes"; then
31410 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_PM" != 1; then
31411 { echo "$as_me:$LINENO: checking for X11/Xlib.h" >&5
31412 echo $ECHO_N "checking for X11/Xlib.h... $ECHO_C" >&6; }
31413 if test "${ac_cv_header_X11_Xlib_h+set}" = set; then
31414 echo $ECHO_N "(cached) $ECHO_C" >&6
31415 else
31416 cat >conftest.$ac_ext <<_ACEOF
31417 /* confdefs.h. */
31418 _ACEOF
31419 cat confdefs.h >>conftest.$ac_ext
31420 cat >>conftest.$ac_ext <<_ACEOF
31421 /* end confdefs.h. */
31422
31423
31424 #include <X11/Xlib.h>
31425 _ACEOF
31426 rm -f conftest.$ac_objext
31427 if { (ac_try="$ac_compile"
31428 case "(($ac_try" in
31429 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31430 *) ac_try_echo=$ac_try;;
31431 esac
31432 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31433 (eval "$ac_compile") 2>conftest.er1
31434 ac_status=$?
31435 grep -v '^ *+' conftest.er1 >conftest.err
31436 rm -f conftest.er1
31437 cat conftest.err >&5
31438 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31439 (exit $ac_status); } && {
31440 test -z "$ac_c_werror_flag" ||
31441 test ! -s conftest.err
31442 } && test -s conftest.$ac_objext; then
31443 ac_cv_header_X11_Xlib_h=yes
31444 else
31445 echo "$as_me: failed program was:" >&5
31446 sed 's/^/| /' conftest.$ac_ext >&5
31447
31448 ac_cv_header_X11_Xlib_h=no
31449 fi
31450
31451 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31452 fi
31453 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_Xlib_h" >&5
31454 echo "${ECHO_T}$ac_cv_header_X11_Xlib_h" >&6; }
31455
31456
31457 { echo "$as_me:$LINENO: checking for X11/XKBlib.h" >&5
31458 echo $ECHO_N "checking for X11/XKBlib.h... $ECHO_C" >&6; }
31459 if test "${ac_cv_header_X11_XKBlib_h+set}" = set; then
31460 echo $ECHO_N "(cached) $ECHO_C" >&6
31461 else
31462 cat >conftest.$ac_ext <<_ACEOF
31463 /* confdefs.h. */
31464 _ACEOF
31465 cat confdefs.h >>conftest.$ac_ext
31466 cat >>conftest.$ac_ext <<_ACEOF
31467 /* end confdefs.h. */
31468
31469 #if HAVE_X11_XLIB_H
31470 #include <X11/Xlib.h>
31471 #endif
31472
31473
31474 #include <X11/XKBlib.h>
31475 _ACEOF
31476 rm -f conftest.$ac_objext
31477 if { (ac_try="$ac_compile"
31478 case "(($ac_try" in
31479 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31480 *) ac_try_echo=$ac_try;;
31481 esac
31482 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31483 (eval "$ac_compile") 2>conftest.er1
31484 ac_status=$?
31485 grep -v '^ *+' conftest.er1 >conftest.err
31486 rm -f conftest.er1
31487 cat conftest.err >&5
31488 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31489 (exit $ac_status); } && {
31490 test -z "$ac_c_werror_flag" ||
31491 test ! -s conftest.err
31492 } && test -s conftest.$ac_objext; then
31493 ac_cv_header_X11_XKBlib_h=yes
31494 else
31495 echo "$as_me: failed program was:" >&5
31496 sed 's/^/| /' conftest.$ac_ext >&5
31497
31498 ac_cv_header_X11_XKBlib_h=no
31499 fi
31500
31501 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31502 fi
31503 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_XKBlib_h" >&5
31504 echo "${ECHO_T}$ac_cv_header_X11_XKBlib_h" >&6; }
31505
31506
31507 fi
31508 fi
31509
31510
31511
31512 IODBC_C_SRC=""
31513
31514
31515 if test "$TOOLKIT" != "MSW" ; then
31516
31517 if test "$wxUSE_ODBC" = "sys" -o "$wxUSE_ODBC" = "yes" ; then
31518
31519 { echo "$as_me:$LINENO: checking for sql.h" >&5
31520 echo $ECHO_N "checking for sql.h... $ECHO_C" >&6; }
31521 if test "${ac_cv_header_sql_h+set}" = set; then
31522 echo $ECHO_N "(cached) $ECHO_C" >&6
31523 else
31524 cat >conftest.$ac_ext <<_ACEOF
31525 /* confdefs.h. */
31526 _ACEOF
31527 cat confdefs.h >>conftest.$ac_ext
31528 cat >>conftest.$ac_ext <<_ACEOF
31529 /* end confdefs.h. */
31530
31531
31532 #include <sql.h>
31533 _ACEOF
31534 rm -f conftest.$ac_objext
31535 if { (ac_try="$ac_compile"
31536 case "(($ac_try" in
31537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31538 *) ac_try_echo=$ac_try;;
31539 esac
31540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31541 (eval "$ac_compile") 2>conftest.er1
31542 ac_status=$?
31543 grep -v '^ *+' conftest.er1 >conftest.err
31544 rm -f conftest.er1
31545 cat conftest.err >&5
31546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31547 (exit $ac_status); } && {
31548 test -z "$ac_c_werror_flag" ||
31549 test ! -s conftest.err
31550 } && test -s conftest.$ac_objext; then
31551 ac_cv_header_sql_h=yes
31552 else
31553 echo "$as_me: failed program was:" >&5
31554 sed 's/^/| /' conftest.$ac_ext >&5
31555
31556 ac_cv_header_sql_h=no
31557 fi
31558
31559 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31560 fi
31561 { echo "$as_me:$LINENO: result: $ac_cv_header_sql_h" >&5
31562 echo "${ECHO_T}$ac_cv_header_sql_h" >&6; }
31563 if test $ac_cv_header_sql_h = yes; then
31564 found_sql_h=1
31565 fi
31566
31567
31568 if test "x$found_sql_h" = "x1" ; then
31569 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -liodbc" >&5
31570 echo $ECHO_N "checking for SQLAllocEnv in -liodbc... $ECHO_C" >&6; }
31571 if test "${ac_cv_lib_iodbc_SQLAllocEnv+set}" = set; then
31572 echo $ECHO_N "(cached) $ECHO_C" >&6
31573 else
31574 ac_check_lib_save_LIBS=$LIBS
31575 LIBS="-liodbc $LIBS"
31576 cat >conftest.$ac_ext <<_ACEOF
31577 /* confdefs.h. */
31578 _ACEOF
31579 cat confdefs.h >>conftest.$ac_ext
31580 cat >>conftest.$ac_ext <<_ACEOF
31581 /* end confdefs.h. */
31582
31583 /* Override any GCC internal prototype to avoid an error.
31584 Use char because int might match the return type of a GCC
31585 builtin and then its argument prototype would still apply. */
31586 #ifdef __cplusplus
31587 extern "C"
31588 #endif
31589 char SQLAllocEnv ();
31590 int
31591 main ()
31592 {
31593 return SQLAllocEnv ();
31594 ;
31595 return 0;
31596 }
31597 _ACEOF
31598 rm -f conftest.$ac_objext conftest$ac_exeext
31599 if { (ac_try="$ac_link"
31600 case "(($ac_try" in
31601 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31602 *) ac_try_echo=$ac_try;;
31603 esac
31604 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31605 (eval "$ac_link") 2>conftest.er1
31606 ac_status=$?
31607 grep -v '^ *+' conftest.er1 >conftest.err
31608 rm -f conftest.er1
31609 cat conftest.err >&5
31610 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31611 (exit $ac_status); } && {
31612 test -z "$ac_c_werror_flag" ||
31613 test ! -s conftest.err
31614 } && test -s conftest$ac_exeext &&
31615 $as_test_x conftest$ac_exeext; then
31616 ac_cv_lib_iodbc_SQLAllocEnv=yes
31617 else
31618 echo "$as_me: failed program was:" >&5
31619 sed 's/^/| /' conftest.$ac_ext >&5
31620
31621 ac_cv_lib_iodbc_SQLAllocEnv=no
31622 fi
31623
31624 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31625 conftest$ac_exeext conftest.$ac_ext
31626 LIBS=$ac_check_lib_save_LIBS
31627 fi
31628 { echo "$as_me:$LINENO: result: $ac_cv_lib_iodbc_SQLAllocEnv" >&5
31629 echo "${ECHO_T}$ac_cv_lib_iodbc_SQLAllocEnv" >&6; }
31630 if test $ac_cv_lib_iodbc_SQLAllocEnv = yes; then
31631 ODBC_LINK=" -liodbc"
31632 else
31633
31634 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lunixodbc" >&5
31635 echo $ECHO_N "checking for SQLAllocEnv in -lunixodbc... $ECHO_C" >&6; }
31636 if test "${ac_cv_lib_unixodbc_SQLAllocEnv+set}" = set; then
31637 echo $ECHO_N "(cached) $ECHO_C" >&6
31638 else
31639 ac_check_lib_save_LIBS=$LIBS
31640 LIBS="-lunixodbc $LIBS"
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 /* Override any GCC internal prototype to avoid an error.
31649 Use char because int might match the return type of a GCC
31650 builtin and then its argument prototype would still apply. */
31651 #ifdef __cplusplus
31652 extern "C"
31653 #endif
31654 char SQLAllocEnv ();
31655 int
31656 main ()
31657 {
31658 return SQLAllocEnv ();
31659 ;
31660 return 0;
31661 }
31662 _ACEOF
31663 rm -f conftest.$ac_objext conftest$ac_exeext
31664 if { (ac_try="$ac_link"
31665 case "(($ac_try" in
31666 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31667 *) ac_try_echo=$ac_try;;
31668 esac
31669 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31670 (eval "$ac_link") 2>conftest.er1
31671 ac_status=$?
31672 grep -v '^ *+' conftest.er1 >conftest.err
31673 rm -f conftest.er1
31674 cat conftest.err >&5
31675 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31676 (exit $ac_status); } && {
31677 test -z "$ac_c_werror_flag" ||
31678 test ! -s conftest.err
31679 } && test -s conftest$ac_exeext &&
31680 $as_test_x conftest$ac_exeext; then
31681 ac_cv_lib_unixodbc_SQLAllocEnv=yes
31682 else
31683 echo "$as_me: failed program was:" >&5
31684 sed 's/^/| /' conftest.$ac_ext >&5
31685
31686 ac_cv_lib_unixodbc_SQLAllocEnv=no
31687 fi
31688
31689 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31690 conftest$ac_exeext conftest.$ac_ext
31691 LIBS=$ac_check_lib_save_LIBS
31692 fi
31693 { echo "$as_me:$LINENO: result: $ac_cv_lib_unixodbc_SQLAllocEnv" >&5
31694 echo "${ECHO_T}$ac_cv_lib_unixodbc_SQLAllocEnv" >&6; }
31695 if test $ac_cv_lib_unixodbc_SQLAllocEnv = yes; then
31696 ODBC_LINK=" -lunixodbc"
31697 else
31698
31699 { echo "$as_me:$LINENO: checking for SQLAllocEnv in -lodbc" >&5
31700 echo $ECHO_N "checking for SQLAllocEnv in -lodbc... $ECHO_C" >&6; }
31701 if test "${ac_cv_lib_odbc_SQLAllocEnv+set}" = set; then
31702 echo $ECHO_N "(cached) $ECHO_C" >&6
31703 else
31704 ac_check_lib_save_LIBS=$LIBS
31705 LIBS="-lodbc $LIBS"
31706 cat >conftest.$ac_ext <<_ACEOF
31707 /* confdefs.h. */
31708 _ACEOF
31709 cat confdefs.h >>conftest.$ac_ext
31710 cat >>conftest.$ac_ext <<_ACEOF
31711 /* end confdefs.h. */
31712
31713 /* Override any GCC internal prototype to avoid an error.
31714 Use char because int might match the return type of a GCC
31715 builtin and then its argument prototype would still apply. */
31716 #ifdef __cplusplus
31717 extern "C"
31718 #endif
31719 char SQLAllocEnv ();
31720 int
31721 main ()
31722 {
31723 return SQLAllocEnv ();
31724 ;
31725 return 0;
31726 }
31727 _ACEOF
31728 rm -f conftest.$ac_objext conftest$ac_exeext
31729 if { (ac_try="$ac_link"
31730 case "(($ac_try" in
31731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31732 *) ac_try_echo=$ac_try;;
31733 esac
31734 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31735 (eval "$ac_link") 2>conftest.er1
31736 ac_status=$?
31737 grep -v '^ *+' conftest.er1 >conftest.err
31738 rm -f conftest.er1
31739 cat conftest.err >&5
31740 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31741 (exit $ac_status); } && {
31742 test -z "$ac_c_werror_flag" ||
31743 test ! -s conftest.err
31744 } && test -s conftest$ac_exeext &&
31745 $as_test_x conftest$ac_exeext; then
31746 ac_cv_lib_odbc_SQLAllocEnv=yes
31747 else
31748 echo "$as_me: failed program was:" >&5
31749 sed 's/^/| /' conftest.$ac_ext >&5
31750
31751 ac_cv_lib_odbc_SQLAllocEnv=no
31752 fi
31753
31754 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
31755 conftest$ac_exeext conftest.$ac_ext
31756 LIBS=$ac_check_lib_save_LIBS
31757 fi
31758 { echo "$as_me:$LINENO: result: $ac_cv_lib_odbc_SQLAllocEnv" >&5
31759 echo "${ECHO_T}$ac_cv_lib_odbc_SQLAllocEnv" >&6; }
31760 if test $ac_cv_lib_odbc_SQLAllocEnv = yes; then
31761 ODBC_LINK=" -lodbc"
31762 fi
31763
31764
31765 fi
31766
31767
31768 fi
31769
31770 fi
31771 if test "x$ODBC_LINK" = "x" ; then
31772 if test "$wxUSE_ODBC" = "sys" ; then
31773 { { echo "$as_me:$LINENO: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&5
31774 echo "$as_me: error: system ODBC library not found! Use --with-odbc=builtin to use built-in version" >&2;}
31775 { (exit 1); exit 1; }; }
31776 else
31777 { echo "$as_me:$LINENO: WARNING: system ODBC library not found, will use built-in instead" >&5
31778 echo "$as_me: WARNING: system ODBC library not found, will use built-in instead" >&2;}
31779 wxUSE_ODBC=builtin
31780 fi
31781 else
31782 wxUSE_ODBC=sys
31783 fi
31784 fi
31785
31786 if test "$wxUSE_ODBC" = "builtin" ; then
31787 cat >>confdefs.h <<\_ACEOF
31788 #define wxUSE_BUILTIN_IODBC 1
31789 _ACEOF
31790
31791 fi
31792 fi
31793
31794 if test "$wxUSE_ODBC" != "no" ; then
31795 cat >>confdefs.h <<\_ACEOF
31796 #define wxUSE_ODBC 1
31797 _ACEOF
31798
31799 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS db"
31800
31801 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_IODBC_"
31802 fi
31803
31804
31805 if test "$wxUSE_DISPLAY" = "yes"; then
31806 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31807 { echo "$as_me:$LINENO: checking for Xinerama" >&5
31808 echo $ECHO_N "checking for Xinerama... $ECHO_C" >&6; }
31809
31810 ac_find_libraries=
31811 for ac_dir in $SEARCH_LIB;
31812 do
31813 for ac_extension in a so sl dylib dll.a; do
31814 if test -f "$ac_dir/libXinerama.$ac_extension"; then
31815 ac_find_libraries=$ac_dir
31816 break 2
31817 fi
31818 done
31819 done
31820
31821 if test "$ac_find_libraries" != "" ; then
31822
31823 if test "$ac_find_libraries" = "default location"; then
31824 ac_path_to_link=""
31825 else
31826 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31827 result=$?
31828 if test $result = 0; then
31829 ac_path_to_link=""
31830 else
31831 ac_path_to_link=" -L$ac_find_libraries"
31832 fi
31833 fi
31834
31835 if test "$ac_path_to_link" != " -L/usr/lib" ; then
31836 LDFLAGS="$LDFLAGS $ac_path_to_link"
31837 fi
31838 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXinerama"
31839 { echo "$as_me:$LINENO: result: yes" >&5
31840 echo "${ECHO_T}yes" >&6; }
31841
31842 { echo "$as_me:$LINENO: checking for Xxf86vm extension" >&5
31843 echo $ECHO_N "checking for Xxf86vm extension... $ECHO_C" >&6; }
31844
31845 ac_find_libraries=
31846 for ac_dir in $SEARCH_LIB;
31847 do
31848 for ac_extension in a so sl dylib dll.a; do
31849 if test -f "$ac_dir/libXxf86vm.$ac_extension"; then
31850 ac_find_libraries=$ac_dir
31851 break 2
31852 fi
31853 done
31854 done
31855
31856 if test "$ac_find_libraries" != "" ; then
31857 { echo "$as_me:$LINENO: result: yes" >&5
31858 echo "${ECHO_T}yes" >&6; }
31859 { echo "$as_me:$LINENO: checking for X11/extensions/xf86vmode.h" >&5
31860 echo $ECHO_N "checking for X11/extensions/xf86vmode.h... $ECHO_C" >&6; }
31861 if test "${ac_cv_header_X11_extensions_xf86vmode_h+set}" = set; then
31862 echo $ECHO_N "(cached) $ECHO_C" >&6
31863 else
31864 cat >conftest.$ac_ext <<_ACEOF
31865 /* confdefs.h. */
31866 _ACEOF
31867 cat confdefs.h >>conftest.$ac_ext
31868 cat >>conftest.$ac_ext <<_ACEOF
31869 /* end confdefs.h. */
31870
31871 #if HAVE_X11_XLIB_H
31872 #include <X11/Xlib.h>
31873 #endif
31874
31875
31876 #include <X11/extensions/xf86vmode.h>
31877 _ACEOF
31878 rm -f conftest.$ac_objext
31879 if { (ac_try="$ac_compile"
31880 case "(($ac_try" in
31881 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31882 *) ac_try_echo=$ac_try;;
31883 esac
31884 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31885 (eval "$ac_compile") 2>conftest.er1
31886 ac_status=$?
31887 grep -v '^ *+' conftest.er1 >conftest.err
31888 rm -f conftest.er1
31889 cat conftest.err >&5
31890 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31891 (exit $ac_status); } && {
31892 test -z "$ac_c_werror_flag" ||
31893 test ! -s conftest.err
31894 } && test -s conftest.$ac_objext; then
31895 ac_cv_header_X11_extensions_xf86vmode_h=yes
31896 else
31897 echo "$as_me: failed program was:" >&5
31898 sed 's/^/| /' conftest.$ac_ext >&5
31899
31900 ac_cv_header_X11_extensions_xf86vmode_h=no
31901 fi
31902
31903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31904 fi
31905 { echo "$as_me:$LINENO: result: $ac_cv_header_X11_extensions_xf86vmode_h" >&5
31906 echo "${ECHO_T}$ac_cv_header_X11_extensions_xf86vmode_h" >&6; }
31907 if test $ac_cv_header_X11_extensions_xf86vmode_h = yes; then
31908
31909 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lXxf86vm"
31910
31911 fi
31912
31913
31914 else
31915 { echo "$as_me:$LINENO: result: no" >&5
31916 echo "${ECHO_T}no" >&6; }
31917 fi
31918
31919 else
31920 { echo "$as_me:$LINENO: result: no" >&5
31921 echo "${ECHO_T}no" >&6; }
31922 { echo "$as_me:$LINENO: WARNING: Xinerama not found; disabling wxDisplay" >&5
31923 echo "$as_me: WARNING: Xinerama not found; disabling wxDisplay" >&2;}
31924 wxUSE_DISPLAY="no"
31925 fi
31926 elif test "$wxUSE_MSW" = 1; then
31927 { echo "$as_me:$LINENO: checking for ddraw.h" >&5
31928 echo $ECHO_N "checking for ddraw.h... $ECHO_C" >&6; }
31929 if test "${ac_cv_header_ddraw_h+set}" = set; then
31930 echo $ECHO_N "(cached) $ECHO_C" >&6
31931 else
31932 cat >conftest.$ac_ext <<_ACEOF
31933 /* confdefs.h. */
31934 _ACEOF
31935 cat confdefs.h >>conftest.$ac_ext
31936 cat >>conftest.$ac_ext <<_ACEOF
31937 /* end confdefs.h. */
31938 #include <windows.h>
31939
31940 #include <ddraw.h>
31941 _ACEOF
31942 rm -f conftest.$ac_objext
31943 if { (ac_try="$ac_compile"
31944 case "(($ac_try" in
31945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
31946 *) ac_try_echo=$ac_try;;
31947 esac
31948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
31949 (eval "$ac_compile") 2>conftest.er1
31950 ac_status=$?
31951 grep -v '^ *+' conftest.er1 >conftest.err
31952 rm -f conftest.er1
31953 cat conftest.err >&5
31954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
31955 (exit $ac_status); } && {
31956 test -z "$ac_c_werror_flag" ||
31957 test ! -s conftest.err
31958 } && test -s conftest.$ac_objext; then
31959 ac_cv_header_ddraw_h=yes
31960 else
31961 echo "$as_me: failed program was:" >&5
31962 sed 's/^/| /' conftest.$ac_ext >&5
31963
31964 ac_cv_header_ddraw_h=no
31965 fi
31966
31967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
31968 fi
31969 { echo "$as_me:$LINENO: result: $ac_cv_header_ddraw_h" >&5
31970 echo "${ECHO_T}$ac_cv_header_ddraw_h" >&6; }
31971
31972
31973 fi
31974 fi
31975
31976 if test "$wxUSE_DETECT_SM" = "yes"; then
31977 if test "$wxUSE_UNIX" = "yes" -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1; then
31978 { echo "$as_me:$LINENO: checking for -lSM - X11 session management" >&5
31979 echo $ECHO_N "checking for -lSM - X11 session management... $ECHO_C" >&6; }
31980
31981 ac_find_libraries=
31982 for ac_dir in $SEARCH_LIB;
31983 do
31984 for ac_extension in a so sl dylib dll.a; do
31985 if test -f "$ac_dir/libSM.$ac_extension"; then
31986 ac_find_libraries=$ac_dir
31987 break 2
31988 fi
31989 done
31990 done
31991
31992 if test "$ac_find_libraries" != "" ; then
31993
31994 if test "$ac_find_libraries" = "default location"; then
31995 ac_path_to_link=""
31996 else
31997 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
31998 result=$?
31999 if test $result = 0; then
32000 ac_path_to_link=""
32001 else
32002 ac_path_to_link=" -L$ac_find_libraries"
32003 fi
32004 fi
32005
32006 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32007 LDFLAGS="$LDFLAGS $ac_path_to_link"
32008 fi
32009 GUI_TK_LIBRARY="$GUI_TK_LIBRARY -lSM"
32010 { echo "$as_me:$LINENO: result: yes" >&5
32011 echo "${ECHO_T}yes" >&6; }
32012 else
32013 { echo "$as_me:$LINENO: result: no" >&5
32014 echo "${ECHO_T}no" >&6; }
32015 { echo "$as_me:$LINENO: WARNING: libSM not found; disabling session management detection" >&5
32016 echo "$as_me: WARNING: libSM not found; disabling session management detection" >&2;}
32017 wxUSE_DETECT_SM="no"
32018 fi
32019 else
32020 wxUSE_DETECT_SM="no"
32021 fi
32022 fi
32023
32024
32025
32026 USE_OPENGL=0
32027 if test "$wxUSE_OPENGL" = "yes"; then
32028 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = "1"; then
32029 { echo "$as_me:$LINENO: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&5
32030 echo "$as_me: WARNING: wxGLCanvas not implemented for this port, library will be compiled without it." >&2;}
32031 wxUSE_OPENGL="no"
32032 elif test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
32033 OPENGL_LIBS="-framework OpenGL -framework AGL"
32034 elif test "$wxUSE_MSW" = 1; then
32035 OPENGL_LIBS="-lopengl32 -lglu32"
32036 else
32037 { echo "$as_me:$LINENO: checking for OpenGL headers" >&5
32038 echo $ECHO_N "checking for OpenGL headers... $ECHO_C" >&6; }
32039
32040 ac_find_includes=
32041 for ac_dir in $SEARCH_INCLUDE /opt/graphics/OpenGL/include /usr/include;
32042 do
32043 if test -f "$ac_dir/GL/gl.h"; then
32044 ac_find_includes=$ac_dir
32045 break
32046 fi
32047 done
32048
32049 if test "$ac_find_includes" != "" ; then
32050 { echo "$as_me:$LINENO: result: found in $ac_find_includes" >&5
32051 echo "${ECHO_T}found in $ac_find_includes" >&6; }
32052
32053 if test "x$ac_find_includes" = "x/usr/include"; then
32054 ac_path_to_include=""
32055 else
32056 echo "$CPPFLAGS" | grep "\-I$ac_find_includes" > /dev/null
32057 result=$?
32058 if test $result = 0; then
32059 ac_path_to_include=""
32060 else
32061 ac_path_to_include=" -I$ac_find_includes"
32062 fi
32063 fi
32064
32065 CPPFLAGS="$ac_path_to_include $CPPFLAGS"
32066 else
32067 { echo "$as_me:$LINENO: result: not found" >&5
32068 echo "${ECHO_T}not found" >&6; }
32069 fi
32070
32071 { echo "$as_me:$LINENO: checking for GL/gl.h" >&5
32072 echo $ECHO_N "checking for GL/gl.h... $ECHO_C" >&6; }
32073 if test "${ac_cv_header_GL_gl_h+set}" = set; then
32074 echo $ECHO_N "(cached) $ECHO_C" >&6
32075 else
32076 cat >conftest.$ac_ext <<_ACEOF
32077 /* confdefs.h. */
32078 _ACEOF
32079 cat confdefs.h >>conftest.$ac_ext
32080 cat >>conftest.$ac_ext <<_ACEOF
32081 /* end confdefs.h. */
32082
32083
32084 #include <GL/gl.h>
32085 _ACEOF
32086 rm -f conftest.$ac_objext
32087 if { (ac_try="$ac_compile"
32088 case "(($ac_try" in
32089 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32090 *) ac_try_echo=$ac_try;;
32091 esac
32092 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32093 (eval "$ac_compile") 2>conftest.er1
32094 ac_status=$?
32095 grep -v '^ *+' conftest.er1 >conftest.err
32096 rm -f conftest.er1
32097 cat conftest.err >&5
32098 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32099 (exit $ac_status); } && {
32100 test -z "$ac_c_werror_flag" ||
32101 test ! -s conftest.err
32102 } && test -s conftest.$ac_objext; then
32103 ac_cv_header_GL_gl_h=yes
32104 else
32105 echo "$as_me: failed program was:" >&5
32106 sed 's/^/| /' conftest.$ac_ext >&5
32107
32108 ac_cv_header_GL_gl_h=no
32109 fi
32110
32111 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32112 fi
32113 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_gl_h" >&5
32114 echo "${ECHO_T}$ac_cv_header_GL_gl_h" >&6; }
32115 if test $ac_cv_header_GL_gl_h = yes; then
32116
32117 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32118 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32119 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32120 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32121 echo $ECHO_N "(cached) $ECHO_C" >&6
32122 fi
32123 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32124 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32125 else
32126 # Is the header compilable?
32127 { echo "$as_me:$LINENO: checking GL/glu.h usability" >&5
32128 echo $ECHO_N "checking GL/glu.h usability... $ECHO_C" >&6; }
32129 cat >conftest.$ac_ext <<_ACEOF
32130 /* confdefs.h. */
32131 _ACEOF
32132 cat confdefs.h >>conftest.$ac_ext
32133 cat >>conftest.$ac_ext <<_ACEOF
32134 /* end confdefs.h. */
32135 $ac_includes_default
32136 #include <GL/glu.h>
32137 _ACEOF
32138 rm -f conftest.$ac_objext
32139 if { (ac_try="$ac_compile"
32140 case "(($ac_try" in
32141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32142 *) ac_try_echo=$ac_try;;
32143 esac
32144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32145 (eval "$ac_compile") 2>conftest.er1
32146 ac_status=$?
32147 grep -v '^ *+' conftest.er1 >conftest.err
32148 rm -f conftest.er1
32149 cat conftest.err >&5
32150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32151 (exit $ac_status); } && {
32152 test -z "$ac_c_werror_flag" ||
32153 test ! -s conftest.err
32154 } && test -s conftest.$ac_objext; then
32155 ac_header_compiler=yes
32156 else
32157 echo "$as_me: failed program was:" >&5
32158 sed 's/^/| /' conftest.$ac_ext >&5
32159
32160 ac_header_compiler=no
32161 fi
32162
32163 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32164 { echo "$as_me:$LINENO: result: $ac_header_compiler" >&5
32165 echo "${ECHO_T}$ac_header_compiler" >&6; }
32166
32167 # Is the header present?
32168 { echo "$as_me:$LINENO: checking GL/glu.h presence" >&5
32169 echo $ECHO_N "checking GL/glu.h presence... $ECHO_C" >&6; }
32170 cat >conftest.$ac_ext <<_ACEOF
32171 /* confdefs.h. */
32172 _ACEOF
32173 cat confdefs.h >>conftest.$ac_ext
32174 cat >>conftest.$ac_ext <<_ACEOF
32175 /* end confdefs.h. */
32176 #include <GL/glu.h>
32177 _ACEOF
32178 if { (ac_try="$ac_cpp conftest.$ac_ext"
32179 case "(($ac_try" in
32180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32181 *) ac_try_echo=$ac_try;;
32182 esac
32183 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32184 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.er1
32185 ac_status=$?
32186 grep -v '^ *+' conftest.er1 >conftest.err
32187 rm -f conftest.er1
32188 cat conftest.err >&5
32189 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32190 (exit $ac_status); } >/dev/null && {
32191 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
32192 test ! -s conftest.err
32193 }; then
32194 ac_header_preproc=yes
32195 else
32196 echo "$as_me: failed program was:" >&5
32197 sed 's/^/| /' conftest.$ac_ext >&5
32198
32199 ac_header_preproc=no
32200 fi
32201
32202 rm -f conftest.err conftest.$ac_ext
32203 { echo "$as_me:$LINENO: result: $ac_header_preproc" >&5
32204 echo "${ECHO_T}$ac_header_preproc" >&6; }
32205
32206 # So? What about this header?
32207 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in
32208 yes:no: )
32209 { echo "$as_me:$LINENO: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&5
32210 echo "$as_me: WARNING: GL/glu.h: accepted by the compiler, rejected by the preprocessor!" >&2;}
32211 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the compiler's result" >&5
32212 echo "$as_me: WARNING: GL/glu.h: proceeding with the compiler's result" >&2;}
32213 ac_header_preproc=yes
32214 ;;
32215 no:yes:* )
32216 { echo "$as_me:$LINENO: WARNING: GL/glu.h: present but cannot be compiled" >&5
32217 echo "$as_me: WARNING: GL/glu.h: present but cannot be compiled" >&2;}
32218 { echo "$as_me:$LINENO: WARNING: GL/glu.h: check for missing prerequisite headers?" >&5
32219 echo "$as_me: WARNING: GL/glu.h: check for missing prerequisite headers?" >&2;}
32220 { echo "$as_me:$LINENO: WARNING: GL/glu.h: see the Autoconf documentation" >&5
32221 echo "$as_me: WARNING: GL/glu.h: see the Autoconf documentation" >&2;}
32222 { echo "$as_me:$LINENO: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&5
32223 echo "$as_me: WARNING: GL/glu.h: section \"Present But Cannot Be Compiled\"" >&2;}
32224 { echo "$as_me:$LINENO: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&5
32225 echo "$as_me: WARNING: GL/glu.h: proceeding with the preprocessor's result" >&2;}
32226 { echo "$as_me:$LINENO: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&5
32227 echo "$as_me: WARNING: GL/glu.h: in the future, the compiler will take precedence" >&2;}
32228 ( cat <<\_ASBOX
32229 ## ----------------------------------------- ##
32230 ## Report this to wx-dev@lists.wxwidgets.org ##
32231 ## ----------------------------------------- ##
32232 _ASBOX
32233 ) | sed "s/^/$as_me: WARNING: /" >&2
32234 ;;
32235 esac
32236 { echo "$as_me:$LINENO: checking for GL/glu.h" >&5
32237 echo $ECHO_N "checking for GL/glu.h... $ECHO_C" >&6; }
32238 if test "${ac_cv_header_GL_glu_h+set}" = set; then
32239 echo $ECHO_N "(cached) $ECHO_C" >&6
32240 else
32241 ac_cv_header_GL_glu_h=$ac_header_preproc
32242 fi
32243 { echo "$as_me:$LINENO: result: $ac_cv_header_GL_glu_h" >&5
32244 echo "${ECHO_T}$ac_cv_header_GL_glu_h" >&6; }
32245
32246 fi
32247 if test $ac_cv_header_GL_glu_h = yes; then
32248
32249 found_gl=0
32250
32251 { echo "$as_me:$LINENO: checking for -lGL" >&5
32252 echo $ECHO_N "checking for -lGL... $ECHO_C" >&6; }
32253
32254 ac_find_libraries=
32255 for ac_dir in $SEARCH_LIB /opt/graphics/OpenGL/lib;
32256 do
32257 for ac_extension in a so sl dylib dll.a; do
32258 if test -f "$ac_dir/libGL.$ac_extension"; then
32259 ac_find_libraries=$ac_dir
32260 break 2
32261 fi
32262 done
32263 done
32264
32265 if test "$ac_find_libraries" != "" ; then
32266 { echo "$as_me:$LINENO: result: found in $ac_find_libraries" >&5
32267 echo "${ECHO_T}found in $ac_find_libraries" >&6; }
32268
32269
32270 if test "$ac_find_libraries" = "default location"; then
32271 ac_path_to_link=""
32272 else
32273 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32274 result=$?
32275 if test $result = 0; then
32276 ac_path_to_link=""
32277 else
32278 ac_path_to_link=" -L$ac_find_libraries"
32279 fi
32280 fi
32281
32282 if test "$ac_path_to_link" != " -L/usr/lib" ; then
32283 LDFLAGS_GL="$ac_path_to_link"
32284 fi
32285
32286 { echo "$as_me:$LINENO: checking for -lGLU" >&5
32287 echo $ECHO_N "checking for -lGLU... $ECHO_C" >&6; }
32288
32289 ac_find_libraries=
32290 for ac_dir in $SEARCH_LIB;
32291 do
32292 for ac_extension in a so sl dylib dll.a; do
32293 if test -f "$ac_dir/libGLU.$ac_extension"; then
32294 ac_find_libraries=$ac_dir
32295 break 2
32296 fi
32297 done
32298 done
32299
32300 if test "$ac_find_libraries" != "" ; then
32301
32302 if test "$ac_find_libraries" = "default location"; then
32303 ac_path_to_link=""
32304 else
32305 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32306 result=$?
32307 if test $result = 0; then
32308 ac_path_to_link=""
32309 else
32310 ac_path_to_link=" -L$ac_find_libraries"
32311 fi
32312 fi
32313
32314 if test "$ac_path_to_link" != " -L/usr/lib" -a \
32315 "$ac_path_to_link" != "$LDFLAGS_GL"; then
32316 LDFLAGS_GL="$LDFLAGS_GL$ac_path_to_link"
32317 fi
32318
32319 found_gl=1
32320 OPENGL_LIBS="-lGL -lGLU"
32321 { echo "$as_me:$LINENO: result: yes" >&5
32322 echo "${ECHO_T}yes" >&6; }
32323 else
32324 { echo "$as_me:$LINENO: result: no" >&5
32325 echo "${ECHO_T}no" >&6; }
32326 fi
32327 else
32328 { echo "$as_me:$LINENO: result: no" >&5
32329 echo "${ECHO_T}no" >&6; }
32330 fi
32331
32332 if test "$found_gl" != 1; then
32333 { echo "$as_me:$LINENO: checking for -lMesaGL" >&5
32334 echo $ECHO_N "checking for -lMesaGL... $ECHO_C" >&6; }
32335
32336 ac_find_libraries=
32337 for ac_dir in $SEARCH_LIB;
32338 do
32339 for ac_extension in a so sl dylib dll.a; do
32340 if test -f "$ac_dir/libMesaGL.$ac_extension"; then
32341 ac_find_libraries=$ac_dir
32342 break 2
32343 fi
32344 done
32345 done
32346
32347 if test "$ac_find_libraries" != "" ; then
32348
32349 if test "$ac_find_libraries" = "default location"; then
32350 ac_path_to_link=""
32351 else
32352 echo "$LDFLAGS" | grep "\-L$ac_find_libraries" > /dev/null
32353 result=$?
32354 if test $result = 0; then
32355 ac_path_to_link=""
32356 else
32357 ac_path_to_link=" -L$ac_find_libraries"
32358 fi
32359 fi
32360
32361 LDFLAGS_GL="$LDFLAGS$ac_path_to_link"
32362 OPENGL_LIBS="-lMesaGL -lMesaGLU"
32363 { echo "$as_me:$LINENO: result: yes" >&5
32364 echo "${ECHO_T}yes" >&6; }
32365 else
32366 { echo "$as_me:$LINENO: result: no" >&5
32367 echo "${ECHO_T}no" >&6; }
32368 fi
32369 fi
32370
32371 fi
32372
32373
32374
32375 fi
32376
32377
32378
32379 if test "x$OPENGL_LIBS" = "x"; then
32380 { { echo "$as_me:$LINENO: error: OpenGL libraries not available" >&5
32381 echo "$as_me: error: OpenGL libraries not available" >&2;}
32382 { (exit 1); exit 1; }; }
32383 fi
32384 fi
32385
32386 if test "$wxUSE_OPENGL" = "yes"; then
32387 USE_OPENGL=1
32388 cat >>confdefs.h <<\_ACEOF
32389 #define wxUSE_OPENGL 1
32390 _ACEOF
32391
32392 cat >>confdefs.h <<\_ACEOF
32393 #define wxUSE_GLCANVAS 1
32394 _ACEOF
32395
32396 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS opengl opengl/cube opengl/penguin opengl/isosurf"
32397 fi
32398 fi
32399
32400
32401 if test -n "$TOOLKIT" ; then
32402 TOOLCHAIN_DEFS="${TOOLCHAIN_DEFS} -D__WX${TOOLKIT}__"
32403 fi
32404
32405
32406
32407 if test "$wxUSE_SHARED" = "yes"; then
32408 case "${host}" in
32409 *-pc-msdosdjgpp )
32410 wxUSE_SHARED=no
32411 { echo "$as_me:$LINENO: WARNING: Host system doesn't support shared libraries, disabling" >&5
32412 echo "$as_me: WARNING: Host system doesn't support shared libraries, disabling" >&2;}
32413 ;;
32414 esac
32415 fi
32416
32417 if test "$wxUSE_SHARED" = "yes"; then
32418
32419
32420 case "${host}" in
32421 *-*-cygwin* | *-*-mingw* )
32422 wx_cv_version_script=no
32423 ;;
32424
32425 *)
32426 { echo "$as_me:$LINENO: checking if the linker accepts --version-script" >&5
32427 echo $ECHO_N "checking if the linker accepts --version-script... $ECHO_C" >&6; }
32428 if test "${wx_cv_version_script+set}" = set; then
32429 echo $ECHO_N "(cached) $ECHO_C" >&6
32430 else
32431
32432 echo "VER_1 { *; };" >conftest.sym
32433 echo "int main() { return 0; }" >conftest.cpp
32434
32435 if { ac_try='
32436 $CXX -o conftest.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32437 -Wl,--version-script,conftest.sym >/dev/null 2>conftest.stderr'
32438 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32439 (eval $ac_try) 2>&5
32440 ac_status=$?
32441 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32442 (exit $ac_status); }; } ; then
32443 if test -s conftest.stderr ; then
32444 wx_cv_version_script=no
32445 else
32446 wx_cv_version_script=yes
32447 fi
32448 else
32449 wx_cv_version_script=no
32450 fi
32451
32452 if test $wx_cv_version_script = yes
32453 then
32454 echo "struct B { virtual ~B() { } }; \
32455 struct D : public B { }; \
32456 void F() { D d; }" > conftest.cpp
32457
32458 if { ac_try='
32459 $CXX -shared -fPIC -o conftest1.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32460 -Wl,--version-script,conftest.sym >/dev/null 2>/dev/null'
32461 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32462 (eval $ac_try) 2>&5
32463 ac_status=$?
32464 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32465 (exit $ac_status); }; } &&
32466 { ac_try='
32467 $CXX -shared -fPIC -o conftest2.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32468 -Wl,--version-script,conftest.sym conftest1.output >/dev/null 2>/dev/null'
32469 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32470 (eval $ac_try) 2>&5
32471 ac_status=$?
32472 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32473 (exit $ac_status); }; }
32474 then
32475 if { ac_try='
32476 $CXX -shared -fPIC -o conftest3.output $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.cpp
32477 -Wl,--version-script,conftest.sym conftest2.output conftest1.output >/dev/null 2>/dev/null'
32478 { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5
32479 (eval $ac_try) 2>&5
32480 ac_status=$?
32481 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32482 (exit $ac_status); }; }
32483 then
32484 wx_cv_version_script=yes
32485 else
32486 wx_cv_version_script=no
32487 fi
32488 fi
32489 fi
32490
32491 rm -f conftest.output conftest.stderr conftest.sym conftest.cpp
32492 rm -f conftest1.output conftest2.output conftest3.output
32493
32494 fi
32495 { echo "$as_me:$LINENO: result: $wx_cv_version_script" >&5
32496 echo "${ECHO_T}$wx_cv_version_script" >&6; }
32497
32498 if test $wx_cv_version_script = yes ; then
32499 LDFLAGS_VERSIONING="-Wl,--version-script,\$(wx_top_builddir)/version-script"
32500 fi
32501 ;;
32502 esac
32503
32504
32505 case "${host}" in
32506 *-*-linux* | *-*-gnu* )
32507 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32508 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32509 ;;
32510
32511 *-*-solaris2* )
32512 if test "$GCC" = yes ; then
32513 CPPFLAGS="-isystem /usr/openwin/include $CPPFLAGS"
32514
32515 saveLdflags="$LDFLAGS"
32516 LDFLAGS="$saveLdflags -Wl,-rpath,/"
32517 { echo "$as_me:$LINENO: checking if the linker accepts -rpath" >&5
32518 echo $ECHO_N "checking if the linker accepts -rpath... $ECHO_C" >&6; }
32519 cat >conftest.$ac_ext <<_ACEOF
32520 /* confdefs.h. */
32521 _ACEOF
32522 cat confdefs.h >>conftest.$ac_ext
32523 cat >>conftest.$ac_ext <<_ACEOF
32524 /* end confdefs.h. */
32525
32526 int
32527 main ()
32528 {
32529
32530 ;
32531 return 0;
32532 }
32533 _ACEOF
32534 rm -f conftest.$ac_objext conftest$ac_exeext
32535 if { (ac_try="$ac_link"
32536 case "(($ac_try" in
32537 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32538 *) ac_try_echo=$ac_try;;
32539 esac
32540 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32541 (eval "$ac_link") 2>conftest.er1
32542 ac_status=$?
32543 grep -v '^ *+' conftest.er1 >conftest.err
32544 rm -f conftest.er1
32545 cat conftest.err >&5
32546 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32547 (exit $ac_status); } && {
32548 test -z "$ac_c_werror_flag" ||
32549 test ! -s conftest.err
32550 } && test -s conftest$ac_exeext &&
32551 $as_test_x conftest$ac_exeext; then
32552
32553 { echo "$as_me:$LINENO: result: yes" >&5
32554 echo "${ECHO_T}yes" >&6; }
32555 SAMPLES_RPATH_FLAG="-Wl,-rpath,\$(wx_top_builddir)/lib"
32556 WXCONFIG_RPATH="-Wl,-rpath,\$libdir"
32557
32558 else
32559 echo "$as_me: failed program was:" >&5
32560 sed 's/^/| /' conftest.$ac_ext >&5
32561
32562
32563 { echo "$as_me:$LINENO: result: no" >&5
32564 echo "${ECHO_T}no" >&6; }
32565 { echo "$as_me:$LINENO: checking if the linker accepts -R" >&5
32566 echo $ECHO_N "checking if the linker accepts -R... $ECHO_C" >&6; }
32567 LDFLAGS="$saveLdflags -Wl,-R,/"
32568 cat >conftest.$ac_ext <<_ACEOF
32569 /* confdefs.h. */
32570 _ACEOF
32571 cat confdefs.h >>conftest.$ac_ext
32572 cat >>conftest.$ac_ext <<_ACEOF
32573 /* end confdefs.h. */
32574
32575 int
32576 main ()
32577 {
32578
32579 ;
32580 return 0;
32581 }
32582 _ACEOF
32583 rm -f conftest.$ac_objext conftest$ac_exeext
32584 if { (ac_try="$ac_link"
32585 case "(($ac_try" in
32586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32587 *) ac_try_echo=$ac_try;;
32588 esac
32589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32590 (eval "$ac_link") 2>conftest.er1
32591 ac_status=$?
32592 grep -v '^ *+' conftest.er1 >conftest.err
32593 rm -f conftest.er1
32594 cat conftest.err >&5
32595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32596 (exit $ac_status); } && {
32597 test -z "$ac_c_werror_flag" ||
32598 test ! -s conftest.err
32599 } && test -s conftest$ac_exeext &&
32600 $as_test_x conftest$ac_exeext; then
32601
32602 { echo "$as_me:$LINENO: result: yes" >&5
32603 echo "${ECHO_T}yes" >&6; }
32604 SAMPLES_RPATH_FLAG="-Wl,-R,\$(wx_top_builddir)/lib"
32605 WXCONFIG_RPATH="-Wl,-R,\$libdir"
32606
32607 else
32608 echo "$as_me: failed program was:" >&5
32609 sed 's/^/| /' conftest.$ac_ext >&5
32610
32611
32612 { echo "$as_me:$LINENO: result: no" >&5
32613 echo "${ECHO_T}no" >&6; }
32614
32615 fi
32616
32617 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32618 conftest$ac_exeext conftest.$ac_ext
32619
32620 fi
32621
32622 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
32623 conftest$ac_exeext conftest.$ac_ext
32624 LDFLAGS="$saveLdflags"
32625 else
32626 SAMPLES_RPATH_FLAG="-R\$(wx_top_builddir)/lib"
32627 WXCONFIG_RPATH="-R\$libdir"
32628 fi
32629 ;;
32630
32631 *-*-darwin* )
32632 install_name_tool=`which install_name_tool`
32633 if test "$install_name_tool" -a -x "$install_name_tool"; then
32634 SAMPLES_RPATH_POSTLINK="\$(wx_top_builddir)/change-install-names \$(LIBDIRNAME) \$(prefix) \$@"
32635 cat <<EOF >change-install-names
32636 #!/bin/sh
32637 libnames=\`cd \${1} ; ls -1 | grep '\.[0-9][0-9]*\.dylib\$'\`
32638 inst_cmd="install_name_tool "
32639 for i in \${libnames} ; do
32640 inst_cmd="\${inst_cmd} -change \${2}/lib/\${i} \${1}/\${i}"
32641 done
32642 \${inst_cmd} \${3}
32643 EOF
32644 chmod +x change-install-names
32645 fi
32646 ;;
32647
32648 *-*-cygwin* | *-*-mingw32* )
32649 WXCONFIG_ONLY_CPPFLAGS="$WXCONFIG_ONLY_CPPFLAGS -DWXUSINGDLL"
32650 ;;
32651
32652 *-*-hpux* )
32653 SAMPLES_RPATH_FLAG="-Wl,+b,\$(wx_top_builddir)/lib"
32654 WXCONFIG_RPATH="-Wl,+b,\$libdir"
32655 ;;
32656
32657 esac
32658
32659 if test $wxUSE_RPATH = "no"; then
32660 SAMPLES_RPATH_FLAG=''
32661 SAMPLES_RPATH_POSTLINK=''
32662 WXCONFIG_RPATH=''
32663 fi
32664
32665 SHARED=1
32666
32667 else
32668
32669 config_linkage_component="-static"
32670 SHARED=0
32671
32672 fi
32673
32674
32675 UNICODE=0
32676 lib_unicode_suffix=
32677 WX_CHARTYPE="ansi"
32678 if test "$wxUSE_UNICODE" = "yes"; then
32679 lib_unicode_suffix=u
32680 WX_CHARTYPE="unicode"
32681 UNICODE=1
32682 fi
32683
32684 lib_debug_suffix=
32685 WX_DEBUGTYPE="release"
32686 DEBUG_FLAG=0
32687 if test "$wxUSE_DEBUG_FLAG" = "yes"; then
32688 lib_debug_suffix=d
32689 WX_DEBUGTYPE="debug"
32690 DEBUG_FLAG=1
32691 fi
32692
32693 WX_FLAVOUR=${WX_FLAVOUR:+-$WX_FLAVOUR}
32694 WX_LIB_FLAVOUR=`echo $WX_FLAVOUR | tr '-' '_'`
32695
32696 DEBUG_INFO=0
32697 if test "$wxUSE_DEBUG_INFO" = "yes"; then
32698 DEBUG_INFO=1
32699 fi
32700
32701 WX_VERSION_TAG=`echo WX${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}_${WX_RELEASE} | tr "[a-z]" "[A-Z]"`
32702
32703 TOOLCHAIN_NAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}"
32704
32705 TOOLCHAIN_FULLNAME="${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}-${WX_CHARTYPE}-${WX_DEBUGTYPE}${config_linkage_component}-${WX_RELEASE}${WX_FLAVOUR}"
32706
32707 if test "$cross_compiling" = "yes"; then
32708 HOST_SUFFIX="-$host_alias"
32709 TOOLCHAIN_NAME="$TOOLCHAIN_NAME$HOST_SUFFIX"
32710 TOOLCHAIN_FULLNAME="${host_alias}-$TOOLCHAIN_FULLNAME"
32711 fi
32712
32713 WX_LIBRARY_BASENAME_NOGUI="wx_base${WXBASEPORT}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32714 if test "${TOOLKIT_DIR}" = "os2"; then
32715 WX_LIBRARY_BASENAME_GUI="wx_pm${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32716 else
32717 WX_LIBRARY_BASENAME_GUI="wx_${TOOLKIT_DIR}${TOOLKIT_VERSION}${WIDGET_SET}${lib_unicode_suffix}${lib_debug_suffix}${WX_LIB_FLAVOUR}"
32718 fi
32719
32720
32721
32722 if test "$wxUSE_COCOA" = 1; then
32723
32724 ac_ext=c
32725 ac_cpp='$CPP $CPPFLAGS'
32726 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32727 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32728 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32729
32730 ac_ext=m
32731
32732 { echo "$as_me:$LINENO: checking if AppKit/NSEvent.h conflicts with CoreFoundation" >&5
32733 echo $ECHO_N "checking if AppKit/NSEvent.h conflicts with CoreFoundation... $ECHO_C" >&6; }
32734 cat >conftest.$ac_ext <<_ACEOF
32735 /* confdefs.h. */
32736 _ACEOF
32737 cat confdefs.h >>conftest.$ac_ext
32738 cat >>conftest.$ac_ext <<_ACEOF
32739 /* end confdefs.h. */
32740 #include <AppKit/NSEvent.h>
32741 #include <CoreFoundation/CoreFoundation.h>
32742
32743 int
32744 main ()
32745 {
32746
32747 ;
32748 return 0;
32749 }
32750 _ACEOF
32751 rm -f conftest.$ac_objext
32752 if { (ac_try="$ac_compile"
32753 case "(($ac_try" in
32754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32755 *) ac_try_echo=$ac_try;;
32756 esac
32757 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32758 (eval "$ac_compile") 2>conftest.er1
32759 ac_status=$?
32760 grep -v '^ *+' conftest.er1 >conftest.err
32761 rm -f conftest.er1
32762 cat conftest.err >&5
32763 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32764 (exit $ac_status); } && {
32765 test -z "$ac_c_werror_flag" ||
32766 test ! -s conftest.err
32767 } && test -s conftest.$ac_objext; then
32768 { echo "$as_me:$LINENO: result: no" >&5
32769 echo "${ECHO_T}no" >&6; }
32770 else
32771 echo "$as_me: failed program was:" >&5
32772 sed 's/^/| /' conftest.$ac_ext >&5
32773
32774 { echo "$as_me:$LINENO: result: yes" >&5
32775 echo "${ECHO_T}yes" >&6; }
32776 { echo "$as_me:$LINENO: checking if defining __Point__ will fix it" >&5
32777 echo $ECHO_N "checking if defining __Point__ will fix it... $ECHO_C" >&6; }
32778 cat >conftest.$ac_ext <<_ACEOF
32779 /* confdefs.h. */
32780 _ACEOF
32781 cat confdefs.h >>conftest.$ac_ext
32782 cat >>conftest.$ac_ext <<_ACEOF
32783 /* end confdefs.h. */
32784 #define __Point__ 1
32785 #include <AppKit/NSEvent.h>
32786 #include <CoreFoundation/CoreFoundation.h>
32787
32788 int
32789 main ()
32790 {
32791
32792 ;
32793 return 0;
32794 }
32795 _ACEOF
32796 rm -f conftest.$ac_objext
32797 if { (ac_try="$ac_compile"
32798 case "(($ac_try" in
32799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
32800 *) ac_try_echo=$ac_try;;
32801 esac
32802 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
32803 (eval "$ac_compile") 2>conftest.er1
32804 ac_status=$?
32805 grep -v '^ *+' conftest.er1 >conftest.err
32806 rm -f conftest.er1
32807 cat conftest.err >&5
32808 echo "$as_me:$LINENO: \$? = $ac_status" >&5
32809 (exit $ac_status); } && {
32810 test -z "$ac_c_werror_flag" ||
32811 test ! -s conftest.err
32812 } && test -s conftest.$ac_objext; then
32813 { echo "$as_me:$LINENO: result: yes" >&5
32814 echo "${ECHO_T}yes" >&6; }
32815 cat >>confdefs.h <<\_ACEOF
32816 #define __Point__ 1
32817 _ACEOF
32818
32819
32820 else
32821 echo "$as_me: failed program was:" >&5
32822 sed 's/^/| /' conftest.$ac_ext >&5
32823
32824 { { echo "$as_me:$LINENO: error: no
32825 See \`config.log' for more details." >&5
32826 echo "$as_me: error: no
32827 See \`config.log' for more details." >&2;}
32828 { (exit 1); exit 1; }; }
32829
32830 fi
32831
32832 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32833
32834 fi
32835
32836 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
32837 ac_ext=c
32838 ac_cpp='$CPP $CPPFLAGS'
32839 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
32840 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
32841 ac_compiler_gnu=$ac_cv_c_compiler_gnu
32842
32843 fi
32844
32845 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1; then
32846 WX_RESOURCES_MACOSX_ASCII="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.r"
32847 WX_RESOURCES_MACOSX_DATA="libwx_${TOOLCHAIN_NAME}.${wx_release_number}.rsrc"
32848
32849 LIBWXMACRES="\$(wx_top_builddir)/lib/${WX_RESOURCES_MACOSX_ASCII}"
32850
32851 # Extract the first word of "Rez", so it can be a program name with args.
32852 set dummy Rez; ac_word=$2
32853 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32854 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32855 if test "${ac_cv_prog_REZ+set}" = set; then
32856 echo $ECHO_N "(cached) $ECHO_C" >&6
32857 else
32858 if test -n "$REZ"; then
32859 ac_cv_prog_REZ="$REZ" # Let the user override the test.
32860 else
32861 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32862 for as_dir in $PATH
32863 do
32864 IFS=$as_save_IFS
32865 test -z "$as_dir" && as_dir=.
32866 for ac_exec_ext in '' $ac_executable_extensions; do
32867 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32868 ac_cv_prog_REZ="Rez"
32869 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32870 break 2
32871 fi
32872 done
32873 done
32874 IFS=$as_save_IFS
32875
32876 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
32877 fi
32878 fi
32879 REZ=$ac_cv_prog_REZ
32880 if test -n "$REZ"; then
32881 { echo "$as_me:$LINENO: result: $REZ" >&5
32882 echo "${ECHO_T}$REZ" >&6; }
32883 else
32884 { echo "$as_me:$LINENO: result: no" >&5
32885 echo "${ECHO_T}no" >&6; }
32886 fi
32887
32888
32889 # Extract the first word of "DeRez", so it can be a program name with args.
32890 set dummy DeRez; ac_word=$2
32891 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32892 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32893 if test "${ac_cv_prog_DEREZ+set}" = set; then
32894 echo $ECHO_N "(cached) $ECHO_C" >&6
32895 else
32896 if test -n "$DEREZ"; then
32897 ac_cv_prog_DEREZ="$DEREZ" # Let the user override the test.
32898 else
32899 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32900 for as_dir in $PATH
32901 do
32902 IFS=$as_save_IFS
32903 test -z "$as_dir" && as_dir=.
32904 for ac_exec_ext in '' $ac_executable_extensions; do
32905 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32906 ac_cv_prog_DEREZ="DeRez"
32907 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32908 break 2
32909 fi
32910 done
32911 done
32912 IFS=$as_save_IFS
32913
32914 test -z "$ac_cv_prog_DEREZ" && ac_cv_prog_DEREZ="/Developer/Tools/DeRez"
32915 fi
32916 fi
32917 DEREZ=$ac_cv_prog_DEREZ
32918 if test -n "$DEREZ"; then
32919 { echo "$as_me:$LINENO: result: $DEREZ" >&5
32920 echo "${ECHO_T}$DEREZ" >&6; }
32921 else
32922 { echo "$as_me:$LINENO: result: no" >&5
32923 echo "${ECHO_T}no" >&6; }
32924 fi
32925
32926
32927 # Extract the first word of "SetFile", so it can be a program name with args.
32928 set dummy SetFile; ac_word=$2
32929 { echo "$as_me:$LINENO: checking for $ac_word" >&5
32930 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
32931 if test "${ac_cv_prog_SETFILE+set}" = set; then
32932 echo $ECHO_N "(cached) $ECHO_C" >&6
32933 else
32934 if test -n "$SETFILE"; then
32935 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
32936 else
32937 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
32938 for as_dir in $PATH
32939 do
32940 IFS=$as_save_IFS
32941 test -z "$as_dir" && as_dir=.
32942 for ac_exec_ext in '' $ac_executable_extensions; do
32943 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
32944 ac_cv_prog_SETFILE="SetFile"
32945 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
32946 break 2
32947 fi
32948 done
32949 done
32950 IFS=$as_save_IFS
32951
32952 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
32953 fi
32954 fi
32955 SETFILE=$ac_cv_prog_SETFILE
32956 if test -n "$SETFILE"; then
32957 { echo "$as_me:$LINENO: result: $SETFILE" >&5
32958 echo "${ECHO_T}$SETFILE" >&6; }
32959 else
32960 { echo "$as_me:$LINENO: result: no" >&5
32961 echo "${ECHO_T}no" >&6; }
32962 fi
32963
32964
32965
32966 MACSETFILE="\$(SETFILE)"
32967
32968 if test "$wxUSE_MAC" = 1; then
32969 POSTLINK_COMMAND="\$(REZ) -d __DARWIN__ -t APPL Carbon.r -o"
32970 RESCOMP="$REZ"
32971 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL Carbon.r -o"
32972 else
32973 POSTLINK_COMMAND="echo -n | \$(REZ) -d __DARWIN__ -t APPL ${LIBWXMACRES}"
32974 RESCOMP="echo -n \| $REZ"
32975 WXCONFIG_RESFLAGS="-d __DARWIN__ -t APPL \$libdir/$WX_RESOURCES_MACOSX_ASCII"
32976 fi
32977
32978 else
32979 MACSETFILE="@true"
32980
32981 if test "$wxUSE_PM" = 1; then
32982 RESCOMP="emxbind"
32983 WXCONFIG_RESFLAGS="-ep"
32984
32985 POSTLINK_COMMAND="$RESCOMP $WXCONFIG_RESFLAGS"
32986 else
32987 POSTLINK_COMMAND="@true"
32988 fi
32989
32990 fi
32991
32992
32993
32994 { echo "$as_me:$LINENO: checking for mode_t" >&5
32995 echo $ECHO_N "checking for mode_t... $ECHO_C" >&6; }
32996 if test "${ac_cv_type_mode_t+set}" = set; then
32997 echo $ECHO_N "(cached) $ECHO_C" >&6
32998 else
32999 cat >conftest.$ac_ext <<_ACEOF
33000 /* confdefs.h. */
33001 _ACEOF
33002 cat confdefs.h >>conftest.$ac_ext
33003 cat >>conftest.$ac_ext <<_ACEOF
33004 /* end confdefs.h. */
33005 $ac_includes_default
33006 typedef mode_t ac__type_new_;
33007 int
33008 main ()
33009 {
33010 if ((ac__type_new_ *) 0)
33011 return 0;
33012 if (sizeof (ac__type_new_))
33013 return 0;
33014 ;
33015 return 0;
33016 }
33017 _ACEOF
33018 rm -f conftest.$ac_objext
33019 if { (ac_try="$ac_compile"
33020 case "(($ac_try" in
33021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33022 *) ac_try_echo=$ac_try;;
33023 esac
33024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33025 (eval "$ac_compile") 2>conftest.er1
33026 ac_status=$?
33027 grep -v '^ *+' conftest.er1 >conftest.err
33028 rm -f conftest.er1
33029 cat conftest.err >&5
33030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33031 (exit $ac_status); } && {
33032 test -z "$ac_c_werror_flag" ||
33033 test ! -s conftest.err
33034 } && test -s conftest.$ac_objext; then
33035 ac_cv_type_mode_t=yes
33036 else
33037 echo "$as_me: failed program was:" >&5
33038 sed 's/^/| /' conftest.$ac_ext >&5
33039
33040 ac_cv_type_mode_t=no
33041 fi
33042
33043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33044 fi
33045 { echo "$as_me:$LINENO: result: $ac_cv_type_mode_t" >&5
33046 echo "${ECHO_T}$ac_cv_type_mode_t" >&6; }
33047 if test $ac_cv_type_mode_t = yes; then
33048 :
33049 else
33050
33051 cat >>confdefs.h <<_ACEOF
33052 #define mode_t int
33053 _ACEOF
33054
33055 fi
33056
33057 { echo "$as_me:$LINENO: checking for off_t" >&5
33058 echo $ECHO_N "checking for off_t... $ECHO_C" >&6; }
33059 if test "${ac_cv_type_off_t+set}" = set; then
33060 echo $ECHO_N "(cached) $ECHO_C" >&6
33061 else
33062 cat >conftest.$ac_ext <<_ACEOF
33063 /* confdefs.h. */
33064 _ACEOF
33065 cat confdefs.h >>conftest.$ac_ext
33066 cat >>conftest.$ac_ext <<_ACEOF
33067 /* end confdefs.h. */
33068 $ac_includes_default
33069 typedef off_t ac__type_new_;
33070 int
33071 main ()
33072 {
33073 if ((ac__type_new_ *) 0)
33074 return 0;
33075 if (sizeof (ac__type_new_))
33076 return 0;
33077 ;
33078 return 0;
33079 }
33080 _ACEOF
33081 rm -f conftest.$ac_objext
33082 if { (ac_try="$ac_compile"
33083 case "(($ac_try" in
33084 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33085 *) ac_try_echo=$ac_try;;
33086 esac
33087 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33088 (eval "$ac_compile") 2>conftest.er1
33089 ac_status=$?
33090 grep -v '^ *+' conftest.er1 >conftest.err
33091 rm -f conftest.er1
33092 cat conftest.err >&5
33093 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33094 (exit $ac_status); } && {
33095 test -z "$ac_c_werror_flag" ||
33096 test ! -s conftest.err
33097 } && test -s conftest.$ac_objext; then
33098 ac_cv_type_off_t=yes
33099 else
33100 echo "$as_me: failed program was:" >&5
33101 sed 's/^/| /' conftest.$ac_ext >&5
33102
33103 ac_cv_type_off_t=no
33104 fi
33105
33106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33107 fi
33108 { echo "$as_me:$LINENO: result: $ac_cv_type_off_t" >&5
33109 echo "${ECHO_T}$ac_cv_type_off_t" >&6; }
33110 if test $ac_cv_type_off_t = yes; then
33111 :
33112 else
33113
33114 cat >>confdefs.h <<_ACEOF
33115 #define off_t long int
33116 _ACEOF
33117
33118 fi
33119
33120 { echo "$as_me:$LINENO: checking for pid_t" >&5
33121 echo $ECHO_N "checking for pid_t... $ECHO_C" >&6; }
33122 if test "${ac_cv_type_pid_t+set}" = set; then
33123 echo $ECHO_N "(cached) $ECHO_C" >&6
33124 else
33125 cat >conftest.$ac_ext <<_ACEOF
33126 /* confdefs.h. */
33127 _ACEOF
33128 cat confdefs.h >>conftest.$ac_ext
33129 cat >>conftest.$ac_ext <<_ACEOF
33130 /* end confdefs.h. */
33131 $ac_includes_default
33132 typedef pid_t ac__type_new_;
33133 int
33134 main ()
33135 {
33136 if ((ac__type_new_ *) 0)
33137 return 0;
33138 if (sizeof (ac__type_new_))
33139 return 0;
33140 ;
33141 return 0;
33142 }
33143 _ACEOF
33144 rm -f conftest.$ac_objext
33145 if { (ac_try="$ac_compile"
33146 case "(($ac_try" in
33147 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33148 *) ac_try_echo=$ac_try;;
33149 esac
33150 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33151 (eval "$ac_compile") 2>conftest.er1
33152 ac_status=$?
33153 grep -v '^ *+' conftest.er1 >conftest.err
33154 rm -f conftest.er1
33155 cat conftest.err >&5
33156 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33157 (exit $ac_status); } && {
33158 test -z "$ac_c_werror_flag" ||
33159 test ! -s conftest.err
33160 } && test -s conftest.$ac_objext; then
33161 ac_cv_type_pid_t=yes
33162 else
33163 echo "$as_me: failed program was:" >&5
33164 sed 's/^/| /' conftest.$ac_ext >&5
33165
33166 ac_cv_type_pid_t=no
33167 fi
33168
33169 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33170 fi
33171 { echo "$as_me:$LINENO: result: $ac_cv_type_pid_t" >&5
33172 echo "${ECHO_T}$ac_cv_type_pid_t" >&6; }
33173 if test $ac_cv_type_pid_t = yes; then
33174 :
33175 else
33176
33177 cat >>confdefs.h <<_ACEOF
33178 #define pid_t int
33179 _ACEOF
33180
33181 fi
33182
33183 { echo "$as_me:$LINENO: checking for size_t" >&5
33184 echo $ECHO_N "checking for size_t... $ECHO_C" >&6; }
33185 if test "${ac_cv_type_size_t+set}" = set; then
33186 echo $ECHO_N "(cached) $ECHO_C" >&6
33187 else
33188 cat >conftest.$ac_ext <<_ACEOF
33189 /* confdefs.h. */
33190 _ACEOF
33191 cat confdefs.h >>conftest.$ac_ext
33192 cat >>conftest.$ac_ext <<_ACEOF
33193 /* end confdefs.h. */
33194 $ac_includes_default
33195 typedef size_t ac__type_new_;
33196 int
33197 main ()
33198 {
33199 if ((ac__type_new_ *) 0)
33200 return 0;
33201 if (sizeof (ac__type_new_))
33202 return 0;
33203 ;
33204 return 0;
33205 }
33206 _ACEOF
33207 rm -f conftest.$ac_objext
33208 if { (ac_try="$ac_compile"
33209 case "(($ac_try" in
33210 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33211 *) ac_try_echo=$ac_try;;
33212 esac
33213 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33214 (eval "$ac_compile") 2>conftest.er1
33215 ac_status=$?
33216 grep -v '^ *+' conftest.er1 >conftest.err
33217 rm -f conftest.er1
33218 cat conftest.err >&5
33219 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33220 (exit $ac_status); } && {
33221 test -z "$ac_c_werror_flag" ||
33222 test ! -s conftest.err
33223 } && test -s conftest.$ac_objext; then
33224 ac_cv_type_size_t=yes
33225 else
33226 echo "$as_me: failed program was:" >&5
33227 sed 's/^/| /' conftest.$ac_ext >&5
33228
33229 ac_cv_type_size_t=no
33230 fi
33231
33232 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33233 fi
33234 { echo "$as_me:$LINENO: result: $ac_cv_type_size_t" >&5
33235 echo "${ECHO_T}$ac_cv_type_size_t" >&6; }
33236 if test $ac_cv_type_size_t = yes; then
33237 :
33238 else
33239
33240 cat >>confdefs.h <<_ACEOF
33241 #define size_t unsigned int
33242 _ACEOF
33243
33244 fi
33245
33246 { echo "$as_me:$LINENO: checking for uid_t in sys/types.h" >&5
33247 echo $ECHO_N "checking for uid_t in sys/types.h... $ECHO_C" >&6; }
33248 if test "${ac_cv_type_uid_t+set}" = set; then
33249 echo $ECHO_N "(cached) $ECHO_C" >&6
33250 else
33251 cat >conftest.$ac_ext <<_ACEOF
33252 /* confdefs.h. */
33253 _ACEOF
33254 cat confdefs.h >>conftest.$ac_ext
33255 cat >>conftest.$ac_ext <<_ACEOF
33256 /* end confdefs.h. */
33257 #include <sys/types.h>
33258
33259 _ACEOF
33260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
33261 $EGREP "uid_t" >/dev/null 2>&1; then
33262 ac_cv_type_uid_t=yes
33263 else
33264 ac_cv_type_uid_t=no
33265 fi
33266 rm -f conftest*
33267
33268 fi
33269 { echo "$as_me:$LINENO: result: $ac_cv_type_uid_t" >&5
33270 echo "${ECHO_T}$ac_cv_type_uid_t" >&6; }
33271 if test $ac_cv_type_uid_t = no; then
33272
33273 cat >>confdefs.h <<\_ACEOF
33274 #define uid_t int
33275 _ACEOF
33276
33277
33278 cat >>confdefs.h <<\_ACEOF
33279 #define gid_t int
33280 _ACEOF
33281
33282 fi
33283
33284
33285 { echo "$as_me:$LINENO: checking for ssize_t" >&5
33286 echo $ECHO_N "checking for ssize_t... $ECHO_C" >&6; }
33287 if test "${ac_cv_type_ssize_t+set}" = set; then
33288 echo $ECHO_N "(cached) $ECHO_C" >&6
33289 else
33290 cat >conftest.$ac_ext <<_ACEOF
33291 /* confdefs.h. */
33292 _ACEOF
33293 cat confdefs.h >>conftest.$ac_ext
33294 cat >>conftest.$ac_ext <<_ACEOF
33295 /* end confdefs.h. */
33296 $ac_includes_default
33297 typedef ssize_t ac__type_new_;
33298 int
33299 main ()
33300 {
33301 if ((ac__type_new_ *) 0)
33302 return 0;
33303 if (sizeof (ac__type_new_))
33304 return 0;
33305 ;
33306 return 0;
33307 }
33308 _ACEOF
33309 rm -f conftest.$ac_objext
33310 if { (ac_try="$ac_compile"
33311 case "(($ac_try" in
33312 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33313 *) ac_try_echo=$ac_try;;
33314 esac
33315 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33316 (eval "$ac_compile") 2>conftest.er1
33317 ac_status=$?
33318 grep -v '^ *+' conftest.er1 >conftest.err
33319 rm -f conftest.er1
33320 cat conftest.err >&5
33321 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33322 (exit $ac_status); } && {
33323 test -z "$ac_c_werror_flag" ||
33324 test ! -s conftest.err
33325 } && test -s conftest.$ac_objext; then
33326 ac_cv_type_ssize_t=yes
33327 else
33328 echo "$as_me: failed program was:" >&5
33329 sed 's/^/| /' conftest.$ac_ext >&5
33330
33331 ac_cv_type_ssize_t=no
33332 fi
33333
33334 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33335 fi
33336 { echo "$as_me:$LINENO: result: $ac_cv_type_ssize_t" >&5
33337 echo "${ECHO_T}$ac_cv_type_ssize_t" >&6; }
33338 if test $ac_cv_type_ssize_t = yes; then
33339
33340 cat >>confdefs.h <<_ACEOF
33341 #define HAVE_SSIZE_T 1
33342 _ACEOF
33343
33344
33345 fi
33346
33347
33348 ac_ext=cpp
33349 ac_cpp='$CXXCPP $CPPFLAGS'
33350 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33351 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33352 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
33353 { echo "$as_me:$LINENO: checking if size_t is unsigned int" >&5
33354 echo $ECHO_N "checking if size_t is unsigned int... $ECHO_C" >&6; }
33355 if test "${wx_cv_size_t_is_uint+set}" = set; then
33356 echo $ECHO_N "(cached) $ECHO_C" >&6
33357 else
33358
33359 cat >conftest.$ac_ext <<_ACEOF
33360 /* confdefs.h. */
33361 _ACEOF
33362 cat confdefs.h >>conftest.$ac_ext
33363 cat >>conftest.$ac_ext <<_ACEOF
33364 /* end confdefs.h. */
33365 #include <stddef.h>
33366 int
33367 main ()
33368 {
33369
33370 return 0; }
33371
33372 struct Foo { void foo(size_t); void foo(unsigned int); };
33373
33374 int bar() {
33375
33376 ;
33377 return 0;
33378 }
33379 _ACEOF
33380 rm -f conftest.$ac_objext
33381 if { (ac_try="$ac_compile"
33382 case "(($ac_try" in
33383 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33384 *) ac_try_echo=$ac_try;;
33385 esac
33386 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33387 (eval "$ac_compile") 2>conftest.er1
33388 ac_status=$?
33389 grep -v '^ *+' conftest.er1 >conftest.err
33390 rm -f conftest.er1
33391 cat conftest.err >&5
33392 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33393 (exit $ac_status); } && {
33394 test -z "$ac_cxx_werror_flag" ||
33395 test ! -s conftest.err
33396 } && test -s conftest.$ac_objext; then
33397 wx_cv_size_t_is_uint=no
33398 else
33399 echo "$as_me: failed program was:" >&5
33400 sed 's/^/| /' conftest.$ac_ext >&5
33401
33402 wx_cv_size_t_is_uint=yes
33403
33404 fi
33405
33406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33407
33408
33409 fi
33410 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_uint" >&5
33411 echo "${ECHO_T}$wx_cv_size_t_is_uint" >&6; }
33412
33413 if test "$wx_cv_size_t_is_uint" = "yes"; then
33414 cat >>confdefs.h <<\_ACEOF
33415 #define wxSIZE_T_IS_UINT 1
33416 _ACEOF
33417
33418 else
33419 { echo "$as_me:$LINENO: checking if size_t is unsigned long" >&5
33420 echo $ECHO_N "checking if size_t is unsigned long... $ECHO_C" >&6; }
33421 if test "${wx_cv_size_t_is_ulong+set}" = set; then
33422 echo $ECHO_N "(cached) $ECHO_C" >&6
33423 else
33424 cat >conftest.$ac_ext <<_ACEOF
33425 /* confdefs.h. */
33426 _ACEOF
33427 cat confdefs.h >>conftest.$ac_ext
33428 cat >>conftest.$ac_ext <<_ACEOF
33429 /* end confdefs.h. */
33430 #include <stddef.h>
33431 int
33432 main ()
33433 {
33434
33435 return 0; }
33436
33437 struct Foo { void foo(size_t); void foo(unsigned long); };
33438
33439 int bar() {
33440
33441 ;
33442 return 0;
33443 }
33444 _ACEOF
33445 rm -f conftest.$ac_objext
33446 if { (ac_try="$ac_compile"
33447 case "(($ac_try" in
33448 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33449 *) ac_try_echo=$ac_try;;
33450 esac
33451 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33452 (eval "$ac_compile") 2>conftest.er1
33453 ac_status=$?
33454 grep -v '^ *+' conftest.er1 >conftest.err
33455 rm -f conftest.er1
33456 cat conftest.err >&5
33457 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33458 (exit $ac_status); } && {
33459 test -z "$ac_cxx_werror_flag" ||
33460 test ! -s conftest.err
33461 } && test -s conftest.$ac_objext; then
33462 wx_cv_size_t_is_ulong=no
33463 else
33464 echo "$as_me: failed program was:" >&5
33465 sed 's/^/| /' conftest.$ac_ext >&5
33466
33467 wx_cv_size_t_is_ulong=yes
33468
33469 fi
33470
33471 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33472
33473 fi
33474 { echo "$as_me:$LINENO: result: $wx_cv_size_t_is_ulong" >&5
33475 echo "${ECHO_T}$wx_cv_size_t_is_ulong" >&6; }
33476
33477 if test "$wx_cv_size_t_is_ulong" = "yes"; then
33478 cat >>confdefs.h <<\_ACEOF
33479 #define wxSIZE_T_IS_ULONG 1
33480 _ACEOF
33481
33482 fi
33483 fi
33484
33485 ac_ext=c
33486 ac_cpp='$CPP $CPPFLAGS'
33487 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
33488 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
33489 ac_compiler_gnu=$ac_cv_c_compiler_gnu
33490
33491
33492 { echo "$as_me:$LINENO: checking for pw_gecos in struct passwd" >&5
33493 echo $ECHO_N "checking for pw_gecos in struct passwd... $ECHO_C" >&6; }
33494 if test "${wx_cv_struct_pw_gecos+set}" = set; then
33495 echo $ECHO_N "(cached) $ECHO_C" >&6
33496 else
33497
33498 cat >conftest.$ac_ext <<_ACEOF
33499 /* confdefs.h. */
33500 _ACEOF
33501 cat confdefs.h >>conftest.$ac_ext
33502 cat >>conftest.$ac_ext <<_ACEOF
33503 /* end confdefs.h. */
33504 #include <pwd.h>
33505 int
33506 main ()
33507 {
33508
33509 char *p;
33510 struct passwd *pw;
33511 p = pw->pw_gecos;
33512
33513 ;
33514 return 0;
33515 }
33516 _ACEOF
33517 rm -f conftest.$ac_objext
33518 if { (ac_try="$ac_compile"
33519 case "(($ac_try" in
33520 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33521 *) ac_try_echo=$ac_try;;
33522 esac
33523 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33524 (eval "$ac_compile") 2>conftest.er1
33525 ac_status=$?
33526 grep -v '^ *+' conftest.er1 >conftest.err
33527 rm -f conftest.er1
33528 cat conftest.err >&5
33529 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33530 (exit $ac_status); } && {
33531 test -z "$ac_c_werror_flag" ||
33532 test ! -s conftest.err
33533 } && test -s conftest.$ac_objext; then
33534
33535 wx_cv_struct_pw_gecos=yes
33536
33537 else
33538 echo "$as_me: failed program was:" >&5
33539 sed 's/^/| /' conftest.$ac_ext >&5
33540
33541
33542 wx_cv_struct_pw_gecos=no
33543
33544
33545 fi
33546
33547 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33548
33549
33550 fi
33551 { echo "$as_me:$LINENO: result: $wx_cv_struct_pw_gecos" >&5
33552 echo "${ECHO_T}$wx_cv_struct_pw_gecos" >&6; }
33553
33554 if test "$wx_cv_struct_pw_gecos" = "yes"; then
33555 cat >>confdefs.h <<\_ACEOF
33556 #define HAVE_PW_GECOS 1
33557 _ACEOF
33558
33559 fi
33560
33561
33562 if test "$wxUSE_WCHAR_T" = "yes"; then
33563 cat >>confdefs.h <<\_ACEOF
33564 #define wxUSE_WCHAR_T 1
33565 _ACEOF
33566
33567
33568 WCSLEN_FOUND=0
33569 WCHAR_LINK=
33570
33571 for ac_func in wcslen
33572 do
33573 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33574 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33575 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33576 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33577 echo $ECHO_N "(cached) $ECHO_C" >&6
33578 else
33579 cat >conftest.$ac_ext <<_ACEOF
33580 /* confdefs.h. */
33581 _ACEOF
33582 cat confdefs.h >>conftest.$ac_ext
33583 cat >>conftest.$ac_ext <<_ACEOF
33584 /* end confdefs.h. */
33585 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33586 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33587 #define $ac_func innocuous_$ac_func
33588
33589 /* System header to define __stub macros and hopefully few prototypes,
33590 which can conflict with char $ac_func (); below.
33591 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33592 <limits.h> exists even on freestanding compilers. */
33593
33594 #ifdef __STDC__
33595 # include <limits.h>
33596 #else
33597 # include <assert.h>
33598 #endif
33599
33600 #undef $ac_func
33601
33602 /* Override any GCC internal prototype to avoid an error.
33603 Use char because int might match the return type of a GCC
33604 builtin and then its argument prototype would still apply. */
33605 #ifdef __cplusplus
33606 extern "C"
33607 #endif
33608 char $ac_func ();
33609 /* The GNU C library defines this for functions which it implements
33610 to always fail with ENOSYS. Some functions are actually named
33611 something starting with __ and the normal name is an alias. */
33612 #if defined __stub_$ac_func || defined __stub___$ac_func
33613 choke me
33614 #endif
33615
33616 int
33617 main ()
33618 {
33619 return $ac_func ();
33620 ;
33621 return 0;
33622 }
33623 _ACEOF
33624 rm -f conftest.$ac_objext conftest$ac_exeext
33625 if { (ac_try="$ac_link"
33626 case "(($ac_try" in
33627 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33628 *) ac_try_echo=$ac_try;;
33629 esac
33630 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33631 (eval "$ac_link") 2>conftest.er1
33632 ac_status=$?
33633 grep -v '^ *+' conftest.er1 >conftest.err
33634 rm -f conftest.er1
33635 cat conftest.err >&5
33636 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33637 (exit $ac_status); } && {
33638 test -z "$ac_c_werror_flag" ||
33639 test ! -s conftest.err
33640 } && test -s conftest$ac_exeext &&
33641 $as_test_x conftest$ac_exeext; then
33642 eval "$as_ac_var=yes"
33643 else
33644 echo "$as_me: failed program was:" >&5
33645 sed 's/^/| /' conftest.$ac_ext >&5
33646
33647 eval "$as_ac_var=no"
33648 fi
33649
33650 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33651 conftest$ac_exeext conftest.$ac_ext
33652 fi
33653 ac_res=`eval echo '${'$as_ac_var'}'`
33654 { echo "$as_me:$LINENO: result: $ac_res" >&5
33655 echo "${ECHO_T}$ac_res" >&6; }
33656 if test `eval echo '${'$as_ac_var'}'` = yes; then
33657 cat >>confdefs.h <<_ACEOF
33658 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33659 _ACEOF
33660 WCSLEN_FOUND=1
33661 fi
33662 done
33663
33664
33665 if test "$WCSLEN_FOUND" = 0; then
33666 if test "$TOOLKIT" = "MSW"; then
33667 { echo "$as_me:$LINENO: checking for wcslen in -lmsvcrt" >&5
33668 echo $ECHO_N "checking for wcslen in -lmsvcrt... $ECHO_C" >&6; }
33669 if test "${ac_cv_lib_msvcrt_wcslen+set}" = set; then
33670 echo $ECHO_N "(cached) $ECHO_C" >&6
33671 else
33672 ac_check_lib_save_LIBS=$LIBS
33673 LIBS="-lmsvcrt $LIBS"
33674 cat >conftest.$ac_ext <<_ACEOF
33675 /* confdefs.h. */
33676 _ACEOF
33677 cat confdefs.h >>conftest.$ac_ext
33678 cat >>conftest.$ac_ext <<_ACEOF
33679 /* end confdefs.h. */
33680
33681 /* Override any GCC internal prototype to avoid an error.
33682 Use char because int might match the return type of a GCC
33683 builtin and then its argument prototype would still apply. */
33684 #ifdef __cplusplus
33685 extern "C"
33686 #endif
33687 char wcslen ();
33688 int
33689 main ()
33690 {
33691 return wcslen ();
33692 ;
33693 return 0;
33694 }
33695 _ACEOF
33696 rm -f conftest.$ac_objext conftest$ac_exeext
33697 if { (ac_try="$ac_link"
33698 case "(($ac_try" in
33699 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33700 *) ac_try_echo=$ac_try;;
33701 esac
33702 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33703 (eval "$ac_link") 2>conftest.er1
33704 ac_status=$?
33705 grep -v '^ *+' conftest.er1 >conftest.err
33706 rm -f conftest.er1
33707 cat conftest.err >&5
33708 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33709 (exit $ac_status); } && {
33710 test -z "$ac_c_werror_flag" ||
33711 test ! -s conftest.err
33712 } && test -s conftest$ac_exeext &&
33713 $as_test_x conftest$ac_exeext; then
33714 ac_cv_lib_msvcrt_wcslen=yes
33715 else
33716 echo "$as_me: failed program was:" >&5
33717 sed 's/^/| /' conftest.$ac_ext >&5
33718
33719 ac_cv_lib_msvcrt_wcslen=no
33720 fi
33721
33722 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33723 conftest$ac_exeext conftest.$ac_ext
33724 LIBS=$ac_check_lib_save_LIBS
33725 fi
33726 { echo "$as_me:$LINENO: result: $ac_cv_lib_msvcrt_wcslen" >&5
33727 echo "${ECHO_T}$ac_cv_lib_msvcrt_wcslen" >&6; }
33728 if test $ac_cv_lib_msvcrt_wcslen = yes; then
33729 WCHAR_OK=1
33730 fi
33731
33732 else
33733 { echo "$as_me:$LINENO: checking for wcslen in -lw" >&5
33734 echo $ECHO_N "checking for wcslen in -lw... $ECHO_C" >&6; }
33735 if test "${ac_cv_lib_w_wcslen+set}" = set; then
33736 echo $ECHO_N "(cached) $ECHO_C" >&6
33737 else
33738 ac_check_lib_save_LIBS=$LIBS
33739 LIBS="-lw $LIBS"
33740 cat >conftest.$ac_ext <<_ACEOF
33741 /* confdefs.h. */
33742 _ACEOF
33743 cat confdefs.h >>conftest.$ac_ext
33744 cat >>conftest.$ac_ext <<_ACEOF
33745 /* end confdefs.h. */
33746
33747 /* Override any GCC internal prototype to avoid an error.
33748 Use char because int might match the return type of a GCC
33749 builtin and then its argument prototype would still apply. */
33750 #ifdef __cplusplus
33751 extern "C"
33752 #endif
33753 char wcslen ();
33754 int
33755 main ()
33756 {
33757 return wcslen ();
33758 ;
33759 return 0;
33760 }
33761 _ACEOF
33762 rm -f conftest.$ac_objext conftest$ac_exeext
33763 if { (ac_try="$ac_link"
33764 case "(($ac_try" in
33765 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33766 *) ac_try_echo=$ac_try;;
33767 esac
33768 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33769 (eval "$ac_link") 2>conftest.er1
33770 ac_status=$?
33771 grep -v '^ *+' conftest.er1 >conftest.err
33772 rm -f conftest.er1
33773 cat conftest.err >&5
33774 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33775 (exit $ac_status); } && {
33776 test -z "$ac_c_werror_flag" ||
33777 test ! -s conftest.err
33778 } && test -s conftest$ac_exeext &&
33779 $as_test_x conftest$ac_exeext; then
33780 ac_cv_lib_w_wcslen=yes
33781 else
33782 echo "$as_me: failed program was:" >&5
33783 sed 's/^/| /' conftest.$ac_ext >&5
33784
33785 ac_cv_lib_w_wcslen=no
33786 fi
33787
33788 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33789 conftest$ac_exeext conftest.$ac_ext
33790 LIBS=$ac_check_lib_save_LIBS
33791 fi
33792 { echo "$as_me:$LINENO: result: $ac_cv_lib_w_wcslen" >&5
33793 echo "${ECHO_T}$ac_cv_lib_w_wcslen" >&6; }
33794 if test $ac_cv_lib_w_wcslen = yes; then
33795
33796 WCHAR_LINK=" -lw"
33797 WCSLEN_FOUND=1
33798
33799 fi
33800
33801 fi
33802 fi
33803
33804 if test "$WCSLEN_FOUND" = 1; then
33805 cat >>confdefs.h <<\_ACEOF
33806 #define HAVE_WCSLEN 1
33807 _ACEOF
33808
33809 fi
33810
33811 if test "$USE_HPUX" = 1 -a "$GCC" != "yes"; then
33812 CPPFLAGS="-D_INCLUDE__STDC_A1_SOURCE $CPPFLAGS"
33813 fi
33814
33815 { echo "$as_me:$LINENO: checking for mbstate_t" >&5
33816 echo $ECHO_N "checking for mbstate_t... $ECHO_C" >&6; }
33817 if test "${ac_cv_type_mbstate_t+set}" = set; then
33818 echo $ECHO_N "(cached) $ECHO_C" >&6
33819 else
33820 cat >conftest.$ac_ext <<_ACEOF
33821 /* confdefs.h. */
33822 _ACEOF
33823 cat confdefs.h >>conftest.$ac_ext
33824 cat >>conftest.$ac_ext <<_ACEOF
33825 /* end confdefs.h. */
33826 #include <wchar.h>
33827
33828 typedef mbstate_t ac__type_new_;
33829 int
33830 main ()
33831 {
33832 if ((ac__type_new_ *) 0)
33833 return 0;
33834 if (sizeof (ac__type_new_))
33835 return 0;
33836 ;
33837 return 0;
33838 }
33839 _ACEOF
33840 rm -f conftest.$ac_objext
33841 if { (ac_try="$ac_compile"
33842 case "(($ac_try" in
33843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33844 *) ac_try_echo=$ac_try;;
33845 esac
33846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33847 (eval "$ac_compile") 2>conftest.er1
33848 ac_status=$?
33849 grep -v '^ *+' conftest.er1 >conftest.err
33850 rm -f conftest.er1
33851 cat conftest.err >&5
33852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33853 (exit $ac_status); } && {
33854 test -z "$ac_c_werror_flag" ||
33855 test ! -s conftest.err
33856 } && test -s conftest.$ac_objext; then
33857 ac_cv_type_mbstate_t=yes
33858 else
33859 echo "$as_me: failed program was:" >&5
33860 sed 's/^/| /' conftest.$ac_ext >&5
33861
33862 ac_cv_type_mbstate_t=no
33863 fi
33864
33865 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
33866 fi
33867 { echo "$as_me:$LINENO: result: $ac_cv_type_mbstate_t" >&5
33868 echo "${ECHO_T}$ac_cv_type_mbstate_t" >&6; }
33869 if test $ac_cv_type_mbstate_t = yes; then
33870
33871 cat >>confdefs.h <<_ACEOF
33872 #define HAVE_MBSTATE_T 1
33873 _ACEOF
33874
33875
33876 for ac_func in wcsrtombs
33877 do
33878 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33879 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33880 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33881 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33882 echo $ECHO_N "(cached) $ECHO_C" >&6
33883 else
33884 cat >conftest.$ac_ext <<_ACEOF
33885 /* confdefs.h. */
33886 _ACEOF
33887 cat confdefs.h >>conftest.$ac_ext
33888 cat >>conftest.$ac_ext <<_ACEOF
33889 /* end confdefs.h. */
33890 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33891 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33892 #define $ac_func innocuous_$ac_func
33893
33894 /* System header to define __stub macros and hopefully few prototypes,
33895 which can conflict with char $ac_func (); below.
33896 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33897 <limits.h> exists even on freestanding compilers. */
33898
33899 #ifdef __STDC__
33900 # include <limits.h>
33901 #else
33902 # include <assert.h>
33903 #endif
33904
33905 #undef $ac_func
33906
33907 /* Override any GCC internal prototype to avoid an error.
33908 Use char because int might match the return type of a GCC
33909 builtin and then its argument prototype would still apply. */
33910 #ifdef __cplusplus
33911 extern "C"
33912 #endif
33913 char $ac_func ();
33914 /* The GNU C library defines this for functions which it implements
33915 to always fail with ENOSYS. Some functions are actually named
33916 something starting with __ and the normal name is an alias. */
33917 #if defined __stub_$ac_func || defined __stub___$ac_func
33918 choke me
33919 #endif
33920
33921 int
33922 main ()
33923 {
33924 return $ac_func ();
33925 ;
33926 return 0;
33927 }
33928 _ACEOF
33929 rm -f conftest.$ac_objext conftest$ac_exeext
33930 if { (ac_try="$ac_link"
33931 case "(($ac_try" in
33932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
33933 *) ac_try_echo=$ac_try;;
33934 esac
33935 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
33936 (eval "$ac_link") 2>conftest.er1
33937 ac_status=$?
33938 grep -v '^ *+' conftest.er1 >conftest.err
33939 rm -f conftest.er1
33940 cat conftest.err >&5
33941 echo "$as_me:$LINENO: \$? = $ac_status" >&5
33942 (exit $ac_status); } && {
33943 test -z "$ac_c_werror_flag" ||
33944 test ! -s conftest.err
33945 } && test -s conftest$ac_exeext &&
33946 $as_test_x conftest$ac_exeext; then
33947 eval "$as_ac_var=yes"
33948 else
33949 echo "$as_me: failed program was:" >&5
33950 sed 's/^/| /' conftest.$ac_ext >&5
33951
33952 eval "$as_ac_var=no"
33953 fi
33954
33955 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
33956 conftest$ac_exeext conftest.$ac_ext
33957 fi
33958 ac_res=`eval echo '${'$as_ac_var'}'`
33959 { echo "$as_me:$LINENO: result: $ac_res" >&5
33960 echo "${ECHO_T}$ac_res" >&6; }
33961 if test `eval echo '${'$as_ac_var'}'` = yes; then
33962 cat >>confdefs.h <<_ACEOF
33963 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
33964 _ACEOF
33965
33966 fi
33967 done
33968
33969 fi
33970
33971 else
33972 { echo "$as_me:$LINENO: WARNING: Wide character support is unavailable" >&5
33973 echo "$as_me: WARNING: Wide character support is unavailable" >&2;}
33974 fi
33975
33976
33977
33978 for ac_func in snprintf vsnprintf
33979 do
33980 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
33981 { echo "$as_me:$LINENO: checking for $ac_func" >&5
33982 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
33983 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
33984 echo $ECHO_N "(cached) $ECHO_C" >&6
33985 else
33986 cat >conftest.$ac_ext <<_ACEOF
33987 /* confdefs.h. */
33988 _ACEOF
33989 cat confdefs.h >>conftest.$ac_ext
33990 cat >>conftest.$ac_ext <<_ACEOF
33991 /* end confdefs.h. */
33992 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
33993 For example, HP-UX 11i <limits.h> declares gettimeofday. */
33994 #define $ac_func innocuous_$ac_func
33995
33996 /* System header to define __stub macros and hopefully few prototypes,
33997 which can conflict with char $ac_func (); below.
33998 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
33999 <limits.h> exists even on freestanding compilers. */
34000
34001 #ifdef __STDC__
34002 # include <limits.h>
34003 #else
34004 # include <assert.h>
34005 #endif
34006
34007 #undef $ac_func
34008
34009 /* Override any GCC internal prototype to avoid an error.
34010 Use char because int might match the return type of a GCC
34011 builtin and then its argument prototype would still apply. */
34012 #ifdef __cplusplus
34013 extern "C"
34014 #endif
34015 char $ac_func ();
34016 /* The GNU C library defines this for functions which it implements
34017 to always fail with ENOSYS. Some functions are actually named
34018 something starting with __ and the normal name is an alias. */
34019 #if defined __stub_$ac_func || defined __stub___$ac_func
34020 choke me
34021 #endif
34022
34023 int
34024 main ()
34025 {
34026 return $ac_func ();
34027 ;
34028 return 0;
34029 }
34030 _ACEOF
34031 rm -f conftest.$ac_objext conftest$ac_exeext
34032 if { (ac_try="$ac_link"
34033 case "(($ac_try" in
34034 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34035 *) ac_try_echo=$ac_try;;
34036 esac
34037 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34038 (eval "$ac_link") 2>conftest.er1
34039 ac_status=$?
34040 grep -v '^ *+' conftest.er1 >conftest.err
34041 rm -f conftest.er1
34042 cat conftest.err >&5
34043 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34044 (exit $ac_status); } && {
34045 test -z "$ac_c_werror_flag" ||
34046 test ! -s conftest.err
34047 } && test -s conftest$ac_exeext &&
34048 $as_test_x conftest$ac_exeext; then
34049 eval "$as_ac_var=yes"
34050 else
34051 echo "$as_me: failed program was:" >&5
34052 sed 's/^/| /' conftest.$ac_ext >&5
34053
34054 eval "$as_ac_var=no"
34055 fi
34056
34057 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34058 conftest$ac_exeext conftest.$ac_ext
34059 fi
34060 ac_res=`eval echo '${'$as_ac_var'}'`
34061 { echo "$as_me:$LINENO: result: $ac_res" >&5
34062 echo "${ECHO_T}$ac_res" >&6; }
34063 if test `eval echo '${'$as_ac_var'}'` = yes; then
34064 cat >>confdefs.h <<_ACEOF
34065 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34066 _ACEOF
34067
34068 fi
34069 done
34070
34071
34072 if test "$ac_cv_func_vsnprintf" = "yes"; then
34073 { echo "$as_me:$LINENO: checking for vsnprintf declaration" >&5
34074 echo $ECHO_N "checking for vsnprintf declaration... $ECHO_C" >&6; }
34075 if test "${wx_cv_func_vsnprintf_decl+set}" = set; then
34076 echo $ECHO_N "(cached) $ECHO_C" >&6
34077 else
34078
34079 cat >conftest.$ac_ext <<_ACEOF
34080 /* confdefs.h. */
34081 _ACEOF
34082 cat confdefs.h >>conftest.$ac_ext
34083 cat >>conftest.$ac_ext <<_ACEOF
34084 /* end confdefs.h. */
34085
34086 #include <stdio.h>
34087 #include <stdarg.h>
34088 #ifdef __MSL__
34089 #if __MSL__ >= 0x6000
34090 namespace std {}
34091 using namespace std;
34092 #endif
34093 #endif
34094
34095 int
34096 main ()
34097 {
34098
34099 char *buf;
34100 va_list ap;
34101 vsnprintf(buf, 10u, "%s", ap);
34102
34103 ;
34104 return 0;
34105 }
34106 _ACEOF
34107 rm -f conftest.$ac_objext
34108 if { (ac_try="$ac_compile"
34109 case "(($ac_try" in
34110 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34111 *) ac_try_echo=$ac_try;;
34112 esac
34113 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34114 (eval "$ac_compile") 2>conftest.er1
34115 ac_status=$?
34116 grep -v '^ *+' conftest.er1 >conftest.err
34117 rm -f conftest.er1
34118 cat conftest.err >&5
34119 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34120 (exit $ac_status); } && {
34121 test -z "$ac_c_werror_flag" ||
34122 test ! -s conftest.err
34123 } && test -s conftest.$ac_objext; then
34124 wx_cv_func_vsnprintf_decl=yes
34125 else
34126 echo "$as_me: failed program was:" >&5
34127 sed 's/^/| /' conftest.$ac_ext >&5
34128
34129 wx_cv_func_vsnprintf_decl=no
34130
34131 fi
34132
34133 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34134
34135
34136 fi
34137 { echo "$as_me:$LINENO: result: $wx_cv_func_vsnprintf_decl" >&5
34138 echo "${ECHO_T}$wx_cv_func_vsnprintf_decl" >&6; }
34139
34140 if test "$wx_cv_func_vsnprintf_decl" = "yes"; then
34141 cat >>confdefs.h <<\_ACEOF
34142 #define HAVE_VSNPRINTF_DECL 1
34143 _ACEOF
34144
34145
34146 { echo "$as_me:$LINENO: checking if vsnprintf declaration is broken" >&5
34147 echo $ECHO_N "checking if vsnprintf declaration is broken... $ECHO_C" >&6; }
34148 if test "${wx_cv_func_broken_vsnprintf_decl+set}" = set; then
34149 echo $ECHO_N "(cached) $ECHO_C" >&6
34150 else
34151
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
34159 #include <stdio.h>
34160 #include <stdarg.h>
34161 #ifdef __MSL__
34162 #if __MSL__ >= 0x6000
34163 namespace std {}
34164 using namespace std;
34165 #endif
34166 #endif
34167
34168 int
34169 main ()
34170 {
34171
34172 char *buf;
34173 va_list ap;
34174 const char *fmt = "%s";
34175 vsnprintf(buf, 10u, fmt, ap);
34176
34177 ;
34178 return 0;
34179 }
34180 _ACEOF
34181 rm -f conftest.$ac_objext
34182 if { (ac_try="$ac_compile"
34183 case "(($ac_try" in
34184 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34185 *) ac_try_echo=$ac_try;;
34186 esac
34187 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34188 (eval "$ac_compile") 2>conftest.er1
34189 ac_status=$?
34190 grep -v '^ *+' conftest.er1 >conftest.err
34191 rm -f conftest.er1
34192 cat conftest.err >&5
34193 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34194 (exit $ac_status); } && {
34195 test -z "$ac_c_werror_flag" ||
34196 test ! -s conftest.err
34197 } && test -s conftest.$ac_objext; then
34198 wx_cv_func_broken_vsnprintf_decl=no
34199 else
34200 echo "$as_me: failed program was:" >&5
34201 sed 's/^/| /' conftest.$ac_ext >&5
34202
34203 wx_cv_func_broken_vsnprintf_decl=yes
34204
34205 fi
34206
34207 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34208
34209
34210 fi
34211 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_vsnprintf_decl" >&5
34212 echo "${ECHO_T}$wx_cv_func_broken_vsnprintf_decl" >&6; }
34213
34214 if test "$wx_cv_func_broken_vsnprintf_decl" = "yes"; then
34215 cat >>confdefs.h <<\_ACEOF
34216 #define HAVE_BROKEN_VSNPRINTF_DECL 1
34217 _ACEOF
34218
34219 fi
34220 fi
34221 fi
34222
34223 if test "$ac_cv_func_snprintf" = "yes"; then
34224 { echo "$as_me:$LINENO: checking for snprintf declaration" >&5
34225 echo $ECHO_N "checking for snprintf declaration... $ECHO_C" >&6; }
34226 if test "${wx_cv_func_snprintf_decl+set}" = set; then
34227 echo $ECHO_N "(cached) $ECHO_C" >&6
34228 else
34229
34230 cat >conftest.$ac_ext <<_ACEOF
34231 /* confdefs.h. */
34232 _ACEOF
34233 cat confdefs.h >>conftest.$ac_ext
34234 cat >>conftest.$ac_ext <<_ACEOF
34235 /* end confdefs.h. */
34236
34237 #include <stdio.h>
34238 #include <stdarg.h>
34239 #ifdef __MSL__
34240 #if __MSL__ >= 0x6000
34241 namespace std {}
34242 using namespace std;
34243 #endif
34244 #endif
34245
34246 int
34247 main ()
34248 {
34249
34250 char *buf;
34251 snprintf(buf, 10u, "%s", "wx");
34252
34253 ;
34254 return 0;
34255 }
34256 _ACEOF
34257 rm -f conftest.$ac_objext
34258 if { (ac_try="$ac_compile"
34259 case "(($ac_try" in
34260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34261 *) ac_try_echo=$ac_try;;
34262 esac
34263 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34264 (eval "$ac_compile") 2>conftest.er1
34265 ac_status=$?
34266 grep -v '^ *+' conftest.er1 >conftest.err
34267 rm -f conftest.er1
34268 cat conftest.err >&5
34269 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34270 (exit $ac_status); } && {
34271 test -z "$ac_c_werror_flag" ||
34272 test ! -s conftest.err
34273 } && test -s conftest.$ac_objext; then
34274 wx_cv_func_snprintf_decl=yes
34275 else
34276 echo "$as_me: failed program was:" >&5
34277 sed 's/^/| /' conftest.$ac_ext >&5
34278
34279 wx_cv_func_snprintf_decl=no
34280
34281 fi
34282
34283 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34284
34285
34286 fi
34287 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_decl" >&5
34288 echo "${ECHO_T}$wx_cv_func_snprintf_decl" >&6; }
34289
34290 if test "$wx_cv_func_snprintf_decl" = "yes"; then
34291 cat >>confdefs.h <<\_ACEOF
34292 #define HAVE_SNPRINTF_DECL 1
34293 _ACEOF
34294
34295
34296 { echo "$as_me:$LINENO: checking if snprintf declaration is broken" >&5
34297 echo $ECHO_N "checking if snprintf declaration is broken... $ECHO_C" >&6; }
34298 if test "${wx_cv_func_broken_snprintf_decl+set}" = set; then
34299 echo $ECHO_N "(cached) $ECHO_C" >&6
34300 else
34301
34302 cat >conftest.$ac_ext <<_ACEOF
34303 /* confdefs.h. */
34304 _ACEOF
34305 cat confdefs.h >>conftest.$ac_ext
34306 cat >>conftest.$ac_ext <<_ACEOF
34307 /* end confdefs.h. */
34308
34309 #include <stdio.h>
34310 #include <stdarg.h>
34311 #ifdef __MSL__
34312 #if __MSL__ >= 0x6000
34313 namespace std {}
34314 using namespace std;
34315 #endif
34316 #endif
34317
34318 int
34319 main ()
34320 {
34321
34322 char *buf;
34323 const char *fmt = "%s";
34324 snprintf(buf, 10u, fmt, "wx");
34325
34326 ;
34327 return 0;
34328 }
34329 _ACEOF
34330 rm -f conftest.$ac_objext
34331 if { (ac_try="$ac_compile"
34332 case "(($ac_try" in
34333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34334 *) ac_try_echo=$ac_try;;
34335 esac
34336 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34337 (eval "$ac_compile") 2>conftest.er1
34338 ac_status=$?
34339 grep -v '^ *+' conftest.er1 >conftest.err
34340 rm -f conftest.er1
34341 cat conftest.err >&5
34342 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34343 (exit $ac_status); } && {
34344 test -z "$ac_c_werror_flag" ||
34345 test ! -s conftest.err
34346 } && test -s conftest.$ac_objext; then
34347 wx_cv_func_broken_snprintf_decl=no
34348 else
34349 echo "$as_me: failed program was:" >&5
34350 sed 's/^/| /' conftest.$ac_ext >&5
34351
34352 wx_cv_func_broken_snprintf_decl=yes
34353
34354 fi
34355
34356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34357
34358
34359 fi
34360 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_snprintf_decl" >&5
34361 echo "${ECHO_T}$wx_cv_func_broken_snprintf_decl" >&6; }
34362
34363 if test "$wx_cv_func_broken_snprintf_decl" = "yes"; then
34364 cat >>confdefs.h <<\_ACEOF
34365 #define HAVE_BROKEN_SNPRINTF_DECL 1
34366 _ACEOF
34367
34368 fi
34369 fi
34370
34371 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
34372
34373 { echo "$as_me:$LINENO: checking if snprintf supports positional arguments" >&5
34374 echo $ECHO_N "checking if snprintf supports positional arguments... $ECHO_C" >&6; }
34375 if test "${wx_cv_func_snprintf_pos_params+set}" = set; then
34376 echo $ECHO_N "(cached) $ECHO_C" >&6
34377 else
34378
34379 if test "$cross_compiling" = yes; then
34380
34381 { echo "$as_me:$LINENO: WARNING: Assuming Unix98 printf() is not available,
34382 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&5
34383 echo "$as_me: WARNING: Assuming Unix98 printf() is not available,
34384 define HAVE_UNIX98_PRINTF as 1 in setup.h if it is available." >&2;}
34385 wx_cv_func_snprintf_pos_params=no
34386
34387
34388 else
34389 cat >conftest.$ac_ext <<_ACEOF
34390 /* confdefs.h. */
34391 _ACEOF
34392 cat confdefs.h >>conftest.$ac_ext
34393 cat >>conftest.$ac_ext <<_ACEOF
34394 /* end confdefs.h. */
34395
34396 #include <stdio.h>
34397
34398 int main (void)
34399 {
34400 char buffer[128];
34401 snprintf (buffer, 128, "%2$d %3$d %1$d", 1, 2, 3);
34402 if (strcmp ("2 3 1", buffer) == 0)
34403 exit (0);
34404 exit (1);
34405 }
34406
34407 _ACEOF
34408 rm -f conftest$ac_exeext
34409 if { (ac_try="$ac_link"
34410 case "(($ac_try" in
34411 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34412 *) ac_try_echo=$ac_try;;
34413 esac
34414 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34415 (eval "$ac_link") 2>&5
34416 ac_status=$?
34417 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34418 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
34419 { (case "(($ac_try" in
34420 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34421 *) ac_try_echo=$ac_try;;
34422 esac
34423 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34424 (eval "$ac_try") 2>&5
34425 ac_status=$?
34426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34427 (exit $ac_status); }; }; then
34428 wx_cv_func_snprintf_pos_params=no
34429 else
34430 echo "$as_me: program exited with status $ac_status" >&5
34431 echo "$as_me: failed program was:" >&5
34432 sed 's/^/| /' conftest.$ac_ext >&5
34433
34434 ( exit $ac_status )
34435 wx_cv_func_snprintf_pos_params=yes
34436 fi
34437 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
34438 fi
34439
34440
34441
34442
34443 fi
34444 { echo "$as_me:$LINENO: result: $wx_cv_func_snprintf_pos_params" >&5
34445 echo "${ECHO_T}$wx_cv_func_snprintf_pos_params" >&6; }
34446
34447 if test "$wx_cv_func_snprintf_pos_params" = "yes"; then
34448 cat >>confdefs.h <<\_ACEOF
34449 #define HAVE_UNIX98_PRINTF 1
34450 _ACEOF
34451
34452 fi
34453 fi
34454 fi
34455
34456 if test "$wxUSE_UNICODE" = yes; then
34457
34458
34459 for ac_func in swprintf
34460 do
34461 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
34462 { echo "$as_me:$LINENO: checking for $ac_func" >&5
34463 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
34464 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
34465 echo $ECHO_N "(cached) $ECHO_C" >&6
34466 else
34467 cat >conftest.$ac_ext <<_ACEOF
34468 /* confdefs.h. */
34469 _ACEOF
34470 cat confdefs.h >>conftest.$ac_ext
34471 cat >>conftest.$ac_ext <<_ACEOF
34472 /* end confdefs.h. */
34473 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
34474 For example, HP-UX 11i <limits.h> declares gettimeofday. */
34475 #define $ac_func innocuous_$ac_func
34476
34477 /* System header to define __stub macros and hopefully few prototypes,
34478 which can conflict with char $ac_func (); below.
34479 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
34480 <limits.h> exists even on freestanding compilers. */
34481
34482 #ifdef __STDC__
34483 # include <limits.h>
34484 #else
34485 # include <assert.h>
34486 #endif
34487
34488 #undef $ac_func
34489
34490 /* Override any GCC internal prototype to avoid an error.
34491 Use char because int might match the return type of a GCC
34492 builtin and then its argument prototype would still apply. */
34493 #ifdef __cplusplus
34494 extern "C"
34495 #endif
34496 char $ac_func ();
34497 /* The GNU C library defines this for functions which it implements
34498 to always fail with ENOSYS. Some functions are actually named
34499 something starting with __ and the normal name is an alias. */
34500 #if defined __stub_$ac_func || defined __stub___$ac_func
34501 choke me
34502 #endif
34503
34504 int
34505 main ()
34506 {
34507 return $ac_func ();
34508 ;
34509 return 0;
34510 }
34511 _ACEOF
34512 rm -f conftest.$ac_objext conftest$ac_exeext
34513 if { (ac_try="$ac_link"
34514 case "(($ac_try" in
34515 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34516 *) ac_try_echo=$ac_try;;
34517 esac
34518 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34519 (eval "$ac_link") 2>conftest.er1
34520 ac_status=$?
34521 grep -v '^ *+' conftest.er1 >conftest.err
34522 rm -f conftest.er1
34523 cat conftest.err >&5
34524 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34525 (exit $ac_status); } && {
34526 test -z "$ac_c_werror_flag" ||
34527 test ! -s conftest.err
34528 } && test -s conftest$ac_exeext &&
34529 $as_test_x conftest$ac_exeext; then
34530 eval "$as_ac_var=yes"
34531 else
34532 echo "$as_me: failed program was:" >&5
34533 sed 's/^/| /' conftest.$ac_ext >&5
34534
34535 eval "$as_ac_var=no"
34536 fi
34537
34538 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34539 conftest$ac_exeext conftest.$ac_ext
34540 fi
34541 ac_res=`eval echo '${'$as_ac_var'}'`
34542 { echo "$as_me:$LINENO: result: $ac_res" >&5
34543 echo "${ECHO_T}$ac_res" >&6; }
34544 if test `eval echo '${'$as_ac_var'}'` = yes; then
34545 cat >>confdefs.h <<_ACEOF
34546 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
34547 _ACEOF
34548
34549 fi
34550 done
34551
34552
34553 if test "$ac_cv_func_swprintf" = "yes"; then
34554 { echo "$as_me:$LINENO: checking if swprintf declaration is broken" >&5
34555 echo $ECHO_N "checking if swprintf declaration is broken... $ECHO_C" >&6; }
34556 if test "${wx_cv_func_broken_swprintf_decl+set}" = set; then
34557 echo $ECHO_N "(cached) $ECHO_C" >&6
34558 else
34559
34560 cat >conftest.$ac_ext <<_ACEOF
34561 /* confdefs.h. */
34562 _ACEOF
34563 cat confdefs.h >>conftest.$ac_ext
34564 cat >>conftest.$ac_ext <<_ACEOF
34565 /* end confdefs.h. */
34566
34567 #include <stdio.h>
34568 #include <stdarg.h>
34569 #include <wchar.h>
34570
34571 int
34572 main ()
34573 {
34574
34575 wchar_t *buf;
34576 const wchar_t *fmt = L"test";
34577 swprintf(buf, 10u, fmt);
34578
34579 ;
34580 return 0;
34581 }
34582 _ACEOF
34583 rm -f conftest.$ac_objext
34584 if { (ac_try="$ac_compile"
34585 case "(($ac_try" in
34586 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34587 *) ac_try_echo=$ac_try;;
34588 esac
34589 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34590 (eval "$ac_compile") 2>conftest.er1
34591 ac_status=$?
34592 grep -v '^ *+' conftest.er1 >conftest.err
34593 rm -f conftest.er1
34594 cat conftest.err >&5
34595 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34596 (exit $ac_status); } && {
34597 test -z "$ac_c_werror_flag" ||
34598 test ! -s conftest.err
34599 } && test -s conftest.$ac_objext; then
34600 wx_cv_func_broken_swprintf_decl=no
34601 else
34602 echo "$as_me: failed program was:" >&5
34603 sed 's/^/| /' conftest.$ac_ext >&5
34604
34605 wx_cv_func_broken_swprintf_decl=yes
34606
34607 fi
34608
34609 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34610
34611
34612 fi
34613 { echo "$as_me:$LINENO: result: $wx_cv_func_broken_swprintf_decl" >&5
34614 echo "${ECHO_T}$wx_cv_func_broken_swprintf_decl" >&6; }
34615
34616 if test "$wx_cv_func_broken_swprintf_decl" = "yes"; then
34617 cat >>confdefs.h <<\_ACEOF
34618 #define HAVE_BROKEN_SWPRINTF_DECL 1
34619 _ACEOF
34620
34621 fi
34622 fi
34623
34624 wchar_headers="#include <stdio.h>
34625 #include <wchar.h>"
34626 case "${host}" in
34627 *-*-solaris2* )
34628 { echo "$as_me:$LINENO: checking for widec.h" >&5
34629 echo $ECHO_N "checking for widec.h... $ECHO_C" >&6; }
34630 if test "${ac_cv_header_widec_h+set}" = set; then
34631 echo $ECHO_N "(cached) $ECHO_C" >&6
34632 else
34633 cat >conftest.$ac_ext <<_ACEOF
34634 /* confdefs.h. */
34635 _ACEOF
34636 cat confdefs.h >>conftest.$ac_ext
34637 cat >>conftest.$ac_ext <<_ACEOF
34638 /* end confdefs.h. */
34639 $ac_includes_default
34640
34641 #include <widec.h>
34642 _ACEOF
34643 rm -f conftest.$ac_objext
34644 if { (ac_try="$ac_compile"
34645 case "(($ac_try" in
34646 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34647 *) ac_try_echo=$ac_try;;
34648 esac
34649 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34650 (eval "$ac_compile") 2>conftest.er1
34651 ac_status=$?
34652 grep -v '^ *+' conftest.er1 >conftest.err
34653 rm -f conftest.er1
34654 cat conftest.err >&5
34655 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34656 (exit $ac_status); } && {
34657 test -z "$ac_c_werror_flag" ||
34658 test ! -s conftest.err
34659 } && test -s conftest.$ac_objext; then
34660 ac_cv_header_widec_h=yes
34661 else
34662 echo "$as_me: failed program was:" >&5
34663 sed 's/^/| /' conftest.$ac_ext >&5
34664
34665 ac_cv_header_widec_h=no
34666 fi
34667
34668 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
34669 fi
34670 { echo "$as_me:$LINENO: result: $ac_cv_header_widec_h" >&5
34671 echo "${ECHO_T}$ac_cv_header_widec_h" >&6; }
34672
34673
34674 if test "$ac_cv_header_widec_h" = "yes"; then
34675 wchar_headers="$wchar_headers
34676 #include <widec.h>"
34677 fi
34678 esac
34679
34680
34681 for wx_func in wputc wputchar putws fputws wprintf vswprintf
34682 do
34683 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34684 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34685 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34686 echo $ECHO_N "(cached) $ECHO_C" >&6
34687 else
34688
34689 cat >conftest.$ac_ext <<_ACEOF
34690
34691 /* confdefs.h. */
34692 _ACEOF
34693 cat confdefs.h >>conftest.$ac_ext
34694 cat >>conftest.$ac_ext <<_ACEOF
34695 /* end confdefs.h. */
34696
34697 $wchar_headers
34698 $ac_includes_default
34699
34700 int
34701 main ()
34702 {
34703
34704 #ifndef $wx_func
34705 &$wx_func;
34706 #endif
34707
34708
34709 ;
34710 return 0;
34711 }
34712
34713 _ACEOF
34714 rm -f conftest.$ac_objext conftest$ac_exeext
34715 if { (ac_try="$ac_link"
34716 case "(($ac_try" in
34717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34718 *) ac_try_echo=$ac_try;;
34719 esac
34720 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34721 (eval "$ac_link") 2>conftest.er1
34722 ac_status=$?
34723 grep -v '^ *+' conftest.er1 >conftest.err
34724 rm -f conftest.er1
34725 cat conftest.err >&5
34726 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34727 (exit $ac_status); } && {
34728 test -z "$ac_c_werror_flag" ||
34729 test ! -s conftest.err
34730 } && test -s conftest$ac_exeext &&
34731 $as_test_x conftest$ac_exeext; then
34732 eval wx_cv_func_$wx_func=yes
34733 else
34734 echo "$as_me: failed program was:" >&5
34735 sed 's/^/| /' conftest.$ac_ext >&5
34736
34737 eval wx_cv_func_$wx_func=no
34738 fi
34739
34740 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34741 conftest$ac_exeext conftest.$ac_ext
34742
34743 fi
34744 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34745 { echo "$as_me:$LINENO: result: $ac_res" >&5
34746 echo "${ECHO_T}$ac_res" >&6; }
34747
34748 if eval test \$wx_cv_func_$wx_func = yes
34749 then
34750 cat >>confdefs.h <<_ACEOF
34751 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34752 _ACEOF
34753
34754
34755 else
34756 :
34757
34758 fi
34759 done
34760
34761
34762 { echo "$as_me:$LINENO: checking for _vsnwprintf" >&5
34763 echo $ECHO_N "checking for _vsnwprintf... $ECHO_C" >&6; }
34764 cat >conftest.$ac_ext <<_ACEOF
34765 /* confdefs.h. */
34766 _ACEOF
34767 cat confdefs.h >>conftest.$ac_ext
34768 cat >>conftest.$ac_ext <<_ACEOF
34769 /* end confdefs.h. */
34770 #include <wchar.h>
34771 int
34772 main ()
34773 {
34774 &_vsnwprintf;
34775 ;
34776 return 0;
34777 }
34778 _ACEOF
34779 rm -f conftest.$ac_objext
34780 if { (ac_try="$ac_compile"
34781 case "(($ac_try" in
34782 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34783 *) ac_try_echo=$ac_try;;
34784 esac
34785 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34786 (eval "$ac_compile") 2>conftest.er1
34787 ac_status=$?
34788 grep -v '^ *+' conftest.er1 >conftest.err
34789 rm -f conftest.er1
34790 cat conftest.err >&5
34791 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34792 (exit $ac_status); } && {
34793 test -z "$ac_c_werror_flag" ||
34794 test ! -s conftest.err
34795 } && test -s conftest.$ac_objext; then
34796 { echo "$as_me:$LINENO: result: yes" >&5
34797 echo "${ECHO_T}yes" >&6; }
34798 cat >>confdefs.h <<\_ACEOF
34799 #define HAVE__VSNWPRINTF 1
34800 _ACEOF
34801
34802 else
34803 echo "$as_me: failed program was:" >&5
34804 sed 's/^/| /' conftest.$ac_ext >&5
34805
34806 { echo "$as_me:$LINENO: result: no" >&5
34807 echo "${ECHO_T}no" >&6; }
34808 fi
34809
34810 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext;
34811 fi
34812
34813 if test "x$ac_cv_header_fnmatch_h" = "xyes"; then
34814
34815 for wx_func in fnmatch
34816 do
34817 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34818 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34819 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34820 echo $ECHO_N "(cached) $ECHO_C" >&6
34821 else
34822
34823 cat >conftest.$ac_ext <<_ACEOF
34824
34825 /* confdefs.h. */
34826 _ACEOF
34827 cat confdefs.h >>conftest.$ac_ext
34828 cat >>conftest.$ac_ext <<_ACEOF
34829 /* end confdefs.h. */
34830
34831 #include <fnmatch.h>
34832 $ac_includes_default
34833
34834 int
34835 main ()
34836 {
34837
34838 #ifndef $wx_func
34839 &$wx_func;
34840 #endif
34841
34842
34843 ;
34844 return 0;
34845 }
34846
34847 _ACEOF
34848 rm -f conftest.$ac_objext conftest$ac_exeext
34849 if { (ac_try="$ac_link"
34850 case "(($ac_try" in
34851 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34852 *) ac_try_echo=$ac_try;;
34853 esac
34854 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34855 (eval "$ac_link") 2>conftest.er1
34856 ac_status=$?
34857 grep -v '^ *+' conftest.er1 >conftest.err
34858 rm -f conftest.er1
34859 cat conftest.err >&5
34860 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34861 (exit $ac_status); } && {
34862 test -z "$ac_c_werror_flag" ||
34863 test ! -s conftest.err
34864 } && test -s conftest$ac_exeext &&
34865 $as_test_x conftest$ac_exeext; then
34866 eval wx_cv_func_$wx_func=yes
34867 else
34868 echo "$as_me: failed program was:" >&5
34869 sed 's/^/| /' conftest.$ac_ext >&5
34870
34871 eval wx_cv_func_$wx_func=no
34872 fi
34873
34874 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34875 conftest$ac_exeext conftest.$ac_ext
34876
34877 fi
34878 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34879 { echo "$as_me:$LINENO: result: $ac_res" >&5
34880 echo "${ECHO_T}$ac_res" >&6; }
34881
34882 if eval test \$wx_cv_func_$wx_func = yes
34883 then
34884 cat >>confdefs.h <<_ACEOF
34885 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34886 _ACEOF
34887
34888
34889 else
34890 :
34891
34892 fi
34893 done
34894
34895 fi
34896
34897 if test "$wxUSE_FILE" = "yes"; then
34898
34899 for wx_func in fsync
34900 do
34901 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34902 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34903 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34904 echo $ECHO_N "(cached) $ECHO_C" >&6
34905 else
34906
34907 cat >conftest.$ac_ext <<_ACEOF
34908
34909 /* confdefs.h. */
34910 _ACEOF
34911 cat confdefs.h >>conftest.$ac_ext
34912 cat >>conftest.$ac_ext <<_ACEOF
34913 /* end confdefs.h. */
34914
34915
34916 $ac_includes_default
34917
34918 int
34919 main ()
34920 {
34921
34922 #ifndef $wx_func
34923 &$wx_func;
34924 #endif
34925
34926
34927 ;
34928 return 0;
34929 }
34930
34931 _ACEOF
34932 rm -f conftest.$ac_objext conftest$ac_exeext
34933 if { (ac_try="$ac_link"
34934 case "(($ac_try" in
34935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
34936 *) ac_try_echo=$ac_try;;
34937 esac
34938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
34939 (eval "$ac_link") 2>conftest.er1
34940 ac_status=$?
34941 grep -v '^ *+' conftest.er1 >conftest.err
34942 rm -f conftest.er1
34943 cat conftest.err >&5
34944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
34945 (exit $ac_status); } && {
34946 test -z "$ac_c_werror_flag" ||
34947 test ! -s conftest.err
34948 } && test -s conftest$ac_exeext &&
34949 $as_test_x conftest$ac_exeext; then
34950 eval wx_cv_func_$wx_func=yes
34951 else
34952 echo "$as_me: failed program was:" >&5
34953 sed 's/^/| /' conftest.$ac_ext >&5
34954
34955 eval wx_cv_func_$wx_func=no
34956 fi
34957
34958 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
34959 conftest$ac_exeext conftest.$ac_ext
34960
34961 fi
34962 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
34963 { echo "$as_me:$LINENO: result: $ac_res" >&5
34964 echo "${ECHO_T}$ac_res" >&6; }
34965
34966 if eval test \$wx_cv_func_$wx_func = yes
34967 then
34968 cat >>confdefs.h <<_ACEOF
34969 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
34970 _ACEOF
34971
34972
34973 else
34974 :
34975
34976 fi
34977 done
34978
34979 fi
34980
34981
34982 for wx_func in round
34983 do
34984 { echo "$as_me:$LINENO: checking for $wx_func" >&5
34985 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
34986 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
34987 echo $ECHO_N "(cached) $ECHO_C" >&6
34988 else
34989
34990 cat >conftest.$ac_ext <<_ACEOF
34991
34992 /* confdefs.h. */
34993 _ACEOF
34994 cat confdefs.h >>conftest.$ac_ext
34995 cat >>conftest.$ac_ext <<_ACEOF
34996 /* end confdefs.h. */
34997
34998 #include <math.h>
34999 $ac_includes_default
35000
35001 int
35002 main ()
35003 {
35004
35005 #ifndef $wx_func
35006 &$wx_func;
35007 #endif
35008
35009
35010 ;
35011 return 0;
35012 }
35013
35014 _ACEOF
35015 rm -f conftest.$ac_objext conftest$ac_exeext
35016 if { (ac_try="$ac_link"
35017 case "(($ac_try" in
35018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35019 *) ac_try_echo=$ac_try;;
35020 esac
35021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35022 (eval "$ac_link") 2>conftest.er1
35023 ac_status=$?
35024 grep -v '^ *+' conftest.er1 >conftest.err
35025 rm -f conftest.er1
35026 cat conftest.err >&5
35027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35028 (exit $ac_status); } && {
35029 test -z "$ac_c_werror_flag" ||
35030 test ! -s conftest.err
35031 } && test -s conftest$ac_exeext &&
35032 $as_test_x conftest$ac_exeext; then
35033 eval wx_cv_func_$wx_func=yes
35034 else
35035 echo "$as_me: failed program was:" >&5
35036 sed 's/^/| /' conftest.$ac_ext >&5
35037
35038 eval wx_cv_func_$wx_func=no
35039 fi
35040
35041 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35042 conftest$ac_exeext conftest.$ac_ext
35043
35044 fi
35045 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
35046 { echo "$as_me:$LINENO: result: $ac_res" >&5
35047 echo "${ECHO_T}$ac_res" >&6; }
35048
35049 if eval test \$wx_cv_func_$wx_func = yes
35050 then
35051 cat >>confdefs.h <<_ACEOF
35052 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
35053 _ACEOF
35054
35055
35056 else
35057 :
35058
35059 fi
35060 done
35061
35062
35063 if test "$TOOLKIT" != "MSW"; then
35064
35065
35066
35067
35068
35069 # Check whether --with-libiconv-prefix was given.
35070 if test "${with_libiconv_prefix+set}" = set; then
35071 withval=$with_libiconv_prefix;
35072 for dir in `echo "$withval" | tr : ' '`; do
35073 if test -d $dir/include; then CPPFLAGS="$CPPFLAGS -I$dir/include"; fi
35074 if test -d $dir/lib; then LDFLAGS="$LDFLAGS -L$dir/lib"; fi
35075 done
35076
35077 fi
35078
35079
35080 { echo "$as_me:$LINENO: checking for iconv" >&5
35081 echo $ECHO_N "checking for iconv... $ECHO_C" >&6; }
35082 if test "${am_cv_func_iconv+set}" = set; then
35083 echo $ECHO_N "(cached) $ECHO_C" >&6
35084 else
35085
35086 am_cv_func_iconv="no, consider installing GNU libiconv"
35087 am_cv_lib_iconv=no
35088 cat >conftest.$ac_ext <<_ACEOF
35089 /* confdefs.h. */
35090 _ACEOF
35091 cat confdefs.h >>conftest.$ac_ext
35092 cat >>conftest.$ac_ext <<_ACEOF
35093 /* end confdefs.h. */
35094 #include <stdlib.h>
35095 #include <iconv.h>
35096 int
35097 main ()
35098 {
35099 iconv_t cd = iconv_open("","");
35100 iconv(cd,NULL,NULL,NULL,NULL);
35101 iconv_close(cd);
35102 ;
35103 return 0;
35104 }
35105 _ACEOF
35106 rm -f conftest.$ac_objext conftest$ac_exeext
35107 if { (ac_try="$ac_link"
35108 case "(($ac_try" in
35109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35110 *) ac_try_echo=$ac_try;;
35111 esac
35112 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35113 (eval "$ac_link") 2>conftest.er1
35114 ac_status=$?
35115 grep -v '^ *+' conftest.er1 >conftest.err
35116 rm -f conftest.er1
35117 cat conftest.err >&5
35118 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35119 (exit $ac_status); } && {
35120 test -z "$ac_c_werror_flag" ||
35121 test ! -s conftest.err
35122 } && test -s conftest$ac_exeext &&
35123 $as_test_x conftest$ac_exeext; then
35124 am_cv_func_iconv=yes
35125 else
35126 echo "$as_me: failed program was:" >&5
35127 sed 's/^/| /' conftest.$ac_ext >&5
35128
35129
35130 fi
35131
35132 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35133 conftest$ac_exeext conftest.$ac_ext
35134 if test "$am_cv_func_iconv" != yes; then
35135 am_save_LIBS="$LIBS"
35136 LIBS="$LIBS -liconv"
35137 cat >conftest.$ac_ext <<_ACEOF
35138 /* confdefs.h. */
35139 _ACEOF
35140 cat confdefs.h >>conftest.$ac_ext
35141 cat >>conftest.$ac_ext <<_ACEOF
35142 /* end confdefs.h. */
35143 #include <stdlib.h>
35144 #include <iconv.h>
35145 int
35146 main ()
35147 {
35148 iconv_t cd = iconv_open("","");
35149 iconv(cd,NULL,NULL,NULL,NULL);
35150 iconv_close(cd);
35151 ;
35152 return 0;
35153 }
35154 _ACEOF
35155 rm -f conftest.$ac_objext conftest$ac_exeext
35156 if { (ac_try="$ac_link"
35157 case "(($ac_try" in
35158 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35159 *) ac_try_echo=$ac_try;;
35160 esac
35161 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35162 (eval "$ac_link") 2>conftest.er1
35163 ac_status=$?
35164 grep -v '^ *+' conftest.er1 >conftest.err
35165 rm -f conftest.er1
35166 cat conftest.err >&5
35167 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35168 (exit $ac_status); } && {
35169 test -z "$ac_c_werror_flag" ||
35170 test ! -s conftest.err
35171 } && test -s conftest$ac_exeext &&
35172 $as_test_x conftest$ac_exeext; then
35173 am_cv_lib_iconv=yes
35174 am_cv_func_iconv=yes
35175 else
35176 echo "$as_me: failed program was:" >&5
35177 sed 's/^/| /' conftest.$ac_ext >&5
35178
35179
35180 fi
35181
35182 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35183 conftest$ac_exeext conftest.$ac_ext
35184 LIBS="$am_save_LIBS"
35185 fi
35186
35187 fi
35188 { echo "$as_me:$LINENO: result: $am_cv_func_iconv" >&5
35189 echo "${ECHO_T}$am_cv_func_iconv" >&6; }
35190 if test "$am_cv_func_iconv" = yes; then
35191
35192 cat >>confdefs.h <<\_ACEOF
35193 #define HAVE_ICONV 1
35194 _ACEOF
35195
35196 { echo "$as_me:$LINENO: checking if iconv needs const" >&5
35197 echo $ECHO_N "checking if iconv needs const... $ECHO_C" >&6; }
35198 if test "${wx_cv_func_iconv_const+set}" = set; then
35199 echo $ECHO_N "(cached) $ECHO_C" >&6
35200 else
35201 cat >conftest.$ac_ext <<_ACEOF
35202 /* confdefs.h. */
35203 _ACEOF
35204 cat confdefs.h >>conftest.$ac_ext
35205 cat >>conftest.$ac_ext <<_ACEOF
35206 /* end confdefs.h. */
35207
35208 #include <stdlib.h>
35209 #include <iconv.h>
35210 extern
35211 #ifdef __cplusplus
35212 "C"
35213 #endif
35214 #if defined(__STDC__) || defined(__cplusplus)
35215 size_t iconv (iconv_t cd, char * *inbuf, size_t *inbytesleft, char * *outbuf, size_t *outbytesleft);
35216 #else
35217 size_t iconv();
35218 #endif
35219
35220 int
35221 main ()
35222 {
35223
35224 ;
35225 return 0;
35226 }
35227 _ACEOF
35228 rm -f conftest.$ac_objext
35229 if { (ac_try="$ac_compile"
35230 case "(($ac_try" in
35231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35232 *) ac_try_echo=$ac_try;;
35233 esac
35234 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35235 (eval "$ac_compile") 2>conftest.er1
35236 ac_status=$?
35237 grep -v '^ *+' conftest.er1 >conftest.err
35238 rm -f conftest.er1
35239 cat conftest.err >&5
35240 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35241 (exit $ac_status); } && {
35242 test -z "$ac_c_werror_flag" ||
35243 test ! -s conftest.err
35244 } && test -s conftest.$ac_objext; then
35245 wx_cv_func_iconv_const="no"
35246 else
35247 echo "$as_me: failed program was:" >&5
35248 sed 's/^/| /' conftest.$ac_ext >&5
35249
35250 wx_cv_func_iconv_const="yes"
35251
35252 fi
35253
35254 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35255
35256 fi
35257 { echo "$as_me:$LINENO: result: $wx_cv_func_iconv_const" >&5
35258 echo "${ECHO_T}$wx_cv_func_iconv_const" >&6; }
35259
35260 iconv_const=
35261 if test "x$wx_cv_func_iconv_const" = "xyes"; then
35262 iconv_const="const"
35263 fi
35264
35265
35266 cat >>confdefs.h <<_ACEOF
35267 #define ICONV_CONST $iconv_const
35268 _ACEOF
35269
35270 fi
35271 LIBICONV=
35272 if test "$am_cv_lib_iconv" = yes; then
35273 LIBICONV="-liconv"
35274 fi
35275
35276
35277 LIBS="$LIBICONV $LIBS"
35278
35279 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35280
35281 for ac_func in sigaction
35282 do
35283 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35284 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35285 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35286 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35287 echo $ECHO_N "(cached) $ECHO_C" >&6
35288 else
35289 cat >conftest.$ac_ext <<_ACEOF
35290 /* confdefs.h. */
35291 _ACEOF
35292 cat confdefs.h >>conftest.$ac_ext
35293 cat >>conftest.$ac_ext <<_ACEOF
35294 /* end confdefs.h. */
35295 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35296 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35297 #define $ac_func innocuous_$ac_func
35298
35299 /* System header to define __stub macros and hopefully few prototypes,
35300 which can conflict with char $ac_func (); below.
35301 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35302 <limits.h> exists even on freestanding compilers. */
35303
35304 #ifdef __STDC__
35305 # include <limits.h>
35306 #else
35307 # include <assert.h>
35308 #endif
35309
35310 #undef $ac_func
35311
35312 /* Override any GCC internal prototype to avoid an error.
35313 Use char because int might match the return type of a GCC
35314 builtin and then its argument prototype would still apply. */
35315 #ifdef __cplusplus
35316 extern "C"
35317 #endif
35318 char $ac_func ();
35319 /* The GNU C library defines this for functions which it implements
35320 to always fail with ENOSYS. Some functions are actually named
35321 something starting with __ and the normal name is an alias. */
35322 #if defined __stub_$ac_func || defined __stub___$ac_func
35323 choke me
35324 #endif
35325
35326 int
35327 main ()
35328 {
35329 return $ac_func ();
35330 ;
35331 return 0;
35332 }
35333 _ACEOF
35334 rm -f conftest.$ac_objext conftest$ac_exeext
35335 if { (ac_try="$ac_link"
35336 case "(($ac_try" in
35337 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35338 *) ac_try_echo=$ac_try;;
35339 esac
35340 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35341 (eval "$ac_link") 2>conftest.er1
35342 ac_status=$?
35343 grep -v '^ *+' conftest.er1 >conftest.err
35344 rm -f conftest.er1
35345 cat conftest.err >&5
35346 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35347 (exit $ac_status); } && {
35348 test -z "$ac_c_werror_flag" ||
35349 test ! -s conftest.err
35350 } && test -s conftest$ac_exeext &&
35351 $as_test_x conftest$ac_exeext; then
35352 eval "$as_ac_var=yes"
35353 else
35354 echo "$as_me: failed program was:" >&5
35355 sed 's/^/| /' conftest.$ac_ext >&5
35356
35357 eval "$as_ac_var=no"
35358 fi
35359
35360 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35361 conftest$ac_exeext conftest.$ac_ext
35362 fi
35363 ac_res=`eval echo '${'$as_ac_var'}'`
35364 { echo "$as_me:$LINENO: result: $ac_res" >&5
35365 echo "${ECHO_T}$ac_res" >&6; }
35366 if test `eval echo '${'$as_ac_var'}'` = yes; then
35367 cat >>confdefs.h <<_ACEOF
35368 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35369 _ACEOF
35370
35371 fi
35372 done
35373
35374
35375 if test "$ac_cv_func_sigaction" = "no"; then
35376 { echo "$as_me:$LINENO: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&5
35377 echo "$as_me: WARNING: No POSIX signal functions on this system, wxApp::OnFatalException will not be called" >&2;}
35378 wxUSE_ON_FATAL_EXCEPTION=no
35379 fi
35380
35381 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
35382 { echo "$as_me:$LINENO: checking for sa_handler type" >&5
35383 echo $ECHO_N "checking for sa_handler type... $ECHO_C" >&6; }
35384 if test "${wx_cv_type_sa_handler+set}" = set; then
35385 echo $ECHO_N "(cached) $ECHO_C" >&6
35386 else
35387
35388 ac_ext=cpp
35389 ac_cpp='$CXXCPP $CPPFLAGS'
35390 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35391 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35392 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35393
35394 cat >conftest.$ac_ext <<_ACEOF
35395 /* confdefs.h. */
35396 _ACEOF
35397 cat confdefs.h >>conftest.$ac_ext
35398 cat >>conftest.$ac_ext <<_ACEOF
35399 /* end confdefs.h. */
35400 #include <signal.h>
35401 int
35402 main ()
35403 {
35404
35405 extern void testSigHandler(int);
35406
35407 struct sigaction sa;
35408 sa.sa_handler = testSigHandler;
35409
35410 ;
35411 return 0;
35412 }
35413 _ACEOF
35414 rm -f conftest.$ac_objext
35415 if { (ac_try="$ac_compile"
35416 case "(($ac_try" in
35417 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35418 *) ac_try_echo=$ac_try;;
35419 esac
35420 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35421 (eval "$ac_compile") 2>conftest.er1
35422 ac_status=$?
35423 grep -v '^ *+' conftest.er1 >conftest.err
35424 rm -f conftest.er1
35425 cat conftest.err >&5
35426 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35427 (exit $ac_status); } && {
35428 test -z "$ac_cxx_werror_flag" ||
35429 test ! -s conftest.err
35430 } && test -s conftest.$ac_objext; then
35431
35432 wx_cv_type_sa_handler=int
35433
35434 else
35435 echo "$as_me: failed program was:" >&5
35436 sed 's/^/| /' conftest.$ac_ext >&5
35437
35438
35439 wx_cv_type_sa_handler=void
35440
35441 fi
35442
35443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35444 ac_ext=c
35445 ac_cpp='$CPP $CPPFLAGS'
35446 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35447 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35448 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35449
35450
35451 fi
35452 { echo "$as_me:$LINENO: result: $wx_cv_type_sa_handler" >&5
35453 echo "${ECHO_T}$wx_cv_type_sa_handler" >&6; }
35454
35455 cat >>confdefs.h <<_ACEOF
35456 #define wxTYPE_SA_HANDLER $wx_cv_type_sa_handler
35457 _ACEOF
35458
35459 fi
35460 fi
35461
35462 if test "$wxUSE_STACKWALKER" = "yes" -a "$wxUSE_UNIX" = "yes"; then
35463 { echo "$as_me:$LINENO: checking for backtrace() in <execinfo.h>" >&5
35464 echo $ECHO_N "checking for backtrace() in <execinfo.h>... $ECHO_C" >&6; }
35465 if test "${wx_cv_func_backtrace+set}" = set; then
35466 echo $ECHO_N "(cached) $ECHO_C" >&6
35467 else
35468
35469 ac_ext=cpp
35470 ac_cpp='$CXXCPP $CPPFLAGS'
35471 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35472 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35473 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35474
35475 cat >conftest.$ac_ext <<_ACEOF
35476 /* confdefs.h. */
35477 _ACEOF
35478 cat confdefs.h >>conftest.$ac_ext
35479 cat >>conftest.$ac_ext <<_ACEOF
35480 /* end confdefs.h. */
35481 #include <execinfo.h>
35482 int
35483 main ()
35484 {
35485
35486 void *trace[1];
35487 char **messages;
35488
35489 backtrace(trace, 1);
35490 messages = backtrace_symbols(trace, 1);
35491
35492 ;
35493 return 0;
35494 }
35495 _ACEOF
35496 rm -f conftest.$ac_objext
35497 if { (ac_try="$ac_compile"
35498 case "(($ac_try" in
35499 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35500 *) ac_try_echo=$ac_try;;
35501 esac
35502 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35503 (eval "$ac_compile") 2>conftest.er1
35504 ac_status=$?
35505 grep -v '^ *+' conftest.er1 >conftest.err
35506 rm -f conftest.er1
35507 cat conftest.err >&5
35508 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35509 (exit $ac_status); } && {
35510 test -z "$ac_cxx_werror_flag" ||
35511 test ! -s conftest.err
35512 } && test -s conftest.$ac_objext; then
35513 wx_cv_func_backtrace=yes
35514 else
35515 echo "$as_me: failed program was:" >&5
35516 sed 's/^/| /' conftest.$ac_ext >&5
35517
35518 wx_cv_func_backtrace=no
35519
35520 fi
35521
35522 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35523 ac_ext=c
35524 ac_cpp='$CPP $CPPFLAGS'
35525 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35526 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35527 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35528
35529
35530
35531 fi
35532 { echo "$as_me:$LINENO: result: $wx_cv_func_backtrace" >&5
35533 echo "${ECHO_T}$wx_cv_func_backtrace" >&6; }
35534
35535
35536 if test "$wx_cv_func_backtrace" = "no"; then
35537 { echo "$as_me:$LINENO: WARNING: backtrace() is not available, wxStackWalker will not be available" >&5
35538 echo "$as_me: WARNING: backtrace() is not available, wxStackWalker will not be available" >&2;}
35539 wxUSE_STACKWALKER=no
35540 else
35541 { echo "$as_me:$LINENO: checking for __cxa_demangle() in <cxxabi.h>" >&5
35542 echo $ECHO_N "checking for __cxa_demangle() in <cxxabi.h>... $ECHO_C" >&6; }
35543 if test "${wx_cv_func_cxa_demangle+set}" = set; then
35544 echo $ECHO_N "(cached) $ECHO_C" >&6
35545 else
35546
35547 ac_ext=cpp
35548 ac_cpp='$CXXCPP $CPPFLAGS'
35549 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35550 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35551 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35552
35553 cat >conftest.$ac_ext <<_ACEOF
35554 /* confdefs.h. */
35555 _ACEOF
35556 cat confdefs.h >>conftest.$ac_ext
35557 cat >>conftest.$ac_ext <<_ACEOF
35558 /* end confdefs.h. */
35559 #include <cxxabi.h>
35560 int
35561 main ()
35562 {
35563
35564 int rc;
35565 __cxxabiv1::__cxa_demangle("foo", 0, 0, &rc);
35566
35567 ;
35568 return 0;
35569 }
35570 _ACEOF
35571 rm -f conftest.$ac_objext conftest$ac_exeext
35572 if { (ac_try="$ac_link"
35573 case "(($ac_try" in
35574 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35575 *) ac_try_echo=$ac_try;;
35576 esac
35577 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35578 (eval "$ac_link") 2>conftest.er1
35579 ac_status=$?
35580 grep -v '^ *+' conftest.er1 >conftest.err
35581 rm -f conftest.er1
35582 cat conftest.err >&5
35583 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35584 (exit $ac_status); } && {
35585 test -z "$ac_cxx_werror_flag" ||
35586 test ! -s conftest.err
35587 } && test -s conftest$ac_exeext &&
35588 $as_test_x conftest$ac_exeext; then
35589 wx_cv_func_cxa_demangle=yes
35590 else
35591 echo "$as_me: failed program was:" >&5
35592 sed 's/^/| /' conftest.$ac_ext >&5
35593
35594 wx_cv_func_cxa_demangle=no
35595
35596 fi
35597
35598 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35599 conftest$ac_exeext conftest.$ac_ext
35600 ac_ext=c
35601 ac_cpp='$CPP $CPPFLAGS'
35602 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35603 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35604 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35605
35606
35607
35608 fi
35609 { echo "$as_me:$LINENO: result: $wx_cv_func_cxa_demangle" >&5
35610 echo "${ECHO_T}$wx_cv_func_cxa_demangle" >&6; }
35611
35612 if test "$wx_cv_func_cxa_demangle" = "yes"; then
35613 cat >>confdefs.h <<\_ACEOF
35614 #define HAVE_CXA_DEMANGLE 1
35615 _ACEOF
35616
35617 fi
35618 fi
35619 fi
35620
35621 if test "$wxUSE_STACKWALKER" = "yes" -a "$USE_WIN32" != "1" -a "$USE_UNIX" != "1"; then
35622 { echo "$as_me:$LINENO: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&5
35623 echo "$as_me: WARNING: wxStackWalker is only available on Win32 and UNIX... disabled" >&2;}
35624 wxUSE_STACKWALKER=no
35625 fi
35626
35627
35628
35629
35630 for ac_func in mkstemp mktemp
35631 do
35632 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
35633 { echo "$as_me:$LINENO: checking for $ac_func" >&5
35634 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
35635 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
35636 echo $ECHO_N "(cached) $ECHO_C" >&6
35637 else
35638 cat >conftest.$ac_ext <<_ACEOF
35639 /* confdefs.h. */
35640 _ACEOF
35641 cat confdefs.h >>conftest.$ac_ext
35642 cat >>conftest.$ac_ext <<_ACEOF
35643 /* end confdefs.h. */
35644 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
35645 For example, HP-UX 11i <limits.h> declares gettimeofday. */
35646 #define $ac_func innocuous_$ac_func
35647
35648 /* System header to define __stub macros and hopefully few prototypes,
35649 which can conflict with char $ac_func (); below.
35650 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
35651 <limits.h> exists even on freestanding compilers. */
35652
35653 #ifdef __STDC__
35654 # include <limits.h>
35655 #else
35656 # include <assert.h>
35657 #endif
35658
35659 #undef $ac_func
35660
35661 /* Override any GCC internal prototype to avoid an error.
35662 Use char because int might match the return type of a GCC
35663 builtin and then its argument prototype would still apply. */
35664 #ifdef __cplusplus
35665 extern "C"
35666 #endif
35667 char $ac_func ();
35668 /* The GNU C library defines this for functions which it implements
35669 to always fail with ENOSYS. Some functions are actually named
35670 something starting with __ and the normal name is an alias. */
35671 #if defined __stub_$ac_func || defined __stub___$ac_func
35672 choke me
35673 #endif
35674
35675 int
35676 main ()
35677 {
35678 return $ac_func ();
35679 ;
35680 return 0;
35681 }
35682 _ACEOF
35683 rm -f conftest.$ac_objext conftest$ac_exeext
35684 if { (ac_try="$ac_link"
35685 case "(($ac_try" in
35686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35687 *) ac_try_echo=$ac_try;;
35688 esac
35689 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35690 (eval "$ac_link") 2>conftest.er1
35691 ac_status=$?
35692 grep -v '^ *+' conftest.er1 >conftest.err
35693 rm -f conftest.er1
35694 cat conftest.err >&5
35695 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35696 (exit $ac_status); } && {
35697 test -z "$ac_c_werror_flag" ||
35698 test ! -s conftest.err
35699 } && test -s conftest$ac_exeext &&
35700 $as_test_x conftest$ac_exeext; then
35701 eval "$as_ac_var=yes"
35702 else
35703 echo "$as_me: failed program was:" >&5
35704 sed 's/^/| /' conftest.$ac_ext >&5
35705
35706 eval "$as_ac_var=no"
35707 fi
35708
35709 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
35710 conftest$ac_exeext conftest.$ac_ext
35711 fi
35712 ac_res=`eval echo '${'$as_ac_var'}'`
35713 { echo "$as_me:$LINENO: result: $ac_res" >&5
35714 echo "${ECHO_T}$ac_res" >&6; }
35715 if test `eval echo '${'$as_ac_var'}'` = yes; then
35716 cat >>confdefs.h <<_ACEOF
35717 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
35718 _ACEOF
35719 break
35720 fi
35721 done
35722
35723
35724 { echo "$as_me:$LINENO: checking for statfs" >&5
35725 echo $ECHO_N "checking for statfs... $ECHO_C" >&6; }
35726 if test "${wx_cv_func_statfs+set}" = set; then
35727 echo $ECHO_N "(cached) $ECHO_C" >&6
35728 else
35729 cat >conftest.$ac_ext <<_ACEOF
35730 /* confdefs.h. */
35731 _ACEOF
35732 cat confdefs.h >>conftest.$ac_ext
35733 cat >>conftest.$ac_ext <<_ACEOF
35734 /* end confdefs.h. */
35735
35736 #if defined(__BSD__)
35737 #include <sys/param.h>
35738 #include <sys/mount.h>
35739 #else
35740 #include <sys/vfs.h>
35741 #endif
35742
35743 int
35744 main ()
35745 {
35746
35747 long l;
35748 struct statfs fs;
35749 statfs("/", &fs);
35750 l = fs.f_bsize;
35751 l += fs.f_blocks;
35752 l += fs.f_bavail;
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_c_werror_flag" ||
35773 test ! -s conftest.err
35774 } && test -s conftest.$ac_objext; then
35775 wx_cv_func_statfs=yes
35776 else
35777 echo "$as_me: failed program was:" >&5
35778 sed 's/^/| /' conftest.$ac_ext >&5
35779
35780 wx_cv_func_statfs=no
35781
35782 fi
35783
35784 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35785
35786 fi
35787 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs" >&5
35788 echo "${ECHO_T}$wx_cv_func_statfs" >&6; }
35789
35790 if test "$wx_cv_func_statfs" = "yes"; then
35791 { echo "$as_me:$LINENO: checking for statfs declaration" >&5
35792 echo $ECHO_N "checking for statfs declaration... $ECHO_C" >&6; }
35793 if test "${wx_cv_func_statfs_decl+set}" = set; then
35794 echo $ECHO_N "(cached) $ECHO_C" >&6
35795 else
35796 ac_ext=cpp
35797 ac_cpp='$CXXCPP $CPPFLAGS'
35798 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35799 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35800 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35801
35802 cat >conftest.$ac_ext <<_ACEOF
35803 /* confdefs.h. */
35804 _ACEOF
35805 cat confdefs.h >>conftest.$ac_ext
35806 cat >>conftest.$ac_ext <<_ACEOF
35807 /* end confdefs.h. */
35808
35809 #if defined(__BSD__)
35810 #include <sys/param.h>
35811 #include <sys/mount.h>
35812 #else
35813 #include <sys/vfs.h>
35814 #endif
35815
35816 int
35817 main ()
35818 {
35819
35820 struct statfs fs;
35821 statfs("", &fs);
35822
35823 ;
35824 return 0;
35825 }
35826 _ACEOF
35827 rm -f conftest.$ac_objext
35828 if { (ac_try="$ac_compile"
35829 case "(($ac_try" in
35830 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35831 *) ac_try_echo=$ac_try;;
35832 esac
35833 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35834 (eval "$ac_compile") 2>conftest.er1
35835 ac_status=$?
35836 grep -v '^ *+' conftest.er1 >conftest.err
35837 rm -f conftest.er1
35838 cat conftest.err >&5
35839 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35840 (exit $ac_status); } && {
35841 test -z "$ac_cxx_werror_flag" ||
35842 test ! -s conftest.err
35843 } && test -s conftest.$ac_objext; then
35844 wx_cv_func_statfs_decl=yes
35845 else
35846 echo "$as_me: failed program was:" >&5
35847 sed 's/^/| /' conftest.$ac_ext >&5
35848
35849 wx_cv_func_statfs_decl=no
35850
35851 fi
35852
35853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35854 ac_ext=c
35855 ac_cpp='$CPP $CPPFLAGS'
35856 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35857 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35858 ac_compiler_gnu=$ac_cv_c_compiler_gnu
35859
35860
35861 fi
35862 { echo "$as_me:$LINENO: result: $wx_cv_func_statfs_decl" >&5
35863 echo "${ECHO_T}$wx_cv_func_statfs_decl" >&6; }
35864
35865 if test "$wx_cv_func_statfs_decl" = "yes"; then
35866 cat >>confdefs.h <<\_ACEOF
35867 #define HAVE_STATFS_DECL 1
35868 _ACEOF
35869
35870 fi
35871
35872 wx_cv_type_statvfs_t="struct statfs"
35873 cat >>confdefs.h <<\_ACEOF
35874 #define HAVE_STATFS 1
35875 _ACEOF
35876
35877 else
35878 { echo "$as_me:$LINENO: checking for statvfs" >&5
35879 echo $ECHO_N "checking for statvfs... $ECHO_C" >&6; }
35880 if test "${wx_cv_func_statvfs+set}" = set; then
35881 echo $ECHO_N "(cached) $ECHO_C" >&6
35882 else
35883 cat >conftest.$ac_ext <<_ACEOF
35884 /* confdefs.h. */
35885 _ACEOF
35886 cat confdefs.h >>conftest.$ac_ext
35887 cat >>conftest.$ac_ext <<_ACEOF
35888 /* end confdefs.h. */
35889
35890 #include <stddef.h>
35891 #include <sys/statvfs.h>
35892
35893 int
35894 main ()
35895 {
35896
35897 statvfs("/", NULL);
35898
35899 ;
35900 return 0;
35901 }
35902 _ACEOF
35903 rm -f conftest.$ac_objext
35904 if { (ac_try="$ac_compile"
35905 case "(($ac_try" in
35906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35907 *) ac_try_echo=$ac_try;;
35908 esac
35909 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35910 (eval "$ac_compile") 2>conftest.er1
35911 ac_status=$?
35912 grep -v '^ *+' conftest.er1 >conftest.err
35913 rm -f conftest.er1
35914 cat conftest.err >&5
35915 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35916 (exit $ac_status); } && {
35917 test -z "$ac_c_werror_flag" ||
35918 test ! -s conftest.err
35919 } && test -s conftest.$ac_objext; then
35920 wx_cv_func_statvfs=yes
35921 else
35922 echo "$as_me: failed program was:" >&5
35923 sed 's/^/| /' conftest.$ac_ext >&5
35924
35925 wx_cv_func_statvfs=no
35926
35927 fi
35928
35929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
35930
35931 fi
35932 { echo "$as_me:$LINENO: result: $wx_cv_func_statvfs" >&5
35933 echo "${ECHO_T}$wx_cv_func_statvfs" >&6; }
35934
35935 if test "$wx_cv_func_statvfs" = "yes"; then
35936 { echo "$as_me:$LINENO: checking for statvfs argument type" >&5
35937 echo $ECHO_N "checking for statvfs argument type... $ECHO_C" >&6; }
35938 if test "${wx_cv_type_statvfs_t+set}" = set; then
35939 echo $ECHO_N "(cached) $ECHO_C" >&6
35940 else
35941 ac_ext=cpp
35942 ac_cpp='$CXXCPP $CPPFLAGS'
35943 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
35944 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
35945 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
35946
35947 cat >conftest.$ac_ext <<_ACEOF
35948 /* confdefs.h. */
35949 _ACEOF
35950 cat confdefs.h >>conftest.$ac_ext
35951 cat >>conftest.$ac_ext <<_ACEOF
35952 /* end confdefs.h. */
35953
35954 #include <sys/statvfs.h>
35955
35956 int
35957 main ()
35958 {
35959
35960 long l;
35961 statvfs_t fs;
35962 statvfs("/", &fs);
35963 l = fs.f_bsize;
35964 l += fs.f_blocks;
35965 l += fs.f_bavail;
35966
35967 ;
35968 return 0;
35969 }
35970 _ACEOF
35971 rm -f conftest.$ac_objext
35972 if { (ac_try="$ac_compile"
35973 case "(($ac_try" in
35974 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
35975 *) ac_try_echo=$ac_try;;
35976 esac
35977 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
35978 (eval "$ac_compile") 2>conftest.er1
35979 ac_status=$?
35980 grep -v '^ *+' conftest.er1 >conftest.err
35981 rm -f conftest.er1
35982 cat conftest.err >&5
35983 echo "$as_me:$LINENO: \$? = $ac_status" >&5
35984 (exit $ac_status); } && {
35985 test -z "$ac_cxx_werror_flag" ||
35986 test ! -s conftest.err
35987 } && test -s conftest.$ac_objext; then
35988 wx_cv_type_statvfs_t=statvfs_t
35989 else
35990 echo "$as_me: failed program was:" >&5
35991 sed 's/^/| /' conftest.$ac_ext >&5
35992
35993
35994 cat >conftest.$ac_ext <<_ACEOF
35995 /* confdefs.h. */
35996 _ACEOF
35997 cat confdefs.h >>conftest.$ac_ext
35998 cat >>conftest.$ac_ext <<_ACEOF
35999 /* end confdefs.h. */
36000
36001 #include <sys/statvfs.h>
36002
36003 int
36004 main ()
36005 {
36006
36007 long l;
36008 struct statvfs fs;
36009 statvfs("/", &fs);
36010 l = fs.f_bsize;
36011 l += fs.f_blocks;
36012 l += fs.f_bavail;
36013
36014 ;
36015 return 0;
36016 }
36017 _ACEOF
36018 rm -f conftest.$ac_objext
36019 if { (ac_try="$ac_compile"
36020 case "(($ac_try" in
36021 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36022 *) ac_try_echo=$ac_try;;
36023 esac
36024 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36025 (eval "$ac_compile") 2>conftest.er1
36026 ac_status=$?
36027 grep -v '^ *+' conftest.er1 >conftest.err
36028 rm -f conftest.er1
36029 cat conftest.err >&5
36030 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36031 (exit $ac_status); } && {
36032 test -z "$ac_cxx_werror_flag" ||
36033 test ! -s conftest.err
36034 } && test -s conftest.$ac_objext; then
36035 wx_cv_type_statvfs_t="struct statvfs"
36036 else
36037 echo "$as_me: failed program was:" >&5
36038 sed 's/^/| /' conftest.$ac_ext >&5
36039
36040 wx_cv_type_statvfs_t="unknown"
36041
36042 fi
36043
36044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36045
36046
36047 fi
36048
36049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
36050 ac_ext=c
36051 ac_cpp='$CPP $CPPFLAGS'
36052 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
36053 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
36054 ac_compiler_gnu=$ac_cv_c_compiler_gnu
36055
36056
36057 fi
36058 { echo "$as_me:$LINENO: result: $wx_cv_type_statvfs_t" >&5
36059 echo "${ECHO_T}$wx_cv_type_statvfs_t" >&6; }
36060
36061 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36062 cat >>confdefs.h <<\_ACEOF
36063 #define HAVE_STATVFS 1
36064 _ACEOF
36065
36066 fi
36067 else
36068 wx_cv_type_statvfs_t="unknown"
36069 fi
36070 fi
36071
36072 if test "$wx_cv_type_statvfs_t" != "unknown"; then
36073 cat >>confdefs.h <<_ACEOF
36074 #define WX_STATFS_T $wx_cv_type_statvfs_t
36075 _ACEOF
36076
36077 else
36078 { echo "$as_me:$LINENO: WARNING: wxGetDiskSpace() function won't work without statfs()" >&5
36079 echo "$as_me: WARNING: wxGetDiskSpace() function won't work without statfs()" >&2;}
36080 fi
36081
36082 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
36083
36084
36085 for ac_func in fcntl flock
36086 do
36087 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36088 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36089 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36090 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36091 echo $ECHO_N "(cached) $ECHO_C" >&6
36092 else
36093 cat >conftest.$ac_ext <<_ACEOF
36094 /* confdefs.h. */
36095 _ACEOF
36096 cat confdefs.h >>conftest.$ac_ext
36097 cat >>conftest.$ac_ext <<_ACEOF
36098 /* end confdefs.h. */
36099 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36100 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36101 #define $ac_func innocuous_$ac_func
36102
36103 /* System header to define __stub macros and hopefully few prototypes,
36104 which can conflict with char $ac_func (); below.
36105 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36106 <limits.h> exists even on freestanding compilers. */
36107
36108 #ifdef __STDC__
36109 # include <limits.h>
36110 #else
36111 # include <assert.h>
36112 #endif
36113
36114 #undef $ac_func
36115
36116 /* Override any GCC internal prototype to avoid an error.
36117 Use char because int might match the return type of a GCC
36118 builtin and then its argument prototype would still apply. */
36119 #ifdef __cplusplus
36120 extern "C"
36121 #endif
36122 char $ac_func ();
36123 /* The GNU C library defines this for functions which it implements
36124 to always fail with ENOSYS. Some functions are actually named
36125 something starting with __ and the normal name is an alias. */
36126 #if defined __stub_$ac_func || defined __stub___$ac_func
36127 choke me
36128 #endif
36129
36130 int
36131 main ()
36132 {
36133 return $ac_func ();
36134 ;
36135 return 0;
36136 }
36137 _ACEOF
36138 rm -f conftest.$ac_objext conftest$ac_exeext
36139 if { (ac_try="$ac_link"
36140 case "(($ac_try" in
36141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36142 *) ac_try_echo=$ac_try;;
36143 esac
36144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36145 (eval "$ac_link") 2>conftest.er1
36146 ac_status=$?
36147 grep -v '^ *+' conftest.er1 >conftest.err
36148 rm -f conftest.er1
36149 cat conftest.err >&5
36150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36151 (exit $ac_status); } && {
36152 test -z "$ac_c_werror_flag" ||
36153 test ! -s conftest.err
36154 } && test -s conftest$ac_exeext &&
36155 $as_test_x conftest$ac_exeext; then
36156 eval "$as_ac_var=yes"
36157 else
36158 echo "$as_me: failed program was:" >&5
36159 sed 's/^/| /' conftest.$ac_ext >&5
36160
36161 eval "$as_ac_var=no"
36162 fi
36163
36164 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36165 conftest$ac_exeext conftest.$ac_ext
36166 fi
36167 ac_res=`eval echo '${'$as_ac_var'}'`
36168 { echo "$as_me:$LINENO: result: $ac_res" >&5
36169 echo "${ECHO_T}$ac_res" >&6; }
36170 if test `eval echo '${'$as_ac_var'}'` = yes; then
36171 cat >>confdefs.h <<_ACEOF
36172 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36173 _ACEOF
36174 break
36175 fi
36176 done
36177
36178
36179 if test "$ac_cv_func_fcntl" != "yes" -a "$ac_cv_func_flock" != "yes"; then
36180 { echo "$as_me:$LINENO: WARNING: wxSingleInstanceChecker not available" >&5
36181 echo "$as_me: WARNING: wxSingleInstanceChecker not available" >&2;}
36182 wxUSE_SNGLINST_CHECKER=no
36183 fi
36184 fi
36185
36186
36187 for ac_func in timegm
36188 do
36189 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36190 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36191 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36192 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36193 echo $ECHO_N "(cached) $ECHO_C" >&6
36194 else
36195 cat >conftest.$ac_ext <<_ACEOF
36196 /* confdefs.h. */
36197 _ACEOF
36198 cat confdefs.h >>conftest.$ac_ext
36199 cat >>conftest.$ac_ext <<_ACEOF
36200 /* end confdefs.h. */
36201 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36202 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36203 #define $ac_func innocuous_$ac_func
36204
36205 /* System header to define __stub macros and hopefully few prototypes,
36206 which can conflict with char $ac_func (); below.
36207 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36208 <limits.h> exists even on freestanding compilers. */
36209
36210 #ifdef __STDC__
36211 # include <limits.h>
36212 #else
36213 # include <assert.h>
36214 #endif
36215
36216 #undef $ac_func
36217
36218 /* Override any GCC internal prototype to avoid an error.
36219 Use char because int might match the return type of a GCC
36220 builtin and then its argument prototype would still apply. */
36221 #ifdef __cplusplus
36222 extern "C"
36223 #endif
36224 char $ac_func ();
36225 /* The GNU C library defines this for functions which it implements
36226 to always fail with ENOSYS. Some functions are actually named
36227 something starting with __ and the normal name is an alias. */
36228 #if defined __stub_$ac_func || defined __stub___$ac_func
36229 choke me
36230 #endif
36231
36232 int
36233 main ()
36234 {
36235 return $ac_func ();
36236 ;
36237 return 0;
36238 }
36239 _ACEOF
36240 rm -f conftest.$ac_objext conftest$ac_exeext
36241 if { (ac_try="$ac_link"
36242 case "(($ac_try" in
36243 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36244 *) ac_try_echo=$ac_try;;
36245 esac
36246 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36247 (eval "$ac_link") 2>conftest.er1
36248 ac_status=$?
36249 grep -v '^ *+' conftest.er1 >conftest.err
36250 rm -f conftest.er1
36251 cat conftest.err >&5
36252 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36253 (exit $ac_status); } && {
36254 test -z "$ac_c_werror_flag" ||
36255 test ! -s conftest.err
36256 } && test -s conftest$ac_exeext &&
36257 $as_test_x conftest$ac_exeext; then
36258 eval "$as_ac_var=yes"
36259 else
36260 echo "$as_me: failed program was:" >&5
36261 sed 's/^/| /' conftest.$ac_ext >&5
36262
36263 eval "$as_ac_var=no"
36264 fi
36265
36266 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36267 conftest$ac_exeext conftest.$ac_ext
36268 fi
36269 ac_res=`eval echo '${'$as_ac_var'}'`
36270 { echo "$as_me:$LINENO: result: $ac_res" >&5
36271 echo "${ECHO_T}$ac_res" >&6; }
36272 if test `eval echo '${'$as_ac_var'}'` = yes; then
36273 cat >>confdefs.h <<_ACEOF
36274 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36275 _ACEOF
36276
36277 fi
36278 done
36279
36280
36281
36282
36283 for ac_func in putenv setenv
36284 do
36285 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36286 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36287 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36288 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36289 echo $ECHO_N "(cached) $ECHO_C" >&6
36290 else
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 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36298 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36299 #define $ac_func innocuous_$ac_func
36300
36301 /* System header to define __stub macros and hopefully few prototypes,
36302 which can conflict with char $ac_func (); below.
36303 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36304 <limits.h> exists even on freestanding compilers. */
36305
36306 #ifdef __STDC__
36307 # include <limits.h>
36308 #else
36309 # include <assert.h>
36310 #endif
36311
36312 #undef $ac_func
36313
36314 /* Override any GCC internal prototype to avoid an error.
36315 Use char because int might match the return type of a GCC
36316 builtin and then its argument prototype would still apply. */
36317 #ifdef __cplusplus
36318 extern "C"
36319 #endif
36320 char $ac_func ();
36321 /* The GNU C library defines this for functions which it implements
36322 to always fail with ENOSYS. Some functions are actually named
36323 something starting with __ and the normal name is an alias. */
36324 #if defined __stub_$ac_func || defined __stub___$ac_func
36325 choke me
36326 #endif
36327
36328 int
36329 main ()
36330 {
36331 return $ac_func ();
36332 ;
36333 return 0;
36334 }
36335 _ACEOF
36336 rm -f conftest.$ac_objext conftest$ac_exeext
36337 if { (ac_try="$ac_link"
36338 case "(($ac_try" in
36339 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36340 *) ac_try_echo=$ac_try;;
36341 esac
36342 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36343 (eval "$ac_link") 2>conftest.er1
36344 ac_status=$?
36345 grep -v '^ *+' conftest.er1 >conftest.err
36346 rm -f conftest.er1
36347 cat conftest.err >&5
36348 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36349 (exit $ac_status); } && {
36350 test -z "$ac_c_werror_flag" ||
36351 test ! -s conftest.err
36352 } && test -s conftest$ac_exeext &&
36353 $as_test_x conftest$ac_exeext; then
36354 eval "$as_ac_var=yes"
36355 else
36356 echo "$as_me: failed program was:" >&5
36357 sed 's/^/| /' conftest.$ac_ext >&5
36358
36359 eval "$as_ac_var=no"
36360 fi
36361
36362 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36363 conftest$ac_exeext conftest.$ac_ext
36364 fi
36365 ac_res=`eval echo '${'$as_ac_var'}'`
36366 { echo "$as_me:$LINENO: result: $ac_res" >&5
36367 echo "${ECHO_T}$ac_res" >&6; }
36368 if test `eval echo '${'$as_ac_var'}'` = yes; then
36369 cat >>confdefs.h <<_ACEOF
36370 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36371 _ACEOF
36372 break
36373 fi
36374 done
36375
36376
36377 HAVE_SOME_SLEEP_FUNC=0
36378 if test "$USE_BEOS" = 1; then
36379 cat >>confdefs.h <<\_ACEOF
36380 #define HAVE_SLEEP 1
36381 _ACEOF
36382
36383 HAVE_SOME_SLEEP_FUNC=1
36384 fi
36385
36386 if test "$USE_DARWIN" = 1; then
36387 cat >>confdefs.h <<\_ACEOF
36388 #define HAVE_USLEEP 1
36389 _ACEOF
36390
36391 HAVE_SOME_SLEEP_FUNC=1
36392 fi
36393
36394 if test "$HAVE_SOME_SLEEP_FUNC" != 1; then
36395 POSIX4_LINK=
36396
36397 for ac_func in nanosleep
36398 do
36399 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36400 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36401 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36402 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36403 echo $ECHO_N "(cached) $ECHO_C" >&6
36404 else
36405 cat >conftest.$ac_ext <<_ACEOF
36406 /* confdefs.h. */
36407 _ACEOF
36408 cat confdefs.h >>conftest.$ac_ext
36409 cat >>conftest.$ac_ext <<_ACEOF
36410 /* end confdefs.h. */
36411 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36412 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36413 #define $ac_func innocuous_$ac_func
36414
36415 /* System header to define __stub macros and hopefully few prototypes,
36416 which can conflict with char $ac_func (); below.
36417 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36418 <limits.h> exists even on freestanding compilers. */
36419
36420 #ifdef __STDC__
36421 # include <limits.h>
36422 #else
36423 # include <assert.h>
36424 #endif
36425
36426 #undef $ac_func
36427
36428 /* Override any GCC internal prototype to avoid an error.
36429 Use char because int might match the return type of a GCC
36430 builtin and then its argument prototype would still apply. */
36431 #ifdef __cplusplus
36432 extern "C"
36433 #endif
36434 char $ac_func ();
36435 /* The GNU C library defines this for functions which it implements
36436 to always fail with ENOSYS. Some functions are actually named
36437 something starting with __ and the normal name is an alias. */
36438 #if defined __stub_$ac_func || defined __stub___$ac_func
36439 choke me
36440 #endif
36441
36442 int
36443 main ()
36444 {
36445 return $ac_func ();
36446 ;
36447 return 0;
36448 }
36449 _ACEOF
36450 rm -f conftest.$ac_objext conftest$ac_exeext
36451 if { (ac_try="$ac_link"
36452 case "(($ac_try" in
36453 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36454 *) ac_try_echo=$ac_try;;
36455 esac
36456 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36457 (eval "$ac_link") 2>conftest.er1
36458 ac_status=$?
36459 grep -v '^ *+' conftest.er1 >conftest.err
36460 rm -f conftest.er1
36461 cat conftest.err >&5
36462 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36463 (exit $ac_status); } && {
36464 test -z "$ac_c_werror_flag" ||
36465 test ! -s conftest.err
36466 } && test -s conftest$ac_exeext &&
36467 $as_test_x conftest$ac_exeext; then
36468 eval "$as_ac_var=yes"
36469 else
36470 echo "$as_me: failed program was:" >&5
36471 sed 's/^/| /' conftest.$ac_ext >&5
36472
36473 eval "$as_ac_var=no"
36474 fi
36475
36476 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36477 conftest$ac_exeext conftest.$ac_ext
36478 fi
36479 ac_res=`eval echo '${'$as_ac_var'}'`
36480 { echo "$as_me:$LINENO: result: $ac_res" >&5
36481 echo "${ECHO_T}$ac_res" >&6; }
36482 if test `eval echo '${'$as_ac_var'}'` = yes; then
36483 cat >>confdefs.h <<_ACEOF
36484 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36485 _ACEOF
36486 cat >>confdefs.h <<\_ACEOF
36487 #define HAVE_NANOSLEEP 1
36488 _ACEOF
36489
36490 else
36491
36492 { echo "$as_me:$LINENO: checking for nanosleep in -lposix4" >&5
36493 echo $ECHO_N "checking for nanosleep in -lposix4... $ECHO_C" >&6; }
36494 if test "${ac_cv_lib_posix4_nanosleep+set}" = set; then
36495 echo $ECHO_N "(cached) $ECHO_C" >&6
36496 else
36497 ac_check_lib_save_LIBS=$LIBS
36498 LIBS="-lposix4 $LIBS"
36499 cat >conftest.$ac_ext <<_ACEOF
36500 /* confdefs.h. */
36501 _ACEOF
36502 cat confdefs.h >>conftest.$ac_ext
36503 cat >>conftest.$ac_ext <<_ACEOF
36504 /* end confdefs.h. */
36505
36506 /* Override any GCC internal prototype to avoid an error.
36507 Use char because int might match the return type of a GCC
36508 builtin and then its argument prototype would still apply. */
36509 #ifdef __cplusplus
36510 extern "C"
36511 #endif
36512 char nanosleep ();
36513 int
36514 main ()
36515 {
36516 return nanosleep ();
36517 ;
36518 return 0;
36519 }
36520 _ACEOF
36521 rm -f conftest.$ac_objext conftest$ac_exeext
36522 if { (ac_try="$ac_link"
36523 case "(($ac_try" in
36524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36525 *) ac_try_echo=$ac_try;;
36526 esac
36527 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36528 (eval "$ac_link") 2>conftest.er1
36529 ac_status=$?
36530 grep -v '^ *+' conftest.er1 >conftest.err
36531 rm -f conftest.er1
36532 cat conftest.err >&5
36533 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36534 (exit $ac_status); } && {
36535 test -z "$ac_c_werror_flag" ||
36536 test ! -s conftest.err
36537 } && test -s conftest$ac_exeext &&
36538 $as_test_x conftest$ac_exeext; then
36539 ac_cv_lib_posix4_nanosleep=yes
36540 else
36541 echo "$as_me: failed program was:" >&5
36542 sed 's/^/| /' conftest.$ac_ext >&5
36543
36544 ac_cv_lib_posix4_nanosleep=no
36545 fi
36546
36547 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36548 conftest$ac_exeext conftest.$ac_ext
36549 LIBS=$ac_check_lib_save_LIBS
36550 fi
36551 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_nanosleep" >&5
36552 echo "${ECHO_T}$ac_cv_lib_posix4_nanosleep" >&6; }
36553 if test $ac_cv_lib_posix4_nanosleep = yes; then
36554
36555 cat >>confdefs.h <<\_ACEOF
36556 #define HAVE_NANOSLEEP 1
36557 _ACEOF
36558
36559 POSIX4_LINK=" -lposix4"
36560
36561 else
36562
36563
36564 for wx_func in usleep
36565 do
36566 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36567 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36568 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36569 echo $ECHO_N "(cached) $ECHO_C" >&6
36570 else
36571
36572 cat >conftest.$ac_ext <<_ACEOF
36573
36574 /* confdefs.h. */
36575 _ACEOF
36576 cat confdefs.h >>conftest.$ac_ext
36577 cat >>conftest.$ac_ext <<_ACEOF
36578 /* end confdefs.h. */
36579
36580
36581 $ac_includes_default
36582
36583 int
36584 main ()
36585 {
36586
36587 #ifndef $wx_func
36588 &$wx_func;
36589 #endif
36590
36591
36592 ;
36593 return 0;
36594 }
36595
36596 _ACEOF
36597 rm -f conftest.$ac_objext conftest$ac_exeext
36598 if { (ac_try="$ac_link"
36599 case "(($ac_try" in
36600 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36601 *) ac_try_echo=$ac_try;;
36602 esac
36603 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36604 (eval "$ac_link") 2>conftest.er1
36605 ac_status=$?
36606 grep -v '^ *+' conftest.er1 >conftest.err
36607 rm -f conftest.er1
36608 cat conftest.err >&5
36609 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36610 (exit $ac_status); } && {
36611 test -z "$ac_c_werror_flag" ||
36612 test ! -s conftest.err
36613 } && test -s conftest$ac_exeext &&
36614 $as_test_x conftest$ac_exeext; then
36615 eval wx_cv_func_$wx_func=yes
36616 else
36617 echo "$as_me: failed program was:" >&5
36618 sed 's/^/| /' conftest.$ac_ext >&5
36619
36620 eval wx_cv_func_$wx_func=no
36621 fi
36622
36623 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36624 conftest$ac_exeext conftest.$ac_ext
36625
36626 fi
36627 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36628 { echo "$as_me:$LINENO: result: $ac_res" >&5
36629 echo "${ECHO_T}$ac_res" >&6; }
36630
36631 if eval test \$wx_cv_func_$wx_func = yes
36632 then
36633 cat >>confdefs.h <<_ACEOF
36634 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36635 _ACEOF
36636
36637
36638 else
36639 :
36640 { echo "$as_me:$LINENO: WARNING: wxSleep() function will not work" >&5
36641 echo "$as_me: WARNING: wxSleep() function will not work" >&2;}
36642
36643 fi
36644 done
36645
36646
36647
36648 fi
36649
36650
36651
36652 fi
36653 done
36654
36655 fi
36656
36657
36658 for wx_func in uname
36659 do
36660 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36661 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36662 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36663 echo $ECHO_N "(cached) $ECHO_C" >&6
36664 else
36665
36666 cat >conftest.$ac_ext <<_ACEOF
36667
36668 /* confdefs.h. */
36669 _ACEOF
36670 cat confdefs.h >>conftest.$ac_ext
36671 cat >>conftest.$ac_ext <<_ACEOF
36672 /* end confdefs.h. */
36673
36674 #include <sys/utsname.h>
36675 $ac_includes_default
36676
36677 int
36678 main ()
36679 {
36680
36681 #ifndef $wx_func
36682 &$wx_func;
36683 #endif
36684
36685
36686 ;
36687 return 0;
36688 }
36689
36690 _ACEOF
36691 rm -f conftest.$ac_objext conftest$ac_exeext
36692 if { (ac_try="$ac_link"
36693 case "(($ac_try" in
36694 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36695 *) ac_try_echo=$ac_try;;
36696 esac
36697 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36698 (eval "$ac_link") 2>conftest.er1
36699 ac_status=$?
36700 grep -v '^ *+' conftest.er1 >conftest.err
36701 rm -f conftest.er1
36702 cat conftest.err >&5
36703 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36704 (exit $ac_status); } && {
36705 test -z "$ac_c_werror_flag" ||
36706 test ! -s conftest.err
36707 } && test -s conftest$ac_exeext &&
36708 $as_test_x conftest$ac_exeext; then
36709 eval wx_cv_func_$wx_func=yes
36710 else
36711 echo "$as_me: failed program was:" >&5
36712 sed 's/^/| /' conftest.$ac_ext >&5
36713
36714 eval wx_cv_func_$wx_func=no
36715 fi
36716
36717 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36718 conftest$ac_exeext conftest.$ac_ext
36719
36720 fi
36721 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36722 { echo "$as_me:$LINENO: result: $ac_res" >&5
36723 echo "${ECHO_T}$ac_res" >&6; }
36724
36725 if eval test \$wx_cv_func_$wx_func = yes
36726 then
36727 cat >>confdefs.h <<_ACEOF
36728 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36729 _ACEOF
36730
36731
36732 else
36733 :
36734
36735 fi
36736 done
36737
36738 if test "$wx_cv_func_uname" != yes; then
36739
36740 for wx_func in gethostname
36741 do
36742 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36743 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36744 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36745 echo $ECHO_N "(cached) $ECHO_C" >&6
36746 else
36747
36748 cat >conftest.$ac_ext <<_ACEOF
36749
36750 /* confdefs.h. */
36751 _ACEOF
36752 cat confdefs.h >>conftest.$ac_ext
36753 cat >>conftest.$ac_ext <<_ACEOF
36754 /* end confdefs.h. */
36755
36756
36757 $ac_includes_default
36758
36759 int
36760 main ()
36761 {
36762
36763 #ifndef $wx_func
36764 &$wx_func;
36765 #endif
36766
36767
36768 ;
36769 return 0;
36770 }
36771
36772 _ACEOF
36773 rm -f conftest.$ac_objext conftest$ac_exeext
36774 if { (ac_try="$ac_link"
36775 case "(($ac_try" in
36776 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36777 *) ac_try_echo=$ac_try;;
36778 esac
36779 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36780 (eval "$ac_link") 2>conftest.er1
36781 ac_status=$?
36782 grep -v '^ *+' conftest.er1 >conftest.err
36783 rm -f conftest.er1
36784 cat conftest.err >&5
36785 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36786 (exit $ac_status); } && {
36787 test -z "$ac_c_werror_flag" ||
36788 test ! -s conftest.err
36789 } && test -s conftest$ac_exeext &&
36790 $as_test_x conftest$ac_exeext; then
36791 eval wx_cv_func_$wx_func=yes
36792 else
36793 echo "$as_me: failed program was:" >&5
36794 sed 's/^/| /' conftest.$ac_ext >&5
36795
36796 eval wx_cv_func_$wx_func=no
36797 fi
36798
36799 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36800 conftest$ac_exeext conftest.$ac_ext
36801
36802 fi
36803 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36804 { echo "$as_me:$LINENO: result: $ac_res" >&5
36805 echo "${ECHO_T}$ac_res" >&6; }
36806
36807 if eval test \$wx_cv_func_$wx_func = yes
36808 then
36809 cat >>confdefs.h <<_ACEOF
36810 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36811 _ACEOF
36812
36813
36814 else
36815 :
36816
36817 fi
36818 done
36819
36820 fi
36821
36822
36823 for wx_func in strtok_r
36824 do
36825 { echo "$as_me:$LINENO: checking for $wx_func" >&5
36826 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
36827 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
36828 echo $ECHO_N "(cached) $ECHO_C" >&6
36829 else
36830
36831 cat >conftest.$ac_ext <<_ACEOF
36832
36833 /* confdefs.h. */
36834 _ACEOF
36835 cat confdefs.h >>conftest.$ac_ext
36836 cat >>conftest.$ac_ext <<_ACEOF
36837 /* end confdefs.h. */
36838
36839 #define _REENTRANT
36840 $ac_includes_default
36841
36842 int
36843 main ()
36844 {
36845
36846 #ifndef $wx_func
36847 &$wx_func;
36848 #endif
36849
36850
36851 ;
36852 return 0;
36853 }
36854
36855 _ACEOF
36856 rm -f conftest.$ac_objext conftest$ac_exeext
36857 if { (ac_try="$ac_link"
36858 case "(($ac_try" in
36859 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36860 *) ac_try_echo=$ac_try;;
36861 esac
36862 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36863 (eval "$ac_link") 2>conftest.er1
36864 ac_status=$?
36865 grep -v '^ *+' conftest.er1 >conftest.err
36866 rm -f conftest.er1
36867 cat conftest.err >&5
36868 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36869 (exit $ac_status); } && {
36870 test -z "$ac_c_werror_flag" ||
36871 test ! -s conftest.err
36872 } && test -s conftest$ac_exeext &&
36873 $as_test_x conftest$ac_exeext; then
36874 eval wx_cv_func_$wx_func=yes
36875 else
36876 echo "$as_me: failed program was:" >&5
36877 sed 's/^/| /' conftest.$ac_ext >&5
36878
36879 eval wx_cv_func_$wx_func=no
36880 fi
36881
36882 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36883 conftest$ac_exeext conftest.$ac_ext
36884
36885 fi
36886 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
36887 { echo "$as_me:$LINENO: result: $ac_res" >&5
36888 echo "${ECHO_T}$ac_res" >&6; }
36889
36890 if eval test \$wx_cv_func_$wx_func = yes
36891 then
36892 cat >>confdefs.h <<_ACEOF
36893 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
36894 _ACEOF
36895
36896
36897 else
36898 :
36899
36900 fi
36901 done
36902
36903
36904 INET_LINK=
36905
36906 for ac_func in inet_addr
36907 do
36908 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
36909 { echo "$as_me:$LINENO: checking for $ac_func" >&5
36910 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
36911 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
36912 echo $ECHO_N "(cached) $ECHO_C" >&6
36913 else
36914 cat >conftest.$ac_ext <<_ACEOF
36915 /* confdefs.h. */
36916 _ACEOF
36917 cat confdefs.h >>conftest.$ac_ext
36918 cat >>conftest.$ac_ext <<_ACEOF
36919 /* end confdefs.h. */
36920 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
36921 For example, HP-UX 11i <limits.h> declares gettimeofday. */
36922 #define $ac_func innocuous_$ac_func
36923
36924 /* System header to define __stub macros and hopefully few prototypes,
36925 which can conflict with char $ac_func (); below.
36926 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
36927 <limits.h> exists even on freestanding compilers. */
36928
36929 #ifdef __STDC__
36930 # include <limits.h>
36931 #else
36932 # include <assert.h>
36933 #endif
36934
36935 #undef $ac_func
36936
36937 /* Override any GCC internal prototype to avoid an error.
36938 Use char because int might match the return type of a GCC
36939 builtin and then its argument prototype would still apply. */
36940 #ifdef __cplusplus
36941 extern "C"
36942 #endif
36943 char $ac_func ();
36944 /* The GNU C library defines this for functions which it implements
36945 to always fail with ENOSYS. Some functions are actually named
36946 something starting with __ and the normal name is an alias. */
36947 #if defined __stub_$ac_func || defined __stub___$ac_func
36948 choke me
36949 #endif
36950
36951 int
36952 main ()
36953 {
36954 return $ac_func ();
36955 ;
36956 return 0;
36957 }
36958 _ACEOF
36959 rm -f conftest.$ac_objext conftest$ac_exeext
36960 if { (ac_try="$ac_link"
36961 case "(($ac_try" in
36962 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
36963 *) ac_try_echo=$ac_try;;
36964 esac
36965 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
36966 (eval "$ac_link") 2>conftest.er1
36967 ac_status=$?
36968 grep -v '^ *+' conftest.er1 >conftest.err
36969 rm -f conftest.er1
36970 cat conftest.err >&5
36971 echo "$as_me:$LINENO: \$? = $ac_status" >&5
36972 (exit $ac_status); } && {
36973 test -z "$ac_c_werror_flag" ||
36974 test ! -s conftest.err
36975 } && test -s conftest$ac_exeext &&
36976 $as_test_x conftest$ac_exeext; then
36977 eval "$as_ac_var=yes"
36978 else
36979 echo "$as_me: failed program was:" >&5
36980 sed 's/^/| /' conftest.$ac_ext >&5
36981
36982 eval "$as_ac_var=no"
36983 fi
36984
36985 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
36986 conftest$ac_exeext conftest.$ac_ext
36987 fi
36988 ac_res=`eval echo '${'$as_ac_var'}'`
36989 { echo "$as_me:$LINENO: result: $ac_res" >&5
36990 echo "${ECHO_T}$ac_res" >&6; }
36991 if test `eval echo '${'$as_ac_var'}'` = yes; then
36992 cat >>confdefs.h <<_ACEOF
36993 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
36994 _ACEOF
36995 cat >>confdefs.h <<\_ACEOF
36996 #define HAVE_INET_ADDR 1
36997 _ACEOF
36998
36999 else
37000
37001 { echo "$as_me:$LINENO: checking for inet_addr in -lnsl" >&5
37002 echo $ECHO_N "checking for inet_addr in -lnsl... $ECHO_C" >&6; }
37003 if test "${ac_cv_lib_nsl_inet_addr+set}" = set; then
37004 echo $ECHO_N "(cached) $ECHO_C" >&6
37005 else
37006 ac_check_lib_save_LIBS=$LIBS
37007 LIBS="-lnsl $LIBS"
37008 cat >conftest.$ac_ext <<_ACEOF
37009 /* confdefs.h. */
37010 _ACEOF
37011 cat confdefs.h >>conftest.$ac_ext
37012 cat >>conftest.$ac_ext <<_ACEOF
37013 /* end confdefs.h. */
37014
37015 /* Override any GCC internal prototype to avoid an error.
37016 Use char because int might match the return type of a GCC
37017 builtin and then its argument prototype would still apply. */
37018 #ifdef __cplusplus
37019 extern "C"
37020 #endif
37021 char inet_addr ();
37022 int
37023 main ()
37024 {
37025 return inet_addr ();
37026 ;
37027 return 0;
37028 }
37029 _ACEOF
37030 rm -f conftest.$ac_objext conftest$ac_exeext
37031 if { (ac_try="$ac_link"
37032 case "(($ac_try" in
37033 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37034 *) ac_try_echo=$ac_try;;
37035 esac
37036 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37037 (eval "$ac_link") 2>conftest.er1
37038 ac_status=$?
37039 grep -v '^ *+' conftest.er1 >conftest.err
37040 rm -f conftest.er1
37041 cat conftest.err >&5
37042 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37043 (exit $ac_status); } && {
37044 test -z "$ac_c_werror_flag" ||
37045 test ! -s conftest.err
37046 } && test -s conftest$ac_exeext &&
37047 $as_test_x conftest$ac_exeext; then
37048 ac_cv_lib_nsl_inet_addr=yes
37049 else
37050 echo "$as_me: failed program was:" >&5
37051 sed 's/^/| /' conftest.$ac_ext >&5
37052
37053 ac_cv_lib_nsl_inet_addr=no
37054 fi
37055
37056 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37057 conftest$ac_exeext conftest.$ac_ext
37058 LIBS=$ac_check_lib_save_LIBS
37059 fi
37060 { echo "$as_me:$LINENO: result: $ac_cv_lib_nsl_inet_addr" >&5
37061 echo "${ECHO_T}$ac_cv_lib_nsl_inet_addr" >&6; }
37062 if test $ac_cv_lib_nsl_inet_addr = yes; then
37063 INET_LINK="nsl"
37064 else
37065
37066 { echo "$as_me:$LINENO: checking for inet_addr in -lresolv" >&5
37067 echo $ECHO_N "checking for inet_addr in -lresolv... $ECHO_C" >&6; }
37068 if test "${ac_cv_lib_resolv_inet_addr+set}" = set; then
37069 echo $ECHO_N "(cached) $ECHO_C" >&6
37070 else
37071 ac_check_lib_save_LIBS=$LIBS
37072 LIBS="-lresolv $LIBS"
37073 cat >conftest.$ac_ext <<_ACEOF
37074 /* confdefs.h. */
37075 _ACEOF
37076 cat confdefs.h >>conftest.$ac_ext
37077 cat >>conftest.$ac_ext <<_ACEOF
37078 /* end confdefs.h. */
37079
37080 /* Override any GCC internal prototype to avoid an error.
37081 Use char because int might match the return type of a GCC
37082 builtin and then its argument prototype would still apply. */
37083 #ifdef __cplusplus
37084 extern "C"
37085 #endif
37086 char inet_addr ();
37087 int
37088 main ()
37089 {
37090 return inet_addr ();
37091 ;
37092 return 0;
37093 }
37094 _ACEOF
37095 rm -f conftest.$ac_objext conftest$ac_exeext
37096 if { (ac_try="$ac_link"
37097 case "(($ac_try" in
37098 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37099 *) ac_try_echo=$ac_try;;
37100 esac
37101 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37102 (eval "$ac_link") 2>conftest.er1
37103 ac_status=$?
37104 grep -v '^ *+' conftest.er1 >conftest.err
37105 rm -f conftest.er1
37106 cat conftest.err >&5
37107 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37108 (exit $ac_status); } && {
37109 test -z "$ac_c_werror_flag" ||
37110 test ! -s conftest.err
37111 } && test -s conftest$ac_exeext &&
37112 $as_test_x conftest$ac_exeext; then
37113 ac_cv_lib_resolv_inet_addr=yes
37114 else
37115 echo "$as_me: failed program was:" >&5
37116 sed 's/^/| /' conftest.$ac_ext >&5
37117
37118 ac_cv_lib_resolv_inet_addr=no
37119 fi
37120
37121 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37122 conftest$ac_exeext conftest.$ac_ext
37123 LIBS=$ac_check_lib_save_LIBS
37124 fi
37125 { echo "$as_me:$LINENO: result: $ac_cv_lib_resolv_inet_addr" >&5
37126 echo "${ECHO_T}$ac_cv_lib_resolv_inet_addr" >&6; }
37127 if test $ac_cv_lib_resolv_inet_addr = yes; then
37128 INET_LINK="resolv"
37129 else
37130
37131 { echo "$as_me:$LINENO: checking for inet_addr in -lsocket" >&5
37132 echo $ECHO_N "checking for inet_addr in -lsocket... $ECHO_C" >&6; }
37133 if test "${ac_cv_lib_socket_inet_addr+set}" = set; then
37134 echo $ECHO_N "(cached) $ECHO_C" >&6
37135 else
37136 ac_check_lib_save_LIBS=$LIBS
37137 LIBS="-lsocket $LIBS"
37138 cat >conftest.$ac_ext <<_ACEOF
37139 /* confdefs.h. */
37140 _ACEOF
37141 cat confdefs.h >>conftest.$ac_ext
37142 cat >>conftest.$ac_ext <<_ACEOF
37143 /* end confdefs.h. */
37144
37145 /* Override any GCC internal prototype to avoid an error.
37146 Use char because int might match the return type of a GCC
37147 builtin and then its argument prototype would still apply. */
37148 #ifdef __cplusplus
37149 extern "C"
37150 #endif
37151 char inet_addr ();
37152 int
37153 main ()
37154 {
37155 return inet_addr ();
37156 ;
37157 return 0;
37158 }
37159 _ACEOF
37160 rm -f conftest.$ac_objext conftest$ac_exeext
37161 if { (ac_try="$ac_link"
37162 case "(($ac_try" in
37163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37164 *) ac_try_echo=$ac_try;;
37165 esac
37166 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37167 (eval "$ac_link") 2>conftest.er1
37168 ac_status=$?
37169 grep -v '^ *+' conftest.er1 >conftest.err
37170 rm -f conftest.er1
37171 cat conftest.err >&5
37172 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37173 (exit $ac_status); } && {
37174 test -z "$ac_c_werror_flag" ||
37175 test ! -s conftest.err
37176 } && test -s conftest$ac_exeext &&
37177 $as_test_x conftest$ac_exeext; then
37178 ac_cv_lib_socket_inet_addr=yes
37179 else
37180 echo "$as_me: failed program was:" >&5
37181 sed 's/^/| /' conftest.$ac_ext >&5
37182
37183 ac_cv_lib_socket_inet_addr=no
37184 fi
37185
37186 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37187 conftest$ac_exeext conftest.$ac_ext
37188 LIBS=$ac_check_lib_save_LIBS
37189 fi
37190 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_inet_addr" >&5
37191 echo "${ECHO_T}$ac_cv_lib_socket_inet_addr" >&6; }
37192 if test $ac_cv_lib_socket_inet_addr = yes; then
37193 INET_LINK="socket"
37194
37195 fi
37196
37197
37198
37199 fi
37200
37201
37202
37203 fi
37204
37205
37206
37207 fi
37208 done
37209
37210
37211
37212 for ac_func in inet_aton
37213 do
37214 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37215 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37216 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37217 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37218 echo $ECHO_N "(cached) $ECHO_C" >&6
37219 else
37220 cat >conftest.$ac_ext <<_ACEOF
37221 /* confdefs.h. */
37222 _ACEOF
37223 cat confdefs.h >>conftest.$ac_ext
37224 cat >>conftest.$ac_ext <<_ACEOF
37225 /* end confdefs.h. */
37226 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37227 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37228 #define $ac_func innocuous_$ac_func
37229
37230 /* System header to define __stub macros and hopefully few prototypes,
37231 which can conflict with char $ac_func (); below.
37232 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37233 <limits.h> exists even on freestanding compilers. */
37234
37235 #ifdef __STDC__
37236 # include <limits.h>
37237 #else
37238 # include <assert.h>
37239 #endif
37240
37241 #undef $ac_func
37242
37243 /* Override any GCC internal prototype to avoid an error.
37244 Use char because int might match the return type of a GCC
37245 builtin and then its argument prototype would still apply. */
37246 #ifdef __cplusplus
37247 extern "C"
37248 #endif
37249 char $ac_func ();
37250 /* The GNU C library defines this for functions which it implements
37251 to always fail with ENOSYS. Some functions are actually named
37252 something starting with __ and the normal name is an alias. */
37253 #if defined __stub_$ac_func || defined __stub___$ac_func
37254 choke me
37255 #endif
37256
37257 int
37258 main ()
37259 {
37260 return $ac_func ();
37261 ;
37262 return 0;
37263 }
37264 _ACEOF
37265 rm -f conftest.$ac_objext conftest$ac_exeext
37266 if { (ac_try="$ac_link"
37267 case "(($ac_try" in
37268 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37269 *) ac_try_echo=$ac_try;;
37270 esac
37271 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37272 (eval "$ac_link") 2>conftest.er1
37273 ac_status=$?
37274 grep -v '^ *+' conftest.er1 >conftest.err
37275 rm -f conftest.er1
37276 cat conftest.err >&5
37277 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37278 (exit $ac_status); } && {
37279 test -z "$ac_c_werror_flag" ||
37280 test ! -s conftest.err
37281 } && test -s conftest$ac_exeext &&
37282 $as_test_x conftest$ac_exeext; then
37283 eval "$as_ac_var=yes"
37284 else
37285 echo "$as_me: failed program was:" >&5
37286 sed 's/^/| /' conftest.$ac_ext >&5
37287
37288 eval "$as_ac_var=no"
37289 fi
37290
37291 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37292 conftest$ac_exeext conftest.$ac_ext
37293 fi
37294 ac_res=`eval echo '${'$as_ac_var'}'`
37295 { echo "$as_me:$LINENO: result: $ac_res" >&5
37296 echo "${ECHO_T}$ac_res" >&6; }
37297 if test `eval echo '${'$as_ac_var'}'` = yes; then
37298 cat >>confdefs.h <<_ACEOF
37299 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37300 _ACEOF
37301 cat >>confdefs.h <<\_ACEOF
37302 #define HAVE_INET_ATON 1
37303 _ACEOF
37304
37305 else
37306
37307 as_ac_Lib=`echo "ac_cv_lib_$INET_LINK''_inet_aton" | $as_tr_sh`
37308 { echo "$as_me:$LINENO: checking for inet_aton in -l$INET_LINK" >&5
37309 echo $ECHO_N "checking for inet_aton in -l$INET_LINK... $ECHO_C" >&6; }
37310 if { as_var=$as_ac_Lib; eval "test \"\${$as_var+set}\" = set"; }; then
37311 echo $ECHO_N "(cached) $ECHO_C" >&6
37312 else
37313 ac_check_lib_save_LIBS=$LIBS
37314 LIBS="-l$INET_LINK $LIBS"
37315 cat >conftest.$ac_ext <<_ACEOF
37316 /* confdefs.h. */
37317 _ACEOF
37318 cat confdefs.h >>conftest.$ac_ext
37319 cat >>conftest.$ac_ext <<_ACEOF
37320 /* end confdefs.h. */
37321
37322 /* Override any GCC internal prototype to avoid an error.
37323 Use char because int might match the return type of a GCC
37324 builtin and then its argument prototype would still apply. */
37325 #ifdef __cplusplus
37326 extern "C"
37327 #endif
37328 char inet_aton ();
37329 int
37330 main ()
37331 {
37332 return inet_aton ();
37333 ;
37334 return 0;
37335 }
37336 _ACEOF
37337 rm -f conftest.$ac_objext conftest$ac_exeext
37338 if { (ac_try="$ac_link"
37339 case "(($ac_try" in
37340 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37341 *) ac_try_echo=$ac_try;;
37342 esac
37343 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37344 (eval "$ac_link") 2>conftest.er1
37345 ac_status=$?
37346 grep -v '^ *+' conftest.er1 >conftest.err
37347 rm -f conftest.er1
37348 cat conftest.err >&5
37349 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37350 (exit $ac_status); } && {
37351 test -z "$ac_c_werror_flag" ||
37352 test ! -s conftest.err
37353 } && test -s conftest$ac_exeext &&
37354 $as_test_x conftest$ac_exeext; then
37355 eval "$as_ac_Lib=yes"
37356 else
37357 echo "$as_me: failed program was:" >&5
37358 sed 's/^/| /' conftest.$ac_ext >&5
37359
37360 eval "$as_ac_Lib=no"
37361 fi
37362
37363 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37364 conftest$ac_exeext conftest.$ac_ext
37365 LIBS=$ac_check_lib_save_LIBS
37366 fi
37367 ac_res=`eval echo '${'$as_ac_Lib'}'`
37368 { echo "$as_me:$LINENO: result: $ac_res" >&5
37369 echo "${ECHO_T}$ac_res" >&6; }
37370 if test `eval echo '${'$as_ac_Lib'}'` = yes; then
37371 cat >>confdefs.h <<\_ACEOF
37372 #define HAVE_INET_ATON 1
37373 _ACEOF
37374
37375 fi
37376
37377
37378 fi
37379 done
37380
37381
37382 if test "x$INET_LINK" != "x"; then
37383 cat >>confdefs.h <<\_ACEOF
37384 #define HAVE_INET_ADDR 1
37385 _ACEOF
37386
37387 INET_LINK=" -l$INET_LINK"
37388 fi
37389
37390
37391 for wx_func in fdopen
37392 do
37393 { echo "$as_me:$LINENO: checking for $wx_func" >&5
37394 echo $ECHO_N "checking for $wx_func... $ECHO_C" >&6; }
37395 if { as_var=wx_cv_func_$wx_func; eval "test \"\${$as_var+set}\" = set"; }; then
37396 echo $ECHO_N "(cached) $ECHO_C" >&6
37397 else
37398
37399 cat >conftest.$ac_ext <<_ACEOF
37400
37401 /* confdefs.h. */
37402 _ACEOF
37403 cat confdefs.h >>conftest.$ac_ext
37404 cat >>conftest.$ac_ext <<_ACEOF
37405 /* end confdefs.h. */
37406
37407
37408 $ac_includes_default
37409
37410 int
37411 main ()
37412 {
37413
37414 #ifndef $wx_func
37415 &$wx_func;
37416 #endif
37417
37418
37419 ;
37420 return 0;
37421 }
37422
37423 _ACEOF
37424 rm -f conftest.$ac_objext conftest$ac_exeext
37425 if { (ac_try="$ac_link"
37426 case "(($ac_try" in
37427 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37428 *) ac_try_echo=$ac_try;;
37429 esac
37430 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37431 (eval "$ac_link") 2>conftest.er1
37432 ac_status=$?
37433 grep -v '^ *+' conftest.er1 >conftest.err
37434 rm -f conftest.er1
37435 cat conftest.err >&5
37436 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37437 (exit $ac_status); } && {
37438 test -z "$ac_c_werror_flag" ||
37439 test ! -s conftest.err
37440 } && test -s conftest$ac_exeext &&
37441 $as_test_x conftest$ac_exeext; then
37442 eval wx_cv_func_$wx_func=yes
37443 else
37444 echo "$as_me: failed program was:" >&5
37445 sed 's/^/| /' conftest.$ac_ext >&5
37446
37447 eval wx_cv_func_$wx_func=no
37448 fi
37449
37450 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37451 conftest$ac_exeext conftest.$ac_ext
37452
37453 fi
37454 ac_res=`eval echo '${'wx_cv_func_$wx_func'}'`
37455 { echo "$as_me:$LINENO: result: $ac_res" >&5
37456 echo "${ECHO_T}$ac_res" >&6; }
37457
37458 if eval test \$wx_cv_func_$wx_func = yes
37459 then
37460 cat >>confdefs.h <<_ACEOF
37461 #define HAVE_`echo $wx_func | tr 'a-z' 'A-Z'` 1
37462 _ACEOF
37463
37464
37465 else
37466 :
37467
37468 fi
37469 done
37470
37471
37472 fi
37473
37474
37475
37476 cat >confcache <<\_ACEOF
37477 # This file is a shell script that caches the results of configure
37478 # tests run on this system so they can be shared between configure
37479 # scripts and configure runs, see configure's option --config-cache.
37480 # It is not useful on other systems. If it contains results you don't
37481 # want to keep, you may remove or edit it.
37482 #
37483 # config.status only pays attention to the cache file if you give it
37484 # the --recheck option to rerun configure.
37485 #
37486 # `ac_cv_env_foo' variables (set or unset) will be overridden when
37487 # loading this file, other *unset* `ac_cv_foo' will be assigned the
37488 # following values.
37489
37490 _ACEOF
37491
37492 # The following way of writing the cache mishandles newlines in values,
37493 # but we know of no workaround that is simple, portable, and efficient.
37494 # So, we kill variables containing newlines.
37495 # Ultrix sh set writes to stderr and can't be redirected directly,
37496 # and sets the high bit in the cache file unless we assign to the vars.
37497 (
37498 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
37499 eval ac_val=\$$ac_var
37500 case $ac_val in #(
37501 *${as_nl}*)
37502 case $ac_var in #(
37503 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
37504 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
37505 esac
37506 case $ac_var in #(
37507 _ | IFS | as_nl) ;; #(
37508 *) $as_unset $ac_var ;;
37509 esac ;;
37510 esac
37511 done
37512
37513 (set) 2>&1 |
37514 case $as_nl`(ac_space=' '; set) 2>&1` in #(
37515 *${as_nl}ac_space=\ *)
37516 # `set' does not quote correctly, so add quotes (double-quote
37517 # substitution turns \\\\ into \\, and sed turns \\ into \).
37518 sed -n \
37519 "s/'/'\\\\''/g;
37520 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
37521 ;; #(
37522 *)
37523 # `set' quotes correctly as required by POSIX, so do not add quotes.
37524 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
37525 ;;
37526 esac |
37527 sort
37528 ) |
37529 sed '
37530 /^ac_cv_env_/b end
37531 t clear
37532 :clear
37533 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
37534 t end
37535 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
37536 :end' >>confcache
37537 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
37538 if test -w "$cache_file"; then
37539 test "x$cache_file" != "x/dev/null" &&
37540 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
37541 echo "$as_me: updating cache $cache_file" >&6;}
37542 cat confcache >$cache_file
37543 else
37544 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
37545 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
37546 fi
37547 fi
37548 rm -f confcache
37549
37550
37551 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
37552
37553
37554 THREADS_LINK=
37555 THREADS_CFLAGS=
37556
37557 if test "$wxUSE_THREADS" = "yes" ; then
37558 if test "$USE_BEOS" = 1; then
37559 { echo "$as_me:$LINENO: WARNING: BeOS threads are not yet supported... disabled" >&5
37560 echo "$as_me: WARNING: BeOS threads are not yet supported... disabled" >&2;}
37561 wxUSE_THREADS="no"
37562 fi
37563 fi
37564
37565 if test "$wxUSE_THREADS" = "yes" ; then
37566
37567
37568 THREAD_OPTS="-pthread"
37569 case "${host}" in
37570 *-*-solaris2* | *-*-sunos4* )
37571 if test "x$GCC" = "xyes"; then
37572 THREAD_OPTS="-pthreads $THREAD_OPTS"
37573 else
37574 THREAD_OPTS="-mt $THREAD_OPTS"
37575 fi
37576 ;;
37577 *-*-freebsd*)
37578 THREAD_OPTS="-kthread lthread $THREAD_OPTS c_r"
37579 ;;
37580 *-*-darwin* | *-*-cygwin* )
37581 THREAD_OPTS=""
37582 ;;
37583 *-*-aix*)
37584 THREAD_OPTS="pthreads"
37585 ;;
37586 *-hp-hpux* )
37587 if test "x$GCC" = "xyes"; then
37588 $CXX -dumpspecs | grep 'pthread:' >/dev/null ||
37589 THREAD_OPTS=""
37590 else
37591 THREAD_OPTS="-mt"
37592 fi
37593 ;;
37594
37595 *-*-irix* )
37596 if test "x$GCC" = "xyes"; then
37597 THREAD_OPTS=""
37598 fi
37599 ;;
37600
37601 *-*-*UnixWare*)
37602 if test "x$GCC" != "xyes"; then
37603 THREAD_OPTS="-Ethread"
37604 fi
37605 ;;
37606 esac
37607
37608 THREAD_OPTS="$THREAD_OPTS pthread none"
37609
37610 THREADS_OK=no
37611 for flag in $THREAD_OPTS; do
37612 case $flag in
37613 none)
37614 { echo "$as_me:$LINENO: checking whether pthreads work without any flags" >&5
37615 echo $ECHO_N "checking whether pthreads work without any flags... $ECHO_C" >&6; }
37616 ;;
37617
37618 -*)
37619 { echo "$as_me:$LINENO: checking whether pthreads work with $flag" >&5
37620 echo $ECHO_N "checking whether pthreads work with $flag... $ECHO_C" >&6; }
37621 THREADS_CFLAGS="$flag"
37622 ;;
37623
37624 *)
37625 { echo "$as_me:$LINENO: checking for the pthreads library -l$flag" >&5
37626 echo $ECHO_N "checking for the pthreads library -l$flag... $ECHO_C" >&6; }
37627 THREADS_LINK="-l$flag"
37628 ;;
37629 esac
37630
37631 save_LIBS="$LIBS"
37632 save_CFLAGS="$CFLAGS"
37633 LIBS="$THREADS_LINK $LIBS"
37634 CFLAGS="$THREADS_CFLAGS $CFLAGS"
37635
37636 cat >conftest.$ac_ext <<_ACEOF
37637 /* confdefs.h. */
37638 _ACEOF
37639 cat confdefs.h >>conftest.$ac_ext
37640 cat >>conftest.$ac_ext <<_ACEOF
37641 /* end confdefs.h. */
37642 #include <pthread.h>
37643 int
37644 main ()
37645 {
37646 pthread_create(0,0,0,0);
37647 ;
37648 return 0;
37649 }
37650 _ACEOF
37651 rm -f conftest.$ac_objext conftest$ac_exeext
37652 if { (ac_try="$ac_link"
37653 case "(($ac_try" in
37654 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37655 *) ac_try_echo=$ac_try;;
37656 esac
37657 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37658 (eval "$ac_link") 2>conftest.er1
37659 ac_status=$?
37660 grep -v '^ *+' conftest.er1 >conftest.err
37661 rm -f conftest.er1
37662 cat conftest.err >&5
37663 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37664 (exit $ac_status); } && {
37665 test -z "$ac_c_werror_flag" ||
37666 test ! -s conftest.err
37667 } && test -s conftest$ac_exeext &&
37668 $as_test_x conftest$ac_exeext; then
37669 THREADS_OK=yes
37670 else
37671 echo "$as_me: failed program was:" >&5
37672 sed 's/^/| /' conftest.$ac_ext >&5
37673
37674
37675 fi
37676
37677 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37678 conftest$ac_exeext conftest.$ac_ext
37679
37680 LIBS="$save_LIBS"
37681 CFLAGS="$save_CFLAGS"
37682
37683 { echo "$as_me:$LINENO: result: $THREADS_OK" >&5
37684 echo "${ECHO_T}$THREADS_OK" >&6; }
37685 if test "x$THREADS_OK" = "xyes"; then
37686 break;
37687 fi
37688
37689 THREADS_LINK=""
37690 THREADS_CFLAGS=""
37691 done
37692
37693 if test "x$THREADS_OK" != "xyes"; then
37694 wxUSE_THREADS=no
37695 { echo "$as_me:$LINENO: WARNING: No thread support on this system... disabled" >&5
37696 echo "$as_me: WARNING: No thread support on this system... disabled" >&2;}
37697 else
37698 LDFLAGS="$THREADS_CFLAGS $LDFLAGS"
37699 LIBS="$THREADS_LINK $LIBS"
37700
37701 { echo "$as_me:$LINENO: checking if more special flags are required for pthreads" >&5
37702 echo $ECHO_N "checking if more special flags are required for pthreads... $ECHO_C" >&6; }
37703 flag=no
37704 case "${host}" in
37705 *-aix*)
37706 LDFLAGS="-L/usr/lib/threads $LDFLAGS"
37707 flag="-D_THREAD_SAFE"
37708 ;;
37709 *-freebsd*)
37710 flag="-D_THREAD_SAFE"
37711 ;;
37712 *-hp-hpux* )
37713 flag="-D_REENTRANT"
37714 if test "x$GCC" != "xyes"; then
37715 flag="$flag -D_RWSTD_MULTI_THREAD"
37716 fi
37717 ;;
37718 *solaris* | alpha*-osf*)
37719 flag="-D_REENTRANT"
37720 ;;
37721 esac
37722 { echo "$as_me:$LINENO: result: ${flag}" >&5
37723 echo "${ECHO_T}${flag}" >&6; }
37724 if test "x$flag" != xno; then
37725 THREADS_CFLAGS="$THREADS_CFLAGS $flag"
37726 fi
37727
37728 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS $THREADS_CFLAGS"
37729 fi
37730 fi
37731
37732 if test "$wxUSE_THREADS" = "yes" ; then
37733
37734 for ac_func in thr_setconcurrency
37735 do
37736 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
37737 { echo "$as_me:$LINENO: checking for $ac_func" >&5
37738 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
37739 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
37740 echo $ECHO_N "(cached) $ECHO_C" >&6
37741 else
37742 cat >conftest.$ac_ext <<_ACEOF
37743 /* confdefs.h. */
37744 _ACEOF
37745 cat confdefs.h >>conftest.$ac_ext
37746 cat >>conftest.$ac_ext <<_ACEOF
37747 /* end confdefs.h. */
37748 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
37749 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37750 #define $ac_func innocuous_$ac_func
37751
37752 /* System header to define __stub macros and hopefully few prototypes,
37753 which can conflict with char $ac_func (); below.
37754 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37755 <limits.h> exists even on freestanding compilers. */
37756
37757 #ifdef __STDC__
37758 # include <limits.h>
37759 #else
37760 # include <assert.h>
37761 #endif
37762
37763 #undef $ac_func
37764
37765 /* Override any GCC internal prototype to avoid an error.
37766 Use char because int might match the return type of a GCC
37767 builtin and then its argument prototype would still apply. */
37768 #ifdef __cplusplus
37769 extern "C"
37770 #endif
37771 char $ac_func ();
37772 /* The GNU C library defines this for functions which it implements
37773 to always fail with ENOSYS. Some functions are actually named
37774 something starting with __ and the normal name is an alias. */
37775 #if defined __stub_$ac_func || defined __stub___$ac_func
37776 choke me
37777 #endif
37778
37779 int
37780 main ()
37781 {
37782 return $ac_func ();
37783 ;
37784 return 0;
37785 }
37786 _ACEOF
37787 rm -f conftest.$ac_objext conftest$ac_exeext
37788 if { (ac_try="$ac_link"
37789 case "(($ac_try" in
37790 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37791 *) ac_try_echo=$ac_try;;
37792 esac
37793 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37794 (eval "$ac_link") 2>conftest.er1
37795 ac_status=$?
37796 grep -v '^ *+' conftest.er1 >conftest.err
37797 rm -f conftest.er1
37798 cat conftest.err >&5
37799 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37800 (exit $ac_status); } && {
37801 test -z "$ac_c_werror_flag" ||
37802 test ! -s conftest.err
37803 } && test -s conftest$ac_exeext &&
37804 $as_test_x conftest$ac_exeext; then
37805 eval "$as_ac_var=yes"
37806 else
37807 echo "$as_me: failed program was:" >&5
37808 sed 's/^/| /' conftest.$ac_ext >&5
37809
37810 eval "$as_ac_var=no"
37811 fi
37812
37813 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
37814 conftest$ac_exeext conftest.$ac_ext
37815 fi
37816 ac_res=`eval echo '${'$as_ac_var'}'`
37817 { echo "$as_me:$LINENO: result: $ac_res" >&5
37818 echo "${ECHO_T}$ac_res" >&6; }
37819 if test `eval echo '${'$as_ac_var'}'` = yes; then
37820 cat >>confdefs.h <<_ACEOF
37821 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
37822 _ACEOF
37823
37824 fi
37825 done
37826
37827
37828 { echo "$as_me:$LINENO: checking for pthread_cleanup_push/pop" >&5
37829 echo $ECHO_N "checking for pthread_cleanup_push/pop... $ECHO_C" >&6; }
37830 if test "${wx_cv_func_pthread_cleanup+set}" = set; then
37831 echo $ECHO_N "(cached) $ECHO_C" >&6
37832 else
37833
37834 cat >conftest.$ac_ext <<_ACEOF
37835 /* confdefs.h. */
37836 _ACEOF
37837 cat confdefs.h >>conftest.$ac_ext
37838 cat >>conftest.$ac_ext <<_ACEOF
37839 /* end confdefs.h. */
37840 #include <pthread.h>
37841 void ThreadCleanupFunc(void *p);
37842
37843 int
37844 main ()
37845 {
37846
37847 void *p;
37848 pthread_cleanup_push(ThreadCleanupFunc, p);
37849 pthread_cleanup_pop(0);
37850
37851 ;
37852 return 0;
37853 }
37854 _ACEOF
37855 rm -f conftest.$ac_objext
37856 if { (ac_try="$ac_compile"
37857 case "(($ac_try" in
37858 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37859 *) ac_try_echo=$ac_try;;
37860 esac
37861 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37862 (eval "$ac_compile") 2>conftest.er1
37863 ac_status=$?
37864 grep -v '^ *+' conftest.er1 >conftest.err
37865 rm -f conftest.er1
37866 cat conftest.err >&5
37867 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37868 (exit $ac_status); } && {
37869 test -z "$ac_c_werror_flag" ||
37870 test ! -s conftest.err
37871 } && test -s conftest.$ac_objext; then
37872
37873 wx_cv_func_pthread_cleanup=yes
37874
37875 else
37876 echo "$as_me: failed program was:" >&5
37877 sed 's/^/| /' conftest.$ac_ext >&5
37878
37879
37880 wx_cv_func_pthread_cleanup=no
37881
37882
37883 fi
37884
37885 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37886
37887 fi
37888 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_cleanup" >&5
37889 echo "${ECHO_T}$wx_cv_func_pthread_cleanup" >&6; }
37890 if test "x$wx_cv_func_pthread_cleanup" = "xyes"; then
37891 cat >>confdefs.h <<\_ACEOF
37892 #define wxHAVE_PTHREAD_CLEANUP 1
37893 _ACEOF
37894
37895 fi
37896
37897 { echo "$as_me:$LINENO: checking for sched.h" >&5
37898 echo $ECHO_N "checking for sched.h... $ECHO_C" >&6; }
37899 if test "${ac_cv_header_sched_h+set}" = set; then
37900 echo $ECHO_N "(cached) $ECHO_C" >&6
37901 else
37902 cat >conftest.$ac_ext <<_ACEOF
37903 /* confdefs.h. */
37904 _ACEOF
37905 cat confdefs.h >>conftest.$ac_ext
37906 cat >>conftest.$ac_ext <<_ACEOF
37907 /* end confdefs.h. */
37908 $ac_includes_default
37909
37910 #include <sched.h>
37911 _ACEOF
37912 rm -f conftest.$ac_objext
37913 if { (ac_try="$ac_compile"
37914 case "(($ac_try" in
37915 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37916 *) ac_try_echo=$ac_try;;
37917 esac
37918 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
37919 (eval "$ac_compile") 2>conftest.er1
37920 ac_status=$?
37921 grep -v '^ *+' conftest.er1 >conftest.err
37922 rm -f conftest.er1
37923 cat conftest.err >&5
37924 echo "$as_me:$LINENO: \$? = $ac_status" >&5
37925 (exit $ac_status); } && {
37926 test -z "$ac_c_werror_flag" ||
37927 test ! -s conftest.err
37928 } && test -s conftest.$ac_objext; then
37929 ac_cv_header_sched_h=yes
37930 else
37931 echo "$as_me: failed program was:" >&5
37932 sed 's/^/| /' conftest.$ac_ext >&5
37933
37934 ac_cv_header_sched_h=no
37935 fi
37936
37937 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
37938 fi
37939 { echo "$as_me:$LINENO: result: $ac_cv_header_sched_h" >&5
37940 echo "${ECHO_T}$ac_cv_header_sched_h" >&6; }
37941
37942
37943 if test "$ac_cv_header_sched_h" = "yes"; then
37944 { echo "$as_me:$LINENO: checking for sched_yield" >&5
37945 echo $ECHO_N "checking for sched_yield... $ECHO_C" >&6; }
37946 if test "${ac_cv_func_sched_yield+set}" = set; then
37947 echo $ECHO_N "(cached) $ECHO_C" >&6
37948 else
37949 cat >conftest.$ac_ext <<_ACEOF
37950 /* confdefs.h. */
37951 _ACEOF
37952 cat confdefs.h >>conftest.$ac_ext
37953 cat >>conftest.$ac_ext <<_ACEOF
37954 /* end confdefs.h. */
37955 /* Define sched_yield to an innocuous variant, in case <limits.h> declares sched_yield.
37956 For example, HP-UX 11i <limits.h> declares gettimeofday. */
37957 #define sched_yield innocuous_sched_yield
37958
37959 /* System header to define __stub macros and hopefully few prototypes,
37960 which can conflict with char sched_yield (); below.
37961 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
37962 <limits.h> exists even on freestanding compilers. */
37963
37964 #ifdef __STDC__
37965 # include <limits.h>
37966 #else
37967 # include <assert.h>
37968 #endif
37969
37970 #undef sched_yield
37971
37972 /* Override any GCC internal prototype to avoid an error.
37973 Use char because int might match the return type of a GCC
37974 builtin and then its argument prototype would still apply. */
37975 #ifdef __cplusplus
37976 extern "C"
37977 #endif
37978 char sched_yield ();
37979 /* The GNU C library defines this for functions which it implements
37980 to always fail with ENOSYS. Some functions are actually named
37981 something starting with __ and the normal name is an alias. */
37982 #if defined __stub_sched_yield || defined __stub___sched_yield
37983 choke me
37984 #endif
37985
37986 int
37987 main ()
37988 {
37989 return sched_yield ();
37990 ;
37991 return 0;
37992 }
37993 _ACEOF
37994 rm -f conftest.$ac_objext conftest$ac_exeext
37995 if { (ac_try="$ac_link"
37996 case "(($ac_try" in
37997 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
37998 *) ac_try_echo=$ac_try;;
37999 esac
38000 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38001 (eval "$ac_link") 2>conftest.er1
38002 ac_status=$?
38003 grep -v '^ *+' conftest.er1 >conftest.err
38004 rm -f conftest.er1
38005 cat conftest.err >&5
38006 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38007 (exit $ac_status); } && {
38008 test -z "$ac_c_werror_flag" ||
38009 test ! -s conftest.err
38010 } && test -s conftest$ac_exeext &&
38011 $as_test_x conftest$ac_exeext; then
38012 ac_cv_func_sched_yield=yes
38013 else
38014 echo "$as_me: failed program was:" >&5
38015 sed 's/^/| /' conftest.$ac_ext >&5
38016
38017 ac_cv_func_sched_yield=no
38018 fi
38019
38020 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38021 conftest$ac_exeext conftest.$ac_ext
38022 fi
38023 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_yield" >&5
38024 echo "${ECHO_T}$ac_cv_func_sched_yield" >&6; }
38025 if test $ac_cv_func_sched_yield = yes; then
38026 cat >>confdefs.h <<\_ACEOF
38027 #define HAVE_SCHED_YIELD 1
38028 _ACEOF
38029
38030 else
38031
38032 { echo "$as_me:$LINENO: checking for sched_yield in -lposix4" >&5
38033 echo $ECHO_N "checking for sched_yield in -lposix4... $ECHO_C" >&6; }
38034 if test "${ac_cv_lib_posix4_sched_yield+set}" = set; then
38035 echo $ECHO_N "(cached) $ECHO_C" >&6
38036 else
38037 ac_check_lib_save_LIBS=$LIBS
38038 LIBS="-lposix4 $LIBS"
38039 cat >conftest.$ac_ext <<_ACEOF
38040 /* confdefs.h. */
38041 _ACEOF
38042 cat confdefs.h >>conftest.$ac_ext
38043 cat >>conftest.$ac_ext <<_ACEOF
38044 /* end confdefs.h. */
38045
38046 /* Override any GCC internal prototype to avoid an error.
38047 Use char because int might match the return type of a GCC
38048 builtin and then its argument prototype would still apply. */
38049 #ifdef __cplusplus
38050 extern "C"
38051 #endif
38052 char sched_yield ();
38053 int
38054 main ()
38055 {
38056 return sched_yield ();
38057 ;
38058 return 0;
38059 }
38060 _ACEOF
38061 rm -f conftest.$ac_objext conftest$ac_exeext
38062 if { (ac_try="$ac_link"
38063 case "(($ac_try" in
38064 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38065 *) ac_try_echo=$ac_try;;
38066 esac
38067 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38068 (eval "$ac_link") 2>conftest.er1
38069 ac_status=$?
38070 grep -v '^ *+' conftest.er1 >conftest.err
38071 rm -f conftest.er1
38072 cat conftest.err >&5
38073 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38074 (exit $ac_status); } && {
38075 test -z "$ac_c_werror_flag" ||
38076 test ! -s conftest.err
38077 } && test -s conftest$ac_exeext &&
38078 $as_test_x conftest$ac_exeext; then
38079 ac_cv_lib_posix4_sched_yield=yes
38080 else
38081 echo "$as_me: failed program was:" >&5
38082 sed 's/^/| /' conftest.$ac_ext >&5
38083
38084 ac_cv_lib_posix4_sched_yield=no
38085 fi
38086
38087 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38088 conftest$ac_exeext conftest.$ac_ext
38089 LIBS=$ac_check_lib_save_LIBS
38090 fi
38091 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_yield" >&5
38092 echo "${ECHO_T}$ac_cv_lib_posix4_sched_yield" >&6; }
38093 if test $ac_cv_lib_posix4_sched_yield = yes; then
38094 cat >>confdefs.h <<\_ACEOF
38095 #define HAVE_SCHED_YIELD 1
38096 _ACEOF
38097 POSIX4_LINK=" -lposix4"
38098 else
38099 { echo "$as_me:$LINENO: WARNING: wxThread::Yield will not work properly" >&5
38100 echo "$as_me: WARNING: wxThread::Yield will not work properly" >&2;}
38101
38102 fi
38103
38104
38105
38106 fi
38107
38108 fi
38109
38110 HAVE_PRIOR_FUNCS=0
38111 { echo "$as_me:$LINENO: checking for pthread_attr_getschedpolicy" >&5
38112 echo $ECHO_N "checking for pthread_attr_getschedpolicy... $ECHO_C" >&6; }
38113 if test "${ac_cv_func_pthread_attr_getschedpolicy+set}" = set; then
38114 echo $ECHO_N "(cached) $ECHO_C" >&6
38115 else
38116 cat >conftest.$ac_ext <<_ACEOF
38117 /* confdefs.h. */
38118 _ACEOF
38119 cat confdefs.h >>conftest.$ac_ext
38120 cat >>conftest.$ac_ext <<_ACEOF
38121 /* end confdefs.h. */
38122 /* Define pthread_attr_getschedpolicy to an innocuous variant, in case <limits.h> declares pthread_attr_getschedpolicy.
38123 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38124 #define pthread_attr_getschedpolicy innocuous_pthread_attr_getschedpolicy
38125
38126 /* System header to define __stub macros and hopefully few prototypes,
38127 which can conflict with char pthread_attr_getschedpolicy (); below.
38128 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38129 <limits.h> exists even on freestanding compilers. */
38130
38131 #ifdef __STDC__
38132 # include <limits.h>
38133 #else
38134 # include <assert.h>
38135 #endif
38136
38137 #undef pthread_attr_getschedpolicy
38138
38139 /* Override any GCC internal prototype to avoid an error.
38140 Use char because int might match the return type of a GCC
38141 builtin and then its argument prototype would still apply. */
38142 #ifdef __cplusplus
38143 extern "C"
38144 #endif
38145 char pthread_attr_getschedpolicy ();
38146 /* The GNU C library defines this for functions which it implements
38147 to always fail with ENOSYS. Some functions are actually named
38148 something starting with __ and the normal name is an alias. */
38149 #if defined __stub_pthread_attr_getschedpolicy || defined __stub___pthread_attr_getschedpolicy
38150 choke me
38151 #endif
38152
38153 int
38154 main ()
38155 {
38156 return pthread_attr_getschedpolicy ();
38157 ;
38158 return 0;
38159 }
38160 _ACEOF
38161 rm -f conftest.$ac_objext conftest$ac_exeext
38162 if { (ac_try="$ac_link"
38163 case "(($ac_try" in
38164 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38165 *) ac_try_echo=$ac_try;;
38166 esac
38167 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38168 (eval "$ac_link") 2>conftest.er1
38169 ac_status=$?
38170 grep -v '^ *+' conftest.er1 >conftest.err
38171 rm -f conftest.er1
38172 cat conftest.err >&5
38173 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38174 (exit $ac_status); } && {
38175 test -z "$ac_c_werror_flag" ||
38176 test ! -s conftest.err
38177 } && test -s conftest$ac_exeext &&
38178 $as_test_x conftest$ac_exeext; then
38179 ac_cv_func_pthread_attr_getschedpolicy=yes
38180 else
38181 echo "$as_me: failed program was:" >&5
38182 sed 's/^/| /' conftest.$ac_ext >&5
38183
38184 ac_cv_func_pthread_attr_getschedpolicy=no
38185 fi
38186
38187 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38188 conftest$ac_exeext conftest.$ac_ext
38189 fi
38190 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_getschedpolicy" >&5
38191 echo "${ECHO_T}$ac_cv_func_pthread_attr_getschedpolicy" >&6; }
38192 if test $ac_cv_func_pthread_attr_getschedpolicy = yes; then
38193 { echo "$as_me:$LINENO: checking for pthread_attr_setschedparam" >&5
38194 echo $ECHO_N "checking for pthread_attr_setschedparam... $ECHO_C" >&6; }
38195 if test "${ac_cv_func_pthread_attr_setschedparam+set}" = set; then
38196 echo $ECHO_N "(cached) $ECHO_C" >&6
38197 else
38198 cat >conftest.$ac_ext <<_ACEOF
38199 /* confdefs.h. */
38200 _ACEOF
38201 cat confdefs.h >>conftest.$ac_ext
38202 cat >>conftest.$ac_ext <<_ACEOF
38203 /* end confdefs.h. */
38204 /* Define pthread_attr_setschedparam to an innocuous variant, in case <limits.h> declares pthread_attr_setschedparam.
38205 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38206 #define pthread_attr_setschedparam innocuous_pthread_attr_setschedparam
38207
38208 /* System header to define __stub macros and hopefully few prototypes,
38209 which can conflict with char pthread_attr_setschedparam (); below.
38210 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38211 <limits.h> exists even on freestanding compilers. */
38212
38213 #ifdef __STDC__
38214 # include <limits.h>
38215 #else
38216 # include <assert.h>
38217 #endif
38218
38219 #undef pthread_attr_setschedparam
38220
38221 /* Override any GCC internal prototype to avoid an error.
38222 Use char because int might match the return type of a GCC
38223 builtin and then its argument prototype would still apply. */
38224 #ifdef __cplusplus
38225 extern "C"
38226 #endif
38227 char pthread_attr_setschedparam ();
38228 /* The GNU C library defines this for functions which it implements
38229 to always fail with ENOSYS. Some functions are actually named
38230 something starting with __ and the normal name is an alias. */
38231 #if defined __stub_pthread_attr_setschedparam || defined __stub___pthread_attr_setschedparam
38232 choke me
38233 #endif
38234
38235 int
38236 main ()
38237 {
38238 return pthread_attr_setschedparam ();
38239 ;
38240 return 0;
38241 }
38242 _ACEOF
38243 rm -f conftest.$ac_objext conftest$ac_exeext
38244 if { (ac_try="$ac_link"
38245 case "(($ac_try" in
38246 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38247 *) ac_try_echo=$ac_try;;
38248 esac
38249 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38250 (eval "$ac_link") 2>conftest.er1
38251 ac_status=$?
38252 grep -v '^ *+' conftest.er1 >conftest.err
38253 rm -f conftest.er1
38254 cat conftest.err >&5
38255 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38256 (exit $ac_status); } && {
38257 test -z "$ac_c_werror_flag" ||
38258 test ! -s conftest.err
38259 } && test -s conftest$ac_exeext &&
38260 $as_test_x conftest$ac_exeext; then
38261 ac_cv_func_pthread_attr_setschedparam=yes
38262 else
38263 echo "$as_me: failed program was:" >&5
38264 sed 's/^/| /' conftest.$ac_ext >&5
38265
38266 ac_cv_func_pthread_attr_setschedparam=no
38267 fi
38268
38269 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38270 conftest$ac_exeext conftest.$ac_ext
38271 fi
38272 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setschedparam" >&5
38273 echo "${ECHO_T}$ac_cv_func_pthread_attr_setschedparam" >&6; }
38274 if test $ac_cv_func_pthread_attr_setschedparam = yes; then
38275 { echo "$as_me:$LINENO: checking for sched_get_priority_max" >&5
38276 echo $ECHO_N "checking for sched_get_priority_max... $ECHO_C" >&6; }
38277 if test "${ac_cv_func_sched_get_priority_max+set}" = set; then
38278 echo $ECHO_N "(cached) $ECHO_C" >&6
38279 else
38280 cat >conftest.$ac_ext <<_ACEOF
38281 /* confdefs.h. */
38282 _ACEOF
38283 cat confdefs.h >>conftest.$ac_ext
38284 cat >>conftest.$ac_ext <<_ACEOF
38285 /* end confdefs.h. */
38286 /* Define sched_get_priority_max to an innocuous variant, in case <limits.h> declares sched_get_priority_max.
38287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38288 #define sched_get_priority_max innocuous_sched_get_priority_max
38289
38290 /* System header to define __stub macros and hopefully few prototypes,
38291 which can conflict with char sched_get_priority_max (); below.
38292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38293 <limits.h> exists even on freestanding compilers. */
38294
38295 #ifdef __STDC__
38296 # include <limits.h>
38297 #else
38298 # include <assert.h>
38299 #endif
38300
38301 #undef sched_get_priority_max
38302
38303 /* Override any GCC internal prototype to avoid an error.
38304 Use char because int might match the return type of a GCC
38305 builtin and then its argument prototype would still apply. */
38306 #ifdef __cplusplus
38307 extern "C"
38308 #endif
38309 char sched_get_priority_max ();
38310 /* The GNU C library defines this for functions which it implements
38311 to always fail with ENOSYS. Some functions are actually named
38312 something starting with __ and the normal name is an alias. */
38313 #if defined __stub_sched_get_priority_max || defined __stub___sched_get_priority_max
38314 choke me
38315 #endif
38316
38317 int
38318 main ()
38319 {
38320 return sched_get_priority_max ();
38321 ;
38322 return 0;
38323 }
38324 _ACEOF
38325 rm -f conftest.$ac_objext conftest$ac_exeext
38326 if { (ac_try="$ac_link"
38327 case "(($ac_try" in
38328 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38329 *) ac_try_echo=$ac_try;;
38330 esac
38331 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38332 (eval "$ac_link") 2>conftest.er1
38333 ac_status=$?
38334 grep -v '^ *+' conftest.er1 >conftest.err
38335 rm -f conftest.er1
38336 cat conftest.err >&5
38337 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38338 (exit $ac_status); } && {
38339 test -z "$ac_c_werror_flag" ||
38340 test ! -s conftest.err
38341 } && test -s conftest$ac_exeext &&
38342 $as_test_x conftest$ac_exeext; then
38343 ac_cv_func_sched_get_priority_max=yes
38344 else
38345 echo "$as_me: failed program was:" >&5
38346 sed 's/^/| /' conftest.$ac_ext >&5
38347
38348 ac_cv_func_sched_get_priority_max=no
38349 fi
38350
38351 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38352 conftest$ac_exeext conftest.$ac_ext
38353 fi
38354 { echo "$as_me:$LINENO: result: $ac_cv_func_sched_get_priority_max" >&5
38355 echo "${ECHO_T}$ac_cv_func_sched_get_priority_max" >&6; }
38356 if test $ac_cv_func_sched_get_priority_max = yes; then
38357 HAVE_PRIOR_FUNCS=1
38358 else
38359 { echo "$as_me:$LINENO: checking for sched_get_priority_max in -lposix4" >&5
38360 echo $ECHO_N "checking for sched_get_priority_max in -lposix4... $ECHO_C" >&6; }
38361 if test "${ac_cv_lib_posix4_sched_get_priority_max+set}" = set; then
38362 echo $ECHO_N "(cached) $ECHO_C" >&6
38363 else
38364 ac_check_lib_save_LIBS=$LIBS
38365 LIBS="-lposix4 $LIBS"
38366 cat >conftest.$ac_ext <<_ACEOF
38367 /* confdefs.h. */
38368 _ACEOF
38369 cat confdefs.h >>conftest.$ac_ext
38370 cat >>conftest.$ac_ext <<_ACEOF
38371 /* end confdefs.h. */
38372
38373 /* Override any GCC internal prototype to avoid an error.
38374 Use char because int might match the return type of a GCC
38375 builtin and then its argument prototype would still apply. */
38376 #ifdef __cplusplus
38377 extern "C"
38378 #endif
38379 char sched_get_priority_max ();
38380 int
38381 main ()
38382 {
38383 return sched_get_priority_max ();
38384 ;
38385 return 0;
38386 }
38387 _ACEOF
38388 rm -f conftest.$ac_objext conftest$ac_exeext
38389 if { (ac_try="$ac_link"
38390 case "(($ac_try" in
38391 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38392 *) ac_try_echo=$ac_try;;
38393 esac
38394 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38395 (eval "$ac_link") 2>conftest.er1
38396 ac_status=$?
38397 grep -v '^ *+' conftest.er1 >conftest.err
38398 rm -f conftest.er1
38399 cat conftest.err >&5
38400 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38401 (exit $ac_status); } && {
38402 test -z "$ac_c_werror_flag" ||
38403 test ! -s conftest.err
38404 } && test -s conftest$ac_exeext &&
38405 $as_test_x conftest$ac_exeext; then
38406 ac_cv_lib_posix4_sched_get_priority_max=yes
38407 else
38408 echo "$as_me: failed program was:" >&5
38409 sed 's/^/| /' conftest.$ac_ext >&5
38410
38411 ac_cv_lib_posix4_sched_get_priority_max=no
38412 fi
38413
38414 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38415 conftest$ac_exeext conftest.$ac_ext
38416 LIBS=$ac_check_lib_save_LIBS
38417 fi
38418 { echo "$as_me:$LINENO: result: $ac_cv_lib_posix4_sched_get_priority_max" >&5
38419 echo "${ECHO_T}$ac_cv_lib_posix4_sched_get_priority_max" >&6; }
38420 if test $ac_cv_lib_posix4_sched_get_priority_max = yes; then
38421
38422 HAVE_PRIOR_FUNCS=1
38423 POSIX4_LINK=" -lposix4"
38424
38425 fi
38426
38427
38428 fi
38429
38430
38431 fi
38432
38433
38434 fi
38435
38436
38437 if test "$HAVE_PRIOR_FUNCS" = 1; then
38438 cat >>confdefs.h <<\_ACEOF
38439 #define HAVE_THREAD_PRIORITY_FUNCTIONS 1
38440 _ACEOF
38441
38442 else
38443 { echo "$as_me:$LINENO: WARNING: Setting thread priority will not work" >&5
38444 echo "$as_me: WARNING: Setting thread priority will not work" >&2;}
38445 fi
38446
38447 { echo "$as_me:$LINENO: checking for pthread_cancel" >&5
38448 echo $ECHO_N "checking for pthread_cancel... $ECHO_C" >&6; }
38449 if test "${ac_cv_func_pthread_cancel+set}" = set; then
38450 echo $ECHO_N "(cached) $ECHO_C" >&6
38451 else
38452 cat >conftest.$ac_ext <<_ACEOF
38453 /* confdefs.h. */
38454 _ACEOF
38455 cat confdefs.h >>conftest.$ac_ext
38456 cat >>conftest.$ac_ext <<_ACEOF
38457 /* end confdefs.h. */
38458 /* Define pthread_cancel to an innocuous variant, in case <limits.h> declares pthread_cancel.
38459 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38460 #define pthread_cancel innocuous_pthread_cancel
38461
38462 /* System header to define __stub macros and hopefully few prototypes,
38463 which can conflict with char pthread_cancel (); below.
38464 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38465 <limits.h> exists even on freestanding compilers. */
38466
38467 #ifdef __STDC__
38468 # include <limits.h>
38469 #else
38470 # include <assert.h>
38471 #endif
38472
38473 #undef pthread_cancel
38474
38475 /* Override any GCC internal prototype to avoid an error.
38476 Use char because int might match the return type of a GCC
38477 builtin and then its argument prototype would still apply. */
38478 #ifdef __cplusplus
38479 extern "C"
38480 #endif
38481 char pthread_cancel ();
38482 /* The GNU C library defines this for functions which it implements
38483 to always fail with ENOSYS. Some functions are actually named
38484 something starting with __ and the normal name is an alias. */
38485 #if defined __stub_pthread_cancel || defined __stub___pthread_cancel
38486 choke me
38487 #endif
38488
38489 int
38490 main ()
38491 {
38492 return pthread_cancel ();
38493 ;
38494 return 0;
38495 }
38496 _ACEOF
38497 rm -f conftest.$ac_objext conftest$ac_exeext
38498 if { (ac_try="$ac_link"
38499 case "(($ac_try" in
38500 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38501 *) ac_try_echo=$ac_try;;
38502 esac
38503 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38504 (eval "$ac_link") 2>conftest.er1
38505 ac_status=$?
38506 grep -v '^ *+' conftest.er1 >conftest.err
38507 rm -f conftest.er1
38508 cat conftest.err >&5
38509 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38510 (exit $ac_status); } && {
38511 test -z "$ac_c_werror_flag" ||
38512 test ! -s conftest.err
38513 } && test -s conftest$ac_exeext &&
38514 $as_test_x conftest$ac_exeext; then
38515 ac_cv_func_pthread_cancel=yes
38516 else
38517 echo "$as_me: failed program was:" >&5
38518 sed 's/^/| /' conftest.$ac_ext >&5
38519
38520 ac_cv_func_pthread_cancel=no
38521 fi
38522
38523 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38524 conftest$ac_exeext conftest.$ac_ext
38525 fi
38526 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_cancel" >&5
38527 echo "${ECHO_T}$ac_cv_func_pthread_cancel" >&6; }
38528 if test $ac_cv_func_pthread_cancel = yes; then
38529 cat >>confdefs.h <<\_ACEOF
38530 #define HAVE_PTHREAD_CANCEL 1
38531 _ACEOF
38532
38533 else
38534 { echo "$as_me:$LINENO: WARNING: wxThread::Kill() will not work properly" >&5
38535 echo "$as_me: WARNING: wxThread::Kill() will not work properly" >&2;}
38536 fi
38537
38538
38539 { echo "$as_me:$LINENO: checking for pthread_mutex_timedlock" >&5
38540 echo $ECHO_N "checking for pthread_mutex_timedlock... $ECHO_C" >&6; }
38541 if test "${ac_cv_func_pthread_mutex_timedlock+set}" = set; then
38542 echo $ECHO_N "(cached) $ECHO_C" >&6
38543 else
38544 cat >conftest.$ac_ext <<_ACEOF
38545 /* confdefs.h. */
38546 _ACEOF
38547 cat confdefs.h >>conftest.$ac_ext
38548 cat >>conftest.$ac_ext <<_ACEOF
38549 /* end confdefs.h. */
38550 /* Define pthread_mutex_timedlock to an innocuous variant, in case <limits.h> declares pthread_mutex_timedlock.
38551 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38552 #define pthread_mutex_timedlock innocuous_pthread_mutex_timedlock
38553
38554 /* System header to define __stub macros and hopefully few prototypes,
38555 which can conflict with char pthread_mutex_timedlock (); below.
38556 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38557 <limits.h> exists even on freestanding compilers. */
38558
38559 #ifdef __STDC__
38560 # include <limits.h>
38561 #else
38562 # include <assert.h>
38563 #endif
38564
38565 #undef pthread_mutex_timedlock
38566
38567 /* Override any GCC internal prototype to avoid an error.
38568 Use char because int might match the return type of a GCC
38569 builtin and then its argument prototype would still apply. */
38570 #ifdef __cplusplus
38571 extern "C"
38572 #endif
38573 char pthread_mutex_timedlock ();
38574 /* The GNU C library defines this for functions which it implements
38575 to always fail with ENOSYS. Some functions are actually named
38576 something starting with __ and the normal name is an alias. */
38577 #if defined __stub_pthread_mutex_timedlock || defined __stub___pthread_mutex_timedlock
38578 choke me
38579 #endif
38580
38581 int
38582 main ()
38583 {
38584 return pthread_mutex_timedlock ();
38585 ;
38586 return 0;
38587 }
38588 _ACEOF
38589 rm -f conftest.$ac_objext conftest$ac_exeext
38590 if { (ac_try="$ac_link"
38591 case "(($ac_try" in
38592 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38593 *) ac_try_echo=$ac_try;;
38594 esac
38595 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38596 (eval "$ac_link") 2>conftest.er1
38597 ac_status=$?
38598 grep -v '^ *+' conftest.er1 >conftest.err
38599 rm -f conftest.er1
38600 cat conftest.err >&5
38601 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38602 (exit $ac_status); } && {
38603 test -z "$ac_c_werror_flag" ||
38604 test ! -s conftest.err
38605 } && test -s conftest$ac_exeext &&
38606 $as_test_x conftest$ac_exeext; then
38607 ac_cv_func_pthread_mutex_timedlock=yes
38608 else
38609 echo "$as_me: failed program was:" >&5
38610 sed 's/^/| /' conftest.$ac_ext >&5
38611
38612 ac_cv_func_pthread_mutex_timedlock=no
38613 fi
38614
38615 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38616 conftest$ac_exeext conftest.$ac_ext
38617 fi
38618 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_mutex_timedlock" >&5
38619 echo "${ECHO_T}$ac_cv_func_pthread_mutex_timedlock" >&6; }
38620 if test $ac_cv_func_pthread_mutex_timedlock = yes; then
38621 cat >>confdefs.h <<\_ACEOF
38622 #define HAVE_PTHREAD_MUTEX_TIMEDLOCK 1
38623 _ACEOF
38624
38625 else
38626 { echo "$as_me:$LINENO: WARNING: wxMutex::LockTimeout() will not work" >&5
38627 echo "$as_me: WARNING: wxMutex::LockTimeout() will not work" >&2;}
38628 fi
38629
38630
38631 { echo "$as_me:$LINENO: checking for pthread_attr_setstacksize" >&5
38632 echo $ECHO_N "checking for pthread_attr_setstacksize... $ECHO_C" >&6; }
38633 if test "${ac_cv_func_pthread_attr_setstacksize+set}" = set; then
38634 echo $ECHO_N "(cached) $ECHO_C" >&6
38635 else
38636 cat >conftest.$ac_ext <<_ACEOF
38637 /* confdefs.h. */
38638 _ACEOF
38639 cat confdefs.h >>conftest.$ac_ext
38640 cat >>conftest.$ac_ext <<_ACEOF
38641 /* end confdefs.h. */
38642 /* Define pthread_attr_setstacksize to an innocuous variant, in case <limits.h> declares pthread_attr_setstacksize.
38643 For example, HP-UX 11i <limits.h> declares gettimeofday. */
38644 #define pthread_attr_setstacksize innocuous_pthread_attr_setstacksize
38645
38646 /* System header to define __stub macros and hopefully few prototypes,
38647 which can conflict with char pthread_attr_setstacksize (); below.
38648 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
38649 <limits.h> exists even on freestanding compilers. */
38650
38651 #ifdef __STDC__
38652 # include <limits.h>
38653 #else
38654 # include <assert.h>
38655 #endif
38656
38657 #undef pthread_attr_setstacksize
38658
38659 /* Override any GCC internal prototype to avoid an error.
38660 Use char because int might match the return type of a GCC
38661 builtin and then its argument prototype would still apply. */
38662 #ifdef __cplusplus
38663 extern "C"
38664 #endif
38665 char pthread_attr_setstacksize ();
38666 /* The GNU C library defines this for functions which it implements
38667 to always fail with ENOSYS. Some functions are actually named
38668 something starting with __ and the normal name is an alias. */
38669 #if defined __stub_pthread_attr_setstacksize || defined __stub___pthread_attr_setstacksize
38670 choke me
38671 #endif
38672
38673 int
38674 main ()
38675 {
38676 return pthread_attr_setstacksize ();
38677 ;
38678 return 0;
38679 }
38680 _ACEOF
38681 rm -f conftest.$ac_objext conftest$ac_exeext
38682 if { (ac_try="$ac_link"
38683 case "(($ac_try" in
38684 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38685 *) ac_try_echo=$ac_try;;
38686 esac
38687 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38688 (eval "$ac_link") 2>conftest.er1
38689 ac_status=$?
38690 grep -v '^ *+' conftest.er1 >conftest.err
38691 rm -f conftest.er1
38692 cat conftest.err >&5
38693 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38694 (exit $ac_status); } && {
38695 test -z "$ac_c_werror_flag" ||
38696 test ! -s conftest.err
38697 } && test -s conftest$ac_exeext &&
38698 $as_test_x conftest$ac_exeext; then
38699 ac_cv_func_pthread_attr_setstacksize=yes
38700 else
38701 echo "$as_me: failed program was:" >&5
38702 sed 's/^/| /' conftest.$ac_ext >&5
38703
38704 ac_cv_func_pthread_attr_setstacksize=no
38705 fi
38706
38707 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
38708 conftest$ac_exeext conftest.$ac_ext
38709 fi
38710 { echo "$as_me:$LINENO: result: $ac_cv_func_pthread_attr_setstacksize" >&5
38711 echo "${ECHO_T}$ac_cv_func_pthread_attr_setstacksize" >&6; }
38712 if test $ac_cv_func_pthread_attr_setstacksize = yes; then
38713 cat >>confdefs.h <<\_ACEOF
38714 #define HAVE_PTHREAD_ATTR_SETSTACKSIZE 1
38715 _ACEOF
38716
38717 fi
38718
38719
38720
38721 { echo "$as_me:$LINENO: checking for pthread_mutexattr_t" >&5
38722 echo $ECHO_N "checking for pthread_mutexattr_t... $ECHO_C" >&6; }
38723 if test "${wx_cv_type_pthread_mutexattr_t+set}" = set; then
38724 echo $ECHO_N "(cached) $ECHO_C" >&6
38725 else
38726
38727 cat >conftest.$ac_ext <<_ACEOF
38728 /* confdefs.h. */
38729 _ACEOF
38730 cat confdefs.h >>conftest.$ac_ext
38731 cat >>conftest.$ac_ext <<_ACEOF
38732 /* end confdefs.h. */
38733 #include <pthread.h>
38734 int
38735 main ()
38736 {
38737
38738 pthread_mutexattr_t attr;
38739 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38740
38741 ;
38742 return 0;
38743 }
38744 _ACEOF
38745 rm -f conftest.$ac_objext
38746 if { (ac_try="$ac_compile"
38747 case "(($ac_try" in
38748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38749 *) ac_try_echo=$ac_try;;
38750 esac
38751 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38752 (eval "$ac_compile") 2>conftest.er1
38753 ac_status=$?
38754 grep -v '^ *+' conftest.er1 >conftest.err
38755 rm -f conftest.er1
38756 cat conftest.err >&5
38757 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38758 (exit $ac_status); } && {
38759 test -z "$ac_c_werror_flag" ||
38760 test ! -s conftest.err
38761 } && test -s conftest.$ac_objext; then
38762 wx_cv_type_pthread_mutexattr_t=yes
38763 else
38764 echo "$as_me: failed program was:" >&5
38765 sed 's/^/| /' conftest.$ac_ext >&5
38766
38767 wx_cv_type_pthread_mutexattr_t=no
38768
38769 fi
38770
38771 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38772
38773 fi
38774 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_mutexattr_t" >&5
38775 echo "${ECHO_T}$wx_cv_type_pthread_mutexattr_t" >&6; }
38776
38777 if test "$wx_cv_type_pthread_mutexattr_t" = "yes"; then
38778 cat >>confdefs.h <<\_ACEOF
38779 #define HAVE_PTHREAD_MUTEXATTR_T 1
38780 _ACEOF
38781
38782
38783 { echo "$as_me:$LINENO: checking for pthread_mutexattr_settype declaration" >&5
38784 echo $ECHO_N "checking for pthread_mutexattr_settype declaration... $ECHO_C" >&6; }
38785 if test "${wx_cv_func_pthread_mutexattr_settype_decl+set}" = set; then
38786 echo $ECHO_N "(cached) $ECHO_C" >&6
38787 else
38788
38789 cat >conftest.$ac_ext <<_ACEOF
38790 /* confdefs.h. */
38791 _ACEOF
38792 cat confdefs.h >>conftest.$ac_ext
38793 cat >>conftest.$ac_ext <<_ACEOF
38794 /* end confdefs.h. */
38795 #include <pthread.h>
38796 int
38797 main ()
38798 {
38799
38800 pthread_mutexattr_t attr;
38801 pthread_mutexattr_settype(&attr, PTHREAD_MUTEX_RECURSIVE);
38802
38803 ;
38804 return 0;
38805 }
38806 _ACEOF
38807 rm -f conftest.$ac_objext
38808 if { (ac_try="$ac_compile"
38809 case "(($ac_try" in
38810 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38811 *) ac_try_echo=$ac_try;;
38812 esac
38813 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38814 (eval "$ac_compile") 2>conftest.er1
38815 ac_status=$?
38816 grep -v '^ *+' conftest.er1 >conftest.err
38817 rm -f conftest.er1
38818 cat conftest.err >&5
38819 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38820 (exit $ac_status); } && {
38821 test -z "$ac_c_werror_flag" ||
38822 test ! -s conftest.err
38823 } && test -s conftest.$ac_objext; then
38824 wx_cv_func_pthread_mutexattr_settype_decl=yes
38825 else
38826 echo "$as_me: failed program was:" >&5
38827 sed 's/^/| /' conftest.$ac_ext >&5
38828
38829 wx_cv_func_pthread_mutexattr_settype_decl=no
38830
38831 fi
38832
38833 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38834
38835 fi
38836 { echo "$as_me:$LINENO: result: $wx_cv_func_pthread_mutexattr_settype_decl" >&5
38837 echo "${ECHO_T}$wx_cv_func_pthread_mutexattr_settype_decl" >&6; }
38838 if test "$wx_cv_func_pthread_mutexattr_settype_decl" = "yes"; then
38839 cat >>confdefs.h <<\_ACEOF
38840 #define HAVE_PTHREAD_MUTEXATTR_SETTYPE_DECL 1
38841 _ACEOF
38842
38843 fi
38844 else
38845 { echo "$as_me:$LINENO: checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER" >&5
38846 echo $ECHO_N "checking for PTHREAD_RECURSIVE_MUTEX_INITIALIZER... $ECHO_C" >&6; }
38847 if test "${wx_cv_type_pthread_rec_mutex_init+set}" = set; then
38848 echo $ECHO_N "(cached) $ECHO_C" >&6
38849 else
38850
38851 cat >conftest.$ac_ext <<_ACEOF
38852 /* confdefs.h. */
38853 _ACEOF
38854 cat confdefs.h >>conftest.$ac_ext
38855 cat >>conftest.$ac_ext <<_ACEOF
38856 /* end confdefs.h. */
38857 #include <pthread.h>
38858 int
38859 main ()
38860 {
38861
38862 pthread_mutex_t attr = PTHREAD_RECURSIVE_MUTEX_INITIALIZER_NP;
38863
38864 ;
38865 return 0;
38866 }
38867 _ACEOF
38868 rm -f conftest.$ac_objext
38869 if { (ac_try="$ac_compile"
38870 case "(($ac_try" in
38871 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38872 *) ac_try_echo=$ac_try;;
38873 esac
38874 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38875 (eval "$ac_compile") 2>conftest.er1
38876 ac_status=$?
38877 grep -v '^ *+' conftest.er1 >conftest.err
38878 rm -f conftest.er1
38879 cat conftest.err >&5
38880 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38881 (exit $ac_status); } && {
38882 test -z "$ac_c_werror_flag" ||
38883 test ! -s conftest.err
38884 } && test -s conftest.$ac_objext; then
38885
38886 wx_cv_type_pthread_rec_mutex_init=yes
38887
38888 else
38889 echo "$as_me: failed program was:" >&5
38890 sed 's/^/| /' conftest.$ac_ext >&5
38891
38892
38893 wx_cv_type_pthread_rec_mutex_init=no
38894
38895
38896 fi
38897
38898 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38899
38900 fi
38901 { echo "$as_me:$LINENO: result: $wx_cv_type_pthread_rec_mutex_init" >&5
38902 echo "${ECHO_T}$wx_cv_type_pthread_rec_mutex_init" >&6; }
38903 if test "$wx_cv_type_pthread_rec_mutex_init" = "yes"; then
38904 cat >>confdefs.h <<\_ACEOF
38905 #define HAVE_PTHREAD_RECURSIVE_MUTEX_INITIALIZER 1
38906 _ACEOF
38907
38908 else
38909 { echo "$as_me:$LINENO: WARNING: wxMutex won't be recursive on this platform" >&5
38910 echo "$as_me: WARNING: wxMutex won't be recursive on this platform" >&2;}
38911 fi
38912 fi
38913 fi
38914
38915 else
38916 if test "$wxUSE_THREADS" = "yes" ; then
38917 case "${host}" in
38918 *-*-mingw32* )
38919 { echo "$as_me:$LINENO: checking if compiler supports -mthreads" >&5
38920 echo $ECHO_N "checking if compiler supports -mthreads... $ECHO_C" >&6; }
38921 if test "${wx_cv_cflags_mthread+set}" = set; then
38922 echo $ECHO_N "(cached) $ECHO_C" >&6
38923 else
38924
38925 CFLAGS_OLD="$CFLAGS"
38926 CFLAGS="-mthreads $CFLAGS"
38927 cat >conftest.$ac_ext <<_ACEOF
38928 /* confdefs.h. */
38929 _ACEOF
38930 cat confdefs.h >>conftest.$ac_ext
38931 cat >>conftest.$ac_ext <<_ACEOF
38932 /* end confdefs.h. */
38933
38934 int
38935 main ()
38936 {
38937
38938 ;
38939 return 0;
38940 }
38941 _ACEOF
38942 rm -f conftest.$ac_objext
38943 if { (ac_try="$ac_compile"
38944 case "(($ac_try" in
38945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
38946 *) ac_try_echo=$ac_try;;
38947 esac
38948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
38949 (eval "$ac_compile") 2>conftest.er1
38950 ac_status=$?
38951 grep -v '^ *+' conftest.er1 >conftest.err
38952 rm -f conftest.er1
38953 cat conftest.err >&5
38954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
38955 (exit $ac_status); } && {
38956 test -z "$ac_c_werror_flag" ||
38957 test ! -s conftest.err
38958 } && test -s conftest.$ac_objext; then
38959 wx_cv_cflags_mthread=yes
38960 else
38961 echo "$as_me: failed program was:" >&5
38962 sed 's/^/| /' conftest.$ac_ext >&5
38963
38964 wx_cv_cflags_mthread=no
38965
38966 fi
38967
38968 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
38969
38970
38971 fi
38972 { echo "$as_me:$LINENO: result: $wx_cv_cflags_mthread" >&5
38973 echo "${ECHO_T}$wx_cv_cflags_mthread" >&6; }
38974
38975 if test "$wx_cv_cflags_mthread" = "yes"; then
38976 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mthreads"
38977 LDFLAGS="$LDFLAGS -mthreads"
38978 else
38979 CFLAGS="$CFLAGS_OLD"
38980 fi
38981 ;;
38982 *-pc-os2*emx )
38983 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -Zmt -D__ST_MT_ERRNO__"
38984 LDFLAGS="$LDFLAGS -Zmt"
38985 ;;
38986 esac
38987 fi
38988 fi
38989
38990 { echo "$as_me:$LINENO: checking for localtime_r" >&5
38991 echo $ECHO_N "checking for localtime_r... $ECHO_C" >&6; }
38992 if test "${ac_cv_func_localtime_r+set}" = set; then
38993 echo $ECHO_N "(cached) $ECHO_C" >&6
38994 else
38995 cat >conftest.$ac_ext <<_ACEOF
38996 /* confdefs.h. */
38997 _ACEOF
38998 cat confdefs.h >>conftest.$ac_ext
38999 cat >>conftest.$ac_ext <<_ACEOF
39000 /* end confdefs.h. */
39001 /* Define localtime_r to an innocuous variant, in case <limits.h> declares localtime_r.
39002 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39003 #define localtime_r innocuous_localtime_r
39004
39005 /* System header to define __stub macros and hopefully few prototypes,
39006 which can conflict with char localtime_r (); below.
39007 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39008 <limits.h> exists even on freestanding compilers. */
39009
39010 #ifdef __STDC__
39011 # include <limits.h>
39012 #else
39013 # include <assert.h>
39014 #endif
39015
39016 #undef localtime_r
39017
39018 /* Override any GCC internal prototype to avoid an error.
39019 Use char because int might match the return type of a GCC
39020 builtin and then its argument prototype would still apply. */
39021 #ifdef __cplusplus
39022 extern "C"
39023 #endif
39024 char localtime_r ();
39025 /* The GNU C library defines this for functions which it implements
39026 to always fail with ENOSYS. Some functions are actually named
39027 something starting with __ and the normal name is an alias. */
39028 #if defined __stub_localtime_r || defined __stub___localtime_r
39029 choke me
39030 #endif
39031
39032 int
39033 main ()
39034 {
39035 return localtime_r ();
39036 ;
39037 return 0;
39038 }
39039 _ACEOF
39040 rm -f conftest.$ac_objext conftest$ac_exeext
39041 if { (ac_try="$ac_link"
39042 case "(($ac_try" in
39043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39044 *) ac_try_echo=$ac_try;;
39045 esac
39046 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39047 (eval "$ac_link") 2>conftest.er1
39048 ac_status=$?
39049 grep -v '^ *+' conftest.er1 >conftest.err
39050 rm -f conftest.er1
39051 cat conftest.err >&5
39052 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39053 (exit $ac_status); } && {
39054 test -z "$ac_c_werror_flag" ||
39055 test ! -s conftest.err
39056 } && test -s conftest$ac_exeext &&
39057 $as_test_x conftest$ac_exeext; then
39058 ac_cv_func_localtime_r=yes
39059 else
39060 echo "$as_me: failed program was:" >&5
39061 sed 's/^/| /' conftest.$ac_ext >&5
39062
39063 ac_cv_func_localtime_r=no
39064 fi
39065
39066 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39067 conftest$ac_exeext conftest.$ac_ext
39068 fi
39069 { echo "$as_me:$LINENO: result: $ac_cv_func_localtime_r" >&5
39070 echo "${ECHO_T}$ac_cv_func_localtime_r" >&6; }
39071 if test $ac_cv_func_localtime_r = yes; then
39072 cat >>confdefs.h <<\_ACEOF
39073 #define HAVE_LOCALTIME_R 1
39074 _ACEOF
39075
39076 fi
39077
39078 { echo "$as_me:$LINENO: checking for gmtime_r" >&5
39079 echo $ECHO_N "checking for gmtime_r... $ECHO_C" >&6; }
39080 if test "${ac_cv_func_gmtime_r+set}" = set; then
39081 echo $ECHO_N "(cached) $ECHO_C" >&6
39082 else
39083 cat >conftest.$ac_ext <<_ACEOF
39084 /* confdefs.h. */
39085 _ACEOF
39086 cat confdefs.h >>conftest.$ac_ext
39087 cat >>conftest.$ac_ext <<_ACEOF
39088 /* end confdefs.h. */
39089 /* Define gmtime_r to an innocuous variant, in case <limits.h> declares gmtime_r.
39090 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39091 #define gmtime_r innocuous_gmtime_r
39092
39093 /* System header to define __stub macros and hopefully few prototypes,
39094 which can conflict with char gmtime_r (); below.
39095 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39096 <limits.h> exists even on freestanding compilers. */
39097
39098 #ifdef __STDC__
39099 # include <limits.h>
39100 #else
39101 # include <assert.h>
39102 #endif
39103
39104 #undef gmtime_r
39105
39106 /* Override any GCC internal prototype to avoid an error.
39107 Use char because int might match the return type of a GCC
39108 builtin and then its argument prototype would still apply. */
39109 #ifdef __cplusplus
39110 extern "C"
39111 #endif
39112 char gmtime_r ();
39113 /* The GNU C library defines this for functions which it implements
39114 to always fail with ENOSYS. Some functions are actually named
39115 something starting with __ and the normal name is an alias. */
39116 #if defined __stub_gmtime_r || defined __stub___gmtime_r
39117 choke me
39118 #endif
39119
39120 int
39121 main ()
39122 {
39123 return gmtime_r ();
39124 ;
39125 return 0;
39126 }
39127 _ACEOF
39128 rm -f conftest.$ac_objext conftest$ac_exeext
39129 if { (ac_try="$ac_link"
39130 case "(($ac_try" in
39131 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39132 *) ac_try_echo=$ac_try;;
39133 esac
39134 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39135 (eval "$ac_link") 2>conftest.er1
39136 ac_status=$?
39137 grep -v '^ *+' conftest.er1 >conftest.err
39138 rm -f conftest.er1
39139 cat conftest.err >&5
39140 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39141 (exit $ac_status); } && {
39142 test -z "$ac_c_werror_flag" ||
39143 test ! -s conftest.err
39144 } && test -s conftest$ac_exeext &&
39145 $as_test_x conftest$ac_exeext; then
39146 ac_cv_func_gmtime_r=yes
39147 else
39148 echo "$as_me: failed program was:" >&5
39149 sed 's/^/| /' conftest.$ac_ext >&5
39150
39151 ac_cv_func_gmtime_r=no
39152 fi
39153
39154 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39155 conftest$ac_exeext conftest.$ac_ext
39156 fi
39157 { echo "$as_me:$LINENO: result: $ac_cv_func_gmtime_r" >&5
39158 echo "${ECHO_T}$ac_cv_func_gmtime_r" >&6; }
39159 if test $ac_cv_func_gmtime_r = yes; then
39160 cat >>confdefs.h <<\_ACEOF
39161 #define HAVE_GMTIME_R 1
39162 _ACEOF
39163
39164 fi
39165
39166 { echo "$as_me:$LINENO: checking for readdir_r" >&5
39167 echo $ECHO_N "checking for readdir_r... $ECHO_C" >&6; }
39168 if test "${ac_cv_func_readdir_r+set}" = set; then
39169 echo $ECHO_N "(cached) $ECHO_C" >&6
39170 else
39171 cat >conftest.$ac_ext <<_ACEOF
39172 /* confdefs.h. */
39173 _ACEOF
39174 cat confdefs.h >>conftest.$ac_ext
39175 cat >>conftest.$ac_ext <<_ACEOF
39176 /* end confdefs.h. */
39177 /* Define readdir_r to an innocuous variant, in case <limits.h> declares readdir_r.
39178 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39179 #define readdir_r innocuous_readdir_r
39180
39181 /* System header to define __stub macros and hopefully few prototypes,
39182 which can conflict with char readdir_r (); below.
39183 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39184 <limits.h> exists even on freestanding compilers. */
39185
39186 #ifdef __STDC__
39187 # include <limits.h>
39188 #else
39189 # include <assert.h>
39190 #endif
39191
39192 #undef readdir_r
39193
39194 /* Override any GCC internal prototype to avoid an error.
39195 Use char because int might match the return type of a GCC
39196 builtin and then its argument prototype would still apply. */
39197 #ifdef __cplusplus
39198 extern "C"
39199 #endif
39200 char readdir_r ();
39201 /* The GNU C library defines this for functions which it implements
39202 to always fail with ENOSYS. Some functions are actually named
39203 something starting with __ and the normal name is an alias. */
39204 #if defined __stub_readdir_r || defined __stub___readdir_r
39205 choke me
39206 #endif
39207
39208 int
39209 main ()
39210 {
39211 return readdir_r ();
39212 ;
39213 return 0;
39214 }
39215 _ACEOF
39216 rm -f conftest.$ac_objext conftest$ac_exeext
39217 if { (ac_try="$ac_link"
39218 case "(($ac_try" in
39219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39220 *) ac_try_echo=$ac_try;;
39221 esac
39222 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39223 (eval "$ac_link") 2>conftest.er1
39224 ac_status=$?
39225 grep -v '^ *+' conftest.er1 >conftest.err
39226 rm -f conftest.er1
39227 cat conftest.err >&5
39228 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39229 (exit $ac_status); } && {
39230 test -z "$ac_c_werror_flag" ||
39231 test ! -s conftest.err
39232 } && test -s conftest$ac_exeext &&
39233 $as_test_x conftest$ac_exeext; then
39234 ac_cv_func_readdir_r=yes
39235 else
39236 echo "$as_me: failed program was:" >&5
39237 sed 's/^/| /' conftest.$ac_ext >&5
39238
39239 ac_cv_func_readdir_r=no
39240 fi
39241
39242 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39243 conftest$ac_exeext conftest.$ac_ext
39244 fi
39245 { echo "$as_me:$LINENO: result: $ac_cv_func_readdir_r" >&5
39246 echo "${ECHO_T}$ac_cv_func_readdir_r" >&6; }
39247 if test $ac_cv_func_readdir_r = yes; then
39248 cat >>confdefs.h <<\_ACEOF
39249 #define HAVE_READDIR_R 1
39250 _ACEOF
39251
39252 fi
39253
39254
39255
39256
39257 ac_ext=c
39258 ac_cpp='$CPP $CPPFLAGS'
39259 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39260 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39261 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39262
39263 { echo "$as_me:$LINENO: checking how many arguments gethostbyname_r() takes" >&5
39264 echo $ECHO_N "checking how many arguments gethostbyname_r() takes... $ECHO_C" >&6; }
39265
39266 if test "${ac_cv_func_which_gethostbyname_r+set}" = set; then
39267 echo $ECHO_N "(cached) $ECHO_C" >&6
39268 else
39269
39270
39271 ################################################################
39272
39273 ac_cv_func_which_gethostbyname_r=unknown
39274
39275 #
39276 # ONE ARGUMENT (sanity check)
39277 #
39278
39279 # This should fail, as there is no variant of gethostbyname_r() that takes
39280 # a single argument. If it actually compiles, then we can assume that
39281 # netdb.h is not declaring the function, and the compiler is thereby
39282 # assuming an implicit prototype. In which case, we're out of luck.
39283 #
39284 cat >conftest.$ac_ext <<_ACEOF
39285 /* confdefs.h. */
39286 _ACEOF
39287 cat confdefs.h >>conftest.$ac_ext
39288 cat >>conftest.$ac_ext <<_ACEOF
39289 /* end confdefs.h. */
39290 #include <netdb.h>
39291 int
39292 main ()
39293 {
39294
39295 char *name = "www.gnu.org";
39296 (void)gethostbyname_r(name) /* ; */
39297
39298 ;
39299 return 0;
39300 }
39301 _ACEOF
39302 rm -f conftest.$ac_objext
39303 if { (ac_try="$ac_compile"
39304 case "(($ac_try" in
39305 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39306 *) ac_try_echo=$ac_try;;
39307 esac
39308 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39309 (eval "$ac_compile") 2>conftest.er1
39310 ac_status=$?
39311 grep -v '^ *+' conftest.er1 >conftest.err
39312 rm -f conftest.er1
39313 cat conftest.err >&5
39314 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39315 (exit $ac_status); } && {
39316 test -z "$ac_c_werror_flag" ||
39317 test ! -s conftest.err
39318 } && test -s conftest.$ac_objext; then
39319 ac_cv_func_which_gethostbyname_r=no
39320 else
39321 echo "$as_me: failed program was:" >&5
39322 sed 's/^/| /' conftest.$ac_ext >&5
39323
39324
39325 fi
39326
39327 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39328
39329 #
39330 # SIX ARGUMENTS
39331 # (e.g. Linux)
39332 #
39333
39334 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39335
39336 cat >conftest.$ac_ext <<_ACEOF
39337 /* confdefs.h. */
39338 _ACEOF
39339 cat confdefs.h >>conftest.$ac_ext
39340 cat >>conftest.$ac_ext <<_ACEOF
39341 /* end confdefs.h. */
39342 #include <netdb.h>
39343 int
39344 main ()
39345 {
39346
39347 char *name = "www.gnu.org";
39348 struct hostent ret, *retp;
39349 char buf[1024];
39350 int buflen = 1024;
39351 int my_h_errno;
39352 (void)gethostbyname_r(name, &ret, buf, buflen, &retp, &my_h_errno) /* ; */
39353
39354 ;
39355 return 0;
39356 }
39357 _ACEOF
39358 rm -f conftest.$ac_objext
39359 if { (ac_try="$ac_compile"
39360 case "(($ac_try" in
39361 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39362 *) ac_try_echo=$ac_try;;
39363 esac
39364 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39365 (eval "$ac_compile") 2>conftest.er1
39366 ac_status=$?
39367 grep -v '^ *+' conftest.er1 >conftest.err
39368 rm -f conftest.er1
39369 cat conftest.err >&5
39370 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39371 (exit $ac_status); } && {
39372 test -z "$ac_c_werror_flag" ||
39373 test ! -s conftest.err
39374 } && test -s conftest.$ac_objext; then
39375 ac_cv_func_which_gethostbyname_r=six
39376 else
39377 echo "$as_me: failed program was:" >&5
39378 sed 's/^/| /' conftest.$ac_ext >&5
39379
39380
39381 fi
39382
39383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39384
39385 fi
39386
39387 #
39388 # FIVE ARGUMENTS
39389 # (e.g. Solaris)
39390 #
39391
39392 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39393
39394 cat >conftest.$ac_ext <<_ACEOF
39395 /* confdefs.h. */
39396 _ACEOF
39397 cat confdefs.h >>conftest.$ac_ext
39398 cat >>conftest.$ac_ext <<_ACEOF
39399 /* end confdefs.h. */
39400 #include <netdb.h>
39401 int
39402 main ()
39403 {
39404
39405 char *name = "www.gnu.org";
39406 struct hostent ret;
39407 char buf[1024];
39408 int buflen = 1024;
39409 int my_h_errno;
39410 (void)gethostbyname_r(name, &ret, buf, buflen, &my_h_errno) /* ; */
39411
39412 ;
39413 return 0;
39414 }
39415 _ACEOF
39416 rm -f conftest.$ac_objext
39417 if { (ac_try="$ac_compile"
39418 case "(($ac_try" in
39419 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39420 *) ac_try_echo=$ac_try;;
39421 esac
39422 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39423 (eval "$ac_compile") 2>conftest.er1
39424 ac_status=$?
39425 grep -v '^ *+' conftest.er1 >conftest.err
39426 rm -f conftest.er1
39427 cat conftest.err >&5
39428 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39429 (exit $ac_status); } && {
39430 test -z "$ac_c_werror_flag" ||
39431 test ! -s conftest.err
39432 } && test -s conftest.$ac_objext; then
39433 ac_cv_func_which_gethostbyname_r=five
39434 else
39435 echo "$as_me: failed program was:" >&5
39436 sed 's/^/| /' conftest.$ac_ext >&5
39437
39438
39439 fi
39440
39441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39442
39443 fi
39444
39445 #
39446 # THREE ARGUMENTS
39447 # (e.g. AIX, HP-UX, Tru64)
39448 #
39449
39450 if test "$ac_cv_func_which_gethostbyname_r" = "unknown"; then
39451
39452 cat >conftest.$ac_ext <<_ACEOF
39453 /* confdefs.h. */
39454 _ACEOF
39455 cat confdefs.h >>conftest.$ac_ext
39456 cat >>conftest.$ac_ext <<_ACEOF
39457 /* end confdefs.h. */
39458 #include <netdb.h>
39459 int
39460 main ()
39461 {
39462
39463 char *name = "www.gnu.org";
39464 struct hostent ret;
39465 struct hostent_data data;
39466 (void)gethostbyname_r(name, &ret, &data) /* ; */
39467
39468 ;
39469 return 0;
39470 }
39471 _ACEOF
39472 rm -f conftest.$ac_objext
39473 if { (ac_try="$ac_compile"
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_compile") 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_objext; then
39489 ac_cv_func_which_gethostbyname_r=three
39490 else
39491 echo "$as_me: failed program was:" >&5
39492 sed 's/^/| /' conftest.$ac_ext >&5
39493
39494
39495 fi
39496
39497 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39498
39499 fi
39500
39501 ################################################################
39502
39503
39504 fi
39505
39506 case "$ac_cv_func_which_gethostbyname_r" in
39507 three)
39508 { echo "$as_me:$LINENO: result: three" >&5
39509 echo "${ECHO_T}three" >&6; }
39510 cat >>confdefs.h <<\_ACEOF
39511 #define HAVE_FUNC_GETHOSTBYNAME_R_3 1
39512 _ACEOF
39513
39514 ;;
39515
39516 five)
39517 { echo "$as_me:$LINENO: result: five" >&5
39518 echo "${ECHO_T}five" >&6; }
39519 cat >>confdefs.h <<\_ACEOF
39520 #define HAVE_FUNC_GETHOSTBYNAME_R_5 1
39521 _ACEOF
39522
39523 ;;
39524
39525 six)
39526 { echo "$as_me:$LINENO: result: six" >&5
39527 echo "${ECHO_T}six" >&6; }
39528 cat >>confdefs.h <<\_ACEOF
39529 #define HAVE_FUNC_GETHOSTBYNAME_R_6 1
39530 _ACEOF
39531
39532 ;;
39533
39534 no)
39535 { echo "$as_me:$LINENO: result: cannot find function declaration in netdb.h" >&5
39536 echo "${ECHO_T}cannot find function declaration in netdb.h" >&6; }
39537 ;;
39538
39539 unknown)
39540 { echo "$as_me:$LINENO: result: can't tell" >&5
39541 echo "${ECHO_T}can't tell" >&6; }
39542 ;;
39543
39544 *)
39545 { { echo "$as_me:$LINENO: error: internal error" >&5
39546 echo "$as_me: error: internal error" >&2;}
39547 { (exit 1); exit 1; }; }
39548 ;;
39549 esac
39550
39551 ac_ext=c
39552 ac_cpp='$CPP $CPPFLAGS'
39553 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39554 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39555 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39556
39557
39558
39559 if test "x$ac_cv_func_which_gethostbyname_r" = "xno" -o \
39560 "x$ac_cv_func_which_gethostbyname_r" = "xunknown" ; then
39561 { echo "$as_me:$LINENO: checking for gethostbyname" >&5
39562 echo $ECHO_N "checking for gethostbyname... $ECHO_C" >&6; }
39563 if test "${ac_cv_func_gethostbyname+set}" = set; then
39564 echo $ECHO_N "(cached) $ECHO_C" >&6
39565 else
39566 cat >conftest.$ac_ext <<_ACEOF
39567 /* confdefs.h. */
39568 _ACEOF
39569 cat confdefs.h >>conftest.$ac_ext
39570 cat >>conftest.$ac_ext <<_ACEOF
39571 /* end confdefs.h. */
39572 /* Define gethostbyname to an innocuous variant, in case <limits.h> declares gethostbyname.
39573 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39574 #define gethostbyname innocuous_gethostbyname
39575
39576 /* System header to define __stub macros and hopefully few prototypes,
39577 which can conflict with char gethostbyname (); below.
39578 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39579 <limits.h> exists even on freestanding compilers. */
39580
39581 #ifdef __STDC__
39582 # include <limits.h>
39583 #else
39584 # include <assert.h>
39585 #endif
39586
39587 #undef gethostbyname
39588
39589 /* Override any GCC internal prototype to avoid an error.
39590 Use char because int might match the return type of a GCC
39591 builtin and then its argument prototype would still apply. */
39592 #ifdef __cplusplus
39593 extern "C"
39594 #endif
39595 char gethostbyname ();
39596 /* The GNU C library defines this for functions which it implements
39597 to always fail with ENOSYS. Some functions are actually named
39598 something starting with __ and the normal name is an alias. */
39599 #if defined __stub_gethostbyname || defined __stub___gethostbyname
39600 choke me
39601 #endif
39602
39603 int
39604 main ()
39605 {
39606 return gethostbyname ();
39607 ;
39608 return 0;
39609 }
39610 _ACEOF
39611 rm -f conftest.$ac_objext conftest$ac_exeext
39612 if { (ac_try="$ac_link"
39613 case "(($ac_try" in
39614 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39615 *) ac_try_echo=$ac_try;;
39616 esac
39617 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39618 (eval "$ac_link") 2>conftest.er1
39619 ac_status=$?
39620 grep -v '^ *+' conftest.er1 >conftest.err
39621 rm -f conftest.er1
39622 cat conftest.err >&5
39623 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39624 (exit $ac_status); } && {
39625 test -z "$ac_c_werror_flag" ||
39626 test ! -s conftest.err
39627 } && test -s conftest$ac_exeext &&
39628 $as_test_x conftest$ac_exeext; then
39629 ac_cv_func_gethostbyname=yes
39630 else
39631 echo "$as_me: failed program was:" >&5
39632 sed 's/^/| /' conftest.$ac_ext >&5
39633
39634 ac_cv_func_gethostbyname=no
39635 fi
39636
39637 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39638 conftest$ac_exeext conftest.$ac_ext
39639 fi
39640 { echo "$as_me:$LINENO: result: $ac_cv_func_gethostbyname" >&5
39641 echo "${ECHO_T}$ac_cv_func_gethostbyname" >&6; }
39642 if test $ac_cv_func_gethostbyname = yes; then
39643 cat >>confdefs.h <<\_ACEOF
39644 #define HAVE_GETHOSTBYNAME 1
39645 _ACEOF
39646
39647 fi
39648
39649 fi
39650
39651 { echo "$as_me:$LINENO: checking how many arguments getservbyname_r() takes" >&5
39652 echo $ECHO_N "checking how many arguments getservbyname_r() takes... $ECHO_C" >&6; }
39653 if test "${ac_cv_func_which_getservbyname_r+set}" = set; then
39654 echo $ECHO_N "(cached) $ECHO_C" >&6
39655 else
39656
39657 ac_ext=cpp
39658 ac_cpp='$CXXCPP $CPPFLAGS'
39659 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39660 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39661 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
39662
39663
39664 cat >conftest.$ac_ext <<_ACEOF
39665 /* confdefs.h. */
39666 _ACEOF
39667 cat confdefs.h >>conftest.$ac_ext
39668 cat >>conftest.$ac_ext <<_ACEOF
39669 /* end confdefs.h. */
39670 #include <netdb.h>
39671 int
39672 main ()
39673 {
39674
39675 char *name;
39676 char *proto;
39677 struct servent *se, *res;
39678 char buffer[2048];
39679 int buflen = 2048;
39680 (void) getservbyname_r(name, proto, se, buffer, buflen, &res)
39681
39682 ;
39683 return 0;
39684 }
39685 _ACEOF
39686 rm -f conftest.$ac_objext
39687 if { (ac_try="$ac_compile"
39688 case "(($ac_try" in
39689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39690 *) ac_try_echo=$ac_try;;
39691 esac
39692 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39693 (eval "$ac_compile") 2>conftest.er1
39694 ac_status=$?
39695 grep -v '^ *+' conftest.er1 >conftest.err
39696 rm -f conftest.er1
39697 cat conftest.err >&5
39698 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39699 (exit $ac_status); } && {
39700 test -z "$ac_cxx_werror_flag" ||
39701 test ! -s conftest.err
39702 } && test -s conftest.$ac_objext; then
39703 ac_cv_func_which_getservbyname_r=six
39704 else
39705 echo "$as_me: failed program was:" >&5
39706 sed 's/^/| /' conftest.$ac_ext >&5
39707
39708
39709 cat >conftest.$ac_ext <<_ACEOF
39710 /* confdefs.h. */
39711 _ACEOF
39712 cat confdefs.h >>conftest.$ac_ext
39713 cat >>conftest.$ac_ext <<_ACEOF
39714 /* end confdefs.h. */
39715 #include <netdb.h>
39716 int
39717 main ()
39718 {
39719
39720 char *name;
39721 char *proto;
39722 struct servent *se;
39723 char buffer[2048];
39724 int buflen = 2048;
39725 (void) getservbyname_r(name, proto, se, buffer, buflen)
39726
39727 ;
39728 return 0;
39729 }
39730 _ACEOF
39731 rm -f conftest.$ac_objext
39732 if { (ac_try="$ac_compile"
39733 case "(($ac_try" in
39734 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39735 *) ac_try_echo=$ac_try;;
39736 esac
39737 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39738 (eval "$ac_compile") 2>conftest.er1
39739 ac_status=$?
39740 grep -v '^ *+' conftest.er1 >conftest.err
39741 rm -f conftest.er1
39742 cat conftest.err >&5
39743 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39744 (exit $ac_status); } && {
39745 test -z "$ac_cxx_werror_flag" ||
39746 test ! -s conftest.err
39747 } && test -s conftest.$ac_objext; then
39748 ac_cv_func_which_getservbyname_r=five
39749 else
39750 echo "$as_me: failed program was:" >&5
39751 sed 's/^/| /' conftest.$ac_ext >&5
39752
39753
39754 cat >conftest.$ac_ext <<_ACEOF
39755 /* confdefs.h. */
39756 _ACEOF
39757 cat confdefs.h >>conftest.$ac_ext
39758 cat >>conftest.$ac_ext <<_ACEOF
39759 /* end confdefs.h. */
39760 #include <netdb.h>
39761 int
39762 main ()
39763 {
39764
39765 char *name;
39766 char *proto;
39767 struct servent *se;
39768 struct servent_data data;
39769 (void) getservbyname_r(name, proto, se, &data);
39770
39771 ;
39772 return 0;
39773 }
39774 _ACEOF
39775 rm -f conftest.$ac_objext
39776 if { (ac_try="$ac_compile"
39777 case "(($ac_try" in
39778 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39779 *) ac_try_echo=$ac_try;;
39780 esac
39781 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39782 (eval "$ac_compile") 2>conftest.er1
39783 ac_status=$?
39784 grep -v '^ *+' conftest.er1 >conftest.err
39785 rm -f conftest.er1
39786 cat conftest.err >&5
39787 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39788 (exit $ac_status); } && {
39789 test -z "$ac_cxx_werror_flag" ||
39790 test ! -s conftest.err
39791 } && test -s conftest.$ac_objext; then
39792 ac_cv_func_which_getservbyname_r=four
39793 else
39794 echo "$as_me: failed program was:" >&5
39795 sed 's/^/| /' conftest.$ac_ext >&5
39796
39797 ac_cv_func_which_getservbyname_r=no
39798
39799 fi
39800
39801 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39802
39803
39804 fi
39805
39806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39807
39808
39809 fi
39810
39811 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
39812 ac_ext=c
39813 ac_cpp='$CPP $CPPFLAGS'
39814 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
39815 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
39816 ac_compiler_gnu=$ac_cv_c_compiler_gnu
39817
39818
39819
39820 fi
39821 { echo "$as_me:$LINENO: result: $ac_cv_func_which_getservbyname_r" >&5
39822 echo "${ECHO_T}$ac_cv_func_which_getservbyname_r" >&6; }
39823
39824 if test $ac_cv_func_which_getservbyname_r = six; then
39825 cat >>confdefs.h <<\_ACEOF
39826 #define HAVE_FUNC_GETSERVBYNAME_R_6 1
39827 _ACEOF
39828
39829 elif test $ac_cv_func_which_getservbyname_r = five; then
39830 cat >>confdefs.h <<\_ACEOF
39831 #define HAVE_FUNC_GETSERVBYNAME_R_5 1
39832 _ACEOF
39833
39834 elif test $ac_cv_func_which_getservbyname_r = four; then
39835 cat >>confdefs.h <<\_ACEOF
39836 #define HAVE_FUNC_GETSERVBYNAME_R_4 1
39837 _ACEOF
39838
39839 fi
39840
39841
39842 if test "x$ac_cv_func_which_getservbyname_r" = "xno" -o \
39843 "x$ac_cv_func_which_getservbyname_r" = "xunknown" ; then
39844
39845 for ac_func in getservbyname
39846 do
39847 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
39848 { echo "$as_me:$LINENO: checking for $ac_func" >&5
39849 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
39850 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
39851 echo $ECHO_N "(cached) $ECHO_C" >&6
39852 else
39853 cat >conftest.$ac_ext <<_ACEOF
39854 /* confdefs.h. */
39855 _ACEOF
39856 cat confdefs.h >>conftest.$ac_ext
39857 cat >>conftest.$ac_ext <<_ACEOF
39858 /* end confdefs.h. */
39859 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
39860 For example, HP-UX 11i <limits.h> declares gettimeofday. */
39861 #define $ac_func innocuous_$ac_func
39862
39863 /* System header to define __stub macros and hopefully few prototypes,
39864 which can conflict with char $ac_func (); below.
39865 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
39866 <limits.h> exists even on freestanding compilers. */
39867
39868 #ifdef __STDC__
39869 # include <limits.h>
39870 #else
39871 # include <assert.h>
39872 #endif
39873
39874 #undef $ac_func
39875
39876 /* Override any GCC internal prototype to avoid an error.
39877 Use char because int might match the return type of a GCC
39878 builtin and then its argument prototype would still apply. */
39879 #ifdef __cplusplus
39880 extern "C"
39881 #endif
39882 char $ac_func ();
39883 /* The GNU C library defines this for functions which it implements
39884 to always fail with ENOSYS. Some functions are actually named
39885 something starting with __ and the normal name is an alias. */
39886 #if defined __stub_$ac_func || defined __stub___$ac_func
39887 choke me
39888 #endif
39889
39890 int
39891 main ()
39892 {
39893 return $ac_func ();
39894 ;
39895 return 0;
39896 }
39897 _ACEOF
39898 rm -f conftest.$ac_objext conftest$ac_exeext
39899 if { (ac_try="$ac_link"
39900 case "(($ac_try" in
39901 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
39902 *) ac_try_echo=$ac_try;;
39903 esac
39904 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
39905 (eval "$ac_link") 2>conftest.er1
39906 ac_status=$?
39907 grep -v '^ *+' conftest.er1 >conftest.err
39908 rm -f conftest.er1
39909 cat conftest.err >&5
39910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
39911 (exit $ac_status); } && {
39912 test -z "$ac_c_werror_flag" ||
39913 test ! -s conftest.err
39914 } && test -s conftest$ac_exeext &&
39915 $as_test_x conftest$ac_exeext; then
39916 eval "$as_ac_var=yes"
39917 else
39918 echo "$as_me: failed program was:" >&5
39919 sed 's/^/| /' conftest.$ac_ext >&5
39920
39921 eval "$as_ac_var=no"
39922 fi
39923
39924 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
39925 conftest$ac_exeext conftest.$ac_ext
39926 fi
39927 ac_res=`eval echo '${'$as_ac_var'}'`
39928 { echo "$as_me:$LINENO: result: $ac_res" >&5
39929 echo "${ECHO_T}$ac_res" >&6; }
39930 if test `eval echo '${'$as_ac_var'}'` = yes; then
39931 cat >>confdefs.h <<_ACEOF
39932 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
39933 _ACEOF
39934 cat >>confdefs.h <<\_ACEOF
39935 #define HAVE_GETSERVBYNAME 1
39936 _ACEOF
39937
39938 fi
39939 done
39940
39941 fi
39942
39943 if test "$wxUSE_THREADS" = "yes"; then
39944 cat >>confdefs.h <<\_ACEOF
39945 #define wxUSE_THREADS 1
39946 _ACEOF
39947
39948
39949 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS thread"
39950 else
39951 if test "$wx_cv_func_strtok_r" = "yes"; then
39952 { echo "$as_me:$LINENO: checking if -D_REENTRANT is needed" >&5
39953 echo $ECHO_N "checking if -D_REENTRANT is needed... $ECHO_C" >&6; }
39954 if test "$NEEDS_D_REENTRANT_FOR_R_FUNCS" = 1; then
39955 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D_REENTRANT"
39956 { echo "$as_me:$LINENO: result: yes" >&5
39957 echo "${ECHO_T}yes" >&6; }
39958 else
39959 { echo "$as_me:$LINENO: result: no" >&5
39960 echo "${ECHO_T}no" >&6; }
39961 fi
39962 fi
39963 fi
39964
39965 if test "$WXGTK20" = 1 ; then
39966 cat >>confdefs.h <<_ACEOF
39967 #define __WXGTK20__ $WXGTK20
39968 _ACEOF
39969
39970 WXGTK12=1
39971 fi
39972
39973 if test "$WXGTK12" = 1 ; then
39974 cat >>confdefs.h <<_ACEOF
39975 #define __WXGTK12__ $WXGTK12
39976 _ACEOF
39977
39978 fi
39979
39980 if test "$WXGTK127" = 1 ; then
39981 cat >>confdefs.h <<_ACEOF
39982 #define __WXGTK127__ $WXGTK127
39983 _ACEOF
39984
39985 fi
39986
39987 if test "$WXGPE" = 1 ; then
39988 cat >>confdefs.h <<_ACEOF
39989 #define __WXGPE__ $WXGPE
39990 _ACEOF
39991
39992 fi
39993
39994 DEBUG_CFLAGS=
39995 if test "$wxUSE_DEBUG_INFO" = "yes" ; then
39996 DEBUG_CFLAGS="-g"
39997 wxUSE_OPTIMISE=no
39998 fi
39999
40000 if test "$wxUSE_DEBUG_GDB" = "yes" ; then
40001 wxUSE_DEBUG_INFO=yes
40002 if test "$GCC" = yes; then
40003 DEBUG_CFLAGS="-ggdb"
40004 fi
40005 fi
40006
40007 if test "$wxUSE_DEBUG_FLAG" = "yes" ; then
40008 cat >>confdefs.h <<\_ACEOF
40009 #define WXDEBUG 1
40010 _ACEOF
40011
40012 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS -D__WXDEBUG__"
40013 else
40014 if test "$wxUSE_GTK" = 1 ; then
40015 if test "x$wxGTK_VERSION" = "x1" ; then
40016 CPPFLAGS="-DGTK_NO_CHECK_CASTS $CPPFLAGS"
40017 fi
40018 fi
40019 fi
40020
40021 if test "$wxUSE_MEM_TRACING" = "yes" ; then
40022 cat >>confdefs.h <<\_ACEOF
40023 #define wxUSE_MEMORY_TRACING 1
40024 _ACEOF
40025
40026 cat >>confdefs.h <<\_ACEOF
40027 #define wxUSE_GLOBAL_MEMORY_OPERATORS 1
40028 _ACEOF
40029
40030 cat >>confdefs.h <<\_ACEOF
40031 #define wxUSE_DEBUG_NEW_ALWAYS 1
40032 _ACEOF
40033
40034 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS memcheck"
40035 fi
40036
40037 if test "$wxUSE_DMALLOC" = "yes" ; then
40038 DMALLOC_LIBS="-ldmallocthcxx"
40039 fi
40040
40041 PROFILE_FLAGS=
40042 if test "$wxUSE_PROFILE" = "yes" ; then
40043 PROFILE_FLAGS=" -pg"
40044 fi
40045
40046 if test "$GCC" = "yes" ; then
40047 if test "$wxUSE_NO_RTTI" = "yes" ; then
40048 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-rtti"
40049 fi
40050 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
40051 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fno-exceptions"
40052 fi
40053 if test "$wxUSE_PERMISSIVE" = "yes" ; then
40054 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -fpermissive"
40055 fi
40056
40057 case "${host}" in
40058 powerpc*-*-aix* )
40059 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -mminimal-toc"
40060 ;;
40061 *-hppa* )
40062 WXCONFIG_CFLAGS="$WXCONFIG_CFLAGS -ffunction-sections"
40063 ;;
40064 esac
40065 fi
40066
40067 OPTIMISE_CFLAGS=
40068 if test "$wxUSE_OPTIMISE" = "no" ; then
40069 if test "$GCC" = yes ; then
40070 OPTIMISE_CFLAGS="-O0"
40071 fi
40072 else
40073 if test "$GCC" = yes ; then
40074 case "${host}" in
40075 *-pc-os2_emx | *-pc-os2-emx )
40076 OPTIMISE_CFLAGS="-O2"
40077 ;;
40078 *)
40079 OPTIMISE_CFLAGS="-O2 -fno-strict-aliasing"
40080 ;;
40081 esac
40082 else
40083 OPTIMISE_CFLAGS="-O"
40084 fi
40085 fi
40086
40087
40088 if test "x$WXWIN_COMPATIBILITY_2_6" = "xyes"; then
40089 cat >>confdefs.h <<\_ACEOF
40090 #define WXWIN_COMPATIBILITY_2_6 1
40091 _ACEOF
40092
40093
40094 WXWIN_COMPATIBILITY_2_8="yes"
40095 fi
40096
40097 if test "x$WXWIN_COMPATIBILITY_2_8" != "xno"; then
40098 cat >>confdefs.h <<\_ACEOF
40099 #define WXWIN_COMPATIBILITY_2_8 1
40100 _ACEOF
40101
40102 fi
40103
40104
40105 if test "$wxUSE_GUI" = "yes"; then
40106 cat >>confdefs.h <<\_ACEOF
40107 #define wxUSE_GUI 1
40108 _ACEOF
40109
40110
40111 fi
40112
40113
40114 if test "$wxUSE_UNIX" = "yes"; then
40115 cat >>confdefs.h <<\_ACEOF
40116 #define wxUSE_UNIX 1
40117 _ACEOF
40118
40119 fi
40120
40121
40122 if test "$TOOLKIT" != "MSW" -a "$USE_OS2" != 1; then
40123
40124 HAVE_DL_FUNCS=0
40125 HAVE_SHL_FUNCS=0
40126 if test "$wxUSE_DYNAMIC_LOADER" = "yes" -o "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40127 if test "$USE_DARWIN" = 1; then
40128 HAVE_DL_FUNCS=1
40129 elif test "$USE_DOS" = 1; then
40130 HAVE_DL_FUNCS=0
40131 else
40132
40133 for ac_func in dlopen
40134 do
40135 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40136 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40137 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40138 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40139 echo $ECHO_N "(cached) $ECHO_C" >&6
40140 else
40141 cat >conftest.$ac_ext <<_ACEOF
40142 /* confdefs.h. */
40143 _ACEOF
40144 cat confdefs.h >>conftest.$ac_ext
40145 cat >>conftest.$ac_ext <<_ACEOF
40146 /* end confdefs.h. */
40147 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40148 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40149 #define $ac_func innocuous_$ac_func
40150
40151 /* System header to define __stub macros and hopefully few prototypes,
40152 which can conflict with char $ac_func (); below.
40153 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40154 <limits.h> exists even on freestanding compilers. */
40155
40156 #ifdef __STDC__
40157 # include <limits.h>
40158 #else
40159 # include <assert.h>
40160 #endif
40161
40162 #undef $ac_func
40163
40164 /* Override any GCC internal prototype to avoid an error.
40165 Use char because int might match the return type of a GCC
40166 builtin and then its argument prototype would still apply. */
40167 #ifdef __cplusplus
40168 extern "C"
40169 #endif
40170 char $ac_func ();
40171 /* The GNU C library defines this for functions which it implements
40172 to always fail with ENOSYS. Some functions are actually named
40173 something starting with __ and the normal name is an alias. */
40174 #if defined __stub_$ac_func || defined __stub___$ac_func
40175 choke me
40176 #endif
40177
40178 int
40179 main ()
40180 {
40181 return $ac_func ();
40182 ;
40183 return 0;
40184 }
40185 _ACEOF
40186 rm -f conftest.$ac_objext conftest$ac_exeext
40187 if { (ac_try="$ac_link"
40188 case "(($ac_try" in
40189 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40190 *) ac_try_echo=$ac_try;;
40191 esac
40192 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40193 (eval "$ac_link") 2>conftest.er1
40194 ac_status=$?
40195 grep -v '^ *+' conftest.er1 >conftest.err
40196 rm -f conftest.er1
40197 cat conftest.err >&5
40198 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40199 (exit $ac_status); } && {
40200 test -z "$ac_c_werror_flag" ||
40201 test ! -s conftest.err
40202 } && test -s conftest$ac_exeext &&
40203 $as_test_x conftest$ac_exeext; then
40204 eval "$as_ac_var=yes"
40205 else
40206 echo "$as_me: failed program was:" >&5
40207 sed 's/^/| /' conftest.$ac_ext >&5
40208
40209 eval "$as_ac_var=no"
40210 fi
40211
40212 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40213 conftest$ac_exeext conftest.$ac_ext
40214 fi
40215 ac_res=`eval echo '${'$as_ac_var'}'`
40216 { echo "$as_me:$LINENO: result: $ac_res" >&5
40217 echo "${ECHO_T}$ac_res" >&6; }
40218 if test `eval echo '${'$as_ac_var'}'` = yes; then
40219 cat >>confdefs.h <<_ACEOF
40220 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40221 _ACEOF
40222
40223 cat >>confdefs.h <<\_ACEOF
40224 #define HAVE_DLOPEN 1
40225 _ACEOF
40226
40227 HAVE_DL_FUNCS=1
40228
40229 else
40230
40231 { echo "$as_me:$LINENO: checking for dlopen in -ldl" >&5
40232 echo $ECHO_N "checking for dlopen in -ldl... $ECHO_C" >&6; }
40233 if test "${ac_cv_lib_dl_dlopen+set}" = set; then
40234 echo $ECHO_N "(cached) $ECHO_C" >&6
40235 else
40236 ac_check_lib_save_LIBS=$LIBS
40237 LIBS="-ldl $LIBS"
40238 cat >conftest.$ac_ext <<_ACEOF
40239 /* confdefs.h. */
40240 _ACEOF
40241 cat confdefs.h >>conftest.$ac_ext
40242 cat >>conftest.$ac_ext <<_ACEOF
40243 /* end confdefs.h. */
40244
40245 /* Override any GCC internal prototype to avoid an error.
40246 Use char because int might match the return type of a GCC
40247 builtin and then its argument prototype would still apply. */
40248 #ifdef __cplusplus
40249 extern "C"
40250 #endif
40251 char dlopen ();
40252 int
40253 main ()
40254 {
40255 return dlopen ();
40256 ;
40257 return 0;
40258 }
40259 _ACEOF
40260 rm -f conftest.$ac_objext conftest$ac_exeext
40261 if { (ac_try="$ac_link"
40262 case "(($ac_try" in
40263 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40264 *) ac_try_echo=$ac_try;;
40265 esac
40266 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40267 (eval "$ac_link") 2>conftest.er1
40268 ac_status=$?
40269 grep -v '^ *+' conftest.er1 >conftest.err
40270 rm -f conftest.er1
40271 cat conftest.err >&5
40272 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40273 (exit $ac_status); } && {
40274 test -z "$ac_c_werror_flag" ||
40275 test ! -s conftest.err
40276 } && test -s conftest$ac_exeext &&
40277 $as_test_x conftest$ac_exeext; then
40278 ac_cv_lib_dl_dlopen=yes
40279 else
40280 echo "$as_me: failed program was:" >&5
40281 sed 's/^/| /' conftest.$ac_ext >&5
40282
40283 ac_cv_lib_dl_dlopen=no
40284 fi
40285
40286 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40287 conftest$ac_exeext conftest.$ac_ext
40288 LIBS=$ac_check_lib_save_LIBS
40289 fi
40290 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlopen" >&5
40291 echo "${ECHO_T}$ac_cv_lib_dl_dlopen" >&6; }
40292 if test $ac_cv_lib_dl_dlopen = yes; then
40293
40294 cat >>confdefs.h <<\_ACEOF
40295 #define HAVE_DLOPEN 1
40296 _ACEOF
40297
40298 HAVE_DL_FUNCS=1
40299 DL_LINK=" -ldl$DL_LINK"
40300
40301 else
40302
40303
40304 for ac_func in shl_load
40305 do
40306 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40307 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40308 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40309 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40310 echo $ECHO_N "(cached) $ECHO_C" >&6
40311 else
40312 cat >conftest.$ac_ext <<_ACEOF
40313 /* confdefs.h. */
40314 _ACEOF
40315 cat confdefs.h >>conftest.$ac_ext
40316 cat >>conftest.$ac_ext <<_ACEOF
40317 /* end confdefs.h. */
40318 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40319 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40320 #define $ac_func innocuous_$ac_func
40321
40322 /* System header to define __stub macros and hopefully few prototypes,
40323 which can conflict with char $ac_func (); below.
40324 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40325 <limits.h> exists even on freestanding compilers. */
40326
40327 #ifdef __STDC__
40328 # include <limits.h>
40329 #else
40330 # include <assert.h>
40331 #endif
40332
40333 #undef $ac_func
40334
40335 /* Override any GCC internal prototype to avoid an error.
40336 Use char because int might match the return type of a GCC
40337 builtin and then its argument prototype would still apply. */
40338 #ifdef __cplusplus
40339 extern "C"
40340 #endif
40341 char $ac_func ();
40342 /* The GNU C library defines this for functions which it implements
40343 to always fail with ENOSYS. Some functions are actually named
40344 something starting with __ and the normal name is an alias. */
40345 #if defined __stub_$ac_func || defined __stub___$ac_func
40346 choke me
40347 #endif
40348
40349 int
40350 main ()
40351 {
40352 return $ac_func ();
40353 ;
40354 return 0;
40355 }
40356 _ACEOF
40357 rm -f conftest.$ac_objext conftest$ac_exeext
40358 if { (ac_try="$ac_link"
40359 case "(($ac_try" in
40360 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40361 *) ac_try_echo=$ac_try;;
40362 esac
40363 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40364 (eval "$ac_link") 2>conftest.er1
40365 ac_status=$?
40366 grep -v '^ *+' conftest.er1 >conftest.err
40367 rm -f conftest.er1
40368 cat conftest.err >&5
40369 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40370 (exit $ac_status); } && {
40371 test -z "$ac_c_werror_flag" ||
40372 test ! -s conftest.err
40373 } && test -s conftest$ac_exeext &&
40374 $as_test_x conftest$ac_exeext; then
40375 eval "$as_ac_var=yes"
40376 else
40377 echo "$as_me: failed program was:" >&5
40378 sed 's/^/| /' conftest.$ac_ext >&5
40379
40380 eval "$as_ac_var=no"
40381 fi
40382
40383 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40384 conftest$ac_exeext conftest.$ac_ext
40385 fi
40386 ac_res=`eval echo '${'$as_ac_var'}'`
40387 { echo "$as_me:$LINENO: result: $ac_res" >&5
40388 echo "${ECHO_T}$ac_res" >&6; }
40389 if test `eval echo '${'$as_ac_var'}'` = yes; then
40390 cat >>confdefs.h <<_ACEOF
40391 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40392 _ACEOF
40393
40394 cat >>confdefs.h <<\_ACEOF
40395 #define HAVE_SHL_LOAD 1
40396 _ACEOF
40397
40398 HAVE_SHL_FUNCS=1
40399
40400 else
40401
40402 { echo "$as_me:$LINENO: checking for dld in -lshl_load" >&5
40403 echo $ECHO_N "checking for dld in -lshl_load... $ECHO_C" >&6; }
40404 if test "${ac_cv_lib_shl_load_dld+set}" = set; then
40405 echo $ECHO_N "(cached) $ECHO_C" >&6
40406 else
40407 ac_check_lib_save_LIBS=$LIBS
40408 LIBS="-lshl_load $LIBS"
40409 cat >conftest.$ac_ext <<_ACEOF
40410 /* confdefs.h. */
40411 _ACEOF
40412 cat confdefs.h >>conftest.$ac_ext
40413 cat >>conftest.$ac_ext <<_ACEOF
40414 /* end confdefs.h. */
40415
40416 /* Override any GCC internal prototype to avoid an error.
40417 Use char because int might match the return type of a GCC
40418 builtin and then its argument prototype would still apply. */
40419 #ifdef __cplusplus
40420 extern "C"
40421 #endif
40422 char dld ();
40423 int
40424 main ()
40425 {
40426 return dld ();
40427 ;
40428 return 0;
40429 }
40430 _ACEOF
40431 rm -f conftest.$ac_objext conftest$ac_exeext
40432 if { (ac_try="$ac_link"
40433 case "(($ac_try" in
40434 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40435 *) ac_try_echo=$ac_try;;
40436 esac
40437 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40438 (eval "$ac_link") 2>conftest.er1
40439 ac_status=$?
40440 grep -v '^ *+' conftest.er1 >conftest.err
40441 rm -f conftest.er1
40442 cat conftest.err >&5
40443 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40444 (exit $ac_status); } && {
40445 test -z "$ac_c_werror_flag" ||
40446 test ! -s conftest.err
40447 } && test -s conftest$ac_exeext &&
40448 $as_test_x conftest$ac_exeext; then
40449 ac_cv_lib_shl_load_dld=yes
40450 else
40451 echo "$as_me: failed program was:" >&5
40452 sed 's/^/| /' conftest.$ac_ext >&5
40453
40454 ac_cv_lib_shl_load_dld=no
40455 fi
40456
40457 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40458 conftest$ac_exeext conftest.$ac_ext
40459 LIBS=$ac_check_lib_save_LIBS
40460 fi
40461 { echo "$as_me:$LINENO: result: $ac_cv_lib_shl_load_dld" >&5
40462 echo "${ECHO_T}$ac_cv_lib_shl_load_dld" >&6; }
40463 if test $ac_cv_lib_shl_load_dld = yes; then
40464
40465 HAVE_SHL_FUNCS=1
40466 DL_LINK=" -ldld$DL_LINK"
40467
40468 fi
40469
40470
40471 fi
40472 done
40473
40474
40475 fi
40476
40477
40478 fi
40479 done
40480
40481
40482 if test "$HAVE_DL_FUNCS" = 1; then
40483
40484 for ac_func in dlerror
40485 do
40486 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
40487 { echo "$as_me:$LINENO: checking for $ac_func" >&5
40488 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
40489 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
40490 echo $ECHO_N "(cached) $ECHO_C" >&6
40491 else
40492 cat >conftest.$ac_ext <<_ACEOF
40493 /* confdefs.h. */
40494 _ACEOF
40495 cat confdefs.h >>conftest.$ac_ext
40496 cat >>conftest.$ac_ext <<_ACEOF
40497 /* end confdefs.h. */
40498 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
40499 For example, HP-UX 11i <limits.h> declares gettimeofday. */
40500 #define $ac_func innocuous_$ac_func
40501
40502 /* System header to define __stub macros and hopefully few prototypes,
40503 which can conflict with char $ac_func (); below.
40504 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
40505 <limits.h> exists even on freestanding compilers. */
40506
40507 #ifdef __STDC__
40508 # include <limits.h>
40509 #else
40510 # include <assert.h>
40511 #endif
40512
40513 #undef $ac_func
40514
40515 /* Override any GCC internal prototype to avoid an error.
40516 Use char because int might match the return type of a GCC
40517 builtin and then its argument prototype would still apply. */
40518 #ifdef __cplusplus
40519 extern "C"
40520 #endif
40521 char $ac_func ();
40522 /* The GNU C library defines this for functions which it implements
40523 to always fail with ENOSYS. Some functions are actually named
40524 something starting with __ and the normal name is an alias. */
40525 #if defined __stub_$ac_func || defined __stub___$ac_func
40526 choke me
40527 #endif
40528
40529 int
40530 main ()
40531 {
40532 return $ac_func ();
40533 ;
40534 return 0;
40535 }
40536 _ACEOF
40537 rm -f conftest.$ac_objext conftest$ac_exeext
40538 if { (ac_try="$ac_link"
40539 case "(($ac_try" in
40540 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40541 *) ac_try_echo=$ac_try;;
40542 esac
40543 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40544 (eval "$ac_link") 2>conftest.er1
40545 ac_status=$?
40546 grep -v '^ *+' conftest.er1 >conftest.err
40547 rm -f conftest.er1
40548 cat conftest.err >&5
40549 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40550 (exit $ac_status); } && {
40551 test -z "$ac_c_werror_flag" ||
40552 test ! -s conftest.err
40553 } && test -s conftest$ac_exeext &&
40554 $as_test_x conftest$ac_exeext; then
40555 eval "$as_ac_var=yes"
40556 else
40557 echo "$as_me: failed program was:" >&5
40558 sed 's/^/| /' conftest.$ac_ext >&5
40559
40560 eval "$as_ac_var=no"
40561 fi
40562
40563 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40564 conftest$ac_exeext conftest.$ac_ext
40565 fi
40566 ac_res=`eval echo '${'$as_ac_var'}'`
40567 { echo "$as_me:$LINENO: result: $ac_res" >&5
40568 echo "${ECHO_T}$ac_res" >&6; }
40569 if test `eval echo '${'$as_ac_var'}'` = yes; then
40570 cat >>confdefs.h <<_ACEOF
40571 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
40572 _ACEOF
40573 cat >>confdefs.h <<\_ACEOF
40574 #define HAVE_DLERROR 1
40575 _ACEOF
40576
40577 else
40578
40579 { echo "$as_me:$LINENO: checking for dlerror in -ldl" >&5
40580 echo $ECHO_N "checking for dlerror in -ldl... $ECHO_C" >&6; }
40581 if test "${ac_cv_lib_dl_dlerror+set}" = set; then
40582 echo $ECHO_N "(cached) $ECHO_C" >&6
40583 else
40584 ac_check_lib_save_LIBS=$LIBS
40585 LIBS="-ldl $LIBS"
40586 cat >conftest.$ac_ext <<_ACEOF
40587 /* confdefs.h. */
40588 _ACEOF
40589 cat confdefs.h >>conftest.$ac_ext
40590 cat >>conftest.$ac_ext <<_ACEOF
40591 /* end confdefs.h. */
40592
40593 /* Override any GCC internal prototype to avoid an error.
40594 Use char because int might match the return type of a GCC
40595 builtin and then its argument prototype would still apply. */
40596 #ifdef __cplusplus
40597 extern "C"
40598 #endif
40599 char dlerror ();
40600 int
40601 main ()
40602 {
40603 return dlerror ();
40604 ;
40605 return 0;
40606 }
40607 _ACEOF
40608 rm -f conftest.$ac_objext conftest$ac_exeext
40609 if { (ac_try="$ac_link"
40610 case "(($ac_try" in
40611 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40612 *) ac_try_echo=$ac_try;;
40613 esac
40614 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40615 (eval "$ac_link") 2>conftest.er1
40616 ac_status=$?
40617 grep -v '^ *+' conftest.er1 >conftest.err
40618 rm -f conftest.er1
40619 cat conftest.err >&5
40620 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40621 (exit $ac_status); } && {
40622 test -z "$ac_c_werror_flag" ||
40623 test ! -s conftest.err
40624 } && test -s conftest$ac_exeext &&
40625 $as_test_x conftest$ac_exeext; then
40626 ac_cv_lib_dl_dlerror=yes
40627 else
40628 echo "$as_me: failed program was:" >&5
40629 sed 's/^/| /' conftest.$ac_ext >&5
40630
40631 ac_cv_lib_dl_dlerror=no
40632 fi
40633
40634 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40635 conftest$ac_exeext conftest.$ac_ext
40636 LIBS=$ac_check_lib_save_LIBS
40637 fi
40638 { echo "$as_me:$LINENO: result: $ac_cv_lib_dl_dlerror" >&5
40639 echo "${ECHO_T}$ac_cv_lib_dl_dlerror" >&6; }
40640 if test $ac_cv_lib_dl_dlerror = yes; then
40641 cat >>confdefs.h <<\_ACEOF
40642 #define HAVE_DLERROR 1
40643 _ACEOF
40644
40645 fi
40646
40647
40648
40649 fi
40650 done
40651
40652 fi
40653 fi
40654
40655 if test "$HAVE_DL_FUNCS" = 0; then
40656 if test "$HAVE_SHL_FUNCS" = 0; then
40657 if test "$USE_UNIX" = 1 -o "$USE_DOS" = 1; then
40658 { echo "$as_me:$LINENO: WARNING: Missing dynamic loading support, several features will be disabled" >&5
40659 echo "$as_me: WARNING: Missing dynamic loading support, several features will be disabled" >&2;}
40660 wxUSE_DYNAMIC_LOADER=no
40661 wxUSE_DYNLIB_CLASS=no
40662 else
40663 { echo "$as_me:$LINENO: WARNING: Assuming wxLibrary class works on this platform" >&5
40664 echo "$as_me: WARNING: Assuming wxLibrary class works on this platform" >&2;}
40665 fi
40666 fi
40667 fi
40668 fi
40669 fi
40670
40671 if test "$wxUSE_DYNAMIC_LOADER" = "yes" ; then
40672 cat >>confdefs.h <<\_ACEOF
40673 #define wxUSE_DYNAMIC_LOADER 1
40674 _ACEOF
40675
40676 fi
40677 if test "$wxUSE_DYNLIB_CLASS" = "yes" ; then
40678 cat >>confdefs.h <<\_ACEOF
40679 #define wxUSE_DYNLIB_CLASS 1
40680 _ACEOF
40681
40682 fi
40683
40684
40685
40686 if test "$wxUSE_PLUGINS" = "yes" ; then
40687 if test "$wxUSE_SHARED" = "no" ; then
40688 { echo "$as_me:$LINENO: WARNING: plugins supported only in shared build, disabling" >&5
40689 echo "$as_me: WARNING: plugins supported only in shared build, disabling" >&2;}
40690 wxUSE_PLUGINS=no
40691 fi
40692 if test "$wxUSE_MONOLITHIC" = "yes" ; then
40693 { echo "$as_me:$LINENO: WARNING: plugins not supported monolithic build, disabling" >&5
40694 echo "$as_me: WARNING: plugins not supported monolithic build, disabling" >&2;}
40695 wxUSE_PLUGINS=no
40696 fi
40697 if test "$wxUSE_DYNLIB_CLASS" = "no" ; then
40698 { echo "$as_me:$LINENO: WARNING: plugins require wxDynamicLibrary, disabling" >&5
40699 echo "$as_me: WARNING: plugins require wxDynamicLibrary, disabling" >&2;}
40700 wxUSE_PLUGINS=no
40701 fi
40702 if test "$wxUSE_PLUGINS" = "yes" ; then
40703 cat >>confdefs.h <<\_ACEOF
40704 #define wxUSE_PLUGINS 1
40705 _ACEOF
40706
40707 fi
40708 fi
40709
40710
40711 if test "$wxUSE_STL" = "yes"; then
40712 cat >>confdefs.h <<\_ACEOF
40713 #define wxUSE_STL 1
40714 _ACEOF
40715
40716 fi
40717
40718 if test "$wxUSE_APPLE_IEEE" = "yes"; then
40719 cat >>confdefs.h <<\_ACEOF
40720 #define wxUSE_APPLE_IEEE 1
40721 _ACEOF
40722
40723 fi
40724
40725 if test "$wxUSE_TIMER" = "yes"; then
40726 cat >>confdefs.h <<\_ACEOF
40727 #define wxUSE_TIMER 1
40728 _ACEOF
40729
40730 fi
40731
40732 if test "$USE_UNIX" = "1" ; then
40733 if test "$wxUSE_MGL" != 1; then
40734 { echo "$as_me:$LINENO: checking for SNDCTL_DSP_SPEED in sys/soundcard.h" >&5
40735 echo $ECHO_N "checking for SNDCTL_DSP_SPEED in sys/soundcard.h... $ECHO_C" >&6; }
40736 if test "${ac_cv_header_sys_soundcard+set}" = set; then
40737 echo $ECHO_N "(cached) $ECHO_C" >&6
40738 else
40739
40740 cat >conftest.$ac_ext <<_ACEOF
40741 /* confdefs.h. */
40742 _ACEOF
40743 cat confdefs.h >>conftest.$ac_ext
40744 cat >>conftest.$ac_ext <<_ACEOF
40745 /* end confdefs.h. */
40746
40747 #include <sys/ioctl.h>
40748 #include <sys/soundcard.h>
40749
40750 int
40751 main ()
40752 {
40753
40754 ioctl(0, SNDCTL_DSP_SPEED, 0);
40755
40756 ;
40757 return 0;
40758 }
40759 _ACEOF
40760 rm -f conftest.$ac_objext conftest$ac_exeext
40761 if { (ac_try="$ac_link"
40762 case "(($ac_try" in
40763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40764 *) ac_try_echo=$ac_try;;
40765 esac
40766 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40767 (eval "$ac_link") 2>conftest.er1
40768 ac_status=$?
40769 grep -v '^ *+' conftest.er1 >conftest.err
40770 rm -f conftest.er1
40771 cat conftest.err >&5
40772 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40773 (exit $ac_status); } && {
40774 test -z "$ac_c_werror_flag" ||
40775 test ! -s conftest.err
40776 } && test -s conftest$ac_exeext &&
40777 $as_test_x conftest$ac_exeext; then
40778 ac_cv_header_sys_soundcard=yes
40779 else
40780 echo "$as_me: failed program was:" >&5
40781 sed 's/^/| /' conftest.$ac_ext >&5
40782
40783
40784 saveLibs="$LIBS"
40785 LIBS="$saveLibs -lossaudio"
40786 cat >conftest.$ac_ext <<_ACEOF
40787 /* confdefs.h. */
40788 _ACEOF
40789 cat confdefs.h >>conftest.$ac_ext
40790 cat >>conftest.$ac_ext <<_ACEOF
40791 /* end confdefs.h. */
40792
40793 #include <sys/ioctl.h>
40794 #include <sys/soundcard.h>
40795
40796 int
40797 main ()
40798 {
40799
40800 ioctl(0, SNDCTL_DSP_SPEED, 0);
40801
40802 ;
40803 return 0;
40804 }
40805 _ACEOF
40806 rm -f conftest.$ac_objext conftest$ac_exeext
40807 if { (ac_try="$ac_link"
40808 case "(($ac_try" in
40809 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
40810 *) ac_try_echo=$ac_try;;
40811 esac
40812 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
40813 (eval "$ac_link") 2>conftest.er1
40814 ac_status=$?
40815 grep -v '^ *+' conftest.er1 >conftest.err
40816 rm -f conftest.er1
40817 cat conftest.err >&5
40818 echo "$as_me:$LINENO: \$? = $ac_status" >&5
40819 (exit $ac_status); } && {
40820 test -z "$ac_c_werror_flag" ||
40821 test ! -s conftest.err
40822 } && test -s conftest$ac_exeext &&
40823 $as_test_x conftest$ac_exeext; then
40824 ac_cv_header_sys_soundcard=yes
40825 else
40826 echo "$as_me: failed program was:" >&5
40827 sed 's/^/| /' conftest.$ac_ext >&5
40828
40829
40830 LIBS="$saveLibs"
40831 ac_cv_header_sys_soundcard=no
40832
40833
40834 fi
40835
40836 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40837 conftest$ac_exeext conftest.$ac_ext
40838
40839
40840 fi
40841
40842 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
40843 conftest$ac_exeext conftest.$ac_ext
40844
40845 fi
40846 { echo "$as_me:$LINENO: result: $ac_cv_header_sys_soundcard" >&5
40847 echo "${ECHO_T}$ac_cv_header_sys_soundcard" >&6; }
40848 fi
40849
40850 if test "$ac_cv_header_sys_soundcard" = "yes"; then
40851 cat >>confdefs.h <<\_ACEOF
40852 #define HAVE_SYS_SOUNDCARD_H 1
40853 _ACEOF
40854
40855 fi
40856 fi
40857
40858 WITH_PLUGIN_SDL=0
40859 if test "$wxUSE_SOUND" = "yes"; then
40860 if test "$USE_UNIX" = "1" ; then
40861 if test "$wxUSE_LIBSDL" != "no"; then
40862
40863 # Check whether --with-sdl-prefix was given.
40864 if test "${with_sdl_prefix+set}" = set; then
40865 withval=$with_sdl_prefix; sdl_prefix="$withval"
40866 else
40867 sdl_prefix=""
40868 fi
40869
40870
40871 # Check whether --with-sdl-exec-prefix was given.
40872 if test "${with_sdl_exec_prefix+set}" = set; then
40873 withval=$with_sdl_exec_prefix; sdl_exec_prefix="$withval"
40874 else
40875 sdl_exec_prefix=""
40876 fi
40877
40878 # Check whether --enable-sdltest was given.
40879 if test "${enable_sdltest+set}" = set; then
40880 enableval=$enable_sdltest;
40881 else
40882 enable_sdltest=yes
40883 fi
40884
40885
40886 if test x$sdl_exec_prefix != x ; then
40887 sdl_args="$sdl_args --exec-prefix=$sdl_exec_prefix"
40888 if test x${SDL_CONFIG+set} != xset ; then
40889 SDL_CONFIG=$sdl_exec_prefix/bin/sdl-config
40890 fi
40891 fi
40892 if test x$sdl_prefix != x ; then
40893 sdl_args="$sdl_args --prefix=$sdl_prefix"
40894 if test x${SDL_CONFIG+set} != xset ; then
40895 SDL_CONFIG=$sdl_prefix/bin/sdl-config
40896 fi
40897 fi
40898
40899 if test "x$prefix" != xNONE; then
40900 PATH="$prefix/bin:$prefix/usr/bin:$PATH"
40901 fi
40902 # Extract the first word of "sdl-config", so it can be a program name with args.
40903 set dummy sdl-config; ac_word=$2
40904 { echo "$as_me:$LINENO: checking for $ac_word" >&5
40905 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
40906 if test "${ac_cv_path_SDL_CONFIG+set}" = set; then
40907 echo $ECHO_N "(cached) $ECHO_C" >&6
40908 else
40909 case $SDL_CONFIG in
40910 [\\/]* | ?:[\\/]*)
40911 ac_cv_path_SDL_CONFIG="$SDL_CONFIG" # Let the user override the test with a path.
40912 ;;
40913 *)
40914 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
40915 for as_dir in $PATH
40916 do
40917 IFS=$as_save_IFS
40918 test -z "$as_dir" && as_dir=.
40919 for ac_exec_ext in '' $ac_executable_extensions; do
40920 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
40921 ac_cv_path_SDL_CONFIG="$as_dir/$ac_word$ac_exec_ext"
40922 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
40923 break 2
40924 fi
40925 done
40926 done
40927 IFS=$as_save_IFS
40928
40929 test -z "$ac_cv_path_SDL_CONFIG" && ac_cv_path_SDL_CONFIG="no"
40930 ;;
40931 esac
40932 fi
40933 SDL_CONFIG=$ac_cv_path_SDL_CONFIG
40934 if test -n "$SDL_CONFIG"; then
40935 { echo "$as_me:$LINENO: result: $SDL_CONFIG" >&5
40936 echo "${ECHO_T}$SDL_CONFIG" >&6; }
40937 else
40938 { echo "$as_me:$LINENO: result: no" >&5
40939 echo "${ECHO_T}no" >&6; }
40940 fi
40941
40942
40943 min_sdl_version=1.2.0
40944 { echo "$as_me:$LINENO: checking for SDL - version >= $min_sdl_version" >&5
40945 echo $ECHO_N "checking for SDL - version >= $min_sdl_version... $ECHO_C" >&6; }
40946 no_sdl=""
40947 if test "$SDL_CONFIG" = "no" ; then
40948 no_sdl=yes
40949 else
40950 SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
40951 SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
40952
40953 sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
40954 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
40955 sdl_minor_version=`$SDL_CONFIG $sdl_args --version | \
40956 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
40957 sdl_micro_version=`$SDL_CONFIG $sdl_config_args --version | \
40958 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
40959 if test "x$enable_sdltest" = "xyes" ; then
40960 ac_save_CFLAGS="$CFLAGS"
40961 ac_save_CXXFLAGS="$CXXFLAGS"
40962 ac_save_LIBS="$LIBS"
40963 CFLAGS="$CFLAGS $SDL_CFLAGS"
40964 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
40965 LIBS="$LIBS $SDL_LIBS"
40966 rm -f conf.sdltest
40967 if test "$cross_compiling" = yes; then
40968 echo $ac_n "cross compiling; assumed OK... $ac_c"
40969 else
40970 cat >conftest.$ac_ext <<_ACEOF
40971 /* confdefs.h. */
40972 _ACEOF
40973 cat confdefs.h >>conftest.$ac_ext
40974 cat >>conftest.$ac_ext <<_ACEOF
40975 /* end confdefs.h. */
40976
40977 #include <stdio.h>
40978 #include <stdlib.h>
40979 #include <string.h>
40980 #include "SDL.h"
40981
40982 char*
40983 my_strdup (char *str)
40984 {
40985 char *new_str;
40986
40987 if (str)
40988 {
40989 new_str = (char *)malloc ((strlen (str) + 1) * sizeof(char));
40990 strcpy (new_str, str);
40991 }
40992 else
40993 new_str = NULL;
40994
40995 return new_str;
40996 }
40997
40998 int main (int argc, char *argv[])
40999 {
41000 int major, minor, micro;
41001 char *tmp_version;
41002
41003 /* This hangs on some systems (?)
41004 system ("touch conf.sdltest");
41005 */
41006 { FILE *fp = fopen("conf.sdltest", "a"); if ( fp ) fclose(fp); }
41007
41008 /* HP/UX 9 (%@#!) writes to sscanf strings */
41009 tmp_version = my_strdup("$min_sdl_version");
41010 if (sscanf(tmp_version, "%d.%d.%d", &major, &minor, &micro) != 3) {
41011 printf("%s, bad version string\n", "$min_sdl_version");
41012 exit(1);
41013 }
41014
41015 if (($sdl_major_version > major) ||
41016 (($sdl_major_version == major) && ($sdl_minor_version > minor)) ||
41017 (($sdl_major_version == major) && ($sdl_minor_version == minor) && ($sdl_micro_version >= micro)))
41018 {
41019 return 0;
41020 }
41021 else
41022 {
41023 printf("\n*** 'sdl-config --version' returned %d.%d.%d, but the minimum version\n", $sdl_major_version, $sdl_minor_version, $sdl_micro_version);
41024 printf("*** of SDL required is %d.%d.%d. If sdl-config is correct, then it is\n", major, minor, micro);
41025 printf("*** best to upgrade to the required version.\n");
41026 printf("*** If sdl-config was wrong, set the environment variable SDL_CONFIG\n");
41027 printf("*** to point to the correct copy of sdl-config, and remove the file\n");
41028 printf("*** config.cache before re-running configure\n");
41029 return 1;
41030 }
41031 }
41032
41033
41034 _ACEOF
41035 rm -f conftest$ac_exeext
41036 if { (ac_try="$ac_link"
41037 case "(($ac_try" in
41038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41039 *) ac_try_echo=$ac_try;;
41040 esac
41041 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41042 (eval "$ac_link") 2>&5
41043 ac_status=$?
41044 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41045 (exit $ac_status); } && { ac_try='./conftest$ac_exeext'
41046 { (case "(($ac_try" in
41047 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41048 *) ac_try_echo=$ac_try;;
41049 esac
41050 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41051 (eval "$ac_try") 2>&5
41052 ac_status=$?
41053 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41054 (exit $ac_status); }; }; then
41055 :
41056 else
41057 echo "$as_me: program exited with status $ac_status" >&5
41058 echo "$as_me: failed program was:" >&5
41059 sed 's/^/| /' conftest.$ac_ext >&5
41060
41061 ( exit $ac_status )
41062 no_sdl=yes
41063 fi
41064 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
41065 fi
41066
41067
41068 CFLAGS="$ac_save_CFLAGS"
41069 CXXFLAGS="$ac_save_CXXFLAGS"
41070 LIBS="$ac_save_LIBS"
41071 fi
41072 fi
41073 if test "x$no_sdl" = x ; then
41074 { echo "$as_me:$LINENO: result: yes" >&5
41075 echo "${ECHO_T}yes" >&6; }
41076
41077 EXTRALIBS_SDL="$SDL_LIBS"
41078 CFLAGS="$SDL_CFLAGS $CFLAGS"
41079 CXXFLAGS="$SDL_CFLAGS $CXXFLAGS"
41080 cat >>confdefs.h <<\_ACEOF
41081 #define wxUSE_LIBSDL 1
41082 _ACEOF
41083
41084
41085 else
41086 { echo "$as_me:$LINENO: result: no" >&5
41087 echo "${ECHO_T}no" >&6; }
41088 if test "$SDL_CONFIG" = "no" ; then
41089 echo "*** The sdl-config script installed by SDL could not be found"
41090 echo "*** If SDL was installed in PREFIX, make sure PREFIX/bin is in"
41091 echo "*** your path, or set the SDL_CONFIG environment variable to the"
41092 echo "*** full path to sdl-config."
41093 else
41094 if test -f conf.sdltest ; then
41095 :
41096 else
41097 echo "*** Could not run SDL test program, checking why..."
41098 CFLAGS="$CFLAGS $SDL_CFLAGS"
41099 CXXFLAGS="$CXXFLAGS $SDL_CFLAGS"
41100 LIBS="$LIBS $SDL_LIBS"
41101 cat >conftest.$ac_ext <<_ACEOF
41102 /* confdefs.h. */
41103 _ACEOF
41104 cat confdefs.h >>conftest.$ac_ext
41105 cat >>conftest.$ac_ext <<_ACEOF
41106 /* end confdefs.h. */
41107
41108 #include <stdio.h>
41109 #include "SDL.h"
41110
41111 int main(int argc, char *argv[])
41112 { return 0; }
41113 #undef main
41114 #define main K_and_R_C_main
41115
41116 int
41117 main ()
41118 {
41119 return 0;
41120 ;
41121 return 0;
41122 }
41123 _ACEOF
41124 rm -f conftest.$ac_objext conftest$ac_exeext
41125 if { (ac_try="$ac_link"
41126 case "(($ac_try" in
41127 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41128 *) ac_try_echo=$ac_try;;
41129 esac
41130 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41131 (eval "$ac_link") 2>conftest.er1
41132 ac_status=$?
41133 grep -v '^ *+' conftest.er1 >conftest.err
41134 rm -f conftest.er1
41135 cat conftest.err >&5
41136 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41137 (exit $ac_status); } && {
41138 test -z "$ac_c_werror_flag" ||
41139 test ! -s conftest.err
41140 } && test -s conftest$ac_exeext &&
41141 $as_test_x conftest$ac_exeext; then
41142 echo "*** The test program compiled, but did not run. This usually means"
41143 echo "*** that the run-time linker is not finding SDL or finding the wrong"
41144 echo "*** version of SDL. If it is not finding SDL, you'll need to set your"
41145 echo "*** LD_LIBRARY_PATH environment variable, or edit /etc/ld.so.conf to point"
41146 echo "*** to the installed location Also, make sure you have run ldconfig if that"
41147 echo "*** is required on your system"
41148 echo "***"
41149 echo "*** If you have an old version installed, it is best to remove it, although"
41150 echo "*** you may also be able to get things to work by modifying LD_LIBRARY_PATH"
41151 else
41152 echo "$as_me: failed program was:" >&5
41153 sed 's/^/| /' conftest.$ac_ext >&5
41154
41155 echo "*** The test program failed to compile or link. See the file config.log for the"
41156 echo "*** exact error that occured. This usually means SDL was incorrectly installed"
41157 echo "*** or that you have moved SDL since it was installed. In the latter case, you"
41158 echo "*** may want to edit the sdl-config script: $SDL_CONFIG"
41159 fi
41160
41161 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41162 conftest$ac_exeext conftest.$ac_ext
41163 CFLAGS="$ac_save_CFLAGS"
41164 CXXFLAGS="$ac_save_CXXFLAGS"
41165 LIBS="$ac_save_LIBS"
41166 fi
41167 fi
41168 SDL_CFLAGS=""
41169 SDL_LIBS=""
41170 wxUSE_LIBSDL="no"
41171 fi
41172
41173
41174 rm -f conf.sdltest
41175
41176 if test "$wxUSE_LIBSDL" = "yes" -a "$wxUSE_PLUGINS" = "yes" ; then
41177 WITH_PLUGIN_SDL=1
41178 fi
41179 fi
41180 else
41181 if test "$wxUSE_MGL" = 1; then
41182 { echo "$as_me:$LINENO: WARNING: wxSound not supported in MGL under DOS... disabled" >&5
41183 echo "$as_me: WARNING: wxSound not supported in MGL under DOS... disabled" >&2;}
41184 wxUSE_SOUND="no"
41185 fi
41186 fi
41187 fi
41188
41189 if test "$wxUSE_SOUND" = "yes"; then
41190 cat >>confdefs.h <<\_ACEOF
41191 #define wxUSE_SOUND 1
41192 _ACEOF
41193
41194 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sound"
41195 fi
41196
41197 if test "$WXGTK20" = 1; then
41198
41199
41200 if test "x$ac_cv_env_PKG_CONFIG_set" != "xset"; then
41201 if test -n "$ac_tool_prefix"; then
41202 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
41203 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
41204 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41205 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41206 if test "${ac_cv_path_PKG_CONFIG+set}" = set; then
41207 echo $ECHO_N "(cached) $ECHO_C" >&6
41208 else
41209 case $PKG_CONFIG in
41210 [\\/]* | ?:[\\/]*)
41211 ac_cv_path_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test with a path.
41212 ;;
41213 *)
41214 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41215 for as_dir in $PATH
41216 do
41217 IFS=$as_save_IFS
41218 test -z "$as_dir" && as_dir=.
41219 for ac_exec_ext in '' $ac_executable_extensions; do
41220 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41221 ac_cv_path_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41222 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41223 break 2
41224 fi
41225 done
41226 done
41227 IFS=$as_save_IFS
41228
41229 ;;
41230 esac
41231 fi
41232 PKG_CONFIG=$ac_cv_path_PKG_CONFIG
41233 if test -n "$PKG_CONFIG"; then
41234 { echo "$as_me:$LINENO: result: $PKG_CONFIG" >&5
41235 echo "${ECHO_T}$PKG_CONFIG" >&6; }
41236 else
41237 { echo "$as_me:$LINENO: result: no" >&5
41238 echo "${ECHO_T}no" >&6; }
41239 fi
41240
41241
41242 fi
41243 if test -z "$ac_cv_path_PKG_CONFIG"; then
41244 ac_pt_PKG_CONFIG=$PKG_CONFIG
41245 # Extract the first word of "pkg-config", so it can be a program name with args.
41246 set dummy pkg-config; ac_word=$2
41247 { echo "$as_me:$LINENO: checking for $ac_word" >&5
41248 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
41249 if test "${ac_cv_path_ac_pt_PKG_CONFIG+set}" = set; then
41250 echo $ECHO_N "(cached) $ECHO_C" >&6
41251 else
41252 case $ac_pt_PKG_CONFIG in
41253 [\\/]* | ?:[\\/]*)
41254 ac_cv_path_ac_pt_PKG_CONFIG="$ac_pt_PKG_CONFIG" # Let the user override the test with a path.
41255 ;;
41256 *)
41257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
41258 for as_dir in $PATH
41259 do
41260 IFS=$as_save_IFS
41261 test -z "$as_dir" && as_dir=.
41262 for ac_exec_ext in '' $ac_executable_extensions; do
41263 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
41264 ac_cv_path_ac_pt_PKG_CONFIG="$as_dir/$ac_word$ac_exec_ext"
41265 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
41266 break 2
41267 fi
41268 done
41269 done
41270 IFS=$as_save_IFS
41271
41272 ;;
41273 esac
41274 fi
41275 ac_pt_PKG_CONFIG=$ac_cv_path_ac_pt_PKG_CONFIG
41276 if test -n "$ac_pt_PKG_CONFIG"; then
41277 { echo "$as_me:$LINENO: result: $ac_pt_PKG_CONFIG" >&5
41278 echo "${ECHO_T}$ac_pt_PKG_CONFIG" >&6; }
41279 else
41280 { echo "$as_me:$LINENO: result: no" >&5
41281 echo "${ECHO_T}no" >&6; }
41282 fi
41283
41284 if test "x$ac_pt_PKG_CONFIG" = x; then
41285 PKG_CONFIG=""
41286 else
41287 case $cross_compiling:$ac_tool_warned in
41288 yes:)
41289 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
41290 whose name does not start with the host triplet. If you think this
41291 configuration is useful to you, please write to autoconf@gnu.org." >&5
41292 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
41293 whose name does not start with the host triplet. If you think this
41294 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
41295 ac_tool_warned=yes ;;
41296 esac
41297 PKG_CONFIG=$ac_pt_PKG_CONFIG
41298 fi
41299 else
41300 PKG_CONFIG="$ac_cv_path_PKG_CONFIG"
41301 fi
41302
41303 fi
41304 if test -n "$PKG_CONFIG"; then
41305 _pkg_min_version=0.9.0
41306 { echo "$as_me:$LINENO: checking pkg-config is at least version $_pkg_min_version" >&5
41307 echo $ECHO_N "checking pkg-config is at least version $_pkg_min_version... $ECHO_C" >&6; }
41308 if $PKG_CONFIG --atleast-pkgconfig-version $_pkg_min_version; then
41309 { echo "$as_me:$LINENO: result: yes" >&5
41310 echo "${ECHO_T}yes" >&6; }
41311 else
41312 { echo "$as_me:$LINENO: result: no" >&5
41313 echo "${ECHO_T}no" >&6; }
41314 PKG_CONFIG=""
41315 fi
41316
41317 fi
41318
41319 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
41320 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
41321
41322
41323 pkg_failed=no
41324 { echo "$as_me:$LINENO: checking for LIBGNOMEPRINTUI" >&5
41325 echo $ECHO_N "checking for LIBGNOMEPRINTUI... $ECHO_C" >&6; }
41326
41327 if test -n "$PKG_CONFIG"; then
41328 if test -n "$LIBGNOMEPRINTUI_CFLAGS"; then
41329 pkg_cv_LIBGNOMEPRINTUI_CFLAGS="$LIBGNOMEPRINTUI_CFLAGS"
41330 else
41331 if test -n "$PKG_CONFIG" && \
41332 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41333 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41334 ac_status=$?
41335 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41336 (exit $ac_status); }; then
41337 pkg_cv_LIBGNOMEPRINTUI_CFLAGS=`$PKG_CONFIG --cflags "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41338 else
41339 pkg_failed=yes
41340 fi
41341 fi
41342 else
41343 pkg_failed=untried
41344 fi
41345 if test -n "$PKG_CONFIG"; then
41346 if test -n "$LIBGNOMEPRINTUI_LIBS"; then
41347 pkg_cv_LIBGNOMEPRINTUI_LIBS="$LIBGNOMEPRINTUI_LIBS"
41348 else
41349 if test -n "$PKG_CONFIG" && \
41350 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"libgnomeprintui-2.2 >= 2.8\"") >&5
41351 ($PKG_CONFIG --exists --print-errors "libgnomeprintui-2.2 >= 2.8") 2>&5
41352 ac_status=$?
41353 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41354 (exit $ac_status); }; then
41355 pkg_cv_LIBGNOMEPRINTUI_LIBS=`$PKG_CONFIG --libs "libgnomeprintui-2.2 >= 2.8" 2>/dev/null`
41356 else
41357 pkg_failed=yes
41358 fi
41359 fi
41360 else
41361 pkg_failed=untried
41362 fi
41363
41364
41365
41366 if test $pkg_failed = yes; then
41367
41368 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41369 _pkg_short_errors_supported=yes
41370 else
41371 _pkg_short_errors_supported=no
41372 fi
41373 if test $_pkg_short_errors_supported = yes; then
41374 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41375 else
41376 LIBGNOMEPRINTUI_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "libgnomeprintui-2.2 >= 2.8"`
41377 fi
41378 # Put the nasty error message in config.log where it belongs
41379 echo "$LIBGNOMEPRINTUI_PKG_ERRORS" >&5
41380
41381
41382 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41383 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41384 wxUSE_LIBGNOMEPRINT="no"
41385
41386
41387 elif test $pkg_failed = untried; then
41388
41389 { echo "$as_me:$LINENO: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&5
41390 echo "$as_me: WARNING: libgnomeprintui not found, library will use standard PostScript printing" >&2;}
41391 wxUSE_LIBGNOMEPRINT="no"
41392
41393
41394 else
41395 LIBGNOMEPRINTUI_CFLAGS=$pkg_cv_LIBGNOMEPRINTUI_CFLAGS
41396 LIBGNOMEPRINTUI_LIBS=$pkg_cv_LIBGNOMEPRINTUI_LIBS
41397 { echo "$as_me:$LINENO: result: yes" >&5
41398 echo "${ECHO_T}yes" >&6; }
41399
41400 CFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CFLAGS"
41401 CXXFLAGS="$LIBGNOMEPRINTUI_CFLAGS $CXXFLAGS"
41402 cat >>confdefs.h <<\_ACEOF
41403 #define wxUSE_LIBGNOMEPRINT 1
41404 _ACEOF
41405
41406
41407 fi
41408 fi
41409 fi
41410
41411 if test "$wxUSE_MIMETYPE" = "yes" ; then
41412 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
41413
41414
41415 pkg_failed=no
41416 { echo "$as_me:$LINENO: checking for GNOMEVFS" >&5
41417 echo $ECHO_N "checking for GNOMEVFS... $ECHO_C" >&6; }
41418
41419 if test -n "$PKG_CONFIG"; then
41420 if test -n "$GNOMEVFS_CFLAGS"; then
41421 pkg_cv_GNOMEVFS_CFLAGS="$GNOMEVFS_CFLAGS"
41422 else
41423 if test -n "$PKG_CONFIG" && \
41424 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41425 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41426 ac_status=$?
41427 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41428 (exit $ac_status); }; then
41429 pkg_cv_GNOMEVFS_CFLAGS=`$PKG_CONFIG --cflags "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41430 else
41431 pkg_failed=yes
41432 fi
41433 fi
41434 else
41435 pkg_failed=untried
41436 fi
41437 if test -n "$PKG_CONFIG"; then
41438 if test -n "$GNOMEVFS_LIBS"; then
41439 pkg_cv_GNOMEVFS_LIBS="$GNOMEVFS_LIBS"
41440 else
41441 if test -n "$PKG_CONFIG" && \
41442 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gnome-vfs-2.0 >= 2.0\"") >&5
41443 ($PKG_CONFIG --exists --print-errors "gnome-vfs-2.0 >= 2.0") 2>&5
41444 ac_status=$?
41445 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41446 (exit $ac_status); }; then
41447 pkg_cv_GNOMEVFS_LIBS=`$PKG_CONFIG --libs "gnome-vfs-2.0 >= 2.0" 2>/dev/null`
41448 else
41449 pkg_failed=yes
41450 fi
41451 fi
41452 else
41453 pkg_failed=untried
41454 fi
41455
41456
41457
41458 if test $pkg_failed = yes; then
41459
41460 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41461 _pkg_short_errors_supported=yes
41462 else
41463 _pkg_short_errors_supported=no
41464 fi
41465 if test $_pkg_short_errors_supported = yes; then
41466 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41467 else
41468 GNOMEVFS_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gnome-vfs-2.0 >= 2.0"`
41469 fi
41470 # Put the nasty error message in config.log where it belongs
41471 echo "$GNOMEVFS_PKG_ERRORS" >&5
41472
41473
41474 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41475 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41476 wxUSE_LIBGNOMEVFS="no"
41477
41478
41479 elif test $pkg_failed = untried; then
41480
41481 { echo "$as_me:$LINENO: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&5
41482 echo "$as_me: WARNING: libgnomevfs not found, library won't be able to associate MIME type" >&2;}
41483 wxUSE_LIBGNOMEVFS="no"
41484
41485
41486 else
41487 GNOMEVFS_CFLAGS=$pkg_cv_GNOMEVFS_CFLAGS
41488 GNOMEVFS_LIBS=$pkg_cv_GNOMEVFS_LIBS
41489 { echo "$as_me:$LINENO: result: yes" >&5
41490 echo "${ECHO_T}yes" >&6; }
41491
41492 CFLAGS="$GNOMEVFS_CFLAGS $CFLAGS"
41493 CXXFLAGS="$GNOMEVFS_CFLAGS $CXXFLAGS"
41494 cat >>confdefs.h <<\_ACEOF
41495 #define wxUSE_LIBGNOMEVFS 1
41496 _ACEOF
41497
41498
41499 fi
41500 fi
41501 fi
41502
41503 if test "$wxUSE_LIBHILDON" = "yes" ; then
41504
41505 pkg_failed=no
41506 { echo "$as_me:$LINENO: checking for HILDON" >&5
41507 echo $ECHO_N "checking for HILDON... $ECHO_C" >&6; }
41508
41509 if test -n "$PKG_CONFIG"; then
41510 if test -n "$HILDON_CFLAGS"; then
41511 pkg_cv_HILDON_CFLAGS="$HILDON_CFLAGS"
41512 else
41513 if test -n "$PKG_CONFIG" && \
41514 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41515 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41516 ac_status=$?
41517 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41518 (exit $ac_status); }; then
41519 pkg_cv_HILDON_CFLAGS=`$PKG_CONFIG --cflags "hildon-lgpl >= 0.9" 2>/dev/null`
41520 else
41521 pkg_failed=yes
41522 fi
41523 fi
41524 else
41525 pkg_failed=untried
41526 fi
41527 if test -n "$PKG_CONFIG"; then
41528 if test -n "$HILDON_LIBS"; then
41529 pkg_cv_HILDON_LIBS="$HILDON_LIBS"
41530 else
41531 if test -n "$PKG_CONFIG" && \
41532 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"hildon-lgpl >= 0.9\"") >&5
41533 ($PKG_CONFIG --exists --print-errors "hildon-lgpl >= 0.9") 2>&5
41534 ac_status=$?
41535 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41536 (exit $ac_status); }; then
41537 pkg_cv_HILDON_LIBS=`$PKG_CONFIG --libs "hildon-lgpl >= 0.9" 2>/dev/null`
41538 else
41539 pkg_failed=yes
41540 fi
41541 fi
41542 else
41543 pkg_failed=untried
41544 fi
41545
41546
41547
41548 if test $pkg_failed = yes; then
41549
41550 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
41551 _pkg_short_errors_supported=yes
41552 else
41553 _pkg_short_errors_supported=no
41554 fi
41555 if test $_pkg_short_errors_supported = yes; then
41556 HILDON_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41557 else
41558 HILDON_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "hildon-lgpl >= 0.9"`
41559 fi
41560 # Put the nasty error message in config.log where it belongs
41561 echo "$HILDON_PKG_ERRORS" >&5
41562
41563
41564 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41565 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41566 wxUSE_LIBHILDON="no"
41567
41568
41569 elif test $pkg_failed = untried; then
41570
41571 { echo "$as_me:$LINENO: WARNING: libhildon_lgpl not found" >&5
41572 echo "$as_me: WARNING: libhildon_lgpl not found" >&2;}
41573 wxUSE_LIBHILDON="no"
41574
41575
41576 else
41577 HILDON_CFLAGS=$pkg_cv_HILDON_CFLAGS
41578 HILDON_LIBS=$pkg_cv_HILDON_LIBS
41579 { echo "$as_me:$LINENO: result: yes" >&5
41580 echo "${ECHO_T}yes" >&6; }
41581
41582 EXTRALIBS_HILDON="$HILDON_LIBS"
41583 CFLAGS="$CFLAGS $HILDON_CFLAGS"
41584 CXXFLAGS="$CXXFLAGS $HILDON_CFLAGS"
41585 cat >>confdefs.h <<\_ACEOF
41586 #define wxUSE_LIBHILDON 1
41587 _ACEOF
41588
41589
41590 fi
41591 fi
41592 fi
41593
41594 if test "$wxUSE_CMDLINE_PARSER" = "yes"; then
41595 cat >>confdefs.h <<\_ACEOF
41596 #define wxUSE_CMDLINE_PARSER 1
41597 _ACEOF
41598
41599 fi
41600
41601 if test "$wxUSE_STOPWATCH" = "yes"; then
41602 cat >>confdefs.h <<\_ACEOF
41603 #define wxUSE_STOPWATCH 1
41604 _ACEOF
41605
41606 fi
41607
41608 if test "$wxUSE_DATETIME" = "yes"; then
41609 cat >>confdefs.h <<\_ACEOF
41610 #define wxUSE_DATETIME 1
41611 _ACEOF
41612
41613 fi
41614
41615 if test "$wxUSE_FILE" = "yes"; then
41616 cat >>confdefs.h <<\_ACEOF
41617 #define wxUSE_FILE 1
41618 _ACEOF
41619
41620 fi
41621
41622 if test "$wxUSE_FFILE" = "yes"; then
41623 cat >>confdefs.h <<\_ACEOF
41624 #define wxUSE_FFILE 1
41625 _ACEOF
41626
41627 fi
41628
41629 if test "$wxUSE_ARCHIVE_STREAMS" = "yes"; then
41630 if test "$wxUSE_STREAMS" != yes; then
41631 { echo "$as_me:$LINENO: WARNING: wxArchive requires wxStreams... disabled" >&5
41632 echo "$as_me: WARNING: wxArchive requires wxStreams... disabled" >&2;}
41633 wxUSE_ARCHIVE_STREAMS=no
41634 else
41635 cat >>confdefs.h <<\_ACEOF
41636 #define wxUSE_ARCHIVE_STREAMS 1
41637 _ACEOF
41638
41639 fi
41640 fi
41641
41642 if test "$wxUSE_ZIPSTREAM" = "yes"; then
41643 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41644 { echo "$as_me:$LINENO: WARNING: wxZip requires wxArchive... disabled" >&5
41645 echo "$as_me: WARNING: wxZip requires wxArchive... disabled" >&2;}
41646 elif test "$wxUSE_ZLIB" = "no"; then
41647 { echo "$as_me:$LINENO: WARNING: wxZip requires wxZlib... disabled" >&5
41648 echo "$as_me: WARNING: wxZip requires wxZlib... disabled" >&2;}
41649 else
41650 cat >>confdefs.h <<\_ACEOF
41651 #define wxUSE_ZIPSTREAM 1
41652 _ACEOF
41653
41654 fi
41655 fi
41656
41657 if test "$wxUSE_TARSTREAM" = "yes"; then
41658 if test "$wxUSE_ARCHIVE_STREAMS" != "yes"; then
41659 { echo "$as_me:$LINENO: WARNING: wxTar requires wxArchive... disabled" >&5
41660 echo "$as_me: WARNING: wxTar requires wxArchive... disabled" >&2;}
41661 else
41662 cat >>confdefs.h <<\_ACEOF
41663 #define wxUSE_TARSTREAM 1
41664 _ACEOF
41665
41666 fi
41667 fi
41668
41669 if test "$wxUSE_FILESYSTEM" = "yes"; then
41670 if test "$wxUSE_STREAMS" != yes -o \( "$wxUSE_FILE" != yes -a "$wxUSE_FFILE" != yes \); then
41671 { echo "$as_me:$LINENO: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&5
41672 echo "$as_me: WARNING: wxFileSystem requires wxStreams and wxFile or wxFFile... disabled" >&2;}
41673 wxUSE_FILESYSTEM=no
41674 else
41675 cat >>confdefs.h <<\_ACEOF
41676 #define wxUSE_FILESYSTEM 1
41677 _ACEOF
41678
41679 fi
41680 fi
41681
41682 if test "$wxUSE_FS_ARCHIVE" = "yes"; then
41683 if test "$wxUSE_FILESYSTEM" != yes -o "$wxUSE_ARCHIVE_STREAMS" != yes; then
41684 { echo "$as_me:$LINENO: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&5
41685 echo "$as_me: WARNING: wxArchiveFSHandler requires wxArchive and wxFileSystem... disabled" >&2;}
41686 else
41687 cat >>confdefs.h <<\_ACEOF
41688 #define wxUSE_FS_ARCHIVE 1
41689 _ACEOF
41690
41691 fi
41692 fi
41693
41694 if test "$wxUSE_FS_ZIP" = "yes"; then
41695 if test "$wxUSE_FS_ARCHIVE" != yes; then
41696 { echo "$as_me:$LINENO: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&5
41697 echo "$as_me: WARNING: wxZipFSHandler requires wxArchiveFSHandler... disabled" >&2;}
41698 else
41699 cat >>confdefs.h <<\_ACEOF
41700 #define wxUSE_FS_ZIP 1
41701 _ACEOF
41702
41703 fi
41704 fi
41705
41706 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41707 if test "$USE_UNIX" != 1; then
41708 { echo "$as_me:$LINENO: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&5
41709 echo "$as_me: WARNING: Catching fatal exceptions not currently supported on this system, wxApp::OnFatalException will not be called" >&2;}
41710 wxUSE_ON_FATAL_EXCEPTION=no
41711 else
41712 cat >>confdefs.h <<\_ACEOF
41713 #define wxUSE_ON_FATAL_EXCEPTION 1
41714 _ACEOF
41715
41716 fi
41717 fi
41718
41719 if test "$wxUSE_STACKWALKER" = "yes"; then
41720 cat >>confdefs.h <<\_ACEOF
41721 #define wxUSE_STACKWALKER 1
41722 _ACEOF
41723
41724 fi
41725
41726 if test "$wxUSE_DEBUGREPORT" = "yes"; then
41727 if test "$USE_UNIX" != "1" -a "$USE_WIN32" != "1"; then
41728 { echo "$as_me:$LINENO: WARNING: Creating debug reports not currently supported on this system, disabled" >&5
41729 echo "$as_me: WARNING: Creating debug reports not currently supported on this system, disabled" >&2;}
41730 wxUSE_DEBUGREPORT=no
41731 else
41732 cat >>confdefs.h <<\_ACEOF
41733 #define wxUSE_DEBUGREPORT 1
41734 _ACEOF
41735
41736 if test "$wxUSE_ON_FATAL_EXCEPTION" = "yes"; then
41737 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS debugrpt"
41738 fi
41739 fi
41740 fi
41741
41742 if test "$wxUSE_SNGLINST_CHECKER" = "yes"; then
41743 cat >>confdefs.h <<\_ACEOF
41744 #define wxUSE_SNGLINST_CHECKER 1
41745 _ACEOF
41746
41747 fi
41748
41749 if test "$wxUSE_BUSYINFO" = "yes"; then
41750 cat >>confdefs.h <<\_ACEOF
41751 #define wxUSE_BUSYINFO 1
41752 _ACEOF
41753
41754 fi
41755
41756 if test "$wxUSE_STD_IOSTREAM" = "yes"; then
41757 cat >>confdefs.h <<\_ACEOF
41758 #define wxUSE_STD_IOSTREAM 1
41759 _ACEOF
41760
41761 fi
41762
41763 if test "$wxUSE_STD_STRING" = "yes"; then
41764 cat >>confdefs.h <<\_ACEOF
41765 #define wxUSE_STD_STRING 1
41766 _ACEOF
41767
41768 fi
41769
41770 if test "$wxUSE_STDPATHS" = "yes"; then
41771 cat >>confdefs.h <<\_ACEOF
41772 #define wxUSE_STDPATHS 1
41773 _ACEOF
41774
41775 fi
41776
41777 if test "$wxUSE_TEXTBUFFER" = "yes"; then
41778 cat >>confdefs.h <<\_ACEOF
41779 #define wxUSE_TEXTBUFFER 1
41780 _ACEOF
41781
41782 fi
41783
41784 if test "$wxUSE_TEXTFILE" = "yes"; then
41785 if test "$wxUSE_FILE" != "yes" -o "$wxUSE_TEXTBUFFER" != "yes" ; then
41786 { echo "$as_me:$LINENO: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&5
41787 echo "$as_me: WARNING: wxTextFile requires wxFile and wxTextBuffer... disabled" >&2;}
41788 else
41789 cat >>confdefs.h <<\_ACEOF
41790 #define wxUSE_TEXTFILE 1
41791 _ACEOF
41792
41793 fi
41794 fi
41795
41796 if test "$wxUSE_CONFIG" = "yes" ; then
41797 if test "$wxUSE_TEXTFILE" != "yes"; then
41798 { echo "$as_me:$LINENO: WARNING: wxConfig requires wxTextFile... disabled" >&5
41799 echo "$as_me: WARNING: wxConfig requires wxTextFile... disabled" >&2;}
41800 else
41801 cat >>confdefs.h <<\_ACEOF
41802 #define wxUSE_CONFIG 1
41803 _ACEOF
41804
41805 cat >>confdefs.h <<\_ACEOF
41806 #define wxUSE_CONFIG_NATIVE 1
41807 _ACEOF
41808
41809 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS config"
41810 fi
41811 fi
41812
41813 if test "$wxUSE_INTL" = "yes" ; then
41814 if test "$wxUSE_FILE" != "yes"; then
41815 { echo "$as_me:$LINENO: WARNING: I18n code requires wxFile... disabled" >&5
41816 echo "$as_me: WARNING: I18n code requires wxFile... disabled" >&2;}
41817 else
41818 cat >>confdefs.h <<\_ACEOF
41819 #define wxUSE_INTL 1
41820 _ACEOF
41821
41822 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS internat"
41823 GUIDIST="$GUIDIST INTL_DIST"
41824 fi
41825 fi
41826
41827 if test "$wxUSE_LOG" = "yes"; then
41828 cat >>confdefs.h <<\_ACEOF
41829 #define wxUSE_LOG 1
41830 _ACEOF
41831
41832
41833 if test "$wxUSE_LOGGUI" = "yes"; then
41834 cat >>confdefs.h <<\_ACEOF
41835 #define wxUSE_LOGGUI 1
41836 _ACEOF
41837
41838 fi
41839
41840 if test "$wxUSE_LOGWINDOW" = "yes"; then
41841 cat >>confdefs.h <<\_ACEOF
41842 #define wxUSE_LOGWINDOW 1
41843 _ACEOF
41844
41845 fi
41846
41847 if test "$wxUSE_LOGDIALOG" = "yes"; then
41848 cat >>confdefs.h <<\_ACEOF
41849 #define wxUSE_LOG_DIALOG 1
41850 _ACEOF
41851
41852 fi
41853
41854 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS keyboard"
41855 fi
41856
41857 if test "$wxUSE_LONGLONG" = "yes"; then
41858 cat >>confdefs.h <<\_ACEOF
41859 #define wxUSE_LONGLONG 1
41860 _ACEOF
41861
41862 fi
41863
41864 if test "$wxUSE_GEOMETRY" = "yes"; then
41865 cat >>confdefs.h <<\_ACEOF
41866 #define wxUSE_GEOMETRY 1
41867 _ACEOF
41868
41869 fi
41870
41871 if test "$wxUSE_STREAMS" = "yes" ; then
41872 cat >>confdefs.h <<\_ACEOF
41873 #define wxUSE_STREAMS 1
41874 _ACEOF
41875
41876 fi
41877
41878 if test "$wxUSE_PRINTF_POS_PARAMS" = "yes"; then
41879 cat >>confdefs.h <<\_ACEOF
41880 #define wxUSE_PRINTF_POS_PARAMS 1
41881 _ACEOF
41882
41883 fi
41884
41885
41886
41887 if test "$wxUSE_DATETIME" = "yes"; then
41888
41889 for ac_func in strptime
41890 do
41891 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
41892 { echo "$as_me:$LINENO: checking for $ac_func" >&5
41893 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
41894 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
41895 echo $ECHO_N "(cached) $ECHO_C" >&6
41896 else
41897 cat >conftest.$ac_ext <<_ACEOF
41898 /* confdefs.h. */
41899 _ACEOF
41900 cat confdefs.h >>conftest.$ac_ext
41901 cat >>conftest.$ac_ext <<_ACEOF
41902 /* end confdefs.h. */
41903 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
41904 For example, HP-UX 11i <limits.h> declares gettimeofday. */
41905 #define $ac_func innocuous_$ac_func
41906
41907 /* System header to define __stub macros and hopefully few prototypes,
41908 which can conflict with char $ac_func (); below.
41909 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
41910 <limits.h> exists even on freestanding compilers. */
41911
41912 #ifdef __STDC__
41913 # include <limits.h>
41914 #else
41915 # include <assert.h>
41916 #endif
41917
41918 #undef $ac_func
41919
41920 /* Override any GCC internal prototype to avoid an error.
41921 Use char because int might match the return type of a GCC
41922 builtin and then its argument prototype would still apply. */
41923 #ifdef __cplusplus
41924 extern "C"
41925 #endif
41926 char $ac_func ();
41927 /* The GNU C library defines this for functions which it implements
41928 to always fail with ENOSYS. Some functions are actually named
41929 something starting with __ and the normal name is an alias. */
41930 #if defined __stub_$ac_func || defined __stub___$ac_func
41931 choke me
41932 #endif
41933
41934 int
41935 main ()
41936 {
41937 return $ac_func ();
41938 ;
41939 return 0;
41940 }
41941 _ACEOF
41942 rm -f conftest.$ac_objext conftest$ac_exeext
41943 if { (ac_try="$ac_link"
41944 case "(($ac_try" in
41945 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
41946 *) ac_try_echo=$ac_try;;
41947 esac
41948 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
41949 (eval "$ac_link") 2>conftest.er1
41950 ac_status=$?
41951 grep -v '^ *+' conftest.er1 >conftest.err
41952 rm -f conftest.er1
41953 cat conftest.err >&5
41954 echo "$as_me:$LINENO: \$? = $ac_status" >&5
41955 (exit $ac_status); } && {
41956 test -z "$ac_c_werror_flag" ||
41957 test ! -s conftest.err
41958 } && test -s conftest$ac_exeext &&
41959 $as_test_x conftest$ac_exeext; then
41960 eval "$as_ac_var=yes"
41961 else
41962 echo "$as_me: failed program was:" >&5
41963 sed 's/^/| /' conftest.$ac_ext >&5
41964
41965 eval "$as_ac_var=no"
41966 fi
41967
41968 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
41969 conftest$ac_exeext conftest.$ac_ext
41970 fi
41971 ac_res=`eval echo '${'$as_ac_var'}'`
41972 { echo "$as_me:$LINENO: result: $ac_res" >&5
41973 echo "${ECHO_T}$ac_res" >&6; }
41974 if test `eval echo '${'$as_ac_var'}'` = yes; then
41975 cat >>confdefs.h <<_ACEOF
41976 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
41977 _ACEOF
41978
41979 fi
41980 done
41981
41982 if test "$ac_cv_func_strptime" = "yes"; then
41983 { echo "$as_me:$LINENO: checking for strptime declaration" >&5
41984 echo $ECHO_N "checking for strptime declaration... $ECHO_C" >&6; }
41985 if test "${wx_cv_func_strptime_decl+set}" = set; then
41986 echo $ECHO_N "(cached) $ECHO_C" >&6
41987 else
41988
41989 ac_ext=cpp
41990 ac_cpp='$CXXCPP $CPPFLAGS'
41991 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
41992 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
41993 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
41994
41995 cat >conftest.$ac_ext <<_ACEOF
41996 /* confdefs.h. */
41997 _ACEOF
41998 cat confdefs.h >>conftest.$ac_ext
41999 cat >>conftest.$ac_ext <<_ACEOF
42000 /* end confdefs.h. */
42001
42002 #include <time.h>
42003
42004 int
42005 main ()
42006 {
42007
42008 struct tm t;
42009 strptime("foo", "bar", &t);
42010
42011 ;
42012 return 0;
42013 }
42014 _ACEOF
42015 rm -f conftest.$ac_objext
42016 if { (ac_try="$ac_compile"
42017 case "(($ac_try" in
42018 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42019 *) ac_try_echo=$ac_try;;
42020 esac
42021 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42022 (eval "$ac_compile") 2>conftest.er1
42023 ac_status=$?
42024 grep -v '^ *+' conftest.er1 >conftest.err
42025 rm -f conftest.er1
42026 cat conftest.err >&5
42027 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42028 (exit $ac_status); } && {
42029 test -z "$ac_cxx_werror_flag" ||
42030 test ! -s conftest.err
42031 } && test -s conftest.$ac_objext; then
42032 wx_cv_func_strptime_decl=yes
42033 else
42034 echo "$as_me: failed program was:" >&5
42035 sed 's/^/| /' conftest.$ac_ext >&5
42036
42037 wx_cv_func_strptime_decl=no
42038
42039 fi
42040
42041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42042 ac_ext=c
42043 ac_cpp='$CPP $CPPFLAGS'
42044 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42045 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42046 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42047
42048
42049
42050 fi
42051 { echo "$as_me:$LINENO: result: $wx_cv_func_strptime_decl" >&5
42052 echo "${ECHO_T}$wx_cv_func_strptime_decl" >&6; }
42053 fi
42054 if test "$wx_cv_func_strptime_decl" = "yes"; then
42055 cat >>confdefs.h <<\_ACEOF
42056 #define HAVE_STRPTIME_DECL 1
42057 _ACEOF
42058
42059 fi
42060
42061 { echo "$as_me:$LINENO: checking for timezone variable in <time.h>" >&5
42062 echo $ECHO_N "checking for timezone variable in <time.h>... $ECHO_C" >&6; }
42063 if test "${wx_cv_var_timezone+set}" = set; then
42064 echo $ECHO_N "(cached) $ECHO_C" >&6
42065 else
42066
42067 ac_ext=cpp
42068 ac_cpp='$CXXCPP $CPPFLAGS'
42069 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42070 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42071 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42072
42073 cat >conftest.$ac_ext <<_ACEOF
42074 /* confdefs.h. */
42075 _ACEOF
42076 cat confdefs.h >>conftest.$ac_ext
42077 cat >>conftest.$ac_ext <<_ACEOF
42078 /* end confdefs.h. */
42079
42080 #include <time.h>
42081
42082 int
42083 main ()
42084 {
42085
42086 int tz;
42087 tz = timezone;
42088
42089 ;
42090 return 0;
42091 }
42092 _ACEOF
42093 rm -f conftest.$ac_objext
42094 if { (ac_try="$ac_compile"
42095 case "(($ac_try" in
42096 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42097 *) ac_try_echo=$ac_try;;
42098 esac
42099 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42100 (eval "$ac_compile") 2>conftest.er1
42101 ac_status=$?
42102 grep -v '^ *+' conftest.er1 >conftest.err
42103 rm -f conftest.er1
42104 cat conftest.err >&5
42105 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42106 (exit $ac_status); } && {
42107 test -z "$ac_cxx_werror_flag" ||
42108 test ! -s conftest.err
42109 } && test -s conftest.$ac_objext; then
42110
42111 wx_cv_var_timezone=timezone
42112
42113 else
42114 echo "$as_me: failed program was:" >&5
42115 sed 's/^/| /' conftest.$ac_ext >&5
42116
42117
42118 cat >conftest.$ac_ext <<_ACEOF
42119 /* confdefs.h. */
42120 _ACEOF
42121 cat confdefs.h >>conftest.$ac_ext
42122 cat >>conftest.$ac_ext <<_ACEOF
42123 /* end confdefs.h. */
42124
42125 #include <time.h>
42126
42127 int
42128 main ()
42129 {
42130
42131 int tz;
42132 tz = _timezone;
42133
42134 ;
42135 return 0;
42136 }
42137 _ACEOF
42138 rm -f conftest.$ac_objext
42139 if { (ac_try="$ac_compile"
42140 case "(($ac_try" in
42141 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42142 *) ac_try_echo=$ac_try;;
42143 esac
42144 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42145 (eval "$ac_compile") 2>conftest.er1
42146 ac_status=$?
42147 grep -v '^ *+' conftest.er1 >conftest.err
42148 rm -f conftest.er1
42149 cat conftest.err >&5
42150 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42151 (exit $ac_status); } && {
42152 test -z "$ac_cxx_werror_flag" ||
42153 test ! -s conftest.err
42154 } && test -s conftest.$ac_objext; then
42155
42156 wx_cv_var_timezone=_timezone
42157
42158 else
42159 echo "$as_me: failed program was:" >&5
42160 sed 's/^/| /' conftest.$ac_ext >&5
42161
42162
42163 cat >conftest.$ac_ext <<_ACEOF
42164 /* confdefs.h. */
42165 _ACEOF
42166 cat confdefs.h >>conftest.$ac_ext
42167 cat >>conftest.$ac_ext <<_ACEOF
42168 /* end confdefs.h. */
42169
42170 #include <time.h>
42171
42172 int
42173 main ()
42174 {
42175
42176 int tz;
42177 tz = __timezone;
42178
42179 ;
42180 return 0;
42181 }
42182 _ACEOF
42183 rm -f conftest.$ac_objext
42184 if { (ac_try="$ac_compile"
42185 case "(($ac_try" in
42186 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42187 *) ac_try_echo=$ac_try;;
42188 esac
42189 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42190 (eval "$ac_compile") 2>conftest.er1
42191 ac_status=$?
42192 grep -v '^ *+' conftest.er1 >conftest.err
42193 rm -f conftest.er1
42194 cat conftest.err >&5
42195 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42196 (exit $ac_status); } && {
42197 test -z "$ac_cxx_werror_flag" ||
42198 test ! -s conftest.err
42199 } && test -s conftest.$ac_objext; then
42200
42201 wx_cv_var_timezone=__timezone
42202
42203 else
42204 echo "$as_me: failed program was:" >&5
42205 sed 's/^/| /' conftest.$ac_ext >&5
42206
42207
42208 if test "$USE_DOS" = 0 ; then
42209 { echo "$as_me:$LINENO: WARNING: no timezone variable" >&5
42210 echo "$as_me: WARNING: no timezone variable" >&2;}
42211 fi
42212
42213
42214 fi
42215
42216 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42217
42218
42219 fi
42220
42221 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42222
42223
42224 fi
42225
42226 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42227 ac_ext=c
42228 ac_cpp='$CPP $CPPFLAGS'
42229 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42230 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42231 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42232
42233
42234
42235 fi
42236 { echo "$as_me:$LINENO: result: $wx_cv_var_timezone" >&5
42237 echo "${ECHO_T}$wx_cv_var_timezone" >&6; }
42238
42239 if test "x$wx_cv_var_timezone" != x ; then
42240 cat >>confdefs.h <<_ACEOF
42241 #define WX_TIMEZONE $wx_cv_var_timezone
42242 _ACEOF
42243
42244 fi
42245
42246
42247 for ac_func in localtime
42248 do
42249 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42250 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42251 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42252 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42253 echo $ECHO_N "(cached) $ECHO_C" >&6
42254 else
42255 cat >conftest.$ac_ext <<_ACEOF
42256 /* confdefs.h. */
42257 _ACEOF
42258 cat confdefs.h >>conftest.$ac_ext
42259 cat >>conftest.$ac_ext <<_ACEOF
42260 /* end confdefs.h. */
42261 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42262 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42263 #define $ac_func innocuous_$ac_func
42264
42265 /* System header to define __stub macros and hopefully few prototypes,
42266 which can conflict with char $ac_func (); below.
42267 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42268 <limits.h> exists even on freestanding compilers. */
42269
42270 #ifdef __STDC__
42271 # include <limits.h>
42272 #else
42273 # include <assert.h>
42274 #endif
42275
42276 #undef $ac_func
42277
42278 /* Override any GCC internal prototype to avoid an error.
42279 Use char because int might match the return type of a GCC
42280 builtin and then its argument prototype would still apply. */
42281 #ifdef __cplusplus
42282 extern "C"
42283 #endif
42284 char $ac_func ();
42285 /* The GNU C library defines this for functions which it implements
42286 to always fail with ENOSYS. Some functions are actually named
42287 something starting with __ and the normal name is an alias. */
42288 #if defined __stub_$ac_func || defined __stub___$ac_func
42289 choke me
42290 #endif
42291
42292 int
42293 main ()
42294 {
42295 return $ac_func ();
42296 ;
42297 return 0;
42298 }
42299 _ACEOF
42300 rm -f conftest.$ac_objext conftest$ac_exeext
42301 if { (ac_try="$ac_link"
42302 case "(($ac_try" in
42303 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42304 *) ac_try_echo=$ac_try;;
42305 esac
42306 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42307 (eval "$ac_link") 2>conftest.er1
42308 ac_status=$?
42309 grep -v '^ *+' conftest.er1 >conftest.err
42310 rm -f conftest.er1
42311 cat conftest.err >&5
42312 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42313 (exit $ac_status); } && {
42314 test -z "$ac_c_werror_flag" ||
42315 test ! -s conftest.err
42316 } && test -s conftest$ac_exeext &&
42317 $as_test_x conftest$ac_exeext; then
42318 eval "$as_ac_var=yes"
42319 else
42320 echo "$as_me: failed program was:" >&5
42321 sed 's/^/| /' conftest.$ac_ext >&5
42322
42323 eval "$as_ac_var=no"
42324 fi
42325
42326 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42327 conftest$ac_exeext conftest.$ac_ext
42328 fi
42329 ac_res=`eval echo '${'$as_ac_var'}'`
42330 { echo "$as_me:$LINENO: result: $ac_res" >&5
42331 echo "${ECHO_T}$ac_res" >&6; }
42332 if test `eval echo '${'$as_ac_var'}'` = yes; then
42333 cat >>confdefs.h <<_ACEOF
42334 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42335 _ACEOF
42336
42337 fi
42338 done
42339
42340
42341 if test "$ac_cv_func_localtime" = "yes"; then
42342 { echo "$as_me:$LINENO: checking for tm_gmtoff in struct tm" >&5
42343 echo $ECHO_N "checking for tm_gmtoff in struct tm... $ECHO_C" >&6; }
42344 if test "${wx_cv_struct_tm_has_gmtoff+set}" = set; then
42345 echo $ECHO_N "(cached) $ECHO_C" >&6
42346 else
42347
42348 cat >conftest.$ac_ext <<_ACEOF
42349 /* confdefs.h. */
42350 _ACEOF
42351 cat confdefs.h >>conftest.$ac_ext
42352 cat >>conftest.$ac_ext <<_ACEOF
42353 /* end confdefs.h. */
42354
42355 #include <time.h>
42356
42357 int
42358 main ()
42359 {
42360
42361 struct tm tm;
42362 tm.tm_gmtoff++;
42363
42364 ;
42365 return 0;
42366 }
42367 _ACEOF
42368 rm -f conftest.$ac_objext
42369 if { (ac_try="$ac_compile"
42370 case "(($ac_try" in
42371 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42372 *) ac_try_echo=$ac_try;;
42373 esac
42374 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42375 (eval "$ac_compile") 2>conftest.er1
42376 ac_status=$?
42377 grep -v '^ *+' conftest.er1 >conftest.err
42378 rm -f conftest.er1
42379 cat conftest.err >&5
42380 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42381 (exit $ac_status); } && {
42382 test -z "$ac_c_werror_flag" ||
42383 test ! -s conftest.err
42384 } && test -s conftest.$ac_objext; then
42385
42386 wx_cv_struct_tm_has_gmtoff=yes
42387
42388 else
42389 echo "$as_me: failed program was:" >&5
42390 sed 's/^/| /' conftest.$ac_ext >&5
42391
42392 wx_cv_struct_tm_has_gmtoff=no
42393
42394 fi
42395
42396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42397
42398 fi
42399 { echo "$as_me:$LINENO: result: $wx_cv_struct_tm_has_gmtoff" >&5
42400 echo "${ECHO_T}$wx_cv_struct_tm_has_gmtoff" >&6; }
42401 fi
42402
42403 if test "$wx_cv_struct_tm_has_gmtoff" = "yes"; then
42404 cat >>confdefs.h <<\_ACEOF
42405 #define WX_GMTOFF_IN_TM 1
42406 _ACEOF
42407
42408 fi
42409
42410
42411
42412 for ac_func in gettimeofday ftime
42413 do
42414 as_ac_var=`echo "ac_cv_func_$ac_func" | $as_tr_sh`
42415 { echo "$as_me:$LINENO: checking for $ac_func" >&5
42416 echo $ECHO_N "checking for $ac_func... $ECHO_C" >&6; }
42417 if { as_var=$as_ac_var; eval "test \"\${$as_var+set}\" = set"; }; then
42418 echo $ECHO_N "(cached) $ECHO_C" >&6
42419 else
42420 cat >conftest.$ac_ext <<_ACEOF
42421 /* confdefs.h. */
42422 _ACEOF
42423 cat confdefs.h >>conftest.$ac_ext
42424 cat >>conftest.$ac_ext <<_ACEOF
42425 /* end confdefs.h. */
42426 /* Define $ac_func to an innocuous variant, in case <limits.h> declares $ac_func.
42427 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42428 #define $ac_func innocuous_$ac_func
42429
42430 /* System header to define __stub macros and hopefully few prototypes,
42431 which can conflict with char $ac_func (); below.
42432 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42433 <limits.h> exists even on freestanding compilers. */
42434
42435 #ifdef __STDC__
42436 # include <limits.h>
42437 #else
42438 # include <assert.h>
42439 #endif
42440
42441 #undef $ac_func
42442
42443 /* Override any GCC internal prototype to avoid an error.
42444 Use char because int might match the return type of a GCC
42445 builtin and then its argument prototype would still apply. */
42446 #ifdef __cplusplus
42447 extern "C"
42448 #endif
42449 char $ac_func ();
42450 /* The GNU C library defines this for functions which it implements
42451 to always fail with ENOSYS. Some functions are actually named
42452 something starting with __ and the normal name is an alias. */
42453 #if defined __stub_$ac_func || defined __stub___$ac_func
42454 choke me
42455 #endif
42456
42457 int
42458 main ()
42459 {
42460 return $ac_func ();
42461 ;
42462 return 0;
42463 }
42464 _ACEOF
42465 rm -f conftest.$ac_objext conftest$ac_exeext
42466 if { (ac_try="$ac_link"
42467 case "(($ac_try" in
42468 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42469 *) ac_try_echo=$ac_try;;
42470 esac
42471 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42472 (eval "$ac_link") 2>conftest.er1
42473 ac_status=$?
42474 grep -v '^ *+' conftest.er1 >conftest.err
42475 rm -f conftest.er1
42476 cat conftest.err >&5
42477 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42478 (exit $ac_status); } && {
42479 test -z "$ac_c_werror_flag" ||
42480 test ! -s conftest.err
42481 } && test -s conftest$ac_exeext &&
42482 $as_test_x conftest$ac_exeext; then
42483 eval "$as_ac_var=yes"
42484 else
42485 echo "$as_me: failed program was:" >&5
42486 sed 's/^/| /' conftest.$ac_ext >&5
42487
42488 eval "$as_ac_var=no"
42489 fi
42490
42491 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42492 conftest$ac_exeext conftest.$ac_ext
42493 fi
42494 ac_res=`eval echo '${'$as_ac_var'}'`
42495 { echo "$as_me:$LINENO: result: $ac_res" >&5
42496 echo "${ECHO_T}$ac_res" >&6; }
42497 if test `eval echo '${'$as_ac_var'}'` = yes; then
42498 cat >>confdefs.h <<_ACEOF
42499 #define `echo "HAVE_$ac_func" | $as_tr_cpp` 1
42500 _ACEOF
42501 break
42502 fi
42503 done
42504
42505
42506 if test "$ac_cv_func_gettimeofday" = "yes"; then
42507 { echo "$as_me:$LINENO: checking whether gettimeofday takes two arguments" >&5
42508 echo $ECHO_N "checking whether gettimeofday takes two arguments... $ECHO_C" >&6; }
42509 if test "${wx_cv_func_gettimeofday_has_2_args+set}" = set; then
42510 echo $ECHO_N "(cached) $ECHO_C" >&6
42511 else
42512
42513 cat >conftest.$ac_ext <<_ACEOF
42514 /* confdefs.h. */
42515 _ACEOF
42516 cat confdefs.h >>conftest.$ac_ext
42517 cat >>conftest.$ac_ext <<_ACEOF
42518 /* end confdefs.h. */
42519
42520 #include <sys/time.h>
42521 #include <unistd.h>
42522
42523 int
42524 main ()
42525 {
42526
42527 struct timeval tv;
42528 gettimeofday(&tv, NULL);
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_c_werror_flag" ||
42549 test ! -s conftest.err
42550 } && test -s conftest.$ac_objext; then
42551 wx_cv_func_gettimeofday_has_2_args=yes
42552 else
42553 echo "$as_me: failed program was:" >&5
42554 sed 's/^/| /' conftest.$ac_ext >&5
42555
42556 cat >conftest.$ac_ext <<_ACEOF
42557 /* confdefs.h. */
42558 _ACEOF
42559 cat confdefs.h >>conftest.$ac_ext
42560 cat >>conftest.$ac_ext <<_ACEOF
42561 /* end confdefs.h. */
42562
42563 #include <sys/time.h>
42564 #include <unistd.h>
42565
42566 int
42567 main ()
42568 {
42569
42570 struct timeval tv;
42571 gettimeofday(&tv);
42572
42573 ;
42574 return 0;
42575 }
42576 _ACEOF
42577 rm -f conftest.$ac_objext
42578 if { (ac_try="$ac_compile"
42579 case "(($ac_try" in
42580 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42581 *) ac_try_echo=$ac_try;;
42582 esac
42583 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42584 (eval "$ac_compile") 2>conftest.er1
42585 ac_status=$?
42586 grep -v '^ *+' conftest.er1 >conftest.err
42587 rm -f conftest.er1
42588 cat conftest.err >&5
42589 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42590 (exit $ac_status); } && {
42591 test -z "$ac_c_werror_flag" ||
42592 test ! -s conftest.err
42593 } && test -s conftest.$ac_objext; then
42594 wx_cv_func_gettimeofday_has_2_args=no
42595 else
42596 echo "$as_me: failed program was:" >&5
42597 sed 's/^/| /' conftest.$ac_ext >&5
42598
42599
42600 { echo "$as_me:$LINENO: WARNING: failed to determine number of gettimeofday() arguments" >&5
42601 echo "$as_me: WARNING: failed to determine number of gettimeofday() arguments" >&2;}
42602 wx_cv_func_gettimeofday_has_2_args=unknown
42603
42604
42605 fi
42606
42607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42608
42609 fi
42610
42611 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42612
42613 fi
42614 { echo "$as_me:$LINENO: result: $wx_cv_func_gettimeofday_has_2_args" >&5
42615 echo "${ECHO_T}$wx_cv_func_gettimeofday_has_2_args" >&6; }
42616
42617 if test "$wx_cv_func_gettimeofday_has_2_args" != "yes"; then
42618 cat >>confdefs.h <<\_ACEOF
42619 #define WX_GETTIMEOFDAY_NO_TZ 1
42620 _ACEOF
42621
42622 fi
42623 fi
42624
42625 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS typetest"
42626 fi
42627
42628
42629 if test "$wxUSE_SOCKETS" = "yes"; then
42630 if test "$wxUSE_MGL" = "1"; then
42631 { echo "$as_me:$LINENO: WARNING: wxSocket not yet supported under MGL... disabled" >&5
42632 echo "$as_me: WARNING: wxSocket not yet supported under MGL... disabled" >&2;}
42633 wxUSE_SOCKETS="no"
42634 fi
42635 fi
42636
42637 if test "$wxUSE_SOCKETS" = "yes"; then
42638 if test "$TOOLKIT" != "MSW"; then
42639 { echo "$as_me:$LINENO: checking for socket" >&5
42640 echo $ECHO_N "checking for socket... $ECHO_C" >&6; }
42641 if test "${ac_cv_func_socket+set}" = set; then
42642 echo $ECHO_N "(cached) $ECHO_C" >&6
42643 else
42644 cat >conftest.$ac_ext <<_ACEOF
42645 /* confdefs.h. */
42646 _ACEOF
42647 cat confdefs.h >>conftest.$ac_ext
42648 cat >>conftest.$ac_ext <<_ACEOF
42649 /* end confdefs.h. */
42650 /* Define socket to an innocuous variant, in case <limits.h> declares socket.
42651 For example, HP-UX 11i <limits.h> declares gettimeofday. */
42652 #define socket innocuous_socket
42653
42654 /* System header to define __stub macros and hopefully few prototypes,
42655 which can conflict with char socket (); below.
42656 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
42657 <limits.h> exists even on freestanding compilers. */
42658
42659 #ifdef __STDC__
42660 # include <limits.h>
42661 #else
42662 # include <assert.h>
42663 #endif
42664
42665 #undef socket
42666
42667 /* Override any GCC internal prototype to avoid an error.
42668 Use char because int might match the return type of a GCC
42669 builtin and then its argument prototype would still apply. */
42670 #ifdef __cplusplus
42671 extern "C"
42672 #endif
42673 char socket ();
42674 /* The GNU C library defines this for functions which it implements
42675 to always fail with ENOSYS. Some functions are actually named
42676 something starting with __ and the normal name is an alias. */
42677 #if defined __stub_socket || defined __stub___socket
42678 choke me
42679 #endif
42680
42681 int
42682 main ()
42683 {
42684 return socket ();
42685 ;
42686 return 0;
42687 }
42688 _ACEOF
42689 rm -f conftest.$ac_objext conftest$ac_exeext
42690 if { (ac_try="$ac_link"
42691 case "(($ac_try" in
42692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42693 *) ac_try_echo=$ac_try;;
42694 esac
42695 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42696 (eval "$ac_link") 2>conftest.er1
42697 ac_status=$?
42698 grep -v '^ *+' conftest.er1 >conftest.err
42699 rm -f conftest.er1
42700 cat conftest.err >&5
42701 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42702 (exit $ac_status); } && {
42703 test -z "$ac_c_werror_flag" ||
42704 test ! -s conftest.err
42705 } && test -s conftest$ac_exeext &&
42706 $as_test_x conftest$ac_exeext; then
42707 ac_cv_func_socket=yes
42708 else
42709 echo "$as_me: failed program was:" >&5
42710 sed 's/^/| /' conftest.$ac_ext >&5
42711
42712 ac_cv_func_socket=no
42713 fi
42714
42715 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42716 conftest$ac_exeext conftest.$ac_ext
42717 fi
42718 { echo "$as_me:$LINENO: result: $ac_cv_func_socket" >&5
42719 echo "${ECHO_T}$ac_cv_func_socket" >&6; }
42720 if test $ac_cv_func_socket = yes; then
42721 :
42722 else
42723
42724 { echo "$as_me:$LINENO: checking for socket in -lsocket" >&5
42725 echo $ECHO_N "checking for socket in -lsocket... $ECHO_C" >&6; }
42726 if test "${ac_cv_lib_socket_socket+set}" = set; then
42727 echo $ECHO_N "(cached) $ECHO_C" >&6
42728 else
42729 ac_check_lib_save_LIBS=$LIBS
42730 LIBS="-lsocket $LIBS"
42731 cat >conftest.$ac_ext <<_ACEOF
42732 /* confdefs.h. */
42733 _ACEOF
42734 cat confdefs.h >>conftest.$ac_ext
42735 cat >>conftest.$ac_ext <<_ACEOF
42736 /* end confdefs.h. */
42737
42738 /* Override any GCC internal prototype to avoid an error.
42739 Use char because int might match the return type of a GCC
42740 builtin and then its argument prototype would still apply. */
42741 #ifdef __cplusplus
42742 extern "C"
42743 #endif
42744 char socket ();
42745 int
42746 main ()
42747 {
42748 return socket ();
42749 ;
42750 return 0;
42751 }
42752 _ACEOF
42753 rm -f conftest.$ac_objext conftest$ac_exeext
42754 if { (ac_try="$ac_link"
42755 case "(($ac_try" in
42756 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42757 *) ac_try_echo=$ac_try;;
42758 esac
42759 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42760 (eval "$ac_link") 2>conftest.er1
42761 ac_status=$?
42762 grep -v '^ *+' conftest.er1 >conftest.err
42763 rm -f conftest.er1
42764 cat conftest.err >&5
42765 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42766 (exit $ac_status); } && {
42767 test -z "$ac_c_werror_flag" ||
42768 test ! -s conftest.err
42769 } && test -s conftest$ac_exeext &&
42770 $as_test_x conftest$ac_exeext; then
42771 ac_cv_lib_socket_socket=yes
42772 else
42773 echo "$as_me: failed program was:" >&5
42774 sed 's/^/| /' conftest.$ac_ext >&5
42775
42776 ac_cv_lib_socket_socket=no
42777 fi
42778
42779 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
42780 conftest$ac_exeext conftest.$ac_ext
42781 LIBS=$ac_check_lib_save_LIBS
42782 fi
42783 { echo "$as_me:$LINENO: result: $ac_cv_lib_socket_socket" >&5
42784 echo "${ECHO_T}$ac_cv_lib_socket_socket" >&6; }
42785 if test $ac_cv_lib_socket_socket = yes; then
42786 if test "$INET_LINK" != " -lsocket"; then
42787 INET_LINK="$INET_LINK -lsocket"
42788 fi
42789 else
42790
42791 { echo "$as_me:$LINENO: WARNING: socket library not found - sockets will be disabled" >&5
42792 echo "$as_me: WARNING: socket library not found - sockets will be disabled" >&2;}
42793 wxUSE_SOCKETS=no
42794
42795
42796 fi
42797
42798
42799
42800 fi
42801
42802 fi
42803 fi
42804
42805 if test "$wxUSE_SOCKETS" = "yes" ; then
42806 if test "$TOOLKIT" != "MSW"; then
42807 { echo "$as_me:$LINENO: checking what is the type of the third argument of getsockname" >&5
42808 echo $ECHO_N "checking what is the type of the third argument of getsockname... $ECHO_C" >&6; }
42809 if test "${wx_cv_type_getsockname3+set}" = set; then
42810 echo $ECHO_N "(cached) $ECHO_C" >&6
42811 else
42812
42813 ac_ext=cpp
42814 ac_cpp='$CXXCPP $CPPFLAGS'
42815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
42818
42819 cat >conftest.$ac_ext <<_ACEOF
42820 /* confdefs.h. */
42821 _ACEOF
42822 cat confdefs.h >>conftest.$ac_ext
42823 cat >>conftest.$ac_ext <<_ACEOF
42824 /* end confdefs.h. */
42825
42826 #include <sys/types.h>
42827 #include <sys/socket.h>
42828
42829 int
42830 main ()
42831 {
42832
42833 socklen_t len;
42834 getsockname(0, 0, &len);
42835
42836 ;
42837 return 0;
42838 }
42839 _ACEOF
42840 rm -f conftest.$ac_objext
42841 if { (ac_try="$ac_compile"
42842 case "(($ac_try" in
42843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42844 *) ac_try_echo=$ac_try;;
42845 esac
42846 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42847 (eval "$ac_compile") 2>conftest.er1
42848 ac_status=$?
42849 grep -v '^ *+' conftest.er1 >conftest.err
42850 rm -f conftest.er1
42851 cat conftest.err >&5
42852 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42853 (exit $ac_status); } && {
42854 test -z "$ac_cxx_werror_flag" ||
42855 test ! -s conftest.err
42856 } && test -s conftest.$ac_objext; then
42857 wx_cv_type_getsockname3=socklen_t
42858 else
42859 echo "$as_me: failed program was:" >&5
42860 sed 's/^/| /' conftest.$ac_ext >&5
42861
42862
42863 CFLAGS_OLD="$CFLAGS"
42864 if test "$GCC" = yes ; then
42865 CFLAGS="-Werror $CFLAGS"
42866 fi
42867
42868 cat >conftest.$ac_ext <<_ACEOF
42869 /* confdefs.h. */
42870 _ACEOF
42871 cat confdefs.h >>conftest.$ac_ext
42872 cat >>conftest.$ac_ext <<_ACEOF
42873 /* end confdefs.h. */
42874
42875 #include <sys/types.h>
42876 #include <sys/socket.h>
42877
42878 int
42879 main ()
42880 {
42881
42882 size_t len;
42883 getsockname(0, 0, &len);
42884
42885 ;
42886 return 0;
42887 }
42888 _ACEOF
42889 rm -f conftest.$ac_objext
42890 if { (ac_try="$ac_compile"
42891 case "(($ac_try" in
42892 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42893 *) ac_try_echo=$ac_try;;
42894 esac
42895 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42896 (eval "$ac_compile") 2>conftest.er1
42897 ac_status=$?
42898 grep -v '^ *+' conftest.er1 >conftest.err
42899 rm -f conftest.er1
42900 cat conftest.err >&5
42901 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42902 (exit $ac_status); } && {
42903 test -z "$ac_cxx_werror_flag" ||
42904 test ! -s conftest.err
42905 } && test -s conftest.$ac_objext; then
42906 wx_cv_type_getsockname3=size_t
42907 else
42908 echo "$as_me: failed program was:" >&5
42909 sed 's/^/| /' conftest.$ac_ext >&5
42910
42911 cat >conftest.$ac_ext <<_ACEOF
42912 /* confdefs.h. */
42913 _ACEOF
42914 cat confdefs.h >>conftest.$ac_ext
42915 cat >>conftest.$ac_ext <<_ACEOF
42916 /* end confdefs.h. */
42917
42918 #include <sys/types.h>
42919 #include <sys/socket.h>
42920
42921 int
42922 main ()
42923 {
42924
42925 int len;
42926 getsockname(0, 0, &len);
42927
42928 ;
42929 return 0;
42930 }
42931 _ACEOF
42932 rm -f conftest.$ac_objext
42933 if { (ac_try="$ac_compile"
42934 case "(($ac_try" in
42935 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
42936 *) ac_try_echo=$ac_try;;
42937 esac
42938 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
42939 (eval "$ac_compile") 2>conftest.er1
42940 ac_status=$?
42941 grep -v '^ *+' conftest.er1 >conftest.err
42942 rm -f conftest.er1
42943 cat conftest.err >&5
42944 echo "$as_me:$LINENO: \$? = $ac_status" >&5
42945 (exit $ac_status); } && {
42946 test -z "$ac_cxx_werror_flag" ||
42947 test ! -s conftest.err
42948 } && test -s conftest.$ac_objext; then
42949 wx_cv_type_getsockname3=int
42950 else
42951 echo "$as_me: failed program was:" >&5
42952 sed 's/^/| /' conftest.$ac_ext >&5
42953
42954 wx_cv_type_getsockname3=unknown
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 CFLAGS="$CFLAGS_OLD"
42965
42966
42967 fi
42968
42969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
42970 ac_ext=c
42971 ac_cpp='$CPP $CPPFLAGS'
42972 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
42973 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
42974 ac_compiler_gnu=$ac_cv_c_compiler_gnu
42975
42976
42977 fi
42978 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockname3" >&5
42979 echo "${ECHO_T}$wx_cv_type_getsockname3" >&6; }
42980
42981 if test "$wx_cv_type_getsockname3" = "unknown"; then
42982 wxUSE_SOCKETS=no
42983 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
42984 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
42985 else
42986 cat >>confdefs.h <<_ACEOF
42987 #define WX_SOCKLEN_T $wx_cv_type_getsockname3
42988 _ACEOF
42989
42990 fi
42991 { echo "$as_me:$LINENO: checking what is the type of the fifth argument of getsockopt" >&5
42992 echo $ECHO_N "checking what is the type of the fifth argument of getsockopt... $ECHO_C" >&6; }
42993 if test "${wx_cv_type_getsockopt5+set}" = set; then
42994 echo $ECHO_N "(cached) $ECHO_C" >&6
42995 else
42996
42997 ac_ext=cpp
42998 ac_cpp='$CXXCPP $CPPFLAGS'
42999 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43000 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43001 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43002
43003 cat >conftest.$ac_ext <<_ACEOF
43004 /* confdefs.h. */
43005 _ACEOF
43006 cat confdefs.h >>conftest.$ac_ext
43007 cat >>conftest.$ac_ext <<_ACEOF
43008 /* end confdefs.h. */
43009
43010 #include <sys/types.h>
43011 #include <sys/socket.h>
43012
43013 int
43014 main ()
43015 {
43016
43017 socklen_t len;
43018 getsockopt(0, 0, 0, 0, &len);
43019
43020 ;
43021 return 0;
43022 }
43023 _ACEOF
43024 rm -f conftest.$ac_objext
43025 if { (ac_try="$ac_compile"
43026 case "(($ac_try" in
43027 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43028 *) ac_try_echo=$ac_try;;
43029 esac
43030 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43031 (eval "$ac_compile") 2>conftest.er1
43032 ac_status=$?
43033 grep -v '^ *+' conftest.er1 >conftest.err
43034 rm -f conftest.er1
43035 cat conftest.err >&5
43036 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43037 (exit $ac_status); } && {
43038 test -z "$ac_cxx_werror_flag" ||
43039 test ! -s conftest.err
43040 } && test -s conftest.$ac_objext; then
43041 wx_cv_type_getsockopt5=socklen_t
43042 else
43043 echo "$as_me: failed program was:" >&5
43044 sed 's/^/| /' conftest.$ac_ext >&5
43045
43046
43047 cat >conftest.$ac_ext <<_ACEOF
43048 /* confdefs.h. */
43049 _ACEOF
43050 cat confdefs.h >>conftest.$ac_ext
43051 cat >>conftest.$ac_ext <<_ACEOF
43052 /* end confdefs.h. */
43053
43054 #include <sys/types.h>
43055 #include <sys/socket.h>
43056
43057 int
43058 main ()
43059 {
43060
43061 size_t len;
43062 getsockopt(0, 0, 0, 0, &len);
43063
43064 ;
43065 return 0;
43066 }
43067 _ACEOF
43068 rm -f conftest.$ac_objext
43069 if { (ac_try="$ac_compile"
43070 case "(($ac_try" in
43071 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43072 *) ac_try_echo=$ac_try;;
43073 esac
43074 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43075 (eval "$ac_compile") 2>conftest.er1
43076 ac_status=$?
43077 grep -v '^ *+' conftest.er1 >conftest.err
43078 rm -f conftest.er1
43079 cat conftest.err >&5
43080 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43081 (exit $ac_status); } && {
43082 test -z "$ac_cxx_werror_flag" ||
43083 test ! -s conftest.err
43084 } && test -s conftest.$ac_objext; then
43085 wx_cv_type_getsockopt5=size_t
43086 else
43087 echo "$as_me: failed program was:" >&5
43088 sed 's/^/| /' conftest.$ac_ext >&5
43089
43090 cat >conftest.$ac_ext <<_ACEOF
43091 /* confdefs.h. */
43092 _ACEOF
43093 cat confdefs.h >>conftest.$ac_ext
43094 cat >>conftest.$ac_ext <<_ACEOF
43095 /* end confdefs.h. */
43096
43097 #include <sys/types.h>
43098 #include <sys/socket.h>
43099
43100 int
43101 main ()
43102 {
43103
43104 int len;
43105 getsockopt(0, 0, 0, 0, &len);
43106
43107 ;
43108 return 0;
43109 }
43110 _ACEOF
43111 rm -f conftest.$ac_objext
43112 if { (ac_try="$ac_compile"
43113 case "(($ac_try" in
43114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43115 *) ac_try_echo=$ac_try;;
43116 esac
43117 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43118 (eval "$ac_compile") 2>conftest.er1
43119 ac_status=$?
43120 grep -v '^ *+' conftest.er1 >conftest.err
43121 rm -f conftest.er1
43122 cat conftest.err >&5
43123 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43124 (exit $ac_status); } && {
43125 test -z "$ac_cxx_werror_flag" ||
43126 test ! -s conftest.err
43127 } && test -s conftest.$ac_objext; then
43128 wx_cv_type_getsockopt5=int
43129 else
43130 echo "$as_me: failed program was:" >&5
43131 sed 's/^/| /' conftest.$ac_ext >&5
43132
43133 wx_cv_type_getsockopt5=unknown
43134
43135 fi
43136
43137 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43138
43139 fi
43140
43141 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43142
43143
43144 fi
43145
43146 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43147 ac_ext=c
43148 ac_cpp='$CPP $CPPFLAGS'
43149 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43150 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43151 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43152
43153
43154 fi
43155 { echo "$as_me:$LINENO: result: $wx_cv_type_getsockopt5" >&5
43156 echo "${ECHO_T}$wx_cv_type_getsockopt5" >&6; }
43157
43158 if test "$wx_cv_type_getsockopt5" = "unknown"; then
43159 wxUSE_SOCKETS=no
43160 { echo "$as_me:$LINENO: WARNING: Couldn't find socklen_t synonym for this system" >&5
43161 echo "$as_me: WARNING: Couldn't find socklen_t synonym for this system" >&2;}
43162 else
43163 cat >>confdefs.h <<_ACEOF
43164 #define SOCKOPTLEN_T $wx_cv_type_getsockopt5
43165 _ACEOF
43166
43167 fi
43168 fi
43169 fi
43170
43171 if test "$wxUSE_SOCKETS" = "yes" ; then
43172 cat >>confdefs.h <<\_ACEOF
43173 #define wxUSE_SOCKETS 1
43174 _ACEOF
43175
43176 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sockets"
43177 fi
43178
43179 if test "$wxUSE_PROTOCOL" = "yes"; then
43180 if test "$wxUSE_SOCKETS" != "yes"; then
43181 { echo "$as_me:$LINENO: WARNING: Protocol classes require sockets... disabled" >&5
43182 echo "$as_me: WARNING: Protocol classes require sockets... disabled" >&2;}
43183 wxUSE_PROTOCOL=no
43184 fi
43185 fi
43186
43187 if test "$wxUSE_PROTOCOL" = "yes"; then
43188 cat >>confdefs.h <<\_ACEOF
43189 #define wxUSE_PROTOCOL 1
43190 _ACEOF
43191
43192
43193 if test "$wxUSE_PROTOCOL_HTTP" = "yes"; then
43194 cat >>confdefs.h <<\_ACEOF
43195 #define wxUSE_PROTOCOL_HTTP 1
43196 _ACEOF
43197
43198 fi
43199 if test "$wxUSE_PROTOCOL_FTP" = "yes"; then
43200 cat >>confdefs.h <<\_ACEOF
43201 #define wxUSE_PROTOCOL_FTP 1
43202 _ACEOF
43203
43204 fi
43205 if test "$wxUSE_PROTOCOL_FILE" = "yes"; then
43206 cat >>confdefs.h <<\_ACEOF
43207 #define wxUSE_PROTOCOL_FILE 1
43208 _ACEOF
43209
43210 fi
43211 else
43212 if test "$wxUSE_FS_INET" = "yes"; then
43213 { echo "$as_me:$LINENO: WARNING: HTTP filesystem require protocol classes... disabled" >&5
43214 echo "$as_me: WARNING: HTTP filesystem require protocol classes... disabled" >&2;}
43215 wxUSE_FS_INET="no"
43216 fi
43217 fi
43218
43219 if test "$wxUSE_URL" = "yes"; then
43220 if test "$wxUSE_PROTOCOL" != "yes"; then
43221 { echo "$as_me:$LINENO: WARNING: wxURL class requires wxProtocol... disabled" >&5
43222 echo "$as_me: WARNING: wxURL class requires wxProtocol... disabled" >&2;}
43223 wxUSE_URL=no
43224 fi
43225 if test "$wxUSE_URL" = "yes"; then
43226 cat >>confdefs.h <<\_ACEOF
43227 #define wxUSE_URL 1
43228 _ACEOF
43229
43230 fi
43231 fi
43232
43233 if test "$wxUSE_VARIANT" = "yes"; then
43234 cat >>confdefs.h <<\_ACEOF
43235 #define wxUSE_VARIANT 1
43236 _ACEOF
43237
43238 fi
43239
43240 if test "$wxUSE_FS_INET" = "yes"; then
43241 cat >>confdefs.h <<\_ACEOF
43242 #define wxUSE_FS_INET 1
43243 _ACEOF
43244
43245 fi
43246
43247
43248 if test "$wxUSE_GUI" = "yes" -a "$wxUSE_JOYSTICK" = "yes"; then
43249 wxUSE_JOYSTICK=no
43250
43251 if test "$TOOLKIT" = "MSW"; then
43252 wxUSE_JOYSTICK=yes
43253
43254 elif test "$TOOLKIT" = "MAC" -o "$TOOLKIT" = "COCOA"; then
43255 if test "$USE_DARWIN" = 1; then
43256 { echo "$as_me:$LINENO: checking headers have declarations needed for joystick support" >&5
43257 echo $ECHO_N "checking headers have declarations needed for joystick support... $ECHO_C" >&6; }
43258 ac_ext=cpp
43259 ac_cpp='$CXXCPP $CPPFLAGS'
43260 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43261 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43262 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
43263
43264 cat >conftest.$ac_ext <<_ACEOF
43265 /* confdefs.h. */
43266 _ACEOF
43267 cat confdefs.h >>conftest.$ac_ext
43268 cat >>conftest.$ac_ext <<_ACEOF
43269 /* end confdefs.h. */
43270 #include <IOKit/hid/IOHIDLib.h>
43271 int
43272 main ()
43273 {
43274 IOHIDQueueInterface *qi = NULL;
43275 IOHIDCallbackFunction cb = NULL;
43276 qi->setEventCallout(NULL, cb, NULL, NULL);
43277 ;
43278 return 0;
43279 }
43280 _ACEOF
43281 rm -f conftest.$ac_objext
43282 if { (ac_try="$ac_compile"
43283 case "(($ac_try" in
43284 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43285 *) ac_try_echo=$ac_try;;
43286 esac
43287 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43288 (eval "$ac_compile") 2>conftest.er1
43289 ac_status=$?
43290 grep -v '^ *+' conftest.er1 >conftest.err
43291 rm -f conftest.er1
43292 cat conftest.err >&5
43293 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43294 (exit $ac_status); } && {
43295 test -z "$ac_cxx_werror_flag" ||
43296 test ! -s conftest.err
43297 } && test -s conftest.$ac_objext; then
43298 wxUSE_JOYSTICK=yes
43299
43300 else
43301 echo "$as_me: failed program was:" >&5
43302 sed 's/^/| /' conftest.$ac_ext >&5
43303
43304
43305 fi
43306
43307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43308 ac_ext=c
43309 ac_cpp='$CPP $CPPFLAGS'
43310 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
43311 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
43312 ac_compiler_gnu=$ac_cv_c_compiler_gnu
43313
43314 { echo "$as_me:$LINENO: result: $wxUSE_JOYSTICK" >&5
43315 echo "${ECHO_T}$wxUSE_JOYSTICK" >&6; }
43316 fi
43317
43318 else
43319 if test "$wxUSE_MGL" != "1"; then
43320 { echo "$as_me:$LINENO: checking for linux/joystick.h" >&5
43321 echo $ECHO_N "checking for linux/joystick.h... $ECHO_C" >&6; }
43322 if test "${ac_cv_header_linux_joystick_h+set}" = set; then
43323 echo $ECHO_N "(cached) $ECHO_C" >&6
43324 else
43325 cat >conftest.$ac_ext <<_ACEOF
43326 /* confdefs.h. */
43327 _ACEOF
43328 cat confdefs.h >>conftest.$ac_ext
43329 cat >>conftest.$ac_ext <<_ACEOF
43330 /* end confdefs.h. */
43331 $ac_includes_default
43332
43333 #include <linux/joystick.h>
43334 _ACEOF
43335 rm -f conftest.$ac_objext
43336 if { (ac_try="$ac_compile"
43337 case "(($ac_try" in
43338 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43339 *) ac_try_echo=$ac_try;;
43340 esac
43341 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43342 (eval "$ac_compile") 2>conftest.er1
43343 ac_status=$?
43344 grep -v '^ *+' conftest.er1 >conftest.err
43345 rm -f conftest.er1
43346 cat conftest.err >&5
43347 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43348 (exit $ac_status); } && {
43349 test -z "$ac_c_werror_flag" ||
43350 test ! -s conftest.err
43351 } && test -s conftest.$ac_objext; then
43352 ac_cv_header_linux_joystick_h=yes
43353 else
43354 echo "$as_me: failed program was:" >&5
43355 sed 's/^/| /' conftest.$ac_ext >&5
43356
43357 ac_cv_header_linux_joystick_h=no
43358 fi
43359
43360 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43361 fi
43362 { echo "$as_me:$LINENO: result: $ac_cv_header_linux_joystick_h" >&5
43363 echo "${ECHO_T}$ac_cv_header_linux_joystick_h" >&6; }
43364 if test $ac_cv_header_linux_joystick_h = yes; then
43365 wxUSE_JOYSTICK=yes
43366 fi
43367
43368
43369 fi
43370 fi
43371
43372 if test "$wxUSE_JOYSTICK" = "yes"; then
43373 cat >>confdefs.h <<\_ACEOF
43374 #define wxUSE_JOYSTICK 1
43375 _ACEOF
43376
43377 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS joytest"
43378 else
43379 { echo "$as_me:$LINENO: WARNING: Joystick not supported by this system... disabled" >&5
43380 echo "$as_me: WARNING: Joystick not supported by this system... disabled" >&2;}
43381 fi
43382 fi
43383
43384
43385
43386 if test "$wxUSE_FONTMAP" = "yes" ; then
43387 cat >>confdefs.h <<\_ACEOF
43388 #define wxUSE_FONTMAP 1
43389 _ACEOF
43390
43391 fi
43392
43393 if test "$wxUSE_UNICODE" = "yes" ; then
43394 cat >>confdefs.h <<\_ACEOF
43395 #define wxUSE_UNICODE 1
43396 _ACEOF
43397
43398
43399 if test "$USE_WIN32" != 1; then
43400 wxUSE_UNICODE_MSLU=no
43401 fi
43402
43403 if test "$USE_WIN32" = 1 -a "$wxUSE_UNICODE_MSLU" = "yes"; then
43404 { echo "$as_me:$LINENO: checking for main in -lunicows" >&5
43405 echo $ECHO_N "checking for main in -lunicows... $ECHO_C" >&6; }
43406 if test "${ac_cv_lib_unicows_main+set}" = set; then
43407 echo $ECHO_N "(cached) $ECHO_C" >&6
43408 else
43409 ac_check_lib_save_LIBS=$LIBS
43410 LIBS="-lunicows $LIBS"
43411 cat >conftest.$ac_ext <<_ACEOF
43412 /* confdefs.h. */
43413 _ACEOF
43414 cat confdefs.h >>conftest.$ac_ext
43415 cat >>conftest.$ac_ext <<_ACEOF
43416 /* end confdefs.h. */
43417
43418
43419 int
43420 main ()
43421 {
43422 return main ();
43423 ;
43424 return 0;
43425 }
43426 _ACEOF
43427 rm -f conftest.$ac_objext conftest$ac_exeext
43428 if { (ac_try="$ac_link"
43429 case "(($ac_try" in
43430 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43431 *) ac_try_echo=$ac_try;;
43432 esac
43433 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43434 (eval "$ac_link") 2>conftest.er1
43435 ac_status=$?
43436 grep -v '^ *+' conftest.er1 >conftest.err
43437 rm -f conftest.er1
43438 cat conftest.err >&5
43439 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43440 (exit $ac_status); } && {
43441 test -z "$ac_c_werror_flag" ||
43442 test ! -s conftest.err
43443 } && test -s conftest$ac_exeext &&
43444 $as_test_x conftest$ac_exeext; then
43445 ac_cv_lib_unicows_main=yes
43446 else
43447 echo "$as_me: failed program was:" >&5
43448 sed 's/^/| /' conftest.$ac_ext >&5
43449
43450 ac_cv_lib_unicows_main=no
43451 fi
43452
43453 rm -f core conftest.err conftest.$ac_objext conftest_ipa8_conftest.oo \
43454 conftest$ac_exeext conftest.$ac_ext
43455 LIBS=$ac_check_lib_save_LIBS
43456 fi
43457 { echo "$as_me:$LINENO: result: $ac_cv_lib_unicows_main" >&5
43458 echo "${ECHO_T}$ac_cv_lib_unicows_main" >&6; }
43459 if test $ac_cv_lib_unicows_main = yes; then
43460
43461 cat >>confdefs.h <<\_ACEOF
43462 #define wxUSE_UNICODE_MSLU 1
43463 _ACEOF
43464
43465
43466 else
43467
43468 { echo "$as_me:$LINENO: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43469 Applications will only run on Windows NT/2000/XP!" >&5
43470 echo "$as_me: WARNING: Compiler doesn't support MSLU (libunicows.a), disabled.
43471 Applications will only run on Windows NT/2000/XP!" >&2;}
43472 wxUSE_UNICODE_MSLU=no
43473
43474 fi
43475
43476 fi
43477 fi
43478
43479 if test "$wxUSE_wxUSE_EXPERIMENTAL_PRINTF" = "yes"; then
43480 cat >>confdefs.h <<\_ACEOF
43481 #define wxUSE_EXPERIMENTAL_PRINTF 1
43482 _ACEOF
43483
43484 fi
43485
43486
43487 if test "$wxUSE_POSTSCRIPT" = "yes" ; then
43488 cat >>confdefs.h <<\_ACEOF
43489 #define wxUSE_POSTSCRIPT 1
43490 _ACEOF
43491
43492 fi
43493
43494 cat >>confdefs.h <<\_ACEOF
43495 #define wxUSE_AFM_FOR_POSTSCRIPT 1
43496 _ACEOF
43497
43498
43499 cat >>confdefs.h <<\_ACEOF
43500 #define wxUSE_NORMALIZED_PS_FONTS 1
43501 _ACEOF
43502
43503
43504
43505 if test "$wxUSE_CONSTRAINTS" = "yes"; then
43506 cat >>confdefs.h <<\_ACEOF
43507 #define wxUSE_CONSTRAINTS 1
43508 _ACEOF
43509
43510 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS layout"
43511 fi
43512
43513 if test "$wxUSE_MDI" = "yes"; then
43514 cat >>confdefs.h <<\_ACEOF
43515 #define wxUSE_MDI 1
43516 _ACEOF
43517
43518
43519 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43520 cat >>confdefs.h <<\_ACEOF
43521 #define wxUSE_MDI_ARCHITECTURE 1
43522 _ACEOF
43523
43524 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mdi"
43525 fi
43526 fi
43527
43528 if test "$wxUSE_DOC_VIEW_ARCHITECTURE" = "yes" ; then
43529 cat >>confdefs.h <<\_ACEOF
43530 #define wxUSE_DOC_VIEW_ARCHITECTURE 1
43531 _ACEOF
43532
43533 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docview"
43534 if test "$wxUSE_MDI_ARCHITECTURE" = "yes"; then
43535 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS docvwmdi"
43536 fi
43537 fi
43538
43539 if test "$wxUSE_HELP" = "yes"; then
43540 cat >>confdefs.h <<\_ACEOF
43541 #define wxUSE_HELP 1
43542 _ACEOF
43543
43544 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS help"
43545
43546 if test "$wxUSE_MSW" = 1; then
43547 if test "$wxUSE_MS_HTML_HELP" = "yes"; then
43548 cat >>confdefs.h <<\_ACEOF
43549 #define wxUSE_MS_HTML_HELP 1
43550 _ACEOF
43551
43552 fi
43553 fi
43554
43555 if test "$wxUSE_WXHTML_HELP" = "yes"; then
43556 if test "$wxUSE_HTML" = "yes"; then
43557 cat >>confdefs.h <<\_ACEOF
43558 #define wxUSE_WXHTML_HELP 1
43559 _ACEOF
43560
43561 else
43562 { echo "$as_me:$LINENO: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&5
43563 echo "$as_me: WARNING: Cannot use wxHTML-based help without wxHTML so it won't be compiled" >&2;}
43564 wxUSE_WXHTML_HELP=no
43565 fi
43566 fi
43567 fi
43568
43569 if test "$wxUSE_PRINTING_ARCHITECTURE" = "yes" ; then
43570 if test "$wxUSE_CONSTRAINTS" != "yes"; then
43571 { echo "$as_me:$LINENO: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&5
43572 echo "$as_me: WARNING: Printing support cannot be used without constraints so it won't be compiled without it" >&2;}
43573 else
43574 cat >>confdefs.h <<\_ACEOF
43575 #define wxUSE_PRINTING_ARCHITECTURE 1
43576 _ACEOF
43577
43578 fi
43579 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS printing"
43580 fi
43581
43582
43583
43584 if test "$wxUSE_METAFILE" = "yes"; then
43585 if test "$wxUSE_MSW" != 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_PM" != 1; then
43586 { echo "$as_me:$LINENO: WARNING: wxMetafile is not available on this system... disabled" >&5
43587 echo "$as_me: WARNING: wxMetafile is not available on this system... disabled" >&2;}
43588 wxUSE_METAFILE=no
43589 fi
43590 fi
43591
43592
43593 if test "$USE_WIN32" = 1 -a \( "$wxUSE_DATAOBJ" = "yes" \
43594 -o "$wxUSE_CLIPBOARD" = "yes" \
43595 -o "$wxUSE_OLE" = "yes" \
43596 -o "$wxUSE_DRAG_AND_DROP" = "yes" \) ; then
43597 { echo "$as_me:$LINENO: checking for ole2.h" >&5
43598 echo $ECHO_N "checking for ole2.h... $ECHO_C" >&6; }
43599 if test "${ac_cv_header_ole2_h+set}" = set; then
43600 echo $ECHO_N "(cached) $ECHO_C" >&6
43601 else
43602 cat >conftest.$ac_ext <<_ACEOF
43603 /* confdefs.h. */
43604 _ACEOF
43605 cat confdefs.h >>conftest.$ac_ext
43606 cat >>conftest.$ac_ext <<_ACEOF
43607 /* end confdefs.h. */
43608
43609
43610 #include <ole2.h>
43611 _ACEOF
43612 rm -f conftest.$ac_objext
43613 if { (ac_try="$ac_compile"
43614 case "(($ac_try" in
43615 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43616 *) ac_try_echo=$ac_try;;
43617 esac
43618 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43619 (eval "$ac_compile") 2>conftest.er1
43620 ac_status=$?
43621 grep -v '^ *+' conftest.er1 >conftest.err
43622 rm -f conftest.er1
43623 cat conftest.err >&5
43624 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43625 (exit $ac_status); } && {
43626 test -z "$ac_c_werror_flag" ||
43627 test ! -s conftest.err
43628 } && test -s conftest.$ac_objext; then
43629 ac_cv_header_ole2_h=yes
43630 else
43631 echo "$as_me: failed program was:" >&5
43632 sed 's/^/| /' conftest.$ac_ext >&5
43633
43634 ac_cv_header_ole2_h=no
43635 fi
43636
43637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43638 fi
43639 { echo "$as_me:$LINENO: result: $ac_cv_header_ole2_h" >&5
43640 echo "${ECHO_T}$ac_cv_header_ole2_h" >&6; }
43641
43642
43643
43644 if test "$ac_cv_header_ole2_h" = "yes" ; then
43645 if test "$GCC" = yes ; then
43646 { echo "$as_me:$LINENO: checking if g++ requires -fvtable-thunks" >&5
43647 echo $ECHO_N "checking if g++ requires -fvtable-thunks... $ECHO_C" >&6; }
43648 cat >conftest.$ac_ext <<_ACEOF
43649 /* confdefs.h. */
43650 _ACEOF
43651 cat confdefs.h >>conftest.$ac_ext
43652 cat >>conftest.$ac_ext <<_ACEOF
43653 /* end confdefs.h. */
43654 #include <windows.h>
43655 #include <ole2.h>
43656 int
43657 main ()
43658 {
43659
43660 ;
43661 return 0;
43662 }
43663 _ACEOF
43664 rm -f conftest.$ac_objext
43665 if { (ac_try="$ac_compile"
43666 case "(($ac_try" in
43667 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
43668 *) ac_try_echo=$ac_try;;
43669 esac
43670 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
43671 (eval "$ac_compile") 2>conftest.er1
43672 ac_status=$?
43673 grep -v '^ *+' conftest.er1 >conftest.err
43674 rm -f conftest.er1
43675 cat conftest.err >&5
43676 echo "$as_me:$LINENO: \$? = $ac_status" >&5
43677 (exit $ac_status); } && {
43678 test -z "$ac_c_werror_flag" ||
43679 test ! -s conftest.err
43680 } && test -s conftest.$ac_objext; then
43681 { echo "$as_me:$LINENO: result: no" >&5
43682 echo "${ECHO_T}no" >&6; }
43683 else
43684 echo "$as_me: failed program was:" >&5
43685 sed 's/^/| /' conftest.$ac_ext >&5
43686
43687 { echo "$as_me:$LINENO: result: yes" >&5
43688 echo "${ECHO_T}yes" >&6; }
43689 WXCONFIG_CXXFLAGS="$WXCONFIG_CXXFLAGS -fvtable-thunks"
43690 fi
43691
43692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
43693 LIBS=" -lrpcrt4 -loleaut32 -lole32 -luuid$LIBS"
43694 if test "$wxUSE_OLE" = "yes" ; then
43695 cat >>confdefs.h <<\_ACEOF
43696 #define wxUSE_OLE 1
43697 _ACEOF
43698
43699 cat >>confdefs.h <<\_ACEOF
43700 #define wxUSE_OLE_AUTOMATION 1
43701 _ACEOF
43702
43703 cat >>confdefs.h <<\_ACEOF
43704 #define wxUSE_ACTIVEX 1
43705 _ACEOF
43706
43707 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS oleauto"
43708 fi
43709 fi
43710
43711 if test "$wxUSE_DATAOBJ" = "yes" ; then
43712 cat >>confdefs.h <<\_ACEOF
43713 #define wxUSE_DATAOBJ 1
43714 _ACEOF
43715
43716 fi
43717 else
43718 { echo "$as_me:$LINENO: WARNING: Some features disabled because OLE headers not found" >&5
43719 echo "$as_me: WARNING: Some features disabled because OLE headers not found" >&2;}
43720
43721 wxUSE_CLIPBOARD=no
43722 wxUSE_DRAG_AND_DROP=no
43723 wxUSE_DATAOBJ=no
43724 wxUSE_OLE=no
43725 fi
43726
43727 if test "$wxUSE_METAFILE" = "yes"; then
43728 cat >>confdefs.h <<\_ACEOF
43729 #define wxUSE_METAFILE 1
43730 _ACEOF
43731
43732
43733 cat >>confdefs.h <<\_ACEOF
43734 #define wxUSE_ENH_METAFILE 1
43735 _ACEOF
43736
43737 fi
43738 fi
43739
43740 if test "$wxUSE_IPC" = "yes"; then
43741 if test "$wxUSE_SOCKETS" != "yes" -a "$USE_WIN32" != 1; then
43742 { echo "$as_me:$LINENO: WARNING: wxWidgets IPC classes require sockets... disabled" >&5
43743 echo "$as_me: WARNING: wxWidgets IPC classes require sockets... disabled" >&2;}
43744 wxUSE_IPC=no
43745 fi
43746
43747 if test "$wxUSE_IPC" = "yes"; then
43748 cat >>confdefs.h <<\_ACEOF
43749 #define wxUSE_IPC 1
43750 _ACEOF
43751
43752 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ipc"
43753 fi
43754 fi
43755
43756 if test "$wxUSE_DATAOBJ" = "yes"; then
43757 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43758 { echo "$as_me:$LINENO: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&5
43759 echo "$as_me: WARNING: wxDataObject not yet supported under $TOOLKIT... disabled" >&2;}
43760 wxUSE_DATAOBJ=no
43761 else
43762 cat >>confdefs.h <<\_ACEOF
43763 #define wxUSE_DATAOBJ 1
43764 _ACEOF
43765
43766 fi
43767 else
43768 { echo "$as_me:$LINENO: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&5
43769 echo "$as_me: WARNING: Clipboard and drag-and-drop require wxDataObject -- disabled" >&2;}
43770 wxUSE_CLIPBOARD=no
43771 wxUSE_DRAG_AND_DROP=no
43772 fi
43773
43774 if test "$wxUSE_CLIPBOARD" = "yes"; then
43775 if test "$wxUSE_MGL" = 1 -o "$wxUSE_DFB" = 1; then
43776 { echo "$as_me:$LINENO: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&5
43777 echo "$as_me: WARNING: Clipboard not yet supported under $TOOLKIT... disabled" >&2;}
43778 wxUSE_CLIPBOARD=no
43779 fi
43780
43781 if test "$wxUSE_CLIPBOARD" = "yes"; then
43782 cat >>confdefs.h <<\_ACEOF
43783 #define wxUSE_CLIPBOARD 1
43784 _ACEOF
43785
43786 fi
43787 fi
43788
43789 if test "$wxUSE_DRAG_AND_DROP" = "yes" ; then
43790 if test "$wxUSE_GTK" = 1; then
43791 if test "$WXGTK12" != 1; then
43792 { echo "$as_me:$LINENO: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&5
43793 echo "$as_me: WARNING: Drag and drop is only supported under GTK+ 1.2... disabled" >&2;}
43794 wxUSE_DRAG_AND_DROP=no
43795 fi
43796 fi
43797
43798 if test "$wxUSE_MOTIF" = 1 -o "$wxUSE_X11" = 1 -o "$wxUSE_MGL" = 1 -o \
43799 "$wxUSE_DFB" = 1; then
43800 { echo "$as_me:$LINENO: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&5
43801 echo "$as_me: WARNING: Drag and drop not yet supported under $TOOLKIT... disabled" >&2;}
43802 wxUSE_DRAG_AND_DROP=no
43803 fi
43804
43805 if test "$wxUSE_DRAG_AND_DROP" = "yes"; then
43806 cat >>confdefs.h <<\_ACEOF
43807 #define wxUSE_DRAG_AND_DROP 1
43808 _ACEOF
43809
43810 fi
43811
43812 fi
43813
43814 if test "$wxUSE_DRAG_AND_DROP" = "yes" -o "$wxUSE_CLIPBOARD" = "yes"; then
43815 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dnd"
43816 fi
43817
43818 if test "$wxUSE_SPLINES" = "yes" ; then
43819 cat >>confdefs.h <<\_ACEOF
43820 #define wxUSE_SPLINES 1
43821 _ACEOF
43822
43823 fi
43824
43825 if test "$wxUSE_MOUSEWHEEL" = "yes" ; then
43826 cat >>confdefs.h <<\_ACEOF
43827 #define wxUSE_MOUSEWHEEL 1
43828 _ACEOF
43829
43830 fi
43831
43832
43833 USES_CONTROLS=0
43834 if test "$wxUSE_CONTROLS" = "yes"; then
43835 USES_CONTROLS=1
43836 fi
43837
43838 if test "$wxUSE_ACCEL" = "yes"; then
43839 cat >>confdefs.h <<\_ACEOF
43840 #define wxUSE_ACCEL 1
43841 _ACEOF
43842
43843 USES_CONTROLS=1
43844 fi
43845
43846 if test "$wxUSE_ANIMATIONCTRL" = "yes"; then
43847 cat >>confdefs.h <<\_ACEOF
43848 #define wxUSE_ANIMATIONCTRL 1
43849 _ACEOF
43850
43851 USES_CONTROLS=1
43852 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS animate"
43853 fi
43854
43855 if test "$wxUSE_BUTTON" = "yes"; then
43856 cat >>confdefs.h <<\_ACEOF
43857 #define wxUSE_BUTTON 1
43858 _ACEOF
43859
43860 USES_CONTROLS=1
43861 fi
43862
43863 if test "$wxUSE_BMPBUTTON" = "yes"; then
43864 cat >>confdefs.h <<\_ACEOF
43865 #define wxUSE_BMPBUTTON 1
43866 _ACEOF
43867
43868 USES_CONTROLS=1
43869 fi
43870
43871 if test "$wxUSE_CALCTRL" = "yes"; then
43872 cat >>confdefs.h <<\_ACEOF
43873 #define wxUSE_CALENDARCTRL 1
43874 _ACEOF
43875
43876 USES_CONTROLS=1
43877 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS calendar"
43878 fi
43879
43880 if test "$wxUSE_CARET" = "yes"; then
43881 cat >>confdefs.h <<\_ACEOF
43882 #define wxUSE_CARET 1
43883 _ACEOF
43884
43885 USES_CONTROLS=1
43886 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS caret"
43887 fi
43888
43889 if test "$wxUSE_COLLPANE" = "yes"; then
43890 cat >>confdefs.h <<\_ACEOF
43891 #define wxUSE_COLLPANE 1
43892 _ACEOF
43893
43894 USES_CONTROLS=1
43895 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS collpane"
43896 fi
43897
43898 if test "$wxUSE_COMBOBOX" = "yes"; then
43899 cat >>confdefs.h <<\_ACEOF
43900 #define wxUSE_COMBOBOX 1
43901 _ACEOF
43902
43903 USES_CONTROLS=1
43904 fi
43905
43906 if test "$wxUSE_COMBOCTRL" = "yes"; then
43907 cat >>confdefs.h <<\_ACEOF
43908 #define wxUSE_COMBOCTRL 1
43909 _ACEOF
43910
43911 USES_CONTROLS=1
43912 fi
43913
43914 if test "$wxUSE_CHOICE" = "yes"; then
43915 cat >>confdefs.h <<\_ACEOF
43916 #define wxUSE_CHOICE 1
43917 _ACEOF
43918
43919 USES_CONTROLS=1
43920 fi
43921
43922 if test "$wxUSE_CHOICEBOOK" = "yes"; then
43923 cat >>confdefs.h <<\_ACEOF
43924 #define wxUSE_CHOICEBOOK 1
43925 _ACEOF
43926
43927 USES_CONTROLS=1
43928 fi
43929
43930 if test "$wxUSE_CHECKBOX" = "yes"; then
43931 cat >>confdefs.h <<\_ACEOF
43932 #define wxUSE_CHECKBOX 1
43933 _ACEOF
43934
43935 USES_CONTROLS=1
43936 fi
43937
43938 if test "$wxUSE_CHECKLST" = "yes"; then
43939 cat >>confdefs.h <<\_ACEOF
43940 #define wxUSE_CHECKLISTBOX 1
43941 _ACEOF
43942
43943 USES_CONTROLS=1
43944 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS checklst"
43945 fi
43946
43947 if test "$wxUSE_COLOURPICKERCTRL" = "yes"; then
43948 cat >>confdefs.h <<\_ACEOF
43949 #define wxUSE_COLOURPICKERCTRL 1
43950 _ACEOF
43951
43952 USES_CONTROLS=1
43953 fi
43954
43955 if test "$wxUSE_DATEPICKCTRL" = "yes"; then
43956 cat >>confdefs.h <<\_ACEOF
43957 #define wxUSE_DATEPICKCTRL 1
43958 _ACEOF
43959
43960 USES_CONTROLS=1
43961 fi
43962
43963 if test "$wxUSE_DIRPICKERCTRL" = "yes"; then
43964 cat >>confdefs.h <<\_ACEOF
43965 #define wxUSE_DIRPICKERCTRL 1
43966 _ACEOF
43967
43968 USES_CONTROLS=1
43969 fi
43970
43971 if test "$wxUSE_FILEPICKERCTRL" = "yes"; then
43972 cat >>confdefs.h <<\_ACEOF
43973 #define wxUSE_FILEPICKERCTRL 1
43974 _ACEOF
43975
43976 USES_CONTROLS=1
43977 fi
43978
43979 if test "$wxUSE_FONTPICKERCTRL" = "yes"; then
43980 cat >>confdefs.h <<\_ACEOF
43981 #define wxUSE_FONTPICKERCTRL 1
43982 _ACEOF
43983
43984 USES_CONTROLS=1
43985 fi
43986
43987 if test "$wxUSE_DISPLAY" = "yes"; then
43988 if test "$wxUSE_DFB" = 1 -o "$wxUSE_MGL" = 1; then
43989 { echo "$as_me:$LINENO: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&5
43990 echo "$as_me: WARNING: wxDisplay not yet supported under $TOOLKIT... disabled" >&2;}
43991 wxUSE_DISPLAY=no
43992 else
43993 cat >>confdefs.h <<\_ACEOF
43994 #define wxUSE_DISPLAY 1
43995 _ACEOF
43996
43997 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS display multimon"
43998 fi
43999 fi
44000
44001 if test "$wxUSE_DETECT_SM" = "yes"; then
44002 cat >>confdefs.h <<\_ACEOF
44003 #define wxUSE_DETECT_SM 1
44004 _ACEOF
44005
44006 fi
44007
44008 if test "$wxUSE_GAUGE" = "yes"; then
44009 cat >>confdefs.h <<\_ACEOF
44010 #define wxUSE_GAUGE 1
44011 _ACEOF
44012
44013 USES_CONTROLS=1
44014 fi
44015
44016 if test "$wxUSE_GRID" = "yes"; then
44017 cat >>confdefs.h <<\_ACEOF
44018 #define wxUSE_GRID 1
44019 _ACEOF
44020
44021 USES_CONTROLS=1
44022 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS grid"
44023 fi
44024
44025 if test "$wxUSE_HYPERLINKCTRL" = "yes"; then
44026 cat >>confdefs.h <<\_ACEOF
44027 #define wxUSE_HYPERLINKCTRL 1
44028 _ACEOF
44029
44030 USES_CONTROLS=1
44031 fi
44032
44033 if test "$wxUSE_BITMAPCOMBOBOX" = "yes"; then
44034 cat >>confdefs.h <<\_ACEOF
44035 #define wxUSE_BITMAPCOMBOBOX 1
44036 _ACEOF
44037
44038 USES_CONTROLS=1
44039 fi
44040
44041 if test "$wxUSE_DATAVIEWCTRL" = "yes"; then
44042 cat >>confdefs.h <<\_ACEOF
44043 #define wxUSE_DATAVIEWCTRL 1
44044 _ACEOF
44045
44046 USES_CONTROLS=1
44047 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dataview"
44048 fi
44049
44050 if test "$wxUSE_IMAGLIST" = "yes"; then
44051 cat >>confdefs.h <<\_ACEOF
44052 #define wxUSE_IMAGLIST 1
44053 _ACEOF
44054
44055 fi
44056
44057 if test "$wxUSE_LISTBOOK" = "yes"; then
44058 cat >>confdefs.h <<\_ACEOF
44059 #define wxUSE_LISTBOOK 1
44060 _ACEOF
44061
44062 USES_CONTROLS=1
44063 fi
44064
44065 if test "$wxUSE_LISTBOX" = "yes"; then
44066 cat >>confdefs.h <<\_ACEOF
44067 #define wxUSE_LISTBOX 1
44068 _ACEOF
44069
44070 USES_CONTROLS=1
44071 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listbox"
44072 fi
44073
44074 if test "$wxUSE_LISTCTRL" = "yes"; then
44075 if test "$wxUSE_IMAGLIST" = "yes"; then
44076 cat >>confdefs.h <<\_ACEOF
44077 #define wxUSE_LISTCTRL 1
44078 _ACEOF
44079
44080 USES_CONTROLS=1
44081 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS listctrl"
44082 else
44083 { echo "$as_me:$LINENO: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&5
44084 echo "$as_me: WARNING: wxListCtrl requires wxImageList and won't be compiled without it" >&2;}
44085 fi
44086 fi
44087
44088 if test "$wxUSE_NOTEBOOK" = "yes"; then
44089 cat >>confdefs.h <<\_ACEOF
44090 #define wxUSE_NOTEBOOK 1
44091 _ACEOF
44092
44093 USES_CONTROLS=1
44094 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS notebook"
44095 fi
44096
44097 if test "$wxUSE_ODCOMBOBOX" = "yes"; then
44098 cat >>confdefs.h <<\_ACEOF
44099 #define wxUSE_ODCOMBOBOX 1
44100 _ACEOF
44101
44102 USES_CONTROLS=1
44103 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS combo"
44104 fi
44105
44106
44107 if test "$wxUSE_RADIOBOX" = "yes"; then
44108 cat >>confdefs.h <<\_ACEOF
44109 #define wxUSE_RADIOBOX 1
44110 _ACEOF
44111
44112 USES_CONTROLS=1
44113 fi
44114
44115 if test "$wxUSE_RADIOBTN" = "yes"; then
44116 cat >>confdefs.h <<\_ACEOF
44117 #define wxUSE_RADIOBTN 1
44118 _ACEOF
44119
44120 USES_CONTROLS=1
44121 fi
44122
44123 if test "$wxUSE_SASH" = "yes"; then
44124 cat >>confdefs.h <<\_ACEOF
44125 #define wxUSE_SASH 1
44126 _ACEOF
44127
44128 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS sashtest"
44129 fi
44130
44131 if test "$wxUSE_SCROLLBAR" = "yes"; then
44132 cat >>confdefs.h <<\_ACEOF
44133 #define wxUSE_SCROLLBAR 1
44134 _ACEOF
44135
44136 USES_CONTROLS=1
44137 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS scroll scrollsub"
44138 fi
44139
44140 if test "$wxUSE_SEARCHCTRL" = "yes"; then
44141 cat >>confdefs.h <<\_ACEOF
44142 #define wxUSE_SEARCHCTRL 1
44143 _ACEOF
44144
44145 USES_CONTROLS=1
44146 fi
44147
44148 if test "$wxUSE_SLIDER" = "yes"; then
44149 cat >>confdefs.h <<\_ACEOF
44150 #define wxUSE_SLIDER 1
44151 _ACEOF
44152
44153 USES_CONTROLS=1
44154 fi
44155
44156 if test "$wxUSE_SPINBTN" = "yes"; then
44157 cat >>confdefs.h <<\_ACEOF
44158 #define wxUSE_SPINBTN 1
44159 _ACEOF
44160
44161 USES_CONTROLS=1
44162 fi
44163
44164 if test "$wxUSE_SPINCTRL" = "yes"; then
44165 cat >>confdefs.h <<\_ACEOF
44166 #define wxUSE_SPINCTRL 1
44167 _ACEOF
44168
44169 USES_CONTROLS=1
44170 fi
44171
44172 if test "$wxUSE_SPLITTER" = "yes"; then
44173 cat >>confdefs.h <<\_ACEOF
44174 #define wxUSE_SPLITTER 1
44175 _ACEOF
44176
44177 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splitter"
44178 fi
44179
44180 if test "$wxUSE_STATBMP" = "yes"; then
44181 cat >>confdefs.h <<\_ACEOF
44182 #define wxUSE_STATBMP 1
44183 _ACEOF
44184
44185 USES_CONTROLS=1
44186 fi
44187
44188 if test "$wxUSE_STATBOX" = "yes"; then
44189 cat >>confdefs.h <<\_ACEOF
44190 #define wxUSE_STATBOX 1
44191 _ACEOF
44192
44193 USES_CONTROLS=1
44194 fi
44195
44196 if test "$wxUSE_STATTEXT" = "yes"; then
44197 cat >>confdefs.h <<\_ACEOF
44198 #define wxUSE_STATTEXT 1
44199 _ACEOF
44200
44201 USES_CONTROLS=1
44202 fi
44203
44204 if test "$wxUSE_STATLINE" = "yes"; then
44205 cat >>confdefs.h <<\_ACEOF
44206 #define wxUSE_STATLINE 1
44207 _ACEOF
44208
44209 USES_CONTROLS=1
44210 fi
44211
44212 if test "$wxUSE_STATUSBAR" = "yes"; then
44213 cat >>confdefs.h <<\_ACEOF
44214 #define wxUSE_NATIVE_STATUSBAR 1
44215 _ACEOF
44216
44217 cat >>confdefs.h <<\_ACEOF
44218 #define wxUSE_STATUSBAR 1
44219 _ACEOF
44220
44221 USES_CONTROLS=1
44222
44223 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS statbar"
44224 fi
44225
44226 if test "$wxUSE_TAB_DIALOG" = "yes"; then
44227 cat >>confdefs.h <<\_ACEOF
44228 #define wxUSE_TAB_DIALOG 1
44229 _ACEOF
44230
44231 fi
44232
44233 if test "$wxUSE_TEXTCTRL" = "yes"; then
44234 cat >>confdefs.h <<\_ACEOF
44235 #define wxUSE_TEXTCTRL 1
44236 _ACEOF
44237
44238 USES_CONTROLS=1
44239 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS text"
44240 fi
44241
44242 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44243 if test "$wxUSE_COCOA" = 1 ; then
44244 { echo "$as_me:$LINENO: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&5
44245 echo "$as_me: WARNING: Toggle button not yet supported under Mac OS X... disabled" >&2;}
44246 wxUSE_TOGGLEBTN=no
44247 fi
44248
44249 if test "$wxUSE_TOGGLEBTN" = "yes"; then
44250 cat >>confdefs.h <<\_ACEOF
44251 #define wxUSE_TOGGLEBTN 1
44252 _ACEOF
44253
44254 USES_CONTROLS=1
44255 fi
44256 fi
44257
44258 if test "$wxUSE_TOOLBAR" = "yes"; then
44259 cat >>confdefs.h <<\_ACEOF
44260 #define wxUSE_TOOLBAR 1
44261 _ACEOF
44262
44263 USES_CONTROLS=1
44264
44265 if test "$wxUSE_UNIVERSAL" = "yes"; then
44266 wxUSE_TOOLBAR_NATIVE="no"
44267 else
44268 wxUSE_TOOLBAR_NATIVE="yes"
44269 cat >>confdefs.h <<\_ACEOF
44270 #define wxUSE_TOOLBAR_NATIVE 1
44271 _ACEOF
44272
44273 fi
44274
44275 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS toolbar"
44276 fi
44277
44278 if test "$wxUSE_TOOLTIPS" = "yes"; then
44279 if test "$wxUSE_MOTIF" = 1; then
44280 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet under Motif... disabled" >&5
44281 echo "$as_me: WARNING: wxTooltip not supported yet under Motif... disabled" >&2;}
44282 else
44283 if test "$wxUSE_UNIVERSAL" = "yes"; then
44284 { echo "$as_me:$LINENO: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&5
44285 echo "$as_me: WARNING: wxTooltip not supported yet in wxUniversal... disabled" >&2;}
44286 else
44287 cat >>confdefs.h <<\_ACEOF
44288 #define wxUSE_TOOLTIPS 1
44289 _ACEOF
44290
44291 fi
44292 fi
44293 fi
44294
44295 if test "$wxUSE_TREEBOOK" = "yes"; then
44296 cat >>confdefs.h <<\_ACEOF
44297 #define wxUSE_TREEBOOK 1
44298 _ACEOF
44299
44300 USES_CONTROLS=1
44301 fi
44302
44303 if test "$wxUSE_TOOLBOOK" = "yes"; then
44304 cat >>confdefs.h <<\_ACEOF
44305 #define wxUSE_TOOLBOOK 1
44306 _ACEOF
44307
44308 USES_CONTROLS=1
44309 fi
44310
44311 if test "$wxUSE_TREECTRL" = "yes"; then
44312 if test "$wxUSE_IMAGLIST" = "yes"; then
44313 cat >>confdefs.h <<\_ACEOF
44314 #define wxUSE_TREECTRL 1
44315 _ACEOF
44316
44317 USES_CONTROLS=1
44318 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS treectrl"
44319 else
44320 { echo "$as_me:$LINENO: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&5
44321 echo "$as_me: WARNING: wxTreeCtrl requires wxImageList and won't be compiled without it" >&2;}
44322 fi
44323 fi
44324
44325 if test "$wxUSE_POPUPWIN" = "yes"; then
44326 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 ; then
44327 { echo "$as_me:$LINENO: WARNING: Popup window not yet supported under Mac OS X... disabled" >&5
44328 echo "$as_me: WARNING: Popup window not yet supported under Mac OS X... disabled" >&2;}
44329 else
44330 if test "$wxUSE_PM" = 1; then
44331 { echo "$as_me:$LINENO: WARNING: wxPopupWindow not yet supported under PM... disabled" >&5
44332 echo "$as_me: WARNING: wxPopupWindow not yet supported under PM... disabled" >&2;}
44333 else
44334 cat >>confdefs.h <<\_ACEOF
44335 #define wxUSE_POPUPWIN 1
44336 _ACEOF
44337
44338 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS popup"
44339
44340 USES_CONTROLS=1
44341 fi
44342 fi
44343 fi
44344
44345 if test "$wxUSE_DIALUP_MANAGER" = "yes"; then
44346 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = 1 -o "$wxUSE_MGL" = 1; then
44347 { echo "$as_me:$LINENO: WARNING: Dialup manager not supported on this platform... disabled" >&5
44348 echo "$as_me: WARNING: Dialup manager not supported on this platform... disabled" >&2;}
44349 else
44350 cat >>confdefs.h <<\_ACEOF
44351 #define wxUSE_DIALUP_MANAGER 1
44352 _ACEOF
44353
44354 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dialup"
44355 fi
44356 fi
44357
44358 if test "$wxUSE_TIPWINDOW" = "yes"; then
44359 if test "$wxUSE_PM" = 1; then
44360 { echo "$as_me:$LINENO: WARNING: wxTipWindow not yet supported under PM... disabled" >&5
44361 echo "$as_me: WARNING: wxTipWindow not yet supported under PM... disabled" >&2;}
44362 else
44363 cat >>confdefs.h <<\_ACEOF
44364 #define wxUSE_TIPWINDOW 1
44365 _ACEOF
44366
44367 fi
44368 fi
44369
44370 if test "$USES_CONTROLS" = 1; then
44371 cat >>confdefs.h <<\_ACEOF
44372 #define wxUSE_CONTROLS 1
44373 _ACEOF
44374
44375 fi
44376
44377
44378 if test "$wxUSE_ACCESSIBILITY" = "yes"; then
44379 cat >>confdefs.h <<\_ACEOF
44380 #define wxUSE_ACCESSIBILITY 1
44381 _ACEOF
44382
44383 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS access"
44384 fi
44385
44386 if test "$wxUSE_DC_CACHEING" = "yes"; then
44387 cat >>confdefs.h <<\_ACEOF
44388 #define wxUSE_DC_CACHEING 1
44389 _ACEOF
44390
44391 fi
44392
44393 if test "$wxUSE_DRAGIMAGE" = "yes"; then
44394 cat >>confdefs.h <<\_ACEOF
44395 #define wxUSE_DRAGIMAGE 1
44396 _ACEOF
44397
44398 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS dragimag"
44399 fi
44400
44401 if test "$wxUSE_EXCEPTIONS" = "yes"; then
44402 if test "$wxUSE_NO_EXCEPTIONS" = "yes" ; then
44403 { echo "$as_me:$LINENO: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&5
44404 echo "$as_me: WARNING: --enable-exceptions can't be used with --enable-no_exceptions" >&2;}
44405 else
44406 cat >>confdefs.h <<\_ACEOF
44407 #define wxUSE_EXCEPTIONS 1
44408 _ACEOF
44409
44410 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS except"
44411 fi
44412 fi
44413
44414 USE_HTML=0
44415 if test "$wxUSE_HTML" = "yes"; then
44416 cat >>confdefs.h <<\_ACEOF
44417 #define wxUSE_HTML 1
44418 _ACEOF
44419
44420 USE_HTML=1
44421 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html html/about html/help html/helpview html/printing html/test html/virtual html/widget html/zip htlbox"
44422 if test "$wxUSE_MAC" = 1; then
44423 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS html/htmlctrl"
44424 fi
44425 fi
44426 if test "$wxUSE_WEBKIT" = "yes"; then
44427 if test "$wxUSE_MAC" = 1 -a "$USE_DARWIN" = 1; then
44428 old_CPPFLAGS="$CPPFLAGS"
44429 CPPFLAGS="-x objective-c++ $CPPFLAGS"
44430 { echo "$as_me:$LINENO: checking for WebKit/HIWebView.h" >&5
44431 echo $ECHO_N "checking for WebKit/HIWebView.h... $ECHO_C" >&6; }
44432 if test "${ac_cv_header_WebKit_HIWebView_h+set}" = set; then
44433 echo $ECHO_N "(cached) $ECHO_C" >&6
44434 else
44435 cat >conftest.$ac_ext <<_ACEOF
44436 /* confdefs.h. */
44437 _ACEOF
44438 cat confdefs.h >>conftest.$ac_ext
44439 cat >>conftest.$ac_ext <<_ACEOF
44440 /* end confdefs.h. */
44441
44442 #include <Carbon/Carbon.h>
44443 #include <WebKit/WebKit.h>
44444
44445
44446 #include <WebKit/HIWebView.h>
44447 _ACEOF
44448 rm -f conftest.$ac_objext
44449 if { (ac_try="$ac_compile"
44450 case "(($ac_try" in
44451 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
44452 *) ac_try_echo=$ac_try;;
44453 esac
44454 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
44455 (eval "$ac_compile") 2>conftest.er1
44456 ac_status=$?
44457 grep -v '^ *+' conftest.er1 >conftest.err
44458 rm -f conftest.er1
44459 cat conftest.err >&5
44460 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44461 (exit $ac_status); } && {
44462 test -z "$ac_c_werror_flag" ||
44463 test ! -s conftest.err
44464 } && test -s conftest.$ac_objext; then
44465 ac_cv_header_WebKit_HIWebView_h=yes
44466 else
44467 echo "$as_me: failed program was:" >&5
44468 sed 's/^/| /' conftest.$ac_ext >&5
44469
44470 ac_cv_header_WebKit_HIWebView_h=no
44471 fi
44472
44473 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
44474 fi
44475 { echo "$as_me:$LINENO: result: $ac_cv_header_WebKit_HIWebView_h" >&5
44476 echo "${ECHO_T}$ac_cv_header_WebKit_HIWebView_h" >&6; }
44477 if test $ac_cv_header_WebKit_HIWebView_h = yes; then
44478
44479 cat >>confdefs.h <<\_ACEOF
44480 #define wxUSE_WEBKIT 1
44481 _ACEOF
44482
44483 WEBKIT_LINK="-framework WebKit"
44484
44485 else
44486
44487 { echo "$as_me:$LINENO: WARNING: WebKit headers not found; disabling wxWebKit" >&5
44488 echo "$as_me: WARNING: WebKit headers not found; disabling wxWebKit" >&2;}
44489 wxUSE_WEBKIT=no
44490
44491 fi
44492
44493
44494 CPPFLAGS="$old_CPPFLAGS"
44495 elif test "$wxUSE_COCOA" = 1; then
44496 cat >>confdefs.h <<\_ACEOF
44497 #define wxUSE_WEBKIT 1
44498 _ACEOF
44499
44500 else
44501 wxUSE_WEBKIT=no
44502 fi
44503 fi
44504
44505 USE_XRC=0
44506 if test "$wxUSE_XRC" = "yes"; then
44507 if test "$wxUSE_XML" != "yes"; then
44508 { echo "$as_me:$LINENO: WARNING: XML library not built, XRC resources disabled" >&5
44509 echo "$as_me: WARNING: XML library not built, XRC resources disabled" >&2;}
44510 wxUSE_XRC=no
44511 else
44512 cat >>confdefs.h <<\_ACEOF
44513 #define wxUSE_XRC 1
44514 _ACEOF
44515
44516 USE_XRC=1
44517 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS xrc"
44518 fi
44519 fi
44520
44521 USE_AUI=0
44522 if test "$wxUSE_AUI" = "yes"; then
44523 cat >>confdefs.h <<\_ACEOF
44524 #define wxUSE_AUI 1
44525 _ACEOF
44526
44527 USE_AUI=1
44528 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS aui"
44529 fi
44530
44531 USE_STC=0
44532 if test "$wxUSE_STC" = "yes"; then
44533 cat >>confdefs.h <<\_ACEOF
44534 #define wxUSE_STC 1
44535 _ACEOF
44536
44537 USE_STC=1
44538 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS stc"
44539 fi
44540
44541 if test "$wxUSE_MENUS" = "yes"; then
44542 cat >>confdefs.h <<\_ACEOF
44543 #define wxUSE_MENUS 1
44544 _ACEOF
44545
44546 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS menu"
44547 fi
44548
44549 if test "$wxUSE_METAFILE" = "yes"; then
44550 cat >>confdefs.h <<\_ACEOF
44551 #define wxUSE_METAFILE 1
44552 _ACEOF
44553
44554 fi
44555
44556 if test "$wxUSE_MIMETYPE" = "yes"; then
44557 cat >>confdefs.h <<\_ACEOF
44558 #define wxUSE_MIMETYPE 1
44559 _ACEOF
44560
44561 fi
44562
44563 if test "$wxUSE_MINIFRAME" = "yes"; then
44564 cat >>confdefs.h <<\_ACEOF
44565 #define wxUSE_MINIFRAME 1
44566 _ACEOF
44567
44568 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS minifram"
44569 fi
44570
44571 if test "$wxUSE_SYSTEM_OPTIONS" = "yes"; then
44572 cat >>confdefs.h <<\_ACEOF
44573 #define wxUSE_SYSTEM_OPTIONS 1
44574 _ACEOF
44575
44576 if test "$TOOLKIT" = "MSW" -o "$TOOLKIT" = "GTK" -o "$TOOLKIT" = "X11" -o \
44577 "$TOOLKIT" = "MOTIF" -o "$TOOLKIT" = "COCOA"; then
44578 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS taskbar"
44579 fi
44580 fi
44581
44582
44583 if test "$wxUSE_VALIDATORS" = "yes"; then
44584 cat >>confdefs.h <<\_ACEOF
44585 #define wxUSE_VALIDATORS 1
44586 _ACEOF
44587
44588 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS validate"
44589 fi
44590
44591 if test "$wxUSE_PALETTE" = "yes" ; then
44592 if test "$wxUSE_DFB" = 1; then
44593 { echo "$as_me:$LINENO: WARNING: wxPalette not yet supported under DFB... disabled" >&5
44594 echo "$as_me: WARNING: wxPalette not yet supported under DFB... disabled" >&2;}
44595 wxUSE_PALETTE=no
44596 else
44597 cat >>confdefs.h <<\_ACEOF
44598 #define wxUSE_PALETTE 1
44599 _ACEOF
44600
44601 fi
44602 fi
44603
44604 if test "$wxUSE_UNICODE" = "yes" -a "$wxUSE_UNICODE_MSLU" = "yes" ; then
44605 LIBS=" -lunicows $LIBS"
44606 fi
44607
44608 USE_RICHTEXT=0
44609 if test "$wxUSE_RICHTEXT" = "yes"; then
44610 cat >>confdefs.h <<\_ACEOF
44611 #define wxUSE_RICHTEXT 1
44612 _ACEOF
44613
44614 USE_RICHTEXT=1
44615 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS richtext"
44616 fi
44617
44618
44619 if test "$wxUSE_IMAGE" = "yes" ; then
44620 cat >>confdefs.h <<\_ACEOF
44621 #define wxUSE_IMAGE 1
44622 _ACEOF
44623
44624
44625 if test "$wxUSE_GIF" = "yes" ; then
44626 cat >>confdefs.h <<\_ACEOF
44627 #define wxUSE_GIF 1
44628 _ACEOF
44629
44630 fi
44631
44632 if test "$wxUSE_PCX" = "yes" ; then
44633 cat >>confdefs.h <<\_ACEOF
44634 #define wxUSE_PCX 1
44635 _ACEOF
44636
44637 fi
44638
44639 if test "$wxUSE_TGA" = "yes" ; then
44640 cat >>confdefs.h <<\_ACEOF
44641 #define wxUSE_TGA 1
44642 _ACEOF
44643
44644 fi
44645
44646 if test "$wxUSE_IFF" = "yes" ; then
44647 cat >>confdefs.h <<\_ACEOF
44648 #define wxUSE_IFF 1
44649 _ACEOF
44650
44651 fi
44652
44653 if test "$wxUSE_PNM" = "yes" ; then
44654 cat >>confdefs.h <<\_ACEOF
44655 #define wxUSE_PNM 1
44656 _ACEOF
44657
44658 fi
44659
44660 if test "$wxUSE_XPM" = "yes" ; then
44661 cat >>confdefs.h <<\_ACEOF
44662 #define wxUSE_XPM 1
44663 _ACEOF
44664
44665 fi
44666
44667 if test "$wxUSE_ICO_CUR" = "yes" ; then
44668 cat >>confdefs.h <<\_ACEOF
44669 #define wxUSE_ICO_CUR 1
44670 _ACEOF
44671
44672 fi
44673 fi
44674
44675
44676 if test "$wxUSE_ABOUTDLG" = "yes"; then
44677 cat >>confdefs.h <<\_ACEOF
44678 #define wxUSE_ABOUTDLG 1
44679 _ACEOF
44680
44681 fi
44682
44683 if test "$wxUSE_CHOICEDLG" = "yes"; then
44684 cat >>confdefs.h <<\_ACEOF
44685 #define wxUSE_CHOICEDLG 1
44686 _ACEOF
44687
44688 fi
44689
44690 if test "$wxUSE_COLOURDLG" = "yes"; then
44691 cat >>confdefs.h <<\_ACEOF
44692 #define wxUSE_COLOURDLG 1
44693 _ACEOF
44694
44695 fi
44696
44697 if test "$wxUSE_FILEDLG" = "yes"; then
44698 cat >>confdefs.h <<\_ACEOF
44699 #define wxUSE_FILEDLG 1
44700 _ACEOF
44701
44702 fi
44703
44704 if test "$wxUSE_FINDREPLDLG" = "yes"; then
44705 cat >>confdefs.h <<\_ACEOF
44706 #define wxUSE_FINDREPLDLG 1
44707 _ACEOF
44708
44709 fi
44710
44711 if test "$wxUSE_FONTDLG" = "yes"; then
44712 cat >>confdefs.h <<\_ACEOF
44713 #define wxUSE_FONTDLG 1
44714 _ACEOF
44715
44716 fi
44717
44718 if test "$wxUSE_DIRDLG" = "yes"; then
44719 if test "$wxUSE_TREECTRL" != "yes"; then
44720 { echo "$as_me:$LINENO: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&5
44721 echo "$as_me: WARNING: wxDirDialog requires wxTreeCtrl so it won't be compiled without it" >&2;}
44722 else
44723 cat >>confdefs.h <<\_ACEOF
44724 #define wxUSE_DIRDLG 1
44725 _ACEOF
44726
44727 fi
44728 fi
44729
44730 if test "$wxUSE_MSGDLG" = "yes"; then
44731 cat >>confdefs.h <<\_ACEOF
44732 #define wxUSE_MSGDLG 1
44733 _ACEOF
44734
44735 fi
44736
44737 if test "$wxUSE_NUMBERDLG" = "yes"; then
44738 cat >>confdefs.h <<\_ACEOF
44739 #define wxUSE_NUMBERDLG 1
44740 _ACEOF
44741
44742 fi
44743
44744 if test "$wxUSE_PROGRESSDLG" = "yes"; then
44745 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44746 { echo "$as_me:$LINENO: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&5
44747 echo "$as_me: WARNING: wxProgressDialog requires constraints so it won't be compiled without them" >&2;}
44748 else
44749 cat >>confdefs.h <<\_ACEOF
44750 #define wxUSE_PROGRESSDLG 1
44751 _ACEOF
44752
44753 fi
44754 fi
44755
44756 if test "$wxUSE_SPLASH" = "yes"; then
44757 cat >>confdefs.h <<\_ACEOF
44758 #define wxUSE_SPLASH 1
44759 _ACEOF
44760
44761 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS splash"
44762 fi
44763
44764 if test "$wxUSE_STARTUP_TIPS" = "yes"; then
44765 if test "$wxUSE_CONSTRAINTS" != "yes"; then
44766 { echo "$as_me:$LINENO: WARNING: Startup tips requires constraints and won't be compiled without them" >&5
44767 echo "$as_me: WARNING: Startup tips requires constraints and won't be compiled without them" >&2;}
44768 else
44769 cat >>confdefs.h <<\_ACEOF
44770 #define wxUSE_STARTUP_TIPS 1
44771 _ACEOF
44772
44773 fi
44774 fi
44775
44776 if test "$wxUSE_TEXTDLG" = "yes"; then
44777 cat >>confdefs.h <<\_ACEOF
44778 #define wxUSE_TEXTDLG 1
44779 _ACEOF
44780
44781 fi
44782
44783 if test "$wxUSE_WIZARDDLG" = "yes"; then
44784 cat >>confdefs.h <<\_ACEOF
44785 #define wxUSE_WIZARDDLG 1
44786 _ACEOF
44787
44788 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS wizard"
44789 fi
44790
44791
44792 if test "$wxUSE_GRAPHICS_CONTEXT" = "yes"; then
44793 if test "$wxUSE_MAC" = 1 -o "$wxUSE_COCOA" = "1"; then
44794 cat >>confdefs.h <<\_ACEOF
44795 #define wxUSE_GRAPHICS_CONTEXT 1
44796 _ACEOF
44797
44798 elif test "$wxUSE_GTK" != 1; then
44799 cat >>confdefs.h <<\_ACEOF
44800 #define wxUSE_GRAPHICS_CONTEXT 1
44801 _ACEOF
44802
44803 else
44804
44805 pkg_failed=no
44806 { echo "$as_me:$LINENO: checking for CAIRO" >&5
44807 echo $ECHO_N "checking for CAIRO... $ECHO_C" >&6; }
44808
44809 if test -n "$PKG_CONFIG"; then
44810 if test -n "$CAIRO_CFLAGS"; then
44811 pkg_cv_CAIRO_CFLAGS="$CAIRO_CFLAGS"
44812 else
44813 if test -n "$PKG_CONFIG" && \
44814 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44815 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44816 ac_status=$?
44817 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44818 (exit $ac_status); }; then
44819 pkg_cv_CAIRO_CFLAGS=`$PKG_CONFIG --cflags "cairo" 2>/dev/null`
44820 else
44821 pkg_failed=yes
44822 fi
44823 fi
44824 else
44825 pkg_failed=untried
44826 fi
44827 if test -n "$PKG_CONFIG"; then
44828 if test -n "$CAIRO_LIBS"; then
44829 pkg_cv_CAIRO_LIBS="$CAIRO_LIBS"
44830 else
44831 if test -n "$PKG_CONFIG" && \
44832 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"cairo\"") >&5
44833 ($PKG_CONFIG --exists --print-errors "cairo") 2>&5
44834 ac_status=$?
44835 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44836 (exit $ac_status); }; then
44837 pkg_cv_CAIRO_LIBS=`$PKG_CONFIG --libs "cairo" 2>/dev/null`
44838 else
44839 pkg_failed=yes
44840 fi
44841 fi
44842 else
44843 pkg_failed=untried
44844 fi
44845
44846
44847
44848 if test $pkg_failed = yes; then
44849
44850 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44851 _pkg_short_errors_supported=yes
44852 else
44853 _pkg_short_errors_supported=no
44854 fi
44855 if test $_pkg_short_errors_supported = yes; then
44856 CAIRO_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "cairo"`
44857 else
44858 CAIRO_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "cairo"`
44859 fi
44860 # Put the nasty error message in config.log where it belongs
44861 echo "$CAIRO_PKG_ERRORS" >&5
44862
44863 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44864 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44865
44866 elif test $pkg_failed = untried; then
44867 { echo "$as_me:$LINENO: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&5
44868 echo "$as_me: WARNING: Cairo library not found, unable to set wxUSE_GRAPHICS_CONTEXT" >&2;}
44869
44870 else
44871 CAIRO_CFLAGS=$pkg_cv_CAIRO_CFLAGS
44872 CAIRO_LIBS=$pkg_cv_CAIRO_LIBS
44873 { echo "$as_me:$LINENO: result: yes" >&5
44874 echo "${ECHO_T}yes" >&6; }
44875 cat >>confdefs.h <<\_ACEOF
44876 #define wxUSE_GRAPHICS_CONTEXT 1
44877 _ACEOF
44878
44879 fi
44880 fi
44881 fi
44882
44883
44884 USE_MEDIA=0
44885
44886 if test "$wxUSE_MEDIACTRL" = "yes"; then
44887 USE_MEDIA=1
44888
44889 if test "$wxUSE_GTK" = 1; then
44890 wxUSE_GSTREAMER="no"
44891
44892 GST_VERSION_MAJOR=0
44893 GST_VERSION_MINOR=10
44894 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44895
44896 if test "$wxUSE_GSTREAMER8" = "no"; then
44897
44898 pkg_failed=no
44899 { echo "$as_me:$LINENO: checking for GST" >&5
44900 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44901
44902 if test -n "$PKG_CONFIG"; then
44903 if test -n "$GST_CFLAGS"; then
44904 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44905 else
44906 if test -n "$PKG_CONFIG" && \
44907 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44908 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44909 ac_status=$?
44910 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44911 (exit $ac_status); }; then
44912 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44913 else
44914 pkg_failed=yes
44915 fi
44916 fi
44917 else
44918 pkg_failed=untried
44919 fi
44920 if test -n "$PKG_CONFIG"; then
44921 if test -n "$GST_LIBS"; then
44922 pkg_cv_GST_LIBS="$GST_LIBS"
44923 else
44924 if test -n "$PKG_CONFIG" && \
44925 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-plugins-base-\$GST_VERSION gconf-2.0\"") >&5
44926 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0") 2>&5
44927 ac_status=$?
44928 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44929 (exit $ac_status); }; then
44930 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0" 2>/dev/null`
44931 else
44932 pkg_failed=yes
44933 fi
44934 fi
44935 else
44936 pkg_failed=untried
44937 fi
44938
44939
44940
44941 if test $pkg_failed = yes; then
44942
44943 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
44944 _pkg_short_errors_supported=yes
44945 else
44946 _pkg_short_errors_supported=no
44947 fi
44948 if test $_pkg_short_errors_supported = yes; then
44949 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44950 else
44951 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-plugins-base-$GST_VERSION gconf-2.0"`
44952 fi
44953 # Put the nasty error message in config.log where it belongs
44954 echo "$GST_PKG_ERRORS" >&5
44955
44956
44957 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44958 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44959 GST_VERSION_MINOR=8
44960
44961
44962 elif test $pkg_failed = untried; then
44963
44964 { echo "$as_me:$LINENO: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&5
44965 echo "$as_me: WARNING: GStreamer 0.10 not available, falling back to 0.8" >&2;}
44966 GST_VERSION_MINOR=8
44967
44968
44969 else
44970 GST_CFLAGS=$pkg_cv_GST_CFLAGS
44971 GST_LIBS=$pkg_cv_GST_LIBS
44972 { echo "$as_me:$LINENO: result: yes" >&5
44973 echo "${ECHO_T}yes" >&6; }
44974
44975 wxUSE_GSTREAMER="yes"
44976 GST_LIBS="$GST_LIBS -lgstinterfaces-$GST_VERSION"
44977
44978 fi
44979 else
44980 GST_VERSION_MINOR=8
44981 fi
44982
44983 if test $GST_VERSION_MINOR = "8"; then
44984 GST_VERSION=$GST_VERSION_MAJOR.$GST_VERSION_MINOR
44985
44986 pkg_failed=no
44987 { echo "$as_me:$LINENO: checking for GST" >&5
44988 echo $ECHO_N "checking for GST... $ECHO_C" >&6; }
44989
44990 if test -n "$PKG_CONFIG"; then
44991 if test -n "$GST_CFLAGS"; then
44992 pkg_cv_GST_CFLAGS="$GST_CFLAGS"
44993 else
44994 if test -n "$PKG_CONFIG" && \
44995 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
44996 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
44997 ac_status=$?
44998 echo "$as_me:$LINENO: \$? = $ac_status" >&5
44999 (exit $ac_status); }; then
45000 pkg_cv_GST_CFLAGS=`$PKG_CONFIG --cflags "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45001 else
45002 pkg_failed=yes
45003 fi
45004 fi
45005 else
45006 pkg_failed=untried
45007 fi
45008 if test -n "$PKG_CONFIG"; then
45009 if test -n "$GST_LIBS"; then
45010 pkg_cv_GST_LIBS="$GST_LIBS"
45011 else
45012 if test -n "$PKG_CONFIG" && \
45013 { (echo "$as_me:$LINENO: \$PKG_CONFIG --exists --print-errors \"gstreamer-\$GST_VERSION gstreamer-interfaces-\$GST_VERSION gstreamer-gconf-\$GST_VERSION\"") >&5
45014 ($PKG_CONFIG --exists --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION") 2>&5
45015 ac_status=$?
45016 echo "$as_me:$LINENO: \$? = $ac_status" >&5
45017 (exit $ac_status); }; then
45018 pkg_cv_GST_LIBS=`$PKG_CONFIG --libs "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION" 2>/dev/null`
45019 else
45020 pkg_failed=yes
45021 fi
45022 fi
45023 else
45024 pkg_failed=untried
45025 fi
45026
45027
45028
45029 if test $pkg_failed = yes; then
45030
45031 if $PKG_CONFIG --atleast-pkgconfig-version 0.20; then
45032 _pkg_short_errors_supported=yes
45033 else
45034 _pkg_short_errors_supported=no
45035 fi
45036 if test $_pkg_short_errors_supported = yes; then
45037 GST_PKG_ERRORS=`$PKG_CONFIG --short-errors --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45038 else
45039 GST_PKG_ERRORS=`$PKG_CONFIG --errors-to-stdout --print-errors "gstreamer-$GST_VERSION gstreamer-interfaces-$GST_VERSION gstreamer-gconf-$GST_VERSION"`
45040 fi
45041 # Put the nasty error message in config.log where it belongs
45042 echo "$GST_PKG_ERRORS" >&5
45043
45044
45045 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45046 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45047
45048 elif test $pkg_failed = untried; then
45049
45050 { echo "$as_me:$LINENO: WARNING: GStreamer 0.8/0.10 not available." >&5
45051 echo "$as_me: WARNING: GStreamer 0.8/0.10 not available." >&2;}
45052
45053 else
45054 GST_CFLAGS=$pkg_cv_GST_CFLAGS
45055 GST_LIBS=$pkg_cv_GST_LIBS
45056 { echo "$as_me:$LINENO: result: yes" >&5
45057 echo "${ECHO_T}yes" >&6; }
45058 wxUSE_GSTREAMER="yes"
45059 fi
45060 fi
45061
45062
45063 if test "$wxUSE_GSTREAMER" = "yes"; then
45064 case "${host}" in
45065 *-*-solaris2* )
45066 if "$GCC" = yes; then
45067 GST_CFLAGS=`echo $GST_CFLAGS | sed 's/-mt//'`
45068 GST_LIBS=`echo $GST_LIBS | sed 's/-mt//'`
45069 fi
45070 esac
45071
45072 CPPFLAGS="$GST_CFLAGS $CPPFLAGS"
45073 LIBS="$GST_LIBS $LIBS"
45074
45075 cat >>confdefs.h <<\_ACEOF
45076 #define wxUSE_GSTREAMER 1
45077 _ACEOF
45078
45079 else
45080 USE_MEDIA=0
45081 fi
45082 fi
45083
45084 if test $USE_MEDIA = 1; then
45085 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS mediaplayer"
45086 cat >>confdefs.h <<\_ACEOF
45087 #define wxUSE_MEDIACTRL 1
45088 _ACEOF
45089
45090 fi
45091 fi
45092
45093
45094 if test "$cross_compiling" = "yes"; then
45095 OSINFO="\"$host\""
45096 else
45097 OSINFO=`uname -s -r -m`
45098 OSINFO="\"$OSINFO\""
45099 fi
45100
45101 cat >>confdefs.h <<_ACEOF
45102 #define WXWIN_OS_DESCRIPTION $OSINFO
45103 _ACEOF
45104
45105
45106
45107 if test "x$prefix" != "xNONE"; then
45108 wxPREFIX=$prefix
45109 else
45110 wxPREFIX=$ac_default_prefix
45111 fi
45112
45113 cat >>confdefs.h <<_ACEOF
45114 #define wxINSTALL_PREFIX "$wxPREFIX"
45115 _ACEOF
45116
45117
45118
45119
45120 CORE_BASE_LIBS="net base"
45121 CORE_GUI_LIBS="adv core"
45122
45123 if test "$wxUSE_XML" = "yes" ; then
45124 CORE_BASE_LIBS="xml $CORE_BASE_LIBS"
45125 fi
45126 if test "$wxUSE_ODBC" != "no" ; then
45127 CORE_BASE_LIBS="odbc $CORE_BASE_LIBS"
45128 CORE_GUI_LIBS="dbgrid $CORE_GUI_LIBS"
45129 fi
45130 if test "$wxUSE_HTML" = "yes" ; then
45131 CORE_GUI_LIBS="html $CORE_GUI_LIBS"
45132 fi
45133 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45134 CORE_GUI_LIBS="qa $CORE_GUI_LIBS"
45135 fi
45136 if test "$wxUSE_XRC" = "yes" ; then
45137 CORE_GUI_LIBS="xrc $CORE_GUI_LIBS"
45138 fi
45139 if test "$wxUSE_AUI" = "yes" ; then
45140 CORE_GUI_LIBS="aui $CORE_GUI_LIBS"
45141 fi
45142 if test "$wxUSE_STC" = "yes" ; then
45143 CORE_GUI_LIBS="stc $CORE_GUI_LIBS"
45144 fi
45145
45146 if test "$wxUSE_GUI" != "yes"; then
45147 CORE_GUI_LIBS=""
45148 fi
45149
45150
45151
45152
45153
45154
45155 if test "$wxUSE_MAC" = 1 ; then
45156 if test "$wxUSE_SOUND" = "yes" || test "$wxUSE_MEDIACTRL" = "yes"; then
45157 if test "$USE_DARWIN" = 1; then
45158 LDFLAGS="$LDFLAGS -framework QuickTime"
45159 else
45160 LDFLAGS="$LDFLAGS -lQuickTimeLib"
45161 fi
45162 fi
45163 if test "$USE_DARWIN" = 1; then
45164 LDFLAGS="$LDFLAGS -framework IOKit -framework Carbon -framework Cocoa -framework System"
45165 else
45166 LDFLAGS="$LDFLAGS -lCarbonLib"
45167 fi
45168 fi
45169 if test "$wxUSE_COCOA" = 1 ; then
45170 LDFLAGS="$LDFLAGS -framework IOKit -framework Cocoa"
45171 if test "$wxUSE_MEDIACTRL" = "yes"; then
45172 LDFLAGS="$LDFLAGS -framework QuickTime"
45173 fi
45174 fi
45175 if test "$USE_DARWIN" = 1 -a "$wxUSE_MAC" != 1 -a "$wxUSE_COCOA" != 1 ; then
45176 LDFLAGS="$LDFLAGS -framework IOKit -framework CoreServices -framework System -framework ApplicationServices"
45177 fi
45178
45179 LIBS="$ZLIB_LINK $POSIX4_LINK $INET_LINK $WCHAR_LINK $DL_LINK $LIBS"
45180
45181 if test "$wxUSE_GUI" = "yes"; then
45182
45183
45184 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS artprov controls dialogs drawing \
45185 dynamic erase event exec font image minimal mobile \
45186 mobile/wxedit mobile/styles propsize render \
45187 rotate shaped svg taborder vscroll widgets"
45188
45189 if test "$wxUSE_MONOLITHIC" != "yes"; then
45190 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS console"
45191 fi
45192 if test "$TOOLKIT" = "MSW"; then
45193 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS regtest"
45194 if test "$wxUSE_UNIVERSAL" != "yes"; then
45195 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw nativdlg"
45196 fi
45197 fi
45198 if test "$TOOLKIT" = "PM" -a "$wxUSE_UNIVERSAL" != "yes"; then
45199 SAMPLES_SUBDIRS="$SAMPLES_SUBDIRS ownerdrw"
45200 fi
45201 else
45202 SAMPLES_SUBDIRS="console"
45203 fi
45204
45205
45206 if test "x$INTELCC" = "xyes" ; then
45207 CWARNINGS="-Wall -wd810,869,981,1418,1572,1684"
45208 elif test "$GCC" = yes ; then
45209 CWARNINGS="-Wall -Wundef"
45210 fi
45211
45212 if test "x$INTELCXX" = "xyes" ; then
45213 CXXWARNINGS="-Wall -wd279,383,444,810,869,981,1418,1419"
45214 elif test "$GXX" = yes ; then
45215 CXXWARNINGS="-Wall -Wundef -Wno-ctor-dtor-privacy"
45216 fi
45217
45218
45219 WXCONFIG_CFLAGS=`echo $WXCONFIG_CFLAGS`
45220 WXCONFIG_CXXFLAGS=`echo $WXCONFIG_CFLAGS $WXCONFIG_CXXFLAGS`
45221
45222
45223 CPPFLAGS=`echo $WXCONFIG_CPPFLAGS \
45224 -I\\${wx_top_builddir}/lib/wx/include/${TOOLCHAIN_FULLNAME} \
45225 -I\\${top_srcdir}/include $TOOLKIT_INCLUDE \
45226 $CPPFLAGS `
45227
45228 C_AND_CXX_FLAGS="$DEBUG_CFLAGS $PROFILE_FLAGS $OPTIMISE_CFLAGS"
45229 CFLAGS=`echo $WXCONFIG_CFLAGS $CWARNINGS $C_AND_CXX_FLAGS $CFLAGS `
45230 CXXFLAGS=`echo $WXCONFIG_CXXFLAGS $CXXWARNINGS $C_AND_CXX_FLAGS $CXXFLAGS `
45231
45232 WXCONFIG_CPPFLAGS=`echo $WXCONFIG_CPPFLAGS $WXCONFIG_ONLY_CPPFLAGS`
45233
45234
45235 if test "x$MWCC" = "xyes"; then
45236
45237 CC="$CC -cwd source -I-"
45238 CXX="$CXX -cwd source -I-"
45239 fi
45240
45241
45242 LIBS=`echo $LIBS`
45243 EXTRALIBS="$LDFLAGS $LDFLAGS_VERSIONING $LIBS $DMALLOC_LIBS"
45244 EXTRALIBS_XML="$EXPAT_LINK"
45245 EXTRALIBS_HTML="$MSPACK_LINK"
45246 EXTRALIBS_ODBC="$ODBC_LINK"
45247 EXTRALIBS_STC="-lwxscintilla${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX}"
45248 if test "$wxUSE_GUI" = "yes"; then
45249 EXTRALIBS_GUI=`echo $GUI_TK_LIBRARY $PNG_LINK $JPEG_LINK $TIFF_LINK $WEBKIT_LINK $EXTRALIBS_HILDON $EXTRALIBS_GNOMEVFS $EXTRALIBS_GNOMEPRINT`
45250 fi
45251 if test "$wxUSE_OPENGL" = "yes"; then
45252 EXTRALIBS_OPENGL="$LDFLAGS_GL $OPENGL_LIBS"
45253 fi
45254
45255 LDFLAGS="$LDFLAGS $PROFILE_FLAGS"
45256
45257 WXCONFIG_LIBS="$LIBS"
45258
45259 if test "$wxUSE_REGEX" = "builtin" ; then
45260 wxconfig_3rdparty="regex${lib_unicode_suffix} $wxconfig_3rdparty"
45261 fi
45262 if test "$wxUSE_EXPAT" = "builtin" ; then
45263 wxconfig_3rdparty="expat $wxconfig_3rdparty"
45264 fi
45265 if test "$wxUSE_ODBC" = "builtin" ; then
45266 wxconfig_3rdparty="odbc $wxconfig_3rdparty"
45267 fi
45268 if test "$wxUSE_LIBTIFF" = "builtin" ; then
45269 wxconfig_3rdparty="tiff $wxconfig_3rdparty"
45270 fi
45271 if test "$wxUSE_LIBJPEG" = "builtin" ; then
45272 wxconfig_3rdparty="jpeg $wxconfig_3rdparty"
45273 fi
45274 if test "$wxUSE_LIBPNG" = "builtin" ; then
45275 wxconfig_3rdparty="png $wxconfig_3rdparty"
45276 fi
45277 if test "$wxUSE_ZLIB" = "builtin" ; then
45278 wxconfig_3rdparty="zlib $wxconfig_3rdparty"
45279 fi
45280
45281 for i in $wxconfig_3rdparty ; do
45282 WXCONFIG_LIBS="-lwx${i}${lib_debug_suffix}${WX_LIB_FLAVOUR}-${WX_RELEASE}${HOST_SUFFIX} $WXCONFIG_LIBS"
45283 done
45284
45285
45286 if test "x$wxUSE_UNIVERSAL" = "xyes" ; then
45287 WXUNIV=1
45288
45289 case "$wxUNIV_THEMES" in
45290 ''|all)
45291 cat >>confdefs.h <<\_ACEOF
45292 #define wxUSE_ALL_THEMES 1
45293 _ACEOF
45294
45295 ;;
45296
45297 *)
45298 for t in `echo $wxUNIV_THEMES | tr , ' ' | tr a-z A-Z`; do
45299 cat >>confdefs.h <<_ACEOF
45300 #define wxUSE_THEME_$t 1
45301 _ACEOF
45302
45303 done
45304 esac
45305 else
45306 WXUNIV=0
45307 fi
45308
45309
45310
45311
45312
45313
45314
45315
45316
45317 if test $wxUSE_MONOLITHIC = "yes" ; then
45318 MONOLITHIC=1
45319 else
45320 MONOLITHIC=0
45321 fi
45322
45323 if test $wxUSE_PLUGINS = "yes" ; then
45324 USE_PLUGINS=1
45325 else
45326 USE_PLUGINS=0
45327 fi
45328
45329 if test $wxUSE_ODBC != "no" ; then
45330 USE_ODBC=1
45331 else
45332 USE_ODBC=0
45333 fi
45334
45335 if test "$wxUSE_DEBUGREPORT" = "yes" ; then
45336 USE_QA=1
45337 else
45338 USE_QA=0
45339 fi
45340
45341 if test $wxUSE_OFFICIAL_BUILD = "yes" ; then
45342 OFFICIAL_BUILD=1
45343 else
45344 OFFICIAL_BUILD=0
45345 fi
45346
45347
45348
45349
45350
45351
45352
45353
45354
45355
45356
45357
45358
45359
45360
45361
45362
45363
45364
45365
45366
45367
45368
45369
45370
45371 TOOLKIT_LOWERCASE=`echo $TOOLKIT | tr "[A-Z]" "[a-z]"`
45372
45373
45374
45375
45376
45377
45378
45379
45380 case "$TOOLKIT" in
45381 GTK)
45382 TOOLKIT_DESC="GTK+"
45383 if test "$WXGTK20" = 1; then
45384 TOOLKIT_DESC="$TOOLKIT_DESC 2"
45385 if test "$wxUSE_LIBGNOMEPRINT" = "yes" ; then
45386 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomeprint";
45387 fi
45388 if test "$wxUSE_LIBGNOMEVFS" = "yes" ; then
45389 TOOLKIT_EXTRA="$TOOLKIT_EXTRA gnomevfs"
45390 fi
45391 if test "$wxUSE_LIBHILDON" = "yes"; then
45392 TOOLKIT_EXTRA="$TOOLKIT_EXTRA hildon"
45393 fi
45394
45395 if test "$TOOLKIT_EXTRA" != ""; then
45396 TOOLKIT_DESC="$TOOLKIT_DESC with support for `echo $TOOLKIT_EXTRA | tr -s ' '`"
45397 fi
45398 fi
45399 ;;
45400
45401 ?*)
45402 TOOLKIT_DESC=$TOOLKIT_LOWERCASE
45403 ;;
45404
45405 *)
45406 TOOLKIT_DESC="base only"
45407 ;;
45408 esac
45409
45410 if test "$wxUSE_WINE" = "yes"; then
45411 BAKEFILE_FORCE_PLATFORM=win32
45412 fi
45413
45414 if test "$wxUSE_MAC" = 1 ; then
45415 if test "x$wxUSE_UNIVERSAL_BINARY" != xno ; then
45416 if test "x$wxUSE_UNIVERSAL_BINARY" == xyes; then
45417 OSX_UNIV_OPTS="-isysroot /Developer/SDKs/MacOSX10.4u.sdk"
45418 else
45419 OSX_UNIV_OPTS=${wxUSE_UNIVERSAL_BINARY:+"-isysroot '$wxUSE_UNIVERSAL_BINARY'"}
45420 fi
45421 OSX_UNIV_OPTS="$OSX_UNIV_OPTS -arch ppc -arch i386"
45422 CXXFLAGS="$OSX_UNIV_OPTS $CXXFLAGS"
45423 CFLAGS="$OSX_UNIV_OPTS $CFLAGS"
45424 LDFLAGS="$OSX_UNIV_OPTS $LDFLAGS"
45425 bk_use_pch=no
45426 fi
45427 # TODO: where do we add "-syslibroot,/Developer/SDKs/MacOSX10.4u.sdk" for libtool (static builds only)?
45428 # The makefile currently uses AR and RANLIB, which libtool apparently supercedes.
45429 fi
45430
45431 if test "$wxUSE_UNICODE" = yes -a "$GCC" = yes -a "$bk_use_pch" != no
45432 then
45433 { echo "$as_me:$LINENO: checking for gcc precompiled header bug" >&5
45434 echo $ECHO_N "checking for gcc precompiled header bug... $ECHO_C" >&6; }
45435 if test "${wx_cv_gcc_pch_bug+set}" = set; then
45436 echo $ECHO_N "(cached) $ECHO_C" >&6
45437 else
45438
45439 echo '#include <stdio.h>
45440 const wchar_t test_var[] = L"awidetest";' > conftest.h
45441
45442 echo '#include "conftest.h"
45443 int main()
45444 {
45445 printf("%ls", test_var);
45446 return 0;
45447 }' > conftest.cpp
45448
45449 wx_cv_gcc_pch_bug="pch not supported"
45450
45451 if $CXX conftest.h >/dev/null 2>&1
45452 then
45453 wx_cv_gcc_pch_bug=
45454
45455 if $CXX -o conftest$PROGRAM_EXT conftest.cpp >/dev/null 2>&1
45456 then
45457 if tr -dc '[a-z]' < conftest$PROGRAM_EXT |
45458 grep awidetest >/dev/null
45459 then
45460 wx_cv_gcc_pch_bug=no
45461 else
45462 wx_cv_gcc_pch_bug=yes
45463 fi
45464 fi
45465 fi
45466
45467 rm -f conftest.h conftest.gch conftest.cpp conftest$PROGRAM_EXT
45468
45469 fi
45470 { echo "$as_me:$LINENO: result: $wx_cv_gcc_pch_bug" >&5
45471 echo "${ECHO_T}$wx_cv_gcc_pch_bug" >&6; }
45472
45473 if test "$wx_cv_gcc_pch_bug" = yes; then
45474 bk_use_pch=no
45475 fi
45476 fi
45477
45478
45479
45480
45481 if test "x$BAKEFILE_HOST" = "x"; then
45482 if test "x${host}" = "x" ; then
45483 { { echo "$as_me:$LINENO: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&5
45484 echo "$as_me: error: You must call the autoconf \"CANONICAL_HOST\" macro in your configure.ac (or .in) file." >&2;}
45485 { (exit 1); exit 1; }; }
45486 fi
45487
45488 BAKEFILE_HOST="${host}"
45489 fi
45490
45491 if test "x$BAKEFILE_CHECK_BASICS" != "xno"; then
45492
45493 if test -n "$ac_tool_prefix"; then
45494 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
45495 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
45496 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45497 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45498 if test "${ac_cv_prog_RANLIB+set}" = set; then
45499 echo $ECHO_N "(cached) $ECHO_C" >&6
45500 else
45501 if test -n "$RANLIB"; then
45502 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
45503 else
45504 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45505 for as_dir in $PATH
45506 do
45507 IFS=$as_save_IFS
45508 test -z "$as_dir" && as_dir=.
45509 for ac_exec_ext in '' $ac_executable_extensions; do
45510 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45511 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
45512 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45513 break 2
45514 fi
45515 done
45516 done
45517 IFS=$as_save_IFS
45518
45519 fi
45520 fi
45521 RANLIB=$ac_cv_prog_RANLIB
45522 if test -n "$RANLIB"; then
45523 { echo "$as_me:$LINENO: result: $RANLIB" >&5
45524 echo "${ECHO_T}$RANLIB" >&6; }
45525 else
45526 { echo "$as_me:$LINENO: result: no" >&5
45527 echo "${ECHO_T}no" >&6; }
45528 fi
45529
45530
45531 fi
45532 if test -z "$ac_cv_prog_RANLIB"; then
45533 ac_ct_RANLIB=$RANLIB
45534 # Extract the first word of "ranlib", so it can be a program name with args.
45535 set dummy ranlib; ac_word=$2
45536 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45537 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45538 if test "${ac_cv_prog_ac_ct_RANLIB+set}" = set; then
45539 echo $ECHO_N "(cached) $ECHO_C" >&6
45540 else
45541 if test -n "$ac_ct_RANLIB"; then
45542 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
45543 else
45544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45545 for as_dir in $PATH
45546 do
45547 IFS=$as_save_IFS
45548 test -z "$as_dir" && as_dir=.
45549 for ac_exec_ext in '' $ac_executable_extensions; do
45550 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45551 ac_cv_prog_ac_ct_RANLIB="ranlib"
45552 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45553 break 2
45554 fi
45555 done
45556 done
45557 IFS=$as_save_IFS
45558
45559 fi
45560 fi
45561 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
45562 if test -n "$ac_ct_RANLIB"; then
45563 { echo "$as_me:$LINENO: result: $ac_ct_RANLIB" >&5
45564 echo "${ECHO_T}$ac_ct_RANLIB" >&6; }
45565 else
45566 { echo "$as_me:$LINENO: result: no" >&5
45567 echo "${ECHO_T}no" >&6; }
45568 fi
45569
45570 if test "x$ac_ct_RANLIB" = x; then
45571 RANLIB=":"
45572 else
45573 case $cross_compiling:$ac_tool_warned in
45574 yes:)
45575 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45576 whose name does not start with the host triplet. If you think this
45577 configuration is useful to you, please write to autoconf@gnu.org." >&5
45578 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45579 whose name does not start with the host triplet. If you think this
45580 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45581 ac_tool_warned=yes ;;
45582 esac
45583 RANLIB=$ac_ct_RANLIB
45584 fi
45585 else
45586 RANLIB="$ac_cv_prog_RANLIB"
45587 fi
45588
45589 # Find a good install program. We prefer a C program (faster),
45590 # so one script is as good as another. But avoid the broken or
45591 # incompatible versions:
45592 # SysV /etc/install, /usr/sbin/install
45593 # SunOS /usr/etc/install
45594 # IRIX /sbin/install
45595 # AIX /bin/install
45596 # AmigaOS /C/install, which installs bootblocks on floppy discs
45597 # AIX 4 /usr/bin/installbsd, which doesn't work without a -g flag
45598 # AFS /usr/afsws/bin/install, which mishandles nonexistent args
45599 # SVR4 /usr/ucb/install, which tries to use the nonexistent group "staff"
45600 # OS/2's system install, which has a completely different semantic
45601 # ./install, which can be erroneously created by make from ./install.sh.
45602 { echo "$as_me:$LINENO: checking for a BSD-compatible install" >&5
45603 echo $ECHO_N "checking for a BSD-compatible install... $ECHO_C" >&6; }
45604 if test -z "$INSTALL"; then
45605 if test "${ac_cv_path_install+set}" = set; then
45606 echo $ECHO_N "(cached) $ECHO_C" >&6
45607 else
45608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45609 for as_dir in $PATH
45610 do
45611 IFS=$as_save_IFS
45612 test -z "$as_dir" && as_dir=.
45613 # Account for people who put trailing slashes in PATH elements.
45614 case $as_dir/ in
45615 ./ | .// | /cC/* | \
45616 /etc/* | /usr/sbin/* | /usr/etc/* | /sbin/* | /usr/afsws/bin/* | \
45617 ?:\\/os2\\/install\\/* | ?:\\/OS2\\/INSTALL\\/* | \
45618 /usr/ucb/* ) ;;
45619 *)
45620 # OSF1 and SCO ODT 3.0 have their own names for install.
45621 # Don't use installbsd from OSF since it installs stuff as root
45622 # by default.
45623 for ac_prog in ginstall scoinst install; do
45624 for ac_exec_ext in '' $ac_executable_extensions; do
45625 if { test -f "$as_dir/$ac_prog$ac_exec_ext" && $as_test_x "$as_dir/$ac_prog$ac_exec_ext"; }; then
45626 if test $ac_prog = install &&
45627 grep dspmsg "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45628 # AIX install. It has an incompatible calling convention.
45629 :
45630 elif test $ac_prog = install &&
45631 grep pwplus "$as_dir/$ac_prog$ac_exec_ext" >/dev/null 2>&1; then
45632 # program-specific install script used by HP pwplus--don't use.
45633 :
45634 else
45635 ac_cv_path_install="$as_dir/$ac_prog$ac_exec_ext -c"
45636 break 3
45637 fi
45638 fi
45639 done
45640 done
45641 ;;
45642 esac
45643 done
45644 IFS=$as_save_IFS
45645
45646
45647 fi
45648 if test "${ac_cv_path_install+set}" = set; then
45649 INSTALL=$ac_cv_path_install
45650 else
45651 # As a last resort, use the slow shell script. Don't cache a
45652 # value for INSTALL within a source directory, because that will
45653 # break other packages using the cache if that directory is
45654 # removed, or if the value is a relative name.
45655 INSTALL=$ac_install_sh
45656 fi
45657 fi
45658 { echo "$as_me:$LINENO: result: $INSTALL" >&5
45659 echo "${ECHO_T}$INSTALL" >&6; }
45660
45661 # Use test -z because SunOS4 sh mishandles braces in ${var-val}.
45662 # It thinks the first close brace ends the variable substitution.
45663 test -z "$INSTALL_PROGRAM" && INSTALL_PROGRAM='${INSTALL}'
45664
45665 test -z "$INSTALL_SCRIPT" && INSTALL_SCRIPT='${INSTALL}'
45666
45667 test -z "$INSTALL_DATA" && INSTALL_DATA='${INSTALL} -m 644'
45668
45669 { echo "$as_me:$LINENO: checking whether ln -s works" >&5
45670 echo $ECHO_N "checking whether ln -s works... $ECHO_C" >&6; }
45671 LN_S=$as_ln_s
45672 if test "$LN_S" = "ln -s"; then
45673 { echo "$as_me:$LINENO: result: yes" >&5
45674 echo "${ECHO_T}yes" >&6; }
45675 else
45676 { echo "$as_me:$LINENO: result: no, using $LN_S" >&5
45677 echo "${ECHO_T}no, using $LN_S" >&6; }
45678 fi
45679
45680
45681 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
45682 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
45683 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
45684 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
45685 echo $ECHO_N "(cached) $ECHO_C" >&6
45686 else
45687 cat >conftest.make <<\_ACEOF
45688 SHELL = /bin/sh
45689 all:
45690 @echo '@@@%%%=$(MAKE)=@@@%%%'
45691 _ACEOF
45692 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
45693 case `${MAKE-make} -f conftest.make 2>/dev/null` in
45694 *@@@%%%=?*=@@@%%%*)
45695 eval ac_cv_prog_make_${ac_make}_set=yes;;
45696 *)
45697 eval ac_cv_prog_make_${ac_make}_set=no;;
45698 esac
45699 rm -f conftest.make
45700 fi
45701 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
45702 { echo "$as_me:$LINENO: result: yes" >&5
45703 echo "${ECHO_T}yes" >&6; }
45704 SET_MAKE=
45705 else
45706 { echo "$as_me:$LINENO: result: no" >&5
45707 echo "${ECHO_T}no" >&6; }
45708 SET_MAKE="MAKE=${MAKE-make}"
45709 fi
45710
45711
45712
45713 if test "x$SUNCXX" = "xyes"; then
45714 AR=$CXX
45715 AROPTIONS="-xar -o"
45716
45717 elif test "x$SGICC" = "xyes"; then
45718 AR=$CXX
45719 AROPTIONS="-ar -o"
45720
45721 else
45722 if test -n "$ac_tool_prefix"; then
45723 # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args.
45724 set dummy ${ac_tool_prefix}ar; ac_word=$2
45725 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45726 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45727 if test "${ac_cv_prog_AR+set}" = set; then
45728 echo $ECHO_N "(cached) $ECHO_C" >&6
45729 else
45730 if test -n "$AR"; then
45731 ac_cv_prog_AR="$AR" # Let the user override the test.
45732 else
45733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45734 for as_dir in $PATH
45735 do
45736 IFS=$as_save_IFS
45737 test -z "$as_dir" && as_dir=.
45738 for ac_exec_ext in '' $ac_executable_extensions; do
45739 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45740 ac_cv_prog_AR="${ac_tool_prefix}ar"
45741 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45742 break 2
45743 fi
45744 done
45745 done
45746 IFS=$as_save_IFS
45747
45748 fi
45749 fi
45750 AR=$ac_cv_prog_AR
45751 if test -n "$AR"; then
45752 { echo "$as_me:$LINENO: result: $AR" >&5
45753 echo "${ECHO_T}$AR" >&6; }
45754 else
45755 { echo "$as_me:$LINENO: result: no" >&5
45756 echo "${ECHO_T}no" >&6; }
45757 fi
45758
45759
45760 fi
45761 if test -z "$ac_cv_prog_AR"; then
45762 ac_ct_AR=$AR
45763 # Extract the first word of "ar", so it can be a program name with args.
45764 set dummy ar; ac_word=$2
45765 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45766 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45767 if test "${ac_cv_prog_ac_ct_AR+set}" = set; then
45768 echo $ECHO_N "(cached) $ECHO_C" >&6
45769 else
45770 if test -n "$ac_ct_AR"; then
45771 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
45772 else
45773 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45774 for as_dir in $PATH
45775 do
45776 IFS=$as_save_IFS
45777 test -z "$as_dir" && as_dir=.
45778 for ac_exec_ext in '' $ac_executable_extensions; do
45779 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45780 ac_cv_prog_ac_ct_AR="ar"
45781 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45782 break 2
45783 fi
45784 done
45785 done
45786 IFS=$as_save_IFS
45787
45788 fi
45789 fi
45790 ac_ct_AR=$ac_cv_prog_ac_ct_AR
45791 if test -n "$ac_ct_AR"; then
45792 { echo "$as_me:$LINENO: result: $ac_ct_AR" >&5
45793 echo "${ECHO_T}$ac_ct_AR" >&6; }
45794 else
45795 { echo "$as_me:$LINENO: result: no" >&5
45796 echo "${ECHO_T}no" >&6; }
45797 fi
45798
45799 if test "x$ac_ct_AR" = x; then
45800 AR="ar"
45801 else
45802 case $cross_compiling:$ac_tool_warned in
45803 yes:)
45804 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45805 whose name does not start with the host triplet. If you think this
45806 configuration is useful to you, please write to autoconf@gnu.org." >&5
45807 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45808 whose name does not start with the host triplet. If you think this
45809 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45810 ac_tool_warned=yes ;;
45811 esac
45812 AR=$ac_ct_AR
45813 fi
45814 else
45815 AR="$ac_cv_prog_AR"
45816 fi
45817
45818 AROPTIONS=rcu
45819 fi
45820
45821
45822 if test -n "$ac_tool_prefix"; then
45823 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
45824 set dummy ${ac_tool_prefix}strip; ac_word=$2
45825 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45826 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45827 if test "${ac_cv_prog_STRIP+set}" = set; then
45828 echo $ECHO_N "(cached) $ECHO_C" >&6
45829 else
45830 if test -n "$STRIP"; then
45831 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
45832 else
45833 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45834 for as_dir in $PATH
45835 do
45836 IFS=$as_save_IFS
45837 test -z "$as_dir" && as_dir=.
45838 for ac_exec_ext in '' $ac_executable_extensions; do
45839 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45840 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
45841 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45842 break 2
45843 fi
45844 done
45845 done
45846 IFS=$as_save_IFS
45847
45848 fi
45849 fi
45850 STRIP=$ac_cv_prog_STRIP
45851 if test -n "$STRIP"; then
45852 { echo "$as_me:$LINENO: result: $STRIP" >&5
45853 echo "${ECHO_T}$STRIP" >&6; }
45854 else
45855 { echo "$as_me:$LINENO: result: no" >&5
45856 echo "${ECHO_T}no" >&6; }
45857 fi
45858
45859
45860 fi
45861 if test -z "$ac_cv_prog_STRIP"; then
45862 ac_ct_STRIP=$STRIP
45863 # Extract the first word of "strip", so it can be a program name with args.
45864 set dummy strip; ac_word=$2
45865 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45866 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45867 if test "${ac_cv_prog_ac_ct_STRIP+set}" = set; then
45868 echo $ECHO_N "(cached) $ECHO_C" >&6
45869 else
45870 if test -n "$ac_ct_STRIP"; then
45871 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
45872 else
45873 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45874 for as_dir in $PATH
45875 do
45876 IFS=$as_save_IFS
45877 test -z "$as_dir" && as_dir=.
45878 for ac_exec_ext in '' $ac_executable_extensions; do
45879 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45880 ac_cv_prog_ac_ct_STRIP="strip"
45881 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45882 break 2
45883 fi
45884 done
45885 done
45886 IFS=$as_save_IFS
45887
45888 fi
45889 fi
45890 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
45891 if test -n "$ac_ct_STRIP"; then
45892 { echo "$as_me:$LINENO: result: $ac_ct_STRIP" >&5
45893 echo "${ECHO_T}$ac_ct_STRIP" >&6; }
45894 else
45895 { echo "$as_me:$LINENO: result: no" >&5
45896 echo "${ECHO_T}no" >&6; }
45897 fi
45898
45899 if test "x$ac_ct_STRIP" = x; then
45900 STRIP=":"
45901 else
45902 case $cross_compiling:$ac_tool_warned in
45903 yes:)
45904 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
45905 whose name does not start with the host triplet. If you think this
45906 configuration is useful to you, please write to autoconf@gnu.org." >&5
45907 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
45908 whose name does not start with the host triplet. If you think this
45909 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
45910 ac_tool_warned=yes ;;
45911 esac
45912 STRIP=$ac_ct_STRIP
45913 fi
45914 else
45915 STRIP="$ac_cv_prog_STRIP"
45916 fi
45917
45918 if test -n "$ac_tool_prefix"; then
45919 # Extract the first word of "${ac_tool_prefix}nm", so it can be a program name with args.
45920 set dummy ${ac_tool_prefix}nm; ac_word=$2
45921 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45922 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45923 if test "${ac_cv_prog_NM+set}" = set; then
45924 echo $ECHO_N "(cached) $ECHO_C" >&6
45925 else
45926 if test -n "$NM"; then
45927 ac_cv_prog_NM="$NM" # Let the user override the test.
45928 else
45929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45930 for as_dir in $PATH
45931 do
45932 IFS=$as_save_IFS
45933 test -z "$as_dir" && as_dir=.
45934 for ac_exec_ext in '' $ac_executable_extensions; do
45935 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45936 ac_cv_prog_NM="${ac_tool_prefix}nm"
45937 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45938 break 2
45939 fi
45940 done
45941 done
45942 IFS=$as_save_IFS
45943
45944 fi
45945 fi
45946 NM=$ac_cv_prog_NM
45947 if test -n "$NM"; then
45948 { echo "$as_me:$LINENO: result: $NM" >&5
45949 echo "${ECHO_T}$NM" >&6; }
45950 else
45951 { echo "$as_me:$LINENO: result: no" >&5
45952 echo "${ECHO_T}no" >&6; }
45953 fi
45954
45955
45956 fi
45957 if test -z "$ac_cv_prog_NM"; then
45958 ac_ct_NM=$NM
45959 # Extract the first word of "nm", so it can be a program name with args.
45960 set dummy nm; ac_word=$2
45961 { echo "$as_me:$LINENO: checking for $ac_word" >&5
45962 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
45963 if test "${ac_cv_prog_ac_ct_NM+set}" = set; then
45964 echo $ECHO_N "(cached) $ECHO_C" >&6
45965 else
45966 if test -n "$ac_ct_NM"; then
45967 ac_cv_prog_ac_ct_NM="$ac_ct_NM" # Let the user override the test.
45968 else
45969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
45970 for as_dir in $PATH
45971 do
45972 IFS=$as_save_IFS
45973 test -z "$as_dir" && as_dir=.
45974 for ac_exec_ext in '' $ac_executable_extensions; do
45975 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
45976 ac_cv_prog_ac_ct_NM="nm"
45977 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
45978 break 2
45979 fi
45980 done
45981 done
45982 IFS=$as_save_IFS
45983
45984 fi
45985 fi
45986 ac_ct_NM=$ac_cv_prog_ac_ct_NM
45987 if test -n "$ac_ct_NM"; then
45988 { echo "$as_me:$LINENO: result: $ac_ct_NM" >&5
45989 echo "${ECHO_T}$ac_ct_NM" >&6; }
45990 else
45991 { echo "$as_me:$LINENO: result: no" >&5
45992 echo "${ECHO_T}no" >&6; }
45993 fi
45994
45995 if test "x$ac_ct_NM" = x; then
45996 NM=":"
45997 else
45998 case $cross_compiling:$ac_tool_warned in
45999 yes:)
46000 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
46001 whose name does not start with the host triplet. If you think this
46002 configuration is useful to you, please write to autoconf@gnu.org." >&5
46003 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
46004 whose name does not start with the host triplet. If you think this
46005 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
46006 ac_tool_warned=yes ;;
46007 esac
46008 NM=$ac_ct_NM
46009 fi
46010 else
46011 NM="$ac_cv_prog_NM"
46012 fi
46013
46014
46015 case ${BAKEFILE_HOST} in
46016 *-hp-hpux* )
46017 INSTALL_DIR="mkdir -p"
46018 ;;
46019 * )
46020 INSTALL_DIR='$(INSTALL) -d'
46021 ;;
46022 esac
46023
46024
46025 LDFLAGS_GUI=
46026 case ${BAKEFILE_HOST} in
46027 *-*-cygwin* | *-*-mingw32* )
46028 LDFLAGS_GUI="-mwindows"
46029 esac
46030
46031
46032 fi
46033
46034 { echo "$as_me:$LINENO: checking if make is GNU make" >&5
46035 echo $ECHO_N "checking if make is GNU make... $ECHO_C" >&6; }
46036 if test "${bakefile_cv_prog_makeisgnu+set}" = set; then
46037 echo $ECHO_N "(cached) $ECHO_C" >&6
46038 else
46039
46040 if ( ${SHELL-sh} -c "${MAKE-make} --version" 2> /dev/null |
46041 egrep -s GNU > /dev/null); then
46042 bakefile_cv_prog_makeisgnu="yes"
46043 else
46044 bakefile_cv_prog_makeisgnu="no"
46045 fi
46046
46047 fi
46048 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_makeisgnu" >&5
46049 echo "${ECHO_T}$bakefile_cv_prog_makeisgnu" >&6; }
46050
46051 if test "x$bakefile_cv_prog_makeisgnu" = "xyes"; then
46052 IF_GNU_MAKE=""
46053 else
46054 IF_GNU_MAKE="#"
46055 fi
46056
46057
46058
46059 PLATFORM_UNIX=0
46060 PLATFORM_WIN32=0
46061 PLATFORM_MSDOS=0
46062 PLATFORM_MAC=0
46063 PLATFORM_MACOS=0
46064 PLATFORM_MACOSX=0
46065 PLATFORM_OS2=0
46066 PLATFORM_BEOS=0
46067
46068 if test "x$BAKEFILE_FORCE_PLATFORM" = "x"; then
46069 case "${BAKEFILE_HOST}" in
46070 *-*-mingw32* )
46071 PLATFORM_WIN32=1
46072 ;;
46073 *-pc-msdosdjgpp )
46074 PLATFORM_MSDOS=1
46075 ;;
46076 *-pc-os2_emx | *-pc-os2-emx )
46077 PLATFORM_OS2=1
46078 ;;
46079 *-*-darwin* )
46080 PLATFORM_MAC=1
46081 PLATFORM_MACOSX=1
46082 ;;
46083 *-*-beos* )
46084 PLATFORM_BEOS=1
46085 ;;
46086 powerpc-apple-macos* )
46087 PLATFORM_MAC=1
46088 PLATFORM_MACOS=1
46089 ;;
46090 * )
46091 PLATFORM_UNIX=1
46092 ;;
46093 esac
46094 else
46095 case "$BAKEFILE_FORCE_PLATFORM" in
46096 win32 )
46097 PLATFORM_WIN32=1
46098 ;;
46099 msdos )
46100 PLATFORM_MSDOS=1
46101 ;;
46102 os2 )
46103 PLATFORM_OS2=1
46104 ;;
46105 darwin )
46106 PLATFORM_MAC=1
46107 PLATFORM_MACOSX=1
46108 ;;
46109 unix )
46110 PLATFORM_UNIX=1
46111 ;;
46112 beos )
46113 PLATFORM_BEOS=1
46114 ;;
46115 * )
46116 ;;
46117 esac
46118 fi
46119
46120
46121
46122
46123
46124
46125
46126
46127
46128
46129
46130 # Check whether --enable-omf was given.
46131 if test "${enable_omf+set}" = set; then
46132 enableval=$enable_omf; bk_os2_use_omf="$enableval"
46133 fi
46134
46135
46136 case "${BAKEFILE_HOST}" in
46137 *-*-darwin* )
46138 if test "x$GCC" = "xyes"; then
46139 CFLAGS="$CFLAGS -fno-common"
46140 CXXFLAGS="$CXXFLAGS -fno-common"
46141 fi
46142 if test "x$XLCC" = "xyes"; then
46143 CFLAGS="$CFLAGS -qnocommon"
46144 CXXFLAGS="$CXXFLAGS -qnocommon"
46145 fi
46146 ;;
46147
46148 *-pc-os2_emx | *-pc-os2-emx )
46149 if test "x$bk_os2_use_omf" = "xyes" ; then
46150 AR=emxomfar
46151 RANLIB=:
46152 LDFLAGS="-Zomf $LDFLAGS"
46153 CFLAGS="-Zomf $CFLAGS"
46154 CXXFLAGS="-Zomf $CXXFLAGS"
46155 OS2_LIBEXT="lib"
46156 else
46157 OS2_LIBEXT="a"
46158 fi
46159 ;;
46160
46161 i*86-*-beos* )
46162 LDFLAGS="-L/boot/develop/lib/x86 $LDFLAGS"
46163 ;;
46164 esac
46165
46166
46167 SO_SUFFIX="so"
46168 SO_SUFFIX_MODULE="so"
46169 EXEEXT=""
46170 LIBPREFIX="lib"
46171 LIBEXT=".a"
46172 DLLPREFIX="lib"
46173 DLLPREFIX_MODULE=""
46174 DLLIMP_SUFFIX=""
46175 dlldir="$libdir"
46176
46177 case "${BAKEFILE_HOST}" in
46178 *-hp-hpux* )
46179 SO_SUFFIX="sl"
46180 SO_SUFFIX_MODULE="sl"
46181 ;;
46182 *-*-aix* )
46183 SO_SUFFIX="a"
46184 SO_SUFFIX_MODULE="a"
46185 ;;
46186 *-*-cygwin* )
46187 SO_SUFFIX="dll"
46188 SO_SUFFIX_MODULE="dll"
46189 DLLIMP_SUFFIX="dll.a"
46190 EXEEXT=".exe"
46191 DLLPREFIX="cyg"
46192 dlldir="$bindir"
46193 ;;
46194 *-*-mingw32* )
46195 SO_SUFFIX="dll"
46196 SO_SUFFIX_MODULE="dll"
46197 DLLIMP_SUFFIX="dll.a"
46198 EXEEXT=".exe"
46199 DLLPREFIX=""
46200 dlldir="$bindir"
46201 ;;
46202 *-pc-msdosdjgpp )
46203 EXEEXT=".exe"
46204 DLLPREFIX=""
46205 dlldir="$bindir"
46206 ;;
46207 *-pc-os2_emx | *-pc-os2-emx )
46208 SO_SUFFIX="dll"
46209 SO_SUFFIX_MODULE="dll"
46210 DLLIMP_SUFFIX=$OS2_LIBEXT
46211 EXEEXT=".exe"
46212 DLLPREFIX=""
46213 LIBPREFIX=""
46214 LIBEXT=".$OS2_LIBEXT"
46215 dlldir="$bindir"
46216 ;;
46217 *-*-darwin* )
46218 SO_SUFFIX="dylib"
46219 SO_SUFFIX_MODULE="bundle"
46220 ;;
46221 esac
46222
46223 if test "x$DLLIMP_SUFFIX" = "x" ; then
46224 DLLIMP_SUFFIX="$SO_SUFFIX"
46225 fi
46226
46227
46228
46229
46230
46231
46232
46233
46234
46235
46236
46237
46238 PIC_FLAG=""
46239 if test "x$GCC" = "xyes"; then
46240 PIC_FLAG="-fPIC"
46241 fi
46242
46243 SHARED_LD_CC="\$(CC) -shared ${PIC_FLAG} -o"
46244 SHARED_LD_CXX="\$(CXX) -shared ${PIC_FLAG} -o"
46245 WINDOWS_IMPLIB=0
46246
46247 case "${BAKEFILE_HOST}" in
46248 *-hp-hpux* )
46249 if test "x$GCC" != "xyes"; then
46250 LDFLAGS="$LDFLAGS -L/usr/lib"
46251
46252 SHARED_LD_CC="${CC} -b -o"
46253 SHARED_LD_CXX="${CXX} -b -o"
46254 PIC_FLAG="+Z"
46255 fi
46256 ;;
46257
46258 *-*-linux* )
46259 if test "x$GCC" != "xyes"; then
46260 { echo "$as_me:$LINENO: checking for Intel compiler" >&5
46261 echo $ECHO_N "checking for Intel compiler... $ECHO_C" >&6; }
46262 if test "${bakefile_cv_prog_icc+set}" = set; then
46263 echo $ECHO_N "(cached) $ECHO_C" >&6
46264 else
46265
46266 cat >conftest.$ac_ext <<_ACEOF
46267 /* confdefs.h. */
46268 _ACEOF
46269 cat confdefs.h >>conftest.$ac_ext
46270 cat >>conftest.$ac_ext <<_ACEOF
46271 /* end confdefs.h. */
46272
46273 int
46274 main ()
46275 {
46276
46277 #ifndef __INTEL_COMPILER
46278 This is not ICC
46279 #endif
46280
46281 ;
46282 return 0;
46283 }
46284 _ACEOF
46285 rm -f conftest.$ac_objext
46286 if { (ac_try="$ac_compile"
46287 case "(($ac_try" in
46288 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46289 *) ac_try_echo=$ac_try;;
46290 esac
46291 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46292 (eval "$ac_compile") 2>conftest.er1
46293 ac_status=$?
46294 grep -v '^ *+' conftest.er1 >conftest.err
46295 rm -f conftest.er1
46296 cat conftest.err >&5
46297 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46298 (exit $ac_status); } && {
46299 test -z "$ac_c_werror_flag" ||
46300 test ! -s conftest.err
46301 } && test -s conftest.$ac_objext; then
46302 bakefile_cv_prog_icc=yes
46303 else
46304 echo "$as_me: failed program was:" >&5
46305 sed 's/^/| /' conftest.$ac_ext >&5
46306
46307 bakefile_cv_prog_icc=no
46308
46309 fi
46310
46311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46312
46313 fi
46314 { echo "$as_me:$LINENO: result: $bakefile_cv_prog_icc" >&5
46315 echo "${ECHO_T}$bakefile_cv_prog_icc" >&6; }
46316 if test "$bakefile_cv_prog_icc" = "yes"; then
46317 PIC_FLAG="-KPIC"
46318 fi
46319 fi
46320 ;;
46321
46322 *-*-solaris2* )
46323 if test "x$GCC" != xyes ; then
46324 SHARED_LD_CC="${CC} -G -o"
46325 SHARED_LD_CXX="${CXX} -G -o"
46326 PIC_FLAG="-KPIC"
46327 fi
46328 ;;
46329
46330 *-*-darwin* )
46331
46332 D='$'
46333 cat <<EOF >shared-ld-sh
46334 #!/bin/sh
46335 #-----------------------------------------------------------------------------
46336 #-- Name: distrib/mac/shared-ld-sh
46337 #-- Purpose: Link a mach-o dynamic shared library for Darwin / Mac OS X
46338 #-- Author: Gilles Depeyrot
46339 #-- Copyright: (c) 2002 Gilles Depeyrot
46340 #-- Licence: any use permitted
46341 #-----------------------------------------------------------------------------
46342
46343 verbose=0
46344 args=""
46345 objects=""
46346 linking_flag="-dynamiclib"
46347 ldargs="-r -keep_private_externs -nostdlib"
46348
46349 while test ${D}# -gt 0; do
46350 case ${D}1 in
46351
46352 -v)
46353 verbose=1
46354 ;;
46355
46356 -o|-compatibility_version|-current_version|-framework|-undefined|-install_name)
46357 # collect these options and values
46358 args="${D}{args} ${D}1 ${D}2"
46359 shift
46360 ;;
46361
46362 -s|-Wl,*)
46363 # collect these load args
46364 ldargs="${D}{ldargs} ${D}1"
46365 ;;
46366
46367 -l*|-L*|-flat_namespace|-headerpad_max_install_names)
46368 # collect these options
46369 args="${D}{args} ${D}1"
46370 ;;
46371
46372 -dynamiclib|-bundle)
46373 linking_flag="${D}1"
46374 ;;
46375
46376 -*)
46377 echo "shared-ld: unhandled option '${D}1'"
46378 exit 1
46379 ;;
46380
46381 *.o | *.a | *.dylib)
46382 # collect object files
46383 objects="${D}{objects} ${D}1"
46384 ;;
46385
46386 *)
46387 echo "shared-ld: unhandled argument '${D}1'"
46388 exit 1
46389 ;;
46390
46391 esac
46392 shift
46393 done
46394
46395 status=0
46396
46397 #
46398 # Link one module containing all the others
46399 #
46400 if test ${D}{verbose} = 1; then
46401 echo "c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o"
46402 fi
46403 c++ ${D}{ldargs} ${D}{objects} -o master.${D}${D}.o
46404 status=${D}?
46405
46406 #
46407 # Link the shared library from the single module created, but only if the
46408 # previous command didn't fail:
46409 #
46410 if test ${D}{status} = 0; then
46411 if test ${D}{verbose} = 1; then
46412 echo "c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}"
46413 fi
46414 c++ ${D}{linking_flag} master.${D}${D}.o ${D}{args}
46415 status=${D}?
46416 fi
46417
46418 #
46419 # Remove intermediate module
46420 #
46421 rm -f master.${D}${D}.o
46422
46423 exit ${D}status
46424 EOF
46425
46426 chmod +x shared-ld-sh
46427
46428 SHARED_LD_MODULE_CC="`pwd`/shared-ld-sh -bundle -headerpad_max_install_names -o"
46429 SHARED_LD_MODULE_CXX="$SHARED_LD_MODULE_CC"
46430
46431
46432 { echo "$as_me:$LINENO: checking for gcc 3.1 or later" >&5
46433 echo $ECHO_N "checking for gcc 3.1 or later... $ECHO_C" >&6; }
46434 if test "${bakefile_cv_gcc31+set}" = set; then
46435 echo $ECHO_N "(cached) $ECHO_C" >&6
46436 else
46437
46438 cat >conftest.$ac_ext <<_ACEOF
46439 /* confdefs.h. */
46440 _ACEOF
46441 cat confdefs.h >>conftest.$ac_ext
46442 cat >>conftest.$ac_ext <<_ACEOF
46443 /* end confdefs.h. */
46444
46445 int
46446 main ()
46447 {
46448
46449 #if (__GNUC__ < 3) || \
46450 ((__GNUC__ == 3) && (__GNUC_MINOR__ < 1))
46451 This is old gcc
46452 #endif
46453
46454 ;
46455 return 0;
46456 }
46457 _ACEOF
46458 rm -f conftest.$ac_objext
46459 if { (ac_try="$ac_compile"
46460 case "(($ac_try" in
46461 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
46462 *) ac_try_echo=$ac_try;;
46463 esac
46464 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
46465 (eval "$ac_compile") 2>conftest.er1
46466 ac_status=$?
46467 grep -v '^ *+' conftest.er1 >conftest.err
46468 rm -f conftest.er1
46469 cat conftest.err >&5
46470 echo "$as_me:$LINENO: \$? = $ac_status" >&5
46471 (exit $ac_status); } && {
46472 test -z "$ac_c_werror_flag" ||
46473 test ! -s conftest.err
46474 } && test -s conftest.$ac_objext; then
46475
46476 bakefile_cv_gcc31=yes
46477
46478 else
46479 echo "$as_me: failed program was:" >&5
46480 sed 's/^/| /' conftest.$ac_ext >&5
46481
46482
46483 bakefile_cv_gcc31=no
46484
46485
46486 fi
46487
46488 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
46489
46490 fi
46491 { echo "$as_me:$LINENO: result: $bakefile_cv_gcc31" >&5
46492 echo "${ECHO_T}$bakefile_cv_gcc31" >&6; }
46493 if test "$bakefile_cv_gcc31" = "no"; then
46494 SHARED_LD_CC="`pwd`/shared-ld-sh -dynamiclib -headerpad_max_install_names -o"
46495 SHARED_LD_CXX="$SHARED_LD_CC"
46496 else
46497 SHARED_LD_CC="\${CC} -dynamiclib -single_module -headerpad_max_install_names -o"
46498 SHARED_LD_CXX="\${CXX} -dynamiclib -single_module -headerpad_max_install_names -o"
46499 fi
46500
46501 if test "x$GCC" == "xyes"; then
46502 PIC_FLAG="-dynamic -fPIC"
46503 fi
46504 if test "x$XLCC" = "xyes"; then
46505 PIC_FLAG="-dynamic -DPIC"
46506 fi
46507 ;;
46508
46509 *-*-aix* )
46510 if test "x$GCC" = "xyes"; then
46511 PIC_FLAG=""
46512
46513 case "${BAKEFILE_HOST}" in
46514 *-*-aix5* )
46515 LD_EXPFULL="-Wl,-bexpfull"
46516 ;;
46517 esac
46518
46519 SHARED_LD_CC="\$(CC) -shared $LD_EXPFULL -o"
46520 SHARED_LD_CXX="\$(CXX) -shared $LD_EXPFULL -o"
46521 else
46522 # Extract the first word of "makeC++SharedLib", so it can be a program name with args.
46523 set dummy makeC++SharedLib; ac_word=$2
46524 { echo "$as_me:$LINENO: checking for $ac_word" >&5
46525 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
46526 if test "${ac_cv_prog_AIX_CXX_LD+set}" = set; then
46527 echo $ECHO_N "(cached) $ECHO_C" >&6
46528 else
46529 if test -n "$AIX_CXX_LD"; then
46530 ac_cv_prog_AIX_CXX_LD="$AIX_CXX_LD" # Let the user override the test.
46531 else
46532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
46533 for as_dir in $PATH
46534 do
46535 IFS=$as_save_IFS
46536 test -z "$as_dir" && as_dir=.
46537 for ac_exec_ext in '' $ac_executable_extensions; do
46538 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
46539 ac_cv_prog_AIX_CXX_LD="makeC++SharedLib"
46540 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
46541 break 2
46542 fi
46543 done
46544 done
46545 IFS=$as_save_IFS
46546
46547 test -z "$ac_cv_prog_AIX_CXX_LD" && ac_cv_prog_AIX_CXX_LD="/usr/lpp/xlC/bin/makeC++SharedLib"
46548 fi
46549 fi
46550 AIX_CXX_LD=$ac_cv_prog_AIX_CXX_LD
46551 if test -n "$AIX_CXX_LD"; then
46552 { echo "$as_me:$LINENO: result: $AIX_CXX_LD" >&5
46553 echo "${ECHO_T}$AIX_CXX_LD" >&6; }
46554 else
46555 { echo "$as_me:$LINENO: result: no" >&5
46556 echo "${ECHO_T}no" >&6; }
46557 fi
46558
46559
46560 SHARED_LD_CC="$AIX_CC_LD -p 0 -o"
46561 SHARED_LD_CXX="$AIX_CXX_LD -p 0 -o"
46562 fi
46563 ;;
46564
46565 *-*-beos* )
46566 SHARED_LD_CC="${LD} -nostart -o"
46567 SHARED_LD_CXX="${LD} -nostart -o"
46568 ;;
46569
46570 *-*-irix* )
46571 if test "x$GCC" != "xyes"; then
46572 PIC_FLAG="-KPIC"
46573 fi
46574 ;;
46575
46576 *-*-cygwin* | *-*-mingw32* )
46577 PIC_FLAG=""
46578 SHARED_LD_CC="\$(CC) -shared -o"
46579 SHARED_LD_CXX="\$(CXX) -shared -o"
46580 WINDOWS_IMPLIB=1
46581 ;;
46582
46583 *-pc-os2_emx | *-pc-os2-emx )
46584 SHARED_LD_CC="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46585 SHARED_LD_CXX="`pwd`/dllar.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
46586 PIC_FLAG=""
46587
46588 D='$'
46589 cat <<EOF >dllar.sh
46590 #!/bin/sh
46591 #
46592 # dllar - a tool to build both a .dll and an .a file
46593 # from a set of object (.o) files for EMX/OS2.
46594 #
46595 # Written by Andrew Zabolotny, bit@freya.etu.ru
46596 # Ported to Unix like shell by Stefan Neis, Stefan.Neis@t-online.de
46597 #
46598 # This script will accept a set of files on the command line.
46599 # All the public symbols from the .o files will be exported into
46600 # a .DEF file, then linker will be run (through gcc) against them to
46601 # build a shared library consisting of all given .o files. All libraries
46602 # (.a) will be first decompressed into component .o files then act as
46603 # described above. You can optionally give a description (-d "description")
46604 # which will be put into .DLL. To see the list of accepted options (as well
46605 # as command-line format) simply run this program without options. The .DLL
46606 # is built to be imported by name (there is no guarantee that new versions
46607 # of the library you build will have same ordinals for same symbols).
46608 #
46609 # dllar is free software; you can redistribute it and/or modify
46610 # it under the terms of the GNU General Public License as published by
46611 # the Free Software Foundation; either version 2, or (at your option)
46612 # any later version.
46613 #
46614 # dllar is distributed in the hope that it will be useful,
46615 # but WITHOUT ANY WARRANTY; without even the implied warranty of
46616 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
46617 # GNU General Public License for more details.
46618 #
46619 # You should have received a copy of the GNU General Public License
46620 # along with dllar; see the file COPYING. If not, write to the Free
46621 # Software Foundation, 59 Temple Place - Suite 330, Boston, MA
46622 # 02111-1307, USA.
46623
46624 # To successfuly run this program you will need:
46625 # - Current drive should have LFN support (HPFS, ext2, network, etc)
46626 # (Sometimes dllar generates filenames which won't fit 8.3 scheme)
46627 # - gcc
46628 # (used to build the .dll)
46629 # - emxexp
46630 # (used to create .def file from .o files)
46631 # - emximp
46632 # (used to create .a file from .def file)
46633 # - GNU text utilites (cat, sort, uniq)
46634 # used to process emxexp output
46635 # - GNU file utilities (mv, rm)
46636 # - GNU sed
46637 # - lxlite (optional, see flag below)
46638 # (used for general .dll cleanup)
46639 #
46640
46641 flag_USE_LXLITE=1;
46642
46643 #
46644 # helper functions
46645 # basnam, variant of basename, which does _not_ remove the path, _iff_
46646 # second argument (suffix to remove) is given
46647 basnam(){
46648 case ${D}# in
46649 1)
46650 echo ${D}1 | sed 's/.*\\///' | sed 's/.*\\\\//'
46651 ;;
46652 2)
46653 echo ${D}1 | sed 's/'${D}2'${D}//'
46654 ;;
46655 *)
46656 echo "error in basnam ${D}*"
46657 exit 8
46658 ;;
46659 esac
46660 }
46661
46662 # Cleanup temporary files and output
46663 CleanUp() {
46664 cd ${D}curDir
46665 for i in ${D}inputFiles ; do
46666 case ${D}i in
46667 *!)
46668 rm -rf \`basnam ${D}i !\`
46669 ;;
46670 *)
46671 ;;
46672 esac
46673 done
46674
46675 # Kill result in case of failure as there is just to many stupid make/nmake
46676 # things out there which doesn't do this.
46677 if [ ${D}# -eq 0 ]; then
46678 rm -f ${D}arcFile ${D}arcFile2 ${D}defFile ${D}dllFile
46679 fi
46680 }
46681
46682 # Print usage and exit script with rc=1.
46683 PrintHelp() {
46684 echo 'Usage: dllar.sh [-o[utput] output_file] [-i[mport] importlib_name]'
46685 echo ' [-name-mangler-script script.sh]'
46686 echo ' [-d[escription] "dll descrption"] [-cc "CC"] [-f[lags] "CFLAGS"]'
46687 echo ' [-ord[inals]] -ex[clude] "symbol(s)"'
46688 echo ' [-libf[lags] "{INIT|TERM}{GLOBAL|INSTANCE}"] [-nocrt[dll]] [-nolxl[ite]]'
46689 echo ' [*.o] [*.a]'
46690 echo '*> "output_file" should have no extension.'
46691 echo ' If it has the .o, .a or .dll extension, it is automatically removed.'
46692 echo ' The import library name is derived from this and is set to "name".a,'
46693 echo ' unless overridden by -import'
46694 echo '*> "importlib_name" should have no extension.'
46695 echo ' If it has the .o, or .a extension, it is automatically removed.'
46696 echo ' This name is used as the import library name and may be longer and'
46697 echo ' more descriptive than the DLL name which has to follow the old '
46698 echo ' 8.3 convention of FAT.'
46699 echo '*> "script.sh may be given to override the output_file name by a'
46700 echo ' different name. It is mainly useful if the regular make process'
46701 echo ' of some package does not take into account OS/2 restriction of'
46702 echo ' DLL name lengths. It takes the importlib name as input and is'
46703 echo ' supposed to procude a shorter name as output. The script should'
46704 echo ' expect to get importlib_name without extension and should produce'
46705 echo ' a (max.) 8 letter name without extension.'
46706 echo '*> "cc" is used to use another GCC executable. (default: gcc.exe)'
46707 echo '*> "flags" should be any set of valid GCC flags. (default: -s -Zcrtdll)'
46708 echo ' These flags will be put at the start of GCC command line.'
46709 echo '*> -ord[inals] tells dllar to export entries by ordinals. Be careful.'
46710 echo '*> -ex[clude] defines symbols which will not be exported. You can define'
46711 echo ' multiple symbols, for example -ex "myfunc yourfunc _GLOBAL*".'
46712 echo ' If the last character of a symbol is "*", all symbols beginning'
46713 echo ' with the prefix before "*" will be exclude, (see _GLOBAL* above).'
46714 echo '*> -libf[lags] can be used to add INITGLOBAL/INITINSTANCE and/or'
46715 echo ' TERMGLOBAL/TERMINSTANCE flags to the dynamically-linked library.'
46716 echo '*> -nocrt[dll] switch will disable linking the library against emx''s'
46717 echo ' C runtime DLLs.'
46718 echo '*> -nolxl[ite] switch will disable running lxlite on the resulting DLL.'
46719 echo '*> All other switches (for example -L./ or -lmylib) will be passed'
46720 echo ' unchanged to GCC at the end of command line.'
46721 echo '*> If you create a DLL from a library and you do not specify -o,'
46722 echo ' the basename for DLL and import library will be set to library name,'
46723 echo ' the initial library will be renamed to 'name'_s.a (_s for static)'
46724 echo ' i.e. "dllar gcc.a" will create gcc.dll and gcc.a, and the initial'
46725 echo ' library will be renamed into gcc_s.a.'
46726 echo '--------'
46727 echo 'Example:'
46728 echo ' dllar -o gcc290.dll libgcc.a -d "GNU C runtime library" -ord'
46729 echo ' -ex "__main __ctordtor*" -libf "INITINSTANCE TERMINSTANCE"'
46730 CleanUp
46731 exit 1
46732 }
46733
46734 # Execute a command.
46735 # If exit code of the commnad <> 0 CleanUp() is called and we'll exit the script.
46736 # @Uses Whatever CleanUp() uses.
46737 doCommand() {
46738 echo "${D}*"
46739 eval ${D}*
46740 rcCmd=${D}?
46741
46742 if [ ${D}rcCmd -ne 0 ]; then
46743 echo "command failed, exit code="${D}rcCmd
46744 CleanUp
46745 exit ${D}rcCmd
46746 fi
46747 }
46748
46749 # main routine
46750 # setup globals
46751 cmdLine=${D}*
46752 outFile=""
46753 outimpFile=""
46754 inputFiles=""
46755 renameScript=""
46756 description=""
46757 CC=gcc.exe
46758 CFLAGS="-s -Zcrtdll"
46759 EXTRA_CFLAGS=""
46760 EXPORT_BY_ORDINALS=0
46761 exclude_symbols=""
46762 library_flags=""
46763 curDir=\`pwd\`
46764 curDirS=curDir
46765 case ${D}curDirS in
46766 */)
46767 ;;
46768 *)
46769 curDirS=${D}{curDirS}"/"
46770 ;;
46771 esac
46772 # Parse commandline
46773 libsToLink=0
46774 omfLinking=0
46775 while [ ${D}1 ]; do
46776 case ${D}1 in
46777 -ord*)
46778 EXPORT_BY_ORDINALS=1;
46779 ;;
46780 -o*)
46781 shift
46782 outFile=${D}1
46783 ;;
46784 -i*)
46785 shift
46786 outimpFile=${D}1
46787 ;;
46788 -name-mangler-script)
46789 shift
46790 renameScript=${D}1
46791 ;;
46792 -d*)
46793 shift
46794 description=${D}1
46795 ;;
46796 -f*)
46797 shift
46798 CFLAGS=${D}1
46799 ;;
46800 -c*)
46801 shift
46802 CC=${D}1
46803 ;;
46804 -h*)
46805 PrintHelp
46806 ;;
46807 -ex*)
46808 shift
46809 exclude_symbols=${D}{exclude_symbols}${D}1" "
46810 ;;
46811 -libf*)
46812 shift
46813 library_flags=${D}{library_flags}${D}1" "
46814 ;;
46815 -nocrt*)
46816 CFLAGS="-s"
46817 ;;
46818 -nolxl*)
46819 flag_USE_LXLITE=0
46820 ;;
46821 -* | /*)
46822 case ${D}1 in
46823 -L* | -l*)
46824 libsToLink=1
46825 ;;
46826 -Zomf)
46827 omfLinking=1
46828 ;;
46829 *)
46830 ;;
46831 esac
46832 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46833 ;;
46834 *.dll)
46835 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS} \`basnam ${D}1 .dll\`"
46836 if [ ${D}omfLinking -eq 1 ]; then
46837 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.lib"
46838 else
46839 EXTRA_CFLAGS="${D}{EXTRA_CFLAGS}.a"
46840 fi
46841 ;;
46842 *)
46843 found=0;
46844 if [ ${D}libsToLink -ne 0 ]; then
46845 EXTRA_CFLAGS=${D}{EXTRA_CFLAGS}" "${D}1
46846 else
46847 for file in ${D}1 ; do
46848 if [ -f ${D}file ]; then
46849 inputFiles="${D}{inputFiles} ${D}file"
46850 found=1
46851 fi
46852 done
46853 if [ ${D}found -eq 0 ]; then
46854 echo "ERROR: No file(s) found: "${D}1
46855 exit 8
46856 fi
46857 fi
46858 ;;
46859 esac
46860 shift
46861 done # iterate cmdline words
46862
46863 #
46864 if [ -z "${D}inputFiles" ]; then
46865 echo "dllar: no input files"
46866 PrintHelp
46867 fi
46868
46869 # Now extract all .o files from .a files
46870 newInputFiles=""
46871 for file in ${D}inputFiles ; do
46872 case ${D}file in
46873 *.a | *.lib)
46874 case ${D}file in
46875 *.a)
46876 suffix=".a"
46877 AR="ar"
46878 ;;
46879 *.lib)
46880 suffix=".lib"
46881 AR="emxomfar"
46882 EXTRA_CFLAGS="${D}EXTRA_CFLAGS -Zomf"
46883 ;;
46884 *)
46885 ;;
46886 esac
46887 dirname=\`basnam ${D}file ${D}suffix\`"_%"
46888 mkdir ${D}dirname
46889 if [ ${D}? -ne 0 ]; then
46890 echo "Failed to create subdirectory ./${D}dirname"
46891 CleanUp
46892 exit 8;
46893 fi
46894 # Append '!' to indicate archive
46895 newInputFiles="${D}newInputFiles ${D}{dirname}!"
46896 doCommand "cd ${D}dirname; ${D}AR x ../${D}file"
46897 cd ${D}curDir
46898 found=0;
46899 for subfile in ${D}dirname/*.o* ; do
46900 if [ -f ${D}subfile ]; then
46901 found=1
46902 if [ -s ${D}subfile ]; then
46903 # FIXME: This should be: is file size > 32 byte, _not_ > 0!
46904 newInputFiles="${D}newInputFiles ${D}subfile"
46905 fi
46906 fi
46907 done
46908 if [ ${D}found -eq 0 ]; then
46909 echo "WARNING: there are no files in archive \\'${D}file\\'"
46910 fi
46911 ;;
46912 *)
46913 newInputFiles="${D}{newInputFiles} ${D}file"
46914 ;;
46915 esac
46916 done
46917 inputFiles="${D}newInputFiles"
46918
46919 # Output filename(s).
46920 do_backup=0;
46921 if [ -z ${D}outFile ]; then
46922 do_backup=1;
46923 set outFile ${D}inputFiles; outFile=${D}2
46924 fi
46925
46926 # If it is an archive, remove the '!' and the '_%' suffixes
46927 case ${D}outFile in
46928 *_%!)
46929 outFile=\`basnam ${D}outFile _%!\`
46930 ;;
46931 *)
46932 ;;
46933 esac
46934 case ${D}outFile in
46935 *.dll)
46936 outFile=\`basnam ${D}outFile .dll\`
46937 ;;
46938 *.DLL)
46939 outFile=\`basnam ${D}outFile .DLL\`
46940 ;;
46941 *.o)
46942 outFile=\`basnam ${D}outFile .o\`
46943 ;;
46944 *.obj)
46945 outFile=\`basnam ${D}outFile .obj\`
46946 ;;
46947 *.a)
46948 outFile=\`basnam ${D}outFile .a\`
46949 ;;
46950 *.lib)
46951 outFile=\`basnam ${D}outFile .lib\`
46952 ;;
46953 *)
46954 ;;
46955 esac
46956 case ${D}outimpFile in
46957 *.a)
46958 outimpFile=\`basnam ${D}outimpFile .a\`
46959 ;;
46960 *.lib)
46961 outimpFile=\`basnam ${D}outimpFile .lib\`
46962 ;;
46963 *)
46964 ;;
46965 esac
46966 if [ -z ${D}outimpFile ]; then
46967 outimpFile=${D}outFile
46968 fi
46969 defFile="${D}{outFile}.def"
46970 arcFile="${D}{outimpFile}.a"
46971 arcFile2="${D}{outimpFile}.lib"
46972
46973 #create ${D}dllFile as something matching 8.3 restrictions,
46974 if [ -z ${D}renameScript ] ; then
46975 dllFile="${D}outFile"
46976 else
46977 dllFile=\`${D}renameScript ${D}outimpFile\`
46978 fi
46979
46980 if [ ${D}do_backup -ne 0 ] ; then
46981 if [ -f ${D}arcFile ] ; then
46982 doCommand "mv ${D}arcFile ${D}{outFile}_s.a"
46983 fi
46984 if [ -f ${D}arcFile2 ] ; then
46985 doCommand "mv ${D}arcFile2 ${D}{outFile}_s.lib"
46986 fi
46987 fi
46988
46989 # Extract public symbols from all the object files.
46990 tmpdefFile=${D}{defFile}_%
46991 rm -f ${D}tmpdefFile
46992 for file in ${D}inputFiles ; do
46993 case ${D}file in
46994 *!)
46995 ;;
46996 *)
46997 doCommand "emxexp -u ${D}file >> ${D}tmpdefFile"
46998 ;;
46999 esac
47000 done
47001
47002 # Create the def file.
47003 rm -f ${D}defFile
47004 echo "LIBRARY \`basnam ${D}dllFile\` ${D}library_flags" >> ${D}defFile
47005 dllFile="${D}{dllFile}.dll"
47006 if [ ! -z ${D}description ]; then
47007 echo "DESCRIPTION \\"${D}{description}\\"" >> ${D}defFile
47008 fi
47009 echo "EXPORTS" >> ${D}defFile
47010
47011 doCommand "cat ${D}tmpdefFile | sort.exe | uniq.exe > ${D}{tmpdefFile}%"
47012 grep -v "^ *;" < ${D}{tmpdefFile}% | grep -v "^ *${D}" >${D}tmpdefFile
47013
47014 # Checks if the export is ok or not.
47015 for word in ${D}exclude_symbols; do
47016 grep -v ${D}word < ${D}tmpdefFile >${D}{tmpdefFile}%
47017 mv ${D}{tmpdefFile}% ${D}tmpdefFile
47018 done
47019
47020
47021 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47022 sed "=" < ${D}tmpdefFile | \\
47023 sed '
47024 N
47025 : loop
47026 s/^\\([0-9]\\+\\)\\([^;]*\\)\\(;.*\\)\\?/\\2 @\\1 NONAME/
47027 t loop
47028 ' > ${D}{tmpdefFile}%
47029 grep -v "^ *${D}" < ${D}{tmpdefFile}% > ${D}tmpdefFile
47030 else
47031 rm -f ${D}{tmpdefFile}%
47032 fi
47033 cat ${D}tmpdefFile >> ${D}defFile
47034 rm -f ${D}tmpdefFile
47035
47036 # Do linking, create implib, and apply lxlite.
47037 gccCmdl="";
47038 for file in ${D}inputFiles ; do
47039 case ${D}file in
47040 *!)
47041 ;;
47042 *)
47043 gccCmdl="${D}gccCmdl ${D}file"
47044 ;;
47045 esac
47046 done
47047 doCommand "${D}CC ${D}CFLAGS -Zdll -o ${D}dllFile ${D}defFile ${D}gccCmdl ${D}EXTRA_CFLAGS"
47048 touch "${D}{outFile}.dll"
47049
47050 doCommand "emximp -o ${D}arcFile ${D}defFile"
47051 if [ ${D}flag_USE_LXLITE -ne 0 ]; then
47052 add_flags="";
47053 if [ ${D}EXPORT_BY_ORDINALS -ne 0 ]; then
47054 add_flags="-ynd"
47055 fi
47056 doCommand "lxlite -cs -t: -mrn -mln ${D}add_flags ${D}dllFile"
47057 fi
47058 doCommand "emxomf -s -l ${D}arcFile"
47059
47060 # Successful exit.
47061 CleanUp 1
47062 exit 0
47063 EOF
47064
47065 chmod +x dllar.sh
47066 ;;
47067
47068 powerpc-apple-macos* | \
47069 *-*-freebsd* | *-*-openbsd* | *-*-netbsd* | *-*-k*bsd*-gnu | \
47070 *-*-mirbsd* | \
47071 *-*-sunos4* | \
47072 *-*-osf* | \
47073 *-*-dgux5* | \
47074 *-*-sysv5* | \
47075 *-pc-msdosdjgpp )
47076 ;;
47077
47078 *)
47079 { { echo "$as_me:$LINENO: error: unknown system type $BAKEFILE_HOST." >&5
47080 echo "$as_me: error: unknown system type $BAKEFILE_HOST." >&2;}
47081 { (exit 1); exit 1; }; }
47082 esac
47083
47084 if test "x$PIC_FLAG" != "x" ; then
47085 PIC_FLAG="$PIC_FLAG -DPIC"
47086 fi
47087
47088 if test "x$SHARED_LD_MODULE_CC" = "x" ; then
47089 SHARED_LD_MODULE_CC="$SHARED_LD_CC"
47090 fi
47091 if test "x$SHARED_LD_MODULE_CXX" = "x" ; then
47092 SHARED_LD_MODULE_CXX="$SHARED_LD_CXX"
47093 fi
47094
47095
47096
47097
47098
47099
47100
47101
47102
47103 USE_SOVERSION=0
47104 USE_SOVERLINUX=0
47105 USE_SOVERSOLARIS=0
47106 USE_SOVERCYGWIN=0
47107 USE_SOSYMLINKS=0
47108 USE_MACVERSION=0
47109 SONAME_FLAG=
47110
47111 case "${BAKEFILE_HOST}" in
47112 *-*-linux* | *-*-freebsd* | *-*-k*bsd*-gnu )
47113 SONAME_FLAG="-Wl,-soname,"
47114 USE_SOVERSION=1
47115 USE_SOVERLINUX=1
47116 USE_SOSYMLINKS=1
47117 ;;
47118
47119 *-*-solaris2* )
47120 SONAME_FLAG="-h "
47121 USE_SOVERSION=1
47122 USE_SOVERSOLARIS=1
47123 USE_SOSYMLINKS=1
47124 ;;
47125
47126 *-*-darwin* )
47127 USE_MACVERSION=1
47128 USE_SOVERSION=1
47129 USE_SOSYMLINKS=1
47130 ;;
47131
47132 *-*-cygwin* )
47133 USE_SOVERSION=1
47134 USE_SOVERCYGWIN=1
47135 ;;
47136 esac
47137
47138
47139
47140
47141
47142
47143
47144
47145
47146
47147 # Check whether --enable-dependency-tracking was given.
47148 if test "${enable_dependency_tracking+set}" = set; then
47149 enableval=$enable_dependency_tracking; bk_use_trackdeps="$enableval"
47150 fi
47151
47152
47153 { echo "$as_me:$LINENO: checking for dependency tracking method" >&5
47154 echo $ECHO_N "checking for dependency tracking method... $ECHO_C" >&6; }
47155
47156 BK_DEPS=""
47157 if test "x$bk_use_trackdeps" = "xno" ; then
47158 DEPS_TRACKING=0
47159 { echo "$as_me:$LINENO: result: disabled" >&5
47160 echo "${ECHO_T}disabled" >&6; }
47161 else
47162 DEPS_TRACKING=1
47163
47164 if test "x$GCC" = "xyes"; then
47165 DEPSMODE=gcc
47166 case "${BAKEFILE_HOST}" in
47167 *-*-darwin* )
47168 DEPSFLAG="-no-cpp-precomp -MMD"
47169 ;;
47170 * )
47171 DEPSFLAG="-MMD"
47172 ;;
47173 esac
47174 { echo "$as_me:$LINENO: result: gcc" >&5
47175 echo "${ECHO_T}gcc" >&6; }
47176 elif test "x$MWCC" = "xyes"; then
47177 DEPSMODE=mwcc
47178 DEPSFLAG="-MM"
47179 { echo "$as_me:$LINENO: result: mwcc" >&5
47180 echo "${ECHO_T}mwcc" >&6; }
47181 elif test "x$SUNCC" = "xyes"; then
47182 DEPSMODE=unixcc
47183 DEPSFLAG="-xM1"
47184 { echo "$as_me:$LINENO: result: Sun cc" >&5
47185 echo "${ECHO_T}Sun cc" >&6; }
47186 elif test "x$SGICC" = "xyes"; then
47187 DEPSMODE=unixcc
47188 DEPSFLAG="-M"
47189 { echo "$as_me:$LINENO: result: SGI cc" >&5
47190 echo "${ECHO_T}SGI cc" >&6; }
47191 elif test "x$HPCC" = "xyes"; then
47192 DEPSMODE=unixcc
47193 DEPSFLAG="+make"
47194 { echo "$as_me:$LINENO: result: HP cc" >&5
47195 echo "${ECHO_T}HP cc" >&6; }
47196 elif test "x$COMPAQCC" = "xyes"; then
47197 DEPSMODE=gcc
47198 DEPSFLAG="-MD"
47199 { echo "$as_me:$LINENO: result: Compaq cc" >&5
47200 echo "${ECHO_T}Compaq cc" >&6; }
47201 else
47202 DEPS_TRACKING=0
47203 { echo "$as_me:$LINENO: result: none" >&5
47204 echo "${ECHO_T}none" >&6; }
47205 fi
47206
47207 if test $DEPS_TRACKING = 1 ; then
47208
47209 D='$'
47210 cat <<EOF >bk-deps
47211 #!/bin/sh
47212
47213 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47214 # script. It is used to track C/C++ files dependencies in portable way.
47215 #
47216 # Permission is given to use this file in any way.
47217
47218 DEPSMODE=${DEPSMODE}
47219 DEPSDIR=.deps
47220 DEPSFLAG="${DEPSFLAG}"
47221
47222 mkdir -p ${D}DEPSDIR
47223
47224 if test ${D}DEPSMODE = gcc ; then
47225 ${D}* ${D}{DEPSFLAG}
47226 status=${D}?
47227 if test ${D}{status} != 0 ; then
47228 exit ${D}{status}
47229 fi
47230 # move created file to the location we want it in:
47231 while test ${D}# -gt 0; do
47232 case "${D}1" in
47233 -o )
47234 shift
47235 objfile=${D}1
47236 ;;
47237 -* )
47238 ;;
47239 * )
47240 srcfile=${D}1
47241 ;;
47242 esac
47243 shift
47244 done
47245 depfile=\`basename ${D}srcfile | sed -e 's/\\..*${D}/.d/g'\`
47246 depobjname=\`echo ${D}depfile |sed -e 's/\\.d/.o/g'\`
47247 if test -f ${D}depfile ; then
47248 sed -e "s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47249 rm -f ${D}depfile
47250 else
47251 # "g++ -MMD -o fooobj.o foosrc.cpp" produces fooobj.d
47252 depfile=\`basename ${D}objfile | sed -e 's/\\..*${D}/.d/g'\`
47253 if test ! -f ${D}depfile ; then
47254 # "cxx -MD -o fooobj.o foosrc.cpp" creates fooobj.o.d (Compaq C++)
47255 depfile="${D}objfile.d"
47256 fi
47257 if test -f ${D}depfile ; then
47258 sed -e "/^${D}objfile/!s,${D}depobjname:,${D}objfile:,g" ${D}depfile >${D}{DEPSDIR}/${D}{objfile}.d
47259 rm -f ${D}depfile
47260 fi
47261 fi
47262 exit 0
47263 elif test ${D}DEPSMODE = mwcc ; then
47264 ${D}* || exit ${D}?
47265 # Run mwcc again with -MM and redirect into the dep file we want
47266 # NOTE: We can't use shift here because we need ${D}* to be valid
47267 prevarg=
47268 for arg in ${D}* ; do
47269 if test "${D}prevarg" = "-o"; then
47270 objfile=${D}arg
47271 else
47272 case "${D}arg" in
47273 -* )
47274 ;;
47275 * )
47276 srcfile=${D}arg
47277 ;;
47278 esac
47279 fi
47280 prevarg="${D}arg"
47281 done
47282 ${D}* ${D}DEPSFLAG >${D}{DEPSDIR}/${D}{objfile}.d
47283 exit 0
47284 elif test ${D}DEPSMODE = unixcc; then
47285 ${D}* || exit ${D}?
47286 # Run compiler again with deps flag and redirect into the dep file.
47287 # It doesn't work if the '-o FILE' option is used, but without it the
47288 # dependency file will contain the wrong name for the object. So it is
47289 # removed from the command line, and the dep file is fixed with sed.
47290 cmd=""
47291 while test ${D}# -gt 0; do
47292 case "${D}1" in
47293 -o )
47294 shift
47295 objfile=${D}1
47296 ;;
47297 * )
47298 eval arg${D}#=\\${D}1
47299 cmd="${D}cmd \\${D}arg${D}#"
47300 ;;
47301 esac
47302 shift
47303 done
47304 eval "${D}cmd ${D}DEPSFLAG" | sed "s|.*:|${D}objfile:|" >${D}{DEPSDIR}/${D}{objfile}.d
47305 exit 0
47306 else
47307 ${D}*
47308 exit ${D}?
47309 fi
47310 EOF
47311
47312 chmod +x bk-deps
47313 BK_DEPS="`pwd`/bk-deps"
47314 fi
47315 fi
47316
47317
47318
47319
47320
47321 case ${BAKEFILE_HOST} in
47322 *-*-cygwin* | *-*-mingw32* )
47323 if test -n "$ac_tool_prefix"; then
47324 # Extract the first word of "${ac_tool_prefix}windres", so it can be a program name with args.
47325 set dummy ${ac_tool_prefix}windres; ac_word=$2
47326 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47327 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47328 if test "${ac_cv_prog_WINDRES+set}" = set; then
47329 echo $ECHO_N "(cached) $ECHO_C" >&6
47330 else
47331 if test -n "$WINDRES"; then
47332 ac_cv_prog_WINDRES="$WINDRES" # Let the user override the test.
47333 else
47334 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47335 for as_dir in $PATH
47336 do
47337 IFS=$as_save_IFS
47338 test -z "$as_dir" && as_dir=.
47339 for ac_exec_ext in '' $ac_executable_extensions; do
47340 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47341 ac_cv_prog_WINDRES="${ac_tool_prefix}windres"
47342 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47343 break 2
47344 fi
47345 done
47346 done
47347 IFS=$as_save_IFS
47348
47349 fi
47350 fi
47351 WINDRES=$ac_cv_prog_WINDRES
47352 if test -n "$WINDRES"; then
47353 { echo "$as_me:$LINENO: result: $WINDRES" >&5
47354 echo "${ECHO_T}$WINDRES" >&6; }
47355 else
47356 { echo "$as_me:$LINENO: result: no" >&5
47357 echo "${ECHO_T}no" >&6; }
47358 fi
47359
47360
47361 fi
47362 if test -z "$ac_cv_prog_WINDRES"; then
47363 ac_ct_WINDRES=$WINDRES
47364 # Extract the first word of "windres", so it can be a program name with args.
47365 set dummy windres; ac_word=$2
47366 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47367 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47368 if test "${ac_cv_prog_ac_ct_WINDRES+set}" = set; then
47369 echo $ECHO_N "(cached) $ECHO_C" >&6
47370 else
47371 if test -n "$ac_ct_WINDRES"; then
47372 ac_cv_prog_ac_ct_WINDRES="$ac_ct_WINDRES" # Let the user override the test.
47373 else
47374 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47375 for as_dir in $PATH
47376 do
47377 IFS=$as_save_IFS
47378 test -z "$as_dir" && as_dir=.
47379 for ac_exec_ext in '' $ac_executable_extensions; do
47380 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47381 ac_cv_prog_ac_ct_WINDRES="windres"
47382 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47383 break 2
47384 fi
47385 done
47386 done
47387 IFS=$as_save_IFS
47388
47389 fi
47390 fi
47391 ac_ct_WINDRES=$ac_cv_prog_ac_ct_WINDRES
47392 if test -n "$ac_ct_WINDRES"; then
47393 { echo "$as_me:$LINENO: result: $ac_ct_WINDRES" >&5
47394 echo "${ECHO_T}$ac_ct_WINDRES" >&6; }
47395 else
47396 { echo "$as_me:$LINENO: result: no" >&5
47397 echo "${ECHO_T}no" >&6; }
47398 fi
47399
47400 if test "x$ac_ct_WINDRES" = x; then
47401 WINDRES=""
47402 else
47403 case $cross_compiling:$ac_tool_warned in
47404 yes:)
47405 { echo "$as_me:$LINENO: WARNING: In the future, Autoconf will not detect cross-tools
47406 whose name does not start with the host triplet. If you think this
47407 configuration is useful to you, please write to autoconf@gnu.org." >&5
47408 echo "$as_me: WARNING: In the future, Autoconf will not detect cross-tools
47409 whose name does not start with the host triplet. If you think this
47410 configuration is useful to you, please write to autoconf@gnu.org." >&2;}
47411 ac_tool_warned=yes ;;
47412 esac
47413 WINDRES=$ac_ct_WINDRES
47414 fi
47415 else
47416 WINDRES="$ac_cv_prog_WINDRES"
47417 fi
47418
47419 ;;
47420
47421 *-*-darwin* | powerpc-apple-macos* )
47422 # Extract the first word of "Rez", so it can be a program name with args.
47423 set dummy Rez; ac_word=$2
47424 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47425 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47426 if test "${ac_cv_prog_REZ+set}" = set; then
47427 echo $ECHO_N "(cached) $ECHO_C" >&6
47428 else
47429 if test -n "$REZ"; then
47430 ac_cv_prog_REZ="$REZ" # Let the user override the test.
47431 else
47432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47433 for as_dir in $PATH
47434 do
47435 IFS=$as_save_IFS
47436 test -z "$as_dir" && as_dir=.
47437 for ac_exec_ext in '' $ac_executable_extensions; do
47438 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47439 ac_cv_prog_REZ="Rez"
47440 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47441 break 2
47442 fi
47443 done
47444 done
47445 IFS=$as_save_IFS
47446
47447 test -z "$ac_cv_prog_REZ" && ac_cv_prog_REZ="/Developer/Tools/Rez"
47448 fi
47449 fi
47450 REZ=$ac_cv_prog_REZ
47451 if test -n "$REZ"; then
47452 { echo "$as_me:$LINENO: result: $REZ" >&5
47453 echo "${ECHO_T}$REZ" >&6; }
47454 else
47455 { echo "$as_me:$LINENO: result: no" >&5
47456 echo "${ECHO_T}no" >&6; }
47457 fi
47458
47459
47460 # Extract the first word of "SetFile", so it can be a program name with args.
47461 set dummy SetFile; ac_word=$2
47462 { echo "$as_me:$LINENO: checking for $ac_word" >&5
47463 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
47464 if test "${ac_cv_prog_SETFILE+set}" = set; then
47465 echo $ECHO_N "(cached) $ECHO_C" >&6
47466 else
47467 if test -n "$SETFILE"; then
47468 ac_cv_prog_SETFILE="$SETFILE" # Let the user override the test.
47469 else
47470 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
47471 for as_dir in $PATH
47472 do
47473 IFS=$as_save_IFS
47474 test -z "$as_dir" && as_dir=.
47475 for ac_exec_ext in '' $ac_executable_extensions; do
47476 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
47477 ac_cv_prog_SETFILE="SetFile"
47478 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
47479 break 2
47480 fi
47481 done
47482 done
47483 IFS=$as_save_IFS
47484
47485 test -z "$ac_cv_prog_SETFILE" && ac_cv_prog_SETFILE="/Developer/Tools/SetFile"
47486 fi
47487 fi
47488 SETFILE=$ac_cv_prog_SETFILE
47489 if test -n "$SETFILE"; then
47490 { echo "$as_me:$LINENO: result: $SETFILE" >&5
47491 echo "${ECHO_T}$SETFILE" >&6; }
47492 else
47493 { echo "$as_me:$LINENO: result: no" >&5
47494 echo "${ECHO_T}no" >&6; }
47495 fi
47496
47497
47498 ;;
47499 esac
47500
47501
47502
47503
47504
47505
47506 BAKEFILE_BAKEFILE_M4_VERSION="0.2.2"
47507
47508
47509 BAKEFILE_AUTOCONF_INC_M4_VERSION="0.2.2"
47510
47511
47512
47513 # Check whether --enable-precomp-headers was given.
47514 if test "${enable_precomp_headers+set}" = set; then
47515 enableval=$enable_precomp_headers; bk_use_pch="$enableval"
47516 fi
47517
47518
47519 GCC_PCH=0
47520 ICC_PCH=0
47521 USE_PCH=0
47522 BK_MAKE_PCH=""
47523
47524 case ${BAKEFILE_HOST} in
47525 *-*-cygwin* )
47526 bk_use_pch="no"
47527 ;;
47528 esac
47529
47530 if test "x$bk_use_pch" = "x" -o "x$bk_use_pch" = "xyes" ; then
47531 if test "x$GCC" = "xyes"; then
47532 { echo "$as_me:$LINENO: checking if the compiler supports precompiled headers" >&5
47533 echo $ECHO_N "checking if the compiler supports precompiled headers... $ECHO_C" >&6; }
47534 cat >conftest.$ac_ext <<_ACEOF
47535 /* confdefs.h. */
47536 _ACEOF
47537 cat confdefs.h >>conftest.$ac_ext
47538 cat >>conftest.$ac_ext <<_ACEOF
47539 /* end confdefs.h. */
47540
47541 int
47542 main ()
47543 {
47544
47545 #if !defined(__GNUC__) || !defined(__GNUC_MINOR__)
47546 There is no PCH support
47547 #endif
47548 #if (__GNUC__ < 3)
47549 There is no PCH support
47550 #endif
47551 #if (__GNUC__ == 3) && \
47552 ((!defined(__APPLE_CC__) && (__GNUC_MINOR__ < 4)) || \
47553 ( defined(__APPLE_CC__) && (__GNUC_MINOR__ < 3))) || \
47554 ( defined(__INTEL_COMPILER) )
47555 There is no PCH support
47556 #endif
47557
47558 ;
47559 return 0;
47560 }
47561 _ACEOF
47562 rm -f conftest.$ac_objext
47563 if { (ac_try="$ac_compile"
47564 case "(($ac_try" in
47565 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47566 *) ac_try_echo=$ac_try;;
47567 esac
47568 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47569 (eval "$ac_compile") 2>conftest.er1
47570 ac_status=$?
47571 grep -v '^ *+' conftest.er1 >conftest.err
47572 rm -f conftest.er1
47573 cat conftest.err >&5
47574 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47575 (exit $ac_status); } && {
47576 test -z "$ac_c_werror_flag" ||
47577 test ! -s conftest.err
47578 } && test -s conftest.$ac_objext; then
47579
47580 { echo "$as_me:$LINENO: result: yes" >&5
47581 echo "${ECHO_T}yes" >&6; }
47582 GCC_PCH=1
47583
47584 else
47585 echo "$as_me: failed program was:" >&5
47586 sed 's/^/| /' conftest.$ac_ext >&5
47587
47588
47589 cat >conftest.$ac_ext <<_ACEOF
47590 /* confdefs.h. */
47591 _ACEOF
47592 cat confdefs.h >>conftest.$ac_ext
47593 cat >>conftest.$ac_ext <<_ACEOF
47594 /* end confdefs.h. */
47595
47596 int
47597 main ()
47598 {
47599
47600 #if !defined(__INTEL_COMPILER) || \
47601 (__INTEL_COMPILER < 800)
47602 There is no PCH support
47603 #endif
47604
47605 ;
47606 return 0;
47607 }
47608 _ACEOF
47609 rm -f conftest.$ac_objext
47610 if { (ac_try="$ac_compile"
47611 case "(($ac_try" in
47612 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
47613 *) ac_try_echo=$ac_try;;
47614 esac
47615 eval "echo \"\$as_me:$LINENO: $ac_try_echo\"") >&5
47616 (eval "$ac_compile") 2>conftest.er1
47617 ac_status=$?
47618 grep -v '^ *+' conftest.er1 >conftest.err
47619 rm -f conftest.er1
47620 cat conftest.err >&5
47621 echo "$as_me:$LINENO: \$? = $ac_status" >&5
47622 (exit $ac_status); } && {
47623 test -z "$ac_c_werror_flag" ||
47624 test ! -s conftest.err
47625 } && test -s conftest.$ac_objext; then
47626
47627 { echo "$as_me:$LINENO: result: yes" >&5
47628 echo "${ECHO_T}yes" >&6; }
47629 ICC_PCH=1
47630
47631 else
47632 echo "$as_me: failed program was:" >&5
47633 sed 's/^/| /' conftest.$ac_ext >&5
47634
47635
47636 { echo "$as_me:$LINENO: result: no" >&5
47637 echo "${ECHO_T}no" >&6; }
47638
47639 fi
47640
47641 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47642
47643 fi
47644
47645 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
47646 if test $GCC_PCH = 1 -o $ICC_PCH = 1 ; then
47647 USE_PCH=1
47648
47649 D='$'
47650 cat <<EOF >bk-make-pch
47651 #!/bin/sh
47652
47653 # This script is part of Bakefile (http://bakefile.sourceforge.net) autoconf
47654 # script. It is used to generated precompiled headers.
47655 #
47656 # Permission is given to use this file in any way.
47657
47658 outfile="${D}{1}"
47659 header="${D}{2}"
47660 shift
47661 shift
47662
47663 compiler=""
47664 headerfile=""
47665
47666 while test ${D}{#} -gt 0; do
47667 add_to_cmdline=1
47668 case "${D}{1}" in
47669 -I* )
47670 incdir=\`echo ${D}{1} | sed -e 's/-I\\(.*\\)/\\1/g'\`
47671 if test "x${D}{headerfile}" = "x" -a -f "${D}{incdir}/${D}{header}" ; then
47672 headerfile="${D}{incdir}/${D}{header}"
47673 fi
47674 ;;
47675 -use-pch|-use_pch )
47676 shift
47677 add_to_cmdline=0
47678 ;;
47679 esac
47680 if test ${D}add_to_cmdline = 1 ; then
47681 compiler="${D}{compiler} ${D}{1}"
47682 fi
47683 shift
47684 done
47685
47686 if test "x${D}{headerfile}" = "x" ; then
47687 echo "error: can't find header ${D}{header} in include paths" >&2
47688 else
47689 if test -f ${D}{outfile} ; then
47690 rm -f ${D}{outfile}
47691 else
47692 mkdir -p \`dirname ${D}{outfile}\`
47693 fi
47694 depsfile=".deps/\`echo ${D}{outfile} | tr '/.' '__'\`.d"
47695 mkdir -p .deps
47696 if test "x${GCC_PCH}" = "x1" ; then
47697 # can do this because gcc is >= 3.4:
47698 ${D}{compiler} -o ${D}{outfile} -MMD -MF "${D}{depsfile}" "${D}{headerfile}"
47699 elif test "x${ICC_PCH}" = "x1" ; then
47700 filename=pch_gen-${D}${D}
47701 file=${D}{filename}.c
47702 dfile=${D}{filename}.d
47703 cat > ${D}file <<EOT
47704 #include "${D}header"
47705 EOT
47706 # using -MF icc complains about differing command lines in creation/use
47707 ${D}compiler -c -create_pch ${D}outfile -MMD ${D}file && \\
47708 sed -e "s,^.*:,${D}outfile:," -e "s, ${D}file,," < ${D}dfile > ${D}depsfile && \\
47709 rm -f ${D}file ${D}dfile ${D}{filename}.o
47710 fi
47711 exit ${D}{?}
47712 fi
47713 EOF
47714
47715 chmod +x bk-make-pch
47716 BK_MAKE_PCH="`pwd`/bk-make-pch"
47717 fi
47718 fi
47719 fi
47720
47721
47722
47723
47724
47725 COND_BUILD_DEBUG="#"
47726 if test "x$BUILD" = "xdebug" ; then
47727 COND_BUILD_DEBUG=""
47728 fi
47729
47730 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT="#"
47731 if test "x$BUILD" = "xdebug" -a "x$DEBUG_FLAG" = "xdefault" ; then
47732 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT=""
47733 fi
47734
47735 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT="#"
47736 if test "x$BUILD" = "xdebug" -a "x$DEBUG_INFO" = "xdefault" ; then
47737 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT=""
47738 fi
47739
47740 COND_BUILD_DEBUG_UNICODE_0="#"
47741 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x0" ; then
47742 COND_BUILD_DEBUG_UNICODE_0=""
47743 fi
47744
47745 COND_BUILD_DEBUG_UNICODE_1="#"
47746 if test "x$BUILD" = "xdebug" -a "x$UNICODE" = "x1" ; then
47747 COND_BUILD_DEBUG_UNICODE_1=""
47748 fi
47749
47750 COND_BUILD_RELEASE="#"
47751 if test "x$BUILD" = "xrelease" ; then
47752 COND_BUILD_RELEASE=""
47753 fi
47754
47755 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT="#"
47756 if test "x$BUILD" = "xrelease" -a "x$DEBUG_INFO" = "xdefault" ; then
47757 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT=""
47758 fi
47759
47760 COND_BUILD_RELEASE_UNICODE_0="#"
47761 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x0" ; then
47762 COND_BUILD_RELEASE_UNICODE_0=""
47763 fi
47764
47765 COND_BUILD_RELEASE_UNICODE_1="#"
47766 if test "x$BUILD" = "xrelease" -a "x$UNICODE" = "x1" ; then
47767 COND_BUILD_RELEASE_UNICODE_1=""
47768 fi
47769
47770 COND_DEBUG_FLAG_1="#"
47771 if test "x$DEBUG_FLAG" = "x1" ; then
47772 COND_DEBUG_FLAG_1=""
47773 fi
47774
47775 COND_DEBUG_INFO_0="#"
47776 if test "x$DEBUG_INFO" = "x0" ; then
47777 COND_DEBUG_INFO_0=""
47778 fi
47779
47780 COND_DEBUG_INFO_1="#"
47781 if test "x$DEBUG_INFO" = "x1" ; then
47782 COND_DEBUG_INFO_1=""
47783 fi
47784
47785 COND_DEPS_TRACKING_0="#"
47786 if test "x$DEPS_TRACKING" = "x0" ; then
47787 COND_DEPS_TRACKING_0=""
47788 fi
47789
47790 COND_DEPS_TRACKING_1="#"
47791 if test "x$DEPS_TRACKING" = "x1" ; then
47792 COND_DEPS_TRACKING_1=""
47793 fi
47794
47795 COND_GCC_PCH_1="#"
47796 if test "x$GCC_PCH" = "x1" ; then
47797 COND_GCC_PCH_1=""
47798 fi
47799
47800 COND_ICC_PCH_1="#"
47801 if test "x$ICC_PCH" = "x1" ; then
47802 COND_ICC_PCH_1=""
47803 fi
47804
47805 COND_MONOLITHIC_0="#"
47806 if test "x$MONOLITHIC" = "x0" ; then
47807 COND_MONOLITHIC_0=""
47808 fi
47809
47810 COND_MONOLITHIC_0_SHARED_0="#"
47811 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" ; then
47812 COND_MONOLITHIC_0_SHARED_0=""
47813 fi
47814
47815 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1="#"
47816 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_AUI" = "x1" ; then
47817 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1=""
47818 fi
47819
47820 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1="#"
47821 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" ; then
47822 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1=""
47823 fi
47824
47825 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1="#"
47826 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47827 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1=""
47828 fi
47829
47830 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1="#"
47831 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47832 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1=""
47833 fi
47834
47835 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1="#"
47836 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47837 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1=""
47838 fi
47839
47840 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1="#"
47841 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47842 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1=""
47843 fi
47844
47845 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1="#"
47846 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_ODBC" = "x1" ; then
47847 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1=""
47848 fi
47849
47850 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1="#"
47851 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47852 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1=""
47853 fi
47854
47855 COND_MONOLITHIC_0_SHARED_0_USE_STC_1="#"
47856 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
47857 COND_MONOLITHIC_0_SHARED_0_USE_STC_1=""
47858 fi
47859
47860 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1="#"
47861 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
47862 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1=""
47863 fi
47864
47865 COND_MONOLITHIC_0_SHARED_1="#"
47866 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" ; then
47867 COND_MONOLITHIC_0_SHARED_1=""
47868 fi
47869
47870 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1="#"
47871 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_AUI" = "x1" ; then
47872 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1=""
47873 fi
47874
47875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1="#"
47876 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" ; then
47877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1=""
47878 fi
47879
47880 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1="#"
47881 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_HTML" = "x1" ; then
47882 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1=""
47883 fi
47884
47885 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1="#"
47886 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47887 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1=""
47888 fi
47889
47890 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1="#"
47891 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47892 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1=""
47893 fi
47894
47895 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1="#"
47896 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_QA" = "x1" ; then
47897 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1=""
47898 fi
47899
47900 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1="#"
47901 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_ODBC" = "x1" ; then
47902 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1=""
47903 fi
47904
47905 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1="#"
47906 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_RICHTEXT" = "x1" ; then
47907 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1=""
47908 fi
47909
47910 COND_MONOLITHIC_0_SHARED_1_USE_STC_1="#"
47911 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_STC" = "x1" ; then
47912 COND_MONOLITHIC_0_SHARED_1_USE_STC_1=""
47913 fi
47914
47915 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1="#"
47916 if test "x$MONOLITHIC" = "x0" -a "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
47917 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1=""
47918 fi
47919
47920 COND_MONOLITHIC_0_USE_AUI_1="#"
47921 if test "x$MONOLITHIC" = "x0" -a "x$USE_AUI" = "x1" ; then
47922 COND_MONOLITHIC_0_USE_AUI_1=""
47923 fi
47924
47925 COND_MONOLITHIC_0_USE_GUI_1="#"
47926 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" ; then
47927 COND_MONOLITHIC_0_USE_GUI_1=""
47928 fi
47929
47930 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1="#"
47931 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_MEDIA" = "x1" ; then
47932 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1=""
47933 fi
47934
47935 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1="#"
47936 if test "x$MONOLITHIC" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_ODBC" = "x1" ; then
47937 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1=""
47938 fi
47939
47940 COND_MONOLITHIC_0_USE_HTML_1="#"
47941 if test "x$MONOLITHIC" = "x0" -a "x$USE_HTML" = "x1" ; then
47942 COND_MONOLITHIC_0_USE_HTML_1=""
47943 fi
47944
47945 COND_MONOLITHIC_0_USE_MEDIA_1="#"
47946 if test "x$MONOLITHIC" = "x0" -a "x$USE_MEDIA" = "x1" ; then
47947 COND_MONOLITHIC_0_USE_MEDIA_1=""
47948 fi
47949
47950 COND_MONOLITHIC_0_USE_ODBC_1="#"
47951 if test "x$MONOLITHIC" = "x0" -a "x$USE_ODBC" = "x1" ; then
47952 COND_MONOLITHIC_0_USE_ODBC_1=""
47953 fi
47954
47955 COND_MONOLITHIC_0_USE_QA_1="#"
47956 if test "x$MONOLITHIC" = "x0" -a "x$USE_QA" = "x1" ; then
47957 COND_MONOLITHIC_0_USE_QA_1=""
47958 fi
47959
47960 COND_MONOLITHIC_0_USE_RICHTEXT_1="#"
47961 if test "x$MONOLITHIC" = "x0" -a "x$USE_RICHTEXT" = "x1" ; then
47962 COND_MONOLITHIC_0_USE_RICHTEXT_1=""
47963 fi
47964
47965 COND_MONOLITHIC_0_USE_STC_1="#"
47966 if test "x$MONOLITHIC" = "x0" -a "x$USE_STC" = "x1" ; then
47967 COND_MONOLITHIC_0_USE_STC_1=""
47968 fi
47969
47970 COND_MONOLITHIC_0_USE_XRC_1="#"
47971 if test "x$MONOLITHIC" = "x0" -a "x$USE_XRC" = "x1" ; then
47972 COND_MONOLITHIC_0_USE_XRC_1=""
47973 fi
47974
47975 COND_MONOLITHIC_1="#"
47976 if test "x$MONOLITHIC" = "x1" ; then
47977 COND_MONOLITHIC_1=""
47978 fi
47979
47980 COND_MONOLITHIC_1_SHARED_0="#"
47981 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x0" ; then
47982 COND_MONOLITHIC_1_SHARED_0=""
47983 fi
47984
47985 COND_MONOLITHIC_1_SHARED_1="#"
47986 if test "x$MONOLITHIC" = "x1" -a "x$SHARED" = "x1" ; then
47987 COND_MONOLITHIC_1_SHARED_1=""
47988 fi
47989
47990 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1="#"
47991 if test "x$OFFICIAL_BUILD" = "x0" -a "x$PLATFORM_WIN32" = "x1" ; then
47992 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1=""
47993 fi
47994
47995 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1="#"
47996 if test "x$OFFICIAL_BUILD" = "x1" -a "x$PLATFORM_WIN32" = "x1" ; then
47997 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1=""
47998 fi
47999
48000 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1="#"
48001 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERCYGWIN" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48002 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1=""
48003 fi
48004
48005 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1="#"
48006 if test "x$PLATFORM_MACOSX" = "x0" -a "x$USE_SOVERSION" = "x1" ; then
48007 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1=""
48008 fi
48009
48010 COND_PLATFORM_MACOSX_1="#"
48011 if test "x$PLATFORM_MACOSX" = "x1" ; then
48012 COND_PLATFORM_MACOSX_1=""
48013 fi
48014
48015 COND_PLATFORM_MACOSX_1_TOOLKIT_="#"
48016 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "x" ; then
48017 COND_PLATFORM_MACOSX_1_TOOLKIT_=""
48018 fi
48019
48020 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA="#"
48021 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xCOCOA" ; then
48022 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA=""
48023 fi
48024
48025 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK="#"
48026 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xGTK" ; then
48027 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK=""
48028 fi
48029
48030 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC="#"
48031 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" ; then
48032 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC=""
48033 fi
48034
48035 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1="#"
48036 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48037 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1=""
48038 fi
48039
48040 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF="#"
48041 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xMOTIF" ; then
48042 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF=""
48043 fi
48044
48045 COND_PLATFORM_MACOSX_1_TOOLKIT_X11="#"
48046 if test "x$PLATFORM_MACOSX" = "x1" -a "x$TOOLKIT" = "xX11" ; then
48047 COND_PLATFORM_MACOSX_1_TOOLKIT_X11=""
48048 fi
48049
48050 COND_PLATFORM_MACOSX_1_USE_GUI_1="#"
48051 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_GUI" = "x1" ; then
48052 COND_PLATFORM_MACOSX_1_USE_GUI_1=""
48053 fi
48054
48055 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1="#"
48056 if test "x$PLATFORM_MACOSX" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48057 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1=""
48058 fi
48059
48060 COND_PLATFORM_MACOS_1="#"
48061 if test "x$PLATFORM_MACOS" = "x1" ; then
48062 COND_PLATFORM_MACOS_1=""
48063 fi
48064
48065 COND_PLATFORM_MAC_1="#"
48066 if test "x$PLATFORM_MAC" = "x1" ; then
48067 COND_PLATFORM_MAC_1=""
48068 fi
48069
48070 COND_PLATFORM_MSDOS_0="#"
48071 if test "x$PLATFORM_MSDOS" = "x0" ; then
48072 COND_PLATFORM_MSDOS_0=""
48073 fi
48074
48075 COND_PLATFORM_MSDOS_1="#"
48076 if test "x$PLATFORM_MSDOS" = "x1" ; then
48077 COND_PLATFORM_MSDOS_1=""
48078 fi
48079
48080 COND_PLATFORM_OS2_1="#"
48081 if test "x$PLATFORM_OS2" = "x1" ; then
48082 COND_PLATFORM_OS2_1=""
48083 fi
48084
48085 COND_PLATFORM_UNIX_0="#"
48086 if test "x$PLATFORM_UNIX" = "x0" ; then
48087 COND_PLATFORM_UNIX_0=""
48088 fi
48089
48090 COND_PLATFORM_UNIX_1="#"
48091 if test "x$PLATFORM_UNIX" = "x1" ; then
48092 COND_PLATFORM_UNIX_1=""
48093 fi
48094
48095 COND_PLATFORM_UNIX_1_TOOLKIT_MGL="#"
48096 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" ; then
48097 COND_PLATFORM_UNIX_1_TOOLKIT_MGL=""
48098 fi
48099
48100 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1="#"
48101 if test "x$PLATFORM_UNIX" = "x1" -a "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48102 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1=""
48103 fi
48104
48105 COND_PLATFORM_UNIX_1_USE_GUI_1="#"
48106 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_GUI" = "x1" ; then
48107 COND_PLATFORM_UNIX_1_USE_GUI_1=""
48108 fi
48109
48110 COND_PLATFORM_UNIX_1_USE_PLUGINS_0="#"
48111 if test "x$PLATFORM_UNIX" = "x1" -a "x$USE_PLUGINS" = "x0" ; then
48112 COND_PLATFORM_UNIX_1_USE_PLUGINS_0=""
48113 fi
48114
48115 COND_PLATFORM_WIN32_0="#"
48116 if test "x$PLATFORM_WIN32" = "x0" ; then
48117 COND_PLATFORM_WIN32_0=""
48118 fi
48119
48120 COND_PLATFORM_WIN32_1="#"
48121 if test "x$PLATFORM_WIN32" = "x1" ; then
48122 COND_PLATFORM_WIN32_1=""
48123 fi
48124
48125 COND_SHARED_0="#"
48126 if test "x$SHARED" = "x0" ; then
48127 COND_SHARED_0=""
48128 fi
48129
48130 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0="#"
48131 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMAC" -a "x$WXUNIV" = "x0" ; then
48132 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0=""
48133 fi
48134
48135 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0="#"
48136 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48137 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0=""
48138 fi
48139
48140 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0="#"
48141 if test "x$SHARED" = "x0" -a "x$TOOLKIT" = "xPM" -a "x$WXUNIV" = "x0" ; then
48142 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0=""
48143 fi
48144
48145 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1="#"
48146 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48147 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1=""
48148 fi
48149
48150 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48151 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48152 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48153 fi
48154
48155 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48156 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48157 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48158 fi
48159
48160 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48161 if test "x$SHARED" = "x0" -a "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48162 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48163 fi
48164
48165 COND_SHARED_0_USE_STC_1="#"
48166 if test "x$SHARED" = "x0" -a "x$USE_STC" = "x1" ; then
48167 COND_SHARED_0_USE_STC_1=""
48168 fi
48169
48170 COND_SHARED_0_USE_XRC_1="#"
48171 if test "x$SHARED" = "x0" -a "x$USE_XRC" = "x1" ; then
48172 COND_SHARED_0_USE_XRC_1=""
48173 fi
48174
48175 COND_SHARED_0_WXUSE_EXPAT_BUILTIN="#"
48176 if test "x$SHARED" = "x0" -a "x$wxUSE_EXPAT" = "xbuiltin" ; then
48177 COND_SHARED_0_WXUSE_EXPAT_BUILTIN=""
48178 fi
48179
48180 COND_SHARED_0_WXUSE_ODBC_BUILTIN="#"
48181 if test "x$SHARED" = "x0" -a "x$wxUSE_ODBC" = "xbuiltin" ; then
48182 COND_SHARED_0_WXUSE_ODBC_BUILTIN=""
48183 fi
48184
48185 COND_SHARED_0_WXUSE_REGEX_BUILTIN="#"
48186 if test "x$SHARED" = "x0" -a "x$wxUSE_REGEX" = "xbuiltin" ; then
48187 COND_SHARED_0_WXUSE_REGEX_BUILTIN=""
48188 fi
48189
48190 COND_SHARED_0_WXUSE_ZLIB_BUILTIN="#"
48191 if test "x$SHARED" = "x0" -a "x$wxUSE_ZLIB" = "xbuiltin" ; then
48192 COND_SHARED_0_WXUSE_ZLIB_BUILTIN=""
48193 fi
48194
48195 COND_SHARED_1="#"
48196 if test "x$SHARED" = "x1" ; then
48197 COND_SHARED_1=""
48198 fi
48199
48200 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1="#"
48201 if test "x$SHARED" = "x1" -a "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48202 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1=""
48203 fi
48204
48205 COND_SHARED_1_USE_XRC_1="#"
48206 if test "x$SHARED" = "x1" -a "x$USE_XRC" = "x1" ; then
48207 COND_SHARED_1_USE_XRC_1=""
48208 fi
48209
48210 COND_TOOLKIT_="#"
48211 if test "x$TOOLKIT" = "x" ; then
48212 COND_TOOLKIT_=""
48213 fi
48214
48215 COND_TOOLKIT_COCOA="#"
48216 if test "x$TOOLKIT" = "xCOCOA" ; then
48217 COND_TOOLKIT_COCOA=""
48218 fi
48219
48220 COND_TOOLKIT_COCOA_USE_GUI_1="#"
48221 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" ; then
48222 COND_TOOLKIT_COCOA_USE_GUI_1=""
48223 fi
48224
48225 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0="#"
48226 if test "x$TOOLKIT" = "xCOCOA" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48227 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0=""
48228 fi
48229
48230 COND_TOOLKIT_DFB="#"
48231 if test "x$TOOLKIT" = "xDFB" ; then
48232 COND_TOOLKIT_DFB=""
48233 fi
48234
48235 COND_TOOLKIT_DFB_USE_GUI_1="#"
48236 if test "x$TOOLKIT" = "xDFB" -a "x$USE_GUI" = "x1" ; then
48237 COND_TOOLKIT_DFB_USE_GUI_1=""
48238 fi
48239
48240 COND_TOOLKIT_GTK="#"
48241 if test "x$TOOLKIT" = "xGTK" ; then
48242 COND_TOOLKIT_GTK=""
48243 fi
48244
48245 COND_TOOLKIT_GTK_TOOLKIT_VERSION_="#"
48246 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" ; then
48247 COND_TOOLKIT_GTK_TOOLKIT_VERSION_=""
48248 fi
48249
48250 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2="#"
48251 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" ; then
48252 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2=""
48253 fi
48254
48255 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1="#"
48256 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" ; then
48257 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1=""
48258 fi
48259
48260 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0="#"
48261 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x2" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48262 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0=""
48263 fi
48264
48265 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1="#"
48266 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" ; then
48267 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1=""
48268 fi
48269
48270 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0="#"
48271 if test "x$TOOLKIT" = "xGTK" -a "x$TOOLKIT_VERSION" = "x" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48272 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0=""
48273 fi
48274
48275 COND_TOOLKIT_GTK_USE_GUI_1="#"
48276 if test "x$TOOLKIT" = "xGTK" -a "x$USE_GUI" = "x1" ; then
48277 COND_TOOLKIT_GTK_USE_GUI_1=""
48278 fi
48279
48280 COND_TOOLKIT_MAC="#"
48281 if test "x$TOOLKIT" = "xMAC" ; then
48282 COND_TOOLKIT_MAC=""
48283 fi
48284
48285 COND_TOOLKIT_MAC_USE_GUI_1="#"
48286 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" ; then
48287 COND_TOOLKIT_MAC_USE_GUI_1=""
48288 fi
48289
48290 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0="#"
48291 if test "x$TOOLKIT" = "xMAC" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48292 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0=""
48293 fi
48294
48295 COND_TOOLKIT_MGL="#"
48296 if test "x$TOOLKIT" = "xMGL" ; then
48297 COND_TOOLKIT_MGL=""
48298 fi
48299
48300 COND_TOOLKIT_MGL_USE_GUI_1="#"
48301 if test "x$TOOLKIT" = "xMGL" -a "x$USE_GUI" = "x1" ; then
48302 COND_TOOLKIT_MGL_USE_GUI_1=""
48303 fi
48304
48305 COND_TOOLKIT_MOTIF="#"
48306 if test "x$TOOLKIT" = "xMOTIF" ; then
48307 COND_TOOLKIT_MOTIF=""
48308 fi
48309
48310 COND_TOOLKIT_MOTIF_USE_GUI_1="#"
48311 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" ; then
48312 COND_TOOLKIT_MOTIF_USE_GUI_1=""
48313 fi
48314
48315 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0="#"
48316 if test "x$TOOLKIT" = "xMOTIF" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48317 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0=""
48318 fi
48319
48320 COND_TOOLKIT_MSW="#"
48321 if test "x$TOOLKIT" = "xMSW" ; then
48322 COND_TOOLKIT_MSW=""
48323 fi
48324
48325 COND_TOOLKIT_MSW_USE_GUI_1="#"
48326 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" ; then
48327 COND_TOOLKIT_MSW_USE_GUI_1=""
48328 fi
48329
48330 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0="#"
48331 if test "x$TOOLKIT" = "xMSW" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48332 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0=""
48333 fi
48334
48335 COND_TOOLKIT_MSW_WXUNIV_0="#"
48336 if test "x$TOOLKIT" = "xMSW" -a "x$WXUNIV" = "x0" ; then
48337 COND_TOOLKIT_MSW_WXUNIV_0=""
48338 fi
48339
48340 COND_TOOLKIT_PM="#"
48341 if test "x$TOOLKIT" = "xPM" ; then
48342 COND_TOOLKIT_PM=""
48343 fi
48344
48345 COND_TOOLKIT_PM_USE_GUI_1="#"
48346 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" ; then
48347 COND_TOOLKIT_PM_USE_GUI_1=""
48348 fi
48349
48350 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0="#"
48351 if test "x$TOOLKIT" = "xPM" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48352 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0=""
48353 fi
48354
48355 COND_TOOLKIT_WINCE="#"
48356 if test "x$TOOLKIT" = "xWINCE" ; then
48357 COND_TOOLKIT_WINCE=""
48358 fi
48359
48360 COND_TOOLKIT_WINCE_USE_GUI_1="#"
48361 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" ; then
48362 COND_TOOLKIT_WINCE_USE_GUI_1=""
48363 fi
48364
48365 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0="#"
48366 if test "x$TOOLKIT" = "xWINCE" -a "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48367 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0=""
48368 fi
48369
48370 COND_TOOLKIT_WINCE_WXUNIV_0="#"
48371 if test "x$TOOLKIT" = "xWINCE" -a "x$WXUNIV" = "x0" ; then
48372 COND_TOOLKIT_WINCE_WXUNIV_0=""
48373 fi
48374
48375 COND_TOOLKIT_X11="#"
48376 if test "x$TOOLKIT" = "xX11" ; then
48377 COND_TOOLKIT_X11=""
48378 fi
48379
48380 COND_TOOLKIT_X11_USE_GUI_1="#"
48381 if test "x$TOOLKIT" = "xX11" -a "x$USE_GUI" = "x1" ; then
48382 COND_TOOLKIT_X11_USE_GUI_1=""
48383 fi
48384
48385 COND_UNICODE_1="#"
48386 if test "x$UNICODE" = "x1" ; then
48387 COND_UNICODE_1=""
48388 fi
48389
48390 COND_USE_EXCEPTIONS_0="#"
48391 if test "x$USE_EXCEPTIONS" = "x0" ; then
48392 COND_USE_EXCEPTIONS_0=""
48393 fi
48394
48395 COND_USE_EXCEPTIONS_1="#"
48396 if test "x$USE_EXCEPTIONS" = "x1" ; then
48397 COND_USE_EXCEPTIONS_1=""
48398 fi
48399
48400 COND_USE_GUI_0="#"
48401 if test "x$USE_GUI" = "x0" ; then
48402 COND_USE_GUI_0=""
48403 fi
48404
48405 COND_USE_GUI_1="#"
48406 if test "x$USE_GUI" = "x1" ; then
48407 COND_USE_GUI_1=""
48408 fi
48409
48410 COND_USE_GUI_1_USE_OPENGL_1="#"
48411 if test "x$USE_GUI" = "x1" -a "x$USE_OPENGL" = "x1" ; then
48412 COND_USE_GUI_1_USE_OPENGL_1=""
48413 fi
48414
48415 COND_USE_GUI_1_WXUNIV_0="#"
48416 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x0" ; then
48417 COND_USE_GUI_1_WXUNIV_0=""
48418 fi
48419
48420 COND_USE_GUI_1_WXUNIV_1="#"
48421 if test "x$USE_GUI" = "x1" -a "x$WXUNIV" = "x1" ; then
48422 COND_USE_GUI_1_WXUNIV_1=""
48423 fi
48424
48425 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN="#"
48426 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48427 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN=""
48428 fi
48429
48430 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN="#"
48431 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48432 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN=""
48433 fi
48434
48435 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN="#"
48436 if test "x$USE_GUI" = "x1" -a "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48437 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN=""
48438 fi
48439
48440 COND_USE_ODBC_1="#"
48441 if test "x$USE_ODBC" = "x1" ; then
48442 COND_USE_ODBC_1=""
48443 fi
48444
48445 COND_USE_OPENGL_1="#"
48446 if test "x$USE_OPENGL" = "x1" ; then
48447 COND_USE_OPENGL_1=""
48448 fi
48449
48450 COND_USE_PCH_1="#"
48451 if test "x$USE_PCH" = "x1" ; then
48452 COND_USE_PCH_1=""
48453 fi
48454
48455 COND_USE_PLUGINS_0="#"
48456 if test "x$USE_PLUGINS" = "x0" ; then
48457 COND_USE_PLUGINS_0=""
48458 fi
48459
48460 COND_USE_RTTI_0="#"
48461 if test "x$USE_RTTI" = "x0" ; then
48462 COND_USE_RTTI_0=""
48463 fi
48464
48465 COND_USE_RTTI_1="#"
48466 if test "x$USE_RTTI" = "x1" ; then
48467 COND_USE_RTTI_1=""
48468 fi
48469
48470 COND_USE_SOSYMLINKS_1="#"
48471 if test "x$USE_SOSYMLINKS" = "x1" ; then
48472 COND_USE_SOSYMLINKS_1=""
48473 fi
48474
48475 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1="#"
48476 if test "x$USE_SOVERCYGWIN" = "x1" -a "x$USE_SOVERSION" = "x1" ; then
48477 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1=""
48478 fi
48479
48480 COND_USE_SOVERLINUX_1="#"
48481 if test "x$USE_SOVERLINUX" = "x1" ; then
48482 COND_USE_SOVERLINUX_1=""
48483 fi
48484
48485 COND_USE_SOVERSION_0="#"
48486 if test "x$USE_SOVERSION" = "x0" ; then
48487 COND_USE_SOVERSION_0=""
48488 fi
48489
48490 COND_USE_SOVERSOLARIS_1="#"
48491 if test "x$USE_SOVERSOLARIS" = "x1" ; then
48492 COND_USE_SOVERSOLARIS_1=""
48493 fi
48494
48495 COND_USE_STC_1="#"
48496 if test "x$USE_STC" = "x1" ; then
48497 COND_USE_STC_1=""
48498 fi
48499
48500 COND_USE_THREADS_0="#"
48501 if test "x$USE_THREADS" = "x0" ; then
48502 COND_USE_THREADS_0=""
48503 fi
48504
48505 COND_USE_THREADS_1="#"
48506 if test "x$USE_THREADS" = "x1" ; then
48507 COND_USE_THREADS_1=""
48508 fi
48509
48510 COND_USE_XRC_1="#"
48511 if test "x$USE_XRC" = "x1" ; then
48512 COND_USE_XRC_1=""
48513 fi
48514
48515 COND_WINDOWS_IMPLIB_1="#"
48516 if test "x$WINDOWS_IMPLIB" = "x1" ; then
48517 COND_WINDOWS_IMPLIB_1=""
48518 fi
48519
48520 COND_WITH_PLUGIN_SDL_1="#"
48521 if test "x$WITH_PLUGIN_SDL" = "x1" ; then
48522 COND_WITH_PLUGIN_SDL_1=""
48523 fi
48524
48525 COND_WXUNIV_0="#"
48526 if test "x$WXUNIV" = "x0" ; then
48527 COND_WXUNIV_0=""
48528 fi
48529
48530 COND_WXUNIV_1="#"
48531 if test "x$WXUNIV" = "x1" ; then
48532 COND_WXUNIV_1=""
48533 fi
48534
48535 COND_WXUSE_EXPAT_BUILTIN="#"
48536 if test "x$wxUSE_EXPAT" = "xbuiltin" ; then
48537 COND_WXUSE_EXPAT_BUILTIN=""
48538 fi
48539
48540 COND_WXUSE_LIBJPEG_BUILTIN="#"
48541 if test "x$wxUSE_LIBJPEG" = "xbuiltin" ; then
48542 COND_WXUSE_LIBJPEG_BUILTIN=""
48543 fi
48544
48545 COND_WXUSE_LIBPNG_BUILTIN="#"
48546 if test "x$wxUSE_LIBPNG" = "xbuiltin" ; then
48547 COND_WXUSE_LIBPNG_BUILTIN=""
48548 fi
48549
48550 COND_WXUSE_LIBTIFF_BUILTIN="#"
48551 if test "x$wxUSE_LIBTIFF" = "xbuiltin" ; then
48552 COND_WXUSE_LIBTIFF_BUILTIN=""
48553 fi
48554
48555 COND_WXUSE_ODBC_BUILTIN="#"
48556 if test "x$wxUSE_ODBC" = "xbuiltin" ; then
48557 COND_WXUSE_ODBC_BUILTIN=""
48558 fi
48559
48560 COND_WXUSE_REGEX_BUILTIN="#"
48561 if test "x$wxUSE_REGEX" = "xbuiltin" ; then
48562 COND_WXUSE_REGEX_BUILTIN=""
48563 fi
48564
48565 COND_WXUSE_ZLIB_BUILTIN="#"
48566 if test "x$wxUSE_ZLIB" = "xbuiltin" ; then
48567 COND_WXUSE_ZLIB_BUILTIN=""
48568 fi
48569
48570
48571
48572 if test "$BAKEFILE_AUTOCONF_INC_M4_VERSION" = "" ; then
48573 { { 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
48574 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;}
48575 { (exit 1); exit 1; }; }
48576 fi
48577
48578 if test "$BAKEFILE_BAKEFILE_M4_VERSION" != "$BAKEFILE_AUTOCONF_INC_M4_VERSION" ; then
48579 { { 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
48580 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;}
48581 { (exit 1); exit 1; }; }
48582 fi
48583
48584
48585 if test $GCC_PCH = 1
48586 then
48587 if test "$wx_cv_gcc_pch_bug" = yes; then
48588 { echo "$as_me:$LINENO: WARNING: *** Precompiled header support is broken on this compiler" >&5
48589 echo "$as_me: WARNING: *** Precompiled header support is broken on this compiler" >&2;}
48590 { echo "$as_me:$LINENO: WARNING: *** --enable-precomp-headers is not recommended" >&5
48591 echo "$as_me: WARNING: *** --enable-precomp-headers is not recommended" >&2;}
48592 { echo "$as_me:$LINENO: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&5
48593 echo "$as_me: WARNING: *** see http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13361" >&2;}
48594 fi
48595
48596 CPPFLAGS="-DWX_PRECOMP $CPPFLAGS"
48597 fi
48598
48599
48600 if test "$wxUSE_MAC" = 1 ; then
48601 if test "x$wxUSE_UNIVERSAL_BINARY" != "xno" ; then
48602 sed "s/DEPSMODE=gcc/DEPSMODE=none/" < bk-deps > temp
48603 mv temp bk-deps
48604 chmod +x bk-deps
48605 fi
48606 fi
48607
48608 if test "$wxUSE_SHARED" = "yes"; then
48609
48610 sanitised_bakefile_mess=`echo "$SHARED_LD_CXX" | tr -d '()'`
48611 EXE_LINKER=`eval echo "$sanitised_bakefile_mess"`
48612
48613 case "${host}" in
48614 *-pc-os2_emx | *-pc-os2-emx )
48615 SHARED_LD_CC="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48616 SHARED_LD_CXX="`pwd`/dllar.sh -name-mangler-script ./dllnames.sh -libf INITINSTANCE -libf TERMINSTANCE -o"
48617 cp -p ${srcdir}/src/os2/dllnames.sh .
48618 cp -p ${srcdir}/src/os2/dllar.sh .
48619 ;;
48620 esac
48621 else
48622
48623 EXE_LINKER="$CXX -o"
48624
48625 fi
48626 if test "$wxUSE_OMF" = "yes"; then
48627 case "${host}" in
48628 *-pc-os2_emx | *-pc-os2-emx )
48629 LDFLAGS="$LDFLAGS -Zlinker /EXEPACK"
48630 LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48631 WXCONFIG_LDFLAGS_GUI="-Zlinker /PMTYPE:PM"
48632 ;;
48633 esac
48634 fi
48635
48636 WXCONFIG_CPPFLAGS="$WXCONFIG_CPPFLAGS $TOOLCHAIN_DEFS"
48637
48638 SAMPLES_SUBDIRS="`echo $SAMPLES_SUBDIRS | tr -s ' ' | tr ' ' '\n' | sort | uniq | tr '\n' ' '| tr -d '\r'`"
48639
48640
48641
48642
48643
48644
48645
48646
48647
48648
48649
48650
48651
48652
48653
48654
48655
48656
48657
48658
48659
48660
48661
48662
48663
48664
48665
48666
48667
48668
48669
48670
48671
48672
48673
48674
48675
48676
48677
48678
48679
48680
48681
48682
48683
48684
48685
48686
48687
48688
48689
48690
48691
48692
48693
48694
48695
48696
48697
48698
48699
48700 { echo "$as_me:$LINENO: checking whether ${MAKE-make} sets \$(MAKE)" >&5
48701 echo $ECHO_N "checking whether ${MAKE-make} sets \$(MAKE)... $ECHO_C" >&6; }
48702 set x ${MAKE-make}; ac_make=`echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
48703 if { as_var=ac_cv_prog_make_${ac_make}_set; eval "test \"\${$as_var+set}\" = set"; }; then
48704 echo $ECHO_N "(cached) $ECHO_C" >&6
48705 else
48706 cat >conftest.make <<\_ACEOF
48707 SHELL = /bin/sh
48708 all:
48709 @echo '@@@%%%=$(MAKE)=@@@%%%'
48710 _ACEOF
48711 # GNU make sometimes prints "make[1]: Entering...", which would confuse us.
48712 case `${MAKE-make} -f conftest.make 2>/dev/null` in
48713 *@@@%%%=?*=@@@%%%*)
48714 eval ac_cv_prog_make_${ac_make}_set=yes;;
48715 *)
48716 eval ac_cv_prog_make_${ac_make}_set=no;;
48717 esac
48718 rm -f conftest.make
48719 fi
48720 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
48721 { echo "$as_me:$LINENO: result: yes" >&5
48722 echo "${ECHO_T}yes" >&6; }
48723 SET_MAKE=
48724 else
48725 { echo "$as_me:$LINENO: result: no" >&5
48726 echo "${ECHO_T}no" >&6; }
48727 SET_MAKE="MAKE=${MAKE-make}"
48728 fi
48729
48730
48731
48732 ac_config_headers="$ac_config_headers lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in"
48733
48734
48735 if test "$USE_WIN32" = 1; then
48736 ac_config_commands="$ac_config_commands
48737 rcdefs.h
48738 "
48739
48740 fi
48741
48742 ac_config_files="$ac_config_files lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in"
48743
48744
48745 ac_config_files="$ac_config_files lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in"
48746
48747
48748 if test "$wx_cv_version_script" = "yes"; then
48749 ac_config_files="$ac_config_files version-script"
48750
48751 fi
48752 ac_config_files="$ac_config_files Makefile"
48753
48754
48755 ac_config_commands="$ac_config_commands wx-config"
48756
48757
48758
48759 if test "$wxWITH_SUBDIRS" != "no"; then
48760 if test "$wxUSE_GUI" = "yes"; then
48761 SUBDIRS="samples demos utils"
48762 else SUBDIRS="samples utils"
48763 fi
48764
48765
48766
48767 # Check whether --with-cppunit-prefix was given.
48768 if test "${with_cppunit_prefix+set}" = set; then
48769 withval=$with_cppunit_prefix; cppunit_config_prefix="$withval"
48770 else
48771 cppunit_config_prefix=""
48772 fi
48773
48774
48775 # Check whether --with-cppunit-exec-prefix was given.
48776 if test "${with_cppunit_exec_prefix+set}" = set; then
48777 withval=$with_cppunit_exec_prefix; cppunit_config_exec_prefix="$withval"
48778 else
48779 cppunit_config_exec_prefix=""
48780 fi
48781
48782
48783 if test x$cppunit_config_exec_prefix != x ; then
48784 cppunit_config_args="$cppunit_config_args --exec-prefix=$cppunit_config_exec_prefix"
48785 if test x${CPPUNIT_CONFIG+set} != xset ; then
48786 CPPUNIT_CONFIG=$cppunit_config_exec_prefix/bin/cppunit-config
48787 fi
48788 fi
48789 if test x$cppunit_config_prefix != x ; then
48790 cppunit_config_args="$cppunit_config_args --prefix=$cppunit_config_prefix"
48791 if test x${CPPUNIT_CONFIG+set} != xset ; then
48792 CPPUNIT_CONFIG=$cppunit_config_prefix/bin/cppunit-config
48793 fi
48794 fi
48795
48796 # Extract the first word of "cppunit-config", so it can be a program name with args.
48797 set dummy cppunit-config; ac_word=$2
48798 { echo "$as_me:$LINENO: checking for $ac_word" >&5
48799 echo $ECHO_N "checking for $ac_word... $ECHO_C" >&6; }
48800 if test "${ac_cv_path_CPPUNIT_CONFIG+set}" = set; then
48801 echo $ECHO_N "(cached) $ECHO_C" >&6
48802 else
48803 case $CPPUNIT_CONFIG in
48804 [\\/]* | ?:[\\/]*)
48805 ac_cv_path_CPPUNIT_CONFIG="$CPPUNIT_CONFIG" # Let the user override the test with a path.
48806 ;;
48807 *)
48808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
48809 for as_dir in $PATH
48810 do
48811 IFS=$as_save_IFS
48812 test -z "$as_dir" && as_dir=.
48813 for ac_exec_ext in '' $ac_executable_extensions; do
48814 if { test -f "$as_dir/$ac_word$ac_exec_ext" && $as_test_x "$as_dir/$ac_word$ac_exec_ext"; }; then
48815 ac_cv_path_CPPUNIT_CONFIG="$as_dir/$ac_word$ac_exec_ext"
48816 echo "$as_me:$LINENO: found $as_dir/$ac_word$ac_exec_ext" >&5
48817 break 2
48818 fi
48819 done
48820 done
48821 IFS=$as_save_IFS
48822
48823 test -z "$ac_cv_path_CPPUNIT_CONFIG" && ac_cv_path_CPPUNIT_CONFIG="no"
48824 ;;
48825 esac
48826 fi
48827 CPPUNIT_CONFIG=$ac_cv_path_CPPUNIT_CONFIG
48828 if test -n "$CPPUNIT_CONFIG"; then
48829 { echo "$as_me:$LINENO: result: $CPPUNIT_CONFIG" >&5
48830 echo "${ECHO_T}$CPPUNIT_CONFIG" >&6; }
48831 else
48832 { echo "$as_me:$LINENO: result: no" >&5
48833 echo "${ECHO_T}no" >&6; }
48834 fi
48835
48836
48837 cppunit_version_min=1.8.0
48838
48839 { echo "$as_me:$LINENO: checking for Cppunit - version >= $cppunit_version_min" >&5
48840 echo $ECHO_N "checking for Cppunit - version >= $cppunit_version_min... $ECHO_C" >&6; }
48841 no_cppunit=""
48842 if test "$CPPUNIT_CONFIG" = "no" ; then
48843 { echo "$as_me:$LINENO: result: no" >&5
48844 echo "${ECHO_T}no" >&6; }
48845 no_cppunit=yes
48846 else
48847 CPPUNIT_CFLAGS=`$CPPUNIT_CONFIG --cflags`
48848 CPPUNIT_LIBS=`$CPPUNIT_CONFIG --libs`
48849 cppunit_version=`$CPPUNIT_CONFIG --version`
48850
48851 cppunit_major_version=`echo $cppunit_version | \
48852 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48853 cppunit_minor_version=`echo $cppunit_version | \
48854 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48855 cppunit_micro_version=`echo $cppunit_version | \
48856 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48857
48858 cppunit_major_min=`echo $cppunit_version_min | \
48859 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
48860 cppunit_minor_min=`echo $cppunit_version_min | \
48861 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\2/'`
48862 cppunit_micro_min=`echo $cppunit_version_min | \
48863 sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\3/'`
48864
48865 cppunit_version_proper=`expr \
48866 $cppunit_major_version \> $cppunit_major_min \| \
48867 $cppunit_major_version \= $cppunit_major_min \& \
48868 $cppunit_minor_version \> $cppunit_minor_min \| \
48869 $cppunit_major_version \= $cppunit_major_min \& \
48870 $cppunit_minor_version \= $cppunit_minor_min \& \
48871 $cppunit_micro_version \>= $cppunit_micro_min `
48872
48873 if test "$cppunit_version_proper" = "1" ; then
48874 { echo "$as_me:$LINENO: result: $cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&5
48875 echo "${ECHO_T}$cppunit_major_version.$cppunit_minor_version.$cppunit_micro_version" >&6; }
48876 else
48877 { echo "$as_me:$LINENO: result: no" >&5
48878 echo "${ECHO_T}no" >&6; }
48879 no_cppunit=yes
48880 fi
48881 fi
48882
48883 if test "x$no_cppunit" = x ; then
48884 SUBDIRS="$SUBDIRS tests"
48885 else
48886 CPPUNIT_CFLAGS=""
48887 CPPUNIT_LIBS=""
48888 :
48889 fi
48890
48891
48892
48893
48894
48895 for subdir in `echo $SUBDIRS`; do
48896 if test -d ${srcdir}/${subdir} ; then
48897 if test "$wxUSE_GUI" = "yes"; then
48898 if test ${subdir} = "samples"; then
48899 makefiles="samples/Makefile.in $makefiles"
48900 for sample in `echo $SAMPLES_SUBDIRS`; do
48901 if test -d $srcdir/samples/$sample; then
48902 makefiles="samples/$sample/Makefile.in $makefiles"
48903 fi
48904 done
48905 else
48906 disabled_var=DISABLED_`echo $subdir | tr [a-z] [A-Z]`;
48907 eval "disabled=\$$disabled_var"
48908 disabled=/`echo X $disabled | sed 's@ @/|/@g'`/
48909 makefiles=`(cd $srcdir ; find $subdir -name Makefile.in) | $EGREP -v "$disabled"`
48910 fi
48911 else if test ${subdir} = "samples"; then
48912 makefiles="samples/Makefile.in samples/console/Makefile.in"
48913 elif test ${subdir} = "utils"; then
48914 makefiles=""
48915 for util in HelpGen tex2rtf ; do
48916 if test -d $srcdir/utils/$util ; then
48917 makefiles="utils/$util/Makefile.in \
48918 utils/$util/src/Makefile.in \
48919 $makefiles"
48920 fi
48921 done
48922 else makefiles=`(cd $srcdir ; find $subdir -name Makefile.in)`
48923 fi
48924 fi
48925
48926 for mkin in $makefiles ; do
48927 mk=`echo $mkin | sed 's/Makefile\.in/Makefile/g'`
48928 ac_config_files="$ac_config_files $mk"
48929
48930 done
48931 fi
48932 done
48933 fi
48934 cat >confcache <<\_ACEOF
48935 # This file is a shell script that caches the results of configure
48936 # tests run on this system so they can be shared between configure
48937 # scripts and configure runs, see configure's option --config-cache.
48938 # It is not useful on other systems. If it contains results you don't
48939 # want to keep, you may remove or edit it.
48940 #
48941 # config.status only pays attention to the cache file if you give it
48942 # the --recheck option to rerun configure.
48943 #
48944 # `ac_cv_env_foo' variables (set or unset) will be overridden when
48945 # loading this file, other *unset* `ac_cv_foo' will be assigned the
48946 # following values.
48947
48948 _ACEOF
48949
48950 # The following way of writing the cache mishandles newlines in values,
48951 # but we know of no workaround that is simple, portable, and efficient.
48952 # So, we kill variables containing newlines.
48953 # Ultrix sh set writes to stderr and can't be redirected directly,
48954 # and sets the high bit in the cache file unless we assign to the vars.
48955 (
48956 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
48957 eval ac_val=\$$ac_var
48958 case $ac_val in #(
48959 *${as_nl}*)
48960 case $ac_var in #(
48961 *_cv_*) { echo "$as_me:$LINENO: WARNING: Cache variable $ac_var contains a newline." >&5
48962 echo "$as_me: WARNING: Cache variable $ac_var contains a newline." >&2;} ;;
48963 esac
48964 case $ac_var in #(
48965 _ | IFS | as_nl) ;; #(
48966 *) $as_unset $ac_var ;;
48967 esac ;;
48968 esac
48969 done
48970
48971 (set) 2>&1 |
48972 case $as_nl`(ac_space=' '; set) 2>&1` in #(
48973 *${as_nl}ac_space=\ *)
48974 # `set' does not quote correctly, so add quotes (double-quote
48975 # substitution turns \\\\ into \\, and sed turns \\ into \).
48976 sed -n \
48977 "s/'/'\\\\''/g;
48978 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
48979 ;; #(
48980 *)
48981 # `set' quotes correctly as required by POSIX, so do not add quotes.
48982 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
48983 ;;
48984 esac |
48985 sort
48986 ) |
48987 sed '
48988 /^ac_cv_env_/b end
48989 t clear
48990 :clear
48991 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
48992 t end
48993 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
48994 :end' >>confcache
48995 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
48996 if test -w "$cache_file"; then
48997 test "x$cache_file" != "x/dev/null" &&
48998 { echo "$as_me:$LINENO: updating cache $cache_file" >&5
48999 echo "$as_me: updating cache $cache_file" >&6;}
49000 cat confcache >$cache_file
49001 else
49002 { echo "$as_me:$LINENO: not updating unwritable cache $cache_file" >&5
49003 echo "$as_me: not updating unwritable cache $cache_file" >&6;}
49004 fi
49005 fi
49006 rm -f confcache
49007
49008 test "x$prefix" = xNONE && prefix=$ac_default_prefix
49009 # Let make expand exec_prefix.
49010 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
49011
49012 DEFS=-DHAVE_CONFIG_H
49013
49014 ac_libobjs=
49015 ac_ltlibobjs=
49016 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
49017 # 1. Remove the extension, and $U if already installed.
49018 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
49019 ac_i=`echo "$ac_i" | sed "$ac_script"`
49020 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
49021 # will be set to the directory where LIBOBJS objects are built.
49022 ac_libobjs="$ac_libobjs \${LIBOBJDIR}$ac_i\$U.$ac_objext"
49023 ac_ltlibobjs="$ac_ltlibobjs \${LIBOBJDIR}$ac_i"'$U.lo'
49024 done
49025 LIBOBJS=$ac_libobjs
49026
49027 LTLIBOBJS=$ac_ltlibobjs
49028
49029
49030
49031 : ${CONFIG_STATUS=./config.status}
49032 ac_clean_files_save=$ac_clean_files
49033 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
49034 { echo "$as_me:$LINENO: creating $CONFIG_STATUS" >&5
49035 echo "$as_me: creating $CONFIG_STATUS" >&6;}
49036 cat >$CONFIG_STATUS <<_ACEOF
49037 #! $SHELL
49038 # Generated by $as_me.
49039 # Run this file to recreate the current configuration.
49040 # Compiler output produced by configure, useful for debugging
49041 # configure, is in config.log if it exists.
49042
49043 debug=false
49044 ac_cs_recheck=false
49045 ac_cs_silent=false
49046 SHELL=\${CONFIG_SHELL-$SHELL}
49047 _ACEOF
49048
49049 cat >>$CONFIG_STATUS <<\_ACEOF
49050 ## --------------------- ##
49051 ## M4sh Initialization. ##
49052 ## --------------------- ##
49053
49054 # Be more Bourne compatible
49055 DUALCASE=1; export DUALCASE # for MKS sh
49056 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then
49057 emulate sh
49058 NULLCMD=:
49059 # Zsh 3.x and 4.x performs word splitting on ${1+"$@"}, which
49060 # is contrary to our usage. Disable this feature.
49061 alias -g '${1+"$@"}'='"$@"'
49062 setopt NO_GLOB_SUBST
49063 else
49064 case `(set -o) 2>/dev/null` in
49065 *posix*) set -o posix ;;
49066 esac
49067
49068 fi
49069
49070
49071
49072
49073 # PATH needs CR
49074 # Avoid depending upon Character Ranges.
49075 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
49076 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
49077 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
49078 as_cr_digits='0123456789'
49079 as_cr_alnum=$as_cr_Letters$as_cr_digits
49080
49081 # The user is always right.
49082 if test "${PATH_SEPARATOR+set}" != set; then
49083 echo "#! /bin/sh" >conf$$.sh
49084 echo "exit 0" >>conf$$.sh
49085 chmod +x conf$$.sh
49086 if (PATH="/nonexistent;."; conf$$.sh) >/dev/null 2>&1; then
49087 PATH_SEPARATOR=';'
49088 else
49089 PATH_SEPARATOR=:
49090 fi
49091 rm -f conf$$.sh
49092 fi
49093
49094 # Support unset when possible.
49095 if ( (MAIL=60; unset MAIL) || exit) >/dev/null 2>&1; then
49096 as_unset=unset
49097 else
49098 as_unset=false
49099 fi
49100
49101
49102 # IFS
49103 # We need space, tab and new line, in precisely that order. Quoting is
49104 # there to prevent editors from complaining about space-tab.
49105 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
49106 # splitting by setting IFS to empty value.)
49107 as_nl='
49108 '
49109 IFS=" "" $as_nl"
49110
49111 # Find who we are. Look in the path if we contain no directory separator.
49112 case $0 in
49113 *[\\/]* ) as_myself=$0 ;;
49114 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
49115 for as_dir in $PATH
49116 do
49117 IFS=$as_save_IFS
49118 test -z "$as_dir" && as_dir=.
49119 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
49120 done
49121 IFS=$as_save_IFS
49122
49123 ;;
49124 esac
49125 # We did not find ourselves, most probably we were run as `sh COMMAND'
49126 # in which case we are not to be found in the path.
49127 if test "x$as_myself" = x; then
49128 as_myself=$0
49129 fi
49130 if test ! -f "$as_myself"; then
49131 echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
49132 { (exit 1); exit 1; }
49133 fi
49134
49135 # Work around bugs in pre-3.0 UWIN ksh.
49136 for as_var in ENV MAIL MAILPATH
49137 do ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49138 done
49139 PS1='$ '
49140 PS2='> '
49141 PS4='+ '
49142
49143 # NLS nuisances.
49144 for as_var in \
49145 LANG LANGUAGE LC_ADDRESS LC_ALL LC_COLLATE LC_CTYPE LC_IDENTIFICATION \
49146 LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC LC_PAPER \
49147 LC_TELEPHONE LC_TIME
49148 do
49149 if (set +x; test -z "`(eval $as_var=C; export $as_var) 2>&1`"); then
49150 eval $as_var=C; export $as_var
49151 else
49152 ($as_unset $as_var) >/dev/null 2>&1 && $as_unset $as_var
49153 fi
49154 done
49155
49156 # Required to use basename.
49157 if expr a : '\(a\)' >/dev/null 2>&1 &&
49158 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49159 as_expr=expr
49160 else
49161 as_expr=false
49162 fi
49163
49164 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
49165 as_basename=basename
49166 else
49167 as_basename=false
49168 fi
49169
49170
49171 # Name of the executable.
49172 as_me=`$as_basename -- "$0" ||
49173 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
49174 X"$0" : 'X\(//\)$' \| \
49175 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
49176 echo X/"$0" |
49177 sed '/^.*\/\([^/][^/]*\)\/*$/{
49178 s//\1/
49179 q
49180 }
49181 /^X\/\(\/\/\)$/{
49182 s//\1/
49183 q
49184 }
49185 /^X\/\(\/\).*/{
49186 s//\1/
49187 q
49188 }
49189 s/.*/./; q'`
49190
49191 # CDPATH.
49192 $as_unset CDPATH
49193
49194
49195
49196 as_lineno_1=$LINENO
49197 as_lineno_2=$LINENO
49198 test "x$as_lineno_1" != "x$as_lineno_2" &&
49199 test "x`expr $as_lineno_1 + 1`" = "x$as_lineno_2" || {
49200
49201 # Create $as_me.lineno as a copy of $as_myself, but with $LINENO
49202 # uniformly replaced by the line number. The first 'sed' inserts a
49203 # line-number line after each line using $LINENO; the second 'sed'
49204 # does the real work. The second script uses 'N' to pair each
49205 # line-number line with the line containing $LINENO, and appends
49206 # trailing '-' during substitution so that $LINENO is not a special
49207 # case at line end.
49208 # (Raja R Harinath suggested sed '=', and Paul Eggert wrote the
49209 # scripts with optimization help from Paolo Bonzini. Blame Lee
49210 # E. McMahon (1931-1989) for sed's syntax. :-)
49211 sed -n '
49212 p
49213 /[$]LINENO/=
49214 ' <$as_myself |
49215 sed '
49216 s/[$]LINENO.*/&-/
49217 t lineno
49218 b
49219 :lineno
49220 N
49221 :loop
49222 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
49223 t loop
49224 s/-\n.*//
49225 ' >$as_me.lineno &&
49226 chmod +x "$as_me.lineno" ||
49227 { echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2
49228 { (exit 1); exit 1; }; }
49229
49230 # Don't try to exec as it changes $[0], causing all sort of problems
49231 # (the dirname of $[0] is not the place where we might find the
49232 # original and so on. Autoconf is especially sensitive to this).
49233 . "./$as_me.lineno"
49234 # Exit status is that of the last command.
49235 exit
49236 }
49237
49238
49239 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
49240 as_dirname=dirname
49241 else
49242 as_dirname=false
49243 fi
49244
49245 ECHO_C= ECHO_N= ECHO_T=
49246 case `echo -n x` in
49247 -n*)
49248 case `echo 'x\c'` in
49249 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
49250 *) ECHO_C='\c';;
49251 esac;;
49252 *)
49253 ECHO_N='-n';;
49254 esac
49255
49256 if expr a : '\(a\)' >/dev/null 2>&1 &&
49257 test "X`expr 00001 : '.*\(...\)'`" = X001; then
49258 as_expr=expr
49259 else
49260 as_expr=false
49261 fi
49262
49263 rm -f conf$$ conf$$.exe conf$$.file
49264 if test -d conf$$.dir; then
49265 rm -f conf$$.dir/conf$$.file
49266 else
49267 rm -f conf$$.dir
49268 mkdir conf$$.dir
49269 fi
49270 echo >conf$$.file
49271 if ln -s conf$$.file conf$$ 2>/dev/null; then
49272 as_ln_s='ln -s'
49273 # ... but there are two gotchas:
49274 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
49275 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
49276 # In both cases, we have to default to `cp -p'.
49277 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
49278 as_ln_s='cp -p'
49279 elif ln conf$$.file conf$$ 2>/dev/null; then
49280 as_ln_s=ln
49281 else
49282 as_ln_s='cp -p'
49283 fi
49284 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
49285 rmdir conf$$.dir 2>/dev/null
49286
49287 if mkdir -p . 2>/dev/null; then
49288 as_mkdir_p=:
49289 else
49290 test -d ./-p && rmdir ./-p
49291 as_mkdir_p=false
49292 fi
49293
49294 if test -x / >/dev/null 2>&1; then
49295 as_test_x='test -x'
49296 else
49297 if ls -dL / >/dev/null 2>&1; then
49298 as_ls_L_option=L
49299 else
49300 as_ls_L_option=
49301 fi
49302 as_test_x='
49303 eval sh -c '\''
49304 if test -d "$1"; then
49305 test -d "$1/.";
49306 else
49307 case $1 in
49308 -*)set "./$1";;
49309 esac;
49310 case `ls -ld'$as_ls_L_option' "$1" 2>/dev/null` in
49311 ???[sx]*):;;*)false;;esac;fi
49312 '\'' sh
49313 '
49314 fi
49315 as_executable_p=$as_test_x
49316
49317 # Sed expression to map a string onto a valid CPP name.
49318 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
49319
49320 # Sed expression to map a string onto a valid variable name.
49321 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
49322
49323
49324 exec 6>&1
49325
49326 # Save the log message, to keep $[0] and so on meaningful, and to
49327 # report actual input values of CONFIG_FILES etc. instead of their
49328 # values after options handling.
49329 ac_log="
49330 This file was extended by wxWidgets $as_me 2.9.0, which was
49331 generated by GNU Autoconf 2.61. Invocation command line was
49332
49333 CONFIG_FILES = $CONFIG_FILES
49334 CONFIG_HEADERS = $CONFIG_HEADERS
49335 CONFIG_LINKS = $CONFIG_LINKS
49336 CONFIG_COMMANDS = $CONFIG_COMMANDS
49337 $ $0 $@
49338
49339 on `(hostname || uname -n) 2>/dev/null | sed 1q`
49340 "
49341
49342 _ACEOF
49343
49344 cat >>$CONFIG_STATUS <<_ACEOF
49345 # Files that config.status was made for.
49346 config_files="$ac_config_files"
49347 config_headers="$ac_config_headers"
49348 config_commands="$ac_config_commands"
49349
49350 _ACEOF
49351
49352 cat >>$CONFIG_STATUS <<\_ACEOF
49353 ac_cs_usage="\
49354 \`$as_me' instantiates files from templates according to the
49355 current configuration.
49356
49357 Usage: $0 [OPTIONS] [FILE]...
49358
49359 -h, --help print this help, then exit
49360 -V, --version print version number and configuration settings, then exit
49361 -q, --quiet do not print progress messages
49362 -d, --debug don't remove temporary files
49363 --recheck update $as_me by reconfiguring in the same conditions
49364 --file=FILE[:TEMPLATE]
49365 instantiate the configuration file FILE
49366 --header=FILE[:TEMPLATE]
49367 instantiate the configuration header FILE
49368
49369 Configuration files:
49370 $config_files
49371
49372 Configuration headers:
49373 $config_headers
49374
49375 Configuration commands:
49376 $config_commands
49377
49378 Report bugs to <bug-autoconf@gnu.org>."
49379
49380 _ACEOF
49381 cat >>$CONFIG_STATUS <<_ACEOF
49382 ac_cs_version="\\
49383 wxWidgets config.status 2.9.0
49384 configured by $0, generated by GNU Autoconf 2.61,
49385 with options \\"`echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`\\"
49386
49387 Copyright (C) 2006 Free Software Foundation, Inc.
49388 This config.status script is free software; the Free Software Foundation
49389 gives unlimited permission to copy, distribute and modify it."
49390
49391 ac_pwd='$ac_pwd'
49392 srcdir='$srcdir'
49393 INSTALL='$INSTALL'
49394 _ACEOF
49395
49396 cat >>$CONFIG_STATUS <<\_ACEOF
49397 # If no file are specified by the user, then we need to provide default
49398 # value. By we need to know if files were specified by the user.
49399 ac_need_defaults=:
49400 while test $# != 0
49401 do
49402 case $1 in
49403 --*=*)
49404 ac_option=`expr "X$1" : 'X\([^=]*\)='`
49405 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
49406 ac_shift=:
49407 ;;
49408 *)
49409 ac_option=$1
49410 ac_optarg=$2
49411 ac_shift=shift
49412 ;;
49413 esac
49414
49415 case $ac_option in
49416 # Handling of the options.
49417 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
49418 ac_cs_recheck=: ;;
49419 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
49420 echo "$ac_cs_version"; exit ;;
49421 --debug | --debu | --deb | --de | --d | -d )
49422 debug=: ;;
49423 --file | --fil | --fi | --f )
49424 $ac_shift
49425 CONFIG_FILES="$CONFIG_FILES $ac_optarg"
49426 ac_need_defaults=false;;
49427 --header | --heade | --head | --hea )
49428 $ac_shift
49429 CONFIG_HEADERS="$CONFIG_HEADERS $ac_optarg"
49430 ac_need_defaults=false;;
49431 --he | --h)
49432 # Conflict between --help and --header
49433 { echo "$as_me: error: ambiguous option: $1
49434 Try \`$0 --help' for more information." >&2
49435 { (exit 1); exit 1; }; };;
49436 --help | --hel | -h )
49437 echo "$ac_cs_usage"; exit ;;
49438 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
49439 | -silent | --silent | --silen | --sile | --sil | --si | --s)
49440 ac_cs_silent=: ;;
49441
49442 # This is an error.
49443 -*) { echo "$as_me: error: unrecognized option: $1
49444 Try \`$0 --help' for more information." >&2
49445 { (exit 1); exit 1; }; } ;;
49446
49447 *) ac_config_targets="$ac_config_targets $1"
49448 ac_need_defaults=false ;;
49449
49450 esac
49451 shift
49452 done
49453
49454 ac_configure_extra_args=
49455
49456 if $ac_cs_silent; then
49457 exec 6>/dev/null
49458 ac_configure_extra_args="$ac_configure_extra_args --silent"
49459 fi
49460
49461 _ACEOF
49462 cat >>$CONFIG_STATUS <<_ACEOF
49463 if \$ac_cs_recheck; then
49464 echo "running CONFIG_SHELL=$SHELL $SHELL $0 "$ac_configure_args \$ac_configure_extra_args " --no-create --no-recursion" >&6
49465 CONFIG_SHELL=$SHELL
49466 export CONFIG_SHELL
49467 exec $SHELL "$0"$ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
49468 fi
49469
49470 _ACEOF
49471 cat >>$CONFIG_STATUS <<\_ACEOF
49472 exec 5>>config.log
49473 {
49474 echo
49475 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
49476 ## Running $as_me. ##
49477 _ASBOX
49478 echo "$ac_log"
49479 } >&5
49480
49481 _ACEOF
49482 cat >>$CONFIG_STATUS <<_ACEOF
49483 #
49484 # INIT-COMMANDS
49485 #
49486
49487 CPP="$CPP"
49488 infile="$srcdir/include/wx/msw/genrcdefs.h"
49489 outdir="lib/wx/include/$TOOLCHAIN_FULLNAME/wx/msw"
49490
49491
49492 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49493 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49494 TOOLCHAIN_FULLNAME="${TOOLCHAIN_FULLNAME}"
49495 LN_S="${LN_S}"
49496
49497
49498 _ACEOF
49499
49500 cat >>$CONFIG_STATUS <<\_ACEOF
49501
49502 # Handling of arguments.
49503 for ac_config_target in $ac_config_targets
49504 do
49505 case $ac_config_target in
49506 "lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h") CONFIG_HEADERS="$CONFIG_HEADERS lib/wx/include/${TOOLCHAIN_FULLNAME}/wx/setup.h:setup.h.in" ;;
49507 "rcdefs.h") CONFIG_COMMANDS="$CONFIG_COMMANDS rcdefs.h" ;;
49508 "lib/wx/config/${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/${TOOLCHAIN_FULLNAME}:wx-config.in" ;;
49509 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}") CONFIG_FILES="$CONFIG_FILES lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}:wx-config-inplace.in" ;;
49510 "version-script") CONFIG_FILES="$CONFIG_FILES version-script" ;;
49511 "Makefile") CONFIG_FILES="$CONFIG_FILES Makefile" ;;
49512 "wx-config") CONFIG_COMMANDS="$CONFIG_COMMANDS wx-config" ;;
49513 "$mk") CONFIG_FILES="$CONFIG_FILES $mk" ;;
49514
49515 *) { { echo "$as_me:$LINENO: error: invalid argument: $ac_config_target" >&5
49516 echo "$as_me: error: invalid argument: $ac_config_target" >&2;}
49517 { (exit 1); exit 1; }; };;
49518 esac
49519 done
49520
49521
49522 # If the user did not use the arguments to specify the items to instantiate,
49523 # then the envvar interface is used. Set only those that are not.
49524 # We use the long form for the default assignment because of an extremely
49525 # bizarre bug on SunOS 4.1.3.
49526 if $ac_need_defaults; then
49527 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
49528 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
49529 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
49530 fi
49531
49532 # Have a temporary directory for convenience. Make it in the build tree
49533 # simply because there is no reason against having it here, and in addition,
49534 # creating and moving files from /tmp can sometimes cause problems.
49535 # Hook for its removal unless debugging.
49536 # Note that there is a small window in which the directory will not be cleaned:
49537 # after its creation but before its name has been assigned to `$tmp'.
49538 $debug ||
49539 {
49540 tmp=
49541 trap 'exit_status=$?
49542 { test -z "$tmp" || test ! -d "$tmp" || rm -fr "$tmp"; } && exit $exit_status
49543 ' 0
49544 trap '{ (exit 1); exit 1; }' 1 2 13 15
49545 }
49546 # Create a (secure) tmp directory for tmp files.
49547
49548 {
49549 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
49550 test -n "$tmp" && test -d "$tmp"
49551 } ||
49552 {
49553 tmp=./conf$$-$RANDOM
49554 (umask 077 && mkdir "$tmp")
49555 } ||
49556 {
49557 echo "$me: cannot create a temporary directory in ." >&2
49558 { (exit 1); exit 1; }
49559 }
49560
49561 #
49562 # Set up the sed scripts for CONFIG_FILES section.
49563 #
49564
49565 # No need to generate the scripts if there are no CONFIG_FILES.
49566 # This happens for instance when ./config.status config.h
49567 if test -n "$CONFIG_FILES"; then
49568
49569 _ACEOF
49570
49571
49572
49573 ac_delim='%!_!# '
49574 for ac_last_try in false false false false false :; do
49575 cat >conf$$subs.sed <<_ACEOF
49576 SHELL!$SHELL$ac_delim
49577 PATH_SEPARATOR!$PATH_SEPARATOR$ac_delim
49578 PACKAGE_NAME!$PACKAGE_NAME$ac_delim
49579 PACKAGE_TARNAME!$PACKAGE_TARNAME$ac_delim
49580 PACKAGE_VERSION!$PACKAGE_VERSION$ac_delim
49581 PACKAGE_STRING!$PACKAGE_STRING$ac_delim
49582 PACKAGE_BUGREPORT!$PACKAGE_BUGREPORT$ac_delim
49583 exec_prefix!$exec_prefix$ac_delim
49584 prefix!$prefix$ac_delim
49585 program_transform_name!$program_transform_name$ac_delim
49586 bindir!$bindir$ac_delim
49587 sbindir!$sbindir$ac_delim
49588 libexecdir!$libexecdir$ac_delim
49589 datarootdir!$datarootdir$ac_delim
49590 datadir!$datadir$ac_delim
49591 sysconfdir!$sysconfdir$ac_delim
49592 sharedstatedir!$sharedstatedir$ac_delim
49593 localstatedir!$localstatedir$ac_delim
49594 includedir!$includedir$ac_delim
49595 oldincludedir!$oldincludedir$ac_delim
49596 docdir!$docdir$ac_delim
49597 infodir!$infodir$ac_delim
49598 htmldir!$htmldir$ac_delim
49599 dvidir!$dvidir$ac_delim
49600 pdfdir!$pdfdir$ac_delim
49601 psdir!$psdir$ac_delim
49602 libdir!$libdir$ac_delim
49603 localedir!$localedir$ac_delim
49604 mandir!$mandir$ac_delim
49605 DEFS!$DEFS$ac_delim
49606 ECHO_C!$ECHO_C$ac_delim
49607 ECHO_N!$ECHO_N$ac_delim
49608 ECHO_T!$ECHO_T$ac_delim
49609 LIBS!$LIBS$ac_delim
49610 build_alias!$build_alias$ac_delim
49611 host_alias!$host_alias$ac_delim
49612 target_alias!$target_alias$ac_delim
49613 build!$build$ac_delim
49614 build_cpu!$build_cpu$ac_delim
49615 build_vendor!$build_vendor$ac_delim
49616 build_os!$build_os$ac_delim
49617 host!$host$ac_delim
49618 host_cpu!$host_cpu$ac_delim
49619 host_vendor!$host_vendor$ac_delim
49620 host_os!$host_os$ac_delim
49621 target!$target$ac_delim
49622 target_cpu!$target_cpu$ac_delim
49623 target_vendor!$target_vendor$ac_delim
49624 target_os!$target_os$ac_delim
49625 wx_top_builddir!$wx_top_builddir$ac_delim
49626 CC!$CC$ac_delim
49627 CFLAGS!$CFLAGS$ac_delim
49628 LDFLAGS!$LDFLAGS$ac_delim
49629 CPPFLAGS!$CPPFLAGS$ac_delim
49630 ac_ct_CC!$ac_ct_CC$ac_delim
49631 EXEEXT!$EXEEXT$ac_delim
49632 OBJEXT!$OBJEXT$ac_delim
49633 CPP!$CPP$ac_delim
49634 GREP!$GREP$ac_delim
49635 EGREP!$EGREP$ac_delim
49636 CXX!$CXX$ac_delim
49637 CXXFLAGS!$CXXFLAGS$ac_delim
49638 ac_ct_CXX!$ac_ct_CXX$ac_delim
49639 RANLIB!$RANLIB$ac_delim
49640 AR!$AR$ac_delim
49641 INSTALL_PROGRAM!$INSTALL_PROGRAM$ac_delim
49642 INSTALL_SCRIPT!$INSTALL_SCRIPT$ac_delim
49643 INSTALL_DATA!$INSTALL_DATA$ac_delim
49644 STRIP!$STRIP$ac_delim
49645 WINDRES!$WINDRES$ac_delim
49646 DLLTOOL!$DLLTOOL$ac_delim
49647 IF_GNU_MAKE!$IF_GNU_MAKE$ac_delim
49648 LN_S!$LN_S$ac_delim
49649 subdirs!$subdirs$ac_delim
49650 PKG_CONFIG!$PKG_CONFIG$ac_delim
49651 GTK_CFLAGS!$GTK_CFLAGS$ac_delim
49652 GTK_LIBS!$GTK_LIBS$ac_delim
49653 GTK_CONFIG!$GTK_CONFIG$ac_delim
49654 DIRECTFB_CFLAGS!$DIRECTFB_CFLAGS$ac_delim
49655 DIRECTFB_LIBS!$DIRECTFB_LIBS$ac_delim
49656 XMKMF!$XMKMF$ac_delim
49657 X_CFLAGS!$X_CFLAGS$ac_delim
49658 X_PRE_LIBS!$X_PRE_LIBS$ac_delim
49659 X_LIBS!$X_LIBS$ac_delim
49660 X_EXTRA_LIBS!$X_EXTRA_LIBS$ac_delim
49661 PANGOX_CFLAGS!$PANGOX_CFLAGS$ac_delim
49662 PANGOX_LIBS!$PANGOX_LIBS$ac_delim
49663 PANGOFT2_CFLAGS!$PANGOFT2_CFLAGS$ac_delim
49664 PANGOFT2_LIBS!$PANGOFT2_LIBS$ac_delim
49665 PANGOXFT_CFLAGS!$PANGOXFT_CFLAGS$ac_delim
49666 PANGOXFT_LIBS!$PANGOXFT_LIBS$ac_delim
49667 REZ!$REZ$ac_delim
49668 DEREZ!$DEREZ$ac_delim
49669 SETFILE!$SETFILE$ac_delim
49670 LIBICONV!$LIBICONV$ac_delim
49671 SDL_CONFIG!$SDL_CONFIG$ac_delim
49672 SDL_CFLAGS!$SDL_CFLAGS$ac_delim
49673 _ACEOF
49674
49675 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49676 break
49677 elif $ac_last_try; then
49678 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49679 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49680 { (exit 1); exit 1; }; }
49681 else
49682 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49683 fi
49684 done
49685
49686 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49687 if test -n "$ac_eof"; then
49688 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49689 ac_eof=`expr $ac_eof + 1`
49690 fi
49691
49692 cat >>$CONFIG_STATUS <<_ACEOF
49693 cat >"\$tmp/subs-1.sed" <<\CEOF$ac_eof
49694 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49695 _ACEOF
49696 sed '
49697 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49698 s/^/s,@/; s/!/@,|#_!!_#|/
49699 :n
49700 t n
49701 s/'"$ac_delim"'$/,g/; t
49702 s/$/\\/; p
49703 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49704 ' >>$CONFIG_STATUS <conf$$subs.sed
49705 rm -f conf$$subs.sed
49706 cat >>$CONFIG_STATUS <<_ACEOF
49707 CEOF$ac_eof
49708 _ACEOF
49709
49710
49711 ac_delim='%!_!# '
49712 for ac_last_try in false false false false false :; do
49713 cat >conf$$subs.sed <<_ACEOF
49714 SDL_LIBS!$SDL_LIBS$ac_delim
49715 LIBGNOMEPRINTUI_CFLAGS!$LIBGNOMEPRINTUI_CFLAGS$ac_delim
49716 LIBGNOMEPRINTUI_LIBS!$LIBGNOMEPRINTUI_LIBS$ac_delim
49717 GNOMEVFS_CFLAGS!$GNOMEVFS_CFLAGS$ac_delim
49718 GNOMEVFS_LIBS!$GNOMEVFS_LIBS$ac_delim
49719 HILDON_CFLAGS!$HILDON_CFLAGS$ac_delim
49720 HILDON_LIBS!$HILDON_LIBS$ac_delim
49721 CAIRO_CFLAGS!$CAIRO_CFLAGS$ac_delim
49722 CAIRO_LIBS!$CAIRO_LIBS$ac_delim
49723 GST_CFLAGS!$GST_CFLAGS$ac_delim
49724 GST_LIBS!$GST_LIBS$ac_delim
49725 CORE_BASE_LIBS!$CORE_BASE_LIBS$ac_delim
49726 CORE_GUI_LIBS!$CORE_GUI_LIBS$ac_delim
49727 wxUSE_ZLIB!$wxUSE_ZLIB$ac_delim
49728 wxUSE_REGEX!$wxUSE_REGEX$ac_delim
49729 wxUSE_EXPAT!$wxUSE_EXPAT$ac_delim
49730 wxUSE_ODBC!$wxUSE_ODBC$ac_delim
49731 wxUSE_LIBJPEG!$wxUSE_LIBJPEG$ac_delim
49732 wxUSE_LIBPNG!$wxUSE_LIBPNG$ac_delim
49733 wxUSE_LIBTIFF!$wxUSE_LIBTIFF$ac_delim
49734 VENDOR!$VENDOR$ac_delim
49735 OFFICIAL_BUILD!$OFFICIAL_BUILD$ac_delim
49736 WX_FLAVOUR!$WX_FLAVOUR$ac_delim
49737 WX_LIB_FLAVOUR!$WX_LIB_FLAVOUR$ac_delim
49738 WXUNIV!$WXUNIV$ac_delim
49739 MONOLITHIC!$MONOLITHIC$ac_delim
49740 USE_PLUGINS!$USE_PLUGINS$ac_delim
49741 EXTRALIBS!$EXTRALIBS$ac_delim
49742 EXTRALIBS_XML!$EXTRALIBS_XML$ac_delim
49743 EXTRALIBS_HTML!$EXTRALIBS_HTML$ac_delim
49744 EXTRALIBS_ODBC!$EXTRALIBS_ODBC$ac_delim
49745 EXTRALIBS_GUI!$EXTRALIBS_GUI$ac_delim
49746 EXTRALIBS_OPENGL!$EXTRALIBS_OPENGL$ac_delim
49747 EXTRALIBS_SDL!$EXTRALIBS_SDL$ac_delim
49748 WITH_PLUGIN_SDL!$WITH_PLUGIN_SDL$ac_delim
49749 EXTRALIBS_GNOMEPRINT!$EXTRALIBS_GNOMEPRINT$ac_delim
49750 EXTRALIBS_GNOMEVFS!$EXTRALIBS_GNOMEVFS$ac_delim
49751 EXTRALIBS_HILDON!$EXTRALIBS_HILDON$ac_delim
49752 UNICODE!$UNICODE$ac_delim
49753 BUILD!$BUILD$ac_delim
49754 DEBUG_INFO!$DEBUG_INFO$ac_delim
49755 DEBUG_FLAG!$DEBUG_FLAG$ac_delim
49756 TOOLKIT_LOWERCASE!$TOOLKIT_LOWERCASE$ac_delim
49757 TOOLKIT_VERSION!$TOOLKIT_VERSION$ac_delim
49758 SAMPLES_RPATH_FLAG!$SAMPLES_RPATH_FLAG$ac_delim
49759 SAMPLES_RPATH_POSTLINK!$SAMPLES_RPATH_POSTLINK$ac_delim
49760 HOST_SUFFIX!$HOST_SUFFIX$ac_delim
49761 CPPUNIT_CFLAGS!$CPPUNIT_CFLAGS$ac_delim
49762 CPPUNIT_LIBS!$CPPUNIT_LIBS$ac_delim
49763 SET_MAKE!$SET_MAKE$ac_delim
49764 MAKE_SET!$MAKE_SET$ac_delim
49765 AROPTIONS!$AROPTIONS$ac_delim
49766 NM!$NM$ac_delim
49767 INSTALL_DIR!$INSTALL_DIR$ac_delim
49768 LDFLAGS_GUI!$LDFLAGS_GUI$ac_delim
49769 PLATFORM_UNIX!$PLATFORM_UNIX$ac_delim
49770 PLATFORM_WIN32!$PLATFORM_WIN32$ac_delim
49771 PLATFORM_MSDOS!$PLATFORM_MSDOS$ac_delim
49772 PLATFORM_MAC!$PLATFORM_MAC$ac_delim
49773 PLATFORM_MACOS!$PLATFORM_MACOS$ac_delim
49774 PLATFORM_MACOSX!$PLATFORM_MACOSX$ac_delim
49775 PLATFORM_OS2!$PLATFORM_OS2$ac_delim
49776 PLATFORM_BEOS!$PLATFORM_BEOS$ac_delim
49777 SO_SUFFIX!$SO_SUFFIX$ac_delim
49778 SO_SUFFIX_MODULE!$SO_SUFFIX_MODULE$ac_delim
49779 DLLIMP_SUFFIX!$DLLIMP_SUFFIX$ac_delim
49780 LIBPREFIX!$LIBPREFIX$ac_delim
49781 LIBEXT!$LIBEXT$ac_delim
49782 DLLPREFIX!$DLLPREFIX$ac_delim
49783 DLLPREFIX_MODULE!$DLLPREFIX_MODULE$ac_delim
49784 dlldir!$dlldir$ac_delim
49785 AIX_CXX_LD!$AIX_CXX_LD$ac_delim
49786 SHARED_LD_CC!$SHARED_LD_CC$ac_delim
49787 SHARED_LD_CXX!$SHARED_LD_CXX$ac_delim
49788 SHARED_LD_MODULE_CC!$SHARED_LD_MODULE_CC$ac_delim
49789 SHARED_LD_MODULE_CXX!$SHARED_LD_MODULE_CXX$ac_delim
49790 PIC_FLAG!$PIC_FLAG$ac_delim
49791 WINDOWS_IMPLIB!$WINDOWS_IMPLIB$ac_delim
49792 USE_SOVERSION!$USE_SOVERSION$ac_delim
49793 USE_SOVERLINUX!$USE_SOVERLINUX$ac_delim
49794 USE_SOVERSOLARIS!$USE_SOVERSOLARIS$ac_delim
49795 USE_SOVERCYGWIN!$USE_SOVERCYGWIN$ac_delim
49796 USE_MACVERSION!$USE_MACVERSION$ac_delim
49797 USE_SOSYMLINKS!$USE_SOSYMLINKS$ac_delim
49798 SONAME_FLAG!$SONAME_FLAG$ac_delim
49799 DEPS_TRACKING!$DEPS_TRACKING$ac_delim
49800 BK_DEPS!$BK_DEPS$ac_delim
49801 GCC_PCH!$GCC_PCH$ac_delim
49802 ICC_PCH!$ICC_PCH$ac_delim
49803 BK_MAKE_PCH!$BK_MAKE_PCH$ac_delim
49804 COND_BUILD_DEBUG!$COND_BUILD_DEBUG$ac_delim
49805 COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT!$COND_BUILD_DEBUG_DEBUG_FLAG_DEFAULT$ac_delim
49806 COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT!$COND_BUILD_DEBUG_DEBUG_INFO_DEFAULT$ac_delim
49807 COND_BUILD_DEBUG_UNICODE_0!$COND_BUILD_DEBUG_UNICODE_0$ac_delim
49808 COND_BUILD_DEBUG_UNICODE_1!$COND_BUILD_DEBUG_UNICODE_1$ac_delim
49809 COND_BUILD_RELEASE!$COND_BUILD_RELEASE$ac_delim
49810 COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT!$COND_BUILD_RELEASE_DEBUG_INFO_DEFAULT$ac_delim
49811 _ACEOF
49812
49813 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49814 break
49815 elif $ac_last_try; then
49816 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49817 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49818 { (exit 1); exit 1; }; }
49819 else
49820 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49821 fi
49822 done
49823
49824 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49825 if test -n "$ac_eof"; then
49826 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49827 ac_eof=`expr $ac_eof + 1`
49828 fi
49829
49830 cat >>$CONFIG_STATUS <<_ACEOF
49831 cat >"\$tmp/subs-2.sed" <<\CEOF$ac_eof
49832 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49833 _ACEOF
49834 sed '
49835 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49836 s/^/s,@/; s/!/@,|#_!!_#|/
49837 :n
49838 t n
49839 s/'"$ac_delim"'$/,g/; t
49840 s/$/\\/; p
49841 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49842 ' >>$CONFIG_STATUS <conf$$subs.sed
49843 rm -f conf$$subs.sed
49844 cat >>$CONFIG_STATUS <<_ACEOF
49845 CEOF$ac_eof
49846 _ACEOF
49847
49848
49849 ac_delim='%!_!# '
49850 for ac_last_try in false false false false false :; do
49851 cat >conf$$subs.sed <<_ACEOF
49852 COND_BUILD_RELEASE_UNICODE_0!$COND_BUILD_RELEASE_UNICODE_0$ac_delim
49853 COND_BUILD_RELEASE_UNICODE_1!$COND_BUILD_RELEASE_UNICODE_1$ac_delim
49854 COND_DEBUG_FLAG_1!$COND_DEBUG_FLAG_1$ac_delim
49855 COND_DEBUG_INFO_0!$COND_DEBUG_INFO_0$ac_delim
49856 COND_DEBUG_INFO_1!$COND_DEBUG_INFO_1$ac_delim
49857 COND_DEPS_TRACKING_0!$COND_DEPS_TRACKING_0$ac_delim
49858 COND_DEPS_TRACKING_1!$COND_DEPS_TRACKING_1$ac_delim
49859 COND_GCC_PCH_1!$COND_GCC_PCH_1$ac_delim
49860 COND_ICC_PCH_1!$COND_ICC_PCH_1$ac_delim
49861 COND_MONOLITHIC_0!$COND_MONOLITHIC_0$ac_delim
49862 COND_MONOLITHIC_0_SHARED_0!$COND_MONOLITHIC_0_SHARED_0$ac_delim
49863 COND_MONOLITHIC_0_SHARED_0_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_AUI_1$ac_delim
49864 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1$ac_delim
49865 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_HTML_1$ac_delim
49866 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49867 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_ODBC_1$ac_delim
49868 COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_0_USE_GUI_1_USE_QA_1$ac_delim
49869 COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_0_USE_ODBC_1$ac_delim
49870 COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_0_USE_RICHTEXT_1$ac_delim
49871 COND_MONOLITHIC_0_SHARED_0_USE_STC_1!$COND_MONOLITHIC_0_SHARED_0_USE_STC_1$ac_delim
49872 COND_MONOLITHIC_0_SHARED_0_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_0_USE_XRC_1$ac_delim
49873 COND_MONOLITHIC_0_SHARED_1!$COND_MONOLITHIC_0_SHARED_1$ac_delim
49874 COND_MONOLITHIC_0_SHARED_1_USE_AUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_AUI_1$ac_delim
49875 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1$ac_delim
49876 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_HTML_1$ac_delim
49877 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_MEDIA_1$ac_delim
49878 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_ODBC_1$ac_delim
49879 COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1!$COND_MONOLITHIC_0_SHARED_1_USE_GUI_1_USE_QA_1$ac_delim
49880 COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1!$COND_MONOLITHIC_0_SHARED_1_USE_ODBC_1$ac_delim
49881 COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1!$COND_MONOLITHIC_0_SHARED_1_USE_RICHTEXT_1$ac_delim
49882 COND_MONOLITHIC_0_SHARED_1_USE_STC_1!$COND_MONOLITHIC_0_SHARED_1_USE_STC_1$ac_delim
49883 COND_MONOLITHIC_0_SHARED_1_USE_XRC_1!$COND_MONOLITHIC_0_SHARED_1_USE_XRC_1$ac_delim
49884 COND_MONOLITHIC_0_USE_AUI_1!$COND_MONOLITHIC_0_USE_AUI_1$ac_delim
49885 COND_MONOLITHIC_0_USE_GUI_1!$COND_MONOLITHIC_0_USE_GUI_1$ac_delim
49886 COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_MEDIA_1$ac_delim
49887 COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1!$COND_MONOLITHIC_0_USE_GUI_1_USE_ODBC_1$ac_delim
49888 COND_MONOLITHIC_0_USE_HTML_1!$COND_MONOLITHIC_0_USE_HTML_1$ac_delim
49889 COND_MONOLITHIC_0_USE_MEDIA_1!$COND_MONOLITHIC_0_USE_MEDIA_1$ac_delim
49890 COND_MONOLITHIC_0_USE_ODBC_1!$COND_MONOLITHIC_0_USE_ODBC_1$ac_delim
49891 COND_MONOLITHIC_0_USE_QA_1!$COND_MONOLITHIC_0_USE_QA_1$ac_delim
49892 COND_MONOLITHIC_0_USE_RICHTEXT_1!$COND_MONOLITHIC_0_USE_RICHTEXT_1$ac_delim
49893 COND_MONOLITHIC_0_USE_STC_1!$COND_MONOLITHIC_0_USE_STC_1$ac_delim
49894 COND_MONOLITHIC_0_USE_XRC_1!$COND_MONOLITHIC_0_USE_XRC_1$ac_delim
49895 COND_MONOLITHIC_1!$COND_MONOLITHIC_1$ac_delim
49896 COND_MONOLITHIC_1_SHARED_0!$COND_MONOLITHIC_1_SHARED_0$ac_delim
49897 COND_MONOLITHIC_1_SHARED_1!$COND_MONOLITHIC_1_SHARED_1$ac_delim
49898 COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_0_PLATFORM_WIN32_1$ac_delim
49899 COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1!$COND_OFFICIAL_BUILD_1_PLATFORM_WIN32_1$ac_delim
49900 COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERCYGWIN_0_USE_SOVERSION_1$ac_delim
49901 COND_PLATFORM_MACOSX_0_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_0_USE_SOVERSION_1$ac_delim
49902 COND_PLATFORM_MACOSX_1!$COND_PLATFORM_MACOSX_1$ac_delim
49903 COND_PLATFORM_MACOSX_1_TOOLKIT_!$COND_PLATFORM_MACOSX_1_TOOLKIT_$ac_delim
49904 COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA!$COND_PLATFORM_MACOSX_1_TOOLKIT_COCOA$ac_delim
49905 COND_PLATFORM_MACOSX_1_TOOLKIT_GTK!$COND_PLATFORM_MACOSX_1_TOOLKIT_GTK$ac_delim
49906 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC$ac_delim
49907 COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1!$COND_PLATFORM_MACOSX_1_TOOLKIT_MAC_USE_GUI_1$ac_delim
49908 COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF!$COND_PLATFORM_MACOSX_1_TOOLKIT_MOTIF$ac_delim
49909 COND_PLATFORM_MACOSX_1_TOOLKIT_X11!$COND_PLATFORM_MACOSX_1_TOOLKIT_X11$ac_delim
49910 COND_PLATFORM_MACOSX_1_USE_GUI_1!$COND_PLATFORM_MACOSX_1_USE_GUI_1$ac_delim
49911 COND_PLATFORM_MACOSX_1_USE_SOVERSION_1!$COND_PLATFORM_MACOSX_1_USE_SOVERSION_1$ac_delim
49912 COND_PLATFORM_MACOS_1!$COND_PLATFORM_MACOS_1$ac_delim
49913 COND_PLATFORM_MAC_1!$COND_PLATFORM_MAC_1$ac_delim
49914 COND_PLATFORM_MSDOS_0!$COND_PLATFORM_MSDOS_0$ac_delim
49915 COND_PLATFORM_MSDOS_1!$COND_PLATFORM_MSDOS_1$ac_delim
49916 COND_PLATFORM_OS2_1!$COND_PLATFORM_OS2_1$ac_delim
49917 COND_PLATFORM_UNIX_0!$COND_PLATFORM_UNIX_0$ac_delim
49918 COND_PLATFORM_UNIX_1!$COND_PLATFORM_UNIX_1$ac_delim
49919 COND_PLATFORM_UNIX_1_TOOLKIT_MGL!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL$ac_delim
49920 COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1!$COND_PLATFORM_UNIX_1_TOOLKIT_MGL_USE_GUI_1$ac_delim
49921 COND_PLATFORM_UNIX_1_USE_GUI_1!$COND_PLATFORM_UNIX_1_USE_GUI_1$ac_delim
49922 COND_PLATFORM_UNIX_1_USE_PLUGINS_0!$COND_PLATFORM_UNIX_1_USE_PLUGINS_0$ac_delim
49923 COND_PLATFORM_WIN32_0!$COND_PLATFORM_WIN32_0$ac_delim
49924 COND_PLATFORM_WIN32_1!$COND_PLATFORM_WIN32_1$ac_delim
49925 COND_SHARED_0!$COND_SHARED_0$ac_delim
49926 COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MAC_WXUNIV_0$ac_delim
49927 COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0!$COND_SHARED_0_TOOLKIT_MSW_WXUNIV_0$ac_delim
49928 COND_SHARED_0_TOOLKIT_PM_WXUNIV_0!$COND_SHARED_0_TOOLKIT_PM_WXUNIV_0$ac_delim
49929 COND_SHARED_0_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_0_USE_GUI_1_USE_OPENGL_1$ac_delim
49930 COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
49931 COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
49932 COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_SHARED_0_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
49933 COND_SHARED_0_USE_STC_1!$COND_SHARED_0_USE_STC_1$ac_delim
49934 COND_SHARED_0_USE_XRC_1!$COND_SHARED_0_USE_XRC_1$ac_delim
49935 COND_SHARED_0_WXUSE_EXPAT_BUILTIN!$COND_SHARED_0_WXUSE_EXPAT_BUILTIN$ac_delim
49936 COND_SHARED_0_WXUSE_ODBC_BUILTIN!$COND_SHARED_0_WXUSE_ODBC_BUILTIN$ac_delim
49937 COND_SHARED_0_WXUSE_REGEX_BUILTIN!$COND_SHARED_0_WXUSE_REGEX_BUILTIN$ac_delim
49938 COND_SHARED_0_WXUSE_ZLIB_BUILTIN!$COND_SHARED_0_WXUSE_ZLIB_BUILTIN$ac_delim
49939 COND_SHARED_1!$COND_SHARED_1$ac_delim
49940 COND_SHARED_1_USE_GUI_1_USE_OPENGL_1!$COND_SHARED_1_USE_GUI_1_USE_OPENGL_1$ac_delim
49941 COND_SHARED_1_USE_XRC_1!$COND_SHARED_1_USE_XRC_1$ac_delim
49942 COND_TOOLKIT_!$COND_TOOLKIT_$ac_delim
49943 COND_TOOLKIT_COCOA!$COND_TOOLKIT_COCOA$ac_delim
49944 COND_TOOLKIT_COCOA_USE_GUI_1!$COND_TOOLKIT_COCOA_USE_GUI_1$ac_delim
49945 COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_COCOA_USE_GUI_1_WXUNIV_0$ac_delim
49946 COND_TOOLKIT_DFB!$COND_TOOLKIT_DFB$ac_delim
49947 COND_TOOLKIT_DFB_USE_GUI_1!$COND_TOOLKIT_DFB_USE_GUI_1$ac_delim
49948 COND_TOOLKIT_GTK!$COND_TOOLKIT_GTK$ac_delim
49949 _ACEOF
49950
49951 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
49952 break
49953 elif $ac_last_try; then
49954 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
49955 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
49956 { (exit 1); exit 1; }; }
49957 else
49958 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
49959 fi
49960 done
49961
49962 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
49963 if test -n "$ac_eof"; then
49964 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
49965 ac_eof=`expr $ac_eof + 1`
49966 fi
49967
49968 cat >>$CONFIG_STATUS <<_ACEOF
49969 cat >"\$tmp/subs-3.sed" <<\CEOF$ac_eof
49970 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
49971 _ACEOF
49972 sed '
49973 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
49974 s/^/s,@/; s/!/@,|#_!!_#|/
49975 :n
49976 t n
49977 s/'"$ac_delim"'$/,g/; t
49978 s/$/\\/; p
49979 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
49980 ' >>$CONFIG_STATUS <conf$$subs.sed
49981 rm -f conf$$subs.sed
49982 cat >>$CONFIG_STATUS <<_ACEOF
49983 CEOF$ac_eof
49984 _ACEOF
49985
49986
49987 ac_delim='%!_!# '
49988 for ac_last_try in false false false false false :; do
49989 cat >conf$$subs.sed <<_ACEOF
49990 COND_TOOLKIT_GTK_TOOLKIT_VERSION_!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_$ac_delim
49991 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2$ac_delim
49992 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1$ac_delim
49993 COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION_2_USE_GUI_1_WXUNIV_0$ac_delim
49994 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1$ac_delim
49995 COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_GTK_TOOLKIT_VERSION__USE_GUI_1_WXUNIV_0$ac_delim
49996 COND_TOOLKIT_GTK_USE_GUI_1!$COND_TOOLKIT_GTK_USE_GUI_1$ac_delim
49997 COND_TOOLKIT_MAC!$COND_TOOLKIT_MAC$ac_delim
49998 COND_TOOLKIT_MAC_USE_GUI_1!$COND_TOOLKIT_MAC_USE_GUI_1$ac_delim
49999 COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MAC_USE_GUI_1_WXUNIV_0$ac_delim
50000 COND_TOOLKIT_MGL!$COND_TOOLKIT_MGL$ac_delim
50001 COND_TOOLKIT_MGL_USE_GUI_1!$COND_TOOLKIT_MGL_USE_GUI_1$ac_delim
50002 COND_TOOLKIT_MOTIF!$COND_TOOLKIT_MOTIF$ac_delim
50003 COND_TOOLKIT_MOTIF_USE_GUI_1!$COND_TOOLKIT_MOTIF_USE_GUI_1$ac_delim
50004 COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MOTIF_USE_GUI_1_WXUNIV_0$ac_delim
50005 COND_TOOLKIT_MSW!$COND_TOOLKIT_MSW$ac_delim
50006 COND_TOOLKIT_MSW_USE_GUI_1!$COND_TOOLKIT_MSW_USE_GUI_1$ac_delim
50007 COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_MSW_USE_GUI_1_WXUNIV_0$ac_delim
50008 COND_TOOLKIT_MSW_WXUNIV_0!$COND_TOOLKIT_MSW_WXUNIV_0$ac_delim
50009 COND_TOOLKIT_PM!$COND_TOOLKIT_PM$ac_delim
50010 COND_TOOLKIT_PM_USE_GUI_1!$COND_TOOLKIT_PM_USE_GUI_1$ac_delim
50011 COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_PM_USE_GUI_1_WXUNIV_0$ac_delim
50012 COND_TOOLKIT_WINCE!$COND_TOOLKIT_WINCE$ac_delim
50013 COND_TOOLKIT_WINCE_USE_GUI_1!$COND_TOOLKIT_WINCE_USE_GUI_1$ac_delim
50014 COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0!$COND_TOOLKIT_WINCE_USE_GUI_1_WXUNIV_0$ac_delim
50015 COND_TOOLKIT_WINCE_WXUNIV_0!$COND_TOOLKIT_WINCE_WXUNIV_0$ac_delim
50016 COND_TOOLKIT_X11!$COND_TOOLKIT_X11$ac_delim
50017 COND_TOOLKIT_X11_USE_GUI_1!$COND_TOOLKIT_X11_USE_GUI_1$ac_delim
50018 COND_UNICODE_1!$COND_UNICODE_1$ac_delim
50019 COND_USE_EXCEPTIONS_0!$COND_USE_EXCEPTIONS_0$ac_delim
50020 COND_USE_EXCEPTIONS_1!$COND_USE_EXCEPTIONS_1$ac_delim
50021 COND_USE_GUI_0!$COND_USE_GUI_0$ac_delim
50022 COND_USE_GUI_1!$COND_USE_GUI_1$ac_delim
50023 COND_USE_GUI_1_USE_OPENGL_1!$COND_USE_GUI_1_USE_OPENGL_1$ac_delim
50024 COND_USE_GUI_1_WXUNIV_0!$COND_USE_GUI_1_WXUNIV_0$ac_delim
50025 COND_USE_GUI_1_WXUNIV_1!$COND_USE_GUI_1_WXUNIV_1$ac_delim
50026 COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBJPEG_BUILTIN$ac_delim
50027 COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBPNG_BUILTIN$ac_delim
50028 COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN!$COND_USE_GUI_1_WXUSE_LIBTIFF_BUILTIN$ac_delim
50029 COND_USE_ODBC_1!$COND_USE_ODBC_1$ac_delim
50030 COND_USE_OPENGL_1!$COND_USE_OPENGL_1$ac_delim
50031 COND_USE_PCH_1!$COND_USE_PCH_1$ac_delim
50032 COND_USE_PLUGINS_0!$COND_USE_PLUGINS_0$ac_delim
50033 COND_USE_RTTI_0!$COND_USE_RTTI_0$ac_delim
50034 COND_USE_RTTI_1!$COND_USE_RTTI_1$ac_delim
50035 COND_USE_SOSYMLINKS_1!$COND_USE_SOSYMLINKS_1$ac_delim
50036 COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1!$COND_USE_SOVERCYGWIN_1_USE_SOVERSION_1$ac_delim
50037 COND_USE_SOVERLINUX_1!$COND_USE_SOVERLINUX_1$ac_delim
50038 COND_USE_SOVERSION_0!$COND_USE_SOVERSION_0$ac_delim
50039 COND_USE_SOVERSOLARIS_1!$COND_USE_SOVERSOLARIS_1$ac_delim
50040 COND_USE_STC_1!$COND_USE_STC_1$ac_delim
50041 COND_USE_THREADS_0!$COND_USE_THREADS_0$ac_delim
50042 COND_USE_THREADS_1!$COND_USE_THREADS_1$ac_delim
50043 COND_USE_XRC_1!$COND_USE_XRC_1$ac_delim
50044 COND_WINDOWS_IMPLIB_1!$COND_WINDOWS_IMPLIB_1$ac_delim
50045 COND_WITH_PLUGIN_SDL_1!$COND_WITH_PLUGIN_SDL_1$ac_delim
50046 COND_WXUNIV_0!$COND_WXUNIV_0$ac_delim
50047 COND_WXUNIV_1!$COND_WXUNIV_1$ac_delim
50048 COND_WXUSE_EXPAT_BUILTIN!$COND_WXUSE_EXPAT_BUILTIN$ac_delim
50049 COND_WXUSE_LIBJPEG_BUILTIN!$COND_WXUSE_LIBJPEG_BUILTIN$ac_delim
50050 COND_WXUSE_LIBPNG_BUILTIN!$COND_WXUSE_LIBPNG_BUILTIN$ac_delim
50051 COND_WXUSE_LIBTIFF_BUILTIN!$COND_WXUSE_LIBTIFF_BUILTIN$ac_delim
50052 COND_WXUSE_ODBC_BUILTIN!$COND_WXUSE_ODBC_BUILTIN$ac_delim
50053 COND_WXUSE_REGEX_BUILTIN!$COND_WXUSE_REGEX_BUILTIN$ac_delim
50054 COND_WXUSE_ZLIB_BUILTIN!$COND_WXUSE_ZLIB_BUILTIN$ac_delim
50055 SHARED!$SHARED$ac_delim
50056 WX_LIBRARY_BASENAME_NOGUI!$WX_LIBRARY_BASENAME_NOGUI$ac_delim
50057 WX_LIBRARY_BASENAME_GUI!$WX_LIBRARY_BASENAME_GUI$ac_delim
50058 USE_GUI!$USE_GUI$ac_delim
50059 AFMINSTALL!$AFMINSTALL$ac_delim
50060 WIN32INSTALL!$WIN32INSTALL$ac_delim
50061 TOOLKIT!$TOOLKIT$ac_delim
50062 TOOLKIT_DIR!$TOOLKIT_DIR$ac_delim
50063 TOOLCHAIN_NAME!$TOOLCHAIN_NAME$ac_delim
50064 TOOLCHAIN_FULLNAME!$TOOLCHAIN_FULLNAME$ac_delim
50065 cross_compiling!$cross_compiling$ac_delim
50066 WIDGET_SET!$WIDGET_SET$ac_delim
50067 WX_RELEASE!$WX_RELEASE$ac_delim
50068 WX_VERSION!$WX_VERSION$ac_delim
50069 WX_SUBVERSION!$WX_SUBVERSION$ac_delim
50070 WX_CHARTYPE!$WX_CHARTYPE$ac_delim
50071 WX_DEBUGTYPE!$WX_DEBUGTYPE$ac_delim
50072 WXCONFIG_CPPFLAGS!$WXCONFIG_CPPFLAGS$ac_delim
50073 WXCONFIG_CFLAGS!$WXCONFIG_CFLAGS$ac_delim
50074 WXCONFIG_CXXFLAGS!$WXCONFIG_CXXFLAGS$ac_delim
50075 WXCONFIG_LIBS!$WXCONFIG_LIBS$ac_delim
50076 WXCONFIG_RPATH!$WXCONFIG_RPATH$ac_delim
50077 WXCONFIG_LDFLAGS_GUI!$WXCONFIG_LDFLAGS_GUI$ac_delim
50078 WXCONFIG_RESFLAGS!$WXCONFIG_RESFLAGS$ac_delim
50079 EXE_LINKER!$EXE_LINKER$ac_delim
50080 GUIDIST!$GUIDIST$ac_delim
50081 DISTDIR!$DISTDIR$ac_delim
50082 SAMPLES_SUBDIRS!$SAMPLES_SUBDIRS$ac_delim
50083 LDFLAGS_GL!$LDFLAGS_GL$ac_delim
50084 OPENGL_LIBS!$OPENGL_LIBS$ac_delim
50085 DMALLOC_LIBS!$DMALLOC_LIBS$ac_delim
50086 WX_VERSION_TAG!$WX_VERSION_TAG$ac_delim
50087 _ACEOF
50088
50089 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 97; then
50090 break
50091 elif $ac_last_try; then
50092 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50093 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50094 { (exit 1); exit 1; }; }
50095 else
50096 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50097 fi
50098 done
50099
50100 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50101 if test -n "$ac_eof"; then
50102 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50103 ac_eof=`expr $ac_eof + 1`
50104 fi
50105
50106 cat >>$CONFIG_STATUS <<_ACEOF
50107 cat >"\$tmp/subs-4.sed" <<\CEOF$ac_eof
50108 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50109 _ACEOF
50110 sed '
50111 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50112 s/^/s,@/; s/!/@,|#_!!_#|/
50113 :n
50114 t n
50115 s/'"$ac_delim"'$/,g/; t
50116 s/$/\\/; p
50117 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50118 ' >>$CONFIG_STATUS <conf$$subs.sed
50119 rm -f conf$$subs.sed
50120 cat >>$CONFIG_STATUS <<_ACEOF
50121 CEOF$ac_eof
50122 _ACEOF
50123
50124
50125 ac_delim='%!_!# '
50126 for ac_last_try in false false false false false :; do
50127 cat >conf$$subs.sed <<_ACEOF
50128 RESCOMP!$RESCOMP$ac_delim
50129 RESFLAGS!$RESFLAGS$ac_delim
50130 RESPROGRAMOBJ!$RESPROGRAMOBJ$ac_delim
50131 WX_RESOURCES_MACOSX_ASCII!$WX_RESOURCES_MACOSX_ASCII$ac_delim
50132 WX_RESOURCES_MACOSX_DATA!$WX_RESOURCES_MACOSX_DATA$ac_delim
50133 LIBWXMACRES!$LIBWXMACRES$ac_delim
50134 POSTLINK_COMMAND!$POSTLINK_COMMAND$ac_delim
50135 MACSETFILE!$MACSETFILE$ac_delim
50136 GCC!$GCC$ac_delim
50137 CPPUNIT_CONFIG!$CPPUNIT_CONFIG$ac_delim
50138 LIBOBJS!$LIBOBJS$ac_delim
50139 LTLIBOBJS!$LTLIBOBJS$ac_delim
50140 _ACEOF
50141
50142 if test `sed -n "s/.*$ac_delim\$/X/p" conf$$subs.sed | grep -c X` = 12; then
50143 break
50144 elif $ac_last_try; then
50145 { { echo "$as_me:$LINENO: error: could not make $CONFIG_STATUS" >&5
50146 echo "$as_me: error: could not make $CONFIG_STATUS" >&2;}
50147 { (exit 1); exit 1; }; }
50148 else
50149 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
50150 fi
50151 done
50152
50153 ac_eof=`sed -n '/^CEOF[0-9]*$/s/CEOF/0/p' conf$$subs.sed`
50154 if test -n "$ac_eof"; then
50155 ac_eof=`echo "$ac_eof" | sort -nru | sed 1q`
50156 ac_eof=`expr $ac_eof + 1`
50157 fi
50158
50159 cat >>$CONFIG_STATUS <<_ACEOF
50160 cat >"\$tmp/subs-5.sed" <<\CEOF$ac_eof
50161 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b end
50162 _ACEOF
50163 sed '
50164 s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g
50165 s/^/s,@/; s/!/@,|#_!!_#|/
50166 :n
50167 t n
50168 s/'"$ac_delim"'$/,g/; t
50169 s/$/\\/; p
50170 N; s/^.*\n//; s/[,\\&]/\\&/g; s/@/@|#_!!_#|/g; b n
50171 ' >>$CONFIG_STATUS <conf$$subs.sed
50172 rm -f conf$$subs.sed
50173 cat >>$CONFIG_STATUS <<_ACEOF
50174 :end
50175 s/|#_!!_#|//g
50176 CEOF$ac_eof
50177 _ACEOF
50178
50179
50180 # VPATH may cause trouble with some makes, so we remove $(srcdir),
50181 # ${srcdir} and @srcdir@ from VPATH if srcdir is ".", strip leading and
50182 # trailing colons and then remove the whole line if VPATH becomes empty
50183 # (actually we leave an empty line to preserve line numbers).
50184 if test "x$srcdir" = x.; then
50185 ac_vpsub='/^[ ]*VPATH[ ]*=/{
50186 s/:*\$(srcdir):*/:/
50187 s/:*\${srcdir}:*/:/
50188 s/:*@srcdir@:*/:/
50189 s/^\([^=]*=[ ]*\):*/\1/
50190 s/:*$//
50191 s/^[^=]*=[ ]*$//
50192 }'
50193 fi
50194
50195 cat >>$CONFIG_STATUS <<\_ACEOF
50196 fi # test -n "$CONFIG_FILES"
50197
50198
50199 for ac_tag in :F $CONFIG_FILES :H $CONFIG_HEADERS :C $CONFIG_COMMANDS
50200 do
50201 case $ac_tag in
50202 :[FHLC]) ac_mode=$ac_tag; continue;;
50203 esac
50204 case $ac_mode$ac_tag in
50205 :[FHL]*:*);;
50206 :L* | :C*:*) { { echo "$as_me:$LINENO: error: Invalid tag $ac_tag." >&5
50207 echo "$as_me: error: Invalid tag $ac_tag." >&2;}
50208 { (exit 1); exit 1; }; };;
50209 :[FH]-) ac_tag=-:-;;
50210 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
50211 esac
50212 ac_save_IFS=$IFS
50213 IFS=:
50214 set x $ac_tag
50215 IFS=$ac_save_IFS
50216 shift
50217 ac_file=$1
50218 shift
50219
50220 case $ac_mode in
50221 :L) ac_source=$1;;
50222 :[FH])
50223 ac_file_inputs=
50224 for ac_f
50225 do
50226 case $ac_f in
50227 -) ac_f="$tmp/stdin";;
50228 *) # Look for the file first in the build tree, then in the source tree
50229 # (if the path is not absolute). The absolute path cannot be DOS-style,
50230 # because $ac_f cannot contain `:'.
50231 test -f "$ac_f" ||
50232 case $ac_f in
50233 [\\/$]*) false;;
50234 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
50235 esac ||
50236 { { echo "$as_me:$LINENO: error: cannot find input file: $ac_f" >&5
50237 echo "$as_me: error: cannot find input file: $ac_f" >&2;}
50238 { (exit 1); exit 1; }; };;
50239 esac
50240 ac_file_inputs="$ac_file_inputs $ac_f"
50241 done
50242
50243 # Let's still pretend it is `configure' which instantiates (i.e., don't
50244 # use $as_me), people would be surprised to read:
50245 # /* config.h. Generated by config.status. */
50246 configure_input="Generated from "`IFS=:
50247 echo $* | sed 's|^[^:]*/||;s|:[^:]*/|, |g'`" by configure."
50248 if test x"$ac_file" != x-; then
50249 configure_input="$ac_file. $configure_input"
50250 { echo "$as_me:$LINENO: creating $ac_file" >&5
50251 echo "$as_me: creating $ac_file" >&6;}
50252 fi
50253
50254 case $ac_tag in
50255 *:-:* | *:-) cat >"$tmp/stdin";;
50256 esac
50257 ;;
50258 esac
50259
50260 ac_dir=`$as_dirname -- "$ac_file" ||
50261 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50262 X"$ac_file" : 'X\(//\)[^/]' \| \
50263 X"$ac_file" : 'X\(//\)$' \| \
50264 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
50265 echo X"$ac_file" |
50266 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50267 s//\1/
50268 q
50269 }
50270 /^X\(\/\/\)[^/].*/{
50271 s//\1/
50272 q
50273 }
50274 /^X\(\/\/\)$/{
50275 s//\1/
50276 q
50277 }
50278 /^X\(\/\).*/{
50279 s//\1/
50280 q
50281 }
50282 s/.*/./; q'`
50283 { as_dir="$ac_dir"
50284 case $as_dir in #(
50285 -*) as_dir=./$as_dir;;
50286 esac
50287 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50288 as_dirs=
50289 while :; do
50290 case $as_dir in #(
50291 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50292 *) as_qdir=$as_dir;;
50293 esac
50294 as_dirs="'$as_qdir' $as_dirs"
50295 as_dir=`$as_dirname -- "$as_dir" ||
50296 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50297 X"$as_dir" : 'X\(//\)[^/]' \| \
50298 X"$as_dir" : 'X\(//\)$' \| \
50299 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50300 echo X"$as_dir" |
50301 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50302 s//\1/
50303 q
50304 }
50305 /^X\(\/\/\)[^/].*/{
50306 s//\1/
50307 q
50308 }
50309 /^X\(\/\/\)$/{
50310 s//\1/
50311 q
50312 }
50313 /^X\(\/\).*/{
50314 s//\1/
50315 q
50316 }
50317 s/.*/./; q'`
50318 test -d "$as_dir" && break
50319 done
50320 test -z "$as_dirs" || eval "mkdir $as_dirs"
50321 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50322 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50323 { (exit 1); exit 1; }; }; }
50324 ac_builddir=.
50325
50326 case "$ac_dir" in
50327 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50328 *)
50329 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50330 # A ".." for each directory in $ac_dir_suffix.
50331 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50332 case $ac_top_builddir_sub in
50333 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50334 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50335 esac ;;
50336 esac
50337 ac_abs_top_builddir=$ac_pwd
50338 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50339 # for backward compatibility:
50340 ac_top_builddir=$ac_top_build_prefix
50341
50342 case $srcdir in
50343 .) # We are building in place.
50344 ac_srcdir=.
50345 ac_top_srcdir=$ac_top_builddir_sub
50346 ac_abs_top_srcdir=$ac_pwd ;;
50347 [\\/]* | ?:[\\/]* ) # Absolute name.
50348 ac_srcdir=$srcdir$ac_dir_suffix;
50349 ac_top_srcdir=$srcdir
50350 ac_abs_top_srcdir=$srcdir ;;
50351 *) # Relative name.
50352 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50353 ac_top_srcdir=$ac_top_build_prefix$srcdir
50354 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50355 esac
50356 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50357
50358
50359 case $ac_mode in
50360 :F)
50361 #
50362 # CONFIG_FILE
50363 #
50364
50365 case $INSTALL in
50366 [\\/$]* | ?:[\\/]* ) ac_INSTALL=$INSTALL ;;
50367 *) ac_INSTALL=$ac_top_build_prefix$INSTALL ;;
50368 esac
50369 _ACEOF
50370
50371 cat >>$CONFIG_STATUS <<\_ACEOF
50372 # If the template does not know about datarootdir, expand it.
50373 # FIXME: This hack should be removed a few years after 2.60.
50374 ac_datarootdir_hack=; ac_datarootdir_seen=
50375
50376 case `sed -n '/datarootdir/ {
50377 p
50378 q
50379 }
50380 /@datadir@/p
50381 /@docdir@/p
50382 /@infodir@/p
50383 /@localedir@/p
50384 /@mandir@/p
50385 ' $ac_file_inputs` in
50386 *datarootdir*) ac_datarootdir_seen=yes;;
50387 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
50388 { echo "$as_me:$LINENO: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
50389 echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
50390 _ACEOF
50391 cat >>$CONFIG_STATUS <<_ACEOF
50392 ac_datarootdir_hack='
50393 s&@datadir@&$datadir&g
50394 s&@docdir@&$docdir&g
50395 s&@infodir@&$infodir&g
50396 s&@localedir@&$localedir&g
50397 s&@mandir@&$mandir&g
50398 s&\\\${datarootdir}&$datarootdir&g' ;;
50399 esac
50400 _ACEOF
50401
50402 # Neutralize VPATH when `$srcdir' = `.'.
50403 # Shell code in configure.ac might set extrasub.
50404 # FIXME: do we really want to maintain this feature?
50405 cat >>$CONFIG_STATUS <<_ACEOF
50406 sed "$ac_vpsub
50407 $extrasub
50408 _ACEOF
50409 cat >>$CONFIG_STATUS <<\_ACEOF
50410 :t
50411 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
50412 s&@configure_input@&$configure_input&;t t
50413 s&@top_builddir@&$ac_top_builddir_sub&;t t
50414 s&@srcdir@&$ac_srcdir&;t t
50415 s&@abs_srcdir@&$ac_abs_srcdir&;t t
50416 s&@top_srcdir@&$ac_top_srcdir&;t t
50417 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
50418 s&@builddir@&$ac_builddir&;t t
50419 s&@abs_builddir@&$ac_abs_builddir&;t t
50420 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
50421 s&@INSTALL@&$ac_INSTALL&;t t
50422 $ac_datarootdir_hack
50423 " $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
50424
50425 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
50426 { ac_out=`sed -n '/\${datarootdir}/p' "$tmp/out"`; test -n "$ac_out"; } &&
50427 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' "$tmp/out"`; test -z "$ac_out"; } &&
50428 { echo "$as_me:$LINENO: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50429 which seems to be undefined. Please make sure it is defined." >&5
50430 echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
50431 which seems to be undefined. Please make sure it is defined." >&2;}
50432
50433 rm -f "$tmp/stdin"
50434 case $ac_file in
50435 -) cat "$tmp/out"; rm -f "$tmp/out";;
50436 *) rm -f "$ac_file"; mv "$tmp/out" $ac_file;;
50437 esac
50438 ;;
50439 :H)
50440 #
50441 # CONFIG_HEADER
50442 #
50443 _ACEOF
50444
50445 # Transform confdefs.h into a sed script `conftest.defines', that
50446 # substitutes the proper values into config.h.in to produce config.h.
50447 rm -f conftest.defines conftest.tail
50448 # First, append a space to every undef/define line, to ease matching.
50449 echo 's/$/ /' >conftest.defines
50450 # Then, protect against being on the right side of a sed subst, or in
50451 # an unquoted here document, in config.status. If some macros were
50452 # called several times there might be several #defines for the same
50453 # symbol, which is useless. But do not sort them, since the last
50454 # AC_DEFINE must be honored.
50455 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
50456 # These sed commands are passed to sed as "A NAME B PARAMS C VALUE D", where
50457 # NAME is the cpp macro being defined, VALUE is the value it is being given.
50458 # PARAMS is the parameter list in the macro definition--in most cases, it's
50459 # just an empty string.
50460 ac_dA='s,^\\([ #]*\\)[^ ]*\\([ ]*'
50461 ac_dB='\\)[ (].*,\\1define\\2'
50462 ac_dC=' '
50463 ac_dD=' ,'
50464
50465 uniq confdefs.h |
50466 sed -n '
50467 t rset
50468 :rset
50469 s/^[ ]*#[ ]*define[ ][ ]*//
50470 t ok
50471 d
50472 :ok
50473 s/[\\&,]/\\&/g
50474 s/^\('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/ '"$ac_dA"'\1'"$ac_dB"'\2'"${ac_dC}"'\3'"$ac_dD"'/p
50475 s/^\('"$ac_word_re"'\)[ ]*\(.*\)/'"$ac_dA"'\1'"$ac_dB$ac_dC"'\2'"$ac_dD"'/p
50476 ' >>conftest.defines
50477
50478 # Remove the space that was appended to ease matching.
50479 # Then replace #undef with comments. This is necessary, for
50480 # example, in the case of _POSIX_SOURCE, which is predefined and required
50481 # on some systems where configure will not decide to define it.
50482 # (The regexp can be short, since the line contains either #define or #undef.)
50483 echo 's/ $//
50484 s,^[ #]*u.*,/* & */,' >>conftest.defines
50485
50486 # Break up conftest.defines:
50487 ac_max_sed_lines=50
50488
50489 # First sed command is: sed -f defines.sed $ac_file_inputs >"$tmp/out1"
50490 # Second one is: sed -f defines.sed "$tmp/out1" >"$tmp/out2"
50491 # Third one will be: sed -f defines.sed "$tmp/out2" >"$tmp/out1"
50492 # et cetera.
50493 ac_in='$ac_file_inputs'
50494 ac_out='"$tmp/out1"'
50495 ac_nxt='"$tmp/out2"'
50496
50497 while :
50498 do
50499 # Write a here document:
50500 cat >>$CONFIG_STATUS <<_ACEOF
50501 # First, check the format of the line:
50502 cat >"\$tmp/defines.sed" <<\\CEOF
50503 /^[ ]*#[ ]*undef[ ][ ]*$ac_word_re[ ]*\$/b def
50504 /^[ ]*#[ ]*define[ ][ ]*$ac_word_re[( ]/b def
50505 b
50506 :def
50507 _ACEOF
50508 sed ${ac_max_sed_lines}q conftest.defines >>$CONFIG_STATUS
50509 echo 'CEOF
50510 sed -f "$tmp/defines.sed"' "$ac_in >$ac_out" >>$CONFIG_STATUS
50511 ac_in=$ac_out; ac_out=$ac_nxt; ac_nxt=$ac_in
50512 sed 1,${ac_max_sed_lines}d conftest.defines >conftest.tail
50513 grep . conftest.tail >/dev/null || break
50514 rm -f conftest.defines
50515 mv conftest.tail conftest.defines
50516 done
50517 rm -f conftest.defines conftest.tail
50518
50519 echo "ac_result=$ac_in" >>$CONFIG_STATUS
50520 cat >>$CONFIG_STATUS <<\_ACEOF
50521 if test x"$ac_file" != x-; then
50522 echo "/* $configure_input */" >"$tmp/config.h"
50523 cat "$ac_result" >>"$tmp/config.h"
50524 if diff $ac_file "$tmp/config.h" >/dev/null 2>&1; then
50525 { echo "$as_me:$LINENO: $ac_file is unchanged" >&5
50526 echo "$as_me: $ac_file is unchanged" >&6;}
50527 else
50528 rm -f $ac_file
50529 mv "$tmp/config.h" $ac_file
50530 fi
50531 else
50532 echo "/* $configure_input */"
50533 cat "$ac_result"
50534 fi
50535 rm -f "$tmp/out12"
50536 ;;
50537
50538 :C) { echo "$as_me:$LINENO: executing $ac_file commands" >&5
50539 echo "$as_me: executing $ac_file commands" >&6;}
50540 ;;
50541 esac
50542
50543
50544 case $ac_file$ac_mode in
50545 "rcdefs.h":C)
50546 mkdir -p $outdir &&
50547 $CPP $infile | sed 's/^# *[1-9].*//;s/^ *//;/./,/^$/!d' > $outdir/rcdefs.h
50548 ;;
50549 "lib/wx/config/${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/${TOOLCHAIN_FULLNAME} ;;
50550 "lib/wx/config/inplace-${TOOLCHAIN_FULLNAME}":F) chmod +x lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} ;;
50551 "wx-config":C) rm -f wx-config
50552 ${LN_S} lib/wx/config/inplace-${TOOLCHAIN_FULLNAME} wx-config
50553 ;;
50554
50555 esac
50556 done # for ac_tag
50557
50558
50559 { (exit 0); exit 0; }
50560 _ACEOF
50561 chmod +x $CONFIG_STATUS
50562 ac_clean_files=$ac_clean_files_save
50563
50564
50565 # configure is writing to config.log, and then calls config.status.
50566 # config.status does its own redirection, appending to config.log.
50567 # Unfortunately, on DOS this fails, as config.log is still kept open
50568 # by configure, so config.status won't be able to write to it; its
50569 # output is simply discarded. So we exec the FD to /dev/null,
50570 # effectively closing config.log, so it can be properly (re)opened and
50571 # appended to by config.status. When coming back to configure, we
50572 # need to make the FD available again.
50573 if test "$no_create" != yes; then
50574 ac_cs_success=:
50575 ac_config_status_args=
50576 test "$silent" = yes &&
50577 ac_config_status_args="$ac_config_status_args --quiet"
50578 exec 5>/dev/null
50579 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
50580 exec 5>>config.log
50581 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
50582 # would make configure fail if this is the last instruction.
50583 $ac_cs_success || { (exit 1); exit 1; }
50584 fi
50585
50586 #
50587 # CONFIG_SUBDIRS section.
50588 #
50589 if test "$no_recursion" != yes; then
50590
50591 # Remove --cache-file and --srcdir arguments so they do not pile up.
50592 ac_sub_configure_args=
50593 ac_prev=
50594 eval "set x $ac_configure_args"
50595 shift
50596 for ac_arg
50597 do
50598 if test -n "$ac_prev"; then
50599 ac_prev=
50600 continue
50601 fi
50602 case $ac_arg in
50603 -cache-file | --cache-file | --cache-fil | --cache-fi \
50604 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
50605 ac_prev=cache_file ;;
50606 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
50607 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* \
50608 | --c=*)
50609 ;;
50610 --config-cache | -C)
50611 ;;
50612 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
50613 ac_prev=srcdir ;;
50614 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
50615 ;;
50616 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
50617 ac_prev=prefix ;;
50618 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
50619 ;;
50620 *)
50621 case $ac_arg in
50622 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50623 esac
50624 ac_sub_configure_args="$ac_sub_configure_args '$ac_arg'" ;;
50625 esac
50626 done
50627
50628 # Always prepend --prefix to ensure using the same prefix
50629 # in subdir configurations.
50630 ac_arg="--prefix=$prefix"
50631 case $ac_arg in
50632 *\'*) ac_arg=`echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
50633 esac
50634 ac_sub_configure_args="'$ac_arg' $ac_sub_configure_args"
50635
50636 # Pass --silent
50637 if test "$silent" = yes; then
50638 ac_sub_configure_args="--silent $ac_sub_configure_args"
50639 fi
50640
50641 ac_popdir=`pwd`
50642 for ac_dir in : $subdirs; do test "x$ac_dir" = x: && continue
50643
50644 # Do not complain, so a configure script can configure whichever
50645 # parts of a large source tree are present.
50646 test -d "$srcdir/$ac_dir" || continue
50647
50648 ac_msg="=== configuring in $ac_dir (`pwd`/$ac_dir)"
50649 echo "$as_me:$LINENO: $ac_msg" >&5
50650 echo "$ac_msg" >&6
50651 { as_dir="$ac_dir"
50652 case $as_dir in #(
50653 -*) as_dir=./$as_dir;;
50654 esac
50655 test -d "$as_dir" || { $as_mkdir_p && mkdir -p "$as_dir"; } || {
50656 as_dirs=
50657 while :; do
50658 case $as_dir in #(
50659 *\'*) as_qdir=`echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #(
50660 *) as_qdir=$as_dir;;
50661 esac
50662 as_dirs="'$as_qdir' $as_dirs"
50663 as_dir=`$as_dirname -- "$as_dir" ||
50664 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
50665 X"$as_dir" : 'X\(//\)[^/]' \| \
50666 X"$as_dir" : 'X\(//\)$' \| \
50667 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
50668 echo X"$as_dir" |
50669 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
50670 s//\1/
50671 q
50672 }
50673 /^X\(\/\/\)[^/].*/{
50674 s//\1/
50675 q
50676 }
50677 /^X\(\/\/\)$/{
50678 s//\1/
50679 q
50680 }
50681 /^X\(\/\).*/{
50682 s//\1/
50683 q
50684 }
50685 s/.*/./; q'`
50686 test -d "$as_dir" && break
50687 done
50688 test -z "$as_dirs" || eval "mkdir $as_dirs"
50689 } || test -d "$as_dir" || { { echo "$as_me:$LINENO: error: cannot create directory $as_dir" >&5
50690 echo "$as_me: error: cannot create directory $as_dir" >&2;}
50691 { (exit 1); exit 1; }; }; }
50692 ac_builddir=.
50693
50694 case "$ac_dir" in
50695 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
50696 *)
50697 ac_dir_suffix=/`echo "$ac_dir" | sed 's,^\.[\\/],,'`
50698 # A ".." for each directory in $ac_dir_suffix.
50699 ac_top_builddir_sub=`echo "$ac_dir_suffix" | sed 's,/[^\\/]*,/..,g;s,/,,'`
50700 case $ac_top_builddir_sub in
50701 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
50702 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
50703 esac ;;
50704 esac
50705 ac_abs_top_builddir=$ac_pwd
50706 ac_abs_builddir=$ac_pwd$ac_dir_suffix
50707 # for backward compatibility:
50708 ac_top_builddir=$ac_top_build_prefix
50709
50710 case $srcdir in
50711 .) # We are building in place.
50712 ac_srcdir=.
50713 ac_top_srcdir=$ac_top_builddir_sub
50714 ac_abs_top_srcdir=$ac_pwd ;;
50715 [\\/]* | ?:[\\/]* ) # Absolute name.
50716 ac_srcdir=$srcdir$ac_dir_suffix;
50717 ac_top_srcdir=$srcdir
50718 ac_abs_top_srcdir=$srcdir ;;
50719 *) # Relative name.
50720 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
50721 ac_top_srcdir=$ac_top_build_prefix$srcdir
50722 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
50723 esac
50724 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
50725
50726
50727 cd "$ac_dir"
50728
50729 # Check for guested configure; otherwise get Cygnus style configure.
50730 if test -f "$ac_srcdir/configure.gnu"; then
50731 ac_sub_configure=$ac_srcdir/configure.gnu
50732 elif test -f "$ac_srcdir/configure"; then
50733 ac_sub_configure=$ac_srcdir/configure
50734 elif test -f "$ac_srcdir/configure.in"; then
50735 # This should be Cygnus configure.
50736 ac_sub_configure=$ac_aux_dir/configure
50737 else
50738 { echo "$as_me:$LINENO: WARNING: no configuration information is in $ac_dir" >&5
50739 echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2;}
50740 ac_sub_configure=
50741 fi
50742
50743 # The recursion is here.
50744 if test -n "$ac_sub_configure"; then
50745 # Make the cache file name correct relative to the subdirectory.
50746 case $cache_file in
50747 [\\/]* | ?:[\\/]* ) ac_sub_cache_file=$cache_file ;;
50748 *) # Relative name.
50749 ac_sub_cache_file=$ac_top_build_prefix$cache_file ;;
50750 esac
50751
50752 { echo "$as_me:$LINENO: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&5
50753 echo "$as_me: running $SHELL $ac_sub_configure $ac_sub_configure_args --cache-file=$ac_sub_cache_file --srcdir=$ac_srcdir" >&6;}
50754 # The eval makes quoting arguments work.
50755 eval "\$SHELL \"\$ac_sub_configure\" $ac_sub_configure_args \
50756 --cache-file=\"\$ac_sub_cache_file\" --srcdir=\"\$ac_srcdir\"" ||
50757 { { echo "$as_me:$LINENO: error: $ac_sub_configure failed for $ac_dir" >&5
50758 echo "$as_me: error: $ac_sub_configure failed for $ac_dir" >&2;}
50759 { (exit 1); exit 1; }; }
50760 fi
50761
50762 cd "$ac_popdir"
50763 done
50764 fi
50765
50766
50767 echo
50768 echo "Configured wxWidgets ${WX_VERSION} for \`${host}'"
50769 echo ""
50770 echo " Which GUI toolkit should wxWidgets use? ${TOOLKIT_DESC}"
50771 echo " Should wxWidgets be compiled into single library? ${wxUSE_MONOLITHIC:-yes}"
50772
50773 echo " Should wxWidgets be compiled in debug mode? ${wxUSE_DEBUG:-no}"
50774 echo " Should wxWidgets be linked as a shared library? ${wxUSE_SHARED:-no}"
50775 echo " Should wxWidgets be compiled in Unicode mode? ${wxUSE_UNICODE:-no}"
50776
50777 echo " What level of wxWidgets compatibility should be enabled?"
50778 echo " wxWidgets 2.6 ${WXWIN_COMPATIBILITY_2_6:-no}"
50779 echo " wxWidgets 2.8 ${WXWIN_COMPATIBILITY_2_8:-yes}"
50780
50781 echo " Which libraries should wxWidgets use?"
50782 echo " jpeg ${wxUSE_LIBJPEG-none}"
50783 echo " png ${wxUSE_LIBPNG-none}"
50784 echo " regex ${wxUSE_REGEX}"
50785 echo " tiff ${wxUSE_LIBTIFF-none}"
50786 if test "$wxUSE_X11" = 1 -o "$wxUSE_MOTIF" = 1; then
50787 echo " xpm ${wxUSE_LIBXPM-none}"
50788 fi
50789 echo " zlib ${wxUSE_ZLIB}"
50790 echo " odbc ${wxUSE_ODBC}"
50791 echo " expat ${wxUSE_EXPAT}"
50792 echo " libmspack ${wxUSE_LIBMSPACK}"
50793 echo " sdl ${wxUSE_LIBSDL}"
50794
50795 echo ""
50796